/* Stuart, stuartdesk.com. One light theme.
   Shape rule: media frames 28px, panels 22px, chips 8px, every button is a pill. */

@font-face {
  font-family: "Stack Sans Headline";
  src: url("../fonts/stack-sans-headline.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* Arial resized to Inter's metrics, so the swap does not shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.64%;
  ascent-override: 90%;
}

:root {
  color-scheme: light;
  --bg: #f6f6f4;
  --raised: #ffffff;
  --ink: #1d1d1f;
  --ink2: #424245;
  --muted: #6e6e73;
  --rule: rgba(29, 29, 31, 0.1);
  --fill: rgba(29, 29, 31, 0.05);
  --acc: #0f686e;
  --acc-hover: #0c5a5f;
  --acc-soft: rgba(15, 104, 110, 0.1);
  --glass: rgba(250, 250, 248, 0.72);
  --shadow: 0 1px 2px rgba(20, 40, 42, 0.06), 0 12px 40px rgba(20, 40, 42, 0.08);
  --shadow-lg: 0 2px 6px rgba(20, 40, 42, 0.06), 0 30px 80px rgba(20, 40, 42, 0.14);
  --display: "Stack Sans Headline", "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
  --text: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.067, 1.089 24.6%, 1.084 26.3%, 1.024 32%, 0.996 36.4%, 0.99 39.7%, 1.001 51.3%, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --wide: 1240px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
.plain { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
b, strong, th { font-weight: 500; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(15, 104, 110, 0.18); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 40em; letter-spacing: -0.005em; text-wrap: pretty; }
.lede strong { color: var(--ink); font-weight: 500; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; color: var(--acc); }
kbd {
  font: 500 0.82em/1 var(--text);
  padding: 0.28em 0.5em; border-radius: 7px;
  background: var(--raised); border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s var(--ease), background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--acc); color: #fff; box-shadow: 0 1px 2px rgba(15, 104, 110, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.btn-primary:hover { background: var(--acc-hover); }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-ghost:hover { background: rgba(29, 29, 31, 0.09); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; }
/* Download is not open yet: the button stays visible but does nothing. */
.is-soon, .is-soon:hover { cursor: default; user-select: none; }
.is-soon:active { transform: none; }
.btn-primary.is-soon, .btn-primary.is-soon:hover { background: #dfe2e1; color: var(--ink2); box-shadow: none; }
.nav:not(.is-solid) .nav-cta.is-soon, .pill-light.is-soon { background: rgba(255, 255, 255, 0.8); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--acc); font-weight: 500; text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Glass, a web approximation of Apple's materials: blur and saturate what is behind, with a lit top edge. */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 1px 1px rgba(29, 29, 31, 0.04);
}

/* Nav: over the hero, the logo is white and each link is its own glass pill (after Seedance).
   Past the hero it turns into a light glass bar with ink text. */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; justify-self: start; }
.nav-cta { justify-self: end; }
.nav-logo img { height: 24px; width: auto; }
.nav:not(.is-solid) .logo-ink, .nav.is-solid .logo-white { display: none; }
.nav-links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; text-decoration: none; color: #fff;
  background: rgba(24, 26, 26, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav-links a:hover { background: rgba(24, 26, 26, 0.38); }
.nav:not(.is-solid) .nav-cta { background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: none; }
.nav:not(.is-solid) .nav-cta:hover { background: #fff; }
.nav.is-solid { background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0.5px 0 var(--rule); }
.nav.is-solid .nav-links a { color: var(--ink2); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-solid .nav-links a:hover { color: var(--ink); background: var(--fill); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Media: every video sits in a frame with a poster, plays only in view, and has a pause button. */
.media { position: relative; overflow: hidden; background: #e9ecea; isolation: isolate; }
.media video, .media > img { width: 100%; height: 100%; object-fit: cover; }
.media-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 999px; border: 0; padding: 0;
  display: grid; place-items: center; color: var(--ink);
  opacity: 0.001; transition: opacity 0.3s ease, transform 0.12s var(--ease);
}
.media-toggle .icon { width: 14px; height: 14px; }
.media:hover .media-toggle, .media-toggle:focus-visible, .media.is-paused .media-toggle { opacity: 1; }
.media-toggle:active { transform: scale(0.92); }
@media (hover: none) { .media-toggle { opacity: 1; } }

/* Hero: full-bleed video, title bottom-left, actions bottom-right (after Seedance).
   The middle line of the title rotates through things your Mac already knows (after Meta Muse). */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 7vh, 80px); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #8a8378; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 14, 14, 0.62) 0%, rgba(12, 14, 14, 0.3) 34%, rgba(12, 14, 14, 0) 62%),
    linear-gradient(to bottom, rgba(12, 14, 14, 0.34) 0%, rgba(12, 14, 14, 0) 24%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.hero-title { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5vw, 78px); line-height: 1.06; letter-spacing: -0.03em; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .soft { color: rgba(255, 255, 255, 0.72); }
.rotor { position: relative; height: 1.06em; }
.rotor-item {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 0.22em; white-space: nowrap;
  opacity: 0; transform: translateY(0.55em); filter: blur(8px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease), filter 0.6s ease;
}
.rotor-item .icon { width: 0.78em; height: 0.78em; flex: none; }
.rotor-item.is-on { opacity: 1; transform: none; filter: none; transition-delay: 0.18s; }
.rotor-item.is-out { opacity: 0; transform: translateY(-0.45em); filter: blur(6px); transition-duration: 0.35s, 0.5s, 0.35s; }
.hero-sub { margin-top: 22px; max-width: 36em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.hero-cta { display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; border: 0;
  transition: transform 0.12s var(--ease), background-color 0.2s ease;
}
.pill:active { transform: scale(0.97); }
.pill .icon { width: 18px; height: 18px; }
.pill-light { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.pill-light:hover { background: #fff; }
.pill-glass {
  color: #fff; background: rgba(24, 26, 26, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.pill-glass:hover { background: rgba(24, 26, 26, 0.38); }
.hero-cta .media-toggle {
  position: static; width: 48px; height: 48px; opacity: 1; color: #fff;
  background: rgba(24, 26, 26, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.hero-cta .media-toggle .icon { width: 16px; height: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: min(7.4vw, 40px); }
  .hero-cta { flex-wrap: wrap; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-links a, .pill-glass, .hero-cta .media-toggle { background: rgba(20, 22, 22, 0.72); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Load choreography: headline lines rise and sharpen, then the rest. */
.rise { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

section { position: relative; }
.section { padding: clamp(96px, 13vw, 176px) 0; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lede { margin-top: 20px; }

/* Manifesto: the words light up as you read down the page. */
.manifesto { padding: clamp(96px, 14vw, 200px) 0 clamp(40px, 6vw, 80px); }
.manifesto p {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -0.03em;
  max-width: 23ch; text-wrap: balance;
}
.manifesto .w { color: var(--ink); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto .w { animation: lit linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
    @keyframes lit { from { color: rgba(29, 29, 31, 0.16); } to { color: var(--ink); } }
  }
}

/* The four questions */
.moments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.moment {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--rule);
}
.moment q { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.12; quotes: "\201C" "\201D"; }
.moment p { color: var(--muted); font-size: 18px; max-width: 30em; }
.moment p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .moment { grid-template-columns: 1fr; gap: 10px; } }

/* Ask demo */
.ask-stage { border-radius: 28px; aspect-ratio: 16 / 10; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: clamp(16px, 4vw, 56px); }
.ask-stage > .media-fill { position: absolute; inset: 0; z-index: -1; }
.ask-panel {
  width: min(620px, 100%); min-width: 0; border-radius: 22px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  background: rgba(248, 248, 246, 0.8); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
}
.ask-field { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--raised); box-shadow: 0 0 0 1px var(--rule); }
.ask-field img { width: 22px; height: 22px; }
.ask-q { flex: 1; min-width: 0; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-q:empty::before { content: "Ask Stuart anything"; color: var(--muted); }
.ask-q.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--acc); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask-field kbd { font-size: 11px; color: var(--muted); }
.ask-answer { padding: 18px 12px 8px; min-height: 196px; }
.ask-answer .text { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.ask-answer .text .notsure { display: block; font-weight: 500; margin-bottom: 2px; }
.ask-answer .word { opacity: 0; transition: opacity 0.35s ease; }
.ask-answer .word.on { opacity: 1; }
.cite {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin: 0 2px; vertical-align: 0.12em;
  border: 0; border-radius: 6px; background: var(--acc-soft); color: var(--acc); font: 500 11px/1 var(--text);
  transform: scale(0); transition: transform 0.5s var(--spring), background-color 0.2s;
}
.cite.on { transform: scale(1); }
.cite:hover, .cite.hot { background: var(--acc); color: #fff; }
.ask-sources { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; }
.ask-sources li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 13px; color: var(--ink2);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.5s var(--ease), background-color 0.2s;
}
.ask-sources li.on { opacity: 1; transform: none; }
.ask-sources li.hot { background: var(--acc-soft); }
.ask-sources .n { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--fill); font-size: 11px; font-weight: 500; color: var(--muted); flex: none; }
.ask-sources .icon { width: 16px; height: 16px; color: var(--acc); }
.ask-sources .meta { margin-left: auto; color: var(--muted); white-space: nowrap; }
.ask-thinking { display: flex; gap: 5px; padding: 6px 0; }
.ask-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: 0.3; animation: dot 1s ease-in-out infinite; }
.ask-thinking i:nth-child(2) { animation-delay: 0.15s; }
.ask-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 40% { opacity: 1; transform: translateY(-2px); } }
.ask-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ask-tabs button {
  border: 0; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--fill); color: var(--ink2); font-size: 14px;
  transition: background-color 0.2s, color 0.2s, transform 0.12s var(--ease);
}
.ask-tabs button:hover { background: rgba(29, 29, 31, 0.09); }
.ask-tabs button:active { transform: scale(0.97); }
.ask-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ask-rules { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }
.ask-rules li { display: flex; gap: 10px; align-items: center; color: var(--ink2); font-size: 15px; }
.ask-rules .icon { width: 18px; height: 18px; color: var(--acc); }
@media (max-width: 640px) {
  .ask-stage { aspect-ratio: auto; padding: 56px 12px; border-radius: 22px; }
  .ask-sources .meta { display: none; }
}

/* Sources bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: 28px; background: var(--raised); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 10px; min-height: 260px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tile .icon { width: 28px; height: 28px; color: var(--acc); margin-bottom: auto; }
.tile p { color: var(--muted); max-width: 32em; }
.tile-media { padding: 0; justify-content: flex-end; min-height: 420px; }
.tile-media .media { position: absolute; inset: 0; z-index: 0; }
.tile-media .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.6) 34%, rgba(255, 255, 255, 0) 62%); pointer-events: none; z-index: 1; }
.tile-media .tile-copy { position: relative; z-index: 2; padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 10px; pointer-events: none; }
.tile-media .media-toggle { top: 14px; bottom: auto; }
.tile-tint { background: linear-gradient(160deg, #e3f0ef 0%, #f3f7f6 100%); }
.tile-warm { background: linear-gradient(160deg, #f6ede3 0%, #faf6f1 100%); }
.span-4 { grid-column: span 4; }
.span-2 { grid-column: span 2; }
.span-6 { grid-column: span 6; }
.tile-row { flex-direction: row; align-items: center; gap: 24px; min-height: 0; }
.tile-row .icon { margin: 0; }
.tile-row div { display: grid; gap: 6px; }
@media (max-width: 900px) {
  .span-4, .span-2, .span-6 { grid-column: span 6; }
  .tile { min-height: 0; }
  .tile .icon { margin-bottom: 16px; }
  .tile-media { min-height: 380px; }
  .tile-row { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* Calls */
.calls-head { display: grid; gap: 24px; max-width: 880px; }
.calls-head .h2 { font-size: clamp(40px, 6vw, 80px); }
.rail-wrap { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 880px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), calc((100vw - var(--wide)) / 2)) 8px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wide)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: grid; gap: 18px; margin: 0; align-content: start; }
.card .media { border-radius: 28px; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.card figcaption { max-width: 34em; padding-right: 8px; }
.card figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 4px; color: var(--ink); }
.card figcaption span { color: var(--muted); }
.rail-controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.rail-progress { flex: 1; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0.25); transition: transform 0.3s var(--ease); }
.round {
  width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center; background: var(--fill); color: var(--ink);
  transition: background-color 0.2s, opacity 0.2s, transform 0.12s var(--ease);
}
.round:hover { background: rgba(29, 29, 31, 0.09); }
.round:active { transform: scale(0.94); }
.round:disabled { opacity: 0.35; cursor: default; }
.round .icon { width: 18px; height: 18px; }
.consent {
  margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--raised); box-shadow: var(--shadow); max-width: 880px;
}
.consent .icon { width: 28px; height: 28px; color: var(--acc); }
.consent blockquote { margin: 10px 0 12px; font-family: var(--display); font-size: clamp(20px, 2vw, 24px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; }
.consent p { color: var(--muted); }
.consent p + p { margin-top: 10px; }
.signoff { margin-top: clamp(80px, 10vw, 140px); text-align: center; }
.signoff p { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.signoff span { display: block; margin-top: 16px; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .rail { grid-auto-columns: 86%; gap: 14px; } .consent { grid-template-columns: 1fr; } }

/* Daily: accordion beside a visual */
.daily { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.acc { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item h3 { margin: 0; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 26px 0; border: 0; background: none;
  font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.2;
}
.acc-btn .icon { width: 22px; height: 22px; color: var(--muted); transition: transform 0.5s var(--spring); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--ink); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); max-width: 30em; padding-bottom: 28px; transition: opacity 0.4s ease 0.12s; }
.js .acc-item:not(.open) .acc-panel { grid-template-rows: 0fr; }
.js .acc-item:not(.open) .acc-panel p { opacity: 0; transition-delay: 0s; }
.daily-visual { position: relative; border-radius: 28px; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--shadow); background: #e9ecea; }
.daily-visual .media { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity 0.7s ease, transform 1.2s var(--ease), visibility 0s linear 0.7s; }
.daily-visual .media.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 860px) { .daily { grid-template-columns: 1fr; } .daily-visual { aspect-ratio: 4 / 3; order: -1; } }

/* Privacy flow */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.flow-step { position: relative; padding: 0 clamp(16px, 2.4vw, 40px) 0 0; }
.flow-step .node {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 28px; position: relative; z-index: 1;
  background: var(--raised); color: var(--acc); box-shadow: var(--shadow);
}
.flow-step .node .icon { width: 26px; height: 26px; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 72px; right: 16px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 6px, transparent 6px 12px);
}
.flow-step .pulse { position: absolute; top: 25px; left: 72px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); opacity: 0; }
.flow.in .flow-step .pulse { animation: travel 2.4s var(--ease) calc(var(--s) * 0.5s + 0.4s) 2 both; }
@keyframes travel { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(var(--len, 200px))); } }
.flow-step p { color: var(--muted); margin-top: 8px; max-width: 24em; }
.keeps { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: start; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rule); }
.keeps ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.keeps li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; }
.keeps li .icon { width: 16px; height: 16px; color: var(--acc); transform: translateY(2px); }
.keeps .small { margin-top: 20px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 40px; }
  .flow-step:not(:last-child)::after, .flow-step .pulse { display: none; }
  .flow-step .node { margin-bottom: 18px; }
  .keeps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .keeps ul { grid-template-columns: 1fr; } }

