@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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: "Jost";
  src: url("/fonts/jost-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

:root {
  --abyss: #03060b;
  --deep: #0a1422;
  --ghost: #1a2b3f;
  --wake: #1e90ff;
  --wake-strong: #0a6fe0;
  --lume: #66f6ff;
  --text: #e6f1ff;
  --muted: #93a8c4;
  --faint: #5d7390;
  --glow: 0 0 18px rgba(30, 144, 255, 0.45);
  --page: min(1180px, 100% - 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--abyss); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 400 17px/1.65 "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 80% -10%, #0b1a2e 0%, transparent 60%),
    var(--abyss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--lume); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

:focus-visible {
  outline: 2px solid var(--lume);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--wake); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { top: 12px; }

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

.site-header {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 0 6px rgba(102, 246, 255, 0.35)); }
.brand span {
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 6px 28px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lume), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

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

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  margin-top: -100px;
  padding-top: 100px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 40px 0 96px;
}

.hero-copy { max-width: 600px; }

.hero h1 {
  font-weight: 200;
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
  text-shadow: 0 0 1px rgba(160, 225, 255, 0.9), 0 0 14px rgba(30, 144, 255, 0.55), 0 0 42px rgba(30, 144, 255, 0.3);
}
.hero h1 em {
  font-style: normal;
  color: var(--lume);
  text-shadow: 0 0 1px rgba(200, 255, 255, 0.9), 0 0 16px rgba(102, 246, 255, 0.6), 0 0 48px rgba(30, 144, 255, 0.45);
}

.hero-lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 34em;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  --arrow: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(102, 246, 255, 0.35);
  background: rgba(10, 20, 34, 0.55);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn:hover { text-decoration: none; border-color: var(--lume); box-shadow: 0 6px 28px -8px rgba(102, 246, 255, 0.45); }
.btn-primary {
  background: linear-gradient(180deg, var(--wake), var(--wake-strong));
  border-color: rgba(160, 210, 255, 0.6);
  color: #fff;
  box-shadow: 0 10px 36px -12px rgba(30, 144, 255, 0.8);
}
.btn-primary:hover { background: linear-gradient(180deg, #3aa0ff, var(--wake)); }

/* Dotted trace arrow drawn in the world's grammar */
.btn i {
  position: relative;
  width: 34px;
  height: 9px;
  flex: none;
  background: radial-gradient(circle, currentColor 1px, transparent 1.4px) 0 50% / 5px 5px repeat-x;
  transition: transform 0.5s var(--ease-out);
}
.btn i::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover i { transform: translateX(4px); }

.hero-art {
  position: relative;
  aspect-ratio: 344 / 253;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(30, 144, 255, 0.7)) drop-shadow(0 0 2px rgba(102, 246, 255, 0.9));
}
.js-wake .hero-art img { opacity: 0; }

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 120px 0 40px;
  position: relative;
}

.section-title {
  font-weight: 200;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-shadow: 0 0 1px rgba(160, 225, 255, 0.9), 0 0 14px rgba(30, 144, 255, 0.55), 0 0 42px rgba(30, 144, 255, 0.3);
}
.section-intro {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38em;
  margin: 0 0 72px;
}

/* A luminous trace that runs along the top of each section */
.wake-line {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(30, 144, 255, 0.15) 12%, rgba(30, 144, 255, 0.55) 60%, var(--lume) 100%);
}
.wake-line::after {
  content: "";
  position: absolute;
  right: -5px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lume);
  transform: translateY(-50%);
  box-shadow: 0 0 12px 2px rgba(102, 246, 255, 0.8);
}

/* ---------- Products ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 140px;
}
.product.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.product.flip .product-visual { order: 2; }

.product-visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(102, 246, 255, 0.22);
  box-shadow: 0 30px 80px -30px rgba(30, 144, 255, 0.55), 0 2px 0 rgba(255, 255, 255, 0.03) inset;
  background: var(--deep);
}
.product-visual img { width: 100%; height: auto; }

.product h3 {
  font-weight: 300;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.product-tagline { color: var(--lume); font-size: 1.15rem; margin: 0 0 18px; }
.product p { color: var(--muted); margin: 0 0 20px; max-width: 34em; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--ghost);
}
.facts li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--ghost);
  color: var(--text);
}
.facts li::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border: 1.5px solid var(--lume);
  border-radius: 50%;
  transform: translateY(-1px);
}

.visit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lume);
}
.visit i {
  width: 34px; height: 9px; position: relative;
  background: radial-gradient(circle, currentColor 1px, transparent 1.4px) 0 50% / 5px 5px repeat-x;
  transition: transform 0.5s var(--ease-out);
}
.visit i::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.visit:hover { text-decoration: none; color: #fff; }
.visit:hover i { transform: translateX(4px); }

/* CGPulse: the real rule coverage drawn as glowing traces */
.coverage {
  padding: 44px 44px 36px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(30, 144, 255, 0.14), transparent 60%),
    var(--deep);
}
.coverage-total {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 34px;
}
.coverage-total strong {
  font-weight: 200;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 24px rgba(30, 144, 255, 0.55);
}
.coverage-total span { color: var(--muted); font-size: 1.05rem; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bars li { display: grid; grid-template-columns: 110px 1fr 44px; gap: 16px; align-items: center; }
.bars .label { color: var(--muted); font-size: 0.95rem; }
.bars .n { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.bars .track { position: relative; height: 10px; }
.bars .track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--ghost);
}
.bars .trace {
  position: absolute; left: 0; top: 50%;
  width: calc(var(--v) * 100%);
  height: 2px;
  transform: translateY(-50%);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.35), var(--wake) 60%, var(--lume));
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
}
.bars .trace::after {
  content: ""; position: absolute; right: -5px; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--lume);
  background: var(--abyss);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(102, 246, 255, 0.8);
}
.coverage .coverage-note { margin: 30px 0 0; color: var(--faint); font-size: 0.9rem; }

