/* ==========================================================================
   Edinim — theme styles
   Palette derived from the app icon: royal blue body, amber bolt, navy outline.
   Single stylesheet, inlined into <head> by functions.php.
   ========================================================================== */

/* --- Fonts --------------------------------------------------------------- */
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Blues — hue 219 / sat 98%, taken straight from the app icon */
  --blue-900: #012d7e;
  --blue-800: #01389d;
  --blue-700: #0249ca;
  --blue-600: #0254e9;
  --blue-500: #1f78fa;  /* the robot's own body blue */
  --blue-400: #7cadfc;
  --blue-100: #d9e7fe;
  --blue-50: #f0f5ff;

  /* Navy — the icon's face plate and outline */
  --ink: #0e1c3a;
  --ink-2: #14264e;

  /* Amber — the icon's bolt and antenna */
  --amber: #fdc115;
  --amber-600: #e0a600;
  --amber-ink: #6f4d00;

  --white: #fff;
  --line: #e2e9f5;
  --line-blue: #d5e4fd;
  --line-dark: rgba(255, 255, 255, .16);
  --muted: #56617a;
  --muted-on-blue: #cbdefd;
  --muted-dark: #a6b4cd;

  --green: #2c8f65;
  --green-ink: #1f7a54;
  --green-soft: #e6f4ee;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --shadow-sm: 0 1px 2px rgba(14, 28, 58, .06), 0 2px 8px rgba(14, 28, 58, .05);
  --shadow-blue: 0 10px 26px rgba(2, 73, 202, .26);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Jakarta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.022em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* --- Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--white { background: var(--white); }
.section--mist { background: var(--blue-50); }
.section--dark { background: var(--ink); color: var(--white); }
.section--brand { background: var(--blue-800); color: var(--white); }

/* --- Typography helpers -------------------------------------------------- */
.h-display { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.25rem); }
.h-1 { font-size: clamp(2rem, 1.2rem + 3.1vw, 3.25rem); }
.h-3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); }

.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }
.section--brand .lead, .hero .lead { color: var(--muted-on-blue); }
.measure-wide { max-width: 56ch; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: #ffd24f; border-color: #ffd24f; }
.btn--blue { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.btn--blue:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(14, 28, 58, .05); }
.hero .btn--ghost, .section--dark .btn--ghost, .section--brand .btn--ghost { border-color: rgba(255, 255, 255, .4); }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover, .section--brand .btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.btn--sm { padding: .6rem 1.15rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue-900);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand picture { display: block; flex: none; line-height: 0; }
.brand__mark { width: 38px; height: 38px; border-radius: 22%; display: block; }
.brand__text { font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  display: block; padding: .5rem .8rem; border-radius: var(--r-pill);
  text-decoration: none; color: #c3d8fb; font-size: .9375rem; font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-sm);
  color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
[aria-expanded='true'] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded='true'] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; margin: 0;
    background: var(--blue-900); border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .85rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; font-size: 1.0625rem; }
  .nav__cta { margin-top: 1rem; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 901px) { .nav__cta { display: none; } }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(155deg, var(--blue-900) 0%, var(--blue-800) 48%, var(--blue-700) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: auto -25% -70% 35%;
  height: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 193, 21, .2), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center; position: relative; z-index: 1;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero__title { margin-bottom: 1.125rem; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lead { margin-bottom: 2rem; max-width: 40ch; }
.hero__note {
  margin-top: 1.75rem; font-size: .9375rem; color: var(--muted-on-blue);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.hero__note span { display: inline-flex; align-items: center; gap: .45rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }

.tagline-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .95rem .35rem .35rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: var(--white); font-size: .875rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.tagline-pill b {
  background: var(--amber); color: var(--ink); border-radius: var(--r-pill);
  padding: .15rem .6rem; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase;
}

/* --- Phone mock ----------------------------------------------------------
   The frame is a container, so every size inside is expressed in cqw and the
   whole mock scales as one unit instead of drifting from the bezel.
   ------------------------------------------------------------------------ */
.hero__device { display: flex; justify-content: center; }

.phone {
  container-type: inline-size;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  background: linear-gradient(160deg, #4b6ea8 0%, #16264a 42%, #0c1730 100%);
  border-radius: 13%/6.3%;
  padding: 1.15%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 30px 60px -12px rgba(4, 18, 48, .7),
    0 60px 100px -40px rgba(4, 18, 48, .8);
}
.phone__screen {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--blue-50);
  color: var(--ink);
  border-radius: 12%/6%;
  overflow: hidden;
}

.phone__island {
  position: absolute; top: 2.7cqw; left: 50%; transform: translateX(-50%);
  width: 26cqw; height: 7.4cqw; border-radius: 999px; background: #050c1c; z-index: 2;
}

.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.4cqw 6cqw 0;
  font-size: 4cqw; font-weight: 700; letter-spacing: -.02em;
  height: 12.8cqw; flex: none;
}
.phone__signal { display: inline-flex; align-items: flex-end; gap: .7cqw; }
.phone__signal i { width: 1.2cqw; background: currentColor; border-radius: .6cqw; }
.phone__signal i:nth-child(1) { height: 1.6cqw; }
.phone__signal i:nth-child(2) { height: 2.4cqw; }
.phone__signal i:nth-child(3) { height: 3.2cqw; }
.phone__signal i:nth-child(4) { height: 4cqw; }
.phone__battery {
  width: 7cqw; height: 3.6cqw; margin-left: 1.4cqw; border-radius: 1.1cqw;
  border: .55cqw solid currentColor; position: relative;
}
.phone__battery::before {
  content: ''; position: absolute; inset: .7cqw; right: 2.2cqw;
  background: currentColor; border-radius: .4cqw;
}

.phone__app { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 2.4cqw 4.6cqw 0; }

.phone__bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 4.1cqw; font-weight: 700; color: var(--muted); margin-bottom: 3.4cqw;
}
.phone__bar span { display: inline-flex; align-items: center; gap: 1.5cqw; }
.phone__bar svg { width: 4.6cqw; height: 4.6cqw; color: var(--amber-600); }

