/* HatBench site styles: navy #14213D + orange #F68B1F. Mobile-first. */
:root {
  --ink:#14213D; --ink-2:#22325A; --muted:#4A5568; --line:#DCE1E8; --bg:#F7F8FA; --card:#fff;
  --orange:#F68B1F; --orange-d:#D46E0A; --orange-l:#FFAE55; --orange-t:#FEEBD6; --link:#A24F00;
  --verified:#0f766e; --err:#b42318; --radius:14px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--ink); background:var(--bg); line-height:1.6; font-size:16px; }
img, svg { max-width:100%; }
a { color:var(--link); }
a:hover { color:var(--orange-d); }
h1, h2, h3 { line-height:1.15; letter-spacing:-.02em; margin:0 0 .5em; }
h1 { font-size:clamp(32px, 6vw, 52px); font-weight:800; }
h2 { font-size:clamp(25px, 4vw, 34px); font-weight:800; }
h3 { font-size:18px; font-weight:700; }
p { margin:0 0 1em; }
.wrap { max-width:1100px; margin:0 auto; padding:0 16px; }
.narrow { max-width:760px; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:12px; top:12px; background:#fff; padding:8px 12px; z-index:100; }

/* Header */
.site-header { background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.site-header .bar { display:flex; align-items:center; justify-content:space-between; height:64px; gap:16px; }
.brand img { display:block; height:38px; width:auto; }
.nav { display:none; }
.nav a { color:var(--ink); text-decoration:none; font-weight:600; font-size:15px; }
.nav a:hover, .nav a[aria-current="page"] { color:var(--link); }
.menu-btn { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; color:var(--ink); }
.nav.open { display:flex; flex-direction:column; position:absolute; left:0; right:0; top:64px; background:#fff; border-bottom:1px solid var(--line); padding:8px 16px 16px; box-shadow:0 12px 24px rgba(20,33,61,.08); }
.nav.open a { padding:12px 0; border-bottom:1px solid var(--line); }
.nav.open a.btn { border-bottom:0; margin-top:12px; text-align:center; }
.nav .short { display:none; }
/* Full menu from tablet width up; tighter spacing and "For subs" until there's room. */
@media (min-width: 760px) {
  .menu-btn { display:none; }
  .nav, .nav.open { display:flex; flex-direction:row; position:static; align-items:center; gap:16px; padding:0; box-shadow:none; border:0; }
  .nav a { font-size:14px; white-space:nowrap; }
  .nav.open a { padding:0; border:0; }
  .nav.open a.btn, .nav a.btn { margin:0; padding:9px 13px; }
  .nav .full { display:none; } .nav .short { display:inline; }
  .brand img { height:36px; width:auto; }
}
@media (min-width: 1060px) {
  .nav, .nav.open { gap:26px; }
  .nav a { font-size:15px; }
  .nav .full { display:inline; } .nav .short { display:none; }
  .nav.open a.btn, .nav a.btn { padding:9px 16px; }
  .brand img { height:46px; }
}

/* Buttons */
.btn { display:inline-block; font:inherit; font-weight:700; font-size:15.5px; color:var(--ink) !important; background:var(--orange); border:0; border-radius:12px; padding:13px 20px; cursor:pointer; text-decoration:none; text-align:center; }
.btn:hover { background:var(--orange-d); }
.btn-sm { padding:9px 16px; font-size:14.5px; }
.btn-ghost { background:transparent; border:1.5px solid var(--ink); }
.btn-ghost:hover { background:var(--ink); color:#fff !important; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline:3px solid var(--orange-l); outline-offset:2px; }

/* Sections */
section { padding:56px 0; }
.eyebrow { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--link); margin-bottom:10px; }
.lead { font-size:18px; color:var(--muted); max-width:640px; }
.alt { background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.navy { background:var(--ink); color:#fff; }
.navy .lead, .navy p { color:#C9D1E0; }
.navy .eyebrow { color:var(--orange-l); }
.center { text-align:center; }
.center .lead { margin-left:auto; margin-right:auto; }

/* Hero */
.hero { padding:40px 0 48px; background:linear-gradient(180deg,#fff 0%,var(--bg) 100%); border-bottom:1px solid var(--line); }
.hero-grid { display:grid; gap:28px; align-items:center; }
.hero h1 { margin-bottom:16px; }
.hero .ctas { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 18px; }
.hero-art { display:flex; justify-content:center; }
.hero-art img { width:100%; max-width:480px; height:auto; }
.trust { list-style:none; padding:0; margin:0; display:grid; gap:8px; font-size:14.5px; color:var(--muted); }
.trust li { display:flex; gap:9px; align-items:flex-start; }
.trust svg { flex:0 0 18px; margin-top:3px; }
@media (min-width: 900px) {
  .hero { padding:64px 0 72px; }
  .hero-grid { grid-template-columns:1.1fr .9fr; gap:48px; }
}
.page-hero { padding:48px 0 40px; background:#fff; border-bottom:1px solid var(--line); }
.page-hero .lead { margin-bottom:0; }

/* Cards & grids */
.grid { display:grid; gap:16px; }
@media (min-width: 700px) { .g2 { grid-template-columns:repeat(2,1fr); } .g3 { grid-template-columns:repeat(3,1fr); } }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card h3 { margin-bottom:6px; }
.card p { color:var(--muted); font-size:15px; margin:0; }
.card p + p { margin-top:10px; }
.step-n { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--orange); color:var(--ink); font-weight:800; margin-bottom:12px; }
.navy .card { background:var(--ink-2); border-color:#33456F; }
.navy .card h3 { color:#fff; }
.navy .card p { color:#C9D1E0; }

/* Fact list */
.facts { list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.facts li { display:flex; gap:12px; align-items:flex-start; }
.facts li svg { flex:0 0 24px; margin-top:2px; }
.facts b { display:block; }
.facts span { color:var(--muted); font-size:15px; }
.navy .facts span { color:#C9D1E0; }

/* Sample match card */
.sample { background:#fff; color:var(--ink); border-radius:var(--radius); padding:20px; border:1px solid var(--line); box-shadow:0 10px 30px rgba(0,0,0,.18); }
.sample .tag { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.sample .nm { font-weight:800; font-size:17px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.badge { font-size:12px; font-weight:700; color:#fff; background:var(--verified); padding:3px 9px; border-radius:20px; }
.sample .ln { font-size:14px; color:var(--muted); margin-top:8px; line-height:1.7; }
.sample .ln b { color:var(--ink); font-weight:600; }

/* Prose (legal, about) */
.prose h2 { font-size:22px; margin-top:36px; }
.prose h3 { margin-top:24px; }
.prose ul { padding-left:20px; }
.prose li { margin-bottom:6px; }
.draft { background:var(--orange-t); border:1px solid var(--orange-l); color:#6B3600; border-radius:12px; padding:12px 16px; font-size:14.5px; margin-bottom:24px; }

/* FAQ */
.faq details { background:#fff; border:1px solid var(--line); border-radius:12px; padding:0 18px; margin-bottom:10px; }
.faq summary { cursor:pointer; font-weight:700; padding:16px 0; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--link); font-size:22px; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq details > div { padding:0 0 16px; color:var(--muted); }
.faq h2 { font-size:20px; margin:32px 0 12px; }

/* CTA band */
.cta-band { text-align:center; }
.cta-band .btn { margin-top:8px; }

/* Request form */
.req-grid { display:grid; gap:28px; }
@media (min-width: 900px) { .req-grid { grid-template-columns:.8fr 1.2fr; gap:48px; align-items:start; } }
.formcard { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:0 6px 24px rgba(20,33,61,.07); }
.formcard label { display:block; font-size:13px; font-weight:600; margin:0 0 5px; }
.formcard input, .formcard select, .formcard textarea { width:100%; font:inherit; font-size:16px; padding:11px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); }
.formcard input:focus, .formcard select:focus, .formcard textarea:focus { outline:2px solid var(--orange); outline-offset:0; border-color:var(--orange); }
.formcard textarea { min-height:90px; resize:vertical; }
.frow { display:grid; gap:12px; margin-bottom:12px; }
@media (min-width: 560px) { .frow { grid-template-columns:1fr 1fr; } }
.full { margin-bottom:12px; }
.checks { display:flex; flex-wrap:wrap; gap:10px 16px; margin:4px 0 14px; }
.checks label { display:flex; align-items:center; gap:7px; font-weight:500; font-size:14px; margin:0; }
.checks input { width:18px; height:18px; accent-color:var(--orange); }
.sect { font-size:11px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:var(--link); margin:16px 0 8px; }
.sect:first-child { margin-top:0; }
.formcard button { width:100%; }
.formcard button:disabled { opacity:.6; cursor:default; }
.msg { margin-top:12px; font-size:14.5px; padding:12px; border-radius:10px; display:none; }
.msg.ok { display:block; background:var(--orange-t); color:var(--link); }
.msg.err { display:block; background:#fdecea; color:var(--err); }
.hp { position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }
.fine { font-size:13px; color:var(--muted); margin-top:12px; }

/* Footer */
.site-footer { background:var(--ink); color:#C9D1E0; padding:44px 0 28px; font-size:14px; }
.site-footer a { color:#fff; text-decoration:none; }
.site-footer a:hover { color:var(--orange-l); }
.foot-grid { display:grid; gap:28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns:1.4fr 1fr 1fr; } }
.foot-logo { height:76px; width:auto; display:block; margin-bottom:12px; }
.foot-h { color:#fff; font-weight:700; margin-bottom:8px; }
.foot-links { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.legal { border-top:1px solid #33456F; margin-top:32px; padding-top:18px; font-size:13px; display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:space-between; }
@media (min-width: 1000px) { .g4 { grid-template-columns:repeat(4,1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .g4 { grid-template-columns:repeat(2,1fr); } }
.split { display:grid; gap:28px; align-items:center; }
@media (min-width: 900px) { .split { grid-template-columns:1.1fr .9fr; gap:56px; } }
[id] { scroll-margin-top:76px; }
.tldr { background:#fff; border:1px solid var(--line); border-left:4px solid var(--orange); border-radius:12px; padding:16px 18px; margin:0 0 28px; }
.tldr ul { margin:8px 0 0; }
.meta-line { color:var(--muted); font-size:14px; margin:0; }
.crumbs { font-size:14px; color:var(--muted); margin-bottom:10px; }
.crumbs a { color:var(--link); text-decoration:underline; }
.guide-card { text-decoration:none; color:var(--ink); display:block; }
.guide-card:hover { border-color:var(--orange); }
.guide-card .more { display:inline-block; margin-top:12px; color:var(--link); font-weight:700; font-size:15px; }
.prose ol { padding-left:22px; }
.prose ol li { margin-bottom:10px; }
/* v3: richer home, trades, two-step form, mobile CTA */
.hero-visual { position:relative; display:flex; flex-direction:column; align-items:center; gap:0; }
.hero-hat { width:100%; max-width:440px; height:auto; }
.hero-card { width:100%; max-width:360px; margin-top:-24px; }
.hero-card .sample { box-shadow:0 18px 40px rgba(20,33,61,.16); }
@media (min-width: 900px) { .hero-visual { align-items:flex-end; } .hero-card { position:absolute; left:-10px; bottom:-56px; max-width:290px; margin:0; } .hero-card .sample { padding:16px; } .hero-card .ln { font-size:13px; } .hero-hat { max-width:400px; margin-bottom:96px; } }
.trustbar { background:var(--ink); color:#C9D1E0; font-size:14px; }
.trustbar .wrap { display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:center; padding-top:14px; padding-bottom:14px; }
.trustbar b { color:#fff; }
.icard .ic { display:inline-grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--orange-t); color:var(--orange-d); margin-bottom:12px; }
.chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.chip { display:inline-block; padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); text-decoration:none; font-weight:600; font-size:14.5px; }
.chip:hover { border-color:var(--orange); color:var(--link); }
.steps-bar { display:flex; gap:8px; margin-bottom:18px; font-size:13px; font-weight:700; }
.steps-bar span { flex:1; padding:8px 10px; border-radius:10px; background:var(--bg); color:var(--muted); border:1px solid var(--line); }
.steps-bar .on { background:var(--orange-t); color:var(--link); border-color:var(--orange-l); }
.steps-bar .done { color:var(--verified); }
.linkbtn { background:none; border:0; color:var(--link); font:inherit; font-weight:600; cursor:pointer; padding:12px 0 0; display:block; }
.sticky-cta { display:none; }
@media (max-width: 759px) {
  .sticky-cta { display:block; position:fixed; left:12px; right:12px; bottom:12px; z-index:60; text-align:center; background:var(--orange); color:var(--ink); font-weight:800; padding:14px; border-radius:14px; text-decoration:none; box-shadow:0 10px 30px rgba(20,33,61,.25); transition:transform .2s; }
  .sticky-cta.hide { transform:translateY(140%); }
  body { padding-bottom:76px; }
}
/* Sub Check */
.sc-row { display:flex; gap:10px; flex-wrap:wrap; }
.sc-row input { flex:1 1 220px; }
.sc-row .btn { flex:0 0 auto; }
@media (max-width: 560px) { .sc-row .btn { flex:1 1 100%; } }
.sc-status { margin:14px 2px; font-size:15px; color:var(--muted); min-height:1.2em; }
.sc-bad { color:var(--err); font-weight:600; }
.sc-card { margin-top:6px; }
.sc-card p { color:var(--ink); }
.sc-top { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:6px; }
.sc-name { font-weight:800; font-size:19px; }
.pill { font-size:12.5px; font-weight:700; padding:3px 10px; border-radius:20px; }
.pill-on { background:var(--verified); color:#fff; }
.pill-off { background:#E5E7EB; color:#374151; }
.sc-line { margin:6px 0 !important; font-size:15.5px; }
.sc-extra { margin:4px 0 8px !important; font-size:14.5px; color:var(--muted) !important; }
.sc-asof { margin:14px 0 12px !important; font-size:14px; color:var(--muted) !important; }
.sc-note { font-size:14px; margin:0 0 14px; }
.sc-stale { margin-bottom:10px; }
.sc-ctas { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.sc-track { margin-top:12px; font-size:14.5px; background:var(--orange-t); border-radius:10px; padding:12px; }
.nav .mid-hide { }
@media (min-width: 760px) and (max-width: 1059px) { .nav .mid-hide { display:none; } }
