*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #4A8C7C;
  --brand-dark: #357060;
  --brand-teal-50: #E5F0EC;
  --brand-teal-100: #C2DDD5;
  --text: #111110;
  --text-2: #5A5955;
  --text-3: #9E9C96;
  --border: #E4E2DC;
  --surface: #FFFFFF;
  --bg: #F7F6F1;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --r: 12px;

  /* Surfaces, ink and states that change in dark mode */
  --nav-bg: rgba(247, 246, 241, 0.85);
  --ink: #111110;            /* dark buttons */
  --on-ink: #FFFFFF;
  --ink-hover: #2A2925;
  --on-brand: #FFFFFF;       /* text on teal */
  --hover-border: #C5C3BC;
  --danger: #C0392B;
  --paid-bg: #E8F5E9;
  --paid-ink: #265B19;
  --pending-bg: #FFF8E1;
  --pending-ink: #B45309;
  --muted-bg: #F0EFEA;
  --muted-ink: #75736C;
  --sunk: #FBFAF7;
  --track: #EEEDE7;
  --panel-dark: #1A2E29;
  --cta-bg: var(--brand);
  --cta-border: transparent;
  --cta-ink: #FFFFFF;
  --cta-sub: rgba(255, 255, 255, 0.8);
  --shadow-card: 0 10px 24px -12px rgba(16, 24, 40, 0.10), 0 2px 6px -2px rgba(16, 24, 40, 0.04);
  --shadow-box: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.06), 0 24px 64px rgba(0, 0, 0, 0.06);
  --shadow-mock: 0 1px 2px rgba(17, 17, 16, 0.04), 0 12px 32px -12px rgba(17, 17, 16, 0.12);
  --shadow-toast: 0 12px 32px -10px rgba(17, 17, 16, 0.2);
}

/* Dark: follows the device (or the sun/moon button), set on <html> by theme.js */
:root[data-theme="dark"] {
  --brand: #5FA592;
  --brand-dark: #8CC7B7;
  --brand-teal-50: #1C2A26;
  --brand-teal-100: #284139;
  --text: #ECEAE4;
  --text-2: #A6A49C;
  --text-3: #77756E;
  --border: #302F2B;
  --surface: #1E1E1C;
  --bg: #161615;

  --nav-bg: rgba(22, 22, 21, 0.82);
  --ink: #ECEAE4;
  --on-ink: #111110;
  --ink-hover: #FFFFFF;
  --on-brand: #0F1A17;
  --hover-border: #4A4944;
  --danger: #E5675A;
  --paid-bg: #1B2A1E;
  --paid-ink: #7CC48A;
  --pending-bg: #2D2618;
  --pending-ink: #F0B65A;
  --muted-bg: #2A2926;
  --muted-ink: #A09E97;
  --sunk: #1A1A18;
  --track: #2E2D2A;
  --panel-dark: #1C2A26;
  --cta-bg: #1C2A26;
  --cta-border: #284139;
  --cta-ink: #ECEAE4;
  --cta-sub: #A6A49C;
  --shadow-card: 0 10px 24px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --shadow-box: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-mock: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-toast: 0 12px 32px -10px rgba(0, 0, 0, 0.7);
}

html { scroll-behavior: smooth; }
body, .nav, .auth-box, .fcard, .mock, .lp-visual, .lp-steps li { transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-logo img { width: 26px; height: 26px; }

.nav-logo span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-beta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-teal-50);
  border: 1px solid var(--brand-teal-100);
  padding: 4px 10px;
  border-radius: 20px;
}

.beta-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: bpulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes bpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,140,124,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(74,140,124,0); }
}

