/* ==========================================================================
   Cashflow — landing page
   Design tokens transcribed from the app: src/constants/cf-theme.ts
   ========================================================================== */

:root {
  /* Light surface (CF) */
  --cf-bg: #F6F8FB;
  --cf-bg-sunken: #EEF2F7;
  --cf-surface: #FFFFFF;
  --cf-surface-2: #F8FAFC;
  --cf-ink: #0B1220;
  --cf-ink-2: #334155;
  --cf-muted: #5A6675;
  --cf-muted-2: #94A3B8;
  --cf-hairline: #E5EAF1;
  --cf-hairline-strong: #D6DDE7;

  /* Accent — teal to emerald */
  --cf-accent: #0d9488;
  --cf-accent-2: #059669;
  --cf-accent-hover: #0f766e;
  --cf-accent-tint: rgba(13, 148, 136, 0.08);
  --cf-accent-soft: rgba(13, 148, 136, 0.16);

  /* Semantic */
  --cf-income: #059669;
  --cf-income-tint: rgba(5, 150, 105, 0.09);
  --cf-expense: #475569;
  --cf-expense-tint: rgba(71, 85, 105, 0.10);
  --cf-loss: #B91C1C;
  --cf-loss-tint: rgba(185, 28, 28, 0.08);
  --cf-loan: #0369a1;
  --cf-loan-tint: rgba(3, 105, 161, 0.09);

  /* Dark band (CF_DARK) */
  --cf-dark-bg: #0B1220;
  --cf-dark-sunken: #060914;
  --cf-dark-surface: #131B2C;
  --cf-dark-surface-2: #1A2335;
  --cf-dark-ink: #E5EAF1;
  --cf-dark-ink-2: #B6C0D0;
  --cf-dark-muted: #8B96A9;
  --cf-dark-hairline: rgba(229, 234, 241, 0.08);
  --cf-dark-hairline-strong: rgba(229, 234, 241, 0.16);
  --cf-dark-accent: #2dd4bf;
  --cf-dark-accent-2: #34d399;

  /* Radii */
  --cf-r-btn: 8px;
  --cf-r-card: 10px;
  --cf-r-card-lg: 12px;
  --cf-r-pill: 999px;

  /* Rhythm */
  --cf-shell: 1160px;
  --cf-pad: 24px;
  --cf-section: 96px;

  --cf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --cf-shadow-card: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.05);
  --cf-shadow-lift: 0 2px 4px rgba(11, 18, 32, 0.05), 0 18px 46px rgba(11, 18, 32, 0.12);
}

/* --------------------------------------------------------------- base --- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--cf-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cf-ink-2);
  background: var(--cf-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--cf-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--cf-accent);
  text-decoration: none;
}
a:hover { color: var(--cf-accent-hover); }

:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.cf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.shell {
  width: 100%;
  max-width: var(--cf-shell);
  margin-inline: auto;
  padding-inline: var(--cf-pad);
}

.section { padding-block: var(--cf-section); }
.section--tight { padding-block: 64px; }

.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--cf-muted);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--cf-r-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.28);
}
.btn--primary:hover {
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.36);
}

.btn--ghost-dark {
  background: rgba(229, 234, 241, 0.06);
  border-color: var(--cf-dark-hairline-strong);
  color: var(--cf-dark-ink);
}
.btn--ghost-dark:hover {
  background: rgba(229, 234, 241, 0.12);
  color: var(--cf-dark-ink);
}

.btn--ghost {
  background: var(--cf-surface);
  border-color: var(--cf-hairline-strong);
  color: var(--cf-ink);
}
.btn--ghost:hover { color: var(--cf-ink); border-color: var(--cf-muted-2); }

.btn--white {
  background: #fff;
  color: var(--cf-accent-hover);
  box-shadow: 0 8px 24px rgba(6, 9, 20, 0.18);
}
.btn--white:hover { color: var(--cf-accent-hover); }

.btn--sm { padding: 9px 16px; font-size: 14px; }

.btn__play {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn__stack { text-align: left; line-height: 1.15; }
.btn__stack small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.btn__stack span { font-size: 16px; font-weight: 700; }

/* ---------------------------------------------------------------- nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cf-dark-bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.nav.is-stuck {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--cf-dark-hairline);
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: var(--cf-r-card);
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--cf-r-btn);
  color: var(--cf-dark-ink-2);
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a:hover {
  color: #fff;
  background: rgba(229, 234, 241, 0.07);
}

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--cf-dark-hairline-strong);
  border-radius: var(--cf-r-btn);
  background: rgba(229, 234, 241, 0.06);
  color: var(--cf-dark-ink);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 3.4px auto;
  background: currentColor;
  border-radius: 2px;
}

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  background: var(--cf-dark-bg);
  color: var(--cf-dark-ink);
  overflow: hidden;
  padding-block: 84px 96px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 720px; height: 720px;
  top: -320px; right: -180px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.30), transparent 62%);
}
.hero::after {
  width: 560px; height: 560px;
  bottom: -300px; left: -200px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18), transparent 65%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--cf-dark-hairline-strong);
  border-radius: var(--cf-r-pill);
  background: rgba(45, 212, 191, 0.08);
  color: var(--cf-dark-accent);
  font-size: 13px;
  font-weight: 600;
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cf-dark-accent-2);
  flex: none;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5.6vw, 62px);
  color: #fff;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cf-dark-accent), var(--cf-dark-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: 20px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--cf-dark-ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--cf-dark-muted);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust svg {
  width: 14px; height: 14px;
  color: var(--cf-dark-accent-2);
  flex: none;
}

.hero__art {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.hero__art .phone {
  transform: rotateY(-11deg) rotateX(3deg) rotate(1.5deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

/* -------------------------------------------------------------- proof --- */

