/* Claimly — cool document paper, trust blue, amber flags. Young Serif + Rethink Sans + Spline Sans Mono. */
:root {
  --bg: #EEF2F7;
  --bg-2: #E1E8F2;
  --surface: #FFFFFF;
  --paper: #FCFDFF;
  --ink: #0C1A33;
  --ink-2: #283651;
  --muted: #535F77;
  --line: rgba(12, 26, 51, 0.11);
  --line-2: rgba(12, 26, 51, 0.2);
  --blue: #1B4BBF;
  --blue-2: #2358D6;
  --blue-deep: #11337F;
  --blue-soft: #DCE6FA;
  --blue-tint: #F1F5FD;
  --navy: #0A1733;
  --on-navy: #E9EEF8;
  --on-navy-2: rgba(233, 238, 248, 0.72);
  --amber: #8A4F00;
  --amber-bg: #FDF1D8;
  --amber-line: #E3A33A;
  --green: #17704A;
  --green-soft: #DCEFE4;
  --red: #A3302B;
  --red-soft: #FAE3E0;
  --accent: var(--blue);
  --accent-ink: #fff;
  --font-display: 'Young Serif', 'Iowan Old Style', Cambria, Georgia, serif;
  --font-ui: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --shadow-paper: 0 1px 1px rgba(12,26,51,.05), 0 6px 14px -8px rgba(12,26,51,.14), 0 40px 80px -44px rgba(12,26,51,.45);
}

body { background: var(--bg); overflow-x: clip; }
em { font-style: normal; color: var(--blue); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline-color: var(--blue); }
::selection { background: var(--blue-soft); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 6px; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(60px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 8px 18px -10px rgba(27,75,191,.8); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-blue:hover { background: var(--blue-2); }
  .btn-ink:hover { background: var(--blue-deep); }
  .btn-line:hover { border-color: var(--ink); }
  .btn-ghost:hover { background: rgba(12,26,51,.06); }
  .btn-white:hover { background: var(--blue-tint); }
  .btn:hover svg { transform: translateX(3px); }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color var(--t-ui) ease, box-shadow var(--t-ui) ease; }
.nav[data-scrolled] { background: rgba(238,242,247,.84); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 25px; line-height: 1; letter-spacing: -0.01em; }
.brand-by { padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--muted); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 11px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background-color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: rgba(12,26,51,.06); } }
.nav-cta { display: flex; gap: 6px; }
@media (max-width: 1100px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) { .hide-sm { display: none; } .brand-by { padding-left: 10px; } .brand-by .db-lockup { font-size: 11px; } .brand-by .db-logo-img { height: 22px; } .brand-name { font-size: 22px; } .nav-in { gap: 10px; } .nav-cta .btn { padding: 0 12px; } }
.show-xs { display: none; }
@media (max-width: 440px) { .hide-xs { display: none; } .show-xs { display: inline; } .brand .mark { width: 26px; height: 26px; } .brand { gap: 8px; } .brand-name { font-size: 20px; } .brand-by { padding-left: 8px; } .brand-by .db-lockup { gap: 5px; } .brand-by .db-logo-img { height: 20px; } }
@media (max-width: 640px) { .eb-tag { display: none; } .eyebrow { padding: 6px 12px; border-radius: 12px; } }

