/* WriteOff website · Native luxe.
   Tokens: design/directions/1-native-luxe (tokens.json, screens/shared/base.css, pass.css) and the app's
   apps/mobile/src/theme/colors.ts. One accent (Pass Green) for a yes and for the thing you pick; amber and
   red only as verdict signals; the verdict pass is graphite in both modes. No inline styles: the CSP forbids them. */

/* Numerals fallback for browsers without ui-rounded (Safari uses SF Pro Rounded and never loads these).
   Figures and amount symbols only; keep in step with site/tools/subset-fonts.sh. */
@font-face {
  font-family: "WO Rounded";
  src: url("/assets/rounded-500.44f8947259.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0024-0025, U+002B-002E, U+0030-0039, U+003D, U+00D7, U+2212;
}
@font-face {
  font-family: "WO Rounded";
  src: url("/assets/rounded-600.ea796a275c.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0024-0025, U+002B-002E, U+0030-0039, U+003D, U+00D7, U+2212;
}
@font-face {
  font-family: "WO Rounded";
  src: url("/assets/rounded-700.0e65d3515b.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+0024-0025, U+002B-002E, U+0030-0039, U+003D, U+00D7, U+2212;
}

/* ---------- Tokens: light ---------- */
:root {
  color-scheme: light dark;

  --bg: #f2f2f7;
  --bg-plain: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7fa;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.08);
  --sep: rgba(60, 60, 67, 0.13);
  --label: #0b0b0c;
  --label-2: #636369;
  --label-3: #8a8a8f;

  --accent: #009b63;
  --accent-text: #006e45;
  --accent-soft: rgba(0, 155, 99, 0.1);

  /* Verdicts: glyph (>= 3:1) and text (>= 4.5:1). Never colour alone: always a glyph and words. */
  --yes: #009b63;     --yes-text: #006e45;
  --partly: #c46e00;  --partly-text: #a34e00;
  --no: #e0352b;      --no-text: #c4271f;
  --pending: #8a8a8f; --pending-text: #636369;
  --special: #5856d6; --special-text: #5856d6;
  --review: #636369;  --review-text: #636369;
  --on-verdict: #ffffff;

  --btn-bg: #0b0b0c;
  --btn-fg: #ffffff;
  --btn-bg-hover: #2c2c2e;
  --input-line: #8a8a8f;

  --nav-glass: rgba(255, 255, 255, 0.74);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(0, 0, 0, 0.06);

  --sh-card: 0 1px 2px rgba(16, 16, 20, 0.04), 0 6px 20px rgba(16, 16, 20, 0.045);
  --sh-float: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.12);
  --card-edge: transparent;

  /* The pass: graphite in both modes, lit from its top-left corner by the verdict colour. */
  --pass-top: #26262a;
  --pass-bot: #0e0e10;
  --pass-edge: rgba(255, 255, 255, 0.08);
  --pass-hi: rgba(255, 255, 255, 0.09);
  --pass-2: rgba(255, 255, 255, 0.66);
  --pass-track: rgba(255, 255, 255, 0.14);
  --pass-hatch: rgba(255, 255, 255, 0.3);
  --pass-perf: rgba(255, 255, 255, 0.18);
  --pass-shadow: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1)) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.2)) drop-shadow(0 26px 30px rgba(0, 0, 0, 0.16));
  --glow-yes: rgba(52, 224, 143, 0.22);
  --glow-partly: rgba(255, 179, 64, 0.24);
  --glow-no: rgba(255, 107, 97, 0.22);

  --scan-top: #232327;
  --scan-bot: #0b0b0c;
  --scan-glow: rgba(48, 217, 138, 0.2);
  --scan-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 14px 30px -10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Type: SF Pro (the system font) for words, SF Pro Rounded for amounts. */
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fr: ui-rounded, "SF Pro Rounded", "WO Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1100px;
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.3, 1.25, 0.5, 1);
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-plain: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-2: rgba(118, 118, 128, 0.16);
    --sep: rgba(84, 84, 88, 0.45);
    --label: #ffffff;
    --label-2: #a1a1a8;
    --label-3: #7c7c82;

    --accent: #30d98a;
    --accent-text: #30d98a;
    --accent-soft: rgba(48, 217, 138, 0.14);

    --yes: #30d98a;     --yes-text: #30d98a;
    --partly: #ffb340;  --partly-text: #ffb340;
    --no: #ff6b61;      --no-text: #ff6b61;
    --pending: #98989f; --pending-text: #a1a1a8;
    --special: #8e8cff; --special-text: #8e8cff;
    --review: #a1a1a8;  --review-text: #a1a1a8;
    --on-verdict: #000000;

    --btn-bg: #ffffff;
    --btn-fg: #000000;
    --btn-bg-hover: #e5e5ea;
    --input-line: #7c7c82;

    --nav-glass: rgba(0, 0, 0, 0.68);
    --glass: rgba(44, 44, 46, 0.66);
    --glass-edge: rgba(255, 255, 255, 0.14);
    --glass-line: rgba(255, 255, 255, 0.06);

    --sh-card: 0 0 #0000;
    --sh-float: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-edge: rgba(255, 255, 255, 0.06);

    /* Raised surface, brighter rim and a stronger corner light (COMPARISON.md must-fix 13). */
    --pass-top: #2c2c2e;
    --pass-bot: #1c1c1e;
    --pass-edge: rgba(255, 255, 255, 0.12);
    --pass-hi: rgba(255, 255, 255, 0.14);
    --pass-perf: rgba(255, 255, 255, 0.2);
    --pass-shadow: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
    --glow-yes: rgba(52, 224, 143, 0.3);
    --glow-partly: rgba(255, 179, 64, 0.32);
    --glow-no: rgba(255, 107, 97, 0.3);

    --scan-top: #26262a;
    --scan-bot: #151517;
    --scan-glow: rgba(48, 217, 138, 0.16);
    --scan-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