.js-wake .bars .trace { transform: translateY(-50%) scaleX(0); transition: transform 1.6s var(--ease-out); }
.js-wake .bars.lit .trace { transform: translateY(-50%) scaleX(1); }
.js-wake .bars li:nth-child(2) .trace { transition-delay: 0.15s; }
.js-wake .bars li:nth-child(3) .trace { transition-delay: 0.3s; }

.upcoming {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  padding: 26px 0;
  border-top: 1px solid var(--ghost);
  border-bottom: 1px solid var(--ghost);
  margin-top: -60px;
}
.upcoming::before {
  content: "";
  width: 10px; height: 10px; flex: none;
  border-radius: 50%;
  background: var(--lume);
  box-shadow: 0 0 0 0 rgba(102, 246, 255, 0.6);
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(102, 246, 255, 0.6); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(102, 246, 255, 0); }
}
.upcoming strong { color: var(--text); font-weight: 500; }


/* Plankton specks carried into panels */
.coverage, .contact-panel { position: relative; overflow: hidden; }
.coverage::before, .contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(102, 246, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 34% 68%, rgba(102, 246, 255, 0.4), transparent 60%),
    radial-gradient(1.4px 1.4px at 58% 18%, rgba(102, 246, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 76% 82%, rgba(102, 246, 255, 0.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 36%, rgba(102, 246, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 24% 88%, rgba(102, 246, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 46% 44%, rgba(102, 246, 255, 0.3), transparent 60%),
    radial-gradient(120% 60% at 100% 110%, rgba(30, 144, 255, 0.16), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300' fill='none' stroke='%231e90ff' stroke-width='1'><path d='M0 60 C120 20 220 110 340 70 S520 20 600 55' stroke-opacity='.22'/><path d='M0 120 C140 90 240 170 360 130 S520 90 600 125' stroke-opacity='.16'/><path d='M0 190 C110 160 250 240 380 200 S540 160 600 190' stroke-opacity='.2'/><path d='M0 250 C150 220 260 290 400 255 S540 230 600 250' stroke-opacity='.12'/></svg>") center / 100% 100% no-repeat;
}
.coverage > *, .contact-panel > * { position: relative; }

/* ---------- Company ---------- */

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.company .section-intro { margin-bottom: 28px; }

.register {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  border-top: 1px solid var(--ghost);
}
.register dt, .register dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--ghost);
  margin: 0;
}
.register dt {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-right: 36px;
  padding-top: 21px;
}
.register dd { color: var(--text); font-size: 1.05rem; }

/* ---------- Long-form pages (privacy, support) ---------- */

.doc {
  width: min(720px, 100% - 48px);
  margin: 0 auto;
  padding: 72px 0 40px;
}
.doc h1 {
  font-weight: 200;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-shadow: 0 0 1px rgba(160, 225, 255, 0.9), 0 0 14px rgba(30, 144, 255, 0.55), 0 0 42px rgba(30, 144, 255, 0.3);
}
.doc .updated { color: var(--faint); margin: 0 0 48px; }
.doc h2 {
  font-weight: 400;
  font-size: 1.45rem;
  margin: 56px 0 14px;
  color: var(--text);
}
.doc h3 { font-weight: 500; font-size: 1.12rem; margin: 36px 0 8px; }
.doc p, .doc li { color: #c3d2e6; }
.doc strong { color: var(--text); font-weight: 500; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--lume); }

.contact-panel {
  margin: 40px 0 16px;
  padding: 32px 34px;
  border: 1px solid rgba(102, 246, 255, 0.25);
  border-radius: 10px;
  background: radial-gradient(100% 140% at 0% 0%, rgba(30, 144, 255, 0.16), transparent 60%), var(--deep);
  box-shadow: 0 24px 60px -30px rgba(30, 144, 255, 0.6);
}
.contact-panel p { margin: 0 0 10px; }
.contact-panel .mail {
  display: inline-block;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
  text-shadow: 0 0 18px rgba(30, 144, 255, 0.45);
}

/* ---------- Footer ---------- */

.site-footer {
  width: var(--page);
  margin: 120px auto 0;
  padding: 36px 0 48px;
  border-top: 1px solid var(--ghost);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 14px;
}
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 8px 0 88px; gap: 12px; }
  .hero-art { order: -1; justify-self: center; width: min(62%, 320px); }
  .hero-hint { display: none; }
  .product, .product.flip, .company { grid-template-columns: 1fr; gap: 36px; }
  .product.flip .product-visual { order: 0; }
  .product { margin-bottom: 100px; }
  .upcoming { margin-top: -40px; }
  .section { padding-top: 96px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { padding: 20px 0; }
  .brand span { font-size: 15px; letter-spacing: 0.28em; }
  .site-nav { gap: 4px 18px; }
  .site-nav a { font-size: 12px; letter-spacing: 0.16em; }
  .coverage { padding: 32px 22px 26px; }
  .bars li { grid-template-columns: 84px 1fr 38px; gap: 12px; }
  .register { grid-template-columns: 1fr; }
  .register dt { border-bottom: 0; padding: 18px 0 2px; }
  .register dd { padding-top: 0; }
  .btn { width: 100%; justify-content: space-between; }
}

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