/* Mosaik website.
 *
 * The tokens below are the desktop app's own (mosaik-desktop:
 * src/mosaik/styles/palette.py and metrics.py), under the same names, so the
 * site and the app are one design. The rules carry over too: neutral
 * surfaces, amber as the one interaction colour, and the mosaic tiles kept
 * small and deliberate — the logo, the picture, the strips and the kind tags.
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-latin-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-latin-ext-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Fraunces";
  src: url("../fonts/Fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- tokens --------------------------------------------------------------- */

:root {
  /* The tesserae: the same glass in both themes. */
  --tile-navy: #2e4574;
  --tile-navy-deep: #1b2a4a;
  --tile-oxblood: #87302f;
  --tile-teal: #1b605a;
  --tile-gold: #f6c453;
  --tile-amber: #dc9a33;
  --tile-ochre: #c9862a;
  --tile-cream: #eedcb4;
  --grout: #141220;
  --on-picture-light: #fbf6ec;
  --on-picture-dark: #1c1814;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ui: "Inter", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, monospace;

  --r-xs: 4px;
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --page: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Light. Not dark inverted: white for the reading plane, the faintest grey for edges. */
  --bg: #ffffff;
  --sidebar: #f7f7f7;
  --surface: #ffffff;
  --surface-hover: #f1f1f1;
  --raised: #ffffff;
  --card: #fafafa;
  --card-hover: #f4f4f4;
  --border: #e6e6e6;
  --border-strong: #d4d4d4;
  --text: #191919;
  --text2: #5e5e5e;
  --text3: #8b8b8b;
  --accent: #dc9a33;
  --accent-hover: #cf8c26;
  --accent-pressed: #bd7d1d;
  --accent-text: #1f1a14;
  --accent-ink: #8a560e;
  --accent-wash: #fbf1e1;
  --danger: #b3352a;
  --added: #1f7a48;
  --input-bg: #ffffff;
  --shadow-cast: #1616161f;
  --shadow-soft: #16161612;
  --tag-code-bg: #f7e7e5; --tag-code-fg: #87302f;
  --tag-design-bg: #e3f0ee; --tag-design-fg: #1b605a;
  --tag-writing-bg: #e7ebf4; --tag-writing-fg: #2e4574;
  --tag-research-bg: #fbf0d8; --tag-research-fg: #8a560e;
  color-scheme: light;
}

/* Dark: true graphite, every step the same in all three channels. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171717; --sidebar: #111111; --surface: #1f1f1f; --surface-hover: #262626;
    --raised: #1d1d1d; --card: #1b1b1b; --card-hover: #212121; --border: #282828;
    --border-strong: #383838; --text: #ececec; --text2: #a3a3a3; --text3: #727272;
    --accent: #e0a23e; --accent-hover: #ebb050; --accent-pressed: #c98f2e;
    --accent-text: #1b1408; --accent-ink: #eab25a; --accent-wash: #2a2216;
    --danger: #e5776b; --added: #5fc98a; --input-bg: #1a1a1a;
    --shadow-cast: #00000070; --shadow-soft: #00000047;
    --tag-code-bg: #2e1a1a; --tag-code-fg: #e59a8f;
    --tag-design-bg: #15292a; --tag-design-fg: #7cc7bb;
    --tag-writing-bg: #1a2236; --tag-writing-fg: #9fb4e3;
    --tag-research-bg: #2a2413; --tag-research-fg: #e6be68;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171717; --sidebar: #111111; --surface: #1f1f1f; --surface-hover: #262626;
  --raised: #1d1d1d; --card: #1b1b1b; --card-hover: #212121; --border: #282828;
  --border-strong: #383838; --text: #ececec; --text2: #a3a3a3; --text3: #727272;
  --accent: #e0a23e; --accent-hover: #ebb050; --accent-pressed: #c98f2e;
  --accent-text: #1b1408; --accent-ink: #eab25a; --accent-wash: #2a2216;
  --danger: #e5776b; --added: #5fc98a; --input-bg: #1a1a1a;
  --shadow-cast: #00000070; --shadow-soft: #00000047;
  --tag-code-bg: #2e1a1a; --tag-code-fg: #e59a8f;
  --tag-design-bg: #15292a; --tag-design-fg: #7cc7bb;
  --tag-writing-bg: #1a2236; --tag-writing-fg: #9fb4e3;
  --tag-research-bg: #2a2413; --tag-research-fg: #e6be68;
  color-scheme: dark;
}

/* --- base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 {
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
kbd {
  font: 500 11.5px/1 var(--ui);
  padding: 3px 6px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  background: var(--surface);
  color: var(--text);
}
::selection { background: var(--accent-wash); color: var(--text); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hp { left: -9999px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: 600 13.5px/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--surface-hover); }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-pressed); transform: translateY(1px); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: default; }

.icon-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }
.icon-btn svg, .scene-pill svg, .send svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* --- header --------------------------------------------------------------- */

