/* =========================================================
   Calzone — premium dark, warm-orange accent. Tokens taken
   from the app's theme/colors.ts so the site reads as the
   same product surface.
   ========================================================= */

:root {
  --bg:           #0E0E0E;
  --bg-2:         #121212;
  --surface:      #181818;
  --card:         #1C1C1C;
  --card-elev:    #222222;
  --border:       #2A2A2A;
  --border-soft:  rgba(255,255,255,0.06);

  --orange:       #E8956D;
  --orange-soft:  rgba(232, 149, 109, 0.14);
  --orange-glow:  rgba(232, 149, 109, 0.22);

  --text:         #FFFFFF;
  --text-2:       #B8B8B8;
  --text-3:       #888888;
  --text-4:       #555555;

  --serif:  'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);

  --maxw: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }

/* ---------- background glow ---------- */
.bg-glow {
  position: fixed;
  inset: -10vmax -10vmax auto auto;
  width: 70vmax; height: 70vmax;
  background: radial-gradient(closest-side, rgba(232,149,109,0.13), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.bg-glow::after {
  content: "";
  position: fixed;
  inset: 30vh auto auto -20vmax;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(closest-side, rgba(232,149,109,0.07), transparent 70%);
  filter: blur(20px);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(14,14,14,0.85), rgba(14,14,14,0.4));
  border-bottom: 1px solid transparent;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.nav-links a {
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 14px; padding: 9px 16px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { padding: 16px 20px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: var(--orange);
  color: #1a1005;
  box-shadow: 0 10px 30px -12px var(--orange-glow), 0 1px 0 rgba(255,255,255,0.25) inset;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px var(--orange-glow), 0 1px 0 rgba(255,255,255,0.3) inset;
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: #3a3a3a;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange-glow);
}
.display, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.display {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  margin-top: 22px;
}
.display em, .h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--orange);
}
.h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.05;
}
.lede, .sub {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 22px 0 0;
}
.sub { margin: 16px auto 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 28px 90px;
}
.hero-text { max-width: 600px; }
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cta-row.center { justify-content: center; }
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-meta li {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}
.hero-meta span {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ---------- phone mockup ---------- */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}
.phone {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 320 / 660;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: clamp(34px, 9vw, 48px);
  padding: clamp(8px, 2.4vw, 12px);
  box-shadow:
    0 0 0 2px #0a0a0a,
    0 50px 100px -20px rgba(0,0,0,0.7),
    0 30px 60px -30px var(--orange-glow);
  transform: rotate(-3deg);
  transition: transform 0.6s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 18px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-2);
  border-radius: clamp(26px, 7vw, 38px);
  overflow: hidden;
  padding: clamp(40px, 11vw, 50px) clamp(12px, 3vw, 18px) clamp(12px, 3vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  margin-bottom: 4px;
}
.app-logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.app-logo-mark { width: 30px; height: 30px; }

.week {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px;
}
.week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 10px;
  min-width: 30px;
}
.week-day .d { font-size: 10px; color: var(--text-3); font-weight: 600; }
.week-day .n { font-size: 13px; font-weight: 600; color: var(--text-2); }
.week-day.active {
  background: var(--orange-soft);
}
.week-day.active .d { color: var(--orange); }
.week-day.active .n { color: var(--orange); }

.cal-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
}
.cal-label {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 4px;
}

.macros {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.macro-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.macro-val { font-size: 14px; font-weight: 700; }
.macro-label { font-size: 9px; color: var(--text-3); margin-top: 2px; }
.macro-card .ring { align-self: center; margin-top: 4px; }

/* progress rings */
.ring { position: relative; }
.ring-lg { width: 70px; height: 70px; }
.ring-sm { width: 38px; height: 38px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 6;
}
.ring-progress {
  fill: none;
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: calc(276.46 - (276.46 * var(--p)) / 100);
}

.micro-btn {
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.micro-btn-left { display: flex; align-items: center; gap: 10px; }
.micro-icon {
  width: 32px; height: 32px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 9px;
  display: grid; place-items: center;
}
.micro-title { font-size: 12px; font-weight: 600; }
.micro-sub { font-size: 9.5px; color: var(--text-3); margin-top: 1px; }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--orange);
  color: #1a1005;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 6px;
}