/* Increase Contrast: secondary text darker, separators and inputs stronger. */
@media (prefers-contrast: more) {
  :root {
    --label-2: #48484d;
    --label-3: #636369;
    --sep: rgba(60, 60, 67, 0.36);
    --card-edge: rgba(0, 0, 0, 0.12);
    --input-line: #48484d;
    --pass-2: rgba(255, 255, 255, 0.8);
  }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --label-2: #c7c7cc;
    --label-3: #a1a1a8;
    --sep: rgba(120, 120, 128, 0.8);
    --card-edge: rgba(255, 255, 255, 0.18);
    --input-line: #c7c7cc;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.4118; /* 24 */
  letter-spacing: -0.41px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.page--plain { background: var(--bg-plain); }

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button, input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 22px;
  font-weight: 600;
}
.skip-link:focus { top: 8px; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(720px + 2 * var(--gutter)); }

.num {
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
}

/* ---------- Type roles (tokens.json type.scale) ---------- */
.eyebrow {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--label-2);
}
.display {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(40px, 1.4rem + 3.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(32px, 1.3rem + 2.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.title-2 {
  font-family: var(--fd);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.35px;
}
.title-3 {
  font-family: var(--fd);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: -0.45px;
}
.headline { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.41px; }
.lead {
  font-size: clamp(19px, 1rem + 0.35vw, 21px);
  line-height: 1.38;
  letter-spacing: -0.3px;
  color: var(--label-2);
  text-wrap: pretty;
}
.subhead { font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.footnote { font-size: 13px; line-height: 18px; letter-spacing: -0.08px; }
.c2 { color: var(--label-2); }

/* ---------- Icons and the lockup ---------- */
.i { width: 22px; height: 22px; flex: none; }
.i--s { width: 17px; height: 17px; }
.i--xs { width: 14px; height: 14px; }

.lockup { display: block; height: auto; }
.lockup__word { fill: var(--label); }
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
}
.brand:hover { text-decoration: none; }

/* ---------- Header (glass, iOS 26) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 var(--sep);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg-plain); }
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--label);
  font-size: 15px;
  letter-spacing: -0.23px;
  border-radius: 22px;
}
.nav a:hover { text-decoration: none; color: var(--label-2); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a.nav__cta { padding-inline: 4px 0; margin-left: 8px; }
.nav__cta span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 15px;
  border-radius: 17px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  transition: background-color 150ms var(--ease);
}
.nav a.nav__cta:hover { color: var(--label); }
.nav a.nav__cta:hover span { background: var(--btn-bg-hover); }
@media (max-width: 699px) {
  .nav__optional { display: none !important; }
}
@media (max-width: 479px) {
  .nav a.nav__cta { display: none; }
  .nav a { padding-inline: 10px; }
  .nav { margin-right: -10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.41px;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms var(--ease), transform 100ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--secondary { background: var(--fill); color: var(--label); }
.btn--secondary:hover { background: var(--fill-2); }
.btn[disabled],
.btn[aria-disabled="true"] { opacity: 0.55; cursor: progress; transform: none; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-size: 17px;
  letter-spacing: -0.41px;
  color: var(--accent-text);
}
.more .i { width: 14px; height: 14px; margin-top: 1px; }

.store-badge { display: inline-flex; border-radius: 10px; }
.store-badge img { height: 52px; width: auto; }
@media (prefers-color-scheme: dark) {
  .store-badge img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); border-radius: 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section) 0; }
.section__head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 12px; }
.section__head .lead { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(to bottom, var(--bg-plain) 0, var(--bg-plain) 20%, var(--bg) 100%);
  padding-block: clamp(36px, 6vw, 88px) clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; }
}
.hero__copy .eyebrow { margin-bottom: 16px; }
.hero__copy .lead { margin-top: 20px; max-width: 34em; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.scope {
  margin-top: 28px;
  max-width: 36em;
  color: var(--label-2);
}

/* ---------- The verdict pass ---------- */
.pass-shadow { filter: var(--pass-shadow); }

.pass {
  --glow: var(--glow-partly);
  --tint: #ffb340;
  --stub: 76px;
  position: relative;
  border-radius: 26px;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 0% 0%, var(--glow), transparent 60%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.055) 50%, transparent 62%),
    linear-gradient(170deg, var(--pass-top), var(--pass-bot));
  box-shadow: inset 0 0 0 0.5px var(--pass-edge), inset 0 1px 0 var(--pass-hi);
}
.pass--yes { --glow: var(--glow-yes); --tint: #34e08f; }
.pass--no { --glow: var(--glow-no); --tint: #ff7a70; }

/* Real notches: the perforation is cut out of the pass (a mask), so the page shows through and the
   shadow follows the shape (COMPARISON.md must-fix 9). The stub below the perforation has a fixed height. */
.pass--notched {
  -webkit-mask:
    radial-gradient(circle 12px at 0 calc(100% - var(--stub)), transparent 11.5px, #000 12px) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle 12px at 100% calc(100% - var(--stub)), transparent 11.5px, #000 12px) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 12px at 0 calc(100% - var(--stub)), transparent 11.5px, #000 12px) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle 12px at 100% calc(100% - var(--stub)), transparent 11.5px, #000 12px) 100% 0 / 51% 100% no-repeat;
}

.pass__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px 0;
}
.pass .lockup__word { fill: #ffffff; }
.pass__hf { text-align: right; }
.pass__lbl {
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--pass-2);
}
.pass__val {
  margin-top: 3px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.pass__verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 0;
}
.pass__words {
  font-family: var(--fd);
  font-size: 26px;
  line-height: 31px;
  font-weight: 700;
  letter-spacing: -0.55px;
}
.pass__reason {
  padding: 2px 20px 0 68px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.41px;
}
.pass__item {
  padding: 8px 20px 0;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  color: var(--pass-2);
}
.pass__amount { padding: 20px 20px 0; }
.pass__amount .money { margin-top: 4px; }
.pass__of {
  margin-top: 2px;
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--pass-2);
}
.pass .meter { margin: 16px 20px 0; }
.pass__stub {
  position: relative;
  display: flex;
  gap: 18px;
  height: var(--stub);
  margin-top: 22px;
  padding: 18px 20px 0;
}
.pass__stub::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: -0.75px;
  border-top: 1.5px dashed var(--pass-perf);
}
.pass__field { min-width: 0; }
.pass__field--end { flex: 1; text-align: right; }
.pass__field--end .pass__val { overflow: hidden; text-overflow: ellipsis; }
.notch {
  position: absolute;
  top: -12.5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px var(--pass-edge);
  pointer-events: none;
}
.notch--l { left: -12.5px; }
.notch--r { right: -12.5px; }

/* The pass's light sheen crosses once on arrival. */
.pass::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% 0;
  width: 45%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
  transform: translateX(-140%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

/* Compact pass (the example in How it works). */
.pass--compact { --stub: 62px; }
.pass--compact .pass__verdict { padding-top: 16px; }
.pass--compact .pass__words { font-size: 22px; line-height: 28px; letter-spacing: -0.4px; }
.pass--compact .pass__amount { padding-top: 12px; }
.pass--compact .pass__stub { margin-top: 14px; padding-top: 12px; }
.pass--compact .pass__val { font-size: 16px; line-height: 20px; }

/* Mini pass (one line: the Welcome stack). */
.pass--mini { border-radius: 22px; }
.pass-mini__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}
.pass-mini__text { flex: 1; min-width: 0; }
.pass-mini__item {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pass-mini__words { font-size: 13px; line-height: 17px; font-weight: 600; letter-spacing: -0.08px; color: var(--tint); }
.pass-mini__rest { height: 120px; }

/* ---------- Money: whole units full size, cents at 0.6x in the secondary colour ---------- */
.money {
  display: block;
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.money__cents { font-size: 0.6em; letter-spacing: -0.01em; color: var(--pass-2); }
.money--hero { font-size: clamp(48px, 15.4vw, 60px); line-height: 64px; letter-spacing: -2px; }
.money--large { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
.money--row { display: inline; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.2px; }
.money--dim { color: var(--pass-2); }

/* ---------- Meter: the share that counts, with a hatched, labelled remainder ---------- */
.meter__bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, var(--hatch) 0 1.3px, transparent 1.3px 4px),
    var(--track);
}
.meter { --track: var(--fill); --hatch: var(--label-3); --legend: var(--label-2); }
.pass .meter { --track: var(--pass-track); --hatch: var(--pass-hatch); --legend: var(--pass-2); }
.meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-radius: 3px;
  background: var(--tint);
  transform-origin: left center;
}
.meter--80 .meter__fill { width: 80%; }
.meter__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
  color: var(--legend);
}
.meter__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 8px; border-radius: 2px; flex: none; }
.sw--solid { background: var(--tint); }
.sw--hatch { background: repeating-linear-gradient(-45deg, var(--hatch) 0 1.3px, transparent 1.3px 4px), var(--track); }