.nav-contact {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-contact:hover { color: var(--text); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Floating cards */
.float {
  position: absolute;
  z-index: 3;
  animation: bob 7s ease-in-out infinite;
}

.float-tl { top: 14%; left: 5%; transform: rotate(-5deg); animation-delay: 0s; }
.float-tr { top: 12%; right: 5%; transform: rotate(4deg); animation-delay: 1.2s; }
.float-bl { bottom: 18%; left: 4%; transform: rotate(3deg); animation-delay: 2.1s; }
.float-br { bottom: 20%; right: 5%; transform: rotate(-4deg); animation-delay: 0.6s; }
.float-ml { top: 55%; left: 9%; transform: rotate(-2deg); animation-delay: 1.8s; }
.float-mr { top: 50%; right: 8%; transform: rotate(2deg); animation-delay: 0.9s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

.float-tl { --r: -5deg; }
.float-tr { --r: 4deg; }
.float-bl { --r: 3deg; }
.float-br { --r: -4deg; }
.float-ml { --r: -2deg; }
.float-mr { --r: 2deg; }

.fcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 168px;
  box-shadow: var(--shadow-card);
}

.fcard-dark {
  background: var(--panel-dark);
  border-color: transparent;
  min-width: 180px;
}

.fcard-sm { min-width: 148px; padding: 14px 16px; }

.fcard-pill {
  min-width: 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
}

.fcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.fcard-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-3);
}

.fcard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.fcard-amount {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 4px;
}

.fcard-amount-sm { font-size: 17px; }

.fcard-meta {
  font-size: 10px;
  color: var(--text-3);
}

.fcard-bar {
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.fcard-bar-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, #6DB8A7, #4A8C7C);
  border-radius: 2px;
}

.chip {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 20px;
}

.chip-paid { background: var(--brand-teal-50); color: var(--brand); border: 1px solid var(--brand-teal-100); }
.chip-pending { background: var(--pending-bg); color: var(--pending-ink); border: 1px solid #F59E0B50; }

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-dot-green { background: var(--brand); }
.pill-dot-amber { background: #F59E0B; }

.fcard-pill span:last-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Hero center */
.hero-center {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  padding: 0 24px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 28px;
  letter-spacing: 0.1px;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: kpulse 2s ease-in-out infinite;
}

@keyframes kpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--brand);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 380px;
}

/* Auth box */
.auth-box {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-box);
  text-align: left;
}

.btn-google {
  height: 44px;
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s, border-color 0.15s;
}

.btn-google:hover:not(:disabled) { background: var(--bg); border-color: var(--hover-border); }
.btn-google:disabled { cursor: not-allowed; color: var(--text-3); background: var(--bg); }
.btn-google:disabled svg { opacity: 0.45; filter: grayscale(1); }
.btn-google-soon {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-teal-50);
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-dark);
}

.auth-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.2px;
}

.auth-sep::before,
.auth-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.field-wrap { display: flex; flex-direction: column; gap: 5px; }

.field-wrap input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.field-wrap input::placeholder { color: var(--text-3); }
.field-wrap input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(74,140,124,0.12); }
.field-wrap input.is-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }

.field-error { font-size: 12px; color: var(--danger); min-height: 16px; }

.btn-cta {
  height: 46px;
  width: 100%;
  background: var(--ink);
  color: var(--on-ink);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.1px;
}

.btn-cta:hover { background: var(--ink-hover); }
.btn-cta:active { transform: scale(0.99); }
.btn-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.auth-fine {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

.auth-fine a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hidden { display: none !important; }
.spin { animation: rotate 0.8s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ── CONTAINER ────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Below the hero everything is sans: calm, 500-weight headings, lots of room */
.lp-eyebrow {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}
.lp-h2 {
  max-width: 820px;
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
}
.lp-h2.is-small { font-size: 36px; line-height: 1.15; }
.lp-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Fade up as sections scroll in (only when JS adds .is-ready to <html>) */
.lp-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lp-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── INTRO ────────────────────────────────────────────── */
.lp-intro {
  padding: 128px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* ── FEATURE ROWS ─────────────────────────────────────── */
.lp-features { padding: 56px 0 120px; background: var(--surface); }
.lp-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 72px;
  padding: 56px 0;
}
.lp-row + .lp-row { border-top: 1px solid var(--border); }
.lp-row.is-flipped { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.lp-row.is-flipped .lp-copy { order: 2; }

.lp-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--brand-teal-50);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-dark);
}
.lp-copy h3 {
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
}
.lp-copy p { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.lp-points { display: grid; gap: 10px; margin-top: 22px; list-style: none; }
.lp-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.lp-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--brand-teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.2l2.2 2.2L11.5 5.6' stroke='%23357060' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The stage each mock sits on */
.lp-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 48px 40px;
  border-radius: 24px;
  background: var(--bg);
  overflow: hidden;
}

