/* ════════════════════════════════════════════════════════════════
   uTaxes marketing site — Monarch-inspired editorial design, v3.
   Fraunces serif display (with italic accents), warm cream canvas,
   deep-ink hero/CTA panels with film grain, hairline borders,
   layered shadows, pill buttons. Brand: #2f6fdb (Design System v2.0).
   ════════════════════════════════════════════════════════════════ */

:root {
  --brand-50: #eff5fe;
  --brand-100: #dde9fd;
  --brand-200: #bcd4fb;
  --brand-300: #92b8f7;
  --brand-500: #4480e8;
  --brand-600: #2f6fdb;
  --brand-700: #265bb8;
  --brand-800: #1f4892;
  --brand-900: #1a3970;

  /* Deep ink — hero / CTA canvases */
  --ink-900: #101b30;
  --ink-800: #152440;
  --ink-700: #1c3056;

  /* Warm cream canvas */
  --cream: #f6f2ea;
  --cream-deep: #efe9dd;
  --paper: #fffdf9;

  --hairline: rgba(38, 36, 31, 0.08);
  --hairline-strong: rgba(38, 36, 31, 0.14);

  --neutral-600: #8a8676;
  --neutral-700: #6b675a;
  --neutral-800: #45423a;
  --neutral-900: #26241f;

  --green-100: #e3f6e9;
  --green-500: #22c55e;
  --green-700: #157f3c;
  --amber-100: #fdf0d2;
  --amber-700: #a8500a;
  --violet-100: #ece8fb;
  --violet-700: #6431c9;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm:
    0 1px 1px rgba(16, 27, 48, 0.03),
    0 2px 6px rgba(16, 27, 48, 0.04);
  --shadow-md:
    0 2px 4px rgba(16, 27, 48, 0.04),
    0 12px 32px rgba(16, 27, 48, 0.09);
  --shadow-lg:
    0 2px 6px rgba(16, 27, 48, 0.1),
    0 18px 40px rgba(16, 27, 48, 0.16),
    0 44px 96px rgba(16, 27, 48, 0.22);

  /* One width system: content sections, hero canvas and CTA panel all cap here */
  --container: 1404px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Film grain — feTurbulence, baked once, reused on dark panels */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--neutral-900);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; }
a { color: var(--brand-600); text-decoration: none; }

::selection { background: var(--brand-200); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 800px; }

/* ── Display typography ── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: 'opsz' 100;
  letter-spacing: -0.018em;
  line-height: 1.04;
  color: var(--neutral-900);
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }

/* Italic accent — the editorial wink */
h1 em, h2 em {
  font-style: italic;
  font-weight: 420;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--neutral-900);
}
h4 { margin: 0 0 0.8em; }

p { margin: 0 0 1em; }
.lead {
  font-size: 1.13rem;
  color: var(--neutral-700);
  max-width: 620px;
}

.eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0 0 18px;
}

.section-head { margin-bottom: 60px; }
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ── Buttons — pills ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.14s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 38px; font-size: 1.04rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600) 80%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(47, 111, 219, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700) 80%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px rgba(47, 111, 219, 0.38);
}

.btn-outline {
  border-color: var(--hairline-strong);
  color: var(--neutral-900);
  background: transparent;
}
.btn-outline:hover { border-color: var(--brand-600); color: var(--brand-600); background: var(--brand-50); }

.btn-ghost { color: var(--neutral-800); padding-left: 14px; padding-right: 14px; }
.btn-ghost:hover { color: var(--brand-600); transform: none; }