/* ---------- Verdict glyphs (24 grid; the app's VerdictGlyph) ---------- */
.vg { --g: var(--label-2); --m: var(--on-verdict); flex: none; }
.vg__disc { fill: var(--g); }
.vg__soft { fill: var(--g); opacity: 0.26; }
.vg__mark { stroke: var(--m); fill: none; }
.vg__markfill { fill: var(--m); }
.vg__ring { stroke: var(--g); fill: none; }
.vg__ink { stroke: var(--g); fill: none; }
.vg__inkfill { fill: var(--g); }
.vg--yes { --g: var(--yes); }
.vg--partly { --g: var(--partly); }
.vg--no { --g: var(--no); }
.vg--pending { --g: var(--pending); }
.vg--special { --g: var(--special); }
.vg--review { --g: var(--review); }
.pass .vg--yes { --g: #34e08f; --m: #02140b; }
.pass .vg--partly { --g: #ffb340; --m: #1f1300; }
.pass .vg--no { --g: #ff7a70; --m: #1a0503; }
.pass .vg--partly .vg__soft { opacity: 0.3; }

/* Usage pie beside a percentage (graft 8). */
.pie__ring { stroke: var(--pie-track, currentColor); fill: none; }
.pie__fill { fill: currentColor; }

/* ---------- Hero stack (the Welcome screen's passes) ---------- */
.hero__visual { width: 100%; max-width: 440px; margin-inline: auto; }
.stack { position: relative; padding-top: 122px; }
.stack__mini {
  position: absolute;
  left: 0;
  right: 0;
  transform-origin: top center;
}
.stack__mini--1 { top: 0; transform: scale(0.9); opacity: 0.9; }
.stack__mini--2 { top: 58px; transform: scale(0.95); }
.stack__front { position: relative; }
.hero__visual figcaption {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
  color: var(--label-2);
}

@media (prefers-reduced-motion: no-preference) {
  .stack__mini--1 { animation: rise-mini-1 620ms var(--spring) 60ms both; }
  .stack__mini--2 { animation: rise-mini-2 620ms var(--spring) 140ms both; }
  .stack__front { animation: rise 680ms var(--spring) 220ms both; }
  .stack__front .meter__fill { animation: meter 600ms var(--ease) 760ms both; }
  .stack__front .pass::after { animation: sheen 1200ms cubic-bezier(0.45, 0, 0.55, 1) 900ms 1 both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(48px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-mini-1 {
  from { opacity: 0; transform: translateY(32px) scale(0.88); }
  to { opacity: 0.9; transform: scale(0.9); }
}
@keyframes rise-mini-2 {
  from { opacity: 0; transform: translateY(32px) scale(0.93); }
  to { opacity: 1; transform: scale(0.95); }
}
@keyframes meter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes sheen {
  0% { opacity: 1; transform: translateX(-140%) rotate(18deg); }
  99% { opacity: 1; }
  100% { opacity: 0; transform: translateX(320%) rotate(18deg); }
}

/* ---------- Cards and grouped lists ---------- */
.card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--sh-card), inset 0 0 0 0.5px var(--card-edge);
}
.sect-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px 10px;
}

.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 16px;
}
.row + .row::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 60px;
  height: 0.5px;
  background: var(--sep);
}
.row__main { flex: 1; min-width: 0; }
.row__title { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.41px; }
.row__sub { font-size: 15px; line-height: 20px; letter-spacing: -0.23px; color: var(--label-2); text-wrap: pretty; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--fill);
  color: var(--label);
}
.icon-tile .i { width: 18px; height: 18px; }
.icon-tile--accent { background: var(--accent-soft); color: var(--accent-text); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px 0 7px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  letter-spacing: -0.08px;
  white-space: nowrap;
}
.chip .i { width: 13px; height: 13px; }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
}
.step__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  padding: 24px 20px;
  background: var(--surface-2);
  border-bottom: 0.5px solid var(--sep);
}
@media (prefers-color-scheme: dark) {
  .step__visual { background: #121214; }
}
.step__body { padding: 22px 24px 28px; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: var(--fill);
  color: var(--label);
  font-family: var(--fr);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.step__title { margin-top: 14px; }
.step__text { margin-top: 8px; color: var(--label-2); text-wrap: pretty; }
@media (max-width: 959px) {
  .step__visual { min-height: 0; }
}

/* Scan card (Check). */
.scan {
  position: relative;
  height: 156px;
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(70% 90% at 82% 55%, var(--scan-glow), transparent 60%),
    linear-gradient(160deg, var(--scan-top) 0%, var(--scan-bot) 100%);
  box-shadow: var(--scan-shadow);
}
.scan__txt { position: absolute; left: 20px; top: 20px; right: 120px; }
.scan__title { font-family: var(--fd); font-size: 21px; line-height: 26px; font-weight: 700; letter-spacing: -0.45px; }
.scan__sub { margin-top: 3px; font-size: 14px; line-height: 19px; letter-spacing: -0.15px; color: rgba(255, 255, 255, 0.66); }
.shutter {
  position: absolute;
  left: 20px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #ffffff;
}
.shutter i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b0b0c;
}
.shutter .i { width: 19px; height: 19px; }
.vf { position: absolute; right: 18px; top: 16px; width: 96px; height: 124px; }
.vf__c { position: absolute; width: 18px; height: 18px; border: 3px solid #34e08f; }
.vf__c--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf__c--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf__c--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf__c--br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.vf__paper {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 64px;
  height: 88px;
  transform: rotate(-5deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}
.vf__line {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 58px;
  height: 2px;
  border-radius: 2px;
  background: #34e08f;
  box-shadow: 0 0 12px 2px rgba(48, 217, 138, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .vf__line { animation: scanline 1600ms ease-in-out 0s 6 alternate both; }
}
@keyframes scanline {
  from { transform: translateY(-40px); }
  to { transform: translateY(40px); }
}

.field-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 7px 0 18px;
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--sh-card), inset 0 0 0 0.5px var(--card-edge);
}
.field-demo__ph { flex: 1; min-width: 0; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-demo__send {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--fill);
  color: var(--label-3);
}
.field-demo__send .i { width: 17px; height: 17px; }
.sample-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--accent-text);
}
.sample-demo .i { width: 18px; height: 18px; }

