/* ETNA — monochrome, same tokens as PrintStream */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --ink: #000000;
  --bar: #2f2a2a;
  --s1: #0a0a0a;
  --s2: #111111;
  --s3: #1a1a1a;
  --s4: #222222;
  --s5: #2a2a2a;
  --text-dim: #8a8a8a;
  --positive: #22c55e;
  --negative: #ef4444;
  --blue: #2d72d2;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
button, input { font: inherit; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--bar);
  color: #fff;
  padding: 11px 40px;
  font-size: 15px;
  position: relative;
  z-index: 5;
}
.announce a { text-underline-offset: 3px; }
.announce a:hover { opacity: .75; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  /* Fills the screen below the top bar so the next section never peeks in. */
  min-height: calc(100vh - var(--announce-h, 42px));
  min-height: calc(100svh - var(--announce-h, 42px));
  overflow: hidden;
  isolation: isolate;
}
.hero canvas.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 50% 110%, transparent 30%, #000 85%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 20;
  margin: 88px auto 0;
  width: min(960px, calc(100% - 32px));
  max-width: 64%;
  height: 52px;
  background: #fff;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  animation: navIn 1s var(--ease) both .2s;
}
.nav.sticky-ready { transition: transform .4s var(--ease); }
@keyframes navIn {
  from { clip-path: inset(0 50% 0 50%); }
  to { clip-path: inset(0 0 0 0); }
}
.logo { display: inline-flex; color: inherit; }
.logo svg { height: 32px; width: auto; }
.logo:hover svg rect { animation: blink .5s steps(2) 2; }
@keyframes blink { 50% { opacity: .2; } }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color .35s var(--ease);
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform .35s var(--ease);
  z-index: -1;
}
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: translateY(0); }

.burger {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 0;
}
.burger span {
  display: block;
  width: 30px;
  height: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.hero-copy {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: clamp(96px, 22vh, 240px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  pointer-events: none;
}
.hero-copy h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.035em;
  position: relative;
  pointer-events: auto;
  cursor: default;
}
/* CRT scanlines over the headline */
.hero-copy h1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(transparent 0 3px, rgba(0, 0, 0, .4) 3px 4px);
  pointer-events: none;
}
/* padding keeps descenders (g, y) from being clipped by the reveal mask */
.hero-copy h1 .line { display: block; overflow: hidden; padding: .04em 0 .14em; }
.hero-copy h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-copy h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }

/* Watch Dogs 2 style glitch: RGB split slices + jitter in short bursts,
   constant while hovered or when JS corrupts the text. */
