/* Layout: one 1160px column of bands; each band shows the product doing its job (inbox, reading, the Sheet, the dashboard) rather than describing it. Stripes from the mark mark the transitions. */
:root {
  --surface: #ffffff; --surface-raised: #ffffff; --surface-muted: #f5f6f5; --line: #e4e4ea;
  --ink: #16161a; --ink-muted: #5e5e68; --green: #2db886; --on-green: #16161a; --green-deep: #13704f;
  --green-wash: #e3f6ee; --leaf: #c2ead6; --review: #16161a; --on-review: #ffffff; --focus: #13704f;
  --error: #b42318; --hl: rgba(45, 184, 134, 0.16);
  --night: #16161a; --night-raised: #202227; --night-line: #33363d; --night-ink: #f3f4f2; --night-muted: #a3a5ad;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-sans: Figtree, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px;
  color-scheme: only light;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 750; letter-spacing: -0.02em; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-muted); max-width: 36em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: nowrap; }
.lockup { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.lockup svg { display: block; flex-shrink: 0; }
.lockup b { margin-left: 10px; font-family: var(--font-display); font-size: 23px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.lockup span { margin-left: 0.2em; font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-muted); line-height: 1; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green-deep); }
.nav .btn-primary { color: var(--on-green); }
.nav .btn-primary:hover { color: var(--surface); }
@media (max-width: 760px) { .nav .nav-link { display: none; } }
@media (max-width: 420px) { .lockup b, .lockup span { font-size: 20px; } .lockup svg { width: 30px; height: 30px; } .top .btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; } }
@media (max-width: 374px) { .lockup b { margin-left: 8px; } .lockup b, .lockup span { font-size: 18px; } .lockup svg { width: 28px; height: 28px; } .top .btn-small { padding: 0 12px; font-size: 13px; } }