.meal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
}
.meal-head {
  display: flex; justify-content: space-between;
  font-size: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.meal-name { font-weight: 600; }
.meal-cal { color: var(--text-3); }
.meal-item {
  display: flex; align-items: center; gap: 10px;
}
.meal-thumb {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--card-elev);
  display: grid; place-items: center;
  font-size: 18px;
}
.meal-info { flex: 1; min-width: 0; }
.meal-item-name { font-size: 12px; font-weight: 500; }
.meal-item-sub { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.meal-item-cal {
  font-size: 13px; font-weight: 700; color: var(--orange);
}

/* floating chips next to phone */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(28,28,28,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { color: var(--orange); }
.chip-1 {
  top: 12%;
  left: -4%;
  animation-delay: -2s;
}
.chip-2 {
  bottom: 14%;
  right: -2%;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- strip ---------- */
.strip {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 22px 28px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.strip p { margin: 0; }

/* ---------- sections ---------- */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 28px;
}
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 30%, rgba(255,255,255,0.015) 70%, transparent);
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head .eyebrow { margin: 0 auto; }
.section-head .h2 { margin-top: 18px; }

/* ---------- features grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.feature-accent {
  background:
    linear-gradient(135deg, rgba(232,149,109,0.06), transparent 60%),
    var(--card);
  border-color: rgba(232,149,109,0.2);
}
.feature h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-free, .tag-pro {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  line-height: 1;
}
.tag-free {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.tag-pro {
  background: var(--orange);
  color: #1a1005;
}
.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.feature-icon-accent {
  background: var(--orange-soft);
  border-color: rgba(232,149,109,0.25);
  color: var(--orange);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.step-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  align-items: stretch;
  gap: 14px;
}
.pricing-3 .plan {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.pricing-3 .plan-list { flex: 1; }
.pricing-3 .price .amount { font-size: 44px; }
.price-sub {
  margin: -18px 0 22px;
  font-size: 13px;
  color: var(--text-3);
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.plan h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 26px;
}
.price .amount {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price .per {
  color: var(--text-3);
  font-size: 14px;
}
.plan-list {
  margin-bottom: 28px;
}
.plan-list li {
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-2);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-list li:first-child { border-top: 0; padding-top: 0; }
.plan-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--orange-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8956D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-pro {
  background:
    radial-gradient(at top right, rgba(232,149,109,0.1), transparent 60%),
    var(--card);
  border-color: rgba(232,149,109,0.3);
}
.plan-pro::after {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  pointer-events: none;
}
.plan h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #1a1005;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- faq ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--orange);
  font-weight: 300;
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--text-2);
  font-size: 14.5px;
}

/* smooth open/close — JS swaps the answer into .faq-content */
.faq-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  will-change: height, opacity;
}
.faq details[open] > .faq-content {
  /* when no animation is running, expanded panels measure naturally */
  height: auto;
  opacity: 1;
}

/* ---------- cta band ---------- */
.cta-band {
  position: relative;
  z-index: 2;
  margin: 60px 28px;
  border-radius: 32px;
  background:
    radial-gradient(at top, rgba(232,149,109,0.18), transparent 60%),
    linear-gradient(180deg, var(--card-elev), var(--card));
  border: 1px solid var(--border);
  padding: 90px 28px;
  text-align: center;
  overflow: hidden;
  max-width: calc(var(--maxw) - 0px);
  margin-inline: auto;
}
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 24px;
  box-shadow: 0 20px 50px -20px var(--orange-glow);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  padding: 60px 28px 36px;
  max-width: var(--maxw);
  margin: 60px auto 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.footer ul li {
  padding: 6px 0;
}
.footer ul a {
  color: var(--text-2);
  font-size: 14.5px;
  transition: color 0.18s ease;
}
.footer ul a:hover { color: var(--text); }
.footer-tagline {
  margin: 16px 0 0;
  color: var(--text-3);
  font-size: 14px;
  max-width: 30ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-4);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 50px 24px 70px;
    text-align: center;
  }
  .hero-text { margin: 0 auto; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-meta { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  /* keep pricing 3-up at all sizes — just shrink padding and gap */
  .pricing-3 { gap: 10px; }
  .pricing-3 .plan { padding: 24px 16px; }
  .pricing-3 .price .amount { font-size: 32px; }
  .pricing-3 .price .per { font-size: 12px; }
  .pricing-3 .plan-list li { font-size: 13px; }
  .pricing-3 h3 { font-size: 12px; }
  .pricing-3 .plan-tag { font-size: 8.5px; padding: 2px 6px; letter-spacing: 0.04em; }
  .price-sub { font-size: 11px; margin: -14px 0 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  /* ── type scale ── */
  .display      { font-size: clamp(40px, 11vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
  .h2           { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.1; }
  .lede         { font-size: 16.5px; line-height: 1.6; }
  .sub          { font-size: 16px; line-height: 1.55; }
  .eyebrow      { font-size: 11px; padding: 6px 12px; }

  /* ── nav ── */
  .nav          { padding: 16px 20px; }
  .brand-word   { font-size: 20px; }
  .nav-cta      { font-size: 13px; padding: 9px 14px; }

  /* ── section rhythm — generous breathing room ── */
  .section      { padding: 80px 22px; }
  .section-alt  { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018) 50%, transparent); }
  .section-head { margin-bottom: 52px; }
  .section-head .h2 { margin-top: 20px; }
  .section-head .sub { margin-top: 18px; }

  /* ── hero — generous airy spacing on phones ── */
  .hero         { gap: 72px; padding: 48px 22px 104px; }
  .hero-text > * + * { margin-top: 26px; }
  .display      { margin-top: 32px; }
  .lede         { margin-top: 28px; }
  .cta-row      { width: 100%; flex-direction: column; gap: 14px; margin-top: 48px; }
  .cta-row .btn { width: 100%; }

  /* generous tap targets — buttons feel substantial, not pinched */
  .btn          { padding: 13px 20px; font-size: 14px; }
  .btn-lg       { padding: 16px 24px; font-size: 15.5px; }

  .hero-meta    {
    gap: 0;
    justify-content: space-around;
    width: 100%;
    margin-top: 56px;
    padding-top: 32px;
  }
  .hero-meta li { flex: 1; min-width: 80px; align-items: center; text-align: center; }
  .hero-meta strong { font-size: 20px; }
  .hero-meta span   { font-size: 12px; margin-top: 6px; }

  /* ── feature cards ── */
  .grid         { grid-template-columns: 1fr; gap: 14px; }
  .feature      { padding: 28px 24px; border-radius: 16px; }
  .feature h3   { font-size: 17.5px; margin: 18px 0 10px; }
  .feature p    { font-size: 14.5px; line-height: 1.6; }
  .feature-icon { width: 42px; height: 42px; border-radius: 12px; }

  /* ── steps ── */
  .steps        { gap: 14px; }
  .step         { padding: 32px 26px; border-radius: 18px; }
  .step-num     { font-size: 48px; margin-bottom: 18px; }
  .step h3      { font-size: 18px; margin-bottom: 10px; }
  .step p       { font-size: 14.5px; line-height: 1.6; }

  /* ── faq ── */
  .faq          { gap: 8px; }
  .faq details  { padding: 0 20px; border-radius: 14px; }
  .faq summary  { font-size: 15px; padding: 20px 0; }
  .faq p        { font-size: 14.5px; padding-bottom: 22px; line-height: 1.6; }

  /* ── cta band ── */
  .cta-band     { padding: 72px 26px; margin: 48px 14px; border-radius: 24px; }
  .cta-icon     { width: 60px; height: 60px; margin-bottom: 26px; }

  /* ── footer ── */
  .footer       { padding: 56px 22px 32px; margin-top: 48px; }
  .footer-grid  { gap: 36px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding-top: 26px; font-size: 13px; }
  .footer-tagline { font-size: 14px; margin-top: 18px; }

  /* shrink the phone mockup so it doesn't eat the screen */
  .phone        { width: min(260px, 68vw); }

  /* hide background ornaments that get noisy on small screens */
  .float-chip   { display: none; }
}

/* ──────────────────────────────────────────────────────────
   Pricing on phones: horizontal scroll-snap carousel.
   Each card stays full readable size; you swipe between them.
   Edge fades + Pro Yearly elevation + equal heights = polish.
   ────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .pricing-3 {
    grid-template-columns: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* extend past the section padding so cards can scroll edge-to-edge */
    margin-inline: -20px;
    padding: 18px 20px 36px;
    gap: 14px;
    scroll-padding-inline: 20px;
    /* fade the leading/trailing edges so cards scrolling in feel intentional */
    -webkit-mask-image: linear-gradient(to right,
      transparent 0,
      black 18px,
      black calc(100% - 18px),
      transparent 100%);
            mask-image: linear-gradient(to right,
      transparent 0,
      black 18px,
      black calc(100% - 18px),
      transparent 100%);
  }
  .pricing-3::-webkit-scrollbar { display: none; }

  .pricing-3 .plan {
    flex: 0 0 84%;
    max-width: 340px;
    min-height: 100%;          /* equal heights — no jagged bottoms */
    scroll-snap-align: center;
    padding: 34px 26px 30px;
    border-radius: 20px;
  }
  /* lift Pro Yearly so it visually stands out as the recommended choice */
  .pricing-3 .plan-pro {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -28px var(--orange-glow);
  }

  /* tighter readable type, but generous compared to the cramped 3-up */
  .pricing-3 h3 { font-size: 13px; letter-spacing: 0.14em; }
  .pricing-3 .price { margin: 16px 0 24px; }
  .pricing-3 .price .amount { font-size: 46px; }
  .pricing-3 .price .per { font-size: 14px; }
  .price-sub { font-size: 13px; margin: -22px 0 24px; }

  .pricing-3 .plan-list { margin-bottom: 24px; }
  .pricing-3 .plan-list li {
    font-size: 14.5px;
    gap: 12px;
    padding: 10px 0;
  }
  .pricing-3 .plan-list li::before { width: 16px; height: 16px; background-size: 10px; }

  .pricing-3 .plan-tag {
    font-size: 10px;
    padding: 3px 8px;
    letter-spacing: 0.06em;
  }
  .pricing-3 .btn { font-size: 14px; padding: 12px 18px; }
}

