

:root {
  
  --paper: #ffffff;
  --paper-2: #f6f7f9;   
  --paper-3: #eef0f3;   
  --paper-4: #e7eaee;

  --ink: #0a0b0d;
  --ink-2: #23262b;     
  --muted: #62676d;     
  --faint: #969ba1;     

  --line: rgba(10, 11, 13, 0.09);
  --line-2: rgba(10, 11, 13, 0.16);
  --line-3: rgba(10, 11, 13, 0.28);

  --signal: #1a5cff;
  --signal-ink: #1450e6;
  --signal-weak: rgba(26, 92, 255, 0.09);
  --signal-line: rgba(26, 92, 255, 0.28);
  --ok: #0a8f5b;

  --grad: var(--ink);
  --grad-hot: var(--signal);
  --grad-cool: var(--signal);
  --grad-ring: var(--line-2);

  --shadow-sm: 0 1px 2px rgba(10, 11, 13, 0.04);
  --shadow: 0 10px 30px rgba(10, 11, 13, 0.06), 0 2px 8px rgba(10, 11, 13, 0.04);
  --shadow-lg: 0 30px 70px rgba(10, 11, 13, 0.1), 0 8px 24px rgba(10, 11, 13, 0.06);
  --shadow-signal: 0 12px 30px rgba(26, 92, 255, 0.18);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --maxw: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3.25rem);
  --nav-h: 66px;
  --dock-h: 66px;

  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.65, 0.05, 0.36, 1);

  --text: var(--ink);
  --dim: var(--muted);
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --surface: var(--paper);
  --surface-2: var(--paper-2);
  --yellow: var(--signal);
  --orange: var(--signal);
  --pink: var(--signal);
  --purple: var(--ink);
  --blue: var(--signal);
  --glow-pink: var(--shadow);
  --glow-purple: var(--shadow);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: fixed; left: -999px; top: 8px; z-index: 300; background: var(--paper); padding: 10px 18px; border: 1px solid var(--line-2); border-radius: var(--pill); color: var(--ink); }
.skip-link:focus { left: 12px; }

.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }

.aurora::before {
  content: ""; position: absolute; inset: -2px;
  background-image: radial-gradient(circle at 1px 1px, rgba(10, 11, 13, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}

.aurora i { display: none; }

.noise-overlay { display: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 220; background: var(--signal); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 9.5rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.rule { height: 1px; background: var(--line); border: 0; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }

.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.4vw, 4.7rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h2 { font-size: clamp(1.85rem, 4.4vw, 3.15rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.18; letter-spacing: -0.02em; font-weight: 600; }

.lead { font-size: clamp(1.04rem, 1.4vw, 1.24rem); line-height: 1.62; color: var(--muted); max-width: 58ch; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

.grad-text { color: var(--signal); }

.mono { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.36rem 0.8rem 0.36rem 0.7rem; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--paper);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-weak); flex: none; }
.eyebrow .idx { color: var(--faint); }

.section-head { max-width: 66ch; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head .h2 { margin-top: 1.25rem; }
.section-head .lead { margin-top: 1.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.55rem; border-radius: var(--pill);
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--signal { background: var(--signal); color: #fff; box-shadow: var(--shadow-signal); }
.btn--signal:hover { transform: translateY(-2px); background: var(--signal-ink); }
.btn--lg { padding: 1rem 2rem; font-size: 0.98rem; }
.btn--link { padding: 0; border: 0; border-radius: 0; font-weight: 500; color: var(--signal); display: inline-flex; align-items: center; gap: 0.35rem; }
.btn--link:hover { color: var(--signal-ink); }

.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.center-row { justify-content: center; }

.glass {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.glass:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

.card-grad {
  position: relative; border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.card-grad::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border-top: 2px solid var(--signal);
  border-radius: var(--r) var(--r) 0 0;
  height: 0;
}

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.3rem 0.62rem; border: 1px solid var(--line-2); color: var(--muted); border-radius: var(--pill);
  background: var(--paper);
}
.tag--grad { border-color: transparent; background: var(--ink); color: var(--paper); }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-weak); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--signal-weak); } 50% { box-shadow: 0 0 0 5px rgba(26, 92, 255, 0.04); } }

.ring { border-radius: 50%; background: var(--ink); padding: 1.5px; display: inline-grid; place-items: center; }
.ring > span { width: 100%; height: 100%; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--ink); font-family: var(--display); font-weight: 600; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; pointer-events: none; padding-top: 14px; padding-inline: 12px; }
.nav__inner {
  pointer-events: auto; width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  padding: 0.5rem 0.55rem 0.5rem 1.15rem;
  border-radius: var(--pill); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled .nav__inner { background: rgba(255, 255, 255, 0.9); border-color: var(--line-2); box-shadow: var(--shadow); }

.nav__brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.nav__mark { width: 26px; height: 26px; flex: none; color: var(--ink); }
.nav__mark svg { width: 100%; height: 100%; }
.nav__word { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.03em; color: var(--ink); }
.nav__dot { color: var(--signal); font-weight: 600; }

.nav__links { display: flex; gap: 0.15rem; margin-right: auto; }
.nav__links a {
  font-family: var(--sans); font-size: 0.88rem; font-weight: 450; color: var(--muted);
  padding: 0.48rem 0.9rem; border-radius: var(--pill);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: var(--paper-2); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__signin { font-size: 0.88rem; font-weight: 450; color: var(--muted); padding: 0.48rem 0.85rem; border-radius: var(--pill); transition: color 0.25s; }
.nav__signin:hover { color: var(--ink); }
.nav__actions .btn { padding: 0.58rem 1.25rem; font-size: 0.85rem; }

.dock {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 210; display: none; align-items: center; gap: 0.15rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--pill); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-lg);
}
.dock__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0.38rem 0.7rem; border-radius: 12px; color: var(--faint);
  font-size: 0.54rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.25s, background 0.25s;
}
.dock__item svg { width: 21px; height: 21px; stroke: currentColor; }
.dock__item.is-active { color: var(--ink); }
.dock__item.is-active svg { stroke: var(--signal); }
.dock__cta {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 0.3rem;
  background: var(--ink); display: grid; place-items: center; color: var(--paper); flex: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}
.dock__cta svg { width: 22px; height: 22px; stroke: currentColor; }
.dock__cta:active { transform: scale(0.92); }

.footer { position: relative; border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 7rem); background: var(--paper-2); }
.footer__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: clamp(3.2rem, 6vw, 5rem) var(--gutter); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .nav__word { font-size: 1.3rem; }
.footer__tag { color: var(--muted); margin-top: 1.05rem; font-size: 0.95rem; max-width: 34ch; }
.footer__mono { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--faint); margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.55rem; text-transform: uppercase; }
.footer__col h4 { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.05rem; font-weight: 400; }
.footer__col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.36rem 0; transition: color 0.25s, transform 0.25s var(--ease); }
.footer__col a:hover { color: var(--ink); transform: translateX(3px); }
.footer__base { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 1.5rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.8rem; flex-wrap: wrap; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 0.07s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.14s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.21s; }
html.js .reveal[data-delay="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

[data-tilt] { transform-style: preserve-3d; will-change: transform; }
@media (hover: none), (pointer: coarse) { [data-tilt] { transform: none !important; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1rem; position: relative; background: var(--paper); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; }
.marquee__track span::after { content: "/"; color: var(--line-3); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.center { text-align: center; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
  .nav { justify-content: flex-start; }
  .nav__inner { padding: 0.45rem 0.9rem; gap: 0.6rem; }
  .nav__links, .nav__signin { display: none; }
  .nav__actions .btn { display: none; }
  .dock { display: flex; }
  body { padding-bottom: calc(var(--dock-h) + 26px + env(safe-area-inset-bottom, 0px)); }
  .footer { margin-bottom: 0; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .btn--lg { width: 100%; }
}
