@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #080b12;
  --panel: #101521;
  --panel-2: #151b29;
  --text: #f7f8fb;
  --muted: #9ca6b8;
  --line: rgba(255,255,255,.1);
  --blue: #58d8ff;
  --violet: #8b7cff;
  --lime: #b6f27c;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 14px var(--blue);
}
.pointer-glow {
  --pointer-x: 50vw;
  --pointer-y: 30vh;
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(88,216,255,.055), transparent 72%);
  transition: opacity .5s ease;
}
.pointer-glow.is-active { opacity: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding: 22px 0;
  transition: padding .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.compact {
  padding: 14px 0;
  background: rgba(8,11,18,.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
}
.brand-mark img { width: 19px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a {
  font-size: 14px;
  color: #c3cad5;
  transition: color .2s ease;
}
.site-nav > a:hover { color: #fff; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #d5dbe4;
  cursor: pointer;
  font: 500 11px "DM Mono", monospace;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(88,216,255,.34); background: rgba(88,216,255,.09); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.theme-icon { width: 14px; font-size: 15px; line-height: 1; }
.theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-sun { display: inline; }
[data-theme="light"] .theme-icon-moon { display: none; }
.theme-toggle-compact { min-width: 40px; width: 40px; padding: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: none; }
.back-link { color: var(--muted); font-size: 13px; }
.back-link:hover { color: #fff; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 60px;
  padding-top: 132px;
  padding-bottom: 76px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}
.hero::before {
  width: 330px;
  height: 330px;
  top: 10%;
  left: -18%;
  background: rgba(88,216,255,.09);
  animation: auroraDrift 12s ease-in-out infinite alternate;
}
.hero::after {
  width: 420px;
  height: 300px;
  right: -14%;
  bottom: 7%;
  background: rgba(139,124,255,.1);
  animation: auroraDrift 15s 1.5s ease-in-out infinite alternate-reverse;
}
@keyframes auroraDrift {
  to { transform: translate3d(70px, 35px, 0) scale(1.18); opacity: .72; }
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  color: #aeb8c8;
  font: 500 12px/1.2 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow > span { width: 26px; height: 1px; background: var(--blue); }
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 5.6vw, 80px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}
.headline-static,
.headline-typing { display: block; }
.headline-typing {
  position: relative;
  width: 100%;
  min-height: 1.06em;
  white-space: nowrap;
  contain: inline-size;
}
.headline-typing em {
  background: linear-gradient(92deg, var(--blue), #93e8ff 38%, #a995ff 78%, var(--blue));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headlineShimmer 6s linear infinite;
}
.headline-typing i {
  display: inline-block;
  width: .055em;
  height: .78em;
  margin-left: .07em;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(88,216,255,.65);
  animation: cursorBlink .8s steps(1) infinite;
}
@keyframes headlineShimmer { to { background-position: 220% center; } }
@keyframes cursorBlink { 50% { opacity: 0; } }
h1 em, h2 em {
  color: var(--blue);
  font-style: normal;
  font-weight: inherit;
}
.hero-lede {
  max-width: 570px;
  margin: 28px 0 34px;
  color: #b9c2cf;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #061016; background: var(--blue); }
.button-primary:hover { background: #8de5ff; }
.button-light { color: var(--ink); background: #fff; }
.text-link { color: #cad1dc; font-size: 14px; border-bottom: 1px solid #505967; padding: 8px 0 4px; }
.text-link span { color: var(--blue); margin-left: 8px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  color: #8e99aa;
  font: 400 12px/1.5 "DM Mono", monospace;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(182,242,124,.09);
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 570px;
  isolation: isolate;
}
.hero-copy { min-width: 0; }
.hero-spark {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px 4px rgba(88,216,255,.55);
  animation: sparkDrift 6s ease-in-out infinite;
}
.spark-one { top: 16%; left: 18%; }
.spark-two { top: 32%; right: 8%; width: 3px; height: 3px; animation-delay: -2s; }
.spark-three { bottom: 18%; left: 10%; width: 4px; height: 4px; animation-delay: -4s; }
@keyframes sparkDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(.65); opacity: .3; }
  50% { transform: translate3d(8px,-18px,0) scale(1); opacity: 1; }
}
.hero-copy {
  animation: heroCopyIn .9s .08s both cubic-bezier(.2,.75,.25,1);
}
.hero-art {
  animation: heroArtIn 1.15s .18s both cubic-bezier(.2,.75,.25,1);
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(28px); }
}
@keyframes heroArtIn {
  from { opacity: 0; transform: translate3d(28px,20px,0) scale(.96); }
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 2% -10% -10% 0;
  z-index: -3;
  background: radial-gradient(circle at 54% 46%, rgba(88,216,255,.16), transparent 45%),
              radial-gradient(circle at 82% 72%, rgba(139,124,255,.15), transparent 38%);
  filter: blur(12px);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(88,216,255,.16);
  border-radius: 50%;
  transform: rotate(-22deg);
}
.orbit-one { width: 520px; height: 210px; top: 170px; left: 0; }
.orbit-two { width: 470px; height: 160px; top: 200px; left: 35px; transform: rotate(35deg); }
.app-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(33,42,61,.92), rgba(14,19,30,.95));
  box-shadow: 0 40px 100px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.12);
}
.app-window-back {
  width: 310px;
  height: 420px;
  top: 48px;
  left: 210px;
  opacity: .38;
  transform: rotate(13deg);
  animation: windowFloatBack 8s ease-in-out infinite;
}
.app-window-back span {
  display: block;
  width: 54%;
  height: 9px;
  margin: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.12);
}
.app-window-front {
  width: 324px;
  height: 474px;
  top: 56px;
  left: 80px;
  transform: rotate(-7deg);
  animation: windowFloat 7s ease-in-out infinite;
}
.window-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 25px; }
.mini-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 30px rgba(88,216,255,.25);
}
.window-top i { width: 24px; height: 4px; border-radius: 5px; background: #6d7584; box-shadow: 0 8px #6d7584; }
.window-content { padding: 24px; }
.signal { display: flex; align-items: end; gap: 8px; height: 154px; padding: 24px; border-radius: 21px; background: rgba(255,255,255,.045); }
.signal b { flex: 1; min-height: 25%; border-radius: 20px 20px 5px 5px; background: linear-gradient(to top, var(--violet), var(--blue)); }
.signal b:nth-child(2) { height: 48%; }
.signal b:nth-child(3) { height: 82%; }
.signal b:nth-child(4) { height: 62%; }
.content-lines { padding: 28px 2px; }
.content-lines i { display: block; height: 8px; margin-bottom: 13px; border-radius: 8px; background: rgba(255,255,255,.1); }
.content-lines i:nth-child(2) { width: 72%; }
.content-lines i:nth-child(3) { width: 45%; }
.window-dock { position: absolute; inset: auto 20px 18px; display: flex; justify-content: space-around; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.055); }
.window-dock span { width: 18px; height: 18px; border: 2px solid #70798a; border-radius: 6px; }
.float-chip {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(14,19,29,.76);
  color: #b5bdca;
  font: 500 10px "DM Mono", monospace;
  backdrop-filter: blur(12px);
}
.chip-swift { top: 82px; left: 22px; }
.chip-native { right: 10px; bottom: 100px; animation-delay: -2.4s; }
.float-chip { animation: chipFloat 5s ease-in-out infinite; }

@keyframes windowFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(-7deg); }
  50% { transform: translate3d(0,-14px,0) rotate(-5.5deg); }
}
@keyframes windowFloatBack {
  0%, 100% { transform: translate3d(0,0,0) rotate(13deg); }
  50% { transform: translate3d(8px,12px,0) rotate(14.5deg); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-strip { border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: flex; align-items: center; gap: 18px; padding: 23px 24px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { color: #586274; font: 400 10px "DM Mono", monospace; }
.trust-grid span { color: #c2cad5; font-size: 13px; }
.motion-ticker {
  overflow: hidden;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: #626d7e;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.motion-ticker > div {
  display: flex;
  width: max-content;
  gap: 38px;
  align-items: center;
  animation: tickerMove 30s linear infinite;
}
.motion-ticker i { color: var(--blue); font-size: 6px; font-style: normal; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.section { padding-top: 84px; padding-bottom: 84px; }
.section-intro { max-width: 620px; }
.section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.studio-layout { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
.section-lede { max-width: 780px; margin: 0; color: #b0b9c7; font-size: 18px; line-height: 1.75; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.principles article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16,21,33,.52);
}
.card-number { color: var(--blue); font: 400 11px "DM Mono", monospace; }
.principles article > div { margin-top: auto; }
.principles h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.principles p { margin: 0; color: #9ba5b4; font-size: 15px; }

.investor-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 34%, rgba(139,124,255,.12), transparent 34%),
    radial-gradient(circle at 22% 72%, rgba(88,216,255,.08), transparent 32%),
    #0c1018;
}
.investor-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.investor-shell { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; column-gap: 80px; row-gap: 40px; }
.investor-copy { padding-bottom: 70px; }
.investor-copy > p { max-width: 530px; margin: 28px 0 34px; color: #9ba5b4; font-size: 16px; }
.investor-copy > .mail-feedback {
  min-height: 20px;
  margin: 12px 0 0;
  color: #aab4c3;
  font: 400 12px "DM Mono", monospace;
}
.email-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 16px;
  padding: 9px 10px 9px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8,11,18,.45);
}
.email-copy > a { color: #c4ccd8; font: 400 13px "DM Mono", monospace; }
.email-copy button {
  padding: 6px 9px;
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: var(--blue);
  cursor: pointer;
  font: 500 11px "DM Mono", monospace;
}
.email-copy button:hover,
.email-copy button:focus-visible { background: rgba(88,216,255,.14); outline: 1px solid rgba(88,216,255,.35); }
.investor-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 430px;
  perspective: 900px;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .15s ease-out;
}
.deal-orbit { position: absolute; border: 1px solid rgba(88,216,255,.17); border-radius: 50%; }
.orbit-a { width: 480px; height: 170px; left: 0; top: 160px; transform: rotate(-14deg); animation: orbitPulse 6s ease-in-out infinite; }
.orbit-b { width: 390px; height: 140px; left: 50px; top: 175px; transform: rotate(38deg); animation: orbitPulse 6s 1.5s ease-in-out infinite; }
@keyframes orbitPulse { 50% { opacity: .42; transform: rotate(0deg) scale(1.04); } }
.deal-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(17,23,35,.8);
  box-shadow: 0 35px 90px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.deal-card-back {
  width: 270px;
  height: 330px;
  top: 64px;
  right: 0;
  padding: 28px;
  color: #7d8796;
  transform: rotate(10deg);
  animation: dealBackFloat 8s ease-in-out infinite;
}
.deal-card-back span { font: 500 9px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.deal-card-back strong { position: absolute; left: 28px; bottom: 28px; color: rgba(255,255,255,.08); font-size: 72px; }
.deal-card-main {
  width: min(390px, 82%);
  min-height: 370px;
  top: 38px;
  left: 10px;
  padding: 28px;
  transform: rotate(-5deg);
  animation: dealMainFloat 7s ease-in-out infinite;
}
@keyframes dealMainFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-3.5deg); }
}
@keyframes dealBackFloat {
  0%, 100% { transform: translateY(0) rotate(10deg); }
  50% { transform: translateY(10px) rotate(11.5deg); }
}
.deal-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.deal-head span { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.deal-head i { color: var(--blue); font: 400 8px "DM Mono", monospace; font-style: normal; }
.deal-metric { padding: 46px 0 28px; }
.deal-metric small { display: block; margin-bottom: 10px; color: #6f7a8b; font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.deal-metric strong { font-size: 29px; font-weight: 500; letter-spacing: -.04em; }
.deal-lines i { display: block; height: 7px; margin: 11px 0; border-radius: 10px; background: rgba(255,255,255,.08); }
.deal-lines i:nth-child(2) { width: 76%; }
.deal-lines i:nth-child(3) { width: 52%; }
.deal-foot { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: #8994a4; font-size: 10px; }
.deal-foot b { color: var(--blue); font-weight: 400; }
.investor-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.investor-points article {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16,21,33,.72);
  transform: perspective(700px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .15s ease-out, border-color .25s ease, background .25s ease;
}
.investor-points article:hover { border-color: rgba(88,216,255,.25); background: rgba(20,28,42,.88); }
.investor-points article > span { color: var(--blue); font: 400 9px "DM Mono", monospace; }
.investor-points h3 { margin: 26px 0 10px; font-size: 18px; }
.investor-points p { margin: 0; color: #9aa4b4; font-size: 14px; }

.developer-panel {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 60px 68px 58px 98px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 80px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c1018;
}
.developer-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(88,216,255,.035)); }
.code-decoration { position: absolute; inset: 0 auto 0 0; width: 44px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; border-right: 1px solid var(--line); color: #3e4857; font: 400 9px "DM Mono", monospace; }
.developer-copy { position: relative; z-index: 1; }
.developer-copy h2 { font-size: clamp(40px, 4.5vw, 62px); }
.developer-copy > p { max-width: 440px; margin: 25px 0 36px; color: #a5aebc; font-size: 16px; }
.resource-links { border-top: 1px solid var(--line); }
.resource-links a { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.resource-links i { color: #657080; font-style: normal; font-size: 10px; }
.resource-links b { color: var(--blue); font-weight: 400; }
.code-card { position: relative; transform: rotate(2deg); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #101620; box-shadow: 0 35px 80px rgba(0,0,0,.4); }
.code-card-head { display: flex; align-items: center; gap: 7px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.code-card-head i { width: 7px; height: 7px; border-radius: 50%; background: #525d6c; }
.code-card-head span { margin-left: auto; color: #606b7c; font: 400 9px "DM Mono", monospace; }
.code-card pre { margin: 0; padding: 44px 36px 52px; overflow: hidden; color: #b5becc; font: 400 13px/2 "DM Mono", monospace; }
.code-card b { color: var(--violet); font-weight: 400; }
.code-card em { color: var(--blue); font-style: normal; }
.code-card strong { color: var(--lime); font-weight: 400; }

.cta-section {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  margin-bottom: 80px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 80px;
  border-radius: 14px;
  background: linear-gradient(130deg, #103041, #172139 55%, #211a42);
}
.cta-glow { position: absolute; width: 360px; height: 360px; right: 18%; top: -65%; border: 1px solid rgba(88,216,255,.22); border-radius: 50%; box-shadow: 0 0 120px rgba(88,216,255,.12); }
.cta-section > *:not(.cta-glow) { position: relative; }
.cta-side p { margin: 0 0 28px; color: #c2cad5; font-size: 16px; }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; align-items: start; padding-bottom: 80px; }
.footer-top > p,
.footer-contact > p { margin: 0; color: #a2acbb; font-size: 15px; }
.footer-contact-label { display: block; margin: 24px 0 10px; color: #7d8797; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.footer-mail:hover { border-color: var(--blue); background: var(--panel-2); transform: translateY(-1px); }
.footer-mail-icon { display: inline-flex; color: var(--blue); }
.footer-mail-icon svg { width: 17px; height: 17px; display: block; }
.footer-mail-feedback { display: block; min-height: 18px; margin-top: 9px; color: var(--lime); font: 400 12px "DM Mono", monospace; }
.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 50px; }
.footer-top nav a { color: #b7c0cc; font-size: 14px; }
.footer-top nav a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #7d8797; font: 400 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

.error-page { min-height: 100vh; }
.error-main {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}
.error-main > div:not(.error-orbit) { position: relative; z-index: 1; }
.error-code-large {
  position: absolute;
  z-index: -1;
  left: 43%;
  top: 50%;
  margin: 0;
  transform: translateY(-52%);
  color: rgba(255,255,255,.025);
  font-size: clamp(260px, 38vw, 560px);
  font-weight: 700;
  letter-spacing: -.12em;
  line-height: .7;
  pointer-events: none;
}
.error-main h1 { max-width: 760px; margin: 0; font-size: clamp(54px, 7vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.error-main > div > p:not(.error-code-large) { max-width: 480px; margin: 26px 0 32px; color: #a8b2c0; font-size: 17px; }
.error-orbit { position: absolute; right: 0; width: 440px; height: 440px; border: 1px solid rgba(88,216,255,.12); border-radius: 50%; box-shadow: 0 0 120px rgba(88,216,255,.08), inset 0 0 100px rgba(139,124,255,.05); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Light theme keeps the same visual language with brighter glass surfaces. */
[data-theme="light"] {
  --ink: #f4f7fb;
  --panel: #ffffff;
  --panel-2: #eaf0f7;
  --text: #101725;
  --muted: #5d6878;
  --line: rgba(20,35,58,.12);
  --blue: #087eaa;
  --violet: #6757d9;
  --lime: #4f8c24;
}
[data-theme="light"] body::before { opacity: .014; }
[data-theme="light"] .pointer-glow { background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(8,126,170,.08), transparent 72%); }
[data-theme="light"] .site-header.is-scrolled,
[data-theme="light"] .site-header.compact { background: rgba(244,247,251,.88); }
[data-theme="light"] .brand-mark,
[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.72); }
[data-theme="light"] .site-nav > a,
[data-theme="light"] .theme-toggle { color: #394557; }
[data-theme="light"] .site-nav > a:hover,
[data-theme="light"] .back-link:hover,
[data-theme="light"] .footer-top nav a:hover { color: #07101f; }
[data-theme="light"] .eyebrow { color: #546174; }
[data-theme="light"] .hero-lede,
[data-theme="light"] .section-lede { color: #4d596a; }
[data-theme="light"] .headline-typing em { background-image: linear-gradient(92deg, #087eaa, #176fba 42%, #6757d9 78%, #087eaa); }
[data-theme="light"] .button-primary { color: #fff; background: #087eaa; }
[data-theme="light"] .button-primary:hover { background: #096f95; }
[data-theme="light"] .text-link { color: #344153; border-color: #9ba7b7; }
[data-theme="light"] .hero-note { color: #5a6677; }
[data-theme="light"] .hero-spark { background: #087eaa; }
[data-theme="light"] .app-window {
  border-color: rgba(25,45,72,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(222,232,244,.96));
  box-shadow: 0 38px 90px rgba(43,65,91,.2), inset 0 1px rgba(255,255,255,.9);
}
[data-theme="light"] .app-window-back span,
[data-theme="light"] .content-lines i { background: rgba(32,55,83,.12); }
[data-theme="light"] .signal,
[data-theme="light"] .window-dock { background: rgba(29,56,88,.06); }
[data-theme="light"] .float-chip { border-color: rgba(22,49,78,.13); background: rgba(255,255,255,.8); color: #455265; box-shadow: 0 10px 30px rgba(43,65,91,.1); }
[data-theme="light"] .trust-grid strong,
[data-theme="light"] .motion-ticker { color: #6d7888; }
[data-theme="light"] .trust-grid span { color: #354255; }
[data-theme="light"] .principles article { background: rgba(255,255,255,.72); box-shadow: 0 16px 45px rgba(55,75,98,.06); }
[data-theme="light"] .principles p,
[data-theme="light"] .investor-copy > p,
[data-theme="light"] .investor-points p { color: #566274; }
[data-theme="light"] .investor-section {
  background: radial-gradient(circle at 78% 34%, rgba(103,87,217,.1), transparent 34%), radial-gradient(circle at 22% 72%, rgba(8,126,170,.08), transparent 32%), #edf3f9;
}
[data-theme="light"] .investor-copy > .mail-feedback { color: #596678; }
[data-theme="light"] .email-copy { background: rgba(255,255,255,.65); }
[data-theme="light"] .email-copy > a { color: #344153; }
[data-theme="light"] .email-copy button { background: rgba(8,126,170,.09); }
[data-theme="light"] .deal-card { border-color: rgba(24,48,77,.14); background: rgba(255,255,255,.78); box-shadow: 0 30px 70px rgba(40,62,88,.18), inset 0 1px #fff; }
[data-theme="light"] .deal-card-back { color: #667386; }
[data-theme="light"] .deal-card-back strong { color: rgba(22,45,74,.07); }
[data-theme="light"] .deal-metric small,
[data-theme="light"] .deal-foot { color: #647185; }
[data-theme="light"] .deal-lines i { background: rgba(23,49,79,.09); }
[data-theme="light"] .investor-points article { background: rgba(255,255,255,.68); }
[data-theme="light"] .investor-points article:hover { background: rgba(255,255,255,.94); }
[data-theme="light"] .developer-panel { background: #eaf0f7; }
[data-theme="light"] .code-decoration { color: #8793a3; }
[data-theme="light"] .developer-copy > p { color: #536073; }
[data-theme="light"] .code-card { border-color: rgba(22,45,74,.13); background: #ffffff; box-shadow: 0 28px 65px rgba(40,62,88,.14); }
[data-theme="light"] .code-card-head span { color: #6d798b; }
[data-theme="light"] .code-card pre { color: #3e4c61; }
[data-theme="light"] .cta-section { color: #f7f8fb; background: linear-gradient(130deg, #12506b, #283c67 55%, #493e85); }
[data-theme="light"] .cta-section .eyebrow,
[data-theme="light"] .cta-side p { color: #d7e0ec; }
[data-theme="light"] .button-light { color: #101725; }
[data-theme="light"] .footer-top > p,
[data-theme="light"] .footer-contact > p,
[data-theme="light"] .footer-top nav a { color: #4d596b; }
[data-theme="light"] .footer-contact-label { color: #647083; }
[data-theme="light"] .footer-bottom { color: #647083; }
[data-theme="light"] .error-code-large { color: rgba(21,43,70,.035); }
[data-theme="light"] .error-main > div > p:not(.error-code-large) { color: #556276; }

@media (min-width: 901px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y mandatory; }
  main > section:not(.trust-strip) {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .trust-strip {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .investor-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(12,16,24,.98);
  }
  [data-theme="light"] .site-nav { background: rgba(244,247,251,.98); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px; }
  .menu-toggle { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; background: #fff; }
  [data-theme="light"] .menu-toggle span:not(.sr-only) { background: #101725; }
  .theme-toggle { width: 100%; min-height: 44px; justify-content: flex-start; padding-inline: 12px; border: 0; border-radius: 8px; background: transparent; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 170px; }
  .hero-copy { max-width: 660px; }
  .hero-art { min-height: 520px; transform: scale(.9); transform-origin: center top; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-grid div:first-child { padding-left: 24px; }
  .studio-layout { gap: 40px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 180px; }
  .investor-shell { grid-template-columns: 1fr; gap: 10px; }
  .investor-copy { padding-bottom: 0; }
  .investor-visual { min-height: 420px; }
  .developer-panel { grid-template-columns: 1fr; padding: 64px 48px 52px 78px; }
  .code-card { max-width: 560px; }
  .cta-section { grid-template-columns: 1fr; align-items: start; padding: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top nav { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .site-header { padding: 14px 0; }
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 46px; }
  .hero h1 { font-size: clamp(50px, 15vw, 66px); }
  .headline-typing { white-space: normal; min-height: 1.95em; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-art { min-height: 360px; margin-top: 16px; transform: scale(.92); transform-origin: center top; }
  .app-window-front { left: 6%; width: 255px; height: 370px; }
  .app-window-back { left: 38%; width: 230px; height: 330px; }
  .window-content { padding: 18px; }
  .signal { height: 110px; padding: 18px; }
  .chip-swift { left: 0; top: 35px; }
  .chip-native { right: 0; bottom: 42px; }
  .orbit-one { width: 390px; left: -40px; }
  .orbit-two { width: 350px; left: -10px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { padding: 18px 10px; gap: 10px; }
  .trust-grid div:first-child { padding-left: 10px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section h2, .cta-section h2 { font-size: 42px; }
  .studio-layout { margin-top: 30px; gap: 28px; }
  .principles article { height: 180px; min-height: 180px; padding: 22px; }
  .investor-visual { min-height: 350px; }
  .deal-card-main { width: 82%; min-height: 340px; left: 0; }
  .deal-card-back { width: 60%; height: 290px; }
  .investor-points { grid-template-columns: 1fr; gap: 12px; }
  .investor-points article { min-height: 170px; padding: 24px; }
  .developer-panel { padding: 44px 20px 24px 44px; gap: 28px; }
  .code-card { transform: none; }
  .code-card pre { padding: 30px 20px; font-size: 9.5px; }
  .cta-section { width: calc(100% - 32px); min-height: 500px; margin-bottom: 40px; padding: 42px 28px; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 50px; }
  .footer-top nav { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
