:root {
  --bg: #05060a;
  --bg-raise: #0c111a;
  --ink: #f4f7fb;
  --muted: #a7b3c6;
  --faint: #8b98ad;
  --blue: #7eb0ff;
  --blue-deep: #1d5fe0;
  --blue-hot: #3c89ff;
  --line: rgba(255, 255, 255, 0.1);
  --font-d: "Syne", "Segoe UI", sans-serif;
  --font-b: "Manrope", "Segoe UI", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1160px;
  --pad: clamp(1.2rem, 4vw, 2.6rem);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 110, 255, 0.18), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html.loading,
html.menu-open { overflow: hidden; }

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

a { color: inherit; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: #1d5fe0; color: #fff; }

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

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 120;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-family: var(--font-m);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue-hot);
  box-shadow: 5px -5px 0 rgba(158, 198, 255, 0.95);
  flex: none;
}

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; margin: 0; }

h2 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); }

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}

.section-head { max-width: 18em; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { max-width: 11em; }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.2rem;
  background: #05060a;
  transition: transform 0.9s var(--ease);
}

.intro-seen .loader { display: none; }

.loader.done {
  transform: translateY(-105%);
  pointer-events: none;
}

.loader-mark {
  position: relative;
  width: min(168px, 42vw);
  aspect-ratio: 1;
}

.loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 3.2s ease-in-out infinite;
}

.loader-ring {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #7eb0ff;
  border-right-color: rgba(126, 176, 255, 0.25);
  animation: spin 1.4s linear infinite;
}

.loader-word {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Chrome */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, #1d5fe0, #b9d4ff);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -20%;
  z-index: 30;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--pad);
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand em {
  font-style: normal;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-on { color: var(--ink); }

.nav-links a:hover::after,
.nav-links a.is-on::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.4);
  place-items: center;
  padding: 0;
}

.nav-toggle span {
  grid-area: 1 / 1;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s var(--ease);
}

.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #05060a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: calc(var(--nav-h) + 0.5rem) var(--pad) 1.5rem;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.menu a:not(.btn) {
  font-family: var(--font-d);
  font-size: clamp(2.15rem, 8.5vw, 3.3rem);
  letter-spacing: -0.05em;
  text-decoration: none;
  line-height: 1.05;
}

.rail {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.rail-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(#3c89ff, transparent);
}

#rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: background 0.35s var(--ease), border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}

.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: #174db8; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.btn-ghost:hover { border-color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.2rem) 0 4.5rem;
  --mx: 72%;
  --my: 38%;
  overflow: clip;
}

.hero-glow,
.pixels { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(47, 120, 255, 0.18), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 76px 76px, 76px 76px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}

.pixels { z-index: 0; width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(240px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100svh - var(--nav-h) - 5rem);
}

.hero h1 { font-size: clamp(2.55rem, 5vw, 4.65rem); margin: 0 0 1.2rem; }

.hero-line { display: block; }
.hero-line span { display: block; }