/* Question (one plain question, percentage tiles with usage pies). */
.q-demo__title { font-family: var(--fd); font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -0.4px; padding: 0 4px; text-wrap: balance; }
.opts { list-style: none; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
}
.opt + .opt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 94px;
  right: 0;
  height: 0.5px;
  background: var(--sep);
}
.opt--on + .opt::before,
.opt--on::before { display: none; }
.opt--on { background: var(--accent-soft); }
.opt--on:first-child { border-radius: 24px 24px 0 0; }
.opt:last-child.opt--on { border-radius: 0 0 24px 24px; }
.opt__main { flex: 1; min-width: 0; }
.opt__t { font-size: 16px; line-height: 21px; font-weight: 600; letter-spacing: -0.3px; }
.opt__s { font-size: 14px; line-height: 19px; letter-spacing: -0.15px; color: var(--label-2); }
.opt .chip { margin-top: 5px; }
.pct {
  --pie-track: var(--label-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 68px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: var(--fill-2);
  color: var(--label);
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.pct__n { display: inline-flex; align-items: baseline; }
.pct small { font-size: 12px; line-height: 14px; margin-left: 1px; color: var(--label-2); }
.pct .pie { width: 13px; height: 13px; }
.opt--on .pct { --pie-track: rgba(255, 255, 255, 0.7); background: var(--accent-text); color: #ffffff; }
.opt--on .pct small { color: #ffffff; }
.opt__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
}
.opt--on .opt__check { background: var(--accent); color: #ffffff; }
.opt__check .i { width: 15px; height: 15px; }
@media (prefers-color-scheme: dark) {
  .pct { background: var(--fill); }
  .opt--on .pct { --pie-track: rgba(0, 20, 10, 0.6); color: #00140a; }
  .opt--on .pct small { color: rgba(0, 20, 10, 0.7); }
  .opt--on .opt__check { color: #000000; }
}

/* ---------- The answer, section by section ---------- */
.answer-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}
.answer-col { display: grid; gap: 28px; }
.why { padding: 18px 20px; font-size: 17px; line-height: 25px; letter-spacing: -0.41px; text-wrap: pretty; }
.src-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 14px 0 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--sh-card), inset 0 0 0 0.5px var(--sep);
  color: var(--label);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.23px;
}
.src-chip:hover { text-decoration: none; background: var(--surface-2); }
.src-chip { position: relative; }
.src-chip::after { content: ""; position: absolute; inset: -4px -2px; } /* 44pt hit area around the 36pt chip */
.src-chip .i--s { color: var(--accent-text); }
.src-chip .i--xs { color: var(--label-3); }
.src-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding-left: 4px; }
.src-row .footnote { margin-top: 12px; }

/* How we got this: operator column, figures right-aligned, the result in Pass Green text (graft 2). */
.ledger { padding: 6px 20px; }
.ledger__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
}
.ledger__op {
  display: inline-block;
  width: 22px;
  font-family: var(--fr);
  font-weight: 500;
  color: var(--label-2);
}
.ledger__k { flex: 1; color: var(--label-2); }
.ledger__v {
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.ledger__row--total { border-top: 0.5px solid var(--sep); margin-top: 2px; padding-top: 13px; }
.ledger__row--total .ledger__k { color: var(--label); font-weight: 600; }
.ledger__row--total .ledger__v { font-size: 20px; line-height: 24px; font-weight: 700; color: var(--accent-text); letter-spacing: -0.3px; }
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px 16px;
  border-top: 0.5px solid var(--sep);
}
.callout .row__sub { margin-top: 2px; }

/* Where it goes: a mini Schedule C Part II (graft 1). */
.schedule { padding: 14px 12px 12px; }
.schedule .eyebrow { padding: 0 8px 8px; font-size: 12px; line-height: 16px; }
.schedule__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 12px;
}
.schedule__line {
  width: 38px;
  flex: none;
  font-family: var(--fr);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  color: var(--label-3);
}
.schedule__label { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; letter-spacing: -0.23px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule__blank { width: 64px; height: 6px; border-radius: 3px; background: var(--fill-2); flex: none; }
.schedule__row--on {
  margin-block: 2px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.schedule__row--on .schedule__line { color: var(--accent-text); }
.schedule__row--on .schedule__label { color: var(--label); font-weight: 600; }
.schedule__row--on .money--row { color: var(--accent-text); }
.note { padding: 8px 16px 0; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-2); }

/* Keep this. */
.keep .row { min-height: 64px; }
.done { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; color: var(--yes-text); }
.todo {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.todo-ring { width: 28px; height: 28px; color: var(--label-3); }
.answer-foot { margin-top: 36px; text-align: center; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-2); }

/* ---------- Six answers ---------- */
.verdicts { list-style: none; display: grid; }
@media (min-width: 900px) {
  .verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .verdicts .row:nth-child(4)::before { display: none; }
}
.verdicts .row { align-items: flex-start; min-height: 76px; padding-block: 16px; }
.verdicts .row::before { left: 60px; }
.verdicts .vg { margin-top: -3px; }
.verdicts .row__title { color: var(--vt); }
.verdicts .row__sub { margin-top: 2px; }
.v-yes { --vt: var(--yes-text); }
.v-partly { --vt: var(--partly-text); }
.v-no { --vt: var(--no-text); }
.v-pending { --vt: var(--pending-text); }
.v-special { --vt: var(--special-text); }
.v-review { --vt: var(--review-text); }

/* ---------- Rules first, AI second ---------- */
.split { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
.split .card { padding: 8px 0; }
.split__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 8px; }
.split__list { list-style: none; }
.split__list .row { min-height: 52px; }
.split__list .row::before { left: 52px; }
.tick { width: 22px; height: 22px; color: var(--label-2); }
.split__foot { padding: 4px 20px 16px 56px; }
.ai-note { margin-top: 24px; max-width: 46em; }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; gap: 28px; }
.privacy-grid .section__head { margin-bottom: 0; }
.privacy-grid .more { margin-top: 12px; }
@media (min-width: 960px) {
  .privacy-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
}
.privacy-list { list-style: none; }
.privacy-list .row { align-items: flex-start; padding-block: 14px; }
.privacy-list .row::before { left: 60px; }
.privacy-list .icon-tile { margin-top: -3px; }
.privacy-list .row__main { font-size: 16px; line-height: 22px; letter-spacing: -0.3px; }

