/* Maven landing page. Golden-hour palette from the hero painting. */
:root {
  --ink: #0d0d0d;
  --text: #262626;
  --muted: #5a5a5a;
  --soft: #737373;
  --line: rgb(0 0 0 / 8%);
  --line-strong: rgb(0 0 0 / 12%);
  --paper: #ffffff;
  --mist: #f7f7f7;
  --coral: #e0573e;
  --coral-soft: #fbeee7;
  --coral-text: #b4532f;
  --green: #216747;
  --green-soft: #edf6f0;
  --sunset: #d98c6a;
  --shadow-warm: 0 24px 60px rgb(90 40 20 / 28%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 120px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
b { font-weight: 600; }
i { font-style: normal; }
em { font-style: normal; }
button { font: inherit; }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
[id] { scroll-margin-top: 72px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 12px;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgb(90 40 20 / 28%); }
.btn-dark:hover { box-shadow: 0 12px 32px rgb(90 40 20 / 36%); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); height: 46px; padding: 0 18px; font-size: 15px; }
.btn-outline:hover { background: var(--mist); }
.btn-small { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo.dark { color: var(--ink); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark span { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, #f2645a, #f7a35c); }
.logo-mark.sm { width: 22px; height: 22px; border-radius: 6px; }
.logo-mark.sm span { width: 8px; height: 8px; }
.logo-word { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }

/* Navigation: white over the painting, frosted once you scroll */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  transition: background-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), padding 400ms var(--ease-out), color 300ms;
  color: #fff;
}
.nav-inner { max-width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav-left { display: flex; align-items: center; gap: 48px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 16px; opacity: 0.88; transition: opacity 200ms; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-signin { font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.nav.is-solid {
  color: var(--ink);
  padding-block: 10px;
  background: rgb(255 255 255 / 82%);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .logo { color: var(--ink); }
.nav.is-solid .nav-signin { text-decoration: none; }
.nav.is-solid .nav-cta { opacity: 1; transform: none; pointer-events: auto; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 1080px; padding: 168px var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center;
  background: var(--sunset);
}
.hero-sky {
  position: absolute; inset: -6% 0 auto 0; height: 112%; z-index: -2;
  background: url(assets/golden-hour.jpg) center top / cover no-repeat;
  transform: translate3d(0, var(--sky-shift, 0px), 0) scale(1.04);
  will-change: transform;
}
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; will-change: transform, opacity; }
.pill-glass {
  font-size: 15px; font-weight: 500; color: #fff;
  padding: 7px 14px; border-radius: 9px;
  background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 35%);
}
.hero-title {
  font-size: clamp(44px, 6.2vw, 88px); line-height: 1.02; font-weight: 600;
  letter-spacing: -0.045em; color: #fff;
  text-shadow: 0 2px 24px rgb(120 60 30 / 18%);
}
.hero-sub {
  max-width: 760px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; font-weight: 500;
  color: #fff; text-shadow: 0 1px 12px rgb(120 60 30 / 35%);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }

.hero-window {
  position: relative; z-index: -1;
  width: min(var(--container), 100%); margin-top: 64px;
  padding: 14px 16px 0; border-radius: 22px 22px 0 0;
  background: rgb(255 255 255 / 22%); border: 1px solid rgb(255 255 255 / 45%); border-bottom: 0;
  box-shadow: 0 -10px 60px rgb(10 40 90 / 18%);
  transform: translate3d(0, var(--window-rise, 0px), 0);
  will-change: transform;
}
.window-dots { display: flex; gap: 8px; padding: 0 0 12px 6px; }
.window-dots span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }
.hero-window img { width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 340px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 35%) 35%, rgb(255 255 255 / 85%) 72%, #fff 100%);
}

/* Sections */
.section { padding-block: clamp(96px, 11vw, 160px); }
#features { padding-top: clamp(48px, 6vw, 96px); }
.h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.h2-xl { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.03; letter-spacing: -0.045em; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); max-width: 460px; }
.lede.center { max-width: 700px; text-align: center; }
.eyebrow {
  display: inline-block; width: fit-content;
  font-size: 14px; font-weight: 500; color: var(--coral-text);
  background: var(--coral-soft); padding: 6px 12px; border-radius: 999px;
}
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; }
.split-heading > :first-child { max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.center-heading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 56px; }

/* Three cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgb(90 40 20 / 10%); }
.card-visual {
  height: 280px; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: url(assets/golden-hour.jpg) var(--pos, center) / 280% no-repeat;
}
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.card-body p { font-size: 16px; line-height: 1.56; color: var(--muted); }
.mini-panel { width: min(280px, 100%); border-radius: 14px; background: rgb(255 255 255 / 93%); box-shadow: 0 12px 32px rgb(110 60 30 / 22%); }
.mini-panel.files { padding: 8px; }
.file { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.file.is-active { background: #f4f4f4; }
.file span:last-child { display: flex; flex-direction: column; }
.file b { font-size: 13px; font-weight: 500; color: var(--ink); }
.file i { font-size: 12px; color: var(--soft); }
.file-icon { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; }
.file-icon.green { background: #e6f6ec; } .file-icon.red { background: #fdecec; } .file-icon.blue { background: #e8f1fe; }
.mini-panel.method, .mini-panel.chat { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.method-head, .chat-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); }
.method-step { display: flex; gap: 8px; font-size: 13px; line-height: 18px; color: #3a3a3a; }
.method-step span { font-family: var(--mono); font-size: 12px; color: #e5484d; width: 14px; flex-shrink: 0; }
.chat-msg { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 18px; color: #3a3a3a; }
.chat-msg b { font-size: 12px; color: var(--ink); }
.tag-green { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 3px 7px; border-radius: 6px; }
.tag-amber { font-size: 12px; font-weight: 500; color: #825b16; background: #fbf4e5; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.mention { color: #c2410c; font-weight: 500; }

/* Avatars */
.avatars { display: flex; }
.av { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; border: 2px solid #fff; flex-shrink: 0; }
.avatars .av + .av { margin-left: -6px; }
.av.lg { width: 32px; height: 32px; font-size: 12px; border: 0; }
.av-am { background: #f2b8a2; color: #7a2e14; }
.av-jm { background: #b9d3f0; color: #1e4a7a; }
.av-rk { background: #c9e6d2; color: #1f5a36; }
.av-off { background: #e4e4e4; color: var(--muted); }

/* Painted stages: background drifts slower than the page and the stage settles as it arrives */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 760px; border-radius: 24px; padding: 64px 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sunset);
  transform: scale(var(--stage-scale, 1));
  transform-origin: center top;
  will-change: transform;
}
.stage::before {
  content: ""; position: absolute; inset: -10% 0; z-index: -1;
  background: var(--img) var(--stage-pos, center) / cover no-repeat;
  transform: translate3d(0, var(--drift, 0px), 0);
  will-change: transform;
}
.stage-short { min-height: 680px; }
[data-stage-inner] { transform: translate3d(0, var(--inner-rise, 0px), 0); opacity: var(--inner-opacity, 1); will-change: transform, opacity; }

/* Space window */
.space-window { display: flex; width: min(960px, 100%); min-height: 600px; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgb(90 40 20 / 30%); overflow: hidden; }
.space-sidebar { width: 220px; flex-shrink: 0; padding: 20px 12px; background: var(--mist); border-right: 1px solid rgb(0 0 0 / 6%); display: flex; flex-direction: column; gap: 4px; }
.space-firm { display: flex; align-items: center; gap: 8px; padding: 0 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.space-label { font-size: 12px; color: #8a8a8a; padding: 8px 8px 4px; }
.space-item { font-size: 14px; color: var(--ink); padding: 6px 8px; border-radius: 8px; }
.space-item.strong { font-weight: 500; }
.space-item.sub { padding-left: 20px; color: var(--muted); }
.space-item.is-active { background: #eaeaea; color: var(--ink); font-weight: 500; }
.space-channel { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.channel-head { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 24px; border-bottom: 1px solid rgb(0 0 0 / 6%); font-size: 15px; color: var(--ink); }
.channel-head span { font-size: 13px; color: var(--soft); }
.messages { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 24px 28px; }
.msg { display: flex; gap: 12px; font-size: 15px; line-height: 22px; color: var(--text); }
.msg .grow { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.msg-meta { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
.msg-meta b { font-size: 14px; color: var(--ink); }
.msg-meta span { font-size: 12px; color: #8a8a8a; }
.msg .mention { background: #fff1ea; padding: 0 4px; border-radius: 4px; }
.maven-av { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.maven-av span { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, #f2645a, #f7a35c); }
.draft-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgb(0 0 0 / 9%); }
.draft-icon { width: 34px; height: 34px; border-radius: 8px; background: #e6f6ec; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.draft-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.draft-text b { font-size: 14px; font-weight: 500; color: var(--ink); }
.draft-text i { font-size: 12px; color: var(--soft); }
.draft-btn { font-size: 13px; font-weight: 500; color: #fff; background: var(--ink); padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.approval { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--green-soft); border: 1px solid #d3e9da; font-size: 14px; color: var(--green); }
.channel-composer { margin: 0 28px 24px; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-radius: 14px; border: 1px solid rgb(0 0 0 / 10%); font-size: 14px; color: #8a8a8a; }
.send { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #f2526e, #f2645a 45%, #f7a35c); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Messages arrive one after another when the stage comes into view */
[data-msg] { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.is-played [data-msg] { opacity: 1; transform: none; }
.is-played [data-msg]:nth-child(2) { transition-delay: 450ms; }
.is-played [data-msg]:nth-child(3) { transition-delay: 1100ms; }
.is-played [data-msg]:nth-child(4) { transition-delay: 1900ms; }

/* Points */
.points { display: grid; border-top: 1px solid var(--line); margin-top: 64px; }
.points-3 { grid-template-columns: repeat(3, 1fr); }
.points-4 { grid-template-columns: repeat(4, 1fr); }
.points > div { padding: 32px 32px 0; display: flex; flex-direction: column; gap: 10px; }
.points > div + div { border-left: 1px solid var(--line); }
.points > div:first-child { padding-left: 0; }
.points > div:last-child { padding-right: 0; }
.points h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.points p { font-size: 16px; line-height: 1.56; color: var(--muted); }

/* Rotating word */
.rotating { display: flex; flex-direction: column; align-items: center; }
.rotating-line { display: block; white-space: nowrap; }
.rotator {
  position: relative; display: inline-block; vertical-align: bottom;
  height: 1.08em; overflow: hidden; text-align: left;
  width: var(--rotator-w, auto);
  transition: width 500ms var(--ease-out);
}
.rotator-word {
  position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--coral);
  opacity: 0; transform: translateY(0.55em);
  transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), filter 420ms;
  filter: blur(4px);
}
.rotator-word.is-current { position: relative; opacity: 1; transform: none; filter: none; }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-0.55em); filter: blur(4px); }
.word-rail { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #f6f6f6; margin-top: 4px; }
.word-rail button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: #6b6b6b; padding: 7px 14px; border-radius: 999px;
  transition: background-color 300ms var(--ease-out), color 300ms;
}
.word-rail button:hover { color: var(--ink); }
.word-rail button.is-current { background: var(--coral); color: #fff; font-weight: 600; }

/* Playbook and letter */
.playbook-pair, .privacy-pair { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.playbook { width: 430px; flex-shrink: 0; padding: 28px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-warm); }
.playbook-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.overline { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.playbook h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.muted { font-size: 14px; color: var(--soft); margin-top: 4px; }
.steps { margin-top: 18px; border-top: 1px solid rgb(0 0 0 / 7%); }
.steps li { display: flex; gap: 12px; padding: 14px 10px; border-bottom: 1px solid rgb(0 0 0 / 7%); border-radius: 10px; transition: background-color 500ms var(--ease-out); }
.steps li:last-child { border-bottom: 0; }
.steps b { font-size: 14px; color: var(--ink); }
.steps p { font-size: 14px; line-height: 20px; color: #4a4a4a; margin-top: 3px; }
.num { width: 22px; height: 22px; border-radius: 50%; background: var(--coral-soft); color: #c2410c; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color 500ms, color 500ms; }
.num.sm { width: 20px; height: 20px; font-size: 11px; }
.pair-arrow { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgb(90 40 20 / 25%); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.letter { width: 560px; flex-shrink: 1; min-width: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow-warm); overflow: hidden; }
.letter-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid rgb(0 0 0 / 7%); }
.letter-head > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.letter-head b { font-size: 14px; color: var(--ink); }
.letter-head i { font-size: 12px; color: var(--soft); }
.letter-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 24px; }
.letter-body p { position: relative; padding: 6px 40px 6px 8px; border-radius: 8px; font-size: 15px; line-height: 24px; color: #1a1a1a; transition: background-color 500ms var(--ease-out); }
.letter-body .num { position: absolute; right: 8px; top: 8px; }
.steps li.is-lit, .letter-body p.is-lit { background: #fff4ee; }
.steps li.is-lit .num, .letter-body p.is-lit .num { background: var(--coral); color: #fff; }

/* Privacy */
.access-card { width: 520px; flex-shrink: 1; min-width: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow-warm); overflow: hidden; }
.access-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgb(0 0 0 / 7%); }
.access-head span { display: flex; flex-direction: column; gap: 2px; }
.access-head b { font-size: 16px; color: var(--ink); }
.access-head i { font-size: 13px; color: var(--soft); }
.overline.pad { padding: 16px 24px 6px; }
.people { padding: 0 24px; }
.people li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.people li.is-off { opacity: 0.55; }
.person { flex: 1; display: flex; flex-direction: column; }
.person b { font-size: 14px; font-weight: 500; color: var(--ink); }
.person i { font-size: 12px; color: var(--soft); }
.access { font-size: 13px; color: var(--muted); }
.access.yes { color: var(--green); }
.ai-switch { margin: 8px 24px 0; padding: 16px 0 20px; border-top: 1px solid rgb(0 0 0 / 7%); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ai-switch > span { display: flex; flex-direction: column; gap: 3px; }
.ai-switch b { font-size: 14px; font-weight: 500; color: var(--ink); }
.ai-switch i { font-size: 13px; line-height: 18px; color: var(--soft); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 13px; border: 0; padding: 0; cursor: pointer; background: #cfcfcf; flex-shrink: 0; transition: background-color 300ms var(--ease-out); }
.toggle span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 20%); transition: transform 300ms var(--ease-out); }
.toggle.is-on { background: var(--green); }
.toggle.is-on span { transform: translateX(18px); }
.walls { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.walls li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgb(255 255 255 / 93%); box-shadow: 0 12px 32px rgb(90 40 20 / 20%); }
.walls span { display: flex; flex-direction: column; }
.walls b { font-size: 14px; font-weight: 500; color: var(--ink); }
.walls i { font-size: 12px; color: var(--soft); }
.it-strip { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 16px; background: var(--mist); }
.it-strip > span { display: flex; flex-direction: column; gap: 4px; }
.it-strip b { font-size: 17px; color: var(--ink); }
.it-strip i { font-size: 15px; color: var(--muted); }

/* Closing */
.closing-wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.stage.closing { min-height: 600px; border-radius: 28px; }
.closing-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.closing-title { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.03; font-weight: 600; letter-spacing: -0.045em; color: #fff; text-shadow: 0 2px 24px rgb(120 60 30 / 18%); }
.closing-sub { max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; font-weight: 500; color: #fff; text-shadow: 0 1px 12px rgb(120 60 30 / 35%); }

/* Footer */
.footer { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 96px 0 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.footer-brand p { font-size: 15px; color: var(--muted); }
.footer-cols { display: flex; gap: 96px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols h3 { font-size: 14px; font-weight: 600; color: var(--ink); padding-bottom: 4px; }
.footer-cols a { font-size: 14px; color: var(--muted); transition: color 200ms; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* Reveal on entry: rise, sharpen, settle */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
/* The hero plays on load with CSS alone, so it never waits on a script or an observer. */
.js .hero [data-reveal] {
  opacity: 1; transform: none; filter: none; transition: none;
  animation: reveal-in 1000ms var(--ease-out) both;
  animation-delay: calc(var(--d, 0ms) + 120ms);
}
.js .hero-window { animation: window-in 1200ms var(--ease-out) 380ms both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes window-in {
  from { opacity: 0; translate: 0 64px; }
  to { opacity: 1; translate: 0 0; }
}

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .points-4 { grid-template-columns: repeat(2, 1fr); }
  .points-4 > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .points-4 > div:nth-child(2) { padding-right: 0; }
  .playbook-pair, .privacy-pair { flex-direction: column; }
  .pair-arrow { transform: rotate(90deg); }
  .playbook, .letter, .access-card { width: min(560px, 100%); }
  .walls { width: min(560px, 100%); flex-direction: row; flex-wrap: wrap; }
  .walls li { flex: 1 1 160px; }
  .stage { min-height: 0; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { min-height: 0; padding-top: 128px; }
  .hero-window { margin-top: 48px; padding: 10px 10px 0; }
  .hide-sm { display: none; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .points-3, .points-4 { grid-template-columns: 1fr; }
  .points > div, .points > div:first-child, .points > div:last-child { padding: 24px 0 0; border-left: 0 !important; }
  .points > div + div { border-top: 1px solid var(--line); margin-top: 24px; }
  .space-sidebar { display: none; }
  .stage { padding: 32px 16px; border-radius: 20px; }
  .space-window { min-height: 0; }
  .messages { padding: 20px 16px; }
  .channel-composer { margin: 0 16px 16px; }
  .draft-card { flex-wrap: wrap; }
  .draft-text { flex: 1 1 calc(100% - 46px); }
  .draft-btn { margin-left: 46px; }
  .rotating-line { white-space: normal; }
  .it-strip { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .nav-signin { display: none; }
  .btn { height: 48px; padding: 0 20px; }
  .word-rail { gap: 0; padding: 4px; }
  .word-rail button { font-size: 13px; padding: 6px 9px; }
  .card-visual { height: 240px; }
}

/* Reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; filter: none; transition: opacity 400ms linear; }
  .hero-sky, .hero-window, .stage, .stage::before, [data-stage-inner] { transform: none !important; }
  .js .hero [data-reveal], .js .hero-window { animation-name: fade-in; }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  [data-stage-inner] { opacity: 1 !important; }
  [data-msg] { transform: none; transition: opacity 300ms linear; transition-delay: 0ms !important; }
  .rotator-word, .rotator-word.is-leaving { transform: none; filter: none; }
  .card:hover, .btn:hover { transform: none; }
}