/* very-narrow phones (≤ 380px) — keep generous spacing, just shrink type slightly */
@media (max-width: 380px) {
  .display      { font-size: 38px; line-height: 1.05; }
  .h2           { font-size: 30px; }
  .section      { padding: 68px 18px; }
  .nav          { padding: 14px 16px; }
  .brand-word   { font-size: 18px; }
  .brand-mark   { width: 26px; height: 26px; }
  .nav-cta      { padding: 8px 12px; font-size: 12px; gap: 4px; }
  .nav-cta svg  { width: 12px; height: 12px; }
  .hero         { padding: 40px 18px 88px; gap: 60px; }
  .hero-meta strong { font-size: 18px; }
  .feature      { padding: 24px 20px; }
  .step         { padding: 28px 22px; }
  .step-num     { font-size: 42px; }
  .cta-band     { margin: 36px 12px; padding: 60px 22px; border-radius: 22px; }
  .cta-icon     { width: 54px; height: 54px; }
  .footer       { padding: 44px 18px 26px; }
  /* still keep pricing scroll-snap; just account for the tighter section padding */
  .pricing-3 { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .pricing-3 .plan { flex-basis: 88%; padding: 28px 22px; }
}

/* =========================================================
   Animations & effects
   ========================================================= */

/* ---- background glow drift ---- */
.bg-glow {
  animation: glowDrift 22s ease-in-out infinite;
}
@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-4vmax, 3vmax); }
}