.grad {
  background: linear-gradient(100deg, #ffffff 0%, #d6e7ff 28%, #7eb0ff 62%, #3c89ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 2.6rem;
  margin: 2.4rem 0 0;
}

.hero-meta div { min-width: 10rem; }

.hero-meta dt {
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-meta dd { margin: 0.3rem 0 0; font-weight: 600; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--blue); }

.orb {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.orb-shift {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb-float {
  width: 86%;
  animation: float 6.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.orb img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(20, 70, 200, 0.28));
}

.orb-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px solid rgba(126, 176, 255, 0.28);
  border-top-color: rgba(180, 214, 255, 0.95);
  animation: spin 18s linear infinite;
}

.orb-ring-2 {
  inset: -2%;
  border-color: rgba(126, 176, 255, 0.08);
  border-bottom-color: rgba(60, 137, 255, 0.7);
  animation-duration: 28s;
  animation-direction: reverse;
}

.bit {
  position: absolute;
  background: #3c89ff;
  z-index: 2;
  animation: drift 5.5s ease-in-out infinite;
}

.bit-a { width: 10px; height: 10px; top: 12%; right: 10%; background: #9ec6ff; }
.bit-b { width: 7px; height: 7px; top: 20%; right: 4%; animation-delay: -1.4s; }
.bit-c { width: 5px; height: 5px; top: 8%; right: 18%; background: #d7e8ff; animation-delay: -2.4s; }

.scroll-hint {
  position: absolute;
  left: var(--pad);
  bottom: 1.3rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--faint);
  text-decoration: none;
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(#7eb0ff, transparent);
  display: block;
  position: relative;
  overflow: hidden;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: drip 1.8s var(--ease) infinite;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee p {
  margin: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  padding: 1rem 0;
}

.marquee span {
  width: 7px;
  height: 7px;
  margin: 0 1.3rem;
  background: var(--blue-hot);
  box-shadow: 4px -4px 0 #c5dcff;
  flex: none;
}

/* Studio */
.studio { padding: clamp(5rem, 12vw, 8.5rem) 0; }

.scrub {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 3.05rem);
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.scrub span { color: rgba(244, 247, 251, 0.22); }

.notes {
  list-style: none;
  margin: clamp(2.8rem, 6vw, 4.2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.notes li { border-top: 1px solid var(--line); padding-top: 1.15rem; }

.notes span {
  font-family: var(--font-m);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.notes h3 { font-size: 1.7rem; margin: 0.7rem 0 0.55rem; }
.notes p { margin: 0; color: var(--muted); }

/* Services */
.services { padding: 0 0 clamp(5rem, 12vw, 8rem); }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.service-list a {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  grid-template-areas:
    "num title arrow"
    "num desc arrow";
  gap: 0.35rem 1.25rem;
  align-items: center;
  padding: 1.35rem 0.8rem;
  text-decoration: none;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.service-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #174db8, #1d5fe0 55%, #2f74f0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  z-index: 0;
}

.service-list a:hover::before,
.service-list a:focus-visible::before { transform: scaleX(1); }

.service-list a > * { position: relative; z-index: 1; }

.sn {
  grid-area: num;
  font-family: var(--font-m);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.st {
  grid-area: title;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.sd {
  grid-area: desc;
  color: var(--muted);
  transition: color 0.35s;
}

.service-list a:hover .sd,
.service-list a:focus-visible .sd,
.service-list a:hover .sn,
.service-list a:focus-visible .sn { color: #e8f1ff; }

.sa {
  grid-area: arrow;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease), background 0.35s, border-color 0.35s;
}

.service-list a:hover .sa,
.service-list a:focus-visible .sa {
  transform: rotate(-45deg);
  background: #fff;
  color: #0b1b44;
  border-color: #fff;
}

/* Product */
.product {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(5rem, 12vw, 8rem);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.product h2 { margin-bottom: 1rem; }

.feats {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.feats li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.feats li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue-hot);
  box-shadow: 5px -5px 0 #d5e6ff;
  flex: none;
}

.stage { margin: 0; perspective: 1200px; }

.mock {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(60, 137, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #141b2a, #0b101a);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: rotateX(0) rotateY(0);
  transition: transform 0.2s linear;
  will-change: transform;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.mock-top strong { font-weight: 700; margin-right: auto; }

.dots { display: flex; gap: 5px; }
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #243049;
  display: block;
}
.dots i:first-child { background: #3c89ff; }

.pill {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(126, 176, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.mock-body { display: grid; grid-template-columns: 148px 1fr; min-height: 320px; }

.mock aside {
  border-right: 1px solid var(--line);
  padding: 1rem 0.8rem;
}

.mock-brand {
  margin: 0 0 1rem;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--blue);
}

.mock aside nav { display: grid; gap: 0.25rem; }

.mock aside span {
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.mock aside span.on { background: rgba(29, 95, 224, 0.28); color: #fff; }

.mock-main { padding: 1rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.stats div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
}

.stats small {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.stats b {
  font-family: var(--font-d);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.rows { margin-top: 0.8rem; display: grid; }

.rows > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.62rem 0.1rem;
  border-bottom: 1px solid var(--line);
}

.av {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #1a2744;
  color: var(--blue);
  font-family: var(--font-d);
  font-weight: 700;
}

.who { display: grid; line-height: 1.2; }
.who b { font-size: 0.92rem; }
.who small { color: var(--faint); font-size: 0.75rem; }

.rows em {
  font-style: normal;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.rows em.in { color: #8fd0ff; }
.rows em.due { color: #ffd29a; }

.stage figcaption {
  margin-top: 0.8rem;
  color: var(--faint);
  font-size: 0.82rem;
}

/* Process */
.process { padding: 0 0 clamp(5rem, 12vw, 8.5rem); }

.steps {
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, #3c89ff, rgba(60, 137, 255, 0.05));
}

.steps li { padding-top: 0.2rem; position: relative; }

.steps h3 { font-size: 1.45rem; margin: 1.3rem 0 0.55rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.steps > li > span {
  font-family: var(--font-m);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  display: block;
  position: relative;
}

.steps > li > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #05060a;
  border: 2px solid #7eb0ff;
}

/* Contact */
.contact {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  overflow: clip;
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(29, 95, 224, 0.18), transparent 70%),
    #070b14;
  border-top: 1px solid var(--line);
}

.ring-bg {
  position: absolute;
  width: min(640px, 90vw);
  aspect-ratio: 1;
  right: -12%;
  bottom: -30%;
  border-radius: 50%;
  border: 1px solid rgba(126, 176, 255, 0.28);
  border-top-color: rgba(185, 214, 255, 0.8);
  animation: spin 36s linear infinite;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact h2 { margin-bottom: 1rem; }

.contact-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
}

.big-link {
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  letter-spacing: -0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.15rem;
  overflow-wrap: anywhere;
}

.big-link:hover { color: var(--blue); border-color: var(--blue); }

.text-link {
  margin-top: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 4px;
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.form label { display: grid; gap: 0.4rem; }

.form label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  outline: none;
}

.form textarea { resize: vertical; min-height: 130px; }

.form input:focus,
.form textarea:focus,
.form select:focus { border-color: #7eb0ff; }

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9eb6d6 50%), linear-gradient(135deg, #9eb6d6 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form button { justify-content: space-between; }
.form button:disabled { opacity: 0.65; }

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.86rem;
}

.form-note.is-sent { color: #cfe3ff; }
.form-note.is-error { color: #ffc7b8; }

/* Footer */
.footer {
  padding: 2.2rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background: #05060a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer nav,
.footer-contact { display: grid; gap: 0.4rem; }

.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.footer-base p { margin: 0; }

/* Cursor */
.cursor {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s;
}

.cursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: #fff;
  border-radius: 50%;
}

.cursor.is-hot {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

.cursor.on { opacity: 1; }
.cursor.on.off { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body, a, button { cursor: none; }
  input, textarea, select { cursor: auto; }
}

/* Reveal + intro motion */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.js .reveal.in {
  animation: fadeup 0.9s var(--ease) forwards;
}

html.loading .rise,
html.loading .hero-line span { opacity: 0; transform: translateY(18px); }

html.is-ready .hero-line span,
html.is-ready .rise {
  animation: fadeup 1s var(--ease) forwards;
}

html.is-ready .hero-line:nth-child(2) span { animation-delay: 0.1s; }
html.is-ready .hero-copy .rise:nth-child(1) { animation-delay: 0.02s; }
html.is-ready .hero-copy .lede { animation-delay: 0.2s; }
html.is-ready .hero-actions.rise { animation-delay: 0.32s; }
html.is-ready .hero-meta { animation-delay: 0.42s; }

html.is-ready .orb {
  animation: fadeup 1.2s var(--ease) 0.15s both;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 8px); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drip {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(260%); }
}

@media (min-width: 981px) {
  .hero-line { white-space: nowrap; }
  .container { width: min(var(--max), calc(100% - var(--pad) * 2 - 56px)); }
  .services .container {
    display: grid;
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
    gap: 2rem 3.5rem;
    align-items: start;
  }
  .services .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    max-width: none;
    margin: 0;
  }
  .services .section-head h2 {
    max-width: 8em;
    font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05060a; }
::-webkit-scrollbar-thumb { background: #1a3f86; border-radius: 99px; border: 2px solid #05060a; }

@media (max-width: 980px) {
  .rail { display: none; }
  .hero-grid,
  .product-grid,
  .contact-grid,
  .notes,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps > li > span::before { display: none; }
  .services .container { display: block; }
  .services .section-head { position: static; }
  .service-list a { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .mock-body { grid-template-columns: 1fr; }
  .mock aside { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { min-height: 0; }
  .scroll-hint { display: none; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.05rem, 8.8vw, 2.35rem); }
}

@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .form-row { grid-template-columns: 1fr; }
  .stats b { font-size: 1.25rem; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  html.loading .rise,
  html.loading .hero-line span,
  .scrub span {
    opacity: 1 !important;
    transform: none !important;
    color: inherit;
  }
  .loader { display: none; }
}
