/* Inter Variable 5.3.0 (OFL) — copied from 550w.host */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #07070a;
  --bg-2: #0c0c10;
  --bg-3: #111116;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #63636e;
  --line: #1d1d23;
  --line-2: #2a2a33;
  --accent: #ff3b30;
  --accent-2: #ff7a59;
  --accent-soft: rgba(255, 59, 48, 0.14);
  --grad: linear-gradient(92deg, #ffffff 0%, #ffd0ca 38%, #ff6a5c 72%, #ff3b30 100%);
  --sans: 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(255, 59, 48, 0.35); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 7, 10, 0.55);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7, 7, 10, 0.78); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.brand small { font-weight: 500; color: var(--dim); font-size: 13px; letter-spacing: 0.04em; }
.eye {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.55), inset 0 0 6px rgba(255, 59, 48, 0.35);
}
.eye::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 7s infinite;
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav nav a { transition: color 0.15s ease; }
.nav nav a:hover { color: var(--fg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--fg);
  font: 600 14.5px/1 var(--sans);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-primary { background: var(--fg); border-color: var(--fg); color: #09090b; }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08), 0 10px 40px -10px rgba(255, 59, 48, 0.6); }
.btn-ghost:hover { border-color: #4a4a55; background: rgba(255, 255, 255, 0.03); }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 128px 0 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  /* faint engineering grid, masked to fade out */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  right: -220px;
  top: -160px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.16) 0%, rgba(255, 59, 48, 0.04) 40%, transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover { border-color: #45454f; color: var(--fg); }
.pill .tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ff8a80;
  font: 600 11px/1.6 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(48px, 7.2vw, 92px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.lede { max-width: 540px; margin: 0; font-size: 18.5px; line-height: 1.6; color: var(--muted); }
.lede strong { color: var(--fg); font-weight: 600; }
.lede em { color: var(--fg); font-style: italic; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
  text-transform: uppercase;
}
.hero-meta b { color: var(--muted); font-weight: 500; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; }
#mind {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.caption span { display: block; margin-top: 4px; color: var(--dim); font-size: 11px; text-transform: none; letter-spacing: 0.02em; }

/* ---------- backers strip ---------- */
.backers { padding: 28px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.backers .label { margin: 0 0 22px; text-align: center; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 52px;
  color: #8b8b96;
  filter: grayscale(1);
}
.logos span { white-space: nowrap; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.logos span:hover { opacity: 1; color: var(--fg); }
.lg-1 { font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.lg-2 { font-weight: 800; letter-spacing: 0.22em; font-size: 14px; }
.lg-3 { font-style: italic; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.lg-4 { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; letter-spacing: 0.08em; }
.lg-5 { font-weight: 300; font-size: 21px; letter-spacing: -0.03em; }
.lg-6 { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 96px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
