/* =========================================================
   DeepSoul — AI Solutions
   ========================================================= */

:root {
  --bg: #050507;
  --bg-2: #0a0a10;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --text: #f4f4f7;
  --text-2: #a1a1b5;
  --text-3: #6b6b80;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --magenta: #d946ef;

  --grad: linear-gradient(100deg, #67e8f9 0%, #818cf8 45%, #c084fc 75%, #f0abfc 100%);
  --grad-line: linear-gradient(90deg, transparent, #22d3ee 20%, #8b5cf6 60%, #d946ef 80%, transparent);

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted { color: var(--text-3); }

.grad-text {
  font-style: normal;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Ambient layers ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.09) 0%, rgba(168, 85, 247, 0.04) 35%, transparent 65%);
  opacity: 0;
  transition: opacity .6s;
  will-change: transform;
}
.cursor-light.is-on { opacity: 1; }

/* ---------- Pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.pill .mono { font-size: 11px; color: var(--text-3); }

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(34, 211, 238, .6);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(139, 92, 246, .55)); }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__word span { font-weight: 300; color: var(--text-2); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 7, .62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.nav__links {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__links a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .3s, background .3s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.07); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.lang__btn {
  padding: 6px 6px;
  color: var(--text-3);
  border-radius: 6px;
  transition: color .3s;
}
.lang__btn:hover { color: var(--text-2); }
.lang__btn[aria-pressed="true"] { color: var(--text); text-shadow: 0 0 12px rgba(139, 92, 246, .9); }
.lang__sep { color: var(--text-3); opacity: .5; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 28px;
  background: rgba(5, 5, 7, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  border-bottom: 1px solid var(--line);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__canvas,
.hero__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero__glow {
  filter: blur(22px) saturate(140%);
  opacity: .95;
}

.hero__aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(99, 102, 241, .22), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(34, 211, 238, .10), transparent 70%),
    radial-gradient(45% 45% at 85% 75%, rgba(168, 85, 247, .14), transparent 70%),
    radial-gradient(38% 30% at 50% 42%, rgba(5, 5, 7, .85), transparent 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -6vh;
}


.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; }
.hero__title .line:first-child { font-weight: 500; }
.hero__title .line--soft { color: rgba(244, 244, 247, .62); }

.hero__sub {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-2);
}

/* Hero entrance */
.hero__title .line, .hero__sub {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  animation: enter 1.4s var(--ease) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(2) { animation-delay: .3s; }
.hero__sub { animation-delay: .5s; }
@keyframes enter { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee__group span:nth-of-type(odd) { color: var(--text-2); }
.marquee__group b {
  font-weight: 400;
  font-size: .6em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes marquee { to { transform: translateX(-50%); } }

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

.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 520px;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--text-2);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Manifesto ---------- */

.manifesto { padding-bottom: clamp(80px, 10vw, 140px); }
.manifesto::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(900px, 90vw);
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, .12), transparent);
  pointer-events: none;
}

.manifesto__text {
  position: relative;
  margin-top: 36px;
  max-width: 1080px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.1vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--text);
}
.manifesto__text .w {
  color: rgba(244, 244, 247, .14);
  transition: color .5s ease, text-shadow .5s ease;
}
.manifesto__text .w.is-lit { color: var(--text); }
.manifesto__text .w.is-lit.is-key {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Fusion ---------- */

.fusion { overflow: hidden; }
.fusion__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.fusion__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }

.flow {
  width: 100%;
  max-width: 480px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.flow li {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.flow span { color: var(--text-2); }
.flow strong { font-weight: 500; text-align: right; }
.flow i {
  height: 1px;
  background: var(--grad-line);
  position: relative;
}
.flow i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0abfc;
  box-shadow: 0 0 10px #d946ef;
  animation: travel 3s var(--ease) infinite;
}
.flow li:nth-child(2) i::after { animation-delay: .5s; }
.flow li:nth-child(3) i::after { animation-delay: 1s; }
@keyframes travel {
  0% { right: 100%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { right: 0; opacity: 0; }
}

.fusion__visual { display: flex; justify-content: center; }

.orbit {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .35), rgba(34, 211, 238, .12) 60%, transparent);
  filter: blur(30px);
}
.orbit__svg { position: relative; width: 100%; height: 100%; overflow: visible; }

