/* =============================================================
   ZOODLER — Landing page
   Design system matches the Ionic app + prototype.
   Light-first, warm off-white canvas. Chunky shadows.
   Dark mode via html[data-zoodler-theme="dark"].
   ============================================================= */

:root {
  /* surfaces */
  --z-bg:        #F6F4EC;
  --z-bg-deep:   #EDEAE0;
  --z-surface:   #FFFFFF;
  --z-surface-2: #F2F0E7;
  --z-hair:      #E4E1D4;

  /* ink */
  --z-ink:       #0B0E1F;
  --z-ink-soft:  #373B54;
  --z-ink-mute:  #8488A0;
  --z-ink-faint: #B7B9C7;

  /* brand palette — cube-faces */
  --z-sky:       #2D7EF7;
  --z-cyan:      #1FC9C2;
  --z-mint:      #1FC9A6;
  --z-lime:      #7DD83D;
  --z-tangerine: #F5A524;
  --z-punch:     #F26A2E;
  --z-red:       #E83A2B;
  --z-pink:      #E9348A;
  --z-violet:    #7C4DFF;

  /* tinted surfaces */
  --z-sky-t:    #E4EEFE;
  --z-mint-t:   #DBF4EC;
  --z-lime-t:   #E8F7D4;
  --z-tang-t:   #FDECCF;
  --z-punch-t:  #FCE0D0;
  --z-red-t:    #FBDAD3;
  --z-pink-t:   #FBE1EE;
  --z-violet-t: #E9E0FE;

  /* shadows — flat but chunky */
  --z-shadow-flat: 0 1px 0 rgba(11,14,31,0.04), 0 6px 16px rgba(11,14,31,0.05);
  --z-shadow-soft: 0 2px 0 rgba(11,14,31,0.05), 0 12px 28px rgba(11,14,31,0.08);
  --z-shadow-lift: 0 4px 0 rgba(11,14,31,0.08), 0 24px 50px rgba(11,14,31,0.12);

  /* radii */
  --z-r-xs:   8px;
  --z-r-sm:   12px;
  --z-r-md:   20px;
  --z-r-lg:   28px;
  --z-r-xl:   40px;
  --z-r-pill: 999px;

  --z-gutter: clamp(16px, 3vw, 32px);
}

html { color-scheme: light; }