/* ---- eyebrow dot pulse ---- */
.eyebrow-dot {
  position: relative;
}
.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---- scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
[data-reveal].is-visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* ---- phone tilt: prep + entrance ---- */
.phone {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-screen { transform: translateZ(1px); }

/* on first reveal — soft entry */
.phone-wrap[data-reveal] .phone {
  transform: rotate(-6deg) translateY(20px) scale(0.96);
}
.phone-wrap[data-reveal].is-visible .phone {
  transform: rotateX(-3deg) rotateY(0deg);
}

/* glare sweep across the screen */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.06) 45%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 55%,
    transparent 70%
  );
  transform: translateX(-110%);
  pointer-events: none;
  border-radius: inherit;
  animation: glareSweep 6s ease-in-out 1.6s infinite;
}
@keyframes glareSweep {
  0%   { transform: translateX(-110%); }
  60%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}
.phone-screen { position: relative; }

/* ---- ring fill animation ---- */
.ring-progress {
  stroke-dashoffset: 276.46;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ring-progress.ring-animate {
  stroke-dashoffset: calc(276.46 - (276.46 * var(--p)) / 100);
}

/* ---- floating chip motion (already defined; just refine timing) ---- */
.chip-1 { animation-delay: -2s; }
.chip-2 { animation-delay: 0s; }

/* ---- nav scrolled state ---- */
.nav {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(14,14,14,0.78);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,0.5);
}

