@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #02031A;
  --ultra: #1932E6;
  --violet: #7B5CFF;
  --cyan: #5FE3FF;
  --white: #FFFFFF;
  --mist: #CDD5FF;
  --rule: rgba(255, 255, 255, .14);

  /* Dark-tinted glass: keeps the blur, but light behind it never washes out text. */
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 55%, rgba(123, 92, 255, .05)), rgba(4, 6, 34, .62);
  --glass-edge: rgba(255, 255, 255, .16);
  --iris: linear-gradient(100deg, var(--white) 0%, var(--mist) 30%, var(--cyan) 55%, var(--violet) 80%, var(--white) 100%);

  --sans: "Archivo", "Hiragino Sans", "Noto Sans JP", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 8vw, 150px);
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
/* Nothing may widen the page: on Android, horizontal overflow makes Chrome
   zoom the whole layout out (and the 3D canvas balloon in size). */
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--white); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh; /* covers the screen even when the mobile URL bar hides */
  z-index: 0;
}
.no-webgl #scene { display: none; }
.no-webgl body {
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(25, 50, 230, .55), transparent 70%),
    radial-gradient(50% 40% at 15% 80%, rgba(123, 92, 255, .3), transparent 70%),
    var(--ink);
  background-attachment: fixed;
}

main, .end { position: relative; z-index: 1; }

/* Text that sits straight on the scene gets a soft dark halo for legibility. */
h2, .lede, .hero-sub, .mic-note, .price-unit, .price-reveal, .soon, .copy { text-shadow: 0 1px 18px rgba(2, 3, 26, .85), 0 0 2px rgba(2, 3, 26, .6); }
.glass h2, .glass .lede, .glass h3 { text-shadow: none; }

/* Veil: a full-width band, feathered top and bottom, that dims the light
   behind floating text. Edge to edge so it reads as a dimmed horizon,
   never as a patch. */
section > h2, section > .lede, .hero-sub, .mic-note, .price-figure, .price-reveal, .soon {
  position: relative;
  isolation: isolate;
}
section > h2::before, section > .lede::before, .hero-sub::before, .mic-note::before,
.price-figure::before, .price-reveal::before, .soon::before {
  content: "";
  position: absolute;
  /* Exactly screen-wide: starts at the left edge (these blocks sit one gutter
     in), never past the right one. */
  top: -2.5rem;
  bottom: -2.5rem;
  left: calc(-1 * var(--gutter));
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  /* Plain gradient on purpose: a backdrop blur this wide exhausts mobile GPUs. */
  background: linear-gradient(rgba(2, 3, 26, 0), rgba(2, 3, 26, .75) 32%, rgba(2, 3, 26, .75) 68%, rgba(2, 3, 26, 0));
}
/* h1 is gradient-clipped (transparent fill), so it needs a filter, not text-shadow. */
h1 { filter: drop-shadow(0 2px 16px rgba(2, 3, 26, .85)); }

/* Fine dot grid over the scene, fading toward the edges. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, transparent 30%, #000 100%);
  mask-image: radial-gradient(120% 90% at 50% 40%, transparent 30%, #000 100%);
}

/* ---------- Decoration ---------- */

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: url(#iris);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(95, 227, 255, .45));
}

.divider {
  position: relative;
  z-index: 1;
  height: 80px;
  margin: 0 var(--gutter);
}
.divider svg { width: 100%; height: 100%; overflow: visible; }
.divider .wave-ghost { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.divider .wave {
  fill: none;
  stroke: url(#iris-h);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(95, 227, 255, .6));
}

.voices { overflow: hidden; }
.marquee {
  margin: 1.2rem calc(var(--gutter) * -1) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.voices h2 + .marquee { margin-top: 3rem; }
.track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-rev .track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1.4rem .8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-edge);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  font-stretch: 112%;
  white-space: nowrap;
}
.bars { display: inline-flex; align-items: center; gap: 2px; height: 1em; }
.bars i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--violet));
  animation: talk 1.1s ease-in-out infinite;
  transform-origin: center;
}
.bars i:nth-child(2) { animation-delay: -.3s; }
.bars i:nth-child(3) { animation-delay: -.6s; }
.bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes talk { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-stretch: 118%;
  max-width: 15em;
  text-wrap: balance;
}

h3 { font-size: 1rem; font-weight: 500; color: var(--mist); }

.lede {
  max-width: var(--measure);
  margin: 1.6rem 0 0;
  color: var(--mist);
  font-size: 1.125rem;
  text-wrap: pretty;
}

/* Split-text reveal: each grapheme is its own span. */
.reveal .w { display: inline-block; white-space: nowrap; }
.reveal .ch { display: inline-block; white-space: pre; }

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(30px) saturate(125%);
  backdrop-filter: blur(30px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 40px 90px -30px rgba(0, 0, 20, .7);
}
.panel { padding: clamp(1.4rem, 3.5vw, 3rem); }

.glass-btn {
  --level: 0;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.6rem .9rem 1.15rem;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 40px -10px rgba(25, 50, 230, .8);
  color: var(--white);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s, box-shadow .3s, transform .3s;
}
.glass-btn:hover {
  background-color: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 50px -8px rgba(95, 227, 255, .55);
}
.glass-btn:active { transform: scale(.98); }

