/* WHY.SI — landing page */
:root {
  --bg: #121411;
  --ink: #F0F1EA;
  --ink-2: #C4C6BC;
  --muted: #A6A99F;
  --dim: #8E9187;
  --foot: #878A80;
  --sep: #4C4F47;
  --line: rgba(240, 241, 234, 0.14);
  --accent: #D9F78A;
  --pad-x: clamp(22px, 4.4vw, 64px);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #141613; }

a { color: #D2D4CA; text-decoration: none; transition: color .25s ease; }
a:hover { color: #FFFFFF; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.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 {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  padding: 10px 14px; background: var(--accent); color: #141613; font-size: 14px; border-radius: 4px;
}
.skip:focus { top: 12px; color: #141613; }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(110% 90% at 80% 45%, #1A1D18 0%, #151714 45%, #121411 100%);
}

/* Header */
.header {
  margin: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3.4vw, 40px) 0 clamp(18px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex; align-items: baseline;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.065em; color: var(--ink);
}
.wordmark__why { font-weight: 600; }
.wordmark__dot {
  display: inline-block; width: .2em; height: .2em; margin: 0 .06em 0 .08em;
  border-radius: 50%; background: var(--accent);
}
.wordmark__si { font-weight: 400; color: var(--dim); }

.status {
  margin: 0;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #D2D4CA;
}
.status__dot { position: relative; display: inline-block; width: 6px; height: 6px; }
.status__dot::before, .status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
}
.status__dot::after { box-shadow: 0 0 10px var(--accent); }
.status__dot::before { animation: whyPulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes whyPulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}

/* Hero */
.hero:focus { outline: none; }
.hero {
  flex: 1;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(36px, 4.4vw, 72px);
  padding: clamp(32px, 6vh, 80px) var(--pad-x) clamp(24px, 4vh, 56px);
}
.hero__copy { flex: 1.4 1 500px; min-width: 0; max-width: 860px; display: flex; flex-direction: column; }

.eyebrow {
  margin: 0 0 clamp(22px, 3.4vh, 36px);
  font-family: var(--mono); font-size: clamp(10px, .9vw, 12px);
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}

.headline {
  margin: 0;
  font-weight: 600; font-size: clamp(44px, 5.4vw, 104px);
  line-height: .95; letter-spacing: -0.058em; color: var(--ink);
  text-wrap: balance;
}
.headline span { display: block; }
.headline__second { margin-top: .08em; color: var(--accent); font-size: clamp(34px, 4.6vw, 88px); }

.body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  max-width: 820px;
  margin-top: clamp(30px, 5vh, 56px);
  font-size: clamp(15px, 1.08vw, 16.5px); line-height: 1.62; color: var(--muted);
  text-wrap: pretty;
}
.body p { margin: 0; }
.body__stack { display: flex; flex-direction: column; gap: 14px; }
.body__lead { color: var(--ink); }
.body__emph {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}

.closing {
  margin-top: clamp(30px, 5vh, 56px);
  padding-top: clamp(22px, 3vh, 30px);
  border-top: 1px solid var(--line);
  max-width: 820px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px 40px;
}
.closing__statement {
  margin: 0; display: flex; flex-wrap: wrap; gap: 0 .3em;
  font-weight: 500; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.25; letter-spacing: -0.035em;
}
.closing__statement span:nth-child(1) { color: var(--dim); }
.closing__statement span:nth-child(2) { color: var(--ink-2); }
.closing__statement span:nth-child(3) { color: var(--accent); }
.soon {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.soon::before { content: ""; display: block; width: 18px; height: 1px; background: var(--accent); }

/* Visualization */
.viz {
  flex: 1 1 360px; min-width: 0; align-self: stretch;
  min-height: clamp(340px, 56vh, 680px);
  position: relative;
}
.viz canvas {
  position: absolute; top: 0; bottom: 0; left: -60px;
  width: calc(100% + 60px); height: 100%;
  display: block; pointer-events: none;
}

/* Footer */
.footer {
  padding: clamp(20px, 3vh, 32px) var(--pad-x);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-size: 13px; color: var(--foot);
}
.footer__sep { color: var(--sep); }
.footer a { display: inline-block; padding: 4px 0; }
.motion-toggle {
  margin-left: auto;
  min-height: 32px; padding: 6px 12px;
  background: transparent; color: #D2D4CA;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: color .25s ease, border-color .25s ease;
}
.motion-toggle:hover { color: #FFFFFF; border-color: rgba(240, 241, 234, 0.32); }
.motion-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Stacked layout (tablet / mobile): copy spans full width, visual follows */
@media (max-width: 979px) {
  .headline { font-size: clamp(44px, min(9vw, 16vh), 96px); }
  .headline__second { font-size: clamp(34px, min(7.6vw, 13vh), 80px); }
  .viz { min-height: clamp(320px, 52vh, 560px); }
}
@media (max-width: 480px) {
  .header { gap: 16px; }
  .status { gap: 10px; letter-spacing: .14em; }
  .closing { gap: 14px; }
  .motion-toggle { margin-left: 0; }
  .footer { row-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
