@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #04060b;
  --bg-soft: #070b12;
  --bg-elev: #0b111b;
  --ink: #f4f8fd;
  --ink-2: #b7c3d5;
  --ink-3: #77869d;
  --ink-4: #4b586b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --glass: rgba(13, 20, 32, 0.58);
  --glass-strong: rgba(16, 25, 40, 0.82);
  --blue: #54bbff;
  --blue-2: #168cff;
  --blue-3: #0875e1;
  --ice: #c2efff;
  --cyan: #7ef2e2;
  --violet: #9e8dff;
  --amber: #ffc675;
  --green: #69e0ad;
  --light: #eef3f8;
  --light-2: #e3ebf3;
  --light-3: #d6e3ef;
  --dark-ink: #070b12;
  --dark-ink-2: #44546a;
  --dark-ink-3: #718096;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header: 74px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Manrope", "HarmonyOS Sans SC", "PingFang SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1200px 800px at 72% -12%, rgba(38, 122, 214, 0.13), transparent 60%),
    radial-gradient(900px 700px at -8% 12%, rgba(84, 187, 255, 0.06), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  color: #001522;
  background: var(--ice);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #05080e;
}
::-webkit-scrollbar-thumb {
  border: 2px solid #05080e;
  border-radius: 99px;
  background: #253246;
}
::-webkit-scrollbar-thumb:hover {
  background: #344865;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.site-noise {
  position: fixed;
  z-index: 9998;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.page {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container--wide {
  width: min(1560px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow {
  width: min(980px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(96px, 11vw, 176px) 0;
}

.section--tight {
  padding: clamp(68px, 7vw, 110px) 0;
}

.section--flush-top {
  padding-top: 0;
}

.section--light {
  color: var(--dark-ink);
  background: var(--light);
}

.section--light + .section--light {
  border-top: 1px solid rgba(9, 20, 36, 0.07);
}

.section--paper {
  color: var(--dark-ink);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(109, 185, 255, 0.25), transparent 60%),
    linear-gradient(180deg, #f4f8fc, #e8f0f7);
}

.section--hairline {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(56px, 6vw, 88px);
}

.section-head--center {
  display: block;
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-head h2 {
  max-width: 900px;
}

.section-head .lead {
  margin-top: 22px;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  content: "";
}

.section--light .eyebrow,
.section--paper .eyebrow {
  color: #1675d1;
}

h1,
h2,
h3,
h4 {
  font-weight: 730;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: 1.16;
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.028em;
}

h1,
h2 {
  text-wrap: balance;
}

.hang {
  display: inline-block;
  margin-right: -0.55em;
}

h1:has(.hang),
h2:has(.hang) {
  hanging-punctuation: allow-end;
}

h4 {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.9;
  letter-spacing: -0.005em;
}

.section--light .lead,
.section--paper .lead {
  color: var(--dark-ink-2);
}

.body-copy {
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.9;
}

.section--light .body-copy,
.section--paper .body-copy {
  color: var(--dark-ink-2);
}

.muted {
  color: var(--ink-3);
}

.section--light .muted,
.section--paper .muted {
  color: var(--dark-ink-3);
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0;
}

.gradient-text {
  background: linear-gradient(102deg, #ffffff 7%, #c7efff 41%, #64c4ff 68%, #a99bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section--light .gradient-text,
.section--paper .gradient-text {
  background: linear-gradient(102deg, #07111e 5%, #0c5fba 48%, #1a8ff3 75%, #7462df 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--sm {
  width: 17px;
  height: 17px;
}

.kicker {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section--light .kicker,
.section--paper .kicker {
  color: #718096;
}

/* ── buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 25px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    color 0.4s var(--ease-soft),
    background 0.4s var(--ease-soft),
    border-color 0.4s var(--ease-soft),
    transform 0.4s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  color: #03131f;
  background: linear-gradient(135deg, #d8f4ff, #8bd5ff 45%, #5cbcff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34) inset,
    0 16px 44px rgba(43, 165, 255, 0.25);
}

.btn--primary::after {
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  content: "";
  transition: left 0.8s var(--ease);
}

.btn--primary:hover::after {
  left: 130%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4) inset,
    0 22px 58px rgba(43, 165, 255, 0.36);
}

.btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.section--light .btn--ghost,
.section--paper .btn--ghost {
  color: var(--dark-ink);
  border-color: rgba(8, 20, 34, 0.16);
  background: rgba(255, 255, 255, 0.5);
}

.section--light .btn--ghost:hover,
.section--paper .btn--ghost:hover {
  border-color: rgba(8, 20, 34, 0.3);
  background: #fff;
}

.btn--text {
  min-height: auto;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: none;
}

.btn--text::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0.32);
  transform-origin: left;
  background: var(--blue);
  content: "";
  transition: transform 0.55s var(--ease);
}

.btn--text:hover::after {
  transform: scaleX(1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag--blue {
  border-color: rgba(84, 187, 255, 0.22);
  color: #a9e4ff;
  background: rgba(59, 166, 255, 0.1);
}

.tag--green {
  border-color: rgba(105, 224, 173, 0.22);
  color: #9ff0cd;
  background: rgba(105, 224, 173, 0.09);
}

.tag--violet {
  border-color: rgba(158, 141, 255, 0.24);
  color: #c8bdff;
  background: rgba(158, 141, 255, 0.09);
}

.section--light .tag,
.section--paper .tag {
  color: var(--dark-ink-2);
  border-color: rgba(9, 22, 39, 0.11);
  background: rgba(255, 255, 255, 0.55);
}

.section--light .tag--blue,
.section--paper .tag--blue {
  color: #0864b8;
  border-color: rgba(17, 126, 221, 0.17);
  background: rgba(48, 151, 255, 0.08);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 650;
}

.arrow-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.arrow-link:hover .icon {
  transform: translate(3px, -3px);
}

.section--light .arrow-link,
.section--paper .arrow-link {
  color: #0870cf;
}

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header);
  transition:
    transform 0.55s var(--ease),
    background 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 20%, rgba(84, 187, 255, 0.3) 50%, rgba(255, 255, 255, 0.16) 80%, transparent);
  content: "";
  transition: transform 0.5s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(24px) saturate(1.2);
}

.site-header.is-scrolled::after {
  transform: scaleX(1);
}

.site-header.is-hidden {
  transform: translateY(-102%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1560px, calc(100% - var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 8px 24px rgba(36, 164, 255, 0.18);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.05);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-type {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 640;
  letter-spacing: -0.025em;
}

.brand-type b {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
}

.brand-version {
  margin-left: 2px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(19px, 2.2vw, 34px);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.79rem;
  font-weight: 520;
  letter-spacing: 0.005em;
  transition: color 0.35s var(--ease-soft);
}

.nav-links a::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 3px;
  height: 3px;
  transform: translateX(-50%) scale(0);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  content: "";
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  transform: translateX(-50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 600;
  transition:
    color 0.35s var(--ease-soft),
    background 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft);
}

.nav-cta .icon {
  width: 14px;
  height: 14px;
}

.nav-cta:hover {
  color: #04131f;
  border-color: #fff;
  background: #fff;
}

.menu-btn {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.menu-btn .icon {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header) + 26px) var(--gutter) 34px;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(800px 600px at 80% 0%, rgba(24, 113, 213, 0.28), transparent 60%),
    #05080e;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.75s var(--ease),
    opacity 0.5s var(--ease-soft),
    visibility 0.75s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  margin-top: 5vh;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.7rem, 7vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.2;
  transition: color 0.3s;
}

.mobile-menu__links a span {
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-menu__links a:hover {
  color: var(--blue);
}

.mobile-menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 30px;
  color: var(--ink-3);
  font-size: 0.78rem;
}

/* ── footer ───────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #04060a;
}

.site-footer::before {
  position: absolute;
  top: -30%;
  left: 18%;
  width: 64%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 155, 255, 0.13), transparent 68%);
  filter: blur(60px);
  content: "";
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 110px) 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: clamp(50px, 6vw, 80px);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  box-shadow: 0 12px 36px rgba(39, 160, 255, 0.22);
}

.footer-brand h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 10px 0;
  color: var(--ink-2);
  font-size: 0.84rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-word {
  margin: 0 0 -0.14em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5.5rem, 17.5vw, 19rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  white-space: nowrap;
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-4);
  font-size: 0.73rem;
}

.footer-bottom__links {
  display: flex;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--ink-2);
}

/* ── boot / page transition ───────────────────────────── */
.boot-veil {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(600px 500px at 50% 46%, rgba(31, 133, 240, 0.2), transparent 65%),
    #04060b;
  transition:
    opacity 0.55s var(--ease-soft),
    visibility 0.55s;
}

html.js .boot-veil {
  visibility: visible;
  opacity: 1;
}

.boot-veil.is-hidden,
html.js .boot-veil.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.boot-veil.is-leaving,
html.js .boot-veil.is-leaving {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.boot-mark {
  position: relative;
  width: 68px;
  height: 68px;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition:
    opacity 0.6s var(--ease-soft),
    transform 0.8s var(--ease);
}

.boot-veil.is-ready .boot-mark,
html:not(.js) .boot-mark {
  opacity: 1;
  transform: none;
}

.boot-mark::before {
  position: absolute;
  z-index: -1;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 177, 255, 0.3), transparent 68%);
  filter: blur(16px);
  content: "";
}

.boot-mark img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 25px 60px rgba(23, 141, 255, 0.28);
}

.boot-word {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.44em;
  text-indent: 0.44em;
  opacity: 0;
  transition: opacity 0.6s 0.15s;
}

.boot-veil.is-ready .boot-word {
  opacity: 1;
}

.boot-bar {
  width: 108px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.boot-bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--blue), var(--ice));
  animation: bootBar 1.25s 0.2s var(--ease) forwards;
}

@keyframes bootBar {
  to { transform: scaleX(1); }
}

.boot-veil.is-leaving .boot-mark {
  opacity: 1;
  transform: none;
}

.boot-veil.is-leaving .boot-word {
  opacity: 1;
}

.boot-veil.is-leaving .boot-bar i {
  animation: none;
  transform: scaleX(1);
}

/* ── cursor / progress ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(84, 187, 255, 0.15), var(--blue), var(--ice));
  box-shadow: 0 0 12px rgba(84, 187, 255, 0.6);
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 9997;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--ice);
  box-shadow: 0 0 12px rgba(132, 220, 255, 0.9);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(160, 225, 255, 0.45);
  background: rgba(84, 187, 255, 0.04);
  transition:
    width 0.32s var(--ease),
    height 0.32s var(--ease),
    border-color 0.32s,
    background 0.32s,
    opacity 0.25s;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(160, 225, 255, 0.7);
  background: rgba(84, 187, 255, 0.08);
}

/* ── reveal / split ───────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 1s var(--ease-soft),
    transform 1.15s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.js [data-reveal="left"] {
  transform: translateX(-44px);
}

.js [data-reveal="right"] {
  transform: translateX(44px);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

[data-split] .line,
.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.04em;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(112%) rotate(2.5deg);
  transform-origin: 0 100%;
  will-change: transform, opacity;
  animation: splitReveal 0.92s var(--ease) forwards;
  animation-delay: calc(0.08s + var(--i) * 0.022s);
}

@keyframes splitReveal {
  0% {
    opacity: 0;
    transform: translateY(112%) rotate(2.5deg);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.split-char--block {
  display: block;
  width: 100%;
}

.is-split-static .split-char {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

[data-parallax] {
  will-change: transform;
}

/* ── generic cards ───────────────────────────────────── */
.glass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 45%, rgba(255, 255, 255, 0.025)),
    var(--glass);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.14);
}

.spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight::before {
  position: absolute;
  z-index: -1;
  top: var(--my, 50%);
  left: var(--mx, 50%);
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 198, 255, 0.14), transparent 64%);
  content: "";
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

.section--light .glass,
.section--paper .glass {
  border-color: rgba(7, 20, 37, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7)),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 #fff inset,
    0 26px 70px rgba(51, 92, 133, 0.1);
}

/* ── marquee ─────────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(84, 187, 255, 0.5);
  content: "";
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── page hero (subpages) ─────────────────────────────── */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82svh;
  padding: calc(var(--header) + clamp(70px, 9vw, 130px)) 0 clamp(70px, 9vw, 128px);
  overflow: hidden;
}