.energy {
  background: var(--ink); color: var(--white);
  border-radius: 5cqw; padding: 4cqw 4.4cqw 4.4cqw; margin-bottom: 3.4cqw;
}
.energy__label { font-size: 3.7cqw; color: var(--muted-dark); font-weight: 600; }
.energy__value {
  display: flex; align-items: baseline; gap: 1.2cqw;
  font-size: 12.5cqw; font-weight: 800; letter-spacing: -.04em; line-height: 1.15;
}
.energy__value span { font-size: 4.4cqw; font-weight: 700; color: var(--amber); }
.energy__track {
  display: block; height: 2.5cqw; border-radius: 999px; background: rgba(255, 255, 255, .16);
  margin-top: 2.6cqw; overflow: hidden;
}
.energy__fill {
  display: block; height: 100%; width: var(--w, 60%); border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-600), var(--amber));
}

.tasks { display: grid; gap: 2cqw; }
.task {
  display: flex; align-items: center; gap: 2.6cqw;
  background: var(--white); border: 1px solid var(--line); border-radius: 3.4cqw;
  padding: 2.9cqw 3.2cqw; font-size: 4.1cqw; font-weight: 600; line-height: 1.3;
}
.task b { margin-left: auto; font-size: 3.6cqw; font-weight: 800; color: var(--blue-700); white-space: nowrap; }
.task__check {
  width: 5.6cqw; height: 5.6cqw; flex: none; border-radius: 50%;
  border: .7cqw solid var(--line); position: relative;
}
.task--done { color: var(--muted); }
.task--done .task__check { background: var(--green); border-color: var(--green); }
.task--done .task__check::after {
  content: ''; position: absolute; left: 1.7cqw; top: .7cqw; width: 1.4cqw; height: 2.6cqw;
  border: solid #fff; border-width: 0 .65cqw .65cqw 0; transform: rotate(45deg);
}
.task--done b { color: var(--green-ink); }

.phone__edin {
  display: flex; align-items: center; gap: 2.4cqw; margin: 3.4cqw 0 4cqw;
  background: var(--blue-100); border-radius: 3.4cqw;
  padding: 2.8cqw 3.2cqw; font-size: 3.8cqw; font-weight: 600; color: var(--blue-800);
  line-height: 1.35;
}
.phone__edin picture { display: block; flex: none; line-height: 0; }
.phone__edin-mark { width: 7.6cqw; height: 7.6cqw; border-radius: 24%; display: block; }

.phone__home {
  flex: none; width: 34cqw; height: 1.4cqw; margin: 2.4cqw auto 2.6cqw;
  border-radius: 999px; background: var(--ink); opacity: .28;
}