.btn-light {
  background: var(--cream);
  color: var(--ink-900);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 28px rgba(5, 10, 20, 0.35);
}
.btn-light:hover { background: #fff; }

/* ── Announcement bar ── */
.announce {
  background: #2f6eda;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}

/* ── Nav ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav-wrap.scrolled { border-bottom-color: var(--hairline); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.45rem;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}
.nav-brand img {
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(16, 27, 48, 0.18);
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > a {
  color: var(--neutral-800);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-menu > a:hover { color: var(--neutral-900); background: rgba(38, 36, 31, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 18px; }
.nav-actions .btn { padding-top: 10px; padding-bottom: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--neutral-900);
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   Hero — rounded ink canvas, film grain, floating product cards
   ════════════════════════════════════════════════════════════════ */
.hero { padding: 18px 28px 0; }

.hero-canvas {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 680px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1100px 520px at 78% -5%, rgba(68, 128, 232, 0.5) 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 115%, rgba(31, 72, 146, 0.6) 0%, transparent 62%),
    radial-gradient(540px 340px at 96% 88%, rgba(146, 184, 247, 0.14) 0%, transparent 65%),
    linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 55%, #0a1322 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 64px rgba(16, 27, 48, 0.18);
  display: flex;
  align-items: flex-end;
}

/* Film grain on dark panels — kills the "smooth gradient" plastic look */
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* Headline — set directly on the canvas, no box. Confidence is premium. */
.hero-panel {
  position: relative;
  z-index: 3;
  margin: 140px 0 72px 64px;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin: 0 0 22px;
}
.hero-panel h1 {
  color: var(--cream);
  font-size: clamp(3rem, 7vw, 5.2rem);
  text-shadow: 0 2px 24px rgba(5, 10, 20, 0.35);
}
.hero-panel h1 em { color: var(--brand-300); }
.hero-panel p {
  color: rgba(246, 242, 234, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 490px;
}
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-secondary {
  color: rgba(246, 242, 234, 0.82);
  font-weight: 600;
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(246, 242, 234, 0.3);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-secondary:hover { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* Floating UI cards */
.float-card, .float-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255, 254, 250, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
}

.float-chip { padding: 16px 22px; }
.float-chip small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--neutral-600);
  margin-bottom: 2px;
}
.float-chip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--neutral-900);
}
.float-chip span { font-size: 0.74rem; color: var(--neutral-700); }
.trend-up { color: var(--green-700); font-weight: 600; font-size: 0.74rem; }
.spark { display: block; width: 100%; height: 34px; margin: 10px 0 6px; }

.chip-health {
  display: flex;
  align-items: center;
  gap: 12px;
  right: 372px;
  bottom: 64px;
  padding: 15px 22px;
}
.chip-health strong { display: block; font-size: 0.95rem; color: var(--green-700); }
.chip-health small { color: var(--neutral-700); font-size: 0.78rem; }
.health-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.card-accounts {
  top: 104px;
  right: 140px;
  width: 326px;
  padding: 20px 22px;
}
.float-card-title {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neutral-600);
  margin-bottom: 8px;
}
.acct-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.acct-total {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--neutral-900);
}
.acct-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.acct-row:last-of-type { border-bottom: 0; }
.acct-row > div { flex: 1; min-width: 0; }
.acct-row strong { display: block; font-size: 0.87rem; color: var(--neutral-900); letter-spacing: -0.01em; }
.acct-row small { color: var(--neutral-600); font-size: 0.72rem; }
.acct-row em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.87rem;
}
.acct-row em.neg { color: var(--amber-700); }
.acct-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 16%, white);
  border: 2px solid var(--c);
  flex-shrink: 0;
}
.acct-foot { padding-top: 12px; }

.mini-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.mini-pill.ok { background: var(--green-100); color: var(--green-700); }
.mini-pill.info { background: var(--brand-100); color: var(--brand-700); }
.mini-pill.warn { background: var(--amber-100); color: var(--amber-700); }

/* Ledger strip — quiet, all-caps, dot-separated */
.hero-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  padding: 30px 24px 0;
  margin: 0;
}
.hero-strip span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--neutral-600);
}
.hero-strip span + span::before {
  content: '·';
  margin: 0 14px;
  color: var(--neutral-600);
  opacity: 0.5;
}
.hero-strip span:first-child {
  color: var(--neutral-800);
}
.hero-strip span:first-child::after {
  content: '—';
  margin-left: 14px;
  opacity: 0.4;
}

