/* ============================================================
   Amyra landing — design tokens from the app itself:
   coral is the ONLY color; everything else is warm neutral.
   ============================================================ */
@font-face {
  font-family: "Haskoy";
  src: url("assets/fonts/Haskoy-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Commit Mono";
  src: url("assets/fonts/CommitMono-VF.woff2") format("woff2-variations");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --coral: #fa5c33;
  --coral-soft: rgba(250, 92, 51, 0.12);
  --ink: #131211;
  --ink-60: rgba(19, 18, 17, 0.62);
  --ink-40: rgba(19, 18, 17, 0.42);
  --line: rgba(19, 18, 17, 0.09);
  --bg: #f7f5f2;
  --surface: #ffffff;
  --radius: 14px;
  --font-display: "Haskoy", -apple-system, system-ui, sans-serif;
  --font-body: "Haskoy", -apple-system, system-ui, sans-serif;
  --font-mono: "Commit Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--coral); color: #fff; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 730; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: normal; color: var(--coral); }

h1 { font-size: clamp(3.2rem, 8vw, 6.8rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.05; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
}

.mono { font-family: var(--font-mono); }
.fine { font-size: 0.72rem; color: var(--ink-40); letter-spacing: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19,18,17,0.18); background: var(--coral); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn-xs { padding: 0.42rem 0.9rem; font-size: 0.75rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 245, 242, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.nav-logo .nav-mark-img { width: 30px; height: 30px; }
.nav-mark { width: 15px; height: 20px; }
.nav-mark path { fill: var(--coral); stroke: #fff; stroke-width: 1.2; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  font-size: 0.85rem; color: var(--ink-60); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4.5vh, 3.6rem);
  padding: clamp(5.5rem, 11vh, 8rem) 1.4rem clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}

/* warm organic shader background (microsoft.ai style), auras as fallback */
.hero-aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(14px);
  transform: scale(1.08);
}
/* readability: fade the texture toward the page bg at top + bottom,
   and lift a soft cream pool behind the headline */
.hero-aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 36% at 50% 76%, rgba(247, 245, 242, 0.72), transparent 72%),
    linear-gradient(180deg, rgba(247, 245, 242, 0.55), rgba(247, 245, 242, 0) 22%,
      rgba(247, 245, 242, 0) 58%, var(--bg) 97%);
}
.aura { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aura.a1 {
  width: 46vw; height: 46vw; left: 3%; top: 0;
  background: radial-gradient(circle, rgba(255, 166, 116, 0.50), transparent 66%);
}
.aura.a2 {
  width: 40vw; height: 40vw; right: 2%; top: 8%;
  background: radial-gradient(circle, rgba(255, 148, 176, 0.38), transparent 66%);
}
.aura.a3 {
  width: 60vw; height: 44vw; left: 50%; top: 26%; margin-left: -30vw;
  background: radial-gradient(circle, rgba(255, 216, 178, 0.55), transparent 68%);
}

/* mono status chrome */
.hero-status {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.stat-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 2.4s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(250,92,51,0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(250,92,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,92,51,0); }
}

/* 3D image globe — tiles on an invisible sphere, always facing the camera */
.hero-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  height: clamp(320px, 44vh, 500px);
  cursor: grab;
  touch-action: pan-y;
}
.hero-scene:active { cursor: grabbing; }
.hero-globe {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
}
.globe-tile {
  position: absolute;
  left: 0; top: 0;
  border-radius: 12px;
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.globe-tile-inner {
  position: absolute; inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 34px rgba(19,18,17,0.16);
  will-change: transform, opacity;
}
.globe-tile-inner::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}
/* the tile Amyra's cursor is currently "reading" */
.globe-tile-inner {
  transition: box-shadow 0.45s ease;
}
.globe-tile-inner.agent-focus {
  box-shadow: 0 12px 34px rgba(19,18,17,0.16),
              0 0 0 2px var(--coral),
              0 0 0 6px rgba(250, 92, 51, 0.14);
}

/* Amyra's wandering cursor in the hero */
.hero-scene .hero-agent {
  position: absolute;
  left: 0; top: 0;
  z-index: 300;
  opacity: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin-top: clamp(1rem, 4vh, 3rem);
}
.hero-headline {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hl-line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hl-inner { display: inline-block; will-change: transform; }
.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 33rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-60);
}
.hero-ctas { margin-top: 2rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* trust strip — the facts, as a slim band below the hero */
.trust-strip {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.4rem clamp(3rem, 8vh, 6rem);
}
.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  text-align: left;
}
.hero-facts .fact {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 2px 10px rgba(19, 18, 17, 0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.hero-facts .fact:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(19, 18, 17, 0.08);
}
.fact-n {
  position: absolute;
  top: 1.25rem; right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.fact-v {
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.fact-d {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-40);
}

/* ---------- organize — the signature choreography ---------- */
.organize {
  padding: clamp(4rem, 10vh, 7rem) clamp(1rem, 2.5vw, 2.5rem) 0;
}
.organize-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}
.organize-stage {
  position: relative;
  max-width: 1200px;
  height: 540px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background-color: #fbfaf8;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(19,18,17,0.06);
}

/* ---------- flagship assistant section ---------- */
.assistant {
  max-width: none;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) clamp(1rem, 2.5vw, 2.5rem);
}
.assistant-head { text-align: center; max-width: 640px; margin: 0 auto 3.8rem; }
.assistant-head h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.assistant-sub {
  margin: 1.6rem auto 0;
  max-width: 34rem;
  color: var(--ink-60);
  line-height: 1.7;
  font-size: 1rem;
}
/* ---------- full app window mockup ---------- */
.app-window {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f2f0ec;
  box-shadow: 0 34px 90px rgba(19,18,17,0.13);
  overflow: hidden;
}
.app-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--line);
}
.traffic { display: flex; gap: 6px; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.tool-center { display: flex; gap: 0.35rem; margin: 0 auto; }
.tbtn {
  font-size: 0.66rem;
  color: var(--ink-60);
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
}
.tbtn.active { background: rgba(19,18,17,0.07); color: var(--ink); }
.tbtn.dim { color: var(--ink-40); }
.tool-right { display: flex; gap: 0.9rem; color: var(--ink-40); font-size: 0.8rem; }
.app-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  background: #efedea;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--ink-60);
}
.app-tab { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 8px; white-space: nowrap; }
.app-tab.active { background: var(--surface); box-shadow: 0 1px 3px rgba(19,18,17,0.08); color: var(--ink); flex: 0 1 300px; }
.app-tab .tab-x { margin-left: auto; color: var(--ink-40); }
.app-tab.plus { padding: 0.4rem 0.6rem; }
.app-tab-spacer { flex: 1; }
.app-canvas {
  position: relative;
  height: clamp(620px, 72vh, 760px);
  overflow: hidden;
  background-color: #f7f5f2;
}