.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: 60px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Over the picture the header is transparent, as it is over the app's New Chat page. */
.top.solid {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { border-radius: 7px; }
.wordmark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a {
  padding: 6px 10px; border-radius: var(--r-sm);
  color: var(--text2); text-decoration: none; font-size: 13.5px; font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--surface-hover); }
.top-actions { display: flex; align-items: center; gap: 8px; }

/* The header takes the picture's side while it sits over it. */
.top.over .wordmark, .top.over .nav a, .top.over .icon-btn { color: var(--on-picture-light); }
.top.over .nav a:hover, .top.over .icon-btn:hover { background: #ffffff1f; }
.top.over.on-light .wordmark, .top.over.on-light .nav a, .top.over.on-light .icon-btn { color: var(--on-picture-dark); }
.top.over.on-light .nav a:hover, .top.over.on-light .icon-btn:hover { background: #0000000f; }

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid;
  place-items: center;
  padding: 96px var(--gutter) 88px;
  background: #1b2a4a;
  overflow: hidden;
  isolation: isolate;
}
.scene { position: absolute; inset: 0; z-index: -1; }
.scene canvas { width: 100%; height: 100%; display: block; }
/* A wash of the page colour at the very top keeps the header readable. */
.scene::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 120px;
  background: linear-gradient(#0000004d, #0000);
  pointer-events: none;
}

.hero-copy {
  --scrim: 0.45;
  position: relative;
  width: min(820px, 100%);
  text-align: center;
  color: var(--on-picture-light);
}
/* Nothing dims the picture; the words carry a close shade of their own, as
   deep as the tiles under them are light. */
.hero-copy::before {
  content: ""; position: absolute; inset: -70px -90px; z-index: -1;
  background: radial-gradient(closest-side, rgb(14 16 28 / var(--scrim)), rgb(14 16 28 / 0));
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: #0e101c73; border: 1px solid #ffffff26;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--tile-gold); }
.hero h1 {
  font-family: var(--display);
  font-weight: 640;
  font-size: clamp(38px, 6.6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  text-shadow: 0 1px 2px #0000008c, 0 0 28px #0e101c80;
}
.lede {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.55;
  color: #fbf6ecf0;
  text-shadow: 0 1px 2px #000000d9, 0 0 10px #0e101ccc, 0 0 26px #0e101c99;
}

/* The composer capsule, from the app, taking an email instead of a message. */
.composer {
  position: relative;
  margin: 34px auto 0;
  width: min(560px, 100%);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-xl);
  background: var(--raised);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 50px var(--shadow-cast), 0 2px 8px var(--shadow-soft);
  text-align: left;
}
.composer input[type="email"] {
  flex: 1; min-width: 0;
  height: 40px; border: 0; background: transparent; color: var(--text);
  font: 400 16px/1 var(--ui);
}
.composer input::placeholder { color: var(--text3); }
.composer input:focus-visible { outline: none; }
.composer:focus-within { border-color: var(--accent); }
.send {
  flex: none; width: 40px; height: 40px; border-radius: 12px; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: var(--accent-text);
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.send:hover { background: var(--accent-hover); }
.send:active { background: var(--accent-pressed); transform: scale(.96); }
.send svg { width: 19px; height: 19px; stroke-width: 2.2; }
.composer .form-msg {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px);
  text-align: center; color: var(--on-picture-light);
  text-shadow: 0 1px 3px #000000b3;
  font-weight: 500;
}
.composer.done { justify-content: center; padding: 16px 20px; }
.composer.done input, .composer.done .send { display: none; }
.composer.done .form-msg { position: static; color: var(--text); text-shadow: none; }

.scene-pill {
  position: absolute; left: var(--gutter); bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #ffffff2e; background: #0e101c8c; color: var(--on-picture-light);
  font: 500 12.5px/1 var(--ui); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.scene-pill:hover { background: #0e101cb3; }
.scene-pill svg { width: 14px; height: 14px; }

/* --- strips --------------------------------------------------------------- */

canvas.strip { display: block; width: 100%; height: 6px; }

/* --- sections ------------------------------------------------------------- */

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
}
.section.band {
  max-width: none;
  background: var(--sidebar);
  border-block: 1px solid var(--border);
}
.section.band > * { max-width: calc(var(--page) - 2 * var(--gutter)); margin-inline: auto; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; color: var(--text2); font-size: 17px; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 9px; border-radius: var(--r-xs);
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.tag i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.tag-code { background: var(--tag-code-bg); color: var(--tag-code-fg); }
.tag-design { background: var(--tag-design-bg); color: var(--tag-design-fg); }
.tag-writing { background: var(--tag-writing-bg); color: var(--tag-writing-fg); }
.tag-research { background: var(--tag-research-bg); color: var(--tag-research-fg); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 9vw, 112px); }
.feature.flip .feature-text { order: 2; }
.feature-text h3 {
  margin: 16px 0 12px;
  font-family: var(--display); font-weight: 620;
  font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.feature-text p { color: var(--text2); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}

.shot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 70px var(--shadow-cast), 0 4px 14px var(--shadow-soft);
  background: var(--card);
}
.shot.wide { margin-bottom: 40px; }
.shot .on-light { display: none; }
:root[data-theme="light"] .shot .on-dark { display: none; }
:root[data-theme="light"] .shot .on-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .shot .on-dark { display: none; }
  :root:not([data-theme="dark"]) .shot .on-light { display: block; }
}

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { margin: 14px 0 8px; font-size: 16px; }
.card p { color: var(--text2); font-size: 14px; line-height: 1.55; }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.principle .tile {
  display: block; width: 28px; height: 28px; border-radius: 6px;
  background: var(--c);
  box-shadow: inset 0 0 0 2px var(--grout), 0 0 0 1px var(--border);
  margin-bottom: 18px;
}
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--text2); font-size: 14.5px; }

