/* ==========================================================================
   RETO — coming-soon page
   Palette is the app's Rose theme (Reto/Core/AppTheme.swift) on an ink
   ground: raspberry #D33A72 as the only hue, Archivo 800 for the wordmark,
   the 56×6 rose bar from the app's welcome screen.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800&display=swap');

:root {
  --ground: #121214;
  --ink: #1C1C1E;
  --on-ground: #FFFFFF;
  --on-ground-70: rgba(255, 255, 255, 0.70);
  --on-ground-45: rgba(255, 255, 255, 0.45);
  --on-ground-18: rgba(255, 255, 255, 0.18);
  --on-ground-10: rgba(255, 255, 255, 0.10);
  --on-ground-08: rgba(255, 255, 255, 0.08);
  --on-ground-04: rgba(255, 255, 255, 0.04);

  --rose: #D33A72;
  --rose-fill: #B8305F;
  --rose-deep: #9C1E4E;
  --rose-light: #EE9DBE;
  --rose-tint: #FDEAF1;

  --font-heading: "Archivo", system-ui, -apple-system, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;

  --gutter: clamp(22px, 5vw, 64px);
}

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

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  background-image:
    radial-gradient(60% 50% at 88% 32%, rgba(211, 58, 114, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(211, 58, 114, 0.07), transparent 70%);
  background-attachment: fixed;
  color: var(--on-ground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1; position: relative; z-index: 1; }

/* Top bar -------------------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  position: relative;
  z-index: 1;
}

.top__mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.top__mark img {
  display: block;
  height: 30px;
  width: auto;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-ground-70);
  text-decoration: none;
  transition: color 0.15s;
}

.top__link:hover, .top__link--active { color: var(--on-ground); }

.top__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.top__cta:hover { background: var(--rose-fill); }

/* Hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 48px var(--gutter) 40px;
}

.hero__text { display: flex; flex-direction: column; }
.hero__text > * { margin: 0; }

.hero__art { min-width: 0; justify-self: center; width: 100%; max-width: 460px; }

.hero__kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ground-45);
}

.hero__wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(104px, 15vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-top: 14px;
  margin-left: -0.04em;
}

.hero__bar {
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: var(--rose);
  margin-top: 26px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 28px;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--on-ground-70);
  max-width: 46ch;
  margin-top: 12px;
}

/* Waitlist ------------------------------------------------------------- */

.waitlist {
  margin-top: 36px;
  max-width: 440px;
  scroll-margin-top: 48px;
}

.waitlist__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 10px;
}

.waitlist__row {
  display: flex;
  gap: 8px;
}

.waitlist__input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--on-ground);
  background: var(--on-ground-04);
  border: 1px solid var(--on-ground-18);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.waitlist__input::placeholder { color: var(--on-ground-45); }

.waitlist__input:focus {
  border-color: var(--rose);
  background: rgba(211, 58, 114, 0.06);
}

.waitlist__btn {
  appearance: none;
  -webkit-appearance: none;
  height: 48px;
  padding: 0 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.waitlist__btn:hover { background: var(--rose-fill); }
.waitlist__btn:active { transform: scale(0.98); }
.waitlist__btn:disabled { opacity: 0.6; cursor: default; }

.waitlist__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--on-ground-45);
  min-height: 1.5em;
}

.waitlist__note[data-state="error"] { color: var(--rose-light); }
.waitlist__note[data-state="done"]  { color: var(--on-ground); }

.waitlist--done .waitlist__row { display: none; }
.waitlist--done .waitlist__note {
  margin-top: 0;
  font-size: 15px;
  padding-left: 14px;
  border-left: 3px solid var(--rose);
}

/* How it works --------------------------------------------------------- */

.how {
  padding: 0 var(--gutter) 64px;
  scroll-margin-top: 48px;
}

.how__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.how__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 20ch;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: 56px 0;
  border-top: 1px solid var(--on-ground-10);
}

.step:nth-child(odd) .step__text { order: 2; }
.step:nth-child(odd) .step__art  { order: 1; }

.step__text { max-width: 44ch; }
.step__text > * { margin: 0; }

