/* Mockup C: Light editorial, with dark mode. Light is the default for this mockup; dark follows the
   device setting unless the toggle has been used (data-theme on <html>, remembered in localStorage "theme"). */
:root {
  color-scheme: light;
  --bg: #F3F4F6;
  --text: #0E0F12;
  --text-dim: #5A5D66;
  --border: rgba(14,15,18,.14);
  --accent-ink: #D43A18;
  --nav-bg: rgba(243,244,246,.86);
  --field-bg: #FFFFFF;
  --field-border: rgba(14,15,18,.2);
  --placeholder: #80838c;
  --ok: #15803d;
  --phone-shadow: 0 0 0 1.5px #2b2b30, 0 40px 70px -34px rgba(14,15,18,.55);
  --bezel: #17171a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #050506; --text: #FFFFFF; --text-dim: #B9B9C2; --border: rgba(255,255,255,.16); --accent-ink: #FF5A36;
    --nav-bg: rgba(5,5,6,.84); --field-bg: #0D0D0F; --field-border: rgba(255,255,255,.14); --placeholder: #8a8a92; --ok: #22C55E;
    --phone-shadow: 0 0 0 2px #6b6b76, 0 0 0 9px rgba(255,255,255,.05), 0 0 90px -10px rgba(255,255,255,.14), 0 40px 80px -30px #000; --bezel: #2a2a30;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050506; --text: #FFFFFF; --text-dim: #B9B9C2; --border: rgba(255,255,255,.16); --accent-ink: #FF5A36;
  --nav-bg: rgba(5,5,6,.84); --field-bg: #0D0D0F; --field-border: rgba(255,255,255,.14); --placeholder: #8a8a92; --ok: #22C55E;
  --phone-shadow: 0 0 0 2px #6b6b76, 0 0 0 9px rgba(255,255,255,.05), 0 0 90px -10px rgba(255,255,255,.14), 0 40px 80px -30px #000; --bezel: #2a2a30;
}
body { background: var(--bg); color: var(--text); }
.logo { color: var(--text); }
.pill { color: var(--text-dim); }
.form-row input[type=email] { background: var(--field-bg); color: var(--text); border-color: var(--field-border); }
.form-row input::placeholder { color: var(--placeholder); }
.fine { color: var(--text-dim); }
.success { color: var(--ok); }
.phone { background: var(--bezel); box-shadow: var(--phone-shadow); }
.mk-footer { color: var(--text-dim); }
.mk-footer a:hover { color: var(--text); }

/* each screenshot is in the page twice: light and dark picture */
.img-d { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .img-l { display: none; }
  :root:not([data-theme="light"]) .img-d { display: block; }
}
:root[data-theme="dark"] .img-l { display: none; }
:root[data-theme="dark"] .img-d { display: block; }

/* switch */
.nav-r { display: flex; align-items: center; gap: 12px; }
.theme-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-dim); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.theme-btn:hover { color: var(--text); border-color: var(--text-dim); }
.theme-btn .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
}
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }

/* soft fade when the switch is used */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease, stroke .5s ease, box-shadow .5s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: none !important; }
}

.nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }

.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: start; }
.col { padding-bottom: 40px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; border-top: 1px solid var(--border); }
.step.hero { min-height: calc(100vh - 110px); border-top: 0; padding-top: 56px; }
.step.last { min-height: 60vh; }
.eyebrow { font: 600 12.5px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 18px; }
h1 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; line-height: 1.02; letter-spacing: -0.038em; margin: 0 0 22px; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 14ch; text-wrap: balance; }
.lede, .step p { font-size: 18px; color: var(--text-dim); max-width: 44ch; margin: 0 0 28px; }
.step p.fine, .step p.no, .step p.eyebrow { max-width: none; }
.step p.eyebrow { color: var(--accent-ink); font-size: 12.5px; margin: 0 0 18px; }
.step p.fine { font-size: 12.5px; max-width: 56ch; margin: 14px 0 0; }
.hero form { max-width: 470px; }
.no { font: 700 15px var(--font-mono) !important; color: var(--text) !important; margin: 0 0 14px !important; }
.no span { color: var(--text-dim); font-weight: 500; }
.last form { max-width: 470px; }

.stage { position: sticky; top: 96px; height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; }
.stack { display: grid; width: min(300px, 100%); }
.stack .s { grid-area: 1 / 1; align-self: center; width: 100%; opacity: 0; transition: opacity .5s ease; }
.stack .s.on { opacity: 1; }
.m-phone { display: none; }

@media (max-width: 880px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .stage { display: none; }
  .step, .step.hero { min-height: 0; padding: 44px 0; }
  .m-phone { display: flex; justify-content: center; margin-top: 34px; }
  .m-phone .phone { width: min(270px, 78%); }
  .last { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { .stack .s { transition: none; } }
@media (max-width: 440px) { .nav-r .pill { display: none; } }
/* Live page additions (12-14 Nov 2026): the waitlist's "please enter a valid email" hint, and an invalid field. */
.hint { display: none; color: var(--accent-ink); font-size: 13px; margin-top: 10px; }
.hint.show { display: block; }
input[type="email"][aria-invalid="true"] { border-color: var(--accent-ink); }