.glitch { position: relative; }
.hero-copy h1 .line > .glitch { animation: rise 1.1s var(--ease) both, jitter 5s steps(1) 1.4s infinite; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.glitch::before { color: #00f0ff; animation: glitchA 5s steps(1) 1.4s infinite; }
.glitch::after { color: #ff2a6d; animation: glitchB 5s steps(1) 1.4s infinite; }
.hero-copy h1:hover .glitch,
.hero-copy h1 .glitch.hot { animation-duration: 1.1s, .5s; animation-delay: 0s, 0s; } /* only speeds up jitter; rise stays done */
.hero-copy h1:hover .glitch::before,
.glitch.hot::before { animation-duration: .5s; animation-delay: 0s; }
.hero-copy h1:hover .glitch::after,
.glitch.hot::after { animation-duration: .5s; animation-delay: 0s; }

@keyframes jitter {
  0%, 84%, 100% { transform: none; }
  86% { transform: translate(3px, 0) skewX(-10deg); }
  88% { transform: translate(-4px, 1px); }
  90% { transform: translate(2px, -1px) skewX(6deg); }
  93% { transform: translate(-2px, 0); }
  96% { transform: translate(1px, 0); }
}
@keyframes glitchA {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
  85% { opacity: .9; transform: translate(-6px, 0); clip-path: inset(8% 0 62% 0); }
  87% { transform: translate(5px, 0); clip-path: inset(55% 0 22% 0); }
  89% { transform: translate(-3px, 0); clip-path: inset(30% 0 48% 0); }
  91% { transform: translate(8px, 0); clip-path: inset(72% 0 4% 0); }
  94% { transform: translate(-4px, 0); clip-path: inset(0 0 86% 0); }
  97% { opacity: .9; transform: translate(2px, 0); clip-path: inset(40% 0 40% 0); }
}
@keyframes glitchB {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
  85% { opacity: .9; transform: translate(6px, 0); clip-path: inset(64% 0 12% 0); }
  87% { transform: translate(-7px, 0); clip-path: inset(14% 0 66% 0); }
  89% { transform: translate(4px, 0); clip-path: inset(46% 0 30% 0); }
  91% { transform: translate(-5px, 0); clip-path: inset(2% 0 80% 0); }
  94% { transform: translate(3px, 0); clip-path: inset(80% 0 2% 0); }
  97% { opacity: .9; transform: translate(-2px, 0); clip-path: inset(20% 0 60% 0); }
}
@keyframes fade { from { opacity: 0; } }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 1px;
  height: 36px;
  background: linear-gradient(#fff, transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: #000;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 0 56px 64px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.menu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { overflow: hidden; }
.menu li a {
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
  text-decoration: none;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.08;
  letter-spacing: -.03em;
  transform: translateY(110%);
  transition: transform .7s var(--ease), color .2s;
}
.menu li a::before {
  counter-increment: m;
  content: '0' counter(m);
  font-family: var(--mono);
  font-size: 14px;
  color: #777;
  letter-spacing: 0;
}
.menu li a:hover { color: #9a9a9a; }
.menu.open li a { transform: none; }
.menu.open li:nth-child(2) a { transition-delay: .06s; }
.menu.open li:nth-child(3) a { transition-delay: .12s; }
.menu.open li:nth-child(4) a { transition-delay: .18s; }
.menu.open li:nth-child(5) a { transition-delay: .24s; }
.menu-side { font-family: var(--mono); font-size: 13px; color: #8a8a8a; text-align: right; line-height: 1.8; }
.menu-side a { color: #fff; }
body.menu-open .nav { position: relative; z-index: 30; }
body.menu-open { overflow: hidden; }

/* ---------- intro / introducing ---------- */
/* Content sections stay a comfortable width on big screens. */
.intro, .caps { max-width: 1320px; margin-inline: auto; }
.intro {
  position: relative;
  padding: 88px 40px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
}
.intro-lead {
  font-size: 18px;
  line-height: 1.5;
  max-width: 760px;
  margin: 0;
}
.intro-left { display: flex; flex-direction: column; }
.introducing {
  margin: 96px 0 0 48px;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.introducing .caret {
  display: inline-block;
  width: .55em;
  height: .9em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -.08em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.ps-box {
  margin: 44px 0 0 150px;
  width: min(340px, 100%);
  background: #000;
  color: #fff;
  padding: 18px 26px;
  position: relative;
  cursor: crosshair;
  touch-action: none;
}
.ps-box .ascii {
  margin: 0;
  font-family: var(--mono);
  white-space: pre;
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.1em;
  color: #e9e9e9;
}
.ps-box .ascii span { display: inline-block; will-change: transform; }
.ps-box::after {
  content: attr(data-port);
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: #000;
  border-radius: 50%;
}
.ps-hint {
  margin: 12px 0 0 150px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.shots { display: flex; flex-direction: column; gap: 28px; padding-top: 0; position: relative; z-index: 1; }
.shot {
  width: min(440px, 100%);
  margin-left: auto;
  margin-right: 56px;
  background: var(--s1);
  color: #cfcfcf;
  border: 1px solid var(--s4);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.shot:nth-child(2) { width: min(396px, 100%); margin-right: 56px; }
.shot:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.shot-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  color: #fff;
  background: rgba(0,0,0,.7);
  border: 1px solid var(--s5);
  padding: 3px 7px;
  opacity: 0;
  transform: translateY(4px);
  transition: .3s var(--ease);
}
.shot:hover .shot-label { opacity: 1; transform: none; }

svg.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
svg.wires > path {
  fill: none;
  stroke: #000;
  stroke-width: 5;
  stroke-dasharray: 4 7;
  stroke-linecap: butt;
}
svg.wires > path.flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

.shot img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.03); }
/* A scan line wipes each screenshot in as it scrolls into view. */
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0, rgba(255,255,255,.55) 2px, #000 3px);
  transform-origin: right;
  transition: transform 1.1s var(--ease) .25s;
  pointer-events: none;
}
.shot.d1::after { transition-delay: .4s; }
.shot.d2::after { transition-delay: .55s; }
.shot.in-view::after { transform: scaleX(0); }

/* ---------- capabilities ---------- */
.caps { padding: 32px 40px 110px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--fg);
  padding-top: 18px;
  margin-bottom: 48px;
}
.section-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.section-head p { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); max-width: 360px; text-align: right; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.cap {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 22px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease);
}
.cap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
  z-index: -1;
}
.cap:hover { color: #fff; }
.cap:hover::before { transform: scaleY(1); }
.cap .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cap .glyph { font-family: var(--mono); font-size: 13px; line-height: 1; white-space: pre; margin: 30px 0 34px; color: inherit; opacity: .9; }
.cap h3 { margin: auto 0 10px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.cap p { margin: 0; font-size: 14.5px; color: var(--muted); transition: color .45s; }
.cap:hover p, .cap:hover .n { color: #aaa; }

/* ---------- black band ---------- */
.band { background: #000; height: 66px; }

/* ---------- newsletter ---------- */
.newsletter {
  position: relative;
  background: #000;
  color: #fff;
  padding: 104px 40px;
  overflow: hidden;
  isolation: isolate;
}
.newsletter canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.newsletter-inner { max-width: 760px; }
.newsletter .eyebrow { font-family: var(--mono); font-size: 13px; color: #8a8a8a; margin: 0 0 18px; }
.newsletter h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 56px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.newsletter p.sub { margin: 0 0 38px; color: #aaa; font-size: 18px; max-width: 560px; }
.nl-form { display: flex; border: 2px solid #fff; max-width: 620px; background: #000; }
.nl-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 18px;
  height: 50px;
  font-size: 16px;
  outline: none;
}
.nl-form input::placeholder { color: #666; }
.nl-form button {
  border: 0;
  background: #fff;
  color: #000;
  padding: 0 26px;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.nl-form button:hover { background: #d6d6d6; }
.nl-form button:disabled { opacity: .5; cursor: wait; }
.form-status { min-height: 24px; margin: 14px 0 0; font-family: var(--mono); font-size: 13px; }
.form-status.ok { color: var(--positive); }
.form-status.err { color: var(--negative); }

/* ---------- footer ---------- */
.footer { background: #000; color: #8a8a8a; padding: 48px 40px 32px; border-top: 1px solid #222; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer .logo { color: #fff; }
.footer .logo svg { height: 30px; }
.footer h4 { margin: 0 0 14px; color: #fff; font-weight: 500; font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; flex-wrap: wrap; }
.footer-bottom button { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.footer-bottom button:hover { color: #fff; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(420px, calc(100% - 32px));
  background: #fff;
  color: var(--fg);
  border: 2px solid var(--fg);
  padding: 20px 20px 18px;
  box-shadow: 8px 8px 0 #000;
  transform: translateY(calc(100% + 40px));
  transition: transform .6s var(--ease);
}
.cookie.show { transform: none; }
.cookie h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cookie h3 .mono { font-size: 13px; font-weight: 400; color: var(--muted); }
.cookie p { margin: 0 0 14px; font-size: 14px; color: #444; }
.cookie p a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button {
  flex: 1;
  min-width: 90px;
  height: 40px;
  border: 2px solid var(--fg);
  background: #fff;
  color: var(--fg);
  cursor: pointer;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.cookie-actions button.primary { background: #000; color: #fff; }
.cookie-actions button:hover { background: #000; color: #fff; }
.cookie-actions button.primary:hover { background: #333; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- signup page ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-art { position: relative; background: #000; color: #fff; overflow: hidden; isolation: isolate; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.auth-art .logo { color: #fff; }
.auth-art blockquote { margin: 0; max-width: 520px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; }
.auth-art cite { display: block; margin-top: 18px; font-family: var(--mono); font-style: normal; font-size: 13px; color: #8a8a8a; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 56px 32px; }
.auth-form { width: min(460px, 100%); }
.auth-form .back { font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.auth-form .back:hover { color: var(--fg); }
.auth-form h1 { margin: 22px 0 8px; font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.auth-form .lede { margin: 0 0 32px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.fld input {
  width: 100%;
  height: 48px;
  border: 2px solid var(--fg);
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
  transition: box-shadow .2s;
}
.fld input:focus { box-shadow: 4px 4px 0 #000; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-family: var(--mono); font-size: 12px; cursor: pointer; color: var(--muted); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 4px; background: var(--line); transition: background .3s; }
.meter[data-score="1"] i:nth-child(-n+1),
.meter[data-score="2"] i:nth-child(-n+2) { background: #f59e0b; }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--negative); }
.meter[data-score="3"] i:nth-child(-n+3),
.meter[data-score="4"] i:nth-child(-n+4) { background: var(--positive); }
.meter-label { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; min-height: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #000; flex-shrink: 0; }
.btn-block {
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-block:hover { background: #222; }
.btn-block:disabled { cursor: wait; }
.btn-block.loading span { opacity: 0; }
.btn-block.loading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-form .form-status { font-size: 13px; }
.auth-success { display: none; text-align: left; }
.auth-success pre { font-family: var(--mono); font-size: 14px; line-height: 1.2; margin: 0 0 24px; }
.auth-done .auth-success { display: block; }
.auth-done form { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr; }
  .introducing { margin: 80px 0 0; }
  .ps-box, .ps-hint { margin-left: 0; }
  .shots { margin-top: 56px; }
  .shot { margin: 0 auto; }
  svg.wires { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .announce { padding: 14px 16px; font-size: 15px; }
  .nav { margin-top: 24px; max-width: none; width: calc(100% - 32px); padding: 0 16px; height: 60px; }
  .logo svg { height: 28px; }
  .btn-outline { height: 36px; font-size: 15px; }
  .nav-actions { gap: 12px; }
  .burger span { width: 26px; }
  .hero-copy { left: 16px; right: 16px; bottom: 18vh; }
  .menu { padding: 0 16px 40px; grid-template-columns: 1fr; gap: 32px; }
  .menu-side { text-align: left; }
  .intro { padding: 72px 16px 80px; }
  .intro-lead { font-size: 18px; }
  .introducing { font-size: 30px; margin-top: 56px; }
  .ps-box { margin-top: 28px; padding: 14px; }
  .caps { padding: 24px 16px 80px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head p { text-align: left; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .newsletter { padding: 88px 16px; }
  .nl-form { flex-direction: column; }
  .nl-form button { height: 54px; }
  .footer { padding: 48px 16px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cookie { left: 16px; bottom: 16px; box-shadow: 5px 5px 0 #000; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; padding: 24px 16px; }
  .auth-form-wrap { padding: 40px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- page transition (js/transition.js) ---------- */
html.pt-out body::before, html.pt-out body::after,
html.pt-in body::before, html.pt-in body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  animation-duration: .55s;
  animation-timing-function: cubic-bezier(.77, 0, .18, 1);
  animation-fill-mode: both;
}
html.pt-out body::before, html.pt-in body::before { background: #fff; z-index: 1000; }
html.pt-out body::after, html.pt-in body::after { background: #000; z-index: 1001; }
html.pt-out body::before { animation-name: pt-cover; }
html.pt-out body::after { animation-name: pt-cover; animation-delay: .07s; }
html.pt-in body::after { animation-name: pt-uncover; animation-delay: .05s; }
html.pt-in body::before { animation-name: pt-uncover; animation-delay: .13s; }
@keyframes pt-cover { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pt-uncover { from { transform: none; } to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  /* The headline glitch is the brand moment: keep its periodic bursts, just never the fast hover/hot mode. */
  .hero-copy h1 .line > .glitch { animation-duration: 1.1s, 5s !important; animation-iteration-count: 1, infinite !important; }
  .hero-copy h1 .glitch::before, .hero-copy h1 .glitch::after { animation-duration: 5s !important; animation-iteration-count: infinite !important; }
  /* The page swipe is part of the brand too, so it stays on as well. */
  html.pt-out body::before, html.pt-out body::after,
  html.pt-in body::before, html.pt-in body::after { animation-duration: .55s !important; }
}

/* ---------- letters to shareholders (reuses .legal-doc typography) ---------- */
.letter { max-width: 720px; margin: 0 auto; padding: 72px 24px 120px; }
.letter .legal-doc h2 { margin: 44px 0 14px; padding: 0; border: 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.letter-sign { margin-top: 44px; }
.letter-sign p { margin: 0 0 6px; }
.letter-sign .sig { font-size: 22px; font-weight: 500; letter-spacing: -.01em; color: var(--fg); }

/* ---------- legal pages ---------- */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  height: 60px;
}
.legal-top .logo { color: #fff; }
.legal-top .logo svg { height: 28px; }
.legal-tabs { display: flex; gap: 4px; margin-left: auto; }
.legal-tabs a {
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  color: #9a9a9a;
  padding: 7px 12px;
  border: 1px solid transparent;
}
.legal-tabs a:hover { color: #fff; }
.legal-tabs a[aria-current="page"] { color: #fff; border-color: #fff; }
.legal-top .back { font-family: var(--mono); font-size: 13px; color: #9a9a9a; text-decoration: none; }
.legal-top .back:hover { color: #fff; }

.legal {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 40px 120px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
}
.legal-toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.legal-toc p { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a {
  display: block;
  padding: 5px 0 5px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--fg); }
.legal-toc a.active { color: var(--fg); border-left-color: var(--fg); font-weight: 500; }

.legal-doc { max-width: 720px; font-size: 16px; line-height: 1.7; color: #222; }
.legal-doc .eyebrow { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.legal-doc h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; color: var(--fg); }
.legal-doc .effective { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--fg); }
.legal-doc h2 {
  margin: 48px 0 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--fg);
  scroll-margin-top: 84px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.legal-doc h2 .num { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); min-width: 22px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc p.clause { display: grid; grid-template-columns: 44px 1fr; }
.legal-doc p.clause > .cl { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc li::marker { color: var(--muted); }
.legal-doc .indent { margin-left: 44px; }
.legal-doc strong { color: var(--fg); font-weight: 600; }
.legal-doc .ph { background: #fff3c4; padding: 0 4px; font-family: var(--mono); font-size: .9em; }
.legal-doc .note { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal-doc .note a { color: var(--fg); }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 0; padding: 40px 16px 80px; }
  .legal-toc { display: none; }
  .legal-top { padding: 0 16px; gap: 16px; }
  .legal-top .back { display: none; }
  .legal-doc p.clause { grid-template-columns: 38px 1fr; }
  .legal-doc .indent { margin-left: 38px; }
}
@media print {
  .legal-top, .legal-toc { display: none; }
  .legal { display: block; padding: 0; }
}
