/* TaxEye design tokens (from the TaxEye brand system) */
:root {
  --brand-600: #2F4BE0; --brand-700: #2338B8; --brand-100: #E8EDFF; --brand-50: #F3F5FF;
  --ink-900: #0E1A3D; --ink-600: #4A5578; --ink-400: #8A93B0;
  --surface-0: #FFFFFF; --surface-50: #F7F8FC; --line: #DDE2F0; --line-strong: #8A93B0;
  --amber: #F5A524; --amber-100: #FFF4DE; --green: #12805C; --green-100: #E3F4EC; --red: #C8322B; --red-100: #FDECEA;
  --navy-2: #16234D; --navy-line: #26305A; --navy-muted: #A7B0CC; --blue-light: #8FA2FF;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 22px;
  --shadow-card: 0 1px 2px rgba(14,26,61,.06), 0 4px 12px rgba(14,26,61,.06);
  --shadow-pop: 0 12px 40px rgba(14,26,61,.18);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink-900); background: var(--surface-0); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--amber); }
.dark .eyebrow { color: var(--blue-light); }
.h-display { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.h-2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 750; }
.h-3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-600); line-height: 1.55; }
.muted { color: var(--ink-600); }
.small { font-size: 14px; }
.dark { background: var(--ink-900); color: #fff; }
.dark .lead, .dark .muted { color: var(--navy-muted); }
.accent { color: var(--brand-600); }
.dark .accent { color: var(--blue-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-md); font: inherit; font-size: 15px; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-900); color: var(--ink-900); }
.dark .btn-secondary { background: transparent; color: #fff; border-color: var(--navy-line); }
.dark .btn-secondary:hover { border-color: #fff; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-900); padding-inline: 12px; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.header .logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--ink-900); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover, .nav a.active { background: var(--brand-50); color: var(--brand-700); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink-900); }
.topbar { background: var(--ink-900); color: var(--navy-muted); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: center; gap: 10px; align-items: center; min-height: 38px; text-align: center; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .dot { width: 8px; height: 8px; border-radius: 9px; background: var(--amber); flex: none; }
@media (max-width: 1040px) {
  .nav, .header-cta .hide-md { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-cta { margin-left: auto; }
}
.mobile-nav { position: fixed; inset: 0; padding-top: 128px !important; background: #fff; z-index: 39; padding: 24px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.mobile-nav a { padding: 14px 8px; font-size: 18px; font-weight: 700; color: var(--ink-900); border-bottom: 1px solid var(--line); }

/* Sections */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--surface-50); }
.section-head { max-width: 760px; margin-bottom: 48px; display: grid; gap: 16px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; padding: 88px 0 96px; }
.hero::after { content: ''; position: absolute; right: -240px; top: -120px; width: 760px; height: 760px; border-radius: 50%; border: 1.5px solid var(--navy-line); box-shadow: 0 0 0 90px rgba(47,75,224,.05), 0 0 0 180px rgba(47,75,224,.03); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--navy-muted); font-size: 14px; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.tick { width: 18px; height: 18px; flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

/* Product mock (pure HTML/CSS, sample data) */
.mock { background: #fff; color: var(--ink-900); border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-50); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-600); }
.mock-bar i { width: 10px; height: 10px; border-radius: 9px; background: var(--line); display: block; }
.mock-bar b { margin-left: 8px; color: var(--ink-900); }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.notice-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.notice-row .t { font-weight: 700; font-size: 14px; }
.notice-row .s { font-size: 12.5px; color: var(--ink-600); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill-amber { background: var(--amber); color: var(--ink-900); }
.pill-red { background: var(--red-100); color: var(--red); }
.pill-green { background: var(--green-100); color: var(--green); }
.pill-blue { background: var(--brand-100); color: var(--brand-700); }
.pill-navy { background: var(--ink-900); color: #fff; }
.draft { background: var(--brand-100); border-radius: var(--r-md); padding: 14px; display: grid; gap: 8px; }
.draft-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--brand-700); }
.draft-line { height: 8px; border-radius: 9px; background: rgba(47,75,224,.22); }
.mock-float { position: absolute; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.card-hover { transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-hover:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: #c9d0e6; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; }
.icon-badge.solid { background: var(--brand-600); color: #fff; }
.dark .card { background: var(--navy-2); border-color: var(--navy-line); color: #fff; }
.dark .card .muted { color: var(--navy-muted); }

/* Stage ladder */
.ladder { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.rung { position: relative; align-content: start; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 6px; }
.rung .n { font-family: var(--mono); font-size: 12px; color: var(--ink-400); }
.rung .h { font-weight: 800; font-size: 15px; }
.rung .d { font-size: 13px; color: var(--ink-600); }
.rung.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.rung.active .d, .rung.active .n { color: var(--brand-100); }
@media (max-width: 960px) { .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr 1fr; } }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface-50); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:last-child { background: var(--brand-50); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 12.5px; color: var(--ink-600); }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: #fff; color: var(--ink-900); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(47,75,224,.15); }
.input.err { border-color: var(--red); }
.err-msg { color: var(--red); font-size: 13px; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-card { background: #fff; color: var(--ink-900); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-pop); display: grid; gap: 18px; }
.form-card .fine { font-size: 12.5px; color: var(--ink-600); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; min-height: 44px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-900); cursor: pointer; }
.choice button[aria-pressed='true'] { border-color: var(--brand-600); background: var(--brand-100); color: var(--brand-700); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.slots button { font: inherit; font-size: 14px; font-weight: 600; min-height: 48px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; color: var(--ink-900); }
.slots button[aria-pressed='true'] { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.steps { display: flex; gap: 8px; }
.steps span { flex: 1; height: 6px; border-radius: 9px; background: var(--line); }
.steps span.on { background: var(--brand-600); }

/* Pricing */
.price-card { position: relative; }
.price-card.featured { border: 2px solid var(--brand-600); box-shadow: var(--shadow-card); }
.price-card .badge { position: absolute; top: -12px; left: 24px; }
.price { font-size: clamp(26px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin: 4px 0 6px; }
.toggle { display: inline-flex; padding: 4px; background: var(--surface-50); border: 1px solid var(--line); border-radius: 99px; }
.toggle button { font: inherit; font-weight: 700; font-size: 14px; border: 0; padding: 10px 18px; border-radius: 99px; background: transparent; cursor: pointer; color: var(--ink-600); min-height: 44px; }
.toggle button[aria-pressed='true'] { background: var(--ink-900); color: #fff; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand-600); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 20px; color: var(--ink-600); }

/* CTA band */
.cta-band { background: var(--brand-600); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); }
.cta-band .lead { color: var(--brand-100); }
.cta-band .btn-secondary { background: #fff; border-color: #fff; color: var(--ink-900); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* Footer */
.footer { background: var(--ink-900); color: var(--navy-muted); padding: 72px 0 32px; font-size: 14.5px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--blue-light); }
.footer .btn-secondary { background: rgba(143,162,255,.08); color: #fff; border-color: var(--navy-line); }
.footer .btn-secondary:hover { border-color: var(--blue-light); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Resources */
.search { max-width: 420px; }
.judg { display: grid; gap: 10px; }
.judg .case { font-weight: 800; font-size: 15px; }
.judg .cite { font-family: var(--mono); font-size: 12.5px; color: var(--ink-600); }
.use { background: var(--brand-50); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; }
.map-num { font-family: var(--mono); font-weight: 600; }
.map-old { color: var(--ink-400); text-decoration: line-through; }

/* Co-pilot */
.cp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; min-height: 52px; border-radius: 99px; background: var(--ink-900); color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-pop); }
.cp-fab .spark { width: 30px; height: 30px; border-radius: 99px; background: var(--brand-600); display: grid; place-items: center; }
.cp-panel { position: fixed; right: 20px; bottom: 84px; z-index: 50; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.cp-head { background: var(--ink-900); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cp-head p { font-size: 12.5px; color: var(--navy-muted); }
.cp-close { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.cp-body { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; background: var(--surface-50); }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.msg.bot { background: #fff; border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--brand-600); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; min-height: 44px; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; color: var(--ink-900); }
.chips button[aria-pressed='true'] { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.cp-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.cp-foot .input { min-height: 44px; }
.cp-note { font-size: 11.5px; color: var(--ink-600); padding: 0 14px 10px; background: #fff; }

/* Misc */
.stat { display: grid; gap: 4px; }
.stat b { font-size: 34px; letter-spacing: -0.02em; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.breadcrumb { font-size: 14px; color: var(--navy-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--navy-muted); }
.note { background: var(--amber-100); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; }
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 22px; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 2050 layer: grid field, glass, live motion (TaxEye palette only) ===== */
.field-grid { background-image: linear-gradient(rgba(143,162,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(143,162,255,.08) 1px, transparent 1px); background-size: 48px 48px; }
.hero.field-grid { background-color: var(--ink-900); }
.glass { background: rgba(22,35,77,.72); border: 1px solid rgba(143,162,255,.22); backdrop-filter: blur(14px); border-radius: 18px; }
.hero-stage { position: relative; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; font-size: 15px; margin-bottom: 14px; }
.cmd .k { font-family: var(--mono); font-size: 11px; color: var(--navy-muted); border: 1px solid var(--navy-line); border-radius: 6px; padding: 2px 6px; margin-left: auto; }
.cmd .spark { width: 30px; height: 30px; border-radius: 99px; background: var(--brand-600); display: grid; place-items: center; flex: none; }
.cmd [data-type]::after { content: '▍'; color: var(--blue-light); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.cmd-answer { padding: 14px 16px; color: var(--navy-muted); font-size: 14px; display: grid; gap: 10px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.cmd-answer.on { opacity: 1; transform: none; visibility: visible; }
.cmd-answer b { color: #fff; }
.toast { position: absolute; right: -14px; top: -26px; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: #fff; color: var(--ink-900); border-radius: 14px; box-shadow: var(--shadow-pop); font-size: 13px; font-weight: 700; animation: toastIn .6s ease both, float 6s ease-in-out 1s infinite; }
.toast .dot { width: 10px; height: 10px; border-radius: 9px; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.25); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes float { 50% { transform: translateY(-6px); } }
.scan-eye { width: 64px; height: 64px; position: relative; }
.scan-eye svg { position: absolute; inset: 0; }
.scan-eye .sweep { position: absolute; inset: 6px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(143,162,255,.0), rgba(143,162,255,.45) 30deg, rgba(143,162,255,0) 60deg); animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--blue-light); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 9px; background: #4CC99A; box-shadow: 0 0 0 4px rgba(76,201,154,.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(76,201,154,0); } }
.counter-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: 18px; overflow: hidden; margin-top: 56px; position: relative; z-index: 1; }
.counter-row > div { background: rgba(14,26,61,.92); padding: 22px 24px; display: grid; gap: 4px; }
.counter-row b { font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.counter-row span { font-size: 13.5px; color: var(--navy-muted); }
@media (max-width: 760px) { .counter-row { grid-template-columns: 1fr 1fr; } .toast { right: 8px; top: -34px; } }
.module-card { position: relative; overflow: hidden; }
.module-card::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid var(--brand-100); transition: transform .4s; }
.module-card:hover::after { transform: scale(1.15); }
.module-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; }
.badge-new { position: absolute; top: 18px; right: 18px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero-mod-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.hero-mod-tabs a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--navy-line); color: #fff; font-size: 14px; font-weight: 600; background: rgba(22,35,77,.6); }
.hero-mod-tabs a:hover { border-color: var(--blue-light); color: #fff; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .scan-eye .sweep, .toast, .live::before, .cmd [data-type]::after { animation: none; } }
/* Hero contrast on navy */
.hero .lead, .hero .muted { color: var(--navy-muted); }
.hero .eyebrow { color: var(--blue-light); }
.hero .accent { color: var(--blue-light); }
.hero .breadcrumb a:hover { color: #fff; }
@media (max-width: 640px) { .topbar .wrap { font-size: 12.5px; gap: 6px; } .topbar .wrap span.dot { display: none; } .topbar .long { display: none; } }

/* ===== Refinement layer (design review, Nov 2026): rhythm, 2050 finish, mobile ===== */
html { scroll-padding-top: 88px; }
h1, h2, h3, .h-display, .h-1, .h-2 { text-wrap: balance; }
.lead, .muted, .card p { text-wrap: pretty; }
.sr-only:focus { position: fixed; left: 16px; top: 12px; width: auto; height: auto; clip: auto; overflow: visible; z-index: 100; padding: 12px 18px; background: var(--brand-600); color: #fff; border-radius: var(--r-md); font-weight: 700; }
.counter-row b, .stat b, .price, .map-num { font-variant-numeric: tabular-nums; }

/* Topbar: one calm line */
.topbar .wrap { gap: 10px; flex-wrap: nowrap; }
.topbar-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 38px; }

/* Header: lighter glass, hairline */
.header { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: rgba(14,26,61,.08); }
.nav a { min-height: 40px; display: inline-flex; align-items: center; }

/* Buttons: depth on primary, glass secondary on navy */
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -6px rgba(47,75,224,.55); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -8px rgba(47,75,224,.7); }
.hero .btn-secondary { background: rgba(232,237,255,.06); color: #fff; border-color: rgba(143,162,255,.35); backdrop-filter: blur(8px); }
.hero .btn-secondary:hover { background: rgba(232,237,255,.12); border-color: var(--blue-light); color: #fff; }

/* Hero: grid fades out at the edges, one soft blue light source, no purple */
.hero.field-grid { background-image:
    radial-gradient(60% 70% at 78% 30%, rgba(47,75,224,.28), transparent 70%),
    linear-gradient(rgba(143,162,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,162,255,.07) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px; }
.hero::before { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, rgba(14,26,61,.9)); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { gap: 64px; }
.hero h1 { margin: 20px 0 22px; }

/* Hero stage: TaxEye AI answers float over the board instead of reserving empty space */
.hero-stage { padding-bottom: 36px; }
.cmd { border-radius: 16px; }
.cmd-answers { position: absolute; left: -36px; right: 18%; bottom: -4px; z-index: 2; display: grid; }
.cmd-answer { grid-area: 1 / 1; margin: 0; visibility: hidden; box-shadow: 0 24px 60px -12px rgba(0,0,0,.55); background: rgba(14,26,61,.9); border-color: rgba(143,162,255,.35); }
.cmd-answer.on { visibility: visible; }
.counter-row { margin-top: 72px; }
.counter-row > div { padding: 24px 28px; align-content: start; }
.counter-row b { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }

/* Cards: crisper edge, consistent hover */
.card { box-shadow: 0 1px 0 rgba(14,26,61,.03); }
.card-hover:hover { border-color: rgba(47,75,224,.35); box-shadow: 0 0 0 4px rgba(47,75,224,.06), 0 12px 32px -12px rgba(14,26,61,.18); }
.module-card > * { position: relative; z-index: 1; }
.module-card::after { inset: auto -72px -96px auto; width: 180px; height: 180px; border-color: var(--brand-100); z-index: 0; }
.module-card .go { margin-top: auto; padding-top: 8px; color: var(--brand-600); }
.module-card { align-content: stretch; grid-template-rows: auto auto auto 1fr; }
.module-card .badge-new { position: absolute; }
.dark .card, .dark .glass { box-shadow: 0 1px 0 rgba(143,162,255,.08) inset; }

/* Ladder: progress rail feel */
.rung { transition: border-color .2s, box-shadow .2s; }
.rung.active { box-shadow: 0 10px 28px -10px rgba(47,75,224,.6); }
.rung .h { line-height: 1.25; }

/* Mock stage tabs */
.mock-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mock-stage { padding: 10px 6px; border-radius: 10px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.3; display: grid; place-items: center; }
.mock-split { grid-template-columns: 1fr 1fr; }
.mock-bar b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-bar > span { white-space: nowrap; }

/* Forms inside a navy hero keep light-surface colours (contrast) */
.form-card .muted, .hero .form-card .muted { color: var(--ink-600); }
.hero .form-card .eyebrow { color: var(--brand-700); }
.form-card { border: 1px solid rgba(14,26,61,.06); }
.choice button { transition: border-color .15s, background .15s; }
.choice button:hover, .slots button:hover { border-color: var(--brand-600); }
[data-wizard] { scroll-margin-top: 96px; }
.steps span { transition: background .3s; }

/* Free trial split */
.trial-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.trial-intro { display: grid; gap: 20px; position: sticky; top: 110px; }

/* Pricing */
.price-card { grid-template-rows: auto auto auto 1fr auto; }
.price-card .list { align-self: start; }
.price-card.featured { box-shadow: 0 0 0 6px rgba(47,75,224,.08), 0 20px 48px -16px rgba(47,75,224,.35); }
.toggle button { transition: background .2s, color .2s; }

/* Comparison tables */
.compare td:last-child { background: transparent; font-weight: 400; }
.compare-stack td:last-child { background: var(--brand-50); font-weight: 600; color: var(--ink-900); }
.compare-map td:nth-child(3) { background: var(--brand-50); }
.compare tbody tr { transition: background .15s; }
.compare tbody tr:hover td { background-color: rgba(232,237,255,.45); }

/* FAQ */
.faq summary { min-height: 56px; align-items: center; }
.faq details[open] { border-color: rgba(47,75,224,.35); }

/* CTA band: depth without gradients */
.cta-band { box-shadow: 0 30px 70px -30px rgba(47,75,224,.7); }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }

/* Co-pilot button */
.cp-fab { border: 1px solid rgba(143,162,255,.3); box-shadow: 0 16px 40px -10px rgba(14,26,61,.55), 0 0 0 4px rgba(47,75,224,.12); transition: transform .2s, box-shadow .2s; }
.cp-fab:hover { transform: translateY(-2px); }

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .hero-grid { gap: 48px; }
  .cmd-answers { left: 16px; right: 16px; }
  .trial-split { grid-template-columns: 1fr; gap: 32px; }
  .trial-intro { position: static; }
  .ladder .rung { min-height: 100%; }
}

/* ===== Mobile ===== */
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .wrap.grid, .grid.g2 { gap: 32px !important; }
  .section-head { margin-bottom: 32px; }
  .section-sm { padding: 40px 0; }
  .card { padding: 22px; }
  .h-display { font-size: clamp(36px, 10.5vw, 44px); }

  /* Topbar: short message, link kept */
  .topbar { font-size: 12.5px; }
  .topbar .wrap { justify-content: space-between; }

  /* Hero */
  .hero { padding: 48px 0 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-mod-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-mod-tabs a { justify-content: center; }
  .hero-stage { padding-bottom: 0; }
  .toast { position: relative; right: auto; top: auto; display: inline-flex; margin: 0 0 12px; animation: toastIn .6s ease both; font-size: 12.5px; }
  .cmd { font-size: 14px; }
  .cmd .k { display: none; }
  .cmd-answers { position: relative; left: auto; right: auto; bottom: auto; margin: -20px 12px 0; }
  .counter-row { margin-top: 48px; }
  .counter-row > div { padding: 18px; }
  .notice-row:has(> div > .s) { grid-template-columns: 1fr; }
  .notice-row:has(> div > .s) .pill { justify-self: start; }

  /* Mocks */
  .mock-body { padding: 14px; }
  .mock-stages { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .mock-stages::-webkit-scrollbar { display: none; }
  .mock-split { grid-template-columns: 1fr; }
  .mock-bar > span { display: none; }

  /* Ladder: a single rail reads better than a 2-col checkerboard */
  .ladder { grid-template-columns: 1fr; gap: 8px; }
  .rung { grid-template-columns: 36px 1fr; column-gap: 8px; padding: 14px 16px; }
  .rung .n { grid-row: span 2; padding-top: 3px; }

  /* Home comparison stacks into cards */
  .compare-stack, .compare-stack tbody, .compare-stack tr, .compare-stack td { display: block; }
  .compare-stack { border: 0; border-radius: 0; overflow: visible; }
  .compare-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-stack tbody { display: grid; gap: 12px; }
  .compare-stack tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .compare-stack td { border: 0; padding: 4px 18px; }
  .compare-stack td:first-child { padding-top: 16px; font-weight: 800; font-size: 16px; }
  .compare-stack td:nth-child(2) { color: var(--ink-600); font-size: 14px; padding-bottom: 12px; }
  .compare-stack td:nth-child(2)::before { content: 'Today: '; font-weight: 700; }
  .compare-stack td:last-child { padding: 12px 18px 14px; border-top: 1px solid var(--line); }
  .compare-stack tbody tr:hover td { background-color: transparent; }
  .compare-stack tbody tr:hover td:last-child { background: var(--brand-50); }

  /* Section map: each row becomes a compact card */
  .compare-map, .compare-map tbody, .compare-map tr { display: block; }
  .compare-map { border: 0; overflow: visible; }
  .compare-map thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-map tbody { display: grid; gap: 10px; }
  .compare-map tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .compare-map td { border: 0; padding: 6px 16px; }
  .compare-map td:first-child { grid-column: 1 / -1; padding-top: 14px; font-weight: 700; }
  .compare-map td:nth-child(2)::before { content: '1961 Act '; font-size: 12px; color: var(--ink-600); font-family: var(--font); }
  .compare-map td:nth-child(3)::before { content: '2025 Act '; font-size: 12px; color: var(--ink-600); font-family: var(--font); }
  .compare-map td:nth-child(3) { background: transparent; }
  .compare-map td:nth-child(4) { grid-column: 1 / -1; padding-bottom: 14px; color: var(--ink-600); }
  .compare-map tbody tr:hover td { background-color: transparent; }
  .table-scroll { overflow: visible; }

  /* Forms */
  .form-card { padding: 22px 18px; border-radius: 18px; }
  .choice { display: grid; grid-template-columns: 1fr 1fr; }
  .choice button { text-align: center; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Free trial: heading, then the form, then the reassurance */
  .trial-intro { display: contents; }
  .trial-split > * { min-width: 0; }
  .wrap.trial-split { gap: 20px !important; }
  .trial-form { order: 5; margin-top: 4px; }
  .trial-steps { order: 6; margin-top: 12px; }
  .trial-note { order: 7; }
  .trial-intro .h-1 { font-size: 30px; }

  /* Pricing */
  .toggle { width: 100%; }
  .toggle button { flex: 1; padding: 10px 12px; }

  /* CTA band */
  .cta-band { border-radius: 22px; }
  .cta-band .btn { width: 100%; }
  .cta-band > div:last-child { flex-direction: column; }

  /* Footer */
  .footer { padding: 56px 0 96px; }
  .footer-grid { gap: 32px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer ul { gap: 4px; }
  .footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-bottom { flex-direction: column; margin-top: 32px; }

  /* Co-pilot: compact round button that keeps clear of content; label stays for screen readers */
  .cp-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .cp-fab .spark { width: 36px; height: 36px; }
  .cp-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cp-panel { right: 8px; left: 8px; width: auto; bottom: 80px; height: min(560px, calc(100dvh - 100px)); }
}
@media (max-width: 380px) {
  .header .btn-primary.btn-sm { padding-inline: 12px; font-size: 13.5px; }
  .choice { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-fab, .card-hover, .rung { transition: none; }
  .cp-fab:hover, .card-hover:hover { transform: none; }
  .cmd-answer { transition: none; }
}
.header .logo { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 680px) { .topbar .wrap, .topbar a { min-height: 44px; } }
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 960px) {
  .toast { right: 12px; }
  .cp-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .cp-fab .spark { width: 36px; height: 36px; }
  .cp-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cp-panel { bottom: 84px; }
}

/* ===== Mega menu ===== */
.mega { flex: 1; }
.mega-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.mega-item { position: static; }
.mega-trigger { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-900); background: none; border: 0; padding: 10px 12px; min-height: 44px; border-radius: var(--r-sm); cursor: pointer; }
.mega-trigger:hover, .mega-trigger[aria-expanded="true"], .mega-trigger.active { background: var(--brand-50); color: var(--brand-700); }
.mega-trigger svg { transition: transform .2s; }
.mega-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; padding: 0 24px; animation: megaIn .22s ease both; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-grid { max-width: var(--wrap); margin: 10px auto 0; background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(160%); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(14,26,61,.22); padding: 24px; display: grid; gap: 18px; }
.mega-products { grid-template-columns: repeat(4, minmax(0,1fr)) minmax(0,1.15fr); }
.mega-solutions { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mega-resources { grid-template-columns: 1fr 1fr 1.3fr; }
.mega-col { display: grid; gap: 8px; align-content: start; }
.mega-col ul { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 2px; }
.mega-col ul a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-600); font-size: 14px; }
.mega-col ul a:hover { background: var(--brand-50); color: var(--brand-700); }
.mega-head { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; color: var(--ink-900); }
.mega-head:hover { background: var(--brand-50); color: var(--ink-900); }
.mega-head b { display: flex; gap: 6px; align-items: center; font-size: 15px; }
.mega-head small, .mega-card small, .mega-link small, .mega-post small { display: block; font-size: 13px; color: var(--ink-600); line-height: 1.4; margin-top: 2px; }
.icon-badge.sm { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.pill.xs { font-size: 11px; padding: 2px 8px; }
.mega-feature { background: var(--ink-900); color: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; background-image: linear-gradient(rgba(143,162,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(143,162,255,.09) 1px, transparent 1px); background-size: 24px 24px; }
.mega-feature:hover { color: #fff; }
.mega-feature b { font-size: 17px; line-height: 1.3; }
.mega-feature .go { color: var(--blue-light); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.mini-draft { display: grid; gap: 6px; background: rgba(232,237,255,.08); border: 1px solid var(--navy-line); border-radius: 10px; padding: 10px; }
.mini-draft i { display: block; height: 6px; border-radius: 6px; background: rgba(143,162,255,.45); animation: shimmer 2.4s ease-in-out infinite; }
.mini-draft i:nth-child(2) { animation-delay: .3s; } .mini-draft i:nth-child(3) { animation-delay: .6s; }
@keyframes shimmer { 50% { opacity: .35; } }
.mega-card { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink-900); background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mega-card:hover { border-color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--ink-900); }
.mega-card-dark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.mega-card-dark small { color: var(--navy-muted); } .mega-card-dark:hover { color: #fff; }
.mega-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); padding: 0 10px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; color: var(--brand-600); }
.mega-link b { color: var(--ink-900); font-size: 15px; display: block; }
.mega-link:hover { background: var(--brand-50); }
.mega-post { display: grid; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-900); }
.mega-post b { font-size: 14px; line-height: 1.35; }
.mega-post:hover { border-color: var(--brand-600); color: var(--ink-900); }
.mega-scrim { position: fixed; inset: 110px 0 0; background: rgba(14,26,61,.25); z-index: 30; }
.palette-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; color: var(--ink-600); background: var(--surface-50); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 8px 12px; min-height: 40px; cursor: pointer; }
.palette-btn:hover { border-color: var(--brand-600); color: var(--ink-900); }
.palette-btn kbd, .palette-input kbd { font-family: var(--mono); font-size: 11px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--ink-600); }
.palette-btn.mobile { width: 100%; justify-content: flex-start; min-height: 48px; margin-bottom: 8px; }
@media (max-width: 1100px) { .mega { display: none; } .palette-btn.hide-md { display: none; } }
.mobile-nav .acc { border-bottom: 1px solid var(--line); }
.mobile-nav .acc summary { cursor: pointer; list-style: none; padding: 14px 8px; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; }
.mobile-nav .acc summary::after { content: '+'; color: var(--brand-600); }
.mobile-nav .acc[open] summary::after { content: '−'; }
.mobile-nav .acc a { display: flex; gap: 10px; align-items: center; border: 0; font-size: 16px; font-weight: 600; padding: 10px 12px; }
.mobile-nav .acc a.sub { padding-left: 40px; font-weight: 500; color: var(--ink-600); }
.mobile-nav a.top { padding: 14px 8px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }

/* ===== Command palette ===== */
.palette { position: fixed; inset: 0; z-index: 70; background: rgba(14,26,61,.45); backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 12vh 16px 16px; }
.palette-box { width: min(640px, 100%); background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 120px rgba(14,26,61,.35); overflow: hidden; animation: megaIn .18s ease both; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--ink-600); }
.palette-input input { flex: 1; border: 0; outline: none; font: inherit; font-size: 17px; background: transparent; color: var(--ink-900); min-height: 32px; }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: 46vh; overflow-y: auto; }
.palette-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--ink-900); font-weight: 600; }
.palette-list a small { color: var(--ink-400); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.palette-list a[aria-selected="true"], .palette-list a:hover { background: var(--brand-600); color: #fff; }
.palette-list a[aria-selected="true"] small, .palette-list a:hover small { color: var(--brand-100); }
.palette-ask { display: flex; gap: 10px; align-items: center; width: calc(100% - 16px); margin: 0 8px 8px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--brand-600); background: var(--brand-50); color: var(--brand-700); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.palette-foot { font-size: 12px; color: var(--ink-400); padding: 10px 18px; border-top: 1px solid var(--line); }

/* ===== Product screen: action queue ===== */
.queue { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.q { border-radius: 10px; padding: 10px; display: grid; gap: 2px; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.q::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 100%; opacity: .1; }
.q b { font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.q span { font-size: 11.5px; color: var(--ink-600); line-height: 1.3; }
.q-red b { color: var(--red); } .q-amber b { color: #B36A00; } .q-blue b { color: var(--brand-600); } .q-navy b { color: var(--ink-900); }
.q-red { background: var(--red-100); border-color: #f6cfcb; } .q-amber { background: var(--amber-100); border-color: #f7dfb0; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-actions span { font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: var(--surface-50); border: 1px solid var(--line); color: var(--ink-600); }

/* ===== Explorer (tabs) ===== */
.explorer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.explorer-tabs { display: grid; gap: 8px; }
.explorer-tabs [role=tab] { display: flex; gap: 14px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink-900); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.explorer-tabs [role=tab] small { display: none; color: var(--ink-600); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.explorer-tabs [role=tab] b { font-size: 16px; }
.explorer-tabs [role=tab][aria-selected=true] { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(47,75,224,.12); background: var(--brand-50); }
.explorer-tabs [role=tab][aria-selected=true] small { display: block; }
.explorer-stage { position: sticky; top: 110px; background: var(--ink-900); border-radius: 22px; padding: 18px; background-image: linear-gradient(rgba(143,162,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(143,162,255,.08) 1px, transparent 1px); background-size: 32px 32px; }
.explorer-stage [role=tabpanel] { animation: megaIn .3s ease both; }
.stage-head { margin-bottom: 12px; }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } .explorer-stage { position: static; } .explorer-tabs [role=tab] small { display: block; } }

/* ===== Timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--brand-600), var(--blue-light), transparent); }
.timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 14px 0; position: relative; }
.t-dot { width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; background: var(--brand-600); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 6px rgba(47,75,224,.18); position: relative; z-index: 1; }
.dark .timeline .h-3 { color: #fff; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento-card { border-radius: 22px; padding: 26px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .25s, box-shadow .25s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.bento-wide { grid-column: span 2; grid-row: span 2; align-content: end; background: var(--surface-50); position: relative; overflow: hidden; }
.bento-wide::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1.5px solid var(--brand-100); box-shadow: 0 0 0 40px rgba(47,75,224,.04), 0 0 0 80px rgba(47,75,224,.03); }
.bento-dark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.bento-dark .muted { color: var(--navy-muted); }
.bento-blue { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento-wide { grid-column: auto; grid-row: auto; } }

/* ===== Solutions: before and after ===== */
.pairs { display: grid; gap: 14px; }
.pair { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 12px; align-items: stretch; }
.pair-before, .pair-after { border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.pair-before { background: var(--surface-50); border: 1px solid var(--line); color: var(--ink-600); }
.pair-after { background: var(--brand-50); border: 1px solid var(--brand-100); font-weight: 600; }
.pair-arrow { display: grid; place-items: center; color: var(--brand-600); }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } .pair-arrow { transform: rotate(90deg); height: 24px; } }

/* ===== Blog and insights ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 20px; color: var(--ink-900); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: #c9d0e6; color: var(--ink-900); }
.post-card > *:not(.post-art) { padding: 0 6px; }
.post-art { height: 150px; border-radius: 14px; background: var(--ink-900); position: relative; overflow: hidden; display: grid; place-items: center; background-image: linear-gradient(rgba(143,162,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(143,162,255,.1) 1px, transparent 1px); background-size: 22px 22px; }
.post-art::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(143,162,255,.35); right: -70px; bottom: -110px; box-shadow: 0 0 0 30px rgba(47,75,224,.08); }
.post-art[data-topic="case-law"] { background-color: #16234D; } .post-art[data-topic="appeals"] { background-color: var(--brand-700); } .post-art[data-topic="practice"] { background-color: #1B2550; }
.post-glyph { font-size: 72px; font-weight: 800; color: rgba(255,255,255,.92); letter-spacing: -0.04em; position: relative; z-index: 1; }
.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-meta small { color: var(--ink-400); font-size: 12.5px; }
.post-title { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.post-card .go { color: var(--brand-600); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--navy-line); color: #fff; font-size: 14px; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; }
.topic-chips a.on, .topic-chips a:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
.topic-chips.light a { color: var(--ink-900); border-color: var(--line-strong); }
.topic-chips.light a:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.feature-post { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 0; overflow: hidden; color: #fff; border-radius: 26px; }
.feature-post:hover { color: #fff; border-color: var(--blue-light); }
.feature-art { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 48px 24px; background: rgba(47,75,224,.25); min-height: 280px; }
.fa-num { font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -0.04em; }
.fa-num.old { color: rgba(255,255,255,.35); text-decoration: line-through; text-decoration-thickness: 6px; }
.fa-num.new { color: #fff; text-shadow: 0 0 40px rgba(143,162,255,.6); }
.fa-arrow { color: var(--amber); }
.fa-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--blue-light); }
.feature-copy { padding: 36px; display: grid; gap: 14px; align-content: center; }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } .feature-art { min-height: 180px; } }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 6px; }
.toc a { color: var(--ink-600); font-size: 14px; padding: 6px 10px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--brand-700); border-color: var(--brand-600); }
.toc-cta { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--brand-50); display: grid; gap: 10px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .toc { position: static; } .toc-cta { display: none; } }
.article { font-size: 17.5px; line-height: 1.75; color: #1f2a4d; }
.article h2 { font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 110px; letter-spacing: -0.02em; color: var(--ink-900); }
.article p { margin: 0 0 18px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; }
.article strong { color: var(--ink-900); }
.article .table-scroll { margin: 8px 0 24px; }
.article .compare td:last-child { font-family: var(--mono); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-600), var(--blue-light)); box-shadow: 0 0 12px rgba(143,162,255,.8); }
.newsletter { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: center; padding: 32px; border-radius: 24px; }
.newsletter-row { display: flex; gap: 10px; }
.newsletter-row .input { flex: 1; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter-row { flex-direction: column; } }

/* ===== Proof bar ===== */
.proof-bar { background: var(--ink-900); border-top: 1px solid var(--navy-line); }
.proof-in { display: flex; justify-content: center; gap: clamp(24px, 6vw, 96px); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.proof-in div { display: flex; gap: 10px; align-items: baseline; }
.proof-in b { font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.proof-in span { color: var(--navy-muted); font-size: 14px; }

/* ===== Operating model (animated) ===== */
.model-section { background: #0A1433; position: relative; overflow: hidden; }
.model-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 55%, rgba(47,75,224,.35), transparent 70%); pointer-events: none; }
.model { position: relative; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; min-height: 440px; margin-top: 8px; }
.model-col { display: grid; gap: 14px; position: relative; z-index: 2; }
.model-desks { gap: 10px; }
.model-node { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(22,35,77,.85); border: 1px solid rgba(143,162,255,.25); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.model-node.desk { justify-content: flex-start; }
.desk-dot { width: 10px; height: 10px; border-radius: 9px; background: #4CC99A; box-shadow: 0 0 0 4px rgba(76,201,154,.18); animation: pulse 2.4s ease-in-out infinite; }
.model-desks .model-node:nth-child(2) .desk-dot { animation-delay: .4s; } .model-desks .model-node:nth-child(3) .desk-dot { animation-delay: .8s; background: var(--amber); } .model-desks .model-node:nth-child(4) .desk-dot { animation-delay: 1.2s; } .model-desks .model-node:nth-child(5) .desk-dot { animation-delay: 1.6s; }
.model-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.wire { fill: none; stroke: url(#wire); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.model-core { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%, -50%); display: grid; place-items: center; z-index: 3; }
.core-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(143,162,255,.35); }
.core-ring.r1 { animation: ring 3s ease-out infinite; }
.core-ring.r2 { animation: ring 3s ease-out 1s infinite; }
.core-ring.r3 { inset: 18px; border-color: rgba(143,162,255,.6); background: radial-gradient(circle, rgba(47,75,224,.45), rgba(14,26,61,.9) 70%); box-shadow: 0 0 60px rgba(47,75,224,.6); }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.core-eye { position: relative; z-index: 2; width: 76px; height: 76px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 40px rgba(143,162,255,.7); }
.core-label { position: absolute; bottom: -30px; font-family: var(--mono); font-size: 12px; color: var(--blue-light); white-space: nowrap; }
.pulses { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pulse { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(143,162,255,.9); offset-rotate: 0deg; animation: travel 3.2s cubic-bezier(.5,0,.5,1) infinite; opacity: 0; }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.model-out { margin: 36px auto 0; max-width: 620px; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 24px; border-radius: 18px; background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.45); color: #fff; }
.model-out b { font-size: 20px; }
@media (max-width: 860px) {
  .model { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .model-wires, .pulses { display: none; }
  .model-col { grid-template-columns: 1fr 1fr; }
  .model-core { position: relative; left: auto; top: auto; transform: none; margin: 28px auto 44px; }
}

/* ===== Activity stream ===== */
.ticker-section { background: var(--surface-50); border-bottom: 1px solid var(--line); }
.ticker-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.ticker-head { display: grid; gap: 4px; }
.ticker-head .live { color: var(--brand-600); }
.ticker { height: 132px; overflow: hidden; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.ticker-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; animation: scrollUp 22s linear infinite; }
.ticker:hover .ticker-list { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }
.ticker-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.tk-t b { font-size: 14px; display: block; } .tk-t small { font-size: 12.5px; color: var(--ink-600); font-family: var(--mono); }
@media (max-width: 760px) { .ticker-wrap { grid-template-columns: 1fr; gap: 12px; } }

/* Hero orbit: four laws orbiting the stage */
.orbit { position: absolute; inset: -40px; pointer-events: none; z-index: 0; }
.orbit span { position: absolute; left: 50%; top: 50%; font-family: var(--mono); font-size: 12px; color: var(--blue-light); background: rgba(22,35,77,.8); border: 1px solid var(--navy-line); border-radius: 99px; padding: 4px 10px; offset-path: path('M 0 -260 A 260 260 0 1 1 0 260 A 260 260 0 1 1 0 -260'); animation: orbit 28s linear infinite; }
.orbit span:nth-child(2) { animation-delay: -7s; } .orbit span:nth-child(3) { animation-delay: -14s; } .orbit span:nth-child(4) { animation-delay: -21s; }
@keyframes orbit { to { offset-distance: 100%; } }
@media (max-width: 960px) { .orbit { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .wire, .pulse, .core-ring, .desk-dot, .ticker-list, .orbit span, .mini-draft i, .mega-panel, .palette-box { animation: none !important; }
  .pulse { display: none; }
  .ticker { height: auto; mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 1100px) { .menu-btn { display: inline-flex; margin-left: auto; } .header-cta { margin-left: auto; } .header-cta .hide-md { display: none; } }
/* fixes: opaque mega panel, model columns, orbit behind the dashboard */
.mega-grid { background: #fff; backdrop-filter: none; }
.model-sources { grid-column: 1; grid-row: 1; }
.model-desks { grid-column: 3; grid-row: 1; }
@media (max-width: 860px) { .model-sources, .model-desks { grid-column: auto; grid-row: auto; } }
.orbit span { offset-rotate: 0deg; }
.hero-stage .mock, .hero-stage .glass { position: relative; z-index: 1; }
/* Keep the full menu visible on laptops and side panels (861 to 1100 px); hamburger only on tablets and phones */
@media (min-width: 861px) and (max-width: 1100px) {
  .mega { display: block; }
  .menu-btn { display: none; }
  .header-in { gap: 14px; }
  .mega-trigger { padding: 8px 9px; font-size: 14.5px; }
  .header-cta { margin-left: 0; }
  .header-cta .hide-md { display: inline-flex; }
  .palette-btn.hide-md { display: inline-flex; padding: 8px 10px; }
  .palette-btn.hide-md span, .palette-btn.hide-md kbd { display: none; }
  .mega-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-products .mega-feature { display: none; }
  .mega-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-resources { grid-template-columns: 1fr 1fr; }
  .mega-resources > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 861px) and (max-width: 1000px) { .header-cta a.btn-ghost.hide-md { display: none; } }
@media (max-width: 860px) { .header-cta { margin-left: auto; } .menu-btn { margin-left: 8px; } }
/* Mission line and lead stat in the proof bar */
.proof-mission { text-align: center; padding-top: 28px; }
.proof-mission .eyebrow { color: var(--amber-500, #F5A524); }
.proof-mission p { margin: 8px auto 0; max-width: 760px; color: #fff; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.proof-in .lead-stat b { color: #F5A524; }
.proof-note { text-align: center; color: var(--navy-muted); font-size: 12px; margin: 0; padding-bottom: 18px; }
.proof-in { padding-bottom: 10px; }
.proof-in b { white-space: nowrap; }
.proof-note { display: block; width: 100%; max-width: none; }
@media (max-width: 640px) {
  .proof-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; text-align: center; }
  .proof-in div { flex-direction: column; align-items: center; gap: 2px; }
  .proof-in .lead-stat { grid-column: 1 / -1; }
  .proof-in .lead-stat b { font-size: 34px; }
}
.logo img.on-dark { display: none; }
.price-card .price .from { font-size: 14px; font-weight: 600; color: var(--ink-600); }
.price-card .price .per { display: block; font-size: 13px; font-weight: 500; color: var(--ink-600); margin-top: 2px; letter-spacing: 0; }
/* Practitioner guides under landing pages */
.guide-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-50), #fff 320px); }
.guide-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-toc { position: sticky; top: 96px; display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); }
.guide-toc-h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); }
.guide-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.guide-toc a { color: var(--ink-900); }
.guide-toc a:hover { color: var(--brand-600); }
.guide-ask { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.guide { max-width: 760px; }
.guide .guide-title { margin: 8px 0 14px; }
.guide h2:not(.guide-title) { font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 96px; }
.guide h3 { font-size: 19px; margin: 26px 0 8px; }
.guide p, .guide li { font-size: 17px; line-height: 1.75; color: #2A3557; }
.guide p { margin: 0 0 14px; }
.guide ul, .guide ol { margin: 0 0 16px; padding-left: 22px; }
.guide li { margin: 6px 0; }
.guide strong { color: var(--ink-900); }
.guide blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--amber); background: var(--amber-100); border-radius: 0 12px 12px 0; }
.guide-note { margin-top: 28px !important; font-size: 13.5px !important; color: var(--ink-600) !important; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .guide-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .guide-toc { position: static; } }
.guide-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-50); }
.guide-next b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); margin-right: 4px; }
.guide-next a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.guide-next a:hover { border-color: var(--brand-600); }
.ai-guide .guide-next { background: rgba(255,255,255,.04); border-color: var(--ai-line); }
.ai-guide .guide-next a { background: rgba(255,255,255,.06); border-color: var(--ai-line); color: #DCE2FF; }
.ai-guide .guide-next b { color: var(--ai-muted); }