/* ---- primary button shimmer ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,0.45) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  z-index: -1;
  animation: shimmer 11s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -120%; }
  14%  { left: 140%; }
  100% { left: 140%; }
}
.btn-primary:hover::after { animation-duration: 1.6s; }

/* ---- cursor-follow glow on cards ---- */
.feature, .step {
  position: relative;
  overflow: hidden;
}
/* .plan keeps overflow visible so the "Best value" tag can float above the card */
.plan { position: relative; }
.feature::before, .plan::before, .step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, -100px) var(--my, -100px),
    rgba(232,149,109,0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.feature:hover::before,
.plan:hover::before,
.step:hover::before {
  opacity: 1;
}
.feature > *, .plan > *, .step > * {
  position: relative;
  z-index: 1;
}

/* ---- feature icon micro-bounce on hover ---- */
.feature-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.feature:hover .feature-icon {
  transform: translateY(-3px) rotate(-4deg);
  color: var(--orange);
  background: var(--orange-soft);
}

/* ---- plan hover lift ---- */
.plan {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.plan-pro:hover {
  border-color: rgba(232,149,109,0.5);
  box-shadow: 0 30px 60px -25px var(--orange-glow);
}

/* ---- step number gradient sheen ---- */
.step-num {
  background: linear-gradient(135deg, var(--orange) 0%, #f5b896 60%, var(--orange) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---- nav-cta hover lift (already a btn-primary; add subtle glow) ---- */
.nav-cta:hover { box-shadow: 0 16px 38px -10px var(--orange-glow); }

/* ---- faq summary chevron + slide ---- */
.faq summary {
  transition: color 0.2s ease;
}
.faq summary:hover { color: var(--orange); }
.faq details {
  transition: border-color 0.4s ease, background 0.4s ease;
}
.faq details[open] {
  background: linear-gradient(180deg, rgba(232,149,109,0.05), transparent 55%), var(--card);
}

/* ---- link underline grow on nav ---- */
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---- hero display headline subtle gradient ---- */
.display em {
  background: linear-gradient(135deg, var(--orange) 0%, #f0a883 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- cta band parallax glow ---- */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(232,149,109,0.18), transparent 65%);
  filter: blur(10px);
  animation: ctaDrift 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(6%, -3%); }
}
.cta-band > * { position: relative; }

/* =========================================================
   Beta signup page
   ========================================================= */

.beta-main {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 60px;
}

.beta-hero {
  text-align: center;
  padding: 48px 0 64px;
  max-width: 720px;
  margin: 0 auto;
}
.beta-display {
  font-size: clamp(40px, 6vw, 68px);
  margin-top: 24px;
}
.beta-hero .lede { margin: 30px auto 0; }

.beta-card-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.beta-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
    var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 44px 42px;
  position: relative;
  overflow: hidden;
}
.beta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

/* extra breathing room around the consent + submit button */
.beta-form .check { margin-top: 6px; }
.beta-form button[type=submit] { margin-top: 10px; }
.beta-form .fineprint { margin-top: 6px; }
.field label, .field .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.field .optional {
  color: var(--text-4);
  font-weight: 400;
  margin-left: 4px;
}
.field .hint {
  font-size: 12px;
  color: var(--text-3);
  margin-top: -2px;
}

.field input[type=text],
.field input[type=email],
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
  font-family: var(--sans);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(232,149,109,0.55);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 4px rgba(232,149,109,0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(255,85,85,0.7);
  box-shadow: 0 0 0 4px rgba(255,85,85,0.12);
}

/* select chevron */
.select-wrap { position: relative; }
.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
.field select {
  padding-right: 38px;
  cursor: pointer;
}
.field select option {
  background: #1a1a1a;
  color: var(--text);
}

/* radio pill group */
.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:hover { border-color: #3a3a3a; color: var(--text); }
.pill:has(input:checked) {
  background: var(--orange-soft);
  border-color: rgba(232,149,109,0.5);
  color: var(--orange);
}

/* checkbox row */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  line-height: 1.5;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255,255,255,0.025);
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.check input:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.check input:checked::after {
  content: "";
  position: absolute;
  top: 3px; left: 6px;
  width: 4px; height: 8px;
  border: solid #1a1005;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fineprint {
  margin: 0;
  font-size: 12px;
  color: var(--text-4);
  text-align: center;
  line-height: 1.5;
}

button.is-loading { opacity: 0.7; cursor: progress; }

.form-error {
  margin: 0;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #ffb1b1;
  background: rgba(255, 85, 85, 0.08);
  border: 1px solid rgba(255, 85, 85, 0.3);
  border-radius: 10px;
}

/* perks side panel */
.beta-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
}
.beta-perks li {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.beta-perks li:hover {
  border-color: var(--border);
  transform: translateX(2px);
}
.perk-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.beta-perks li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.beta-perks li span {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* success state */
.beta-success {
  text-align: center;
  padding: 24px 8px;
  animation: successIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.beta-success h2 { margin-top: 12px; }
.beta-success .sub { margin: 18px auto 28px; }
@keyframes successIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   Legal pages (Terms, Privacy)
   ========================================================= */

.legal-main {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

.legal-hero {
  text-align: center;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 48px;
}
.legal-display {
  font-size: clamp(40px, 6vw, 64px);
  margin-top: 18px;
}
.legal-meta {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.legal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* Table of contents — sticky sidebar on desktop */
.legal-toc {
  position: sticky;
  top: 92px;
  align-self: start;
}
.toc-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-soft);
}
.legal-toc li { padding: 0; }
.legal-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  margin-left: -1px;
  font-size: 13.5px;
  color: var(--text-3);
  border-left: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  line-height: 1.4;
}
.legal-toc a:hover {
  color: var(--text);
  border-left-color: var(--border);
}

/* Article */
.legal-content {
  max-width: 64ch;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-content > * + * { margin-top: 1.2em; }
.legal-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 8px;
}
.legal-content h2 {
  margin-top: 56px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--text);
  scroll-margin-top: 100px;       /* leave room for sticky nav when jumping via toc */
}
.legal-content h2:first-of-type { margin-top: 32px; }
.legal-content p { margin: 0; }
.legal-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.6;
}
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content em { color: var(--text-3); font-style: italic; }
.legal-content a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,149,109,0.4);
  transition: text-decoration-color 0.18s ease;
}
.legal-content a:hover { text-decoration-color: var(--orange); }