.spin { transform-origin: 250px 250px; transform-box: view-box; }
.spin--slow { animation: rotate 60s linear infinite; }
.spin--rev  { animation: rotate 26s linear infinite reverse; }
.spin--mid  { animation: rotate 18s linear infinite; }
.spin--fast { animation: rotate 40s linear infinite reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }

.fuse { mix-blend-mode: screen; }
.fuse circle { mix-blend-mode: screen; transform-box: view-box; }
.fuse__a { animation: fuse-a 7s ease-in-out infinite; }
.fuse__b { animation: fuse-b 7s ease-in-out infinite; }
@keyframes fuse-a {
  0%, 100% { transform: translate(-42px, -8px); }
  50% { transform: translate(-4px, 0); }
}
@keyframes fuse-b {
  0%, 100% { transform: translate(42px, 8px); }
  50% { transform: translate(4px, 0); }
}

.orbit__label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 10, 16, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
}

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

.footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 110px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 50% at 50% 0%, rgba(99, 102, 241, .08), transparent 70%);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 40px;
}
.footer__tag {
  margin-top: 20px;
  max-width: 340px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
}
.footer__about { margin-top: 12px; max-width: 360px; font-size: 14px; color: var(--text-2); }

.footer__heading {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: 14px; color: var(--text-2); transition: color .3s; }
.footer__col a:hover,
.footer__col a[aria-current="page"] { color: var(--text); }
.footer__col .footer__mail {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__note { margin-top: 10px; font-size: 13px; color: var(--text-3); }

.footer__word {
  --fx: 50%;
  margin-top: clamp(56px, 8vw, 100px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 17.6vw, 320px);
  line-height: .8;
  letter-spacing: -0.06em;
  background:
    radial-gradient(30vw circle at var(--fx) 30%, rgba(139, 92, 246, .45), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-3);
}
.footer__bottom a { transition: color .3s; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--text-2);
  transition: color .3s, border-color .3s;
}
.nav__back:hover { color: var(--text); border-color: rgba(255,255,255,.3); }

.legal { padding: clamp(120px, 14vw, 170px) 0 clamp(80px, 10vw, 120px); }
.legal__inner { max-width: 820px; }
.legal h1 {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.legal__updated { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.legal p,
.legal li { font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin-top: 10px; padding-left: 20px; list-style: disc; }
.legal li::marker { color: var(--violet); }
.legal a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal dl {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px 24px;
  margin: 20px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.legal dt { font-size: 14px; color: var(--text-3); }
.legal dd { margin: 0; font-size: 14.5px; color: var(--text); }
.nowrap { white-space: nowrap; }

/* ---------- 404 ---------- */

.notfound {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.notfound::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 50% 40%, rgba(99, 102, 241, .18), transparent 70%),
    radial-gradient(40% 40% at 70% 80%, rgba(168, 85, 247, .12), transparent 70%);
}
.notfound__code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(110px, 24vw, 260px);
  line-height: .9;
  letter-spacing: -0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, .35));
}
.notfound h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
}
.notfound [data-lang-block] p { max-width: 460px; margin: 14px auto 0; color: var(--text-2); }
.notfound__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-top: 36px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #050507;
  font-size: 15px;
  font-weight: 500;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.notfound__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -8px rgba(139, 92, 246, .55);
}

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

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .fusion__grid { grid-template-columns: 1fr; }
  .fusion__visual { order: -1; }
  .orbit { width: min(100%, 420px); }

  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { padding-top: 100px; }
  .hero__content { margin-top: 0; }

  .flow li { grid-template-columns: 1fr 40px 1fr; font-size: 14px; }
  .orbit__label { left: calc(var(--x) * 0.8 + 10%); font-size: 9px; padding: 5px 9px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__bottom { flex-direction: column; }

  .nav__back { width: 40px; padding: 0; justify-content: center; }
  .nav__back span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .legal dl { grid-template-columns: 1fr; gap: 2px; padding: 18px; }
  .legal dd { margin-bottom: 12px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__title .line, .hero__sub { opacity: 1; filter: none; transform: none; }
  .marquee__track { animation: none; }
  .cursor-light { display: none; }
}