.page-hero--compact {
  min-height: 66svh;
}

.page-hero--center {
  text-align: center;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.page-hero__copy {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-top: 26px;
  font-size: clamp(2.65rem, 4.4vw, 4.9rem);
  line-height: 1.12;
}

.page-hero h1 .soft {
  color: var(--ink-3);
}

.page-hero .lead {
  max-width: 580px;
  margin-top: 28px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.page-hero__actions {
  margin-top: 38px;
}

.page-hero--center .lead {
  margin-inline: auto;
}

.page-hero--center .page-hero__meta,
.page-hero--center .page-hero__actions {
  justify-content: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-hero__bg::before {
  position: absolute;
  top: -35%;
  right: -5%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 139, 242, 0.2), rgba(22, 82, 146, 0.06) 40%, transparent 68%);
  filter: blur(30px);
  content: "";
}

.page-hero__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
}

/* ── utilities ───────────────────────────────────────── */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 60px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat b {
  font-size: clamp(1.65rem, 2.9vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat span {
  color: var(--ink-3);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--light .stat span,
.section--paper .stat span {
  color: var(--dark-ink-3);
}

.hr {
  height: 1px;
  border: 0;
  background: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.only-mobile {
  display: none;
}

/* ── responsive base ─────────────────────────────────── */
@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .section-head .lead {
    margin-top: 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 64px;
  }
  body {
    font-size: 15px;
  }
  h1 {
    font-size: clamp(2.9rem, 13vw, 4.6rem);
  }
  h2 {
    font-size: clamp(2.15rem, 9.5vw, 3.3rem);
  }
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .page-hero {
    min-height: auto;
    padding-top: calc(var(--header) + 70px);
  }
  .brand-type {
    font-size: 0.85rem;
  }
  .brand-version {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .only-mobile {
    display: initial;
  }
  .only-desktop {
    display: none !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  .marquee__item {
    padding: 18px 0;
    font-size: 9px;
  }
}

.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

.no-motion .hero__sub,
.no-motion .hero__actions,
.no-motion .hero__proof,
.no-motion .hero__art,
.no-motion .hero__eyebrow,
.no-motion .hero__scroll,
.no-motion [data-reveal],
.no-motion [data-split] .split-char {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .split-char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