.proof {
  background: var(--cf-surface);
  border-bottom: 1px solid var(--cf-hairline);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--cf-hairline);
  border-inline: 1px solid var(--cf-hairline);
}
.proof__item {
  background: var(--cf-surface);
  padding: 26px 22px;
}
.proof__item strong {
  display: block;
  font-size: 15.5px;
  color: var(--cf-ink);
  font-weight: 700;
}
.proof__item strong ~ span {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--cf-muted);
}
.proof__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--cf-accent-tint);
  color: var(--cf-accent);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.proof__icon svg { width: 17px; height: 17px; }

/* ----------------------------------------------------------- features --- */

.group + .group { margin-top: 56px; }

.group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cf-muted);
}
.group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cf-hairline);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card-lg);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--cf-hairline-strong);
  box-shadow: var(--cf-shadow-card);
}
.card__icon {
  width: 38px; height: 38px;
  border-radius: var(--cf-r-card);
  background: var(--cf-accent-tint);
  color: var(--cf-accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cf-muted);
}

/* ------------------------------------------------------------ screens --- */

.screens { background: var(--cf-bg-sunken); }

.screens__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  justify-items: center;
}

.screens__item { max-width: 320px; text-align: center; }
.screens__item h3 {
  margin-top: 24px;
  font-size: 17px;
}
.screens__item p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--cf-muted);
}

/* ------------------------------------------------------- phone mockup --- */

.phone {
  width: 300px;
  height: 620px;
  flex: none;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #202b40, #0B1220);
  box-shadow: var(--cf-shadow-lift);
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  background: var(--cf-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--cf-ink-2);
  text-align: left;
}

.phone__notch {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 20px;
  border-radius: var(--cf-r-pill);
  background: var(--cf-ink);
  z-index: 3;
}

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--cf-ink);
}
.ph-status__dots { display: flex; gap: 3px; }
.ph-status__dots i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cf-muted-2);
  display: block;
}

.ph-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 10px;
}
.ph-head__mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.ph-head__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cf-ink);
  letter-spacing: -0.02em;
}
.ph-head__spacer { margin-left: auto; display: flex; gap: 6px; }
.ph-head__btn {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  display: grid;
  place-items: center;
  color: var(--cf-ink-2);
}
.ph-head__btn svg { width: 11px; height: 11px; }

.ph-body {
  flex: 1;
  overflow: hidden;
  padding: 0 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ph-hero {
  border-radius: var(--cf-r-card-lg);
  padding: 14px;
  background: linear-gradient(150deg, #0f766e, #047857);
  color: #fff;
}
.ph-hero__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}
.ph-hero__amount {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ph-hero__delta {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: var(--cf-r-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 9px;
  font-weight: 600;
}
.ph-hero__trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.ph-hero__trio span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.ph-hero__trio strong {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
}

.ph-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.ph-quick__item {
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card);
  padding: 9px 4px;
  text-align: center;
}
.ph-quick__icon {
  width: 22px; height: 22px;
  border-radius: 7px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
}
.ph-quick__icon svg { width: 12px; height: 12px; }
.ph-quick__item span {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--cf-ink-2);
}

.ph-card {
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card);
  padding: 11px 12px;
}
.ph-card--flush { padding: 0; overflow: hidden; }