/* ── Product mocks (pure HTML, no screenshots) ────────── */
.mock {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-mock);
}
.mock-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.mock-chip.is-approved { background: var(--brand-teal-50); color: var(--brand-dark); }
.mock-chip.is-paid { background: var(--paid-bg); color: var(--paid-ink); }
.mock-chip.is-locked { background: var(--muted-bg); color: var(--muted-ink); }

.mock-doc { max-width: 380px; padding: 22px 24px; }
.mock-doc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mock-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text); }
.mock-brand img { width: 20px; height: 20px; }
.mock-doc-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--brand); }
.mock-doc-meta { margin-top: 4px; font-size: 12.5px; color: var(--text-3); }
.mock-lines { display: grid; margin-top: 18px; border-top: 1px solid var(--border); }
.mock-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.mock-lines div span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }
.mock-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--text-2); }
.mock-total strong { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.mock-actions { display: flex; gap: 8px; margin-top: 18px; }
.mock-actions span {
  flex: 1;
  padding: 9px 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  color: var(--text);
}
.mock-actions span.is-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

.mock-stack { display: grid; gap: 14px; width: 100%; max-width: 380px; }
.mock-inv { padding: 18px 20px; }
.mock-inv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }
.mock-inv strong { display: block; margin: 10px 0 12px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.mock-inv p { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.mock-inv.is-locked { background: var(--sunk); box-shadow: none; transform: translateX(18px); }
.mock-inv.is-locked strong { color: var(--text-3); }
.mock-bar { height: 4px; border-radius: 4px; background: var(--track); overflow: hidden; }
.mock-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }

.mock-receipt { position: relative; width: 100%; max-width: 380px; padding-top: 36px; }
.mock-toast {
  position: absolute;
  top: 0;
  right: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  padding: 10px 14px 10px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  box-shadow: var(--shadow-toast);
}
.mock-toast > span:last-child { display: grid; gap: 1px; color: var(--text-3); }
.mock-toast strong { font-weight: 500; color: var(--text); }
.mock-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #5FD69A, #1E8A55);
}

.mock-dash { max-width: 400px; padding: 22px 24px 18px; }
.mock-dash-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.mock-up { padding: 2px 7px; border-radius: 4px; background: var(--paid-bg); font-size: 12px; font-weight: 500; color: var(--paid-ink); }
.mock-dash > strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; color: var(--text); }
.mock-bars { display: flex; align-items: flex-end; gap: 12px; height: 140px; margin-top: 22px; padding-bottom: 1px; border-bottom: 1px solid var(--border); }
.mock-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--brand); opacity: 0.35; }
.mock-bars span.is-now { opacity: 1; }
.mock-months { display: flex; gap: 12px; margin-top: 8px; }
.mock-months span { flex: 1; font-size: 11px; text-align: center; color: var(--text-3); }