/* ════════════════════════════════════════════════════════════════
   "Everything" — centered serif header + 2×2 editorial cards
   ════════════════════════════════════════════════════════════════ */
.everything { padding: 130px 0 100px; }

/* Asymmetric bento — 7/5 then 5/7, so the grid never reads as a template */
.big-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}
.big-card.span-7 { grid-column: span 7; }
.big-card.span-5 { grid-column: span 5; }
.big-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 42px 42px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.big-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.big-card p { color: var(--neutral-700); font-size: 0.97rem; }

.tag {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 20px;
}
.tag-blue { background: var(--brand-100); color: var(--brand-700); }
.tag-amber { background: var(--amber-100); color: var(--amber-700); }
.tag-green { background: var(--green-100); color: var(--green-700); }
.tag-violet { background: var(--violet-100); color: var(--violet-700); }

.mini-mock {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 6px 18px;
  background: var(--cream);
  box-shadow: inset 0 1px 2px rgba(38, 36, 31, 0.03);
}
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--neutral-800);
}
.mini-row:last-child { border-bottom: 0; }
.mini-row > span:first-child { flex: 1; min-width: 0; }
.mini-row em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 78px;
  text-align: right;
}
.ok-text { color: var(--green-700); }
.warn-text { color: var(--amber-700); }

/* Bills card — PO → Bill → credit, as a little timeline */
.mini-flow {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 18px;
  background: var(--cream);
  box-shadow: inset 0 1px 2px rgba(38, 36, 31, 0.03);
}
.flow-step {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 9px 0;
}
.flow-step::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 26px;
  bottom: -8px;
  width: 2px;
  background: var(--hairline-strong);
}
.flow-step:last-child::before { display: none; }
.flow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--paper);
  border: 2px solid var(--neutral-600);
  position: relative;
  z-index: 1;
}
.flow-step.done .flow-dot { background: var(--green-500); border-color: var(--green-500); }
.flow-step strong { display: block; font-size: 0.86rem; color: var(--neutral-900); letter-spacing: -0.01em; }
.flow-step small { color: var(--neutral-600); font-size: 0.75rem; font-variant-numeric: tabular-nums; }

/* Inventory card — stock level bars */
.mini-stock {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 6px 18px;
  background: var(--cream);
  box-shadow: inset 0 1px 2px rgba(38, 36, 31, 0.03);
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--neutral-800);
}
.stock-row > span:first-child { flex: 1; min-width: 0; }
.stock-bar {
  width: 86px;
  height: 6px;
  border-radius: 999px;
  background: rgba(38, 36, 31, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.stock-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: var(--green-500);
}
.stock-bar i.low { background: var(--amber-700); }
.stock-row em,
.stock-foot em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  text-align: right;
  white-space: nowrap;
}
.stock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  font-size: 0.86rem;
  color: var(--neutral-800);
}

/* Reports card — mini P&L with a proper accounting total rule */
.mini-statement {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 18px 10px;
  background: var(--cream);
  box-shadow: inset 0 1px 2px rgba(38, 36, 31, 0.03);
}
.stmt-title {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neutral-600);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--hairline);
}
.stmt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.86rem;
  color: var(--neutral-800);
  border-bottom: 1px solid var(--hairline);
}
.stmt-row em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stmt-row.total {
  border-bottom: 0;
  border-top: 2px solid var(--neutral-800);
  margin-top: -1px;
  font-weight: 600;
  color: var(--neutral-900);
}

.grid-more {
  text-align: center;
  margin: 52px auto 0;
  max-width: 860px;
}
.more-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--neutral-600);
  margin-bottom: 16px;
}
.more-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.more-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neutral-800);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ════════════════════════════════════════════════════════════════
   Banking spotlight
   ════════════════════════════════════════════════════════════════ */