.ph-sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 2px 0;
}
.ph-sec strong {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-muted);
}
.ph-sec span { font-size: 9px; color: var(--cf-accent); font-weight: 600; }

.ph-month { display: flex; justify-content: space-between; gap: 10px; }
.ph-month__col span {
  font-size: 8.5px;
  color: var(--cf-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.ph-month__col strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.ph-in { color: var(--cf-income); }
.ph-out { color: var(--cf-expense); }
.ph-neg { color: var(--cf-loss); }

.ph-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
}
.ph-row + .ph-row { border-top: 1px solid var(--cf-hairline); }
.ph-row__icon {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--cf-surface-2);
  color: var(--cf-ink-2);
}
.ph-row__icon svg { width: 12px; height: 12px; }
.ph-row__meta { min-width: 0; flex: 1; }
.ph-row__meta strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--cf-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-row__meta span {
  display: block;
  font-size: 9px;
  color: var(--cf-muted);
  margin-top: 1px;
}
.ph-row__amt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: none;
}

.ph-bar {
  height: 5px;
  border-radius: var(--cf-r-pill);
  background: var(--cf-bg-sunken);
  overflow: hidden;
  margin-top: 6px;
}
.ph-bar i {
  display: block;
  height: 100%;
  border-radius: var(--cf-r-pill);
  background: linear-gradient(90deg, var(--cf-accent), var(--cf-accent-2));
}
.ph-bar--over i { background: var(--cf-loss); }

.ph-budget { padding: 10px 12px; }
.ph-budget + .ph-budget { border-top: 1px solid var(--cf-hairline); }
.ph-budget__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.ph-budget__top strong { font-size: 11px; color: var(--cf-ink); font-weight: 600; }
.ph-budget__top span { font-size: 9.5px; color: var(--cf-muted); }

.ph-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 78px;
  padding-top: 8px;
}
.ph-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.ph-chart__pair {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  width: 100%;
  justify-content: center;
}
.ph-chart__pair i {
  display: block;
  width: 7px;
  border-radius: 3px 3px 0 0;
}
.ph-chart__pair i:first-child { background: var(--cf-income); }
.ph-chart__pair i:last-child { background: var(--cf-hairline-strong); }
.ph-chart__col span { font-size: 7.5px; color: var(--cf-muted); }

.ph-legend {
  display: flex;
  gap: 12px;
  padding-top: 8px;
  font-size: 8.5px;
  color: var(--cf-muted);
}
.ph-legend span { display: inline-flex; align-items: center; gap: 4px; }
.ph-legend i { width: 7px; height: 7px; border-radius: 2px; display: block; }

.ph-warn {
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: var(--cf-loss-tint);
  border-radius: var(--cf-r-card);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-warn strong { font-size: 10px; color: var(--cf-loss); font-weight: 700; }
.ph-warn span { margin-left: auto; font-size: 9px; color: var(--cf-loss); font-weight: 600; }

.ph-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 4px 12px;
  background: var(--cf-surface);
  border-top: 1px solid var(--cf-hairline);
}
.ph-tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--cf-muted-2);
  font-size: 8px;
  font-weight: 600;
}
.ph-tabs__item svg { width: 15px; height: 15px; }
.ph-tabs__item.is-active { color: var(--cf-accent); }
.ph-tabs__fab {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  justify-self: center;
  margin-top: -14px;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
}
.ph-tabs__fab svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ scan --- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.scan { background: var(--cf-surface); border-block: 1px solid var(--cf-hairline); }

.scan__steps { margin-top: 28px; display: grid; gap: 16px; }
.scan__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.scan__num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cf-accent-tint);
  color: var(--cf-accent);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.scan__step strong { display: block; color: var(--cf-ink); font-size: 15.5px; }
.scan__step p { font-size: 14.5px; color: var(--cf-muted); margin-top: 3px; }