.step__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.step__title {
  margin-top: 12px !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.step__copy {
  margin-top: 14px !important;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.step__art {
  display: flex;
  justify-content: center;
  position: relative;
}

.step__art::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(closest-side, rgba(211, 58, 114, 0.22), transparent);
  filter: blur(20px);
  pointer-events: none;
}

/* Device frame: iPhone proportions, screenshot pinned to the top so the
   status bar and header show and the tab bar is cropped. */

.device {
  position: relative;
  width: min(270px, 72vw);
  aspect-ratio: 1206 / 2622;
  padding: 10px;
  background: #1d1d20;
  border-radius: 48px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.device[data-tilt="left"]  { transform: rotate(-4deg); }
.device[data-tilt="right"] { transform: rotate(4deg); }

.device__screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #2a2a2e, #1a1a1d);
}

.device__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device__screen img[hidden] { display: none; }

/* Features ------------------------------------------------------------- */

.features {
  padding: 0 var(--gutter) 96px;
}

.features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--on-ground-10);
  border-top: 1px solid var(--on-ground-10);
  border-bottom: 1px solid var(--on-ground-10);
}

.feature {
  background: var(--ground);
  padding: 28px 24px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature + .feature { padding-left: 24px; }

.feature__index {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rose);
}

.feature__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.feature__line {
  margin: auto 0 0;
  font-size: 14px;
  color: var(--on-ground-45);
}

/* Mission page --------------------------------------------------------- */

.mission { padding: 0; }

.mhero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 9vw, 120px);
}

.mhero__content { min-width: 0; }

.mhero__kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.mhero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 14ch;
}

.mhero__lede {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.mhero__lede + .mhero__lede { margin-top: 16px; }
.mhero__lede strong { color: var(--on-ground); font-weight: 600; }

.mhero__photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--on-ground-10);
}

.mhero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.mstory {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.mstory__text {
  margin: 0 auto;
  max-width: 62ch;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--on-ground);
}

.mfounder {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  padding: 0 var(--gutter) clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--on-ground-10);
  padding-top: 56px;
  align-items: start;
}

.mfounder__kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.mfounder__note p {
  margin: 0 0 1.2em;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--on-ground-70);
}

.mfounder__open {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
  color: var(--on-ground) !important;
}

.mfounder__sig {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--on-ground) !important;
  padding-top: 8px;
  margin-bottom: 0 !important;
}

.mfounder__sig::before {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: var(--rose);
  margin-bottom: 14px;
}

.mfounder__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-ground-45);
  text-decoration: none;
  transition: color 0.15s;
}

.mfounder__link:hover { color: var(--on-ground); }

.mfounder__use { position: sticky; top: 32px; }

.mfounder__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mfounder__list li {
  padding: 22px 0;
  border-top: 1px solid var(--on-ground-10);
}

.mfounder__list h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.mfounder__list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-ground-70);
}

.mcta {
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  border-top: 1px solid var(--on-ground-10);
  text-align: center;
}

.mcta__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.mcta__text {
  margin: 0 auto 28px;
  max-width: 44ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.mcta .waitlist {
  margin: 0 auto;
  text-align: left;
}

/* Mission + founder (home) -------------------------------------------- */

.founder {
  padding: 0 var(--gutter) 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  scroll-margin-top: 48px;
}

.founder__note { max-width: 62ch; }

.founder__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.founder__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.founder__text {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.founder__text strong { font-weight: 600; color: var(--on-ground); }

.founder__card { margin: 0; }

.founder__photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--on-ground-10);
}

.founder__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.founder__card figcaption { margin-top: 18px; }

.founder__quote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.founder__sig {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--on-ground-70);
}

.founder__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rose-light);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(211, 58, 114, 0.5);
  padding-bottom: 2px;
}

.founder__link:hover { color: var(--on-ground); border-color: var(--on-ground); }

.founder__linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-ground-45);
  text-decoration: none;
  transition: color 0.15s;
}

.founder__linkedin:hover { color: var(--on-ground); }

/* Why RETO ------------------------------------------------------------- */

.why {
  padding: 0 var(--gutter) 96px;
  scroll-margin-top: 48px;
}

.why__kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--on-ground-10);
}

.why__item { padding-top: 24px; }

.why__word {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rose);
}

.why__title {
  margin: 14px 0 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.why__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-ground-70);
  max-width: 40ch;
}

/* About page ----------------------------------------------------------- */

.about {
  padding: 48px var(--gutter) 96px;
  max-width: calc(62ch + 2 * var(--gutter));
}

.about__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.about__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.about__lede {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.about__note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--on-ground-10);
}

.about__note .about__kicker { margin-bottom: 18px; }

.about__photo {
  float: right;
  width: min(260px, 42%);
  margin: 6px 0 20px 36px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--on-ground-10);
}