/* board clusters behind the chat */
.board-cluster { position: absolute; z-index: 1; }
.bc-label {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.32rem 0.6rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(19,18,17,0.06);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-grid { column-count: 2; column-gap: 8px; }
.bc-grid img {
  width: 100%;
  display: block;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(19,18,17,0.10), 0 6px 16px rgba(19,18,17,0.07);
}

/* the chat panel floating over the canvas */
.app-canvas .amyra-panel {
  position: absolute;
  left: 44px;
  top: 26px;
  bottom: 26px;
  width: 410px;
  z-index: 10;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(19,18,17,0.16);
  overflow: hidden;
}
.app-canvas .amyra-body { flex: 1; min-height: 0; }
.assistant-hint {
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: 1.4rem;
}

@media (max-width: 760px) {
  .app-canvas { height: 560px; }
  .app-canvas .amyra-panel { left: 14px; width: min(320px, 88%); }
  .tool-center .tbtn:nth-child(4) { display: none; }
}
.panel-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-40);
  padding: 0.9rem 1.2rem 0;
}
.assistant .chatpanel .chatpanel-head { border-top: 1px solid var(--line); margin-top: 0.8rem; }
.doc-chip {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--ink-60);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 2px 8px rgba(19,18,17,0.05);
}
.doc-chip .doc-icon { color: var(--coral); font-size: 0.85rem; }
.doc-chip .doc-pages { color: var(--ink-40); font-size: 0.62rem; }
.privacy-badge {
  align-self: flex-start;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--ink-60);
  background: var(--coral-soft);
  border: 1px solid rgba(250, 92, 51, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  opacity: 0;
}
.toggle-pill {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.62rem;
  color: var(--coral);
  border: 1px solid rgba(250, 92, 51, 0.3);
  background: var(--coral-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
/* ---------- the recreated chat panel ---------- */
.nav-mark-img, .dl-mark-img { display: inline-block; object-fit: contain; }
.amyra-panel { display: flex; flex-direction: column; }
.amyra-body { display: flex; flex-direction: column; min-height: 440px; }
.amyra-content { position: relative; flex: 1; }
.amyra-greeting {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1.2rem 0;
  text-align: center;
}
.amyra-mark { width: 58px; height: 58px; object-fit: contain; }
.amyra-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 1rem; }
.amyra-subtitle { font-size: 0.85rem; color: var(--ink-40); margin-top: 0.35rem; }
.amyra-tabs {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  padding: 0.9rem 1.2rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.atab {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-40);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.atab:hover { color: var(--ink); }
.atab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.amyra-suggests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.4rem;
}
.suggest {
  font-size: 0.8rem;
  color: var(--ink-60);
  background: rgba(19, 18, 17, 0.045);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-align: left;
  cursor: default;
  transition: background 0.2s, box-shadow 0.2s;
}
.suggest:hover { background: rgba(19, 18, 17, 0.07); }
.suggest.pulse { background: var(--coral-soft); box-shadow: 0 0 0 1.5px var(--coral); color: var(--ink); }
.amyra-thread {
  position: absolute; inset: 0;
  padding-top: 1.2rem;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  scrollbar-width: none;
}
.amyra-thread::-webkit-scrollbar { display: none; }
.amyra-thread > * { flex-shrink: 0; }
.amyra-thread.live { pointer-events: auto; }
.amyra-composer {
  margin: 0.8rem 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem 0.8rem;
  box-shadow: 0 4px 14px rgba(19,18,17,0.05);
}
.composer-hint { font-size: 0.95rem; color: var(--ink-40); }
.composer-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem; }
.cpill {
  font-size: 0.66rem;
  color: var(--ink-60);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
}
.composer-model { margin-left: auto; font-size: 0.66rem; color: var(--ink-60); }
.send-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(19,18,17,0.06);
  color: var(--ink-40);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.stage-assistant { height: 380px; margin-top: 0.9rem; }