/* buttons and form */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-deep); color: var(--surface); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 16px; }
.signup input[type="email"]::placeholder { color: var(--ink-muted); }
.signup .btn { min-height: 52px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.form-msg { margin-top: 12px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-msg[data-tone="ok"] { color: var(--green-deep); }
.form-msg[data-tone="error"] { color: var(--error); }

/* product bits */
.panel { background: var(--green-wash); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.panel-title { font-family: var(--font-display); font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.panel-total { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.row { background: var(--surface-raised); border-radius: var(--radius-md); padding: 13px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; font-size: 15px; }
.row .v { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .d { color: var(--ink-muted); }
.row .a { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.pill-filed { background: var(--leaf); color: var(--ink); }
.pill-review { background: var(--review); color: var(--on-review); }
.pill-skipped { background: var(--surface-muted); color: var(--ink-muted); border: 1px solid var(--line); }
.drive { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.drive .path { color: var(--ink-muted); }
.drive .path b { color: var(--ink); font-weight: 600; }
.drive .file { font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; } .row .d { display: none; } .row .pill { grid-column: 1; justify-self: start; } .row .a { grid-column: 2; grid-row: 1; } }

/* hero */
.hero { padding-block: 72px 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-wash); color: var(--ink); font-size: 14px; font-weight: 600; }
.badge i { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.hero h1 { font-size: clamp(48px, 7vw, 84px); line-height: 0.98; font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--green-deep); }
.hero-visual { position: relative; min-width: 0; padding: 28px 0 28px 28px; }
.stripes span { position: absolute; left: 0; height: 26px; background: var(--green); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.hero-visual .panel, .hero-visual .drive { position: relative; }
.hero-visual .drive { margin-top: 12px; }
.toast { position: absolute; right: -8px; top: -6px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--night); color: var(--night-ink); font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-width: 320px; }
.toast .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--green); flex-shrink: 0; }
.toast .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .t b { font-weight: 700; }
.toast-pause { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -4px -6px -4px 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: var(--night-ink); cursor: pointer; }
.toast-pause:hover { background: rgba(255, 255, 255, 0.24); }
.toast-pause:focus-visible { outline-color: var(--green); }
.toast-pause[hidden] { display: none; }
#early-access { scroll-margin-top: 88px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-visual { padding-left: 0; } .toast { right: 0; } }
@media (max-width: 420px) { .toast { font-size: 12.5px; max-width: 260px; padding: 8px 12px; } .hero h1 { font-size: 46px; } }

/* generic sections */
.section { padding-block: 104px; }
.section-muted { background: var(--surface-muted); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.works { font-size: 15px; color: var(--ink-muted); text-align: center; padding-block: 28px; border-block: 1px solid var(--line); }
.works b { color: var(--ink); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split .copy p { color: var(--ink-muted); font-size: 18px; }
.split .copy p b { color: var(--ink); }

/* 1. inbox to drive */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; }
.flow .card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.flow .step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.flow .step .n { width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; }
.flow .cap { color: var(--ink-muted); font-size: 15px; margin-top: auto; }
.arrow { display: flex; align-items: center; justify-content: center; color: var(--ink-muted); }
.arrow svg { width: 32px; height: 32px; }
.mail { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.mail > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; }
.mail > div:first-child { border-top: 0; }
.mail .from { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .subj { grid-column: 1; color: var(--ink-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.mail .hit { background: var(--hl); }
.doc { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; background: var(--surface); }
.doc .f { display: inline-flex; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: 8px; outline: 2px solid var(--green); background: var(--hl); }
.doc .f small { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); }
.doc .f span { font-weight: 700; }
.doc .lines { display: flex; flex-direction: column; gap: 6px; }
.doc .lines i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.doc .top-line { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sheetrow { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.sheetrow .h, .sheetrow .r { display: grid; grid-template-columns: 52px minmax(0, 1fr) 76px; gap: 8px; padding: 8px 12px; }
.sheetrow .h { background: var(--surface-muted); color: var(--ink-muted); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.sheetrow .r { background: var(--hl); }
.sheetrow .r span:last-child { text-align: right; font-family: var(--font-mono); }
@media (max-width: 980px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 4px; } .arrow svg { transform: rotate(90deg); } }

/* 2. review demo */
.sheet { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.sheet-tabs { display: flex; gap: 4px; padding: 10px 10px 0; background: var(--surface-muted); border-bottom: 1px solid var(--line); overflow-x: auto; }
.sheet-tabs button { border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-muted); background: transparent; cursor: pointer; white-space: nowrap; }
.sheet-tabs button[aria-selected="true"] { background: var(--surface-raised); color: var(--ink); border-color: var(--line); margin-bottom: -1px; }
.sheet-tabs .count { display: inline-block; margin-left: 6px; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--ink); font-family: var(--font-mono); font-size: 12px; text-align: center; }
.sheet-tabs button[data-tab="review"] .count { background: var(--review); color: var(--on-review); }
.sheet-body { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid .why { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.grid th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.grid td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.grid td.num { font-family: var(--font-mono); text-align: right; white-space: nowrap; }
.grid th.num { text-align: right; }
.grid tr.fresh td { background: var(--hl); }
.grid select { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--ink); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.grid .reason { color: var(--ink-muted); }
@media (max-width: 560px) { .grid th:first-child, .grid td:first-child { display: none; } .grid th, .grid td { padding: 10px 10px; } .sheet-tabs button { padding: 8px 10px; font-size: 13px; } }
@media (max-width: 374px) { .sheet-tabs { padding-inline: 6px; gap: 2px; } .sheet-tabs button { padding: 8px 6px; font-size: 12px; } .sheet-tabs .count { margin-left: 4px; } }
.empty { padding: 28px 14px; color: var(--ink-muted); font-size: 15px; }
.demo-msg { min-height: 1.5em; margin-top: 14px; font-weight: 600; color: var(--green-deep); }
.reset { margin-top: 10px; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: underline; cursor: pointer; }

/* 3. dashboard */
.dash { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash .label { font-size: 14px; color: var(--ink-muted); }
.dash .hero-num { font-family: var(--font-sans); font-size: 52px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.dash .delta { font-size: 14px; color: var(--ink-muted); }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 84px; gap: 12px; align-items: center; font-size: 14px; position: relative; border-radius: 6px; }
.bar .track { height: 20px; position: relative; }
.bar .fill { display: block; height: 20px; background: var(--green); border-radius: 0 4px 4px 0; }
.bar .val { font-family: var(--font-mono); text-align: right; }
.bar:hover .fill, .bar:focus-visible .fill { background: var(--green-deep); }
.bar .tip { position: absolute; left: 108px; top: -34px; padding: 6px 10px; border-radius: 8px; background: var(--night); color: var(--night-ink); font-size: 13px; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 1; }
.bar:hover .tip, .bar:focus-visible .tip { opacity: 1; }
.people { display: flex; gap: 10px; flex-wrap: wrap; }
.people span { padding: 8px 12px; border-radius: 12px; background: var(--surface-muted); font-size: 14px; }
.people b { font-family: var(--font-mono); font-weight: 500; margin-left: 6px; }
.example { font-size: 12px; color: var(--ink-muted); }

/* 4. roles, dark band */
.night { background: var(--night); color: var(--night-ink); }
.night h2, .night h3 { color: var(--night-ink); }
.night .eyebrow { color: var(--green); }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role { position: relative; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.role .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--green); display: flex; align-items: center; justify-content: center; color: #16161a; }
.role p { color: var(--night-muted); font-size: 15px; }
.role .z { position: absolute; right: -6px; bottom: -6px; width: 64px; opacity: .14; }

/* 5. security */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.trust li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.trust .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--green-wash); color: var(--green-deep); display: flex; align-items: center; justify-content: center; }
.trust p { color: var(--ink-muted); font-size: 15px; }
.big-claim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: 48px; }

/* pricing, faq, cta, footer */
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: var(--green-wash); border-radius: var(--radius-xl); padding: 44px; }
.price .big { font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.price p { color: var(--ink-muted); margin-top: 12px; max-width: 34em; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 820px; margin-inline: auto; }
/* FAQ sits centred on the page; questions and answers stay left-aligned for reading. */
#faq .section-head { align-items: center; text-align: center; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; font-family: var(--font-mono); color: var(--green-deep); }
.faq details[open] summary::after { content: "−"; content: "−" / ""; }
.faq details p { margin-top: 10px; color: var(--ink-muted); max-width: 40em; }
.cta { padding-block: 104px; }
.cta-box { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); border-radius: var(--radius-xl); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-box h2 { color: var(--night-ink); }
.cta-box .form-note { color: var(--night-muted); }
.cta-box .signup input[type="email"] { background: var(--night-raised); border-color: var(--night-line); color: var(--night-ink); }
.cta-box .form-msg[data-tone="ok"] { color: var(--green); }
.cta-box .form-msg[data-tone="error"] { color: #ff8a80; }
.cta-box .signup input[type="email"]::placeholder { color: var(--night-muted); }
.cta-box :focus-visible { outline-color: var(--green); }
.cta-box .zz { width: 100%; max-width: 300px; justify-self: end; }
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: 14px; color: var(--ink-muted); }
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
footer .links a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer .copy { user-select: all; }
footer p a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer p a:hover { color: var(--green-deep); }

@media (max-width: 980px) {
  .split, .big-claim { grid-template-columns: minmax(0, 1fr); }
  .roles, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-box, .price { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .cta-box .zz { display: none; }
}
@media (max-width: 560px) {
  .roles, .trust { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 48px 64px; }
  .section { padding-block: 72px; }
  .wrap { padding-inline: 16px; }
  .bar { grid-template-columns: 76px minmax(0, 1fr) 72px; }
  .bar .tip { left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .bar .fill, .bar .tip { transition: background-color .15s, color .15s, opacity .15s; }
  .toast { transition: opacity .35s, transform .35s; }
  .toast.out { opacity: 0; transform: translateY(-6px); }
  .grid tr.fresh td { animation: glow 2.4s ease-out; }
  @keyframes glow { from { background: rgba(45, 184, 134, 0.45); } to { background: var(--hl); } }
}

/* SEO/AEO additions */
.hero h1 .h1-kicker { display: block; margin-bottom: 16px; font-family: var(--font-sans); font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--ink-muted); text-wrap: pretty; }
.flow .step { font-family: var(--font-sans); letter-spacing: 0; line-height: 1.3; }
.compare-wrap { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-muted); }
.compare tbody th { width: 22%; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.compare td { color: var(--ink-muted); }
.compare td:last-child { color: var(--ink); font-weight: 600; background: var(--green-wash); }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 16px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td, .compare tbody th { width: auto; padding: 0; border: 0; }
  .compare td { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-muted); }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
}

/* Zebra stripes: a faint hide behind four moments only (hero, the dark roles band, pricing, the closing CTA). Each layer fades out toward the copy so text always sits on a plain surface. */
:root { --zebra-soft: url(/patterns/zebra-ink.svg); --zebra-soft-op: .05; --zebra-price-op: .07; }
.hero, .night, .price, .cta-box { position: relative; isolation: isolate; }
.hero::before, .night::before, .price::before, .cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background-repeat: no-repeat; }
.hero::before { background-image: var(--zebra-soft); background-position: right -80px top -60px; background-size: 1100px auto; opacity: var(--zebra-soft-op); -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 85%), linear-gradient(to bottom, #000 55%, transparent 96%); mask-image: linear-gradient(to left, #000 30%, transparent 85%), linear-gradient(to bottom, #000 55%, transparent 96%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.night::before { background-image: url(/patterns/zebra-green.svg); background-position: right -140px center; background-size: 1150px auto; opacity: .11; -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 80%), linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to left, #000 25%, transparent 80%), linear-gradient(to bottom, #000 60%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.price { overflow: hidden; }
.price::before { background-image: var(--zebra-soft); background-position: right -40px center; background-size: 760px auto; opacity: var(--zebra-price-op); -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 60%); mask-image: linear-gradient(to left, #000 20%, transparent 60%); }
.cta-box::before { background-image: url(/patterns/zebra-green.svg); background-position: right -60px top 45%; background-size: auto 170%; opacity: .15; -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 75%); mask-image: linear-gradient(to left, #000 35%, transparent 75%); }
.zebra-strip { height: 14px; background: url(/patterns/zebra-band.svg) center / 800px 120px repeat-x; }
@media (max-width: 900px) {
  .hero::before { bottom: auto; height: 480px; background-position: right -260px top -20px; background-size: 760px auto; opacity: calc(var(--zebra-soft-op) * .8); }
  .night::before { bottom: auto; height: 540px; background-position: right -300px top 0; background-size: 800px auto; opacity: .08; }
  .cta-box::before { background-size: auto 140%; opacity: .12; }
  .price::before { background-position: right -220px center; -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 55%); mask-image: linear-gradient(to left, #000 10%, transparent 55%); }
}
figure.hero-visual { margin: 0; }
.hero-visual figcaption { position: relative; margin-top: 10px; }
.sheet + .example { margin-top: 10px; }
.zebra-strip + footer { border-top: 0; }

/* legal pages */
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.legal .meta { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.legal section { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: 6px; }
.legal .draft { margin-top: 20px; padding: 14px 18px; border-radius: 16px; background: var(--green-wash); font-size: 15px; }
.notfound { padding-block: 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