html[data-zoodler-theme="dark"] {
  color-scheme: dark;
  --z-bg:        #080A12;
  --z-bg-deep:   #111522;
  --z-surface:   #171B2A;
  --z-surface-2: #20263A;
  --z-hair:      #30374F;

  --z-ink:       #F5F2E8;
  --z-ink-soft:  #D4D7E8;
  --z-ink-mute:  #8F97B2;
  --z-ink-faint: #586079;

  --z-sky-t:    #102244;
  --z-mint-t:   #0F332D;
  --z-lime-t:   #21351A;
  --z-tang-t:   #3A2A12;
  --z-punch-t:  #3D1D12;
  --z-red-t:    #3B1718;
  --z-pink-t:   #3A1730;
  --z-violet-t: #261D45;

  --z-shadow-flat: 0 1px 0 rgba(255,255,255,0.04), 0 8px 22px rgba(0,0,0,0.26);
  --z-shadow-soft: 0 2px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(0,0,0,0.34);
  --z-shadow-lift: 0 4px 0 rgba(255,255,255,0.06), 0 28px 58px rgba(0,0,0,0.46);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: 'wdth' 100, 'opsz' 14, 'GRAD' 0;
  font-weight: 420;
  background: var(--z-bg);
  color: var(--z-ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 180ms ease, color 180ms ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; letter-spacing: inherit; }
ul { list-style: none; }

::selection { background: var(--z-ink); color: var(--z-bg); }

/* ----- type utilities ----- */
.mono {
  font-family: 'Azeret Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.label {
  font-family: 'Azeret Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--z-ink-mute);
}
.display {
  font-variation-settings: 'wdth' 90, 'opsz' 96, 'GRAD' 0, 'wght' 760;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

/* =============================================================
   SHELL
   ============================================================= */
.shell {
  max-width: 1440px;
  margin: 0 2rem;
  padding: 0 var(--z-gutter);
  position: relative;
}

.page-shell { position: relative; }

/* =============================================================
   BUTTONS — chunky pill from the app
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--z-ink);
  color: var(--z-bg);
  border-radius: var(--z-r-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 0 rgba(11,14,31,0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 7px 0 0 rgba(11,14,31,0.30); }
.btn-primary:active { transform: translateY(2px);  box-shadow: 0 2px 0 0 rgba(11,14,31,0.25); }

.btn-primary.red           { background: var(--z-red); box-shadow: 0 5px 0 0 #A82517; }
.btn-primary.red:hover     { box-shadow: 0 7px 0 0 #A82517; }
.btn-primary.red:active    { box-shadow: 0 2px 0 0 #A82517; }

.btn-primary .plus {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  font-size: 16px;
  line-height: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--z-r-pill);
  background: var(--z-surface);
  color: var(--z-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--z-shadow-flat);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, transform 120ms ease;
}
.btn-ghost:hover { background: var(--z-bg-deep); transform: translateY(-1px); }

.full-width { display: flex; justify-content: center; width: 100%; }

/* =============================================================
   HERO RSS — composite pill: input flush with red submit.
   One offset shadow on the outer pill anchors the whole control,
   matching the chunky-pill aesthetic of .btn-primary without
   doubling shadows.
   ============================================================= */
.hero-rss {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 560px;
  margin: 0;
}

.hero-rss-pill {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: var(--z-surface);
  border-radius: var(--z-r-pill);
  padding: 5px 5px 5px 18px;
  box-shadow: 0 4px 0 0 rgba(11,14,31,0.10), 0 14px 28px rgba(11,14,31,0.10);
  transition: box-shadow 140ms ease, transform 140ms ease;
}
.hero-rss-pill:focus-within {
  box-shadow: 0 4px 0 0 var(--z-ink), 0 16px 32px rgba(11,14,31,0.14);
  transform: translateY(-1px);
}
.hero-rss-pill[data-invalid="true"] {
  box-shadow: 0 4px 0 0 var(--z-red), 0 16px 32px rgba(232,58,43,0.18);
}

.hero-rss-prefix {
  align-self: center;
  color: var(--z-ink);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding-right: 12px;
  border-right: 1px solid var(--z-hair);
}

.hero-rss-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--z-ink);
  letter-spacing: -0.01em;
  padding: 12px 6px 12px 12px;
}
.hero-rss-input::placeholder {
  color: var(--z-ink-faint);
  font-weight: 420;
}

.hero-rss-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 20px;
  background: var(--z-red);
  color: #FFF;
  border: 0;
  border-radius: var(--z-r-pill);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 140ms ease, transform 120ms ease;
}
.hero-rss-submit:hover  { background: #C92F22; transform: translateY(-1px); }
.hero-rss-submit:active { transform: translateY(1px); }

.hero-rss-submit .plus {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  font-size: 14px;
  line-height: 1;
}

.hero-rss-meta {
  display: block;
  margin-top: 10px;
  padding-left: 18px;
  min-height: 14px;
  color: var(--z-ink-mute);
}
.hero-rss-error { color: var(--z-red); }

@media (max-width: 540px) {
  .hero-rss-pill {
    flex-wrap: wrap;
    border-radius: var(--z-r-md);
    padding: 8px;
    gap: 6px;
  }
  .hero-rss-prefix {
    width: 100%;
    padding: 4px 6px 0;
    border-right: 0;
  }
  .hero-rss-input {
    flex: 1 1 100%;
    padding: 4px 8px 8px;
  }
  .hero-rss-submit {
    flex: 1 1 100%;
    justify-content: center;
    padding: 13px 20px;
  }
  .hero-rss-meta { padding-left: 8px; }
}

html[data-zoodler-theme="dark"] .hero-rss-pill {
  box-shadow: 0 4px 0 0 rgba(255,255,255,0.06), 0 16px 30px rgba(0,0,0,0.32);
}
html[data-zoodler-theme="dark"] .hero-rss-pill:focus-within {
  box-shadow: 0 4px 0 0 var(--z-ink-soft), 0 18px 34px rgba(0,0,0,0.40);
}

/* =============================================================
   HEADER / MASTHEAD
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--z-bg);
  padding: 0 var(--z-gutter);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--z-hair), transparent);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--z-ink);
}
.wordmark .cube {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.wordmark .name {
  font-variation-settings: 'wdth' 88, 'opsz' 96, 'wght' 780, 'GRAD' 0;
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark .suffix {
  font-family: 'Azeret Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--z-ink-mute);
  padding-bottom: 3px;
  align-self: flex-end;
}

.nav {
  justify-self: center;
  display: inline-flex;
  gap: 4px;
  background: var(--z-surface);
  padding: 4px;
  border-radius: var(--z-r-pill);
  box-shadow: var(--z-shadow-flat);
}
.nav a {
  padding: 8px 16px;
  border-radius: var(--z-r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--z-ink-soft);
  transition: all 150ms ease;
}
.nav a:hover { background: var(--z-bg-deep); color: var(--z-ink); }

.meta-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

/* Theme toggle — matches app's masthead pattern */
.theme-toggle {
  min-width: 86px;
  height: 40px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--z-r-pill);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--z-ink-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}