.canvas-note {
  position: absolute;
  width: 190px;
  background: #fff8d6;
  border: 1px solid rgba(19,18,17,0.10);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(19,18,17,0.12);
  padding: 0.8rem 0.95rem;
  z-index: 12;
  opacity: 0;
}
.canvas-note .note-tag {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.canvas-note p:last-child { font-size: 0.76rem; line-height: 1.55; color: var(--ink); min-height: 3.4em; }

/* ---------- canvas stages (shared) ---------- */
.stage {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(19, 18, 17, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-stage {
  min-height: 620px;
  margin: 0 clamp(0.8rem, 3vw, 2.4rem) 0;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  background-color: #fbfaf8;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.8) inset;
}

.replay {
  position: absolute;
  bottom: 14px; right: 16px;
  z-index: 20;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-40);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  opacity: 0;
  transition: color 0.2s, border-color 0.2s;
}
.replay:hover { color: var(--ink); border-color: var(--ink-40); }

/* ---------- board cards (CSS-drawn moodboard items) ---------- */
.card {
  position: absolute;
  width: 104px;
  height: 128px;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(19,18,17,0.08), 0 8px 22px rgba(19,18,17,0.09);
  overflow: hidden;
  will-change: transform;
}
.card-inner { position: absolute; inset: 0; }

/* real board assets */
.card-inner.photo { background-size: cover; background-position: center; }
.card-inner.photo::after {
  /* hairline inner border so light images hold their edge on the canvas */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(19,18,17,0.06);
}
.photo-landed { background-size: cover; background-position: center; }

/* variants */
.v-gradient .card-inner { background: linear-gradient(160deg, #ffd7e0 0%, #ffb3c4 30%, #a8e6c9 75%, #7fd8b0 100%); }
.v-gradient2 .card-inner { background: linear-gradient(200deg, #fde8cf 0%, #f9b8a0 45%, #e2795a 100%); }

.v-landscape .card-inner { background: linear-gradient(180deg, #8fd464 0%, #5cad3c 100%); }
.v-landscape .cloud { position: absolute; background: #fff; border-radius: 999px; filter: blur(0.4px); }

.v-poster .card-inner { background: #fff; display: flex; align-items: center; justify-content: center; }
.v-poster .glyph {
  font-family: var(--font-display); font-size: 64px; line-height: 1;
  color: #d92818; font-weight: 400;
}
.v-poster.blue .glyph { color: #1b3bd8; }

.v-type .card-inner { background: #f4efe6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.v-type .aa { font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--ink); }
.v-type .tick { width: 40px; height: 1px; background: var(--ink-40); }
.v-type .tag { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; color: var(--ink-40); }

.v-uidark .card-inner { background: #17181c; padding: 12px 10px; }
.v-uidark .pill { width: 34px; height: 8px; border-radius: 99px; background: var(--coral); margin-bottom: 9px; }
.v-uidark .row { height: 5px; border-radius: 99px; background: rgba(255,255,255,0.22); margin-bottom: 6px; }
.v-uidark .row.short { width: 60%; }
.v-uidark .block { height: 34px; border-radius: 6px; background: rgba(255,255,255,0.10); margin-top: 10px; }

.v-stream .card-inner { background: linear-gradient(180deg, #5a1220 0%, #2a0810 100%); padding: 10px 9px; }
.v-stream .title { font-family: var(--font-body); font-weight: 600; font-size: 8.5px; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.v-stream .screen { height: 66px; border-radius: 7px; background: #0c0c0f; border: 1px solid rgba(255,255,255,0.14); padding: 7px 6px; }
.v-stream .srow { height: 4px; border-radius: 99px; background: rgba(255,255,255,0.25); margin-bottom: 5px; }
.v-stream .srow.hot { background: var(--coral); width: 46%; }

.v-watch .card-inner { background: #101013; display: flex; align-items: center; justify-content: center; }
.v-watch .time { font-family: var(--font-mono); font-size: 26px; color: var(--coral); letter-spacing: -0.04em; }

.v-phone .card-inner { background: linear-gradient(170deg, #d9f2df 0%, #a7dcb6 100%); display: flex; align-items: center; justify-content: center; }
.v-phone .device { width: 46px; height: 88px; border-radius: 10px; background: #0f1310; border: 2px solid #1d241e; padding: 8px 6px; }
.v-phone .stat { font-family: var(--font-mono); font-size: 9px; color: #9df2b1; }
.v-phone .bar { height: 4px; border-radius: 99px; background: rgba(157,242,177,0.4); margin-top: 6px; }
.v-phone .bar.full { background: #9df2b1; }

.v-swatch .card-inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.v-swatch .sw:nth-child(1) { background: #f4e5d3; }
.v-swatch .sw:nth-child(2) { background: var(--coral); }
.v-swatch .sw:nth-child(3) { background: #1e2a24; }
.v-swatch .sw:nth-child(4) { background: #c9d8cd; }

.v-still .card-inner { background: linear-gradient(180deg, #eee7db 0%, #ded2c0 100%); display: flex; align-items: flex-end; justify-content: center; }
.v-still .lamp-shade { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); width: 44px; height: 30px; background: #a9c4e2; border-radius: 6px 6px 10px 10px; }
.v-still .lamp-base { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; background: #5a3324; border-radius: 50%; }
.v-still .lamp-stem { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); width: 4px; height: 24px; background: #7a4a34; }

.v-citrus .card-inner { background: linear-gradient(160deg, #f8b26a 0%, #e98443 100%); }
.v-citrus .plate { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 62px; height: 62px; background: #f6f1e8; border-radius: 50%; }
.v-citrus .fruit { position: absolute; bottom: 38px; left: 50%; transform: translateX(-58%); width: 26px; height: 26px; background: #f2695c; border-radius: 50%; border: 3px solid #fbd9b8; }

/* card selection ring (agent acting) */
.card.selected { outline: 2px solid var(--coral); outline-offset: 3px; }
.card.dimmed { }

/* match ring for search demo */
.card.match { box-shadow: 0 0 0 2px var(--coral), 0 10px 26px rgba(250, 92, 51, 0.22); }

/* ---------- cluster labels ---------- */
.cluster-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(19,18,17,0.08);
  white-space: nowrap;
  z-index: 8;
  opacity: 0;
}
.cluster-label .count { color: var(--ink-40); font-weight: 400; margin-left: 0.45rem; font-size: 0.7rem; }

/* ---------- agent cursor ---------- */
.agent-cursor {
  position: absolute;
  z-index: 30;
  width: 20px; height: 26px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 3.5px rgba(0,0,0,0.22));
}
.agent-cursor svg { overflow: visible; display: block; }
.agent-cursor path { fill: var(--coral); stroke: #fff; stroke-width: 1.4; paint-order: stroke; }
.agent-pill {
  position: absolute;
  top: 24px; left: 20px;
  background: var(--coral);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- feature sections ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(440px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 5vw, 5rem);
  max-width: 1360px;
  margin: 0 auto;
}
.feature-flip { grid-template-columns: minmax(440px, 1fr) minmax(280px, 400px); }
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-demo { order: 1; }

.feature-copy p { margin-top: 1.3rem; color: var(--ink-60); line-height: 1.7; font-size: 1rem; max-width: 26rem; }
.feature-copy .fine { margin-top: 1.6rem; }

.demo-chrome {
  position: relative;
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(19,18,17,0.07);
  overflow: hidden;
}
.stage-sees, .stage-moves, .stage-notices { height: 420px; }

/* search bar */
.searchbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 14px;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  min-height: 2.9rem;
}
.search-icon { width: 15px; height: 15px; color: var(--ink-40); flex-shrink: 0; }
.search-text { font-weight: 500; }
.caret {
  display: inline-block;
  width: 1.5px; height: 1.05em;
  background: var(--coral);
  vertical-align: text-bottom;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.demo-caption {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--ink-40);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  opacity: 0;
  white-space: nowrap;
  z-index: 15;
}

/* chat line */
.chatline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 14px;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  min-height: 2.9rem;
}
.chat-you {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-40);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  flex-shrink: 0;
}
.chat-text { font-weight: 500; }

/* indexing chip */
.indexchip {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  font-size: 0.7rem;
  color: var(--ink-60);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  opacity: 0;
  display: flex;
  align-items: center;
}
.indexchip .spin { color: var(--coral); display: inline-block; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* proactive toast */
.toast {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 16;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(19,18,17,0.14);
  padding: 1rem 1.15rem;
  width: min(320px, 86%);
  opacity: 0;
}
.toast p { font-size: 0.84rem; line-height: 1.5; color: var(--ink-60); }
.toast strong { color: var(--ink); font-weight: 600; }
.toast-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; }

/* ---------- sorts demo (cluster chips) ---------- */
.chipbar {
  display: flex;
  gap: 0.5rem;
  margin: 14px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-60);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-40); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.stage-sorts { height: 400px; }

.card-sm { width: 84px; height: 96px; }
.card-sm .glyph { font-size: 44px; }
.card-sm .aa { font-size: 32px; }
.card-sm .time { font-size: 18px; }
.card-sm .title { font-size: 7px; margin-bottom: 5px; }
.card-sm .screen { height: 46px; }
.card-sm .device { width: 34px; height: 62px; padding: 6px 5px; }
.card-sm .stat { font-size: 7px; }
.card-sm .lamp-shade { top: 18px; width: 34px; height: 24px; }
.card-sm .lamp-stem { top: 40px; height: 18px; }
.card-sm .lamp-base { bottom: 16px; width: 20px; height: 20px; }
.card-sm .plate { width: 46px; height: 46px; bottom: 12px; }
.card-sm .fruit { width: 20px; height: 20px; bottom: 26px; }

/* ---------- answers demo (private chat) ---------- */
.chatpanel { padding-bottom: 1rem; }
.chatpanel-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf6f; }
.chatpanel-head .model { margin-left: auto; font-size: 0.64rem; color: var(--ink-40); }
.chat-thread {
  min-height: 300px;
  padding: 1.4rem 1.2rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.bubble {
  max-width: 82%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.bubble.user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 5px;
  min-height: 2.6rem;
}
.bubble.user .caret { background: #fff; }
.bubble.ai {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--ink);
  opacity: 0;
}
.bubble.ai .thinking { color: var(--ink-40); letter-spacing: 0.1em; }
.bubble.ai strong { color: var(--coral); font-weight: 600; }
.chat-suggests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem 0.4rem;
}
.chat-suggests span {
  font-size: 0.64rem;
  color: var(--ink-60);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

/* ---------- watches demo (folder → board) ---------- */
.folderbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 14px;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--ink-60);
  min-height: 2.9rem;
}
.folder-icon { color: var(--coral); }
.watch-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.64rem;
  color: var(--coral);
  background: var(--coral-soft);
  border: 1px solid rgba(250, 92, 51, 0.3);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.watch-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 2.4s ease-out infinite;
}
.stage-watches { height: 400px; }
.file-chip {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  font-size: 0.68rem;
  color: var(--ink-60);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  opacity: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.file-chip .file-plus { color: var(--coral); font-weight: 700; }
.file-badge {
  position: absolute;
  bottom: 6px; right: 6px;
  z-index: 3;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(19, 18, 17, 0.72);
  border-radius: 5px;
  padding: 0.14rem 0.4rem;
}

/* ---------- writes demo (rich note on the canvas) ---------- */
.stage-writes { height: 460px; }
.stage-writes .card-behind { opacity: 0.5; }
.user-note {
  position: absolute;
  left: 50%; top: 50%;
  /* centered via GSAP xPercent/yPercent so tweens don't clobber it */
  width: min(380px, 82%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(19,18,17,0.13);
  padding: 1.7rem 1.6rem 1.6rem;
  z-index: 10;
  opacity: 0;
}
/* grabber pill — same affordance as the app's docked panels */
.user-note::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 36px; height: 4px;
  margin-left: -18px;
  border-radius: 999px;
  background: rgba(19, 18, 17, 0.10);
}
.un-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  min-height: 1.3em;
}
.un-body { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.45rem; }
.un-line {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-60);
  transform-origin: left center;
  min-height: 1.3em;
  border-radius: 6px;
}
.un-line.un-headline {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 660;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 0.35rem;
}
.un-line.un-task { display: flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.un-check {
  width: 15px; height: 15px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink-40);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.un-task.done .un-check { background: var(--coral); border-color: var(--coral); color: #fff; }
.un-task.done .un-task-text {
  color: var(--ink-40);
  text-decoration: line-through;
  text-decoration-color: var(--ink-40);
}
.un-line.un-img { margin-top: 0.3rem; }
.un-img-frame {
  width: 164px; height: 112px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(19,18,17,0.12);
}
.un-img-caption {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--ink-40);
}

/* ---------- gathers (pin from anywhere) ---------- */
.gathers {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 5vw, 5rem);
  text-align: center;
}
.gathers-sub {
  margin: 1.4rem auto 0;
  max-width: 32rem;
  color: var(--ink-60);
  line-height: 1.7;
}
.gathers-demo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
  margin-top: 3.2rem;
  text-align: left;
}
.mini-browser {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(19,18,17,0.07);
}
.mini-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mini-url {
  margin-left: 0.6rem;
  font-size: 0.66rem;
  color: var(--ink-60);
  background: var(--bg);
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  flex: 1;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
}
.mini-tile {
  position: relative;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.flying-tile { background-size: cover; background-position: center; }
.pin-btn {
  position: absolute;
  top: 7px; right: 7px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 15px;
  line-height: 26px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(250,92,51,0.4);
  opacity: 0;
  z-index: 3;
}
.mini-board {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(19,18,17,0.07);
  overflow: hidden;
}
.mini-board-label {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 0.66rem;
  color: var(--ink-40);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  z-index: 5;
}
.flying-tile {
  position: fixed;
  border-radius: 8px;
  z-index: 500;
  pointer-events: none;
  box-shadow: 0 14px 34px rgba(19,18,17,0.22);
}
.board-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-60);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  opacity: 0;
  z-index: 6;
  white-space: nowrap;
}
.site-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.4rem;
}
.site-pills span {
  font-size: 0.68rem;
  color: var(--ink-60);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}
.site-pills .pill-any { color: var(--coral); border-color: var(--coral-soft); background: var(--coral-soft); }

/* ---------- yours ---------- */
.yours {
  text-align: center;
  padding: clamp(8rem, 18vh, 13rem) 1.4rem;
  background: var(--ink);
  color: #f4f1ec;
}
.yours .eyebrow { color: rgba(244, 241, 236, 0.5); }
.yours-statement { font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 1.0; color: #f4f1ec; }
.yours-statement .line { display: block; overflow: hidden; }
.yours-statement .line > span { display: inline-block; }
.yours-sub {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: rgba(244, 241, 236, 0.55);
}
.yours-stats {
  margin: 4.5rem auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 241, 236, 0.14);
}
.stat {
  padding: 1.6rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stat + .stat { border-left: 1px solid rgba(244, 241, 236, 0.14); }
.stat-k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(244, 241, 236, 0.45); }
.stat-v { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--coral); }

/* ---------- hood ---------- */
.hood {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 5vw, 5rem);
}
.hood-head { max-width: 460px; margin-bottom: 3.5rem; }
.hood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hood-card { background: var(--surface); padding: 2rem 1.8rem 2.2rem; transition: background 0.3s; }
.hood-card:hover { background: #fffdfb; }
.hood-k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-40); }
.hood-v { font-family: var(--font-display); font-weight: 680; letter-spacing: -0.02em; font-size: 1.7rem; margin-top: 0.9rem; }
.hood-d { font-size: 0.85rem; line-height: 1.65; color: var(--ink-60); margin-top: 0.7rem; }

/* ---------- footer — coral finale ---------- */

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background-color: var(--bg);
  /* the canvas dot-grid, one last time */
  background-image: radial-gradient(rgba(19, 18, 17, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: clamp(5rem, 12vh, 8.5rem) clamp(1.4rem, 5vw, 5rem) 0;
}
/* the hero's warm glow returns — the page ends where it began */
.footer::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -18vw;
  width: 90vw; height: 56vw;
  margin-left: -45vw;
  background: radial-gradient(ellipse at center, rgba(255, 166, 116, 0.34), rgba(255, 216, 178, 0.20) 46%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.footer > * { position: relative; }
.footer-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem 3rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.footer-cta-row h2 {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 1.02;
}
.footer-cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-bottom: 0.5rem;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: clamp(3rem, 7vh, 5rem) auto 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  color: var(--ink-40);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  letter-spacing: 0.05em;
}
.footer-links a {
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--coral); }
.footer-wordmark {
  margin: clamp(1.6rem, 4.5vh, 3.2rem) 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 730;
  font-size: clamp(5rem, 18.5vw, 17rem);
  letter-spacing: -0.045em;
  color: var(--coral);
}
/* the wordmark sits ON the page edge — descender runs off the bottom */
.fw-line { display: block; overflow: hidden; height: 0.84em; }
.fw-inner { display: inline-block; line-height: 1; vertical-align: top; margin-top: -0.12em; }
.footer-wordmark em { font-style: normal; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hood-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .gathers-demo { grid-template-columns: 1fr; }
  .mini-board { min-height: 260px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 1.3rem 1.4rem; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-demo { order: 2; }
  .stage-sees, .stage-moves, .stage-notices { height: 360px; }
  .stage-watches { height: 340px; }
  .stage-writes { height: 420px; }
  .hero-stage { min-height: 400px; }
  .yours-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { padding-bottom: 1.2rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .indexchip .spin { animation: none; }
}