/* ── HOW IT WORKS ─────────────────────────────────────── */
.lp-steps-section { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  list-style: none;
}
.lp-steps li {
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 40px;
  border-radius: 8px;
  background: var(--brand-teal-50);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
}
.lp-steps h3 { margin-bottom: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.lp-steps p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* ── WHO IT'S FOR + FOUNDER NOTE ──────────────────────── */
.lp-people { padding: 120px 0; background: var(--surface); border-top: 1px solid var(--border); }
.lp-people-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lp-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.lp-roles li {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg);
}
.lp-note {
  margin: 0;
  padding: 36px;
  border-radius: 24px;
  background: var(--panel-dark);
  border: 1px solid var(--cta-border);
  color: #fff;
}
.lp-note blockquote { font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.92); }
.lp-note figcaption { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.lp-note-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 500;
}
.lp-note figcaption > span:last-child { display: grid; gap: 2px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.lp-note strong { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }

/* ── FAQ ──────────────────────────────────────────────── */
.lp-faq { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.lp-faq-help { margin-top: 18px; font-size: 15px; color: var(--text-2); }
.lp-faq-help a { color: var(--brand); text-decoration: none; }
.lp-faq-help a:hover { text-decoration: underline; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--brand); }
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.faq-icon { flex-shrink: 0; transition: transform 0.25s ease; opacity: 0.45; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); opacity: 0.8; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a.is-open { max-height: 240px; }
.faq-a p { max-width: 560px; padding-bottom: 22px; font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* ── CLOSING CTA ──────────────────────────────────────── */
.lp-cta { padding: 0 0 120px; background: var(--bg); }
.lp-cta-panel {
  padding: 80px 40px;
  border-radius: 28px;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  text-align: center;
  color: var(--cta-ink);
}
.lp-cta-panel h2 { font-size: 44px; font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.lp-cta-panel p { margin-top: 14px; font-size: 17px; color: var(--cta-sub); }
.lp-cta-btn {
  height: 48px;
  margin-top: 32px;
  padding: 0 26px;
  border: none;
  border-radius: 12px;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #111110;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35); }
.lp-cta-btn:focus-visible { outline: 2px solid var(--cta-ink); outline-offset: 3px; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo img { width: 22px; height: 22px; }

.footer-logo span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-beta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
}

.nl-title { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.nl-sub { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }

.nl-form {
  display: flex;
  gap: 8px;
}

.nl-form input {
  width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}

.nl-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-teal-50); }

.nl-form button {
  height: 42px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--on-ink);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nl-form button:hover { background: var(--ink-hover); }
.nl-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.nl-note { font-size: 12px; color: var(--text-3); margin-top: 8px; min-height: 18px; }
.nl-note.is-success { color: var(--brand); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 18px 40px; }
  .hero-title { font-size: 60px; }
  .float-tl, .float-bl { left: 1%; }
  .float-tr, .float-br { right: 1%; }

  .lp-h2 { font-size: 42px; }
  .lp-row { gap: 44px; }
  .lp-visual { padding: 40px 28px; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-people-grid, .lp-faq-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .container { padding: 0 20px; }

  .float { display: none; }
  .hero { padding-top: 70px; min-height: auto; padding-bottom: 60px; }
  .hero-center { padding: 0; width: 90%; }
  .hero-title { font-size: 44px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }
  .auth-box { max-width: 100%; }

  .lp-intro { padding: 80px 0 8px; }
  .lp-h2 { font-size: 34px; }
  .lp-h2.is-small { font-size: 28px; }
  .lp-lead { margin-top: 16px; font-size: 16px; }

  .lp-features { padding: 16px 0 64px; }
  .lp-row, .lp-row.is-flipped { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .lp-row.is-flipped .lp-copy { order: 0; }
  .lp-copy h3 { font-size: 24px; }
  .lp-copy p { font-size: 15px; }
  .lp-visual { min-height: 0; padding: 32px 18px; border-radius: 20px; }
  .mock-doc { padding: 18px; }
  .mock-inv.is-locked { transform: translateX(8px); }
  .mock-toast { right: -6px; }

  .lp-steps-section, .lp-people, .lp-faq { padding: 72px 0; }
  .lp-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .lp-steps li { padding: 20px; }
  .lp-step-num { margin-bottom: 18px; }

  .lp-people-grid, .lp-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-note { padding: 28px 24px; border-radius: 20px; }
  .lp-note blockquote { font-size: 19px; }
  .faq-q { font-size: 16px; padding: 18px 0; }

  .lp-cta { padding-bottom: 72px; }
  .lp-cta-panel { padding: 56px 24px; border-radius: 22px; }
  .lp-cta-panel h2 { font-size: 32px; }
  .lp-cta-btn { width: 100%; max-width: 320px; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .nl-form { flex-direction: column; }
  .nl-form input { width: 100%; flex: none; min-width: 0; font-size: 16px; }
  .nl-form button { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 20px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .auth-box { padding: 18px; max-width: 100%; }
  .lp-h2 { font-size: 30px; }
}

/* ── Theme toggle (nav) ───────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.25s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--hover-border); }
.theme-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