.theme-toggle .track {
  width: 30px;
  height: 18px;
  border-radius: var(--z-r-pill);
  background: var(--z-bg-deep);
  box-shadow: inset 0 0 0 1px var(--z-hair);
  position: relative;
  flex-shrink: 0;
}
.theme-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--z-tangerine), var(--z-red));
  box-shadow: 0 1px 4px rgba(11,14,31,0.24);
  transition: transform 180ms ease, background 180ms ease;
}
.theme-toggle:hover { color: var(--z-ink); }
html[data-zoodler-theme="dark"] .theme-toggle { color: var(--z-ink); }
html[data-zoodler-theme="dark"] .theme-toggle .knob {
  transform: translateX(12px);
  background: linear-gradient(135deg, var(--z-sky), var(--z-violet));
}

.header-signin { padding: 10px 16px; font-size: 13px; }
.header-cta    { padding: 12px 20px; font-size: 13px; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40px -20px;
  background:
    radial-gradient(ellipse 500px 380px at 15% 35%, rgba(45,126,247,0.18), transparent 65%),
    radial-gradient(ellipse 400px 300px at 85% 25%, rgba(233,52,138,0.14), transparent 65%),
    radial-gradient(ellipse 500px 380px at 70% 85%, rgba(125,216,61,0.14), transparent 65%),
    radial-gradient(ellipse 380px 280px at 20% 90%, rgba(242,106,46,0.12), transparent 65%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hero-copy { max-width: 800px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-radius: var(--z-r-pill);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
}

.hero-title {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  color: var(--z-ink);
}
.hero-title .swatch {
  display: inline-block;
  padding: 0 12px;
  border-radius: 18px;
  vertical-align: baseline;
  line-height: 0.88;
}
.hero-title .swatch.sky    { background: var(--z-sky);    color: #fff; }
.hero-title .swatch.pink   { background: var(--z-pink);   color: #fff; }
.hero-title .swatch.mint   { background: var(--z-mint);   color: var(--z-ink); }
.hero-title .swatch.punch  { background: var(--z-punch);  color: #fff; }
.hero-title .swatch.violet { background: var(--z-violet); color: #fff; }
.hero-title .tilt { display: inline-block; transform: rotate(-2deg); }

.hero-sub {
  font-size: 19px;
  color: var(--z-ink-soft);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-sub b { color: var(--z-ink); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.proof-card {
  padding: 18px 20px;
  background: var(--z-surface);
  border-radius: var(--z-r-md);
  box-shadow: var(--z-shadow-flat);
  position: relative;
  overflow: hidden;
}
.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.proof-card.accent-pink::before   { background: var(--z-pink); }
.proof-card.accent-sky::before    { background: var(--z-sky); }
.proof-card.accent-mint::before   { background: var(--z-mint); }
.proof-card.accent-punch::before  { background: var(--z-punch); }
.proof-card.accent-violet::before { background: var(--z-violet); }
.proof-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--z-ink);
  letter-spacing: -0.02em;
}
.proof-card span {
  font-size: 13px;
  color: var(--z-ink-soft);
  line-height: 1.5;
}

/* =============================================================
   HERO VISUAL — portrait pipeline preview
   ============================================================= */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-preview-frame {
  display: block;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 640 / 920;
  height: auto;
  max-height: min(86vh, 900px);
  border: 0;
  background: transparent;
}

/* =============================================================
   TRUST STRIP
   ============================================================= */
.trust-strip { padding: 8px 0 32px; }
.trust-card {
  padding: 22px 26px;
  border-radius: var(--z-r-lg);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
}
.trust-lead {
  text-align: center;
  color: var(--z-ink-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--z-r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--z-ink);
}
.chip-sky    { background: var(--z-sky-t); }
.chip-pink   { background: var(--z-pink-t); }
.chip-mint   { background: var(--z-mint-t); }
.chip-tang   { background: var(--z-tang-t); }
.chip-violet { background: var(--z-violet-t); }

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
  position: relative;
  padding: clamp(32px, 8vw, 72px) 0;
}
.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}
.section-heading.narrow { margin-bottom: 32px; }
.section-heading h2 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--z-ink);
}
.section-heading .section-sub {
  font-size: 18px;
  color: var(--z-ink-soft);
  max-width: 62ch;
  line-height: 1.55;
}

/* =============================================================
   STEPS GRID
   ============================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--z-r-lg);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.step-card.accent-sky::before    { background: var(--z-sky); }
.step-card.accent-pink::before   { background: var(--z-pink); }
.step-card.accent-punch::before  { background: var(--z-punch); }
.step-card.accent-mint::before   { background: var(--z-mint); }
.step-card.accent-violet::before { background: var(--z-violet); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--z-shadow-soft); }

.card-number {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: var(--z-r-pill);
  background: var(--z-bg-deep);
  font-size: 10px;
  color: var(--z-ink-soft);
}
.step-card.accent-sky    .card-number { background: var(--z-sky-t);    color: var(--z-sky); }
.step-card.accent-pink   .card-number { background: var(--z-pink-t);   color: var(--z-pink); }
.step-card.accent-punch  .card-number { background: var(--z-punch-t);  color: var(--z-punch); }
.step-card.accent-mint   .card-number { background: var(--z-mint-t);   color: #0E7A5C; }
.step-card.accent-violet .card-number { background: var(--z-violet-t); color: var(--z-violet); }

.step-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--z-ink);
}
.step-card p {
  font-size: 14px;
  color: var(--z-ink-soft);
  line-height: 1.55;
}

/* =============================================================
   BENEFITS GRID
   ============================================================= */
.benefits-section::before {
  content: '';
  position: absolute;
  inset: auto auto 10% -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31,201,166,0.12), transparent 70%);
  pointer-events: none;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.benefit-card {
  position: relative;
  padding: 28px 28px 30px;
  border-radius: var(--z-r-lg);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--z-shadow-soft); }