@media (max-width: 899px) {
  .phone { width: min(280px, 72vw); }
}

/* --- Chat / problem ------------------------------------------------------ */
.chat { display: grid; gap: .7rem; max-width: 30rem; }
.bubble {
  margin: 0; padding: .85rem 1.15rem; border-radius: var(--r-lg);
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 600; width: fit-content; max-width: 90%;
  box-shadow: var(--shadow-sm);
}
.bubble--a { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble--b { background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; margin-left: auto; }
.bubble--good { background: var(--amber); color: var(--ink); border-bottom-left-radius: 6px; font-weight: 700; box-shadow: 0 8px 24px rgba(253, 193, 21, .35); }

.pivot {
  margin: 1.75rem 0 1.5rem;
  color: var(--muted); font-weight: 600; font-size: 1rem;
}

/* --- Cards --------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.section--mist .card { border-color: var(--line-blue); }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-700); margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1875rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .9875rem; }
.section--dark .card p { color: var(--muted-dark); }

/* --- Steps --------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.step { position: relative; padding-top: 3.75rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-700); color: var(--white); font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-blue);
}
.step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.step p { color: var(--muted); }
.step__tag {
  display: inline-block; margin-top: .9rem; padding: .3rem .8rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line-blue); font-size: .8125rem; font-weight: 700; color: var(--blue-700);
}

/* --- Edin (AI) ----------------------------------------------------------- */
.edin-hello { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.edin-hello picture { display: block; flex: none; line-height: 0; }
.edin-hello__mark { width: 68px; height: 68px; border-radius: 22%; display: block; }
@media (min-width: 700px) { .edin-hello__mark { width: 88px; height: 88px; } }
.edin-hello__text { font-size: .9375rem; color: var(--muted-dark); }
.edin-hello__text strong { display: block; color: var(--white); font-size: 1.0625rem; }

.edin-demo { display: grid; gap: 1rem; max-width: 34rem; }
.prompt-box {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r);
  padding: 1.1rem 1.25rem; display: flex; gap: .85rem; align-items: flex-start;
}
.prompt-box__avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, .14); color: var(--white); font-weight: 800; font-size: .75rem;
}
.prompt-box__avatar picture { display: block; line-height: 0; }
.prompt-box__mascot { width: 36px; height: 36px; display: block; }
.prompt-box p { font-size: 1.0625rem; font-weight: 600; }
.prompt-box--reply { background: rgba(2, 84, 233, .22); border-color: rgba(124, 173, 252, .45); }
.prompt-box--reply .prompt-box__avatar { background: transparent; border-radius: 26%; }
.reply-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.reply-chips li {
  font-size: .8125rem; font-weight: 700; padding: .3rem .7rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--white);
}

.feature-list { display: grid; gap: .9rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.0625rem; }
.feature-list svg { width: 22px; height: 22px; flex: none; margin-top: .22rem; color: var(--amber); }

/* --- Stats --------------------------------------------------------------- */
.stat__value {
  display: block; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: 800;
  letter-spacing: -.045em; line-height: 1; color: var(--amber); margin-bottom: .6rem;
}
.stat__label { font-size: .9875rem; color: var(--muted-on-blue); font-weight: 600; }
.stats-note { margin-top: 2.5rem; font-size: .875rem; color: var(--muted); }
.section--brand .stats-note { color: var(--muted-on-blue); }
.stats-note a { color: inherit; text-underline-offset: 3px; }

/* --- Stat callout -------------------------------------------------------- */
.stat-callout {
  margin-top: 2.75rem; padding: 1.15rem 1.4rem;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  font-size: 1rem; line-height: 1.55; color: var(--white); max-width: 52rem;
}
.stat-callout b { color: var(--amber); font-weight: 800; }

/* --- Parent voices ------------------------------------------------------- */
.review {
  margin: 0; display: flex; flex-direction: column; gap: 1.35rem;
  background: var(--white); border: 1px solid var(--line-blue); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0; flex: 1; }
.review blockquote p {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  font-weight: 600; line-height: 1.55; letter-spacing: -.01em;
}
.review blockquote p::before { content: '“'; }
.review blockquote p::after { content: '”'; }
.review__by { display: flex; align-items: center; gap: .75rem; }
.review__avatar {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-800);
  font-weight: 800; font-size: 1.0625rem;
}
.review__by strong { display: block; font-size: .9875rem; line-height: 1.3; }
.review__by small { display: block; font-size: .875rem; color: var(--muted); }