.legal-footer-note {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
}

@media (max-width: 880px) {
  .legal-body { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc {
    position: static;
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 18px 20px;
  }
  .legal-toc ol { border-left: 0; }
  .legal-toc a { padding: 5px 0; border-left: 0; }
  .legal-toc a:hover { border-left: 0; }
}

@media (max-width: 600px) {
  .legal-main { padding: 24px 20px 60px; }
  .legal-hero { padding: 24px 0 32px; margin-bottom: 32px; }
  .legal-content { font-size: 15px; }
  .legal-content h2 { font-size: 22px; margin-top: 44px; }
  .legal-lead { font-size: 16px; }
}

/* ---- inline duplicate-email notice ---- */
.form-info {
  margin: 0;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #ffd9bf;
  background: rgba(232,149,109,0.08);
  border: 1px solid rgba(232,149,109,0.35);
  border-radius: 12px;
}
.form-info strong { color: var(--orange); font-weight: 600; }

/* =========================================================
   Thanks / success page
   ========================================================= */

.thanks-main {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-card {
  width: 100%;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(232,149,109,0.05), transparent 35%),
    var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 56px 44px 44px;
  position: relative;
  overflow: hidden;
}
.thanks-card::before {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.thanks-card .success-icon {
  margin: 0 auto 28px;
  width: 72px;
  height: 72px;
}
.thanks-card .eyebrow { margin: 0 auto 20px; }
.thanks-display {
  font-size: clamp(36px, 5.4vw, 56px);
  margin: 0;
}
.thanks-card .lede { margin: 22px auto 0; max-width: 50ch; }

.thanks-next {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin: 40px 0;
}
.thanks-next li {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  align-items: center;
}
.thanks-next .step-dot {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.thanks-next li strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.thanks-next li span {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}
.thanks-next em { font-style: normal; color: var(--text-2); }

.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .thanks-main { padding: 40px 16px 60px; }
  .thanks-card { padding: 40px 20px 28px; border-radius: 20px; }
  .thanks-card .success-icon { width: 60px; height: 60px; margin-bottom: 20px; }
  .thanks-next { margin: 30px 0; }
  .thanks-next li { padding: 12px 14px; }
  .thanks-actions { flex-direction: column; }
  .thanks-actions .btn { width: 100%; }
}

@media (max-width: 880px) {
  .beta-card-wrap { grid-template-columns: 1fr; gap: 20px; }
  .beta-card { padding: 36px 28px; border-radius: 20px; }
  .beta-hero { padding: 36px 0 48px; }
  .beta-display { font-size: clamp(34px, 9vw, 52px); margin-top: 22px; }
  .beta-hero .lede { margin-top: 26px; }
}

@media (max-width: 600px) {
  .beta-main { padding: 32px 18px 56px; }
  .beta-hero { padding: 32px 0 44px; }
  .beta-hero .lede { margin-top: 22px; font-size: 16px; }
  .beta-card { padding: 32px 22px; border-radius: 18px; }
  .beta-form { gap: 26px; }
  .field { gap: 12px; }
  .beta-form .check { margin-top: 10px; }
  .beta-form button[type=submit] { margin-top: 14px; padding: 16px 22px; font-size: 15.5px; }
  .beta-form .fineprint { margin-top: 10px; line-height: 1.6; }
  .field input[type=text],
  .field input[type=email],
  .field select,
  .field textarea { font-size: 16px; padding: 14px 15px; }    /* 16px = no zoom-in on iOS */
  .field textarea { min-height: 100px; }
  .pill-group { gap: 10px; }
  .pill { padding: 10px 16px; font-size: 13.5px; }
  .beta-perks { gap: 10px; }
  .beta-perks li { padding: 18px; gap: 14px; }
  .perk-icon { width: 36px; height: 36px; }
  .beta-perks li strong { font-size: 14px; }
  .beta-perks li span { font-size: 13px; margin-top: 4px; }
  .success-icon { width: 60px; height: 60px; margin-bottom: 24px; }
  .beta-success { padding: 32px 8px; }
  .beta-success .h2 { font-size: 28px; }
  .beta-success .sub { margin: 22px auto 32px; }
}

/* ---- respect reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], .reveal-child { opacity: 1; transform: none; }
  .ring-progress { stroke-dashoffset: calc(276.46 - (276.46 * var(--p)) / 100); }
}