.note {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--cf-hairline-strong);
  border-left: 3px solid var(--cf-accent);
  border-radius: var(--cf-r-card);
  background: var(--cf-surface-2);
  font-size: 14px;
  color: var(--cf-ink-2);
  line-height: 1.55;
}
.note svg { width: 18px; height: 18px; color: var(--cf-accent); flex: none; margin-top: 2px; }

.receipt {
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card-lg);
  box-shadow: var(--cf-shadow-card);
  overflow: hidden;
}
.receipt__head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--cf-hairline);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-ink);
}
.receipt__head svg { width: 16px; height: 16px; color: var(--cf-accent); }
.receipt__head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--cf-accent);
  background: var(--cf-accent-tint);
  padding: 3px 9px;
  border-radius: var(--cf-r-pill);
}
.receipt__field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
}
.receipt__field + .receipt__field { border-top: 1px solid var(--cf-hairline); }
.receipt__field span { font-size: 12.5px; color: var(--cf-muted); }
.receipt__field strong { font-size: 14.5px; color: var(--cf-ink); }

/* ------------------------------------------------------------ privacy --- */

.privacy {
  background: var(--cf-dark-bg);
  color: var(--cf-dark-ink-2);
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  bottom: -380px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16), transparent 65%);
}
.privacy .shell { position: relative; z-index: 1; }
.privacy h2 { color: #fff; }
.privacy .eyebrow { color: var(--cf-dark-accent); }
.privacy .section-head p { color: var(--cf-dark-ink-2); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fact {
  background: var(--cf-dark-surface);
  border: 1px solid var(--cf-dark-hairline);
  border-radius: var(--cf-r-card-lg);
  padding: 22px;
}
.fact__icon {
  width: 36px; height: 36px;
  border-radius: var(--cf-r-card);
  background: rgba(45, 212, 191, 0.12);
  color: var(--cf-dark-accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.fact__icon svg { width: 19px; height: 19px; }
.fact strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-dark-muted);
}
.fact p {
  margin-top: 6px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.disclose {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--cf-dark-hairline-strong);
  border-radius: var(--cf-r-card-lg);
  background: var(--cf-dark-sunken);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cf-dark-ink-2);
}
.disclose strong { color: #fff; }
.disclose a { color: var(--cf-dark-accent); }

/* --------------------------------------------------------------- data --- */

.exports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.export {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card);
}
.export svg { width: 18px; height: 18px; color: var(--cf-accent); flex: none; margin-top: 2px; }
.export strong { display: block; font-size: 15px; color: var(--cf-ink); }
.export span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--cf-muted); }

/* ---------------------------------------------------------------- faq --- */

.faq { max-width: 780px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card);
  background: var(--cf-surface);
  padding: 0 20px;
}
.faq__item + .faq__item { margin-top: 10px; }
.faq__item[open] { border-color: var(--cf-hairline-strong); box-shadow: var(--cf-shadow-card); }
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--cf-ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--cf-muted);
  border-bottom: 2px solid var(--cf-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
  flex: none;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--cf-muted);
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------------------------------------------------------------- cta --- */

