/* Ritmo landing page (v2). Single dark theme; values follow docs/ritmo-site-v2. */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Geist"; src: url("fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Brand */
  --black: #0B0B0C;
  --white: #F4F4F5;
  --green: #0FD185;

  /* Surfaces and lines */
  --surface: #141416;
  --surface-2: #1E1E21;
  --line: #1E1E21;
  --border: #2A2A2E;
  --border-strong: #3A3A3F;

  /* Text */
  --muted: #A1A1A8;
  --subtle: #8A8A90;
  --text-soft: #D4D4D8;
  --ink-soft: #55555C;
  --ink-mute: #3A3A40;

  /* Green family */
  --green-deep: #0B2A1D;
  --green-edge: #14402D;
  --green-soft: #9FE8C8;
  --green-ink: #087A4E;
  --green-ink-deep: #0A4A30;

  /* Status only (chips) */
  --amber: #F5B83D;
  --amber-bg: #2A2310;
  --red: #FF6B5E;
  --red-bg: #2E1513;
  --red-soft: #FF8F84;

  /* Neutral bars in mockups */
  --bar: #5A5A62;
  --bar-2: #6A6A72;
  --bar-dim: #3A3A3F;
  --track-light: #DCDCDF;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 120px;
  --section-y: 128px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 700; }
svg { display: block; flex-shrink: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: 10px;
  background: var(--white); color: var(--black);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Stroke icons drawn from the sprite */
.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic--bold { stroke-width: 2.5; }
.ic--heavy { stroke-width: 3; }
.c-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; gap: 8px; }
.btn--light { background: var(--white); color: var(--black); }
.btn--outline { border: 1px solid var(--border); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--outline-dark { border: 2px solid var(--black); color: var(--black); }
.btn--block { width: 100%; }
a.btn:hover { opacity: .88; }

/* App CTAs are placeholders until the app is in the stores (see the note at the top of index.html). */
.cta-app[aria-disabled="true"] { cursor: default; }
.soon {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}
.btn--light .soon { background: rgba(11, 11, 12, .08); color: var(--ink-soft); }
.btn--dark .soon { background: rgba(244, 244, 245, .14); color: var(--white); }
.soon--outline { border: 1px solid var(--border); color: var(--muted); }

/* ---------- Shared section parts ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--green);
  text-transform: uppercase;
}
.h2 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
}
.check-list { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--subtle); }
.check-list li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.logo-link { display: inline-flex; border-radius: 8px; }
.logo { width: 110px; height: 36px; color: var(--white); }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.only-mobile { display: none; }

/* ---------- Hero ---------- */
.hero .wrap {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-block: 72px 96px;
}
.hero-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero h1 {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .98;
}
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 560px;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 209, 133, .18) 0%, rgba(15, 209, 133, 0) 70%);
}

/* Phone mockup */
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  border-radius: 46px;
  background: var(--black);
  border: 10px solid var(--surface-2);
  box-shadow: 0 40px 120px rgba(15, 209, 133, .12), 0 30px 80px rgba(0, 0, 0, .6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 14px 0;
  line-height: 1.2;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; font-size: 11px; font-weight: 700; }
