/* PapelesPH: "calm civic app" design */
:root {
  --brand: #1747d1;
  --brand-600: #1239a8;
  --brand-soft: #eef2ff;
  --brand-ring: rgb(23 71 209 / .18);
  --on-brand: #ffffff;
  --accent: #f5b700;
  --accent-soft: #fff7d6;
  --ok: #0f9d58;
  --ok-soft: #e7f6ee;
  --warn: #d93025;
  --warn-soft: #fdecea;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #475467;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --surface: #ffffff;
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 6px 18px rgb(16 24 40 / .07);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / .06), 0 18px 40px rgb(16 24 40 / .12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #7b95ff; --brand-600: #9aaeff; --brand-soft: #18204a; --brand-ring: rgb(123 149 255 / .25); --on-brand: #0b1020;
    --accent: #ffcb3d; --accent-soft: #3a2f0a;
    --ok: #3ddc84; --ok-soft: #0f2c1f; --warn: #ff6b61; --warn-soft: #3a1512;
    --ink: #f2f4f7; --ink-2: #d0d5dd; --muted: #98a2b3; --line: #252d4a;
    --bg: #0b1020; --bg-2: #0f1530; --surface: #131a36;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 6px 18px rgb(0 0 0 / .35);
    --shadow-lg: 0 18px 40px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #7b95ff; --brand-600: #9aaeff; --brand-soft: #18204a; --brand-ring: rgb(123 149 255 / .25); --on-brand: #0b1020;
  --accent: #ffcb3d; --accent-soft: #3a2f0a;
  --ok: #3ddc84; --ok-soft: #0f2c1f; --warn: #ff6b61; --warn-soft: #3a1512;
  --ink: #f2f4f7; --ink-2: #d0d5dd; --muted: #98a2b3; --line: #252d4a;
  --bg: #0b1020; --bg-2: #0f1530; --surface: #131a36;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 6px 18px rgb(0 0 0 / .35);
  --shadow-lg: 0 18px 40px rgb(0 0 0 / .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.2rem var(--font-head); letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #4f7cff); display: grid; place-items: center; box-shadow: 0 4px 12px var(--brand-ring); }
.logo-mark svg { width: 20px; height: 20px; color: #fff; }
.logo .tld { color: var(--brand); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--bg-2); color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.menu-btn { display: none; }
@media (max-width: 860px) { .nav-links { display: none; } .menu-btn { display: grid; } }

/* Trust strip */
.trust-strip { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 9px; padding-bottom: 9px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip svg { width: 15px; height: 15px; color: var(--ok); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--font-body); padding: 13px 20px; border-radius: var(--radius-sm); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 4px 14px var(--brand-ring); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { color: var(--ink-2); background: var(--bg-2); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background:
    radial-gradient(40% 60% at 20% 30%, var(--brand-soft), transparent 70%),
    radial-gradient(30% 50% at 85% 20%, var(--accent-soft), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #4f7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin-bottom: 28px; }

.hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.hero-top .lead { margin-bottom: 0; }
.hero-art { position: relative; padding: 24px 10px 30px 30px; }
.art-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.art-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.art-head b { display: block; font-family: var(--font-head); }
.art-head small { color: var(--muted); font-size: 13px; }
.art-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.art-ic svg { width: 22px; height: 22px; }
.art-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.art-row .tick { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.art-row.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.art-row.done .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.art-row.done { color: var(--muted); }
.art-bar { height: 8px; background: var(--bg-2); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.art-bar span { display: block; width: 75%; height: 100%; background: linear-gradient(90deg, var(--ok), #34c77b); border-radius: 99px; }
.art-float { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-lg); color: var(--ink); }
.art-float svg { width: 16px; height: 16px; color: var(--ok); }
.art-float.f1 { top: 0; right: -6px; }
.art-float.f2 { bottom: 4px; left: 0; }
.art-float.f2 svg { color: var(--brand); }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .hero-art { display: none; } }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 720px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.choice-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.choice-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.choice-icon svg { width: 26px; height: 26px; }
.choice-icon.blue { background: var(--brand-soft); color: var(--brand); }
.choice-icon.gold { background: var(--accent-soft); color: #9a6b00; }
:root[data-theme="dark"] .choice-icon.gold { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .choice-icon.gold { color: var(--accent); } }
.choice h3 { margin: 0; font-size: 1.35rem; }
.choice .sub { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.choice-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 18px; }
.choice-stats div { background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.choice-stats b { display: block; font: 800 1.05rem var(--font-head); }
.choice-stats small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.choice .go { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--brand); }
.choice .go svg { width: 20px; height: 20px; transition: transform .15s; }
.choice:hover .go svg { transform: translateX(4px); }

.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 15px; }

/* Sections */
section.block { padding: 56px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Guide cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag.nbi { background: var(--brand-soft); color: var(--brand); }
.tag.police { background: var(--accent-soft); color: #8a5f00; }
:root[data-theme="dark"] .tag.police { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.police { color: var(--accent); } }
.tag.tool { background: var(--ok-soft); color: var(--ok); }
.card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Quiz */
.quiz { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .quiz { grid-template-columns: 1fr; } }
.quiz-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); }
.quiz-progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.quiz-progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--brand), #4f7cff); border-radius: 99px; transition: width .3s; }
.quiz-q { font: 700 1.2rem var(--font-head); margin-bottom: 14px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { text-align: left; font: 600 16px var(--font-body); color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.quiz-opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.quiz-opt .k { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.quiz-result { display: none; }
.quiz-result.show { display: block; }
.result-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.pill svg { width: 16px; height: 16px; }

/* Fee table */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td b { font-family: var(--font-head); }
.table-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; font-size: 13.5px; color: var(--muted); background: var(--bg-2); border-top: 1px solid var(--line); }

/* City chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; background: var(--surface); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip svg { width: 16px; height: 16px; color: var(--muted); }

/* Trust / author */
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.author { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #ffd66b, #f5b700); display: grid; place-items: center; font: 800 1.3rem var(--font-head); color: #5a3d00; }
.promise { display: grid; gap: 12px; }
.promise div { display: flex; gap: 12px; align-items: flex-start; }
.promise .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.promise .ic svg { width: 19px; height: 19px; }
.promise b { display: block; }
.promise small { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq details[open] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.disclaimer { margin-top: 30px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }

/* ===== Guide page ===== */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.guide-head { padding: 14px 0 8px; }
.guide-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); max-width: 22ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14.5px; color: var(--muted); margin: 6px 0 22px; }
.byline .avatar { width: 34px; height: 34px; font-size: .85rem; }
.byline .who { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.badge-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.badge-ok svg { width: 14px; height: 14px; }

.notice { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--ink-2); }
.notice svg { flex: none; width: 18px; height: 18px; color: var(--muted); margin-top: 3px; }

.quick { margin: 22px 0 8px; background: linear-gradient(180deg, var(--brand-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.quick-head { display: flex; align-items: center; gap: 10px; font: 800 1.05rem var(--font-head); margin-bottom: 14px; }
.quick-head svg { width: 20px; height: 20px; color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.stat svg { width: 20px; height: 20px; color: var(--brand); margin-bottom: 8px; }
.stat b { display: block; font: 800 1.3rem var(--font-head); letter-spacing: -.02em; }
.stat small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.quick p { margin: 16px 0 16px; color: var(--ink-2); }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.jump { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.jump a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.jump a:hover { color: var(--brand); border-color: var(--brand); }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding: 28px 0 60px; }
@media (max-width: 980px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }

.toc { position: sticky; top: 90px; align-self: start; }
.toc-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.toc-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li a { display: flex; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; padding: 7px 8px; border-radius: 8px; }
.toc li a::before { counter-increment: t; content: counter(t); font-weight: 700; color: var(--muted); font-size: 13px; width: 16px; }
.toc li a:hover, .toc li a.active { background: var(--brand-soft); color: var(--brand); }
.toc .mini-tool { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.toc .mini-tool b { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.toc .mini-tool p { font-size: 14px; opacity: .8; margin-bottom: 12px; }
.toc .mini-tool .btn { width: 100%; padding: 10px; font-size: 15px; background: var(--accent); color: #1a1300; box-shadow: none; }

/* Steps timeline */
.steps { list-style: none; margin: 20px 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 26px 58px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font: 800 1rem var(--font-head); display: grid; place-items: center; box-shadow: 0 4px 12px var(--brand-ring); }
.steps li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 6px 0 6px; }
.steps p { margin-bottom: 10px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); max-width: 520px; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 12px; color: var(--muted); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-bar span { margin-left: 8px; background: var(--bg-2); border-radius: 6px; padding: 2px 10px; }
.shot-body { padding: 16px; display: grid; gap: 8px; }
.ph { height: 10px; border-radius: 6px; background: var(--line); }
.ph.w60 { width: 60%; } .ph.w40 { width: 40%; } .ph.w80 { width: 80%; }
.ph.field { height: 34px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.ph.btn-ph { height: 34px; width: 120px; border-radius: 8px; background: var(--brand); opacity: .85; }
.shot-cap { font-size: 13px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }

/* Callouts */
.callout { display: flex; gap: 14px; border-radius: 14px; padding: 16px 18px; margin: 22px 0; border: 1px solid; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.callout b { display: block; margin-bottom: 2px; color: var(--ink); }
.callout.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.callout.warn svg { color: var(--warn); }
.callout.tip { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.callout.tip svg { color: var(--ok); }

/* Checklist */
.checklist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 18px 0; }
.checklist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.checklist-head b { font-family: var(--font-head); }
.checklist-head .count { font-size: 14px; color: var(--muted); }
.check-progress { height: 4px; background: var(--line); }
.check-progress span { display: block; height: 100%; width: 0; background: var(--ok); transition: width .25s; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist label:last-of-type { border-bottom: 0; }
.checklist input { appearance: none; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 7px; flex: none; margin-top: 2px; display: grid; place-items: center; background: var(--surface); cursor: pointer; }
.checklist input:checked { background: var(--ok); border-color: var(--ok); }
.checklist input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist input:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.checklist .t { font-weight: 600; color: var(--ink); }
.checklist .d { display: block; font-size: 14.5px; color: var(--muted); }
.checklist input:checked + span .t { text-decoration: line-through; color: var(--muted); }
.checklist-foot { display: flex; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--bg-2); }
.checklist-foot .btn { padding: 9px 14px; font-size: 14.5px; }

/* Ad slot */
.ad-slot { margin: 30px 0; min-height: 250px; border: 1px dashed var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: repeating-linear-gradient(45deg, transparent 0 12px, var(--bg-2) 12px 24px); }

/* Cross-sell */
.cross { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: linear-gradient(135deg, var(--brand), #4f7cff); color: #fff; border-radius: 20px; padding: 24px; margin: 30px 0; }
.cross h3 { color: #fff; margin: 0 0 4px; }
.cross p { margin: 0; opacity: .9; }
.cross .btn { background: #fff; color: var(--brand); }
:root[data-theme="dark"] .cross .btn { color: #1747d1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cross .btn { color: #1747d1; } }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 36px; }
  section.block { padding: 40px 0; }
  .choice { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .trust-strip, .site-footer, .toc, .ad-slot, .jump, .cross { display: none !important; }
}

/* ===== Site additions ===== */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.mobile-nav { display: grid; gap: 2px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 10px; border-radius: 10px; }
.mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--bg-2); color: var(--brand); }
@media (min-width: 861px) { .mobile-nav { display: none !important; } }
.choice h2.h3 { margin: 0; font-size: 1.35rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.guide-head .lead { margin: 4px 0 14px; }
.guide-layout.single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.avatar.brand { background: linear-gradient(135deg, var(--brand), #4f7cff); color: #fff; }
.avatar.brand svg { width: 55%; height: 55%; }
.avatar.sm { width: 34px; height: 34px; }
.byline .who a { color: var(--ink-2); text-decoration: none; }
.byline .who a:hover { color: var(--brand); }
.author { margin-top: 36px; }
.author b a { color: var(--brand); }

/* Prose */
.prose { min-width: 0; }
.prose ul, .prose ol:not(.steps) { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose h3 { margin-top: 1.4em; }
.prose .table-wrap { margin: 18px 0 22px; }
.prose table { font-size: 15px; }
.prose code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.prose .card-grid { margin: 14px 0 8px; }
.callout > div > p:last-child { margin-bottom: 0; }
.callout > div > p:first-child strong:first-child { display: block; color: var(--ink); margin-bottom: 2px; }
.callout.info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.callout.info svg { color: var(--brand); }
.steps li p:last-child { margin-bottom: 0; }

/* Tools */
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); margin: 8px 0 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field-row label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
select, input[type="date"] { font: 600 16px var(--font-body); color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
select:focus, input[type="date"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.opt-list { display: grid; gap: 10px; margin-bottom: 16px; }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-2); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.opt b { display: block; }
.opt small { color: var(--muted); font-size: 14px; }
.tool-out { border-radius: 14px; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; }
.tool-out.good { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.tool-out.bad { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.tool-out .num { display: block; font: 800 1.8rem var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.tool-out small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.tool-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.tool-card .checklist { margin: 0; box-shadow: none; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
a.pill { text-decoration: none; }
a.pill:hover { filter: brightness(.96); }

/* NBI office directory */
.office-search { position: relative; margin: 8px 0 6px; }
.office-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.office-search input { width: 100%; font: 600 16px var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px 15px 48px; box-shadow: var(--shadow); }
.office-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.office-count { font-size: 14px; margin: 6px 0 18px; }
.office-group h3 { display: flex; align-items: center; gap: 10px; margin-top: 1.6em; }
.office-group h3 small { font: 700 12.5px var(--font-body); color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 999px; }
.office-links { font-size: 14.5px; margin: -4px 0 10px; }
.office-list { list-style: none; padding: 0 !important; margin: 10px 0 18px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.office { margin: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.office > div { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.office b { font-family: var(--font-head); color: var(--ink); line-height: 1.3; }
.otype { flex: none; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.office p { margin: 0; display: flex; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.office p svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--muted); }
.office a { font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.office a svg { width: 14px; height: 14px; }
.office[hidden], .office-group[hidden] { display: none; }
.source-note { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.addr { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-weight: 600; color: var(--ink); }
.tl-box { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 14px; padding: 16px 18px; margin: 12px 0 22px; }
.tl-box p { margin: 0; color: var(--ink); }
.office:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.tag.doc { background: #f3e8ff; color: #7c3aed; }
:root[data-theme="dark"] .tag.doc { background: #2a1b47; color: #c4a5ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.doc { background: #2a1b47; color: #c4a5ff; } }

/* ===== Infographics & charts ===== */
.viz { margin: 26px 0 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 16px; box-shadow: var(--shadow); }
.viz-title { font: 800 1.05rem var(--font-head); color: var(--ink); margin-bottom: 18px; letter-spacing: -.01em; }
.viz-cap { font-size: 13px; color: var(--muted); margin: 14px 0 0 !important; }

/* Process flow */
.flow { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; counter-reset: none; }
.flow-step { position: relative; margin: 0 !important; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px 14px; display: grid; gap: 4px; align-content: start; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 12px; height: 2px; background: var(--brand); opacity: .5; }
.flow-num { position: absolute; top: 12px; right: 12px; font: 800 12px var(--font-head); color: var(--muted); }
.flow-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); margin-bottom: 6px; box-shadow: 0 4px 12px var(--brand-ring); }
.flow-ic svg { width: 20px; height: 20px; }
.flow-step b { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }
.flow-step b a { color: inherit; text-decoration: none; }
.flow-step b a:hover { color: var(--brand); }
.flow-step small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-step { grid-template-columns: 40px 1fr; column-gap: 12px; padding: 12px 14px; }
  .flow-ic { grid-row: span 2; margin: 0; }
  .flow-step:not(:last-child)::after { top: auto; bottom: -10px; right: auto; left: 33px; width: 2px; height: 10px; }
}
.flow-branch { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.flow-branch-ic svg { width: 20px; height: 20px; color: #9a6b00; margin-top: 2px; }
:root[data-theme="dark"] .flow-branch-ic svg { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .flow-branch-ic svg { color: var(--accent); } }
.flow-branch b { display: block; color: var(--ink); font-family: var(--font-head); }
.flow-branch small { color: var(--ink-2); font-size: 14px; }

/* Range / bar charts (single series: one hue, value at the tip, hairline axis) */
.rc { display: grid; gap: 10px; }
.rc-row, .rc-axis { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; align-items: center; gap: 12px; position: relative; }
.rc-row { border-radius: 8px; outline: none; }
.rc-label { font-size: 14px; color: var(--ink-2); line-height: 1.3; text-decoration: none; }
a.rc-label:hover { color: var(--brand); }
.rc-track { position: relative; height: 22px; background-image: linear-gradient(var(--line), var(--line)); background-size: 1px 100%; background-repeat: no-repeat; }
.rc-bar { position: absolute; top: 3px; height: 16px; background: var(--brand); border-radius: 0 4px 4px 0; }
.rc-bar.rc-dot { width: 12px !important; height: 12px; top: 5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); margin-left: -1px; }
.rc-val { position: absolute; top: 1px; font: 700 13px var(--font-body); color: var(--ink); white-space: nowrap; }
.rc-bar.rc-dot + .rc-val { margin-left: 4px; }
.rc-axis { margin-top: 2px; }
.rc-ticks { position: relative; height: 18px; border-top: 1px solid var(--line); }
.rc-ticks span { position: absolute; top: 3px; transform: translateX(-50%); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-row:hover .rc-bar, .rc-row:focus-visible .rc-bar { filter: brightness(1.12); }
.rc-row[data-tip]:hover::after, .rc-row[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; z-index: 5; left: 34%; bottom: calc(100% + 6px); max-width: 360px;
  background: var(--ink); color: var(--bg); font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 8px; box-shadow: var(--shadow-lg); pointer-events: none;
}
@media (max-width: 560px) {
  .rc-row, .rc-axis { grid-template-columns: 1fr; gap: 4px; }
  .rc-axis .rc-label { display: none; }
  .rc-row[data-tip]:hover::after, .rc-row[data-tip]:focus-visible::after { left: 0; }
  .rc-val { font-size: 12.5px; }
}
.rc-offices .rc-row, .rc-offices .rc-axis { grid-template-columns: minmax(150px, 40%) 1fr; }
@media (max-width: 560px) { .rc-offices .rc-row, .rc-offices .rc-axis { grid-template-columns: 1fr; } }
.viz-table { margin-top: 12px; font-size: 14px; }
.viz-table summary { cursor: pointer; color: var(--brand); font-weight: 700; }
.viz-table table { margin-top: 8px; min-width: 0; font-size: 14px; }
.viz-table th, .viz-table td { padding: 8px 10px; }

/* Decision tree */
.tree { display: grid; gap: 12px; }
.tree-q { display: flex; gap: 10px; align-items: center; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.tree-q svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.tree-q.small { margin-top: 8px; }
.tree-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-left: 14px; border-left: 2px solid var(--line); }
@media (max-width: 640px) { .tree-branches { grid-template-columns: 1fr; } }
.tree-a { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tree-a p { margin: 6px 0 0 !important; font-size: 14.5px; color: var(--ink-2); }
.tree-yes, .tree-no { display: inline-block; font: 800 11.5px var(--font-body); letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.tree-yes { background: var(--ok-soft); color: var(--ok); }
.tree-no { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
@media print { .viz { break-inside: avoid; box-shadow: none; } }
@media (min-width: 641px) {
  .flow.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .flow.n5 .flow-step { padding: 14px 12px 12px; }
  .flow.n5 .flow-step:not(:last-child)::after { right: -10px; width: 10px; }
}
.flow-step small, .flow-step b { overflow-wrap: anywhere; }
.rc-val.in { color: var(--on-brand); left: auto; font-size: 12.5px; top: 2px; }

/* Downloads */
.dl-list { display: grid; gap: 12px; margin: 14px 0 20px; }
.dl-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); margin: 16px 0; transition: border-color .15s, transform .15s; }
.dl-list .dl-card { margin: 0; }
.dl-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.dl-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.dl-card.official .dl-ic { background: var(--bg-2); color: var(--muted); }
.dl-ic svg { width: 22px; height: 22px; }
.dl-card b { display: block; color: var(--ink); font-family: var(--font-head); line-height: 1.3; }
.dl-card small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.dl-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--on-brand); background: var(--brand); padding: 8px 14px; border-radius: 10px; }
.dl-card.official .dl-go { color: var(--brand); background: transparent; border: 1.5px solid var(--brand); }
.dl-go svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .dl-card { flex-wrap: wrap; } .dl-go { margin-left: 58px; } }

/* ===== Logo v2 ===== */
.logo { gap: 11px; }
.logo .mark { width: 38px; height: 38px; flex: none; border-radius: 11px; box-shadow: 0 6px 16px rgb(23 71 209 / .28); }
.logo-text { display: grid; line-height: 1.05; }
.logo-word { font: 800 1.22rem var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.logo-word .tld { color: var(--brand); font-weight: 800; }
.logo-tag { font: 700 10px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 400px) { .logo-tag { display: none; } }
.site-footer .logo-tag { display: none; }

/* ===== Hero v2 ===== */
.hero-v2 { padding: 54px 0 34px; isolation: isolate; }
.hero-v2::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-bg .b1 { width: 520px; height: 520px; left: -160px; top: -220px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%); }
.hero-bg .b2 { width: 460px; height: 460px; right: -120px; top: 40px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%); }
.hero-bg .grid-dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero-badges .eyebrow { margin: 0; }
.eyebrow.soft { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: 13px; }
.eyebrow.soft svg { width: 15px; height: 15px; color: var(--ok); }
.hero-v2 h1 { max-width: 17ch; font-size: clamp(2.2rem, 5.2vw, 3.55rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 18px; }
.hero-v2 .hl { position: relative; white-space: nowrap; color: var(--brand); }
.hero-v2 .hl .swoosh { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .32em; color: var(--accent); z-index: -1; }
@media (max-width: 520px) { .hero-v2 .hl { white-space: normal; } .hero-v2 .hl .swoosh { display: none; } .hero-v2 .hl { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .12em; } }
.hero-v2 .lead { margin-bottom: 20px; }
.hero-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.need-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 2px; }
.need { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; box-shadow: 0 1px 2px rgb(16 24 40 / .05); transition: border-color .15s, color .15s, transform .15s; }
.need svg { width: 16px; height: 16px; color: var(--brand); }
.need:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn-lg { padding: 15px 22px; font-size: 16.5px; border-radius: 12px; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-stats li { display: grid; }
.hero-stats b { font: 800 1.5rem var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.hero-stats span { font-size: 13.5px; color: var(--muted); }
.hero-v2 .hero-top { grid-template-columns: 1.2fr .9fr; gap: 36px; margin-bottom: 34px; }

/* Phone mockup */
.hero-art.v2 { position: relative; display: grid; place-items: center; padding: 20px 0 30px; min-height: 520px; }
.phone { position: relative; width: 272px; border-radius: 40px; padding: 10px; background: #0b1020; box-shadow: 0 30px 60px rgb(15 23 42 / .28), 0 0 0 1px rgb(255 255 255 / .06) inset; transform: rotate(-3deg); }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0b1020; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: var(--surface); border-radius: 31px; padding: 34px 16px 18px; min-height: 470px; }
.ps-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ps-top b { font-family: var(--font-head); font-size: 15px; }
.ps-logo .mark { width: 26px; height: 26px; border-radius: 8px; display: block; }
.ps-pill { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 99px; }
.ps-ring { display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-bottom: 8px; }
.ps-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--ok); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 40.85; }
.ps-ring b { display: block; font: 800 1.25rem var(--font-head); }
.ps-ring small { color: var(--muted); font-size: 12.5px; }
.phone-screen .art-row { font-size: 14px; padding: 10px 2px; }
.ps-btn { margin-top: 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--on-brand); background: var(--brand); border-radius: 12px; padding: 11px; }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-lg); }
.float-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.float-card b { font: 800 15px var(--font-head); color: var(--ink); white-space: nowrap; }
.float-card b em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); }
.fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fc-ic svg { width: 19px; height: 19px; }
.fc-ic.blue { background: var(--brand-soft); color: var(--brand); }
.fc-ic.green { background: var(--ok-soft); color: var(--ok); }
.fc-ic.gold { background: var(--accent-soft); color: #9a6b00; }
:root[data-theme="dark"] .fc-ic.gold { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fc-ic.gold { color: var(--accent); } }
.fc1 { top: 54px; left: -6px; }
.fc2 { bottom: 110px; right: -14px; }
.fc3 { bottom: 20px; left: 10px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.fc1 { animation: floaty 6s ease-in-out infinite; }
.fc2 { animation: floaty 7s ease-in-out infinite .8s; }
.fc3 { animation: floaty 6.5s ease-in-out infinite 1.6s; }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none !important; } }
@media (max-width: 1060px) { .fc1 { left: -20px; } .fc2 { right: -24px; } }
@media (max-width: 900px) {
  .hero-v2 .hero-top { grid-template-columns: 1fr; }
  .hero-art.v2 { display: none; }
}
.fc1 { top: 6px; left: -34px; }
.fc2 { bottom: 170px; right: -30px; }
.fc3 { bottom: 16px; left: -10px; }
@media (max-width: 1060px) { .fc1 { left: -14px; } .fc2 { right: -10px; } }