.benefit-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.dot-pink   { background: var(--z-pink); }
.dot-sky    { background: var(--z-sky); }
.dot-mint   { background: var(--z-mint); }
.dot-punch  { background: var(--z-punch); }
.dot-violet { background: var(--z-violet); }
.benefit-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--z-ink);
}
.benefit-card p {
  font-size: 15px;
  color: var(--z-ink-soft);
  line-height: 1.6;
}

/* =============================================================
   PRICING SECTION
   ============================================================= */
.billing-toggle {
  display: inline-flex;
  margin-top: 22px;
  background: var(--z-surface);
  padding: 5px;
  border-radius: var(--z-r-pill);
  box-shadow: var(--z-shadow-flat);
  gap: 2px;
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--z-r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--z-ink-soft);
  transition: all 160ms ease;
}
.billing-toggle button.is-active {
  background: var(--z-ink);
  color: var(--z-bg);
}
.billing-toggle .badge-save {
  padding: 3px 8px;
  border-radius: var(--z-r-pill);
  font-size: 10px;
  background: var(--z-mint-t);
  color: #0E7A5C;
}
.billing-toggle button.is-active .badge-save {
  background: rgba(255,255,255,0.18);
  color: var(--z-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: var(--z-r-lg);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--z-shadow-soft); }