.cta {
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}
.cta p {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.92);
}
.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cta .shell > small {
  display: block;
  margin-top: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------- footer --- */

.footer {
  background: var(--cf-dark-bg);
  color: var(--cf-dark-muted);
  padding-block: 44px;
  font-size: 14px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}
.footer__links a { color: var(--cf-dark-ink-2); }
.footer__links a:hover { color: #fff; }
.footer__meta { width: 100%; margin-top: 8px; font-size: 13px; }

/* -------------------------------------------------------------- prose --- */

.page-head {
  background: var(--cf-dark-bg);
  color: #fff;
  padding-block: 64px 56px;
}
.page-head h1 { color: #fff; font-size: clamp(30px, 4.5vw, 44px); }
.page-head p { color: var(--cf-dark-ink-2); margin-top: 12px; font-size: 17px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 23px; margin-top: 42px; }
.prose p, .prose li { font-size: 16px; color: var(--cf-ink-2); line-height: 1.7; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; display: grid; gap: 9px; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 3px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cf-accent);
}

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
  :root { --cf-section: 76px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { gap: 32px; }
  .screens__strip { gap: 20px; }
  .phone { width: 264px; height: 546px; border-radius: 34px; }
  .phone__screen { border-radius: 27px; }
}

@media (max-width: 900px) {
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --cf-section: 64px; --cf-pad: 20px; }

  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 0 18px;
    background: var(--cf-dark-bg);
    border-bottom: 1px solid var(--cf-dark-hairline);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px; font-size: 16px; }
  .nav__cta { display: none; }

  .hero { padding-block: 56px 64px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { margin-top: 8px; perspective: none; }
  .hero__art .phone { transform: none; }
  .hero__lede { font-size: 17px; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .exports { grid-template-columns: 1fr; }

  .screens__strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: calc(var(--cf-pad) * -1);
    padding-inline: var(--cf-pad);
    -webkit-overflow-scrolling: touch;
  }
  .screens__item { scroll-snap-align: center; flex: none; width: 264px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr; border-inline: 0; }
  .btn { width: 100%; }
  .hero__actions, .cta__actions { flex-direction: column; }
  .footer__links { margin-left: 0; }
}

/* ------------------------------------------------------------- motion --- */

.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ----------------------------------------------------------- feedback --- */

.feedback { background: var(--cf-bg-sunken); }

.feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.feedback__intro h2 { font-size: 20px; }

.feedback__points {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.feedback__points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cf-ink-2);
}
.feedback__points svg {
  width: 16px; height: 16px;
  color: var(--cf-accent);
  flex: none;
  margin-top: 3px;
}

.feedback__alt {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--cf-muted);
}

/* --------------------------------------------------------------- form --- */

.form-card {
  background: var(--cf-surface);
  border: 1px solid var(--cf-hairline);
  border-radius: var(--cf-r-card-lg);
  box-shadow: var(--cf-shadow-card);
  padding: 26px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.field label,
.field legend {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cf-ink);
  padding: 0;
}
.field label em,
.field legend em {
  font-style: normal;
  font-weight: 500;
  color: var(--cf-muted-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  color: var(--cf-ink);
  background: var(--cf-surface-2);
  border: 1px solid var(--cf-hairline-strong);
  border-radius: var(--cf-r-input, var(--cf-r-btn));
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--cf-muted-2); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--cf-surface);
  border-color: var(--cf-accent);
  box-shadow: 0 0 0 3px var(--cf-accent-tint);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--cf-muted) 50%),
    linear-gradient(135deg, var(--cf-muted) 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field .input-validation-error,
.field input.input-validation-error,
.field select.input-validation-error,
.field textarea.input-validation-error {
  border-color: var(--cf-loss);
  background: var(--cf-loss-tint);
}

.field__error {
  font-size: 13px;
  color: var(--cf-loss);
  font-weight: 500;
}
.field__error:empty { display: none; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rating__scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.rating__scale input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.rating__scale label {
  display: grid;
  place-items: center;
  padding: 10px 0;
  border: 1px solid var(--cf-hairline-strong);
  border-radius: var(--cf-r-btn);
  background: var(--cf-surface-2);
  font-size: 15px;
  font-weight: 600;
  color: var(--cf-ink-2);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rating__scale label:hover { border-color: var(--cf-accent); color: var(--cf-accent); }
.rating__scale input:checked + label {
  background: linear-gradient(135deg, var(--cf-accent), var(--cf-accent-2));
  border-color: transparent;
  color: #fff;
}
.rating__scale input:focus-visible + label {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
}
.rating__ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--cf-muted-2);
}

.form-submit { justify-self: start; }
.form-submit svg { width: 16px; height: 16px; }

.form-note {
  font-size: 13px;
  color: var(--cf-muted);
  line-height: 1.5;
}

.form-banner {
  padding: 13px 15px;
  border: 1px solid rgba(185, 28, 28, 0.24);
  border-radius: var(--cf-r-btn);
  background: var(--cf-loss-tint);
  color: var(--cf-loss);
  font-size: 14px;
  font-weight: 500;
}

.validation-summary-errors { display: none; }

.form-card--done {
  text-align: center;
  padding: 44px 32px;
  gap: 0;
  justify-items: center;
}
.form-done__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cf-income-tint);
  color: var(--cf-income);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.form-done__icon svg { width: 26px; height: 26px; }
.form-card--done h3 { font-size: 20px; }
.form-card--done p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--cf-muted);
  max-width: 42ch;
}
.form-done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 780px) {
  .feedback__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .form-card { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { justify-self: stretch; }
}
