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

:root {
  --bg: #080a22;
  --bg-deep: #050617;
  --panel: #101436;
  --panel-2: #131740;
  --panel-soft: rgba(19, 23, 64, 0.74);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7fb;
  --muted: #aeb1c7;
  --muted-2: #7d7f96;
  --purple: #8358ff;
  --pink: #f35bc7;
  --orange: #ff9567;
  --blue: #737ef2;
  --green: #46d8a2;
  --danger: #ff6f87;
  --gradient: linear-gradient(120deg, var(--purple), var(--pink) 55%, var(--orange));
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(131, 88, 255, 0.18), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(243, 91, 199, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(243, 91, 199, 0.35); color: #fff; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section--compact { padding: 80px 0; }
.section--light {
  background: #f7f7fb;
  color: #171a39;
}
.section--light .muted { color: #64677f; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #d8ccff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(243, 91, 199, .75);
  content: '';
}
.section--light .eyebrow { color: #6e46da; }
.display {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}
.h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.lead { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.muted { color: var(--muted); }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-head > div:first-child { max-width: 780px; }
.section-head .lead { max-width: 480px; margin: 0; font-size: 17px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 6, 23, .76);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.header-inner { display: flex; align-items: center; min-height: 84px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: 220px; }
.brand img { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 12px 15px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.nav a:hover, .nav a[aria-current='page'] { color: #fff; }
.nav a::after {
  position: absolute;
  right: 15px;
  bottom: 7px;
  left: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
  content: '';
  opacity: 0;
  transform: scaleX(.4);
  transition: .2s ease;
}
.nav a:hover::after, .nav a[aria-current='page']::after { opacity: 1; transform: scaleX(1); }
.header-cta { margin-left: 20px; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #fff;
  content: '';
  transition: .25s ease;
}
.menu-toggle.is-open span { opacity: 0; }
.menu-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gradient); box-shadow: 0 14px 38px rgba(131, 88, 255, .32); color: #fff; }
.btn--primary:hover { box-shadow: 0 18px 46px rgba(243, 91, 199, .38); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255,255,255,.055); color: #fff; }
.btn--ghost:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.09); }
.btn svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 92px;
  isolation: isolate;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5,6,23,.96) 0%, rgba(5,6,23,.82) 46%, rgba(5,6,23,.28) 100%),
    url('../../img/gradient_dark.jpg') center/cover no-repeat;
  content: '';
}
.hero::after {
  position: absolute;
  inset: auto -10vw -35vw auto;
  z-index: -2;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(131,88,255,.08);
  content: '';
}
#networkCanvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .72; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: 68px; }
.hero-copy { max-width: 760px; }
.hero-copy .lead { max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-note span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(70,216,162,.8); }
.hero-visual { position: relative; min-height: 550px; }
.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 26s linear infinite;
}
.orbit::before, .orbit::after { position: absolute; inset: 14%; border: 1px dashed rgba(255,255,255,.1); border-radius: 50%; content: ''; }
.orbit::after { inset: 31%; border-style: solid; }
.orbit-dot { position: absolute; width: 12px; height: 12px; border: 3px solid rgba(255,255,255,.85); border-radius: 50%; background: var(--purple); box-shadow: 0 0 24px rgba(131,88,255,.85); }
.orbit-dot:nth-child(1) { top: 12%; left: 15%; }
.orbit-dot:nth-child(2) { top: 52%; right: -1%; background: var(--pink); }
.orbit-dot:nth-child(3) { bottom: 5%; left: 34%; background: var(--orange); }
.data-panel {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(420px, 88%);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19,23,64,.9), rgba(9,11,36,.72));
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.panel-label { color: #d9d9e7; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(70,216,162,.24); border-radius: 999px; background: rgba(70,216,162,.08); color: #8ceac7; font-size: 11px; font-weight: 800; }
.live-pill::before { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(70,216,162,.8); content: ''; }
.signal-chart { display: flex; height: 142px; align-items: end; gap: 7px; padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.signal-chart i { flex: 1; min-width: 4px; border-radius: 999px 999px 3px 3px; background: linear-gradient(180deg, var(--pink), var(--purple)); opacity: .76; animation: bars 4s ease-in-out infinite; transform-origin: bottom; }
.signal-chart i:nth-child(3n) { animation-delay: -.8s; }
.signal-chart i:nth-child(4n) { animation-delay: -1.6s; }
.panel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.panel-stat { padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); }
.panel-stat b { display: block; font-size: 13px; }
.panel-stat span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.floating-chip { position: absolute; padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12,15,48,.82); box-shadow: 0 16px 35px rgba(0,0,0,.25); color: #e8e8f2; font-size: 12px; font-weight: 750; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: float 5s ease-in-out infinite; }
.floating-chip:nth-of-type(1) { top: 10%; left: 1%; }
.floating-chip:nth-of-type(2) { top: 22%; right: -2%; animation-delay: -1.2s; }
.floating-chip:nth-of-type(3) { bottom: 15%; right: 3%; animation-delay: -2.4s; }
.floating-chip:nth-of-type(4) { bottom: 9%; left: 5%; animation-delay: -3.4s; }

.trust-strip { position: relative; z-index: 2; margin-top: -42px; }
.trust-card { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(15,18,52,.88); box-shadow: 0 24px 70px rgba(0,0,0,.22); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.trust-item { padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19,23,64,.78), rgba(11,13,39,.9));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(243,91,199,.35); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.service-card::after { position: absolute; right: -90px; bottom: -120px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(131,88,255,.22), transparent 70%); content: ''; }
.icon-box { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 58px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.055); }
.icon-box { color: #d7c8ff; }
.icon-box svg { width: 23px; height: 23px; stroke: currentColor; }
.service-card p { position: relative; z-index: 1; margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.card-index { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.26); font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700; }

.traffic-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.traffic-visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; }
.flow-map { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: radial-gradient(circle at 50% 50%, rgba(131,88,255,.16), transparent 34%), linear-gradient(145deg, rgba(19,23,64,.9), rgba(8,10,34,.9)); }
.flow-map::before { position: absolute; inset: 0; z-index: 0; 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: 38px 38px; content: ''; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.flow-connections { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.flow-path { fill: none; stroke: url(#flowGradient); stroke-width: .34; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow-path--feedback { stroke-width: .24; stroke-dasharray: 1.2 1.8; opacity: .48; }
.flow-packet { fill: #fff; opacity: .96; }
.flow-packet--soft { opacity: .58; }
.flow-node { position: absolute; z-index: 2; display: grid; width: 118px; min-height: 74px; place-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(15,18,52,.9); box-shadow: 0 18px 38px rgba(0,0,0,.28); color: #fff; text-align: center; font-size: 12px; font-weight: 800; transform: translate(-50%, -50%); }
.flow-node small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.flow-node--a { top: 20%; left: 24%; }
.flow-node--b { top: 20%; left: 76%; }
.flow-node--c { top: 50%; left: 50%; width: 146px; min-height: 92px; border-color: rgba(243,91,199,.45); background: linear-gradient(145deg, rgba(131,88,255,.46), rgba(19,23,64,.92)); box-shadow: 0 22px 48px rgba(0,0,0,.32), 0 0 36px rgba(131,88,255,.12); }
.flow-node--d { top: 80%; left: 24%; }
.flow-node--e { top: 80%; left: 76%; }
.check-list { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; color: var(--muted); }
.check-list li::before { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(70,216,162,.25); border-radius: 10px; background: rgba(70,216,162,.08); color: #8ceac7; content: '✓'; font-size: 13px; font-weight: 900; }
.check-list strong { display: block; margin-bottom: 2px; color: #fff; }

.partners { overflow: hidden; background: #f7f7fb; color: #181a38; }
.partners .lead { color: #666980; }
.partner-stage { position: relative; margin-top: 52px; }
.partner-stage::before, .partner-stage::after { position: absolute; inset: 0 auto 0 0; z-index: 4; width: min(11vw, 150px); background: linear-gradient(90deg, #f7f7fb, transparent); content: ''; pointer-events: none; }
.partner-stage::after { right: 0; left: auto; background: linear-gradient(-90deg, #f7f7fb, transparent); }
.logo-rail { display: flex; width: max-content; gap: 16px; padding: 9px 0; animation: marquee 40s linear infinite; }
.logo-rail--reverse { animation-direction: reverse; animation-duration: 48s; }
.partner-stage:hover .logo-rail, .partner-stage:focus-within .logo-rail { animation-play-state: paused; }
.logo-card { display: grid; width: 220px; height: 112px; flex: 0 0 auto; place-items: center; padding: 24px; border: 1px solid #e3e4ec; border-radius: 21px; background: #fff; box-shadow: 0 9px 28px rgba(21,25,61,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.logo-card:hover { transform: translateY(-5px); border-color: rgba(131,88,255,.24); box-shadow: 0 18px 42px rgba(21,25,61,.1); }
.logo-card img { max-width: 160px; max-height: 58px; object-fit: contain; filter: saturate(.9); }
.partner-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; color: #777a91; font-size: 12px; }
.partner-note::before { width: 34px; height: 1px; background: #c9cad5; content: ''; }

.format-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.format-chip { position: relative; min-height: 145px; padding: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.035); }
.format-chip b { display: block; margin-bottom: 8px; font-family: 'Space Grotesk'; font-size: 18px; }
.format-chip span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.format-chip::after { position: absolute; right: -22px; bottom: -28px; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; transform: rotate(30deg); content: ''; }

.process { counter-reset: step; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.process-step { position: relative; min-height: 225px; padding: 26px; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 90%); }
.process-step::before { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 42px; border: 1px solid rgba(243,91,199,.3); border-radius: 12px; background: rgba(243,91,199,.08); color: #f7a3dc; counter-increment: step; content: '0' counter(step); font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700; }
.process-step p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }

.cta-panel { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; overflow: hidden; padding: 58px; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; background: linear-gradient(120deg, rgba(131,88,255,.2), rgba(19,23,64,.85) 45%, rgba(243,91,199,.16)); box-shadow: var(--shadow); }
.cta-panel::before { position: absolute; top: -180px; right: -80px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ''; }
.cta-panel h2 { max-width: 720px; }
.cta-panel p { max-width: 650px; margin: 16px 0 0; color: var(--muted); }

.page-hero { position: relative; overflow: hidden; padding: 180px 0 90px; border-bottom: 1px solid var(--line); }
.page-hero::after { position: absolute; top: -260px; right: -180px; width: 640px; height: 640px; border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 120px rgba(131,88,255,.08); content: ''; }
.page-hero .display { max-width: 940px; font-size: clamp(48px, 7vw, 86px); }
.page-hero .lead { max-width: 760px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; }
.about-figure { position: sticky; top: 130px; overflow: hidden; min-height: 600px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(19,23,64,.8), rgba(8,10,34,.95)); }
.about-figure img { position: absolute; inset: 50% auto auto 50%; width: 78%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 45px rgba(0,0,0,.35)); }
.about-figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,10,34,.8)); content: ''; }
.about-caption { position: absolute; right: 28px; bottom: 27px; left: 28px; z-index: 2; }
.about-caption b { display: block; font-size: 17px; }
.about-caption span { color: var(--muted); font-size: 13px; }
.value-list { display: grid; gap: 12px; margin-top: 34px; }
.value-item { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.value-item b { display: block; margin-bottom: 7px; font-size: 16px; }
.value-item p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline { position: relative; margin-top: 50px; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 92px; width: 1px; background: linear-gradient(var(--purple), var(--pink), transparent); content: ''; }
.timeline-row { display: grid; grid-template-columns: 70px 1fr; gap: 46px; padding: 0 0 44px; }
.timeline-year { color: #d4c6ff; font-family: 'Space Grotesk'; font-weight: 700; }
.timeline-body { position: relative; }
.timeline-body::before { position: absolute; top: 6px; left: -52px; width: 12px; height: 12px; border: 3px solid var(--bg); border-radius: 50%; background: var(--pink); box-shadow: 0 0 18px rgba(243,91,199,.65); content: ''; }
.timeline-body h3 { font-size: 21px; }
.timeline-body p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.contact-cards { display: grid; gap: 14px; margin-top: 34px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.contact-card span { display: block; color: var(--muted); font-size: 12px; }
.contact-card b { font-size: 15px; }
.copy-button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.form-panel { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(19,23,64,.8), rgba(8,10,34,.95)); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { color: #d7d8e5; font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 14px; outline: none; background: rgba(255,255,255,.045); color: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { height: 50px; padding: 0 15px; }
.field textarea { min-height: 140px; padding: 14px 15px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(131,88,255,.65); box-shadow: 0 0 0 4px rgba(131,88,255,.12); }
.field select option { color: #111; }
.form-note { margin: 14px 0 0; color: var(--muted-2); font-size: 11px; }
.office-card { margin-top: 28px; padding: 22px; border-left: 2px solid var(--pink); background: rgba(255,255,255,.025); color: var(--muted); font-size: 13px; }

.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 820px); align-items: start; gap: 70px; }
.legal-nav { position: sticky; top: 120px; display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(19,23,64,.52); }
.legal-nav a { padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 12px; transition: .2s ease; }
.legal-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.legal-meta { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.legal-copy section { scroll-margin-top: 110px; padding: 0 0 40px; }
.legal-copy h2 { margin: 0 0 16px; font-family: 'Space Grotesk'; font-size: 28px; letter-spacing: -.03em; }
.legal-copy h3 { margin: 25px 0 9px; font-size: 17px; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 14px; }
.legal-copy ul { display: grid; gap: 8px; padding-left: 20px; }
.legal-copy a { color: #d4c5ff; text-decoration: underline; text-underline-offset: 3px; }
.notice { margin-bottom: 38px; padding: 20px 22px; border: 1px solid rgba(255,149,103,.24); border-radius: 16px; background: rgba(255,149,103,.07); color: #f1c4b3; font-size: 13px; }
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; }
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 12px; }
.data-table th { background: rgba(255,255,255,.05); color: #fff; }
.data-table td { color: var(--muted); }
.data-table tr:last-child td { border-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding: 70px 0 52px; }
.footer-brand { width: 205px; }
.footer-copy { max-width: 430px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.footer-col h3 { margin: 4px 0 19px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a, .footer-col address { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; font-style: normal; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: .08s; }
.reveal[data-delay='2'] { transition-delay: .16s; }
.reveal[data-delay='3'] { transition-delay: .24s; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,16,45,.94); box-shadow: var(--shadow); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: none; }

@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bars { 0%, 100% { transform: scaleY(.78); } 50% { transform: scaleY(1.06); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .nav a { padding-inline: 10px; }
  .header-cta { margin-left: 10px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 30px; }
  .hero-visual { min-height: 480px; transform: scale(.88); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .format-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 84px 20px auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: rgba(8,10,34,.98);
    opacity: 0;
    transition: .3s ease;
  }
  .nav.is-open { max-height: 420px; padding-block: 18px; border-color: var(--line); opacity: 1; box-shadow: var(--shadow); }
  .nav a { padding: 13px 8px; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding-top: 148px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 500px; transform: none; }
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { display: block; }
  .section-head .lead { margin-top: 20px; }
  .traffic-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-figure { position: relative; top: auto; min-height: 500px; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-nav { position: relative; top: auto; grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; padding: 42px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand { width: 182px; }
  .nav { top: 76px; }
  .display { font-size: 45px; }
  .h2 { font-size: 36px; }
  .hero { padding: 130px 0 70px; }
  .hero-visual { min-height: 410px; margin-inline: -12px; }
  .orbit { width: 400px; height: 400px; }
  .data-panel { width: 88%; padding: 22px; }
  .floating-chip { display: none; }
  .panel-row { grid-template-columns: 1fr; }
  .panel-stat:nth-child(n+2) { display: none; }
  .trust-strip { margin-top: -24px; }
  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .cards--3, .format-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .traffic-visual { width: min(100%, 520px); min-height: 0; }
  .flow-node { width: 104px; min-height: 64px; padding: 10px; border-radius: 16px; font-size: 10px; }
  .flow-node small { font-size: 8px; }
  .flow-node--c { width: 126px; min-height: 78px; }
  .logo-card { width: 180px; height: 96px; }
  .cta-panel { padding: 32px 25px; }
  .page-hero { padding: 145px 0 70px; }
  .about-figure { min-height: 410px; }
  .timeline::before { left: 66px; }
  .timeline-row { grid-template-columns: 50px 1fr; gap: 36px; }
  .timeline-body::before { left: -42px; }
  .form-panel { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 52px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* HH-ADS product branding */
.brand { width: 248px; }
.footer-brand { display: block; width: 238px; }
.footer-copy strong { color: var(--text); }
.office-card strong:first-child { color: #fff; }
@media (max-width: 680px) {
  .brand { width: 206px; }
  .footer-brand { width: 220px; }
}