/* Featured tier — theme-aware. Surface tokens keep the card readable in
   both light and dark modes; a violet inset ring + lift shadow do the
   work that the old hardcoded black gradient used to do. No per-element
   color overrides — copy inherits from --z-ink / --z-ink-soft / --z-ink-mute
   like every other card. */
.pricing-card.featured {
  background: linear-gradient(180deg, var(--z-surface), var(--z-bg));
  box-shadow:
    inset 0 0 0 1.5px var(--z-violet),
    var(--z-shadow-lift);
  transform: translateY(-6px);
}
.pricing-card.featured:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 0 1.5px var(--z-violet),
    var(--z-shadow-lift);
}

.pricing-tier {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--z-ink-mute);
  margin-bottom: 6px;
}

.pricing-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 6px;
  color: var(--z-ink);
  font-variation-settings: 'wdth' 90, 'opsz' 96, 'wght' 780, 'GRAD' 0;
  letter-spacing: -0.04em;
}
.pricing-amount .currency { font-size: 28px; }
.pricing-amount .number   { font-size: 64px; line-height: 1; }
.pricing-amount .unit     { font-size: 18px; color: var(--z-ink-mute); font-variation-settings: normal; }

.pricing-period {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--z-ink-mute);
  margin-bottom: 18px;
}

.pricing-copy {
  font-size: 14px;
  color: var(--z-ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
}

.pricing-features {
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--z-ink-soft);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--z-mint);
  border-bottom: 2px solid var(--z-mint);
  transform: rotate(-45deg);
}

.pricing-card .btn-ghost,
.pricing-card .btn-primary { margin-top: auto; }

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  border-radius: var(--z-r-pill);
  background: var(--z-red);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Concierge */
.concierge-card {
  position: relative;
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--z-r-lg);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}
.concierge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--z-violet), var(--z-pink), var(--z-tangerine));
}
.concierge-ribbon {
  position: absolute;
  top: 16px;
  right: 24px;
  padding: 4px 10px;
  border-radius: var(--z-r-pill);
  background: var(--z-violet-t);
  color: var(--z-violet);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.concierge-copy h3 {
  margin: 4px 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--z-ink);
}
.concierge-copy p {
  font-size: 15px;
  color: var(--z-ink-soft);
  line-height: 1.55;
  max-width: 58ch;
}
.concierge-meta {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: var(--z-r-pill);
  background: var(--z-bg-deep);
  font-size: 10px;
  color: var(--z-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.concierge-cta { align-self: center; padding: 14px 22px; font-size: 14px; }

/* Credit rules */
.credit-rules {
  margin-top: 56px;
  padding: 36px;
  background: var(--z-bg-deep);
  border-radius: var(--z-r-lg);
}
.credit-rules-head { margin-bottom: 24px; }
.credit-rules-head h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--z-ink);
}
.credit-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.rule-card {
  position: relative;
  padding: 20px;
  border-radius: var(--z-r-md);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.rule-card.accent-mint::before   { background: var(--z-mint); }
.rule-card.accent-pink::before   { background: var(--z-pink); }
.rule-card.accent-sky::before    { background: var(--z-sky); }
.rule-card.accent-punch::before  { background: var(--z-punch); }
.rule-card.accent-violet::before { background: var(--z-violet); }

.rule-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: var(--z-r-pill);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--z-bg-deep);
  align-self: flex-start;
}
.rule-card.accent-mint   .rule-kicker { background: var(--z-mint-t);   color: #0E7A5C; }
.rule-card.accent-pink   .rule-kicker { background: var(--z-pink-t);   color: var(--z-pink); }
.rule-card.accent-sky    .rule-kicker { background: var(--z-sky-t);    color: var(--z-sky); }
.rule-card.accent-punch  .rule-kicker { background: var(--z-punch-t);  color: var(--z-punch); }
.rule-card.accent-violet .rule-kicker { background: var(--z-violet-t); color: var(--z-violet); }

/* Accessibility: visually-hidden but screen-reader available. Used by
   labels for input fields that have visible placeholder/icon-only UI. */
.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;
}

