/* Shared look for the home page, indexes and answer pages. System fonts only. */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;color:#1a1a1a;background:#faf8f5;font-size:17px}
a{color:#8a3412}
a:focus-visible,.btn:focus-visible,.card:focus-visible{outline:3px solid #14213d;outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:10}
.skip:focus{left:8px;top:8px}
.wrap{max-width:1040px;margin:0 auto;padding:0 18px}
.site-header{background:#fff;border-bottom:1px solid #e4dfd8}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 18px;padding-top:12px;padding-bottom:12px}
.brand{font-weight:800;font-size:1.25rem;color:#b3441a;text-decoration:none}
.site-header nav{display:flex;flex-wrap:wrap;gap:4px 18px}
.site-header nav a{color:#333;text-decoration:none;font-weight:600;font-size:.95rem;padding:8px 0}
.site-header nav a:hover{color:#b3441a;text-decoration:underline}
.hero{background:#14213d;color:#fff;padding:44px 0 48px}
.hero h1{font-size:2.1rem;line-height:1.15;margin-bottom:12px}
.hero p{font-size:1.1rem;max-width:40rem;color:#e8ecf3}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.btn{display:inline-block;background:#b3441a;color:#fff;font-weight:700;text-decoration:none;padding:13px 20px;border-radius:6px;border:2px solid #b3441a;font-size:1rem}
.btn:hover{background:#8a3412;border-color:#8a3412}
.btn.ghost{background:transparent;color:#8a3412;border-color:#b3441a}
.btn.ghost:hover{background:#fff1e8}
.btn.ghost.light{color:#fff;border-color:#fff}
.btn.ghost.light:hover{background:rgba(255,255,255,.12)}
.page-head{background:#14213d;color:#fff;padding:34px 0}
.page-head h1{font-size:1.9rem;line-height:1.2;margin-bottom:8px}
.page-head p{color:#e8ecf3;max-width:42rem}
.page-head .meta{font-size:.9rem;color:#c9d2e3;margin-top:10px}
.block{margin-top:40px}
.block h2{font-size:1.45rem;margin-bottom:14px;line-height:1.25}
.block>p{margin-bottom:14px;max-width:44rem}
.steps{list-style:none;counter-reset:step;display:grid;gap:12px}
.steps li{counter-increment:step;background:#fff;border:1px solid #e4dfd8;border-radius:8px;padding:14px 16px 14px 58px;position:relative}
.steps li::before{content:counter(step);position:absolute;left:14px;top:14px;width:32px;height:32px;border-radius:50%;background:#14213d;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-bottom:18px}
.card{display:block;background:#fff;border:1px solid #e4dfd8;border-radius:8px;padding:16px 18px;text-decoration:none;color:#1a1a1a}
.card:hover{border-color:#b3441a;box-shadow:0 2px 10px rgba(20,33,61,.08)}
.card h3{font-size:1.08rem;line-height:1.3;margin-bottom:6px;color:#14213d}
.card p{font-size:.93rem;color:#444}
.tag{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a3412;background:#fff1e8;border-radius:20px;padding:2px 10px;margin-bottom:8px}
.links{display:flex;flex-wrap:wrap;gap:8px 10px}
.links a{background:#fff;border:1px solid #e4dfd8;border-radius:20px;padding:8px 14px;text-decoration:none;font-weight:600;font-size:.95rem}
.links a:hover{border-color:#b3441a}
.trade-panel{background:#eef1f7;border:1px solid #d5dbe8;border-radius:10px;padding:22px 20px}
.trade-panel p{max-width:44rem}
.small{font-size:.88rem;color:#444;margin-top:12px}
.empty{background:#fff;border:1px dashed #cfc8be;border-radius:8px;padding:14px 16px;color:#444}
.prose{max-width:44rem}
.prose h2{font-size:1.3rem;margin:26px 0 8px}
.prose p,.prose ul,.prose ol{margin-bottom:14px}
.prose ul,.prose ol{padding-left:1.4rem}
.prose li{margin-bottom:6px}
.question{background:#fff;border-left:5px solid #14213d;border-radius:0 8px 8px 0;padding:14px 16px;margin-bottom:20px;font-size:1.05rem}
.question strong{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#444;margin-bottom:4px}
.callout{background:#fff7e6;border:1px solid #f0d9a8;border-radius:8px;padding:14px 16px;margin:18px 0}
.wrap .ns-box{width:100%;margin:8px 0 0}
.site-footer{background:#1a1a1a;color:#d6d6d6;margin-top:56px;padding:28px 0;font-size:.92rem}
.site-footer nav{display:flex;flex-wrap:wrap;gap:6px 18px;margin-bottom:12px}
.site-footer a{color:#ffb48f}
.site-footer p{margin-top:6px}
.site-footer .legal-note{color:#d6d6d6}
@media (max-width:520px){
body{font-size:16px}
.hero h1{font-size:1.7rem}
.page-head h1{font-size:1.55rem}
.actions .btn{width:100%;text-align:center}
}