.about__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__sig { clear: both; }

.about__note p {
  margin: 0 0 1.2em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--on-ground-70);
}

.about__note .about__open {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--on-ground);
}

.about__sig {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--on-ground) !important;
  padding-top: 8px;
}

.about__sig::before {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: var(--rose);
  margin-bottom: 14px;
}

.about__use {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--on-ground-10);
}

.about__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.about__list h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.about__list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-ground-70);
}

.about__cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.about__cta-note { font-size: 14px; color: var(--on-ground-45); }

.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover { background: var(--rose-fill); }

/* Pareto front -------------------------------------------------------- */
/* Every grey point is a possible week. The rose edge is the front; the
   lit point is the plan RETO picks. */

.front {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.front__axis { stroke: var(--on-ground-10); stroke-width: 1; }

.front__label, .front__tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--on-ground-45);
}

.front__dots circle { fill: var(--on-ground); }

.front__line {
  fill: none;
  stroke: var(--rose);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.front__best {
  fill: var(--rose);
  stroke: var(--ground);
  stroke-width: 2;
  opacity: 0;
  animation: appear 0.5s ease 1.8s forwards;
}

.front__halo {
  fill: rgba(211, 58, 114, 0.25);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: appear 0.5s ease 1.8s forwards, pulse 2.6s ease-in-out 2.3s infinite;
}

.front__tag { fill: var(--on-ground); opacity: 0; animation: appear 0.5s ease 2.1s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .front__line { animation: none; stroke-dashoffset: 0; }
  .front__best, .front__halo, .front__tag { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* FAQ ------------------------------------------------------------------ */

.faq {
  padding: 24px var(--gutter) 128px;
  scroll-margin-top: 48px;
}

.faq__title {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--on-ground-10);
}

.faq__item {
  border-bottom: 1px solid var(--on-ground-10);
}

.faq__q {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--on-ground);
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }

.faq__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rose);
}

.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}

.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--on-ground);
  transform: translate(-50%, -50%);
}

.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 14px; }

.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__a {
  padding: 0 36px 26px 56px;
  color: var(--on-ground-70);
  font-size: 15px;
  line-height: 1.6;
}

.faq__a p { margin: 0 0 1em; }
.faq__a p:last-child { margin-bottom: 0; }

/* Footer --------------------------------------------------------------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
  color: var(--on-ground-45);
  position: relative;
  z-index: 1;
}

.foot__note { color: var(--on-ground-70); }

.foot__right { display: inline-flex; align-items: center; gap: 18px; }

.foot__link {
  color: var(--on-ground-70);
  text-decoration: none;
}

.foot__link:hover { color: var(--on-ground); }

.faq__a a {
  color: var(--rose-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq__a a:hover { color: var(--on-ground); }

/* Narrower screens ----------------------------------------------------- */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .step { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .step:nth-child(odd) .step__text { order: 1; }
  .step:nth-child(odd) .step__art  { order: 2; }
  .device { width: min(240px, 70vw); }
  .hero__art { justify-self: start; }
  .why__grid { grid-template-columns: 1fr; gap: 0; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding-left: 24px; }
  .feature:nth-child(odd) { padding-left: 0; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: 36px; padding-bottom: 48px; }
  .hero__wordmark { font-size: clamp(88px, 24vw, 120px); }
  .top__cta { height: 32px; padding: 0 12px; font-size: 12px; }
  .top__mark img { height: 26px; }
  .about__photo { float: none; width: min(220px, 60%); margin: 0 0 24px; }
  .mhero { grid-template-columns: 1fr; gap: 32px; }
  .mhero__photo { justify-self: start; width: min(100%, 360px); }
  .mfounder { grid-template-columns: 1fr; gap: 40px; }
  .mfounder__use { position: static; }
  .top__link { font-size: 12px; }
  .founder { grid-template-columns: 1fr; padding-bottom: 72px; }
  .founder__card { width: min(100%, 280px); }
  .why { padding-bottom: 64px; }
  .waitlist__row { flex-direction: column; }
  .waitlist__input { flex: none; }
  .waitlist__btn { width: 100%; }
  .features { padding-bottom: 56px; }
  .faq { padding-bottom: 80px; }
  .faq__q { grid-template-columns: 32px 1fr 24px; gap: 8px; }
  .faq__a { padding-left: 40px; padding-right: 0; }
  .top__nav { gap: 12px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding-left: 0; padding-right: 0; }
}