.rule-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--z-ink);
  letter-spacing: -0.02em;
}
.rule-card span {
  font-size: 13px;
  color: var(--z-ink-soft);
  line-height: 1.55;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 840px;
}
.faq-item {
  padding: 20px 24px;
  border-radius: var(--z-r-md);
  background: var(--z-surface);
  box-shadow: var(--z-shadow-flat);
  transition: box-shadow 200ms ease;
}
.faq-item[open] { box-shadow: var(--z-shadow-soft); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--z-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  line-height: 1;
  color: var(--z-red);
  font-weight: 400;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--z-ink-soft);
  line-height: 1.6;
}

/* =============================================================
   FINAL CTA
   ============================================================= */
.final-cta-section { padding-top: 0; }
.final-cta-card {
  position: relative;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px);
  border-radius: var(--z-r-xl);
  background:
    radial-gradient(ellipse 500px 340px at 18% 28%, rgba(45,126,247,0.24), transparent 68%),
    radial-gradient(ellipse 440px 320px at 85% 72%, rgba(31,201,166,0.28), transparent 70%),
    var(--z-bg-deep);
  text-align: center;
  overflow: hidden;
}
.final-cta-card h2 {
  max-width: 18ch;
  margin: 14px auto 14px;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--z-ink);
}
.final-cta-sub {
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--z-ink-soft);
  line-height: 1.6;
}
.final-cta-card .hero-actions { justify-content: center; margin-bottom: 0; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--z-hair);
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "links links links"
    "brand .     note";
  align-items: center;
  gap: 24px 28px;
  padding-top: 8px;
}
.footer-brand {
  grid-area: brand;
}
.footer-brand .cube { width: 32px; height: 32px; }
.footer-brand .name { font-size: 22px; }
.footer-links {
  grid-area: links;
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-self: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--z-ink-soft);
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--z-ink); }
.footer-note {
  grid-area: note;
  font-size: 11px;
  color: var(--z-ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  justify-self: end;
}

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal="left"] { transform: translate3d(24px, 0, 0); }
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual { min-height: 0; }
  .hero-preview-frame { max-width: 540px; }
  .nav { display: none; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: auto auto; gap: 12px; }
  .header-signin, .meta-right { gap: 8px; }
  .header-signin { display: none; }
  .wordmark .suffix { display: none; }
  .theme-toggle {
    min-width: 40px;
    width: 40px;
    padding: 0;
  }
  .theme-toggle .mode-text { display: none; }

  .hero { padding-top: 24px; }
  .hero-grid { gap: 24px; }
  .hero-preview-frame { max-width: min(320px, 86vw); }

  .hero-proof { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .credit-rules-grid { grid-template-columns: 1fr; }

  .trust-row { justify-content: flex-start; }

  .concierge-card { grid-template-columns: 1fr; gap: 16px; }
  .concierge-cta { align-self: stretch; text-align: center; justify-content: center; }
  .concierge-ribbon { position: static; display: inline-block; margin-bottom: 4px; }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "links"
      "brand"
      "note";
    gap: 18px;
    text-align: center;
  }
  .footer-brand { justify-self: center; }
  .footer-links { justify-self: center; }
  .footer-note { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =============================================================
   FOUNDING COHORT — limited-seats offer + apply gate
   Replaces the self-serve tier grid inside the pricing section.
   Reuses pricing tokens (surface, shadows, mint checks, mono
   labels) so it reads as native Zoodler; the violet ring +
   gradient header bar are lifted from the featured/concierge
   cards to mark this as the one offer that matters.
   ============================================================= */
.founding-offer {
  position: relative;
  margin-top: 8px;
  border-radius: var(--z-r-xl);
  background: linear-gradient(180deg, var(--z-surface), var(--z-bg));
  box-shadow: inset 0 0 0 1.5px var(--z-violet), var(--z-shadow-lift);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  overflow: hidden;
}
.founding-offer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--z-violet), var(--z-pink), var(--z-tangerine));
}