.spotlight { padding: 100px 0; }
.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.check-list li { padding-left: 36px; position: relative; color: var(--neutral-700); }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  color: var(--brand-600);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list strong { color: var(--neutral-900); }

.mock-window {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  background: var(--cream);
}
.mock-titlebar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline-strong); }
.mock-url {
  margin-left: 10px;
  font-size: 0.74rem;
  color: var(--neutral-700);
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 3px 13px;
}
.mock-body { padding: 22px; display: grid; gap: 4px; }

.mock-bankrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.88rem;
}
.mock-bankrow > div { flex: 1; min-width: 0; }
.mock-bankrow strong { display: block; font-size: 0.85rem; letter-spacing: 0.01em; }
.mock-bankrow small { color: var(--neutral-600); font-size: 0.76rem; }
.amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.amount.in { color: var(--green-700); }
.amount.out { color: var(--neutral-900); }
.chip {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  padding: 4px 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.chip:hover { background: var(--brand-100); }
.mock-reconcile { padding-top: 18px; }
.mock-panel-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neutral-600);
  margin-bottom: 10px;
}
.recon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════════════════════════════════════
   Onboarding
   ════════════════════════════════════════════════════════════════ */
.onboarding { padding: 110px 0; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.steps h3 { font-size: 1.08rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  color: var(--neutral-900);
  background: transparent;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.steps p { color: var(--neutral-700); font-size: 0.92rem; margin: 0; }

/* ════════════════════════════════════════════════════════════════
   Accountants
   ════════════════════════════════════════════════════════════════ */
.accountants { padding: 100px 0; }
.accountants-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 76px;
  align-items: center;
}
.accountant-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  display: grid;
  gap: 20px;
}
.avatar-row { display: flex; align-items: center; gap: 14px; }
.avatar-row > div:nth-child(2) { flex: 1; }
.avatar-row strong { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.avatar-row small { color: var(--neutral-600); font-size: 0.8rem; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.avatar.alt { background: var(--brand-100); color: var(--brand-800); box-shadow: none; }

/* ════════════════════════════════════════════════════════════════
   Pricing — featured plan goes ink
   ════════════════════════════════════════════════════════════════ */
.pricing { padding: 110px 0 120px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--neutral-700); }
.price { font-size: 0.95rem; color: var(--neutral-600); margin: 4px 0 12px; }
.price span {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 460;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  margin-right: 2px;
}
.price-desc { color: var(--neutral-700); font-size: 0.88rem; min-height: 3.4em; }
.price-card ul {
  list-style: none;
  padding: 22px 0 0;
  margin: 0 0 30px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 11px;
  flex: 1;
}
.price-card li {
  font-size: 0.88rem;
  color: var(--neutral-800);
  padding-left: 24px;
  position: relative;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-600);
  font-weight: 700;
}

/* Featured plan — the ink moment */
.price-card.featured {
  background:
    radial-gradient(420px 260px at 85% -10%, rgba(68, 128, 232, 0.35) 0%, transparent 60%),
    linear-gradient(170deg, var(--ink-700), var(--ink-900) 75%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3 { color: var(--brand-200); }
.price-card.featured .price { color: rgba(246, 242, 234, 0.6); }
.price-card.featured .price span { color: var(--cream); }
.price-card.featured .price-desc { color: rgba(246, 242, 234, 0.72); }
.price-card.featured ul { border-top-color: rgba(246, 242, 234, 0.14); }
.price-card.featured li { color: rgba(246, 242, 234, 0.88); }
.price-card.featured li::before { color: var(--brand-300); }
.price-card .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 16px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(47, 111, 219, 0.4);
}

.pricing-note {
  text-align: center;
  color: var(--neutral-600);
  font-size: 0.9rem;
  margin-top: 36px;
}

/* ════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════ */
.faq { padding: 90px 0 110px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro .lead { margin-top: 18px; }
.faq-contact {
  margin-top: 34px;
  color: var(--neutral-700);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-contact a {
  color: var(--brand-600);
  font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-600) 35%, transparent);
  padding-bottom: 1px;
}
.faq-contact a:hover { border-bottom-color: var(--brand-600); }
.faq-list { display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0 26px;
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  padding: 20px 36px 20px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--neutral-600);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--brand-600);
}
.faq details p { color: var(--neutral-700); padding-bottom: 22px; margin: 0; max-width: 640px; }