.disclaimer {
  margin-top: 2rem; font-size: .8125rem; line-height: 1.5;
  color: var(--muted); max-width: 46rem;
}

/* --- Quotes -------------------------------------------------------------- */
.quote-card {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.quote-card blockquote { margin: 0; }
.quote-card p { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); color: #dde5f2; line-height: 1.7; }
.quote-card p + p { margin-top: .85rem; }
.quote-card cite {
  display: block; margin-top: 1.5rem; font-style: normal; font-weight: 700; color: var(--amber); font-size: .9375rem;
}
.quote-card cite small { display: block; font-weight: 500; color: var(--muted-dark); font-size: .875rem; margin-top: .15rem; }
.quote-mark { width: 40px; height: 32px; color: var(--blue-400); opacity: .75; margin-bottom: 1.1rem; }

details.quote-more { margin-top: 1rem; }
details.quote-more > summary {
  cursor: pointer; font-weight: 700; color: var(--amber); font-size: .9375rem;
  list-style: none; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 0;
}
details.quote-more > summary::-webkit-details-marker { display: none; }
details.quote-more > summary::after {
  content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
details.quote-more[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.quote-more[open] > summary .quote-more__open { display: none; }
details.quote-more:not([open]) > summary .quote-more__close { display: none; }
.quote-more__body { margin-top: 1rem; }

/* --- Day timeline -------------------------------------------------------- */
.timeline { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.moment {
  background: var(--white); border: 1px solid var(--line-blue); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.moment__time {
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em;
  color: var(--blue-700); background: var(--blue-100);
  padding: .25rem .65rem; border-radius: var(--r-pill); display: inline-block; margin-bottom: .9rem;
}
.moment h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.moment p { color: var(--muted); font-size: .9375rem; }

/* --- Store / download ---------------------------------------------------- */
.store-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem 1.15rem; border-radius: var(--r);
  background: var(--ink); color: var(--white); text-decoration: none;
  border: 1px solid var(--ink); transition: transform .18s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge[aria-disabled='true'] { opacity: .42; pointer-events: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge__text { display: block; }
.store-badge__text > span { display: block; font-size: .6875rem; line-height: 1.3; color: #b9c6dd; letter-spacing: .04em; text-transform: uppercase; }
.store-badge strong { display: block; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.02em; }

.signup { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 30rem; }
.signup__field { flex: 1 1 15rem; }
.signup input[type='email'] {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .85rem 1.1rem; border-radius: var(--r-pill);
  border: 2px solid var(--line); background: var(--white); color: var(--ink);
}
.signup input[type='email']::placeholder { color: #6b7688; }
.signup input[type='email']:focus { outline: none; border-color: var(--blue-700); }
.signup input[type='email']:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-note { margin-top: .85rem; font-size: .8125rem; color: var(--muted); }
.form-note a { color: var(--blue-700); }
.form-msg {
  margin-top: 1rem; padding: .8rem 1.1rem; border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 600;
  background: var(--green-soft); color: #14563b; border: 1px solid #b9e0cd;
}
.form-msg--error { background: #fdecec; color: #8a1f1f; border-color: #f3c4c4; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { background: var(--amber); color: var(--ink); }
.cta-band .lead { color: #5c4200; }
.cta-band__inner { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 48rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.35rem; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem;
  padding: 1.15rem 2rem 1.15rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .25rem; top: 1.55rem;
  width: 9px; height: 9px; border-right: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq details > div { padding-bottom: 1.35rem; color: var(--muted); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { max-width: 28ch; font-size: .9375rem; }
.footer__title { color: var(--white); font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__list { display: grid; gap: .6rem; font-size: .9375rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .875rem;
}

/* --- Legal / content pages ----------------------------------------------- */
.page-hero {
  background: linear-gradient(155deg, var(--blue-900), var(--blue-700));
  color: var(--white); padding-block: clamp(3rem, 6vw, 5rem);
}
.page-hero .lead { color: var(--muted-on-blue); }
.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #313c53; }
.prose ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose ul li { list-style: disc; margin-bottom: .5rem; }
.prose a { color: var(--blue-700); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--blue-50); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* --- Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