/* Type */
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; max-width: 22ch; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.section { padding: clamp(80px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin-inline: auto; max-width: 24ch; }
.sub { margin-top: 18px; color: var(--muted); max-width: 60ch; font-size: 16.5px; }
.center .sub { margin-inline: auto; }

/* Hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .45;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); max-width: 100%; }
.eb-tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); }
.hero h1 { font-size: clamp(40px, 4.7vw, 66px); line-height: 1.03; margin: 22px 0 22px; max-width: 14ch; }
.h1-blue { color: var(--blue); }
.lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-facts { display: flex; gap: 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-size: 15px; font-weight: 600; }

.hero-copy > * { animation: rise 800ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 120ms; }
.hero-copy > :nth-child(4) { animation-delay: 180ms; }
.hero-copy > :nth-child(5) { animation-delay: 240ms; }
.hero-visual { animation: rise 1000ms 180ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Hero visual: document stack + bill + form */
.hero-visual { position: relative; min-width: 0; padding: 30px 0 0 0; }
.bill-wrap { position: relative; }
.stack { position: absolute; inset: 0 40px 0 0; }
.sheet { position: absolute; inset: 0; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(12,26,51,.05); }
.sheet-tab { position: absolute; top: -26px; padding: 5px 10px 8px; border-radius: 8px 8px 0 0; background: inherit; border: 1px solid var(--line); border-bottom: 0; font-size: 10.5px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.sheet-3 { transform: translate(34px, -20px) rotate(1.6deg); background: #F4F7FC; }
.sheet-3 .sheet-tab { right: 18px; }
.sheet-2 { transform: translate(18px, -13px) rotate(.8deg); background: #F8FAFD; }
.sheet-2 .sheet-tab { right: 150px; }
.sheet-1 { transform: translate(8px, -6px) rotate(-.8deg); }
.sheet-1 .sheet-tab { left: 18px; }

.bill { position: relative; z-index: 1; margin-right: 40px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-paper); padding: 16px 18px 36px; overflow: hidden; }
.bill-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.bill-title { font-family: var(--font-display); font-size: 19px; line-height: 1.2; }
.bill-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.bill-status { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); letter-spacing: .03em; }
.bill-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.bill-status[data-done] { background: var(--green-soft); color: var(--green); }
.bill-status[data-done] i { animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.bill-cols { display: grid; grid-template-columns: 1fr auto 44px; gap: 12px; padding: 8px 2px 6px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bill-lines { position: relative; }
.bl { position: relative; display: grid; grid-template-columns: 1fr auto 44px; column-gap: 12px; align-items: center; padding: 6px 2px; border-top: 1px dashed var(--line-2); font-size: 14px; }
.bl-name { min-width: 0; }
.bl-name small { display: block; font-size: 11.5px; color: var(--muted); }
.bl-amt { font-family: var(--font-mono); font-size: 13px; text-align: right; }
.bl-mark { justify-self: end; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.bl[data-state] .bl-mark { opacity: 1; transform: none; }
.bl[data-state='ok'] .bl-mark { background: var(--green-soft); color: var(--green); }
.bl[data-state='flag'] .bl-mark { background: var(--amber-bg); color: var(--amber); }
.bl[data-state='np'] .bl-mark { background: var(--red-soft); color: var(--red); }
.bl-mark svg { display: none; }
.bl[data-state='ok'] .i-ok, .bl[data-state='flag'] .i-flag, .bl[data-state='np'] .i-np { display: block; }
.bl-why { grid-column: 1 / -1; margin-top: 5px; padding: 4px 9px; border-radius: 7px; font-size: 12px; line-height: 1.35; background: var(--amber-bg); color: var(--amber); border-left: 3px solid var(--amber-line); opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 260ms var(--ease-out), clip-path 520ms var(--ease-out); }
.bl-why.np { background: var(--red-soft); color: var(--red); border-left-color: #D46A62; }
.bl[data-state] .bl-why { opacity: 1; clip-path: inset(0 0 0 0); }
.bl[data-state='flag'], .bl[data-state='np'] { background: linear-gradient(90deg, rgba(253,241,216,.35), transparent 70%); }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 40px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(27,75,191,.08) 60%, rgba(27,75,191,.14)); border-bottom: 2px solid var(--blue); transition: transform 520ms var(--ease-in-out), opacity 240ms ease; }
.scanbar[data-on] { opacity: 1; }
.bill-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.bill-sum > div { transition: background-color 300ms ease; }
.bill-sum > div { padding: 7px 10px; border-radius: 9px; background: var(--bg); min-width: 0; }
.bill-sum span { display: block; font-size: 11.5px; color: var(--muted); }
.bill-sum b { font-size: 14.5px; font-weight: 500; }
.bill-sum .sum-amber { background: var(--amber-bg); }
.bill-sum .sum-amber b { color: var(--amber); }
.bill-sum .sum-blue { background: var(--blue-soft); }
.bill-sum .sum-blue b { color: var(--blue-deep); }
.sum-note { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }

.formcard { position: relative; z-index: 2; width: min(100%, 560px); margin: -22px 0 0 auto; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(12,26,51,.5), 0 2px 6px rgba(12,26,51,.06); }
.formcard header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fc-title { font-size: 13px; font-weight: 600; }
.fc-count { font-size: 11px; color: var(--blue-deep); background: var(--blue-soft); padding: 2px 7px; border-radius: 6px; }
.fc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.fc-f { padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--paper); transition: border-color 200ms ease, background-color 200ms ease; }
.fc-f dt { font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }
.fc-f dd { margin: 1px 0 0; font-size: 12.5px; font-weight: 500; min-height: 1.35em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-f[data-confirm] { border-color: var(--amber-line); background: var(--amber-bg); }
.fc-f[data-confirm] dt::after { content: ' · confirm'; color: var(--amber); font-weight: 600; }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fc-note { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.fc-note i { width: 10px; height: 10px; border-radius: 3px; background: var(--amber-bg); border: 1px solid var(--amber-line); }

/* Docs strip */
.docs-strip { border-block: 1px solid var(--line); background: var(--surface); }
.docs-in { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.docs-label { flex: none; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.docs-list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.docs-list li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 8px; background: var(--bg); font-size: 13.5px; color: var(--ink-2); }
.docs-list li::before { content: ''; width: 10px; height: 12px; border-radius: 2px; border: 1.4px solid var(--blue); background: linear-gradient(var(--blue) 0 0) 2px 3px / 4px 1.2px no-repeat, linear-gradient(var(--blue) 0 0) 2px 6px / 4px 1.2px no-repeat; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pnum { font-size: 12px; color: var(--blue); }
.pcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .pfix { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--ink-2); }
.pcard .pfix b { color: var(--blue); font-weight: 600; }

/* How: folder-tab steps */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 16px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 26px; border-radius: 0 14px 14px 14px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.step-tab { position: absolute; z-index: 1; left: -1px; top: -28px; padding: 6px 12px 7px; border-radius: 9px 9px 0 0; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); }
.step-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--blue); margin-bottom: 18px; }
.step-ico.ico-amber { color: var(--amber); background: var(--amber-bg); border-color: rgba(227,163,58,.4); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step-last { background: var(--blue); border-color: var(--blue); color: #fff; }
.step-last .step-tab { background: var(--blue); border-color: var(--blue); color: #fff; }
.step-last p { color: rgba(255,255,255,.84); }
.step-last .step-ico { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }

/* Checks */
.checks-ui { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.checks-tabs { display: grid; gap: 4px; padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.checks-tabs button { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; text-align: left; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.checks-tabs button span { font-size: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .checks-tabs button:hover { background: var(--bg); } }
.checks-tabs button[aria-selected='true'] { background: var(--blue); color: #fff; }
.checks-tabs button[aria-selected='true'] span { color: rgba(255,255,255,.7); }
.checks-panels { min-width: 0; }
.ck-panel { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ck-panel[hidden] { display: none; }
.ck-panel[data-entering] { animation: panelIn 320ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
.ck-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.ck-copy p { color: var(--ink-2); max-width: 60ch; }
.ck-example { display: grid; gap: 6px; padding: 16px; border-radius: 12px; background: var(--bg); }
.ex-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ex-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--surface); font-size: 14.5px; }
.ex-row span { color: var(--muted); min-width: 0; }
.ex-row b { font-weight: 500; text-align: right; }
.ex-row b.mono { font-size: 13.5px; }
.ex-flag { display: flex; gap: 10px; padding: 12px; margin-top: 4px; border-radius: 8px; background: var(--amber-bg); color: var(--amber); border-left: 3px solid var(--amber-line); font-size: 14px; }
.ex-flag b { font-weight: 600; }
.ex-flag.ex-red { background: var(--red-soft); color: var(--red); border-left-color: #D46A62; }
.flag-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: currentColor; }
.ex-doc { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: var(--surface); font-size: 14.5px; }
.ex-doc::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 5px; }
.ex-doc.ok::before { background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.2 2.6 2.6L13 6.4' fill='none' stroke='%2317704A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ex-doc.miss { color: var(--amber); background: var(--amber-bg); }
.ex-doc.miss::before { border: 1.5px dashed var(--amber-line); }

/* Control (dark) */
.control { background: var(--navy); color: var(--on-navy); }
.control .kicker { color: #8FB0F5; }
.control h2 em { color: #8FB0F5; }
.control .sub { color: var(--on-navy-2); }
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.link-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: rgba(233,238,248,.04); border: 1px solid rgba(233,238,248,.12); min-width: 0; }
.link-card:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -13px; z-index: 1; width: 10px; height: 10px; border-top: 1.5px solid rgba(233,238,248,.4); border-right: 1.5px solid rgba(233,238,248,.4); transform: translateY(-50%) rotate(45deg); }
.lc-who { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8FB0F5; margin-bottom: 12px; }
.link-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 14px; }
.link-card ul { display: grid; gap: 8px; }
.link-card li { position: relative; padding-left: 18px; font-size: 15px; color: var(--on-navy-2); }
.link-card li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 1.5px; background: currentColor; }
.lc-you { background: var(--blue); border-color: var(--blue); }
.lc-you .lc-who { color: #fff; opacity: .8; }
.lc-you li { color: rgba(255,255,255,.9); }
.control-note { margin-top: 28px; font-size: 15px; color: var(--on-navy-2); max-width: 70ch; }

/* Privacy */
.priv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.priv-grid > * { min-width: 0; }
.priv-list { display: grid; gap: 14px; margin-top: 30px; }
.priv-list li { padding: 0 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.priv-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.priv-list b { color: var(--ink); }
.audit { margin: 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-paper); overflow: hidden; }
.audit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 12.5px; color: var(--ink-2); }
.audit-tag { font-size: 10.5px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.audit-rows li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.audit-rows li:last-child { border-bottom: 0; }
.audit-rows .mono { font-size: 12.5px; color: var(--muted); padding-top: 1px; }
.audit-rows b { font-weight: 600; color: var(--ink); }

/* Console preview */
.console-prev { padding-top: 0; }
.cp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cp-grid > * { min-width: 0; }
.cp-copy p:not(.kicker) { color: var(--ink-2); margin: 22px 0 30px; max-width: 46ch; }
.cp-frame { display: block; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-paper); overflow: hidden; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .cp-frame:hover { transform: translateY(-4px); } }
.cp-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.cp-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.cp-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.cp-body { padding: 20px; display: grid; gap: 14px; }
.cp-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp-stages div { padding: 12px 14px; border-radius: var(--r-md); background: var(--bg); min-width: 0; }
.cp-stages p { font-size: 12px; color: var(--muted); }
.cp-stages b { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.cp-rows { display: grid; gap: 6px; }
.cp-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; }
.cp-rows .nm { font-weight: 600; min-width: 0; }
.cp-rows .mono { font-size: 12.5px; color: var(--ink-2); }
.cp-foot { font-size: 11.5px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-docs { background: var(--amber-bg); color: var(--amber); }
.st-checked { background: var(--blue-soft); color: var(--blue-deep); }
.st-ready { background: var(--green-soft); color: var(--green); }
.st-submitted { background: var(--bg-2); color: var(--ink-2); }
.st-query { background: var(--red-soft); color: var(--red); }

/* Pricing */
.launch-tag { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font-size: 12px; letter-spacing: .04em; }
.price-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.plan h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.plan-for { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.price { font-size: 15px; color: var(--muted); }
.price span { font-family: var(--font-display); font-size: 40px; color: var(--ink); letter-spacing: -.01em; }
.plan-add .price span, .plan:not(.plan-feature):not(.plan-add) .price { font-family: var(--font-display); font-size: 40px; color: var(--ink); line-height: 1.2; }
.plan:not(.plan-feature):not(.plan-add) .price { font-size: 34px; }
.price-mo { font-size: 14.5px; color: var(--ink-2); padding: 10px 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 5px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%231B4BBF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan-feature { background: var(--blue); border-color: var(--blue); color: #fff; }
.plan-feature .plan-for, .plan-feature .price { color: rgba(255,255,255,.78); }
.plan-feature .price span { color: #fff; }
.plan-feature .price-mo { color: #fff; border-color: rgba(255,255,255,.2); }
.plan-feature .ticks li { color: rgba(255,255,255,.92); }
.plan-feature .ticks li::before { background-color: rgba(255,255,255,.95); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-grid > * { min-width: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; text-align: left; font-size: 17px; font-weight: 500; }
.qa button i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i { background: var(--blue); color: #fff; border-color: var(--blue); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 22px 0; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity 240ms ease, transform 280ms var(--ease-out); }
.qa button[aria-expanded='true'] + .qa-a { grid-template-rows: 1fr; }
.qa button[aria-expanded='true'] + .qa-a p { opacity: 1; transform: none; }

/* CTA */
.cta { padding: 0 0 clamp(64px, 8vw, 110px); }
.cta-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; border-radius: 28px; background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 80px); }
.cta-copy { min-width: 0; }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 18ch; line-height: 1.05; }
.cta h2 em { color: #C9D8FB; }
.cta p { margin: 18px 0 30px; max-width: 50ch; font-size: 17px; color: rgba(255,255,255,.88); }
.cta-stack { position: relative; height: 240px; }
.cs { position: absolute; width: 180px; height: 220px; left: 50%; top: 10px; margin-left: -90px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.cs-1 { transform: translate(34px, -10px) rotate(7deg); }
.cs-2 { transform: translate(16px, -4px) rotate(3deg); background: rgba(255,255,255,.22); }
.cs-3 { background: #fff; padding: 26px 18px; display: grid; gap: 12px; align-content: start; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); transform: rotate(-2deg); }
.cs-3 i { display: block; height: 8px; border-radius: 4px; background: var(--bg-2); }
.cs-3 i:nth-child(2) { width: 70%; }
.cs-3 i:nth-child(3) { width: 85%; }
.cs-3 .cs-flag { height: 22px; border-radius: 6px; background: var(--amber-bg); border-left: 3px solid var(--amber-line); }
.cs-3 i:last-child { width: 55%; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.static) .cs-3 { animation: bob 6s var(--ease-in-out) infinite alternate; }
}
@keyframes bob { to { transform: rotate(-1deg) translateY(-6px); } }

.footer { background: var(--surface); border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-visual { max-width: 640px; }
}
@media (max-width: 980px) {
  .problem-grid, .chain { grid-template-columns: 1fr; }
  .link-card:not(:last-child)::after { top: auto; bottom: -13px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .steps { grid-template-columns: 1fr 1fr; }
  .checks-ui { grid-template-columns: 1fr; }
  .checks-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .checks-tabs::-webkit-scrollbar { display: none; }
  .checks-tabs button { flex: none; white-space: nowrap; padding: 10px 14px; font-size: 14px; }
  .priv-grid, .cp-grid, .faq-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-stack { display: none; }
}
@media (max-width: 640px) {
  .hero-visual { padding-top: 30px; }
  .stack { inset: 0 16px 0 0; }
  .sheet-2 .sheet-tab { display: none; }
  .sheet-3 { transform: translate(14px, -4px) rotate(1.8deg); }
  .sheet-2 { transform: translate(8px, 0) rotate(.9deg); }
  .bill { margin-right: 16px; padding: 14px 12px 12px; }
  .bl { font-size: 13px; column-gap: 8px; }
  .bl-amt { font-size: 12px; }
  .bill-meta { font-size: 10.5px; }
  .bill-sum { grid-template-columns: 1fr 1fr; }
  .bill-sum > div:first-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
  .formcard { width: auto; margin: 12px 0 0; }
  .fc-fields { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .docs-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .plan, .ck-panel, .pcard, .link-card { padding: 22px; }
  .ex-row { flex-direction: column; gap: 2px; }
  .ex-row b { text-align: left; }
  .qa button { font-size: 16px; }
  .qa-a p { padding-right: 0; }
  .cp-rows div { grid-template-columns: 1fr auto; }
  .cp-rows .st { grid-column: 1 / -1; justify-self: start; }
  .cp-stages b { font-size: 26px; }
  .cp-stages div { padding: 10px; }
  .hero-facts { gap: 18px; }
}