/* Pricing */
.period {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--fill); margin-bottom: 40px;
}
.period button { position: relative; z-index: 1; border: 0; background: none; height: 40px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink2); white-space: nowrap; transition: color 0.3s; }
.period button[aria-checked="true"] { color: var(--ink); }
.period button span { color: var(--acc); font-weight: 500; }
.period .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--raised); box-shadow: 0 1px 3px rgba(29, 29, 31, 0.12), 0 4px 12px rgba(29, 29, 31, 0.06); transition: transform 0.6s var(--spring); }
.pricing[data-period="year"] .period .thumb { transform: translateX(100%); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; text-align: left; }
.plan { border-radius: 28px; padding: clamp(28px, 3vw, 40px); background: var(--raised); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-pro { box-shadow: var(--shadow), 0 0 0 1.5px var(--acc); }
.plan h3 { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.plan .for { color: var(--muted); margin-top: 6px; min-height: 3.1em; }
.price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 8px; height: 64px; overflow: hidden; }
.price .amt { font-family: var(--display); font-size: 60px; font-weight: 300; letter-spacing: -0.04em; line-height: 64px; display: grid; }
.price .amt > span { grid-area: 1 / 1; transition: transform 0.6s var(--ease), opacity 0.4s ease; }
.price .amt .y { transform: translateY(100%); opacity: 0; }
.pricing[data-period="year"] .price .amt .m { transform: translateY(-100%); opacity: 0; }
.pricing[data-period="year"] .price .amt .y { transform: none; opacity: 1; }
.price .per { color: var(--muted); }
.billed { font-size: 14px; color: var(--muted); height: 1.5em; }
.billed .y { display: none; }
.pricing[data-period="year"] .billed .m { display: none; }
.pricing[data-period="year"] .billed .y { display: inline; }
.plan ul { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li .icon { width: 16px; height: 16px; color: var(--acc); transform: translateY(2px); }
.plan li b { font-weight: 500; }
.plan .how { margin-top: auto; padding-top: 28px; font-size: 14px; color: var(--muted); }
.fine { margin: 32px auto 0; max-width: 760px; display: grid; gap: 6px; text-align: center; }
.fine .link-arrow { display: inline-flex; }
.pricing .wrap { text-align: center; }
.center { margin-left: auto; margin-right: auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .section-head { position: static; margin-bottom: 8px; } }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 0.5s var(--spring); flex: none; }
.faq-list details[open] summary .icon { transform: rotate(45deg); color: var(--ink); }
.faq-list .answer { padding: 0 48px 28px 0; color: var(--ink2); max-width: 44em; }
.faq-list .answer p + p { margin-top: 12px; }
.faq-list .answer a { color: var(--acc); }
details[open] .answer { animation: open 0.5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* Download */
.download { text-align: center; padding: clamp(120px, 14vw, 200px) 0; overflow: hidden; }
.download > .media { position: absolute; inset: 0; z-index: -1; }
/* A light wash keeps the dark headline readable over any video. */
.download > .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(246, 246, 244, 0.72), rgba(246, 246, 244, 0.35) 70%, rgba(246, 246, 244, 0.2)), linear-gradient(to bottom, var(--bg) 0%, rgba(246, 246, 244, 0) 22%, rgba(246, 246, 244, 0) 78%, var(--bg) 100%); pointer-events: none; z-index: 1; }
.download > .media-toggle { top: 24px; bottom: auto; right: var(--gutter); opacity: 1; }
.app-icon { width: 128px; height: 128px; margin: 0 auto 36px; filter: drop-shadow(0 20px 40px rgba(20, 40, 42, 0.18)); }
.download .h2 { font-size: clamp(40px, 6vw, 80px); }
.download .lede { margin: 20px auto 0; }
.download .btn { margin-top: 40px; height: 56px; padding: 0 32px; font-size: 17px; }
.download .req { margin-top: 20px; }

/* Footer */
.footer { padding: 72px 0 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer img { height: 24px; width: auto; margin-bottom: 16px; }
.footer h2 { font: 500 14px/1.4 var(--text); color: var(--ink); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(80px, 10vw, 128px); }
.legal .wrap { max-width: calc(760px + var(--gutter) * 2); }
.legal h1 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.05; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal .summary { margin-top: 32px; padding: 24px 28px; border-radius: 22px; background: var(--raised); box-shadow: var(--shadow); }
.legal .summary p + p, .legal .summary ul { margin-top: 10px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin: 56px 0 14px; }
.legal h3 { font-size: 17px; font-weight: 500; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink2); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; display: grid; gap: 8px; }
.legal a { color: var(--acc); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.legal th { font-weight: 500; color: var(--ink); }
.legal .table-scroll { overflow-x: auto; }
.legal .toc { margin-top: 32px; font-size: 15px; }
.legal .toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal .toc li { padding: 4px 0; }
.legal .toc a { text-decoration: none; display: inline-block; min-height: 24px; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }

.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.notfound .lede { margin: 16px auto 32px; }

/* Accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav.is-solid, .ask-panel { background: #fafaf8; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #48484c; --rule: rgba(29, 29, 31, 0.3); }
}