/* --- join ----------------------------------------------------------------- */

.join { padding-top: 0; }
.join-card {
  position: relative;
  max-width: 720px; margin: 0 auto;
  padding: 52px clamp(20px, 5vw, 56px) 44px;
  border-radius: var(--r-lg);
  background: var(--raised);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px var(--shadow-cast), 0 4px 14px var(--shadow-soft);
  text-align: center;
  overflow: hidden;
}
.strip-top { position: absolute; inset: 0 0 auto 0; border-radius: 0; }
.join-logo { margin: 0 auto 20px; border-radius: 14px; }
.join-card > p { color: var(--text2); margin: 14px auto 32px; max-width: 520px; }

.waitlist-form.full { display: grid; gap: 20px; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--text); padding: 0; }
.field legend { margin-bottom: 9px; }
.opt { color: var(--text3); font-weight: 400; margin-left: 4px; }
.field input {
  height: 42px; padding: 0 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--input-bg); color: var(--text);
  font: 400 15px/1 var(--ui);
  width: 100%;
}
.field input:focus { border-color: var(--accent); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13.5px; font-weight: 500; color: var(--text2);
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip span i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.chip:hover span { background: var(--surface-hover); color: var(--text); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-wash); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.waitlist-form.full .btn { justify-self: start; }
.form-msg { min-height: 1.5em; font-size: 14px; }
.form-msg.error { color: var(--danger); }
.waitlist-form.full .form-msg.ok { color: var(--added); font-weight: 500; }
.composer .form-msg.error { color: #ffd0c9; }

.thanks {
  display: grid; gap: 10px; justify-items: center; text-align: center; padding: 8px 0 4px;
}
.thanks h3 { font-family: var(--display); font-size: 26px; font-weight: 620; }
.thanks p { color: var(--text2); }

/* --- faq ------------------------------------------------------------------ */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 1.8px solid var(--text3); border-bottom: 1.8px solid var(--text3);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 4px 22px; color: var(--text2); max-width: 640px; }

/* --- footer --------------------------------------------------------------- */

.foot { background: var(--sidebar); border-top: 1px solid var(--border); }
.foot-inner {
  max-width: var(--page); margin: 0 auto; padding: 28px var(--gutter) 36px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  color: var(--text2); font-size: 13.5px;
}
.foot-inner .wordmark { font-size: 18px; color: var(--text); }
.foot-inner p { margin-right: auto; }
.foot-inner > a:last-child { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.foot-inner > a:last-child:hover { text-decoration: underline; }

/* --- reveal --------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- small screens -------------------------------------------------------- */

@media (max-width: 980px) {
  .cards, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .top { justify-content: space-between; }
  .top-actions .btn { display: none; }
  .hero { padding-top: 88px; }
  .hero h1 br { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .waitlist-form.full .btn { justify-self: stretch; }
}
@media (max-width: 520px) {
  .cards, .principles { grid-template-columns: 1fr; }
  .composer { padding-left: 14px; }
  .composer input[type="email"] { font-size: 15px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