/* ---------- Header ---------- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--gutter);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top::before {
  content: "";
  position: absolute;
  inset: 0 0 -2.5rem 0;
  z-index: -1;
  background: linear-gradient(rgba(2, 3, 26, .72), rgba(2, 3, 26, 0));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
  opacity: 0;
  transition: opacity .4s;
}
.top.scrolled::before { opacity: 1; }

.mark {
  color: var(--white);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .02em;
}

.lang select {
  appearance: none;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--white);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  padding: .45rem 1.2rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.lang option { color: #000; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(2.5rem, 9vh, 6rem);
}
/* A soft dusk behind the hero copy so the light never fights the headline. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(90% 60% at 15% 85%, rgba(2, 3, 26, .75), transparent 70%);
}

.hero-copy { width: 100%; max-width: 46rem; }

h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 250;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.02em;
}
h1 .ch {
  background: var(--iris);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iris 10s linear infinite;
}
@keyframes iris { from { background-position: 0 0; } to { background-position: -400% 0; } }

.hero-sub {
  max-width: var(--measure);
  margin: 1.4rem 0 0;
  color: var(--mist);
  font-size: 1.125rem;
}

.mic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.4rem;
  margin-top: 2.2rem;
}

.mic-dot {
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 0 calc(var(--level) * 12px) rgba(95, 227, 255, .3);
}
#mic[aria-pressed="true"] { background-color: rgba(95, 227, 255, .16); }

.mic-note { margin: 0; font-size: .85rem; color: var(--mist); }

/* ---------- Sections ---------- */

main > section:not(.hero) {
  padding: clamp(6rem, 22vh, 15rem) var(--gutter);
}

/* Why eleven */

.why { min-height: 100vh; display: flex; align-items: center; }
.why-panel { width: min(100%, 44rem); }
@media (min-width: 960px) {
  .why-panel {
    width: min(100%, 68rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .why-panel h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
  .why-panel .menu { margin-top: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
  .why-panel .menu-one { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
}

.menu {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 300;
  font-stretch: 110%;
  line-height: 1.3;
}
.menu li {
  overflow: hidden;
  color: #E4E8FF;
}
.menu li span {
  background-image: linear-gradient(90deg, var(--cyan), var(--violet));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: calc(var(--strike, 0) * 100%) 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.menu-one {
  margin: .4rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 400;
  font-stretch: 120%;
  line-height: 1.1;
}

/* Speed */

.race {
  display: grid;
  gap: 1.4rem;
  margin-top: 3.5rem;
  max-width: 64rem;
}
.lane {
  display: grid;
  grid-template-columns: 9rem 1fr;
  align-items: center;
  gap: 1rem;
}
.lane + .lane { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.lane-name { color: var(--mist); }
.lane-one .lane-name { color: var(--white); font-weight: 500; font-stretch: 125%; }
.lane-wave { width: 100%; height: 72px; display: block; }

/* Code */

.snippet {
  max-width: 46rem;
  margin: 3rem 0 0;
  font-family: var(--mono);
  font-size: clamp(.8rem, 1.5vw, 1.02rem);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 11em;
}
.snippet .k { color: var(--mist); }
.snippet .s { color: var(--cyan); }
.caret {
  display: inline-block;
  width: .6ch; height: 1.15em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Price */

.price-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1.4rem;
  margin: 2.6rem 0 0;
}
.price-num {
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 200;
  font-stretch: 125%;
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.price-num .redact {
  display: inline-block;
  filter: blur(.08em);
  color: var(--cyan);
  opacity: .9;
  user-select: none;
}
.price-unit { font-size: 1.25rem; color: var(--mist); }
.price-reveal { margin: 1rem 0 4rem; color: var(--mist); }

.includes-panel { max-width: 56rem; }
.includes {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  column-gap: 2rem;
}
.includes li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 0;
  border-top: 1px solid var(--rule);
  font-size: 1.125rem;
}

/* Footer */

.end {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 var(--gutter) 2.5rem;
}
.soon::before { left: 50%; transform: translateX(-50%); }
.soon {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 200;
  font-stretch: 125%;
  line-height: .95;
  letter-spacing: -.03em;
}
.sign {
  margin: 3rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: .04em;
  background: var(--iris);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iris 14s linear infinite;
  filter: drop-shadow(0 1px 10px rgba(2, 3, 26, .9));
}
.copy { margin: .6rem 0 0; font-size: .8rem; color: var(--mist); }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .why-panel h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .why-panel .lede { font-size: 1rem; margin-top: 1rem; }
  .menu { margin-top: 1.4rem; font-size: 1.05rem; line-height: 1.35; }
  .menu-one { font-size: 1.45rem; }
  .hero::before { background: linear-gradient(transparent 35%, rgba(2, 3, 26, .8) 62%, rgba(2, 3, 26, .8) 82%, transparent); }
  .lane { grid-template-columns: 1fr; gap: .4rem; }
  .glass { border-radius: 22px; }
  /* Live blur on dozens of moving layers is too heavy for phone GPUs; a more
     opaque tint gives the same legibility. */
  .glass, .glass-btn, .chip, .lang select {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .glass, .chip { background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 55%), rgba(4, 6, 34, .86); }
}

@media (prefers-reduced-motion: reduce) {
  h1 .ch, .track, .bars i, .sign { animation: none; }
  .caret { animation: none; }
  .glass-btn { transition: none; }
}