/* ---- left: the seat ---- */
.founding-seat {
  padding: 38px 36px 40px;
  display: flex;
  flex-direction: column;
}
.founding-seats-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px;
  border-radius: var(--z-r-pill);
  background: var(--z-violet-t);
  color: var(--z-violet);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 20px;
}
.founding-seats-tag .pip {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--z-violet);
  box-shadow: 0 0 0 3px var(--z-violet-t);
}
.founding-kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--z-ink-mute);
  margin-bottom: 4px;
}
.founding-price-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
}
.founding-price {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--z-ink);
  font-variation-settings: 'wdth' 90, 'opsz' 96, 'wght' 790, 'GRAD' 0;
  letter-spacing: -0.04em;
}
.founding-price .currency { font-size: 30px; }
.founding-price .number   { font-size: 68px; line-height: 1; }
.founding-price .unit     { font-size: 19px; color: var(--z-ink-mute); font-variation-settings: normal; }
.founding-lock {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: var(--z-r-pill);
  background: var(--z-mint-t);
  color: #0E7A5C;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
}
.founding-lock svg { width: 13px; height: 13px; display: block; }
.founding-note {
  font-size: 13px; line-height: 1.55;
  color: var(--z-ink-soft);
  max-width: 46ch;
  margin-bottom: 22px;
}
.founding-list {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--z-hair);
}
.founding-list li.perk { color: var(--z-ink); font-weight: 500; }
.founding-list li.perk::before { border-color: var(--z-violet); }

/* ---- right: the application ---- */
.founding-apply {
  padding: 30px 36px 34px;
  background: var(--z-surface);
  border-left: 1px solid var(--z-hair);
  display: flex; flex-direction: column;
  justify-content: center;
}
.founding-apply-lead {
  font-size: 13.5px; line-height: 1.5;
  color: var(--z-ink-soft);
  margin: 0 0 18px;
}
.founding-apply-kicker {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--z-violet);
  margin-bottom: 6px;
}
.founding-form { display: grid; gap: 13px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ff-field { display: grid; gap: 6px; min-width: 0; }
.ff-label {
  font-family: 'Azeret Mono', ui-monospace, monospace;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--z-ink-mute);
}
.ff-label .opt { text-transform: none; letter-spacing: 0; color: var(--z-ink-faint); }
.ff-input, .ff-select, .ff-textarea {
  width: 100%;
  font: inherit; font-size: 14px;
  color: var(--z-ink);
  background: var(--z-bg);
  border: 1px solid var(--z-hair);
  border-radius: var(--z-r-sm);
  padding: 11px 13px;
  outline: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.ff-textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.ff-input:focus, .ff-select:focus, .ff-textarea:focus {
  border-color: var(--z-sky);
  box-shadow: 0 0 0 3px var(--z-sky-t);
}
.ff-input::placeholder, .ff-textarea::placeholder { color: var(--z-ink-faint); }
.ff-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238488A0' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}
.ff-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff-error {
  display: none;
  color: var(--z-red);
  font-size: 12.5px; line-height: 1.4;
  margin: 2px 0 0;
}
.ff-error.is-visible { display: block; }
.ff-actions { margin-top: 3px; }
.founding-submit[disabled] { opacity: 0.65; cursor: progress; }
.ff-fineprint {
  font-size: 11.5px; line-height: 1.5;
  color: var(--z-ink-mute);
  text-align: center;
  margin: 13px 0 0;
}

/* ---- success state ---- */
.founding-apply.is-sent .founding-form { display: none; }
.founding-success { display: none; }
.founding-apply.is-sent .founding-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 24px 8px;
}
.founding-success .tick {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--z-mint-t); color: var(--z-mint);
}
.founding-success .tick svg { width: 28px; height: 28px; }
.founding-success h3 { font-size: 22px; color: var(--z-ink); }
.founding-success p { font-size: 14px; color: var(--z-ink-soft); line-height: 1.55; max-width: 34ch; }

/* ---- dark-mode nudges (token flips handle most of it) ---- */
html[data-zoodler-theme="dark"] .founding-lock { color: var(--z-mint); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .founding-offer { grid-template-columns: 1fr; }
  .founding-apply { border-left: 0; border-top: 1px solid var(--z-hair); }
}
@media (max-width: 540px) {
  .founding-seat, .founding-apply { padding-left: 24px; padding-right: 24px; }
  .ff-row { grid-template-columns: 1fr; }
  .founding-price .number { font-size: 58px; }
}