/* ---------- Closing call to action ---------- */
.cta { text-align: center; }
.cta__icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1)) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.18));
}
@media (prefers-color-scheme: dark) {
  .cta__icon { filter: none; }
}
.cta .lead { margin-top: 14px; }
.cta .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(72px, 9vw, 120px);
  padding-block: 32px 48px;
  box-shadow: 0 -0.5px 0 var(--sep);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
  color: var(--label-2);
}
.page--plain .site-footer { background: var(--bg); }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px 32px;
}
.site-footer__tag { margin-top: 6px; }
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin-left: -10px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: var(--label);
  font-size: 14px;
  letter-spacing: -0.15px;
}
.site-footer__legal { margin-top: 20px; padding-top: 20px; border-top: 0.5px solid var(--sep); text-wrap: pretty; }

/* ---------- Page heads (support, legal, 404) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) 32px; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head .lead { margin-top: 14px; }

/* ---------- Legal prose ---------- */
.prose { padding-bottom: 24px; }
.prose h2 {
  margin-top: 40px;
  font-family: var(--fd);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.35px;
  scroll-margin-top: 72px;
}
.prose h3 { margin-top: 28px; font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
.prose p,
.prose ul,
.prose ol { margin-top: 12px; max-width: 42em; line-height: 26px; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--label-3); }
.prose strong { font-weight: 600; }
.prose code { font-size: 0.94em; background: var(--fill); padding: 1px 5px; border-radius: 6px; }
.prose hr { border: 0; border-top: 0.5px solid var(--sep); margin-block: 32px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.effective { color: var(--label-2); }
.aside {
  margin-top: 40px;
  padding: 18px 20px;
  max-width: 42em;
  background: var(--bg);
  border-radius: 20px;
  color: var(--label-2);
}

/* ---------- Support ---------- */
.faq { list-style: none; }
/* Inset hairlines between rows (a pseudo-element on <details> doesn't render in every engine). */
.faq details + details { background: linear-gradient(var(--sep), var(--sep)) 20px 0 / calc(100% - 20px) 0.5px no-repeat; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.41px;
  list-style: none;
  border-radius: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i {
  width: 14px;
  height: 14px;
  color: var(--label-3);
  transition: transform 220ms var(--ease);
}
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:hover { background: var(--fill-2); }
.faq__body { padding: 0 20px 18px; color: var(--label-2); max-width: 42em; text-wrap: pretty; }
.faq__body p + p { margin-top: 8px; }

.contact { padding-block: 48px 0; }
.contact-card { padding: 24px 20px 28px; }
@media (min-width: 600px) {
  .contact-card { padding: 32px; }
}
.form-intro { margin: 6px 0 24px; color: var(--label-2); }
.form { display: grid; gap: 22px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; }
.form-field .optional { font-weight: 400; color: var(--label-2); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: var(--surface);
  color: var(--label);
  border: 1px solid var(--input-line);
  border-radius: 12px;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.41px;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); }
.input[aria-invalid="true"] { border-color: var(--no); box-shadow: 0 0 0 1px var(--no); }
textarea.input { min-height: 160px; resize: vertical; line-height: 24px; }
.hint { font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-2); }
.field-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.08px;
  color: var(--no-text);
}
.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--no);
  color: var(--on-verdict);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  flex-shrink: 0;
}
.field-error[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.form-actions .btn { min-width: 180px; }
.form-note { margin-top: 20px; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-2); }
.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fill-2);
  box-shadow: inset 0 0 0 1px var(--sep);
}
.notice[hidden] { display: none; }
.notice__title { font-weight: 600; }
.notice p + p { margin-top: 4px; color: var(--label-2); }
.notice--error { background: color-mix(in srgb, var(--no) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--no) 40%, transparent); }
.notice--error .notice__title { display: flex; gap: 8px; align-items: center; }
.notice--error .notice__title::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--no);
  color: var(--on-verdict);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  flex-shrink: 0;
}
.sent[hidden] { display: none; }
.sent__head { display: flex; align-items: center; gap: 12px; }
.sent__head h3 { outline: none; }
.sent p { margin-top: 10px; color: var(--label-2); }
.sent .btn { margin-top: 20px; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 12vw, 140px); text-align: center; }
.notfound .eyebrow { margin-bottom: 12px; }
.notfound .lead { margin-top: 16px; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Preparer page (/share#token) ---------- */
.share { padding-bottom: 24px; }
.share h1:focus { outline: none; }
.share-state { padding-top: clamp(48px, 8vw, 96px); }
.share-state__card { display: flex; align-items: flex-start; gap: 16px; padding: 24px 20px; }
.share-state__card h1 { text-wrap: balance; }
.share-state__icon { width: 40px; height: 40px; border-radius: 12px; }
.share-state__icon .i { width: 22px; height: 22px; }
.share-state__more { margin-top: 8px; text-wrap: pretty; }
.share-state__retry { margin-top: 18px; }
.share-head { padding-block: clamp(36px, 6vw, 64px) 28px; }
.share-head .title { overflow-wrap: anywhere; }
.share-head__expires { margin-top: 10px; }
.share-total { padding: 22px 20px; }
.share-total .money { margin-top: 6px; }
.share-total .money__cents { color: var(--label-2); }
.share-total .footnote { margin-top: 10px; text-wrap: pretty; }
.share-block { margin-top: 32px; }
.share-block__note { margin-top: 10px; padding-inline: 4px; }
.share-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.share-dl .btn { flex: 1 1 190px; }
.share-dl .btn .i { width: 18px; height: 18px; }

.ledger-card { overflow: hidden; }
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.ledger th,
.ledger td { padding: 13px 8px; text-align: left; vertical-align: top; }
.ledger th:first-child,
.ledger td:first-child { padding-left: 20px; }
.ledger th:last-child,
.ledger td:last-child { padding-right: 20px; }
.ledger thead th {
  padding-block: 14px 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--label-2);
}
.ledger tbody td { border-top: 0.5px solid var(--sep); }
.ledger td:first-child { white-space: nowrap; color: var(--label-2); }
.ledger td:nth-child(2) { text-wrap: pretty; }
.ledger th.ledger__n,
.ledger td.ledger__n { text-align: right; }
.ledger td.ledger__n { white-space: nowrap; color: var(--label-2); }
.ledger td:last-child { font-weight: 600; color: var(--label); }
.ledger--no-lines th:first-child,
.ledger--no-lines td:first-child { display: none; }
.ledger--no-lines th:nth-child(2),
.ledger--no-lines td:nth-child(2) { padding-left: 20px; }
.ledger-card + .hint,
.hint#totals-empty { padding-inline: 4px; }
@media (max-width: 479px) {
  .ledger th,
  .ledger td { padding-inline: 6px; }
  .ledger th:first-child,
  .ledger td:first-child,
  .ledger--no-lines th:nth-child(2),
  .ledger--no-lines td:nth-child(2) { padding-left: 16px; }
  .ledger th:last-child,
  .ledger td:last-child { padding-right: 16px; }
}

.share-q { list-style: none; }
.share-q li { position: relative; display: grid; gap: 2px; padding: 14px 20px; }
.share-q li + li::before { content: ""; position: absolute; top: 0; right: 0; left: 20px; height: 0.5px; background: var(--sep); }
.share-q__item { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.41px; overflow-wrap: anywhere; }
.share-q__date { font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-2); }
.share-q__note { font-size: 15px; line-height: 20px; letter-spacing: -0.23px; color: var(--label-2); text-wrap: pretty; overflow-wrap: anywhere; }
.share-foot { margin-top: 36px; text-align: center; }
@media print {
  #downloads, .share-state__retry { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .skip-link, .hero__actions, .contact { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Small structural helpers ---------- */
.pass-mini__item,
.pass-mini__words,
.opt__t,
.opt__s { display: block; }
.opt__main .chip { display: flex; width: max-content; max-width: 100%; }
@media (min-width: 900px) {
  .verdicts { grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
}

/* ---------- Guides ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  color: var(--label-2);
}
.crumbs a { color: var(--accent-text); }
.guide-meta { margin-top: 12px; }
.guide .guide-answer { margin-top: 4px; padding: 20px 22px 8px; }
.guide .guide-answer p.eyebrow { margin-top: 0; font-size: 13px; line-height: 18px; letter-spacing: 0.02em; color: var(--accent-text); }
.guide .guide-answer p { max-width: none; margin-top: 10px; font-size: 19px; line-height: 28px; letter-spacing: -0.3px; }
.guide .guide-answer p:last-child { margin-bottom: 14px; }
.guide .guide-example { margin-top: 14px; padding: 6px 22px 18px; }
.guide .guide-example ul,
.guide .guide-example ol { padding-left: 0; list-style: none; max-width: none; }
.guide .guide-example li { padding-block: 4px; }
.guide .guide-example li + li { margin-top: 0; }
.guide .guide-example p:first-child { margin-top: 14px; }
.guide-section { padding-top: 4px; }
.guide-sources li { overflow-wrap: anywhere; }
.guide .guide-cta { margin-top: 44px; padding: 24px 22px 22px; }
.guide .guide-cta p { max-width: 34em; }
.guide .guide-cta .title-2 { margin-top: 0; }
.guide-cta__action { margin-top: 18px; }
.guide .guide-cta .footnote { margin-top: 14px; }
.guide-cta .store-badge,
.guide .guide-cta a.store-badge { text-decoration: none; }
.guide-list { overflow: hidden; list-style: none; padding: 0; margin-top: 14px; }
.prose .guide-list,
.guide .guide-list { max-width: none; padding-left: 0; margin-top: 14px; }
.guide-list li + li { margin-top: 0; position: relative; }
.guide-list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 16px;
  height: 0.5px;
  background: var(--sep);
}
.guide-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  color: var(--label);
  text-decoration: none;
}
.guide-list a:hover { background: var(--surface-2); text-decoration: none; }
.guide-list .row__title { display: block; }
.guide-list .row__sub { display: block; margin-top: 2px; }
.guide-list .i { color: var(--label-3); width: 14px; height: 14px; }
.prose .guide-list a { text-decoration: none; }