.phone-status i { width: 70px; height: 20px; border-radius: 10px; background: #000; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.phone-top > div { display: flex; flex-direction: column; gap: 2px; }
.phone-top small { font-size: 11px; color: var(--subtle); }
.phone-top strong { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.mark { color: var(--white); }

.p-focus {
  border-radius: 16px;
  background: var(--green-deep);
  border: 1px solid var(--green-edge);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-focus-label { display: flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--green); }
.p-focus p { font-size: 13px; font-weight: 800; line-height: 1.3; }
.p-focus-btn {
  height: 30px; border-radius: 9px;
  background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.p-today {
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.p-row { display: flex; justify-content: space-between; align-items: center; }
.p-today .p-row { font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.p-amount { display: flex; align-items: baseline; gap: 6px; }
.p-amount strong { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.p-amount span { font-size: 12px; color: var(--ink-soft); }
.p-today small { font-size: 11px; color: var(--ink-soft); }
.p-today small b { color: var(--black); }
.track { position: relative; height: 8px; border-radius: 99px; background: var(--surface-2); }
.track > i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--green); }
.track--light { background: var(--track-light); }
.track-marker { position: absolute; left: 70%; top: -4px; width: 2px; height: 16px; background: var(--white); }
.p-month {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-month .p-row > span:first-child { font-size: 11px; font-weight: 500; color: var(--subtle); }
.p-month .p-amount strong { font-size: 22px; letter-spacing: -0.035em; }
.p-month .p-amount span { color: var(--muted); }
.p-month .p-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* Status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip--sm { font-size: 11px; }
.chip--ok { background: var(--green-deep); color: var(--green); }
.chip--warn { background: var(--amber-bg); color: var(--amber); }
.chip--low { background: var(--red-bg); color: var(--red); }

/* Floating notes beside the phone */
.float {
  position: absolute;
  border-radius: 18px;
  background: rgba(30, 30, 33, .92);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  line-height: 1.2;
}
.float > div { display: flex; flex-direction: column; gap: 2px; }
.float strong { font-size: 13px; font-weight: 700; }
.float span { font-size: 12px; color: var(--muted); }
.float-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon--app { border-radius: 10px; background: var(--black); border: 1px solid var(--border); }
.float-icon--ok { border-radius: 50%; background: var(--green); color: var(--black); }
.float--learn { width: 304px; left: -40px; bottom: 50px; }
.float--julia { width: 284px; right: -6px; bottom: 120px; }

/* ---------- Problem ---------- */
.problem .wrap { display: flex; flex-direction: column; gap: 48px; }
.problem .h2 { max-width: 820px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain {
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pain-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--red-bg);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.card-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.card-text { font-size: 16px; line-height: 1.55; color: var(--muted); }
.pain .card-text { line-height: 1.5; }
.punchline { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 700; }

/* ---------- How it works ---------- */
.how .wrap { display: flex; flex-direction: column; gap: 56px; }
.how .h2 { max-width: 900px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.step-mock {
  padding: 24px;
  border-radius: 24px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.step-body { display: flex; flex-direction: column; gap: 8px; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--green); }
.step-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }

/* Step 1: onboarding question */
.m-stack { display: flex; flex-direction: column; gap: 14px; }
.m-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--subtle); }
.m-q { font-size: 18px; font-weight: 800; }
.m-options { display: flex; flex-wrap: wrap; gap: 6px; }
.m-options span {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--muted);
}
.m-options .is-on { background: var(--white); color: var(--black); font-weight: 700; border-color: var(--white); }
.m-rule { height: 1px; background: var(--border); }
.m-sub { font-size: 13px; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week > div { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.week .area { height: 70px; width: 100%; display: flex; align-items: flex-end; }
.week .bar { width: 100%; height: var(--h); border-radius: 6px; background: var(--bar); }
.week .bar--strong { background: var(--green); }
.week .bar--off { background: var(--border); }
.week span, .learn span.day { font-size: 11px; color: var(--subtle); }
.m-totals { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.m-totals b { color: var(--white); }
.m-totals .c-green { color: var(--green); }

/* Step 2: team split */
.team { display: flex; flex-direction: column; gap: 12px; }
.team-row { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.team-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.team-line { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.team-line span span { color: var(--muted); }
.team-line .mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.track--thin { height: 6px; }
.track--thin > i { background: var(--white); }
.team-note { font-size: 13px; color: var(--subtle); }

/* Step 3: keypad */
.keypad { display: flex; flex-direction: column; gap: 12px; }
.keypad-value { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.keypad-value span { font-size: 18px; color: var(--subtle); }
.keypad-value strong { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.keys span {
  height: 40px; border-radius: 10px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 500;
}
.keypad-done {
  height: 44px; border-radius: 12px;
  background: var(--green); color: var(--black);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700;
}

/* Step 4: learned week */
.tag {
  align-self: flex-start;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--green-deep);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.learn { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.learn > div { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.learn .pct { font-size: 11px; font-weight: 700; color: var(--subtle); }
.learn .pct--up { color: var(--green); }
.learn .pct--down { color: var(--red-soft); }
.learn .area { position: relative; height: 80px; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.learn .area::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: var(--old, 61px);
  border-top: 2px dashed var(--bar);
}
.learn .bar { width: 72%; height: var(--h); border-radius: 5px; background: var(--bar-2); }
.learn .bar--weak { background: var(--bar-dim); }
.learn .bar--strong { background: var(--green); }
.m-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.m-note b { color: var(--white); }

/* ---------- Consultant ---------- */
.advisor .wrap { display: flex; flex-direction: column; gap: 48px; }
.advisor .h2 { max-width: 960px; }
.advisor .lead { max-width: 720px; }
.advisor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.adv {
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.adv--wide { grid-column: span 2; }
.adv-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--green);
}
.adv-title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.adv-mock { line-height: 1.2; }
.mock-focus {
  padding: 16px;
  border-radius: 16px;
  background: var(--green-deep);
  border: 1px solid var(--green-edge);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-focus strong { font-size: 16px; line-height: 1.3; }
.mock-focus span { font-size: 14px; color: var(--green-soft); }
.mock-btn {
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-btn--light { background: var(--white); color: var(--black); font-weight: 700; }
.mock-btn--ghost { padding: 0 14px; border: 1px solid var(--border); }
.mock-panel {
  padding: 16px;
  border-radius: 16px;
  background: var(--black);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-kicker { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.mock-draft { padding: 12px; border-radius: 10px; background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.mock-actions { display: flex; gap: 8px; }
.mock-actions .mock-btn--light { flex: 1; }
.mock-week {
  padding: 16px;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-week .mock-kicker { color: var(--green-ink); }
.mock-week strong { font-size: 16px; line-height: 1.3; }
.mock-week span:last-child { font-size: 13px; color: var(--ink-mute); }
.portrait-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; align-items: center; font-size: 13px; }
.portrait-row .track { height: 6px; border-radius: 3px; }
.portrait-row .track > i { border-radius: 3px; background: var(--bar-2); }
.portrait-row .track > i.is-good { background: var(--green); }
.portrait-row span:last-child { color: var(--muted); text-align: right; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat-q {
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
}
.chat-a { display: flex; gap: 10px; align-items: flex-start; }
.chat-a span { font-size: 14px; line-height: 1.5; }
.promise { display: flex; flex-wrap: wrap; gap: 32px; font-size: 15px; color: var(--muted); }
.promise li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Features ---------- */
.features .wrap { display: flex; flex-direction: column; gap: 56px; }
.features .h2 { max-width: 900px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature .track-wrap { display: flex; flex-direction: column; gap: 8px; }
.feature .track-wrap small { font-size: 13px; color: var(--muted); }

/* ---------- No ranking ---------- */
.no-rank { background: var(--surface); border-block: 1px solid var(--border); }
.no-rank .wrap {
  display: flex;
  gap: 96px;
  align-items: center;
  padding-block: 120px;
}
.no-rank-copy { flex: 1.3; display: flex; flex-direction: column; gap: 20px; }
.no-rank h2 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.no-rank h2 span { color: var(--subtle); }
.no-rank .lead { max-width: 640px; }
.no-rank ul { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.no-rank li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }

/* ---------- Audience ---------- */
.audience .wrap { display: flex; flex-direction: column; gap: 40px; }
.audience .h2 { max-width: 860px; }
.audience .lead { max-width: 760px; }
.segments { display: flex; flex-wrap: wrap; gap: 10px; }
.segments li {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 17px;
  font-weight: 500;
}

/* ---------- Pricing ---------- */
.pricing .wrap { display: flex; gap: 96px; align-items: center; }
.pricing-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.pricing-copy .lead { max-width: 460px; }
.pricing-copy ul { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; font-size: 16px; color: var(--muted); }
.pricing-copy li { display: flex; gap: 12px; align-items: center; }

.plan {
  width: 520px;
  flex-shrink: 0;
  padding: 36px;
  border-radius: 28px;
  background: var(--surface);
  border: 2px solid var(--white);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font-size: 20px; font-weight: 800; }
.plan-badge { padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--black); font-size: 13px; font-weight: 700; }

/* CSS-only annual/monthly switch: the radios sit before the toggle and the prices. */
.plan-period { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.plan-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.plan-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--black);
  border: 1px solid var(--border);
}
.plan-toggle label {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
#plano-anual:checked ~ .plan-toggle label[for="plano-anual"],
#plano-mensal:checked ~ .plan-toggle label[for="plano-mensal"] {
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}
#plano-anual:focus-visible ~ .plan-toggle label[for="plano-anual"],
#plano-mensal:focus-visible ~ .plan-toggle label[for="plano-mensal"] {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.plan-price { display: flex; flex-direction: column; gap: 6px; }
#plano-anual:checked ~ .plan-price--mensal,
#plano-mensal:checked ~ .plan-price--anual { display: none; }
.plan-amount { display: flex; align-items: baseline; gap: 8px; color: var(--white); }
.plan-amount strong { font-size: 64px; font-weight: 800; letter-spacing: -0.045em; }
.plan-amount span { font-size: 18px; color: var(--muted); }
.plan-price p:not(.plan-amount) { font-size: 15px; color: var(--muted); }
.plan-rule { height: 1px; background: var(--border); }
.plan-list { display: flex; flex-direction: column; gap: 12px; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.plan-list svg { margin-top: 2px; }
.plan-note { text-align: center; font-size: 14px; color: var(--subtle); }
.plan-pro {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  font-size: 14px;
  color: var(--muted);
}
.plan-pro b { color: var(--white); }

/* ---------- FAQ ---------- */
.faq .wrap { display: flex; gap: 96px; }
.faq .section-head { width: 380px; flex-shrink: 0; }
.faq-list { flex: 1; min-width: 0; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  min-height: 64px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--muted); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .faq-list summary svg { transition: transform .2s; }
}

/* ---------- Final call ---------- */
.final { background: var(--green); color: var(--black); }
.final .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding-block: 120px;
}
.final-copy { display: flex; flex-direction: column; gap: 20px; }
.final-mark { width: 72px; height: 69px; color: var(--black); --mark-accent: var(--white); }
.final h2 { font-size: 72px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.final-copy p { font-size: 18px; font-weight: 500; color: var(--green-ink-deep); }
.final-actions { display: flex; flex-direction: column; gap: 12px; width: 340px; flex-shrink: 0; }
.final :focus-visible { outline-color: var(--black); }

/* ---------- Footer ---------- */
.site-footer .wrap { padding-block: 48px; display: flex; flex-direction: column; gap: 32px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo { width: 104px; height: 34px; }
.footer-brand p, .copyright, .legal { font-size: 14px; color: var(--subtle); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.legal { padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Large tablet / small laptop ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 48px; }
  .main-nav ul { gap: 24px; }
  .hero h1 { font-size: 64px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing .wrap, .faq .wrap, .no-rank .wrap { gap: 56px; }
  .plan { width: 460px; }
  .final h2, .no-rank h2 { font-size: 60px; }
}

@media (max-width: 1099px) {
  .main-nav { display: none; }
  .hero .wrap { flex-direction: column; align-items: stretch; }
  .hero-visual { align-self: center; }
  .pricing .wrap, .faq .wrap, .no-rank .wrap, .final .wrap { flex-direction: column; align-items: stretch; }
  .faq .section-head { width: auto; }
  .plan { width: 100%; max-width: 560px; }
  .final-actions { width: 100%; max-width: 400px; }
}

@media (max-width: 899px) {
  .steps, .advisor-grid { grid-template-columns: 1fr; }
  .adv--wide { grid-column: auto; }
  .step-mock { min-height: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; --section-y: 72px; }

  .site-header .wrap { padding-block: 18px; }
  .logo { width: 92px; height: 30px; }
  .signin { display: none; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  .btn--sm { padding: 0 14px; }

  .hero .wrap { gap: 40px; padding-block: 40px 24px; }
  .hero-copy { gap: 24px; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero .check-list { gap: 12px; }

  .hero-visual {
    width: 100%;
    max-width: 350px;
    height: auto;
    padding: 20px 0 30px;
    align-items: flex-start;
  }
  .hero-visual::before { display: none; }
  .phone { transform: scale(.94); transform-origin: top center; }
  .float--learn { display: none; }
  .float--julia { left: 0; right: auto; bottom: 0; }

  .h2 { font-size: 34px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .punchline { font-size: 18px; }
  .steps { gap: 48px; }

  .adv { padding: 24px; }
  .adv-title { font-size: 22px; }
  .promise { gap: 12px; }

  .no-rank .wrap { gap: 32px; padding-block: 72px; }
  .no-rank h2 { font-size: 40px; }

  .segments li { font-size: 15px; }

  .pricing .wrap { gap: 40px; }
  .plan { padding: 24px; }
  .plan-amount strong { font-size: 52px; }

  .faq .wrap { gap: 32px; }
  .faq-list summary { font-size: 17px; }

  .final .wrap { gap: 32px; padding-block: 72px; }
  .final-mark { width: 56px; height: 53px; }
  .final h2 { font-size: 40px; }
  .final-actions { max-width: none; }

  .footer-main { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* Very narrow phones: the hero right below carries the same call, so the header one steps aside. */
@media (max-width: 359px) {
  .hero h1 { font-size: 40px; }
  .header-actions { display: none; }
}