/* ════════════════════════════════════════════════════════════════
   Final CTA — giant rounded ink panel
   ════════════════════════════════════════════════════════════════ */
.cta { padding: 20px 28px 18px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: clamp(80px, 11vw, 140px) 32px;
  text-align: center;
  background:
    radial-gradient(900px 460px at 50% -20%, rgba(68, 128, 232, 0.45) 0%, transparent 65%),
    radial-gradient(700px 420px at 88% 115%, rgba(146, 184, 247, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, var(--ink-800), var(--ink-900) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.cta-panel h2 {
  color: var(--cream);
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
}
.cta-panel h2 em { color: var(--brand-300); }
.cta-panel p {
  color: rgba(246, 242, 234, 0.72);
  font-size: 1.14rem;
  margin-bottom: 40px;
}
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel .grain { z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  font-size: 0.92rem;
  color: var(--neutral-700);
}

/* Ghost wordmark — oversized serif, barely there */
.footer-ghost {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(7rem, 22vw, 19rem);
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.03em;
  color: rgba(38, 36, 31, 0.05);
  user-select: none;
  pointer-events: none;
  margin: 0 -40px -0.18em;
  white-space: nowrap;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 52px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.footer .nav-brand { margin-bottom: 16px; font-size: 1.35rem; }
.footer-brand p { max-width: 280px; line-height: 1.7; }
.footer h4 {
  color: var(--neutral-900);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.footer-grid a {
  display: block;
  color: var(--neutral-700);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: var(--neutral-900); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 0.82rem;
  color: var(--neutral-600);
}
.footer-bottom span:last-child { font-style: italic; font-family: var(--font-display); font-size: 0.92rem; }

/* ── Reveal animation, with stagger in grids ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.big-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.big-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.big-grid .reveal:nth-child(4),
.steps .reveal:nth-child(4),
.pricing-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .float-chip { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .card-accounts { width: 280px; right: 48px; top: 80px; }
  .chip-health { right: 240px; bottom: 96px; }
  .hero-panel { margin-left: 40px; }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .reveal, .steps .reveal { transition-delay: 0s; }
}

@media (max-width: 880px) {
  .big-grid { grid-template-columns: 1fr; }
  .big-card.span-7, .big-card.span-5 { grid-column: auto; }
  .big-grid .reveal { transition-delay: 0s; }
  .spotlight-grid, .accountants-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .spotlight-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 12px 12px 0; }
  .hero-canvas { min-height: 0; align-items: stretch; flex-direction: column; }
  .card-accounts, .chip-health { position: static; }
  .chip-health { display: none; }
  .card-accounts { width: auto; margin: 28px 24px 36px; order: 2; }
  .hero-panel { margin: 44px 28px 40px; max-width: none; order: 1; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 28px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a { padding: 13px 0; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav-menu > a:hover { background: none; }
  .nav-actions { margin: 18px 0 0; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  .pricing-grid, .steps { grid-template-columns: 1fr; }
  .everything, .onboarding, .pricing { padding: 76px 0; }
  .spotlight, .accountants, .faq { padding: 64px 0; }
  .big-card { padding: 30px 26px; }
  .hero-strip span:not(:first-child) { display: none; }
  .hero-strip span:first-child::after { display: none; }
}
