/* ==========================================================================
   盟发科技 MENFA TECH — Official Website
   Design tokens, layout, components
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0a0f1e;
  --ink-2: #11182b;
  --ink-3: #1a2338;
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #e8efff;
  --blue-line: #c9d9ff;
  --amber: #ffb020;
  --amber-deep: #f59300;
  --amber-soft: #fff2d1;
  --muted: #5b6374;
  --muted-2: #6b7385;
  --line: rgba(10, 15, 30, 0.1);
  --line-strong: rgba(10, 15, 30, 0.18);
  --line-dark: rgba(255, 255, 255, 0.12);
  --sans: "Sora", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --max: 1240px;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 15, 30, 0.05);
  --shadow-md: 0 18px 50px rgba(10, 15, 30, 0.1);
  --shadow-lg: 0 40px 100px rgba(10, 15, 30, 0.18);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection { background: var(--amber); color: var(--ink); }

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

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

/* --------------------------------------------------------------------------
   Type & shared
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
  flex: 0 0 auto;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.55); }
.eyebrow.light::before { background: var(--amber); }

.section {
  position: relative;
  padding: 124px 0;
}

.section-head { margin-bottom: 62px; }
.section h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: end;
}
.head-note {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  padding-bottom: 6px;
}
.section-head.light h2 { color: #fff; }
.section-head.light .head-note { color: rgba(255, 255, 255, 0.6); }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(255, 176, 32, 0.24);
}
.btn-amber:hover {
  background: #ffc043;
  transform: translateY(-2px);
}
.btn-amber .icon { transform: rotate(-45deg); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.text-link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link.light { color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag.dark {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.66);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease) var(--d, 0s),
    transform 0.85s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 244, 239, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
.site-header.scrolled::before {
  background: rgba(246, 244, 239, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 15, 30, 0.16);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1; gap: 5px; }
.brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.brand-text small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: 12px; }
.main-nav a {
  position: relative;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 76px;
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.25s, transform 0.25s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }
.main-nav a.is-active::after { opacity: 1; transform: scale(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.login-menu { position: relative; }
.login-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.login-trigger .icon { width: 14px; height: 14px; transition: transform 0.3s; }
.login-trigger:hover { color: var(--ink); background: rgba(10, 15, 30, 0.04); }
.login-menu.open .login-trigger { color: var(--ink); }
.login-menu.open .login-trigger .icon { transform: rotate(180deg); }

.login-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -12px;
  width: 292px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(10, 15, 30, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.login-menu.open .login-dropdown { opacity: 1; visibility: visible; transform: none; }
.login-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}
.login-dropdown a:hover { background: var(--paper); }
.platform-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
  flex: 0 0 auto;
}
.platform-txt { display: grid; gap: 2px; flex: 1; }
.platform-txt b { font-size: 14px; font-weight: 600; }
.platform-txt small { font-size: 11px; color: var(--muted-2); }
.login-dropdown a > .icon { width: 15px; height: 15px; color: var(--muted-2); }

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(10, 15, 30, 0.05);
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.7px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 24px; }
body.nav-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  padding: 104px 28px 32px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.3s, visibility 0.3s;
}
body.nav-open .mobile-panel { opacity: 1; visibility: visible; z-index: 1; }
.mobile-panel nav { display: grid; }
.mobile-panel nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-panel nav a span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.mobile-platforms { display: grid; gap: 8px; margin-top: 28px; }
.mobile-platforms a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-platforms a span { display: grid; flex: 1; }
.mobile-platforms b { font-size: 14px; }
.mobile-platforms small { font-size: 11px; color: var(--muted-2); }
.mobile-platforms .icon { width: 16px; height: 16px; color: var(--muted-2); }
.mobile-contact { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--muted); }
.mobile-contact a { color: var(--blue); font-weight: 600; }

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

.hero {
  position: relative;
  padding: 156px 0 30px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 15, 30, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 15, 30, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 58% 38%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 78% at 58% 38%, #000 15%, transparent 78%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.hero-glow.blue {
  width: 760px;
  height: 760px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.05) 45%, transparent 68%);
}
.hero-glow.amber {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.18) 0%, transparent 66%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(42px, 4.85vw, 69px);
  line-height: 1.14;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.hero h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
}
.hero h1 .hl svg {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 14px;
  overflow: visible;
}
.hero h1 .hl svg path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: draw-line 1.1s var(--ease) 0.8s forwards;
}
.hero-lead {
  max-width: 540px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
}
.hero-badges li { display: flex; align-items: center; gap: 7px; }
.hero-badges .icon { width: 14px; height: 14px; color: var(--blue); }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero-foot p { display: flex; align-items: center; gap: 9px; }
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.scroll-cue .icon { width: 15px; height: 15px; transform: rotate(90deg); }

/* Hero stage */
.hero-stage {
  position: relative;
  height: 590px;
  min-width: 0;
}
.stage-ring {
  position: absolute;
  left: 54%;
  top: 47%;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 460px; height: 460px; }
.ring-2 { width: 600px; height: 600px; border-color: rgba(37, 99, 235, 0.07); }
.stage-glow {
  position: absolute;
  left: 52%;
  top: 46%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 64%);
}

.dash-card {
  position: absolute;
  left: 0;
  top: 38px;
  width: 430px;
  max-width: 86%;
  background: #fff;
  border: 1px solid rgba(10, 15, 30, 0.08);
  border-radius: 18px;
  box-shadow:
    0 2px 4px rgba(10, 15, 30, 0.03),
    0 34px 80px rgba(10, 15, 30, 0.16);
  transform: rotate(-1.8deg);
  transform-origin: 30% 60%;
  animation: stage-float 7s ease-in-out infinite;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 43px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(10, 15, 30, 0.07);
}
.win-dots { display: flex; gap: 4px; }
.win-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(10, 15, 30, 0.16); }
.win-dots i:first-child { background: rgba(255, 176, 32, 0.8); }
.win-dots i:nth-child(2) { background: rgba(37, 99, 235, 0.5); }
.dash-title { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.live i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: blink 1.8s infinite; }

.dash-body { padding: 14px 16px 12px; }
.dash-kpis { display: flex; gap: 26px; }
.dash-kpis > div { display: grid; gap: 1px; }
.dash-kpis span { font-size: 9px; color: var(--muted-2); }
.dash-kpis strong { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.dash-kpis em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 600;
  color: #0f9d63;
}
.dash-kpis em.soft { color: var(--muted-2); font-weight: 500; }

.dash-chart { position: relative; height: 126px; margin: 12px 0 6px; }
.dash-chart svg { position: relative; width: 100%; height: 104px; overflow: visible; }
.grid-lines { position: absolute; inset: 0 0 18px; display: grid; align-content: space-between; }
.grid-lines i { display: block; height: 1px; background: rgba(10, 15, 30, 0.055); }
.chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw-chart 2s var(--ease) 0.5s forwards;
}
.chart-area { opacity: 0; animation: fade-in 1s ease 1.6s forwards; }
.chart-dot {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2.2;
  opacity: 0;
  animation: fade-in 0.5s ease 2.2s forwards;
}
.dash-axis {
  display: flex;
  justify-content: space-between;
  color: rgba(10, 15, 30, 0.36);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.bid-list { display: grid; gap: 2px; padding-top: 5px; padding-right: 16px; border-top: 1px solid rgba(10, 15, 30, 0.06); }
.bid-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  font-size: 9px;
}
.bid-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 600;
  flex: 0 0 auto;
}
.bid-icon.blue { background: var(--blue-soft); color: var(--blue); }
.bid-icon.amber { background: var(--amber-soft); color: var(--amber-deep); }
.bid-icon.ink { background: rgba(10, 15, 30, 0.07); color: var(--ink); }
.bid-name { color: var(--muted); flex: 1; }
.bid-row b { font-weight: 600; color: var(--ink); font-size: 9px; }
.win {
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(15, 157, 99, 0.1);
  color: #0f9d63;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.bid-state { color: var(--muted-2); font-size: 7.5px; }
.dash-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 15, 30, 0.05);
  font-size: 7px;
  color: rgba(10, 15, 30, 0.3);
  letter-spacing: 0.04em;
}

.phone-card {
  position: absolute;
  right: -6px;
  top: 176px;
  width: 178px;
  padding: 7px;
  border-radius: 28px;
  background: linear-gradient(160deg, #2a3247, #0a0f1e 70%);
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.22) inset,
    0 30px 70px rgba(10, 15, 30, 0.3);
  transform: rotate(3.4deg);
  animation: phone-float 8s ease-in-out 0.4s infinite;
}
.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 52px;
  height: 13px;
  margin-left: -26px;
  border-radius: 10px;
  background: #0a0f1e;
  z-index: 3;
}
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 356px;
  border-radius: 22px;
  overflow: hidden;
  background: #0e1424;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 13px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.signal { display: flex; align-items: flex-end; gap: 1.5px; height: 7px; }
.signal i { display: block; width: 2px; background: rgba(255, 255, 255, 0.8); border-radius: 1px; }
.signal i:nth-child(1) { height: 3px; }
.signal i:nth-child(2) { height: 5px; }
.signal i:nth-child(3) { height: 7px; }

.ad-stage {
  position: relative;
  flex: 1;
  margin: 10px 9px 0;
  padding: 14px 12px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(255, 176, 32, 0.42) 0%, transparent 52%),
    radial-gradient(100% 100% at 12% 90%, rgba(37, 99, 235, 0.75) 0%, transparent 62%),
    linear-gradient(155deg, #1e2b4d 0%, #0c1222 64%);
}
.ad-stage::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ad-stage::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -46px;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ad-type {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 7px;
  backdrop-filter: blur(4px);
}
.ad-type i { width: 3px; height: 3px; border-radius: 50%; background: var(--amber); }
.ad-kicker {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  color: var(--amber);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.ad-stage strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.ad-play {
  position: absolute;
  right: 12px;
  bottom: 50px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ad-play .icon { width: 14px; height: 14px; margin-left: 1px; }
.ad-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 38px;
  z-index: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.ad-bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 2px;
  background: var(--amber);
}
.ad-cta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--amber);
  color: var(--ink);
  font-size: 7.5px;
  font-weight: 700;
}
.phone-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px 9px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 6.5px;
}
.phone-foot img { border-radius: 4px; }

.float-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 1px;
  padding: 10px 13px;
  border: 1px solid rgba(10, 15, 30, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(10, 15, 30, 0.13);
  animation: chip-float 6s ease-in-out infinite;
}
.float-chip span { font-size: 7.5px; color: var(--muted-2); letter-spacing: 0.02em; }
.float-chip strong { font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
.float-chip em { font-style: normal; font-size: 0.6em; color: var(--blue); margin-left: 1px; }
.chip-roi { right: -4px; top: 104px; animation-delay: 1.2s; }
.chip-cost { left: 16px; bottom: 18px; animation-delay: 2.1s; }
.chip-cost strong { color: var(--blue); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(540px 200px at 80% 0%, rgba(37, 99, 235, 0.18), transparent 70%),
    radial-gradient(400px 180px at 8% 120%, rgba(255, 176, 32, 0.09), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 46px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(42px, 4.1vw, 58px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat-value em {
  font-style: normal;
  color: var(--amber);
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: 0;
}
.stat p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Business
   -------------------------------------------------------------------------- */

.business { background: var(--paper); }

.biz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  gap: 20px;
}
.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.biz-cpa {
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(37, 99, 235, 0.09) 0%, transparent 52%),
    linear-gradient(165deg, #ffffff 0%, #f2f6ff 100%);
}
.biz-prog {
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 56%),
    var(--ink);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.biz-prog:hover { border-color: rgba(255, 255, 255, 0.2); }
.biz-monetize {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 38px 40px;
  background:
    radial-gradient(80% 130% at 96% 10%, rgba(255, 176, 32, 0.24) 0%, transparent 55%),
    var(--amber-soft);
  border-color: rgba(245, 147, 0, 0.22);
}

.biz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.biz-index { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted-2); }
.biz-prog .biz-index { color: rgba(255, 255, 255, 0.58); }
.biz-chip {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.biz-prog .biz-chip { background: rgba(255, 255, 255, 0.1); color: var(--amber); }
.biz-chip.dark { background: rgba(10, 15, 30, 0.08); color: var(--ink); }

.biz-card h3 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.biz-desc {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}
.biz-prog .biz-desc { color: rgba(255, 255, 255, 0.62); }

.check-list { display: grid; gap: 9px; margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}
.biz-prog .check-list li { color: rgba(255, 255, 255, 0.82); }
.check-list .icon { width: 14px; height: 14px; margin-top: 3px; color: var(--blue); }
.biz-prog .check-list .icon { color: var(--amber); }

.flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}
.flow span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.flow i { width: 14px; height: 1px; background: rgba(37, 99, 235, 0.32); position: relative; }
.flow i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 4px;
  height: 4px;
  border-top: 1px solid rgba(37, 99, 235, 0.5);
  border-right: 1px solid rgba(37, 99, 235, 0.5);
  transform: rotate(45deg);
}

.biz-foot { display: flex; align-items: flex-end; gap: 30px; margin-top: auto; padding-top: 24px; }
.biz-metric { display: grid; }
.biz-metric strong { font-size: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; }
.biz-metric span { font-size: 9px; color: var(--muted-2); letter-spacing: 0.02em; }
.biz-foot .text-link { margin-left: auto; padding-bottom: 3px; }

.biz-watermark {
  position: absolute;
  right: 18px;
  bottom: -26px;
  font-size: 130px;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: rgba(37, 99, 235, 0.055);
  line-height: 1;
  pointer-events: none;
}

.prog-stack { display: grid; gap: 7px; margin-top: 24px; }
.prog-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 9.5px;
}
.prog-row span { width: 56px; color: rgba(255, 255, 255, 0.52); flex: 0 0 auto; }
.prog-row .bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.prog-row .bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transform-origin: left;
  animation: bar-grow 1.4s var(--ease) 0.6s both;
}
.prog-row b { color: rgba(255, 255, 255, 0.8); font-size: 9px; font-weight: 500; }

.biz-monetize .biz-top { margin-bottom: 14px; }
.biz-monetize h3 { font-size: clamp(28px, 2.7vw, 34px); }
.biz-monetize .biz-desc { max-width: 620px; }
.biz-monetize .tag-row { margin-top: 20px; }
.monetize-side { display: grid; gap: 24px; padding-left: 40px; border-left: 1px solid rgba(10, 15, 30, 0.1); }
.monetize-big { display: flex; align-items: baseline; gap: 10px; }
.monetize-big strong { font-size: 62px; line-height: 1; font-weight: 600; letter-spacing: -0.06em; }
.monetize-big em { font-style: normal; color: var(--blue); font-size: 0.5em; }
.monetize-big span { color: var(--muted); font-size: 12px; }
.monetize-list { display: grid; gap: 12px; }
.monetize-list li { display: flex; align-items: center; gap: 12px; }
.monetize-list .icon { width: 18px; height: 18px; color: var(--blue); }
.monetize-list div { display: grid; line-height: 1.45; }
.monetize-list b { font-size: 12px; font-weight: 600; }
.monetize-list span { font-size: 10px; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.products {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 82% 6%, rgba(37, 99, 235, 0.2), transparent 65%),
    radial-gradient(620px 340px at 6% 92%, rgba(255, 176, 32, 0.07), transparent 65%);
  pointer-events: none;
}
.products .container { position: relative; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.product-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.19);
  transform: translateY(-4px);
}
.product-adx { grid-row: span 1; }
.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-title-wrap { display: flex; align-items: center; gap: 13px; }
.product-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  flex: 0 0 auto;
}
.product-logo img { border-radius: 11px; }
.product-logo.alt { background: rgba(255, 255, 255, 0.07); }
.product-logo.alt .icon { width: 22px; height: 22px; color: #fff; }
.product-logo.alt.amber .icon { color: var(--amber); }
.product-title-wrap h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; }
.product-title-wrap span:not(.product-logo) { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.45); font-size: 11px; }
.product-badge {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
  padding-top: 5px;
}
.product-card > p {
  max-width: 460px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.8;
}
.product-card .tag-row { margin-top: 16px; }
.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.product-link .icon { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.6); transition: transform 0.25s var(--ease), color 0.25s; }
.product-link:hover .icon { transform: translate(2px, -2px); color: var(--amber); }
.product-link[href="#contact"] .icon { transform: rotate(-45deg); }

.mock-window {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 9, 18, 0.65);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}
.mock-top .win-dots i { width: 4px; height: 4px; }
.mock-top em { margin-left: auto; font-style: normal; font-size: 7px; color: rgba(255, 255, 255, 0.26); }
.mock-body { padding: 13px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-kpis > div { display: grid; gap: 1px; }
.mock-kpis span { color: rgba(255, 255, 255, 0.5); font-size: 7.5px; }
.mock-kpis b { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
.mock-kpis em { font-style: normal; font-size: 7px; color: #34d399; }
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.95), rgba(37, 99, 235, 0.25));
  transform-origin: bottom;
  animation: bar-grow-y 1.2s var(--ease) both;
}
.mock-bars i:nth-child(3n) { background: linear-gradient(180deg, rgba(255, 176, 32, 0.85), rgba(255, 176, 32, 0.15)); }
.mock-bars i:nth-child(2) { animation-delay: 0.05s; }
.mock-bars i:nth-child(3) { animation-delay: 0.1s; }
.mock-bars i:nth-child(4) { animation-delay: 0.15s; }
.mock-bars i:nth-child(5) { animation-delay: 0.2s; }
.mock-bars i:nth-child(6) { animation-delay: 0.25s; }
.mock-bars i:nth-child(7) { animation-delay: 0.3s; }
.mock-bars i:nth-child(8) { animation-delay: 0.35s; }
.mock-bars i:nth-child(9) { animation-delay: 0.4s; }
.mock-bars i:nth-child(10) { animation-delay: 0.45s; }
.mock-bars i:nth-child(11) { animation-delay: 0.5s; }
.mock-bars i:nth-child(12) { animation-delay: 0.55s; }

.mock-sdk {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(5, 9, 18, 0.55);
}
.mock-sdk-phone {
  width: 84px;
  flex: 0 0 auto;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(155deg, #24304a, #0a0f1e);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.ms-top { width: 22px; height: 4px; margin: 0 auto 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.ms-ad {
  position: relative;
  display: grid;
  place-items: center;
  height: 72px;
  border-radius: 7px;
  background:
    radial-gradient(90% 100% at 90% 0%, rgba(255, 176, 32, 0.65), transparent 60%),
    linear-gradient(150deg, #2563eb, #101a34);
  color: #fff;
}
.ms-ad span { position: absolute; top: 5px; left: 6px; font-size: 5.5px; color: rgba(255, 255, 255, 0.78); }
.ms-ad b { font-size: 18px; line-height: 1; margin-top: 8px; }
.ms-ad small { font-size: 6px; color: rgba(255, 255, 255, 0.7); }
.ms-lines { display: grid; gap: 4px; margin-top: 7px; }
.ms-lines i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
.ms-lines i:nth-child(2) { width: 78%; }
.ms-lines i:nth-child(3) { width: 58%; }
.mock-steps { flex: 1; display: grid; gap: 9px; }
.mock-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-step:last-child { border-bottom: 0; padding-bottom: 0; }
.mock-step span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-size: 7px;
  font-weight: 600;
  flex: 0 0 auto;
}
.mock-step b { color: rgba(255, 255, 255, 0.72); font-size: 9.5px; font-weight: 500; }

.sdk-report {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(5, 9, 18, 0.45);
}
.sdk-report > div { display: grid; gap: 2px; }
.sdk-report span { color: rgba(255, 255, 255, 0.5); font-size: 7.5px; }
.sdk-report b { color: rgba(255, 255, 255, 0.82); font-size: 10.5px; font-weight: 500; }

.payout-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.payout-row span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
}

.product-small { padding-bottom: 28px; }
.product-small > p { max-width: 420px; }
.product-small .product-link { margin-top: auto; }
.bid-table { margin-top: 20px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; }
.bid-table-head,
.bid-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 8.5px;
}
.bid-table-head { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.36); }
.bid-table-row { border-top: 1px solid rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.7); }
.bid-table-row b { font-weight: 500; color: #fff; }
.bid-table-row em { font-style: normal; font-size: 7.5px; }
.bid-table-row .ok { color: #34d399; }
.bid-table-row .wait { color: var(--amber); }

.donut-wrap { display: flex; align-items: center; gap: 26px; margin-top: 20px; }
.donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 54%, var(--amber) 54% 82%, rgba(255, 255, 255, 0.18) 82% 100%);
  flex: 0 0 auto;
}
.donut::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--ink-2);
}
.donut span {
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  line-height: 1.4;
}
.donut em { font-style: normal; color: #34d399; font-size: 9px; }
.donut-wrap ul { display: grid; gap: 9px; font-size: 9px; color: rgba(255, 255, 255, 0.55); }
.donut-wrap li { display: flex; align-items: center; gap: 7px; }
.donut-wrap li i { width: 6px; height: 6px; border-radius: 2px; }
.donut-wrap .d1 { background: var(--blue); }
.donut-wrap .d2 { background: var(--amber); }
.donut-wrap .d3 { background: rgba(255, 255, 255, 0.3); }

.product-note {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  text-align: right;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Technology
   -------------------------------------------------------------------------- */

.technology { background: var(--paper); }
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 76px;
  align-items: start;
}
.tech-copy { position: sticky; top: 118px; }
.tech-lead {
  max-width: 440px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.engine-card {
  margin-top: 34px;
  padding: 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 60px rgba(10, 15, 30, 0.16);
}
.engine-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.engine-top .pulse-dot { width: 4px; height: 4px; background: #34d399; }
.engine-top .pulse-dot::after { border-color: #34d399; }
.engine-main { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.engine-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0.04) 70%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}
.engine-core::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(96, 165, 250, 0.24);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.engine-core i {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.14);
}
.engine-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; flex: 1; }
.engine-metrics div { display: grid; gap: 1px; }
.engine-metrics b { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.engine-metrics em { font-style: normal; color: var(--amber); font-size: 0.62em; margin-left: 1px; }
.engine-metrics span { color: rgba(255, 255, 255, 0.62); font-size: 7.5px; }
.engine-flow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
  font-size: 7.5px;
}
.engine-flow i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0.06)); }

.tech-list { border-top: 1px solid var(--line); }
.tech-item { border-bottom: 1px solid var(--line); }
.tech-trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 25px 0;
  text-align: left;
}
.tech-trigger .num {
  width: 30px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.tech-trigger .tt {
  flex: 1;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.25s;
}
.tech-item:hover .tt { color: var(--blue); }
.tech-trigger .plus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  flex: 0 0 auto;
}
.tech-trigger .plus .icon { width: 14px; height: 14px; }
.tech-item.open .plus {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.tech-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.tech-item.open .tech-panel { grid-template-rows: 1fr; }
.tech-panel-inner { overflow: hidden; }
.tech-panel-inner > p {
  max-width: 560px;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.tech-panel .tag-row { padding-bottom: 18px; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
  padding: 14px 0 18px;
  border-top: 1px dashed var(--line);
}
.tag-cloud span {
  color: var(--ink);
  font-size: calc(11px * var(--s));
  opacity: 0.72;
  font-weight: 500;
}
.tag-cloud span:nth-child(3n) { color: var(--blue); }
.tech-foot {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--muted);
  font-size: 10px;
}
.tech-foot b { color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   Formats
   -------------------------------------------------------------------------- */

.formats { background: var(--paper-2); }
.format-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.format-intro { max-width: 380px; padding-bottom: 4px; }
.format-intro p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.format-nav { display: none; gap: 8px; margin-top: 18px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.round-btn .icon { width: 15px; height: 15px; }
.round-btn[data-scroll="-1"] .icon { transform: rotate(180deg); }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.format-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.format-track::-webkit-scrollbar { display: none; }
.format-card { scroll-snap-align: start; }
.format-phone {
  position: relative;
  padding: 7px;
  border-radius: 25px;
  background: linear-gradient(160deg, #2c3448, #0a0f1e 72%);
  box-shadow: 0 20px 44px rgba(10, 15, 30, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.format-card:hover .format-phone {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10, 15, 30, 0.24);
}
.format-screen {
  position: relative;
  aspect-ratio: 9 / 17.6;
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
}
.format-card h3 { margin-top: 18px; font-size: 17px; letter-spacing: -0.02em; }
.format-card > p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.fs-ad {
  position: absolute;
  right: 7px;
  bottom: 6px;
  padding: 1px 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 6px;
  letter-spacing: 0.06em;
}
.fs-skip {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 7px;
  backdrop-filter: blur(4px);
}

.fs-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(255, 176, 32, 0.55), transparent 55%),
    radial-gradient(100% 80% at 10% 100%, rgba(37, 99, 235, 0.9), transparent 62%),
    linear-gradient(155deg, #1a2a52, #0a0f1e);
  color: #fff;
}
.fs-brand { display: grid; justify-items: center; gap: 8px; margin-top: 10px; }
.fs-brand img { border-radius: 12px; }
.fs-brand b { font-size: 12px; letter-spacing: 0.02em; }
.fs-brand small { font-size: 5.5px; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.5); }
.fs-splash > p { margin-top: 12px; font-size: 8px; color: rgba(255, 255, 255, 0.55); }
.fs-splash::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 42px;
  height: 3px;
  margin-left: -21px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.fs-reward {
  display: flex;
  flex-direction: column;
  background: #0b1020;
}
.fs-video {
  position: relative;
  flex: 1;
  margin: 8px;
  border-radius: 12px;
  background:
    radial-gradient(80% 70% at 70% 30%, rgba(255, 176, 32, 0.6), transparent 60%),
    linear-gradient(160deg, #25427f, #121b31);
  overflow: hidden;
}
.fs-video::before,
.fs-video::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.fs-video::before { width: 90px; height: 90px; left: -30px; top: 40px; }
.fs-video::after { width: 70px; height: 70px; right: -20px; bottom: 20px; }
.fs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}
.fs-play .icon { width: 12px; height: 12px; margin-left: 1px; }
.fs-reward-copy { padding: 2px 12px 0; color: #fff; }
.fs-reward-copy b { font-size: 11px; line-height: 1.4; display: block; }
.fs-reward-copy span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.45); font-size: 6px; }
.fs-progress { height: 3px; margin: 8px 12px 10px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.fs-progress i { display: block; width: 64%; height: 100%; background: var(--amber); }

.fs-feed { padding: 10px 9px 38px; background: #f4f3ef; }
.fs-feed-top { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; }
.fs-feed-top b { font-size: 9px; }
.fs-feed-top span { width: 16px; height: 2px; background: rgba(10, 15, 30, 0.14); border-radius: 2px; }
.fs-feed-top span:last-child { width: 10px; }
.fs-post { display: flex; gap: 6px; padding: 8px 0; border-top: 1px solid rgba(10, 15, 30, 0.06); }
.fs-post > i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(140deg, #cfd9ea, #9fb0ca); flex: 0 0 auto; }
.fs-post > div { flex: 1; display: grid; gap: 4px; padding-top: 2px; }
.fs-post b { display: block; width: 44%; height: 4px; border-radius: 2px; background: rgba(10, 15, 30, 0.18); }
.fs-post span { display: block; width: 92%; height: 3px; border-radius: 2px; background: rgba(10, 15, 30, 0.08); }
.fs-post span:last-child { width: 68%; }
.fs-native {
  margin: 4px 0;
  border: 1px solid rgba(10, 15, 30, 0.08);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.fs-native-img {
  height: 78px;
  background:
    radial-gradient(80% 100% at 90% 10%, rgba(255, 176, 32, 0.7), transparent 60%),
    linear-gradient(140deg, #dbeafe, #2563eb);
}
.fs-native-copy { display: grid; gap: 2px; padding: 6px 7px; }
.fs-native-copy small { color: var(--muted-2); font-size: 5.5px; }
.fs-native-copy b { font-size: 7.5px; }
.fs-native-copy span { color: var(--blue); font-size: 6px; }

.fs-inter {
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(37, 99, 235, 0.5), transparent 60%),
    linear-gradient(150deg, #dfe8fb, #a8bce6);
}
.fs-dim { position: absolute; inset: 0; background: rgba(8, 13, 26, 0.35); backdrop-filter: blur(1.5px); }
.fs-modal {
  position: relative;
  z-index: 1;
  width: 74%;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 36px rgba(10, 15, 30, 0.25);
}
.fs-modal-img {
  height: 64px;
  border-radius: 6px;
  background:
    radial-gradient(70% 90% at 20% 10%, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(140deg, #ffd27a, #f59300);
}
.fs-modal b { display: block; margin-top: 7px; font-size: 9px; }
.fs-modal p { color: var(--muted); font-size: 6px; margin-top: 1px; }
.fs-modal span {
  display: inline-flex;
  align-items: center;
  height: 17px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 6.5px;
}

.fs-banner { padding: 9px; background: #f4f3ef; }
.fs-app-top { display: flex; align-items: center; gap: 6px; padding: 2px 2px 8px; }
.fs-app-top b { font-size: 8px; }
.fs-app-top span { width: 14px; height: 2px; border-radius: 2px; background: rgba(10, 15, 30, 0.14); }
.fs-app-top span:last-child { width: 8px; }
.fs-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.fs-tiles > div { display: grid; gap: 3px; }
.fs-tiles i { display: block; height: 58px; border-radius: 6px; }
.fs-tiles .t1 { background: linear-gradient(145deg, #dbeafe, #60a5fa); }
.fs-tiles .t2 { background: linear-gradient(145deg, #fde68a, #f59e0b); }
.fs-tiles .t3 { background: linear-gradient(145deg, #d1fae5, #34d399); }
.fs-tiles .t4 { background: linear-gradient(145deg, #ede9fe, #a78bfa); }
.fs-tiles .t5 { background: linear-gradient(145deg, #fee2e2, #f87171); }
.fs-tiles .t6 { background: linear-gradient(145deg, #cffafe, #22d3ee); }
.fs-tiles .t7 { background: linear-gradient(145deg, #fce7f3, #f472b6); }
.fs-tiles .t8 { background: linear-gradient(145deg, #e0e7ff, #818cf8); }
.fs-tiles b { display: block; width: 72%; height: 4px; border-radius: 2px; background: rgba(10, 15, 30, 0.18); }
.fs-tiles span { display: block; width: 44%; height: 3px; border-radius: 2px; background: rgba(10, 15, 30, 0.1); }
.fs-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 30px;
  background: #fff;
  border-top: 1px solid rgba(10, 15, 30, 0.07);
}
.fs-tabbar span { width: 12px; height: 3px; border-radius: 2px; background: rgba(10, 15, 30, 0.14); }
.fs-tabbar span.on { background: var(--blue); }
.fs-banner-ad {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(10, 15, 30, 0.07);
}
.fs-banner-img { width: 34px; height: 30px; border-radius: 4px; background: linear-gradient(140deg, #2563eb, #93c5fd); flex: 0 0 auto; }
.fs-banner-ad div { display: grid; gap: 1px; }
.fs-banner-ad b { font-size: 7px; }
.fs-banner-ad small { color: var(--muted-2); font-size: 5.5px; }
.fs-banner-ad em { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 5px; color: var(--muted-2); }

.formats-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Cases
   -------------------------------------------------------------------------- */

.cases { background: var(--paper); }
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 20px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: var(--radius);
  overflow: hidden;
}
.case-main {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(37, 99, 235, 0.24) 0%, transparent 56%),
    var(--ink);
  color: #fff;
}
.case-alt { background: #fff; border: 1px solid var(--line); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--amber);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.case-tag.alt { background: var(--blue-soft); color: var(--blue); }
.case-no { color: rgba(255, 255, 255, 0.5); font-size: 8.5px; letter-spacing: 0.14em; }
.case-alt .case-no { color: var(--muted-2); }
.case-card h3 {
  margin-top: 24px;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}
.case-desc {
  max-width: 540px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13.5px;
  line-height: 1.85;
}
.case-alt .case-desc { color: var(--muted); }

.case-detail { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.case-detail > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.case-detail span { color: rgba(255, 255, 255, 0.5); font-size: 10px; }
.case-detail p { color: rgba(255, 255, 255, 0.76); font-size: 11px; line-height: 1.6; }
.case-quote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.7;
}
.case-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8.5px;
}
.case-flow i { width: 16px; height: 1px; background: rgba(255, 255, 255, 0.18); }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}
.case-metrics strong {
  display: block;
  color: var(--amber);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.case-metrics strong em { font-style: normal; font-size: 0.62em; }
.case-metrics span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.4); font-size: 9px; line-height: 1.5; }
.case-foot { margin-top: 18px; color: rgba(255, 255, 255, 0.48); font-size: 9.5px; }

.case-highlight {
  position: relative;
  margin-top: 26px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-highlight strong {
  display: block;
  color: var(--blue);
  font-size: clamp(52px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}
.case-highlight strong em { font-style: normal; font-size: 0.48em; }
.case-highlight > span {
  position: absolute;
  right: 0;
  top: 30px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.case-highlight p { max-width: 320px; margin-top: 12px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

.case-bars { display: grid; gap: 12px; margin-top: 22px; }
.case-bars > div { display: grid; grid-template-columns: 1fr 42px; align-items: center; gap: 4px 10px; }
.case-bars span { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }
.case-bars i {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #7ea6ff);
  width: var(--w);
}
.case-bars b { color: var(--blue); font-size: 8px; font-weight: 600; text-align: right; }
.case-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.case-bottom strong { display: block; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.case-bottom strong em { font-style: normal; color: var(--amber-deep); font-size: 0.55em; }
.case-bottom span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 9px; }
.case-bottom-txt { color: var(--muted-2); font-size: 9px; text-align: right; }

.case-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
}
.case-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.case-note { margin-top: 14px; color: var(--muted-2); font-size: 9.5px; text-align: right; }

/* --------------------------------------------------------------------------
   Service
   -------------------------------------------------------------------------- */

.service { background: var(--paper); padding-top: 40px; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { position: relative; padding-top: 8px; }
.process-num {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.process-line {
  height: 1px;
  margin: 14px 0 22px;
  background: var(--line-strong);
  position: relative;
}
.process-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.process-step h3 { font-size: 21px; letter-spacing: -0.03em; }
.process-step p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.team-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 50px;
  margin-top: 60px;
  padding: 38px 46px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    var(--ink);
  color: #fff;
}
.team-number { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.team-number strong {
  min-width: 2ch;
  font-size: 76px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}
.team-number > span { color: var(--amber); font-size: 18px; font-weight: 500; }
.team-number small { flex-basis: 100%; margin-top: 8px; color: rgba(255, 255, 255, 0.6); font-size: 10px; letter-spacing: 0.04em; }
.team-bars { display: grid; gap: 12px; }
.team-bar { display: grid; grid-template-columns: 64px 1fr 24px; align-items: center; gap: 12px; }
.team-bar span { color: rgba(255, 255, 255, 0.62); font-size: 10px; }
.team-bar i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.team-bar em { display: block; height: 100%; width: var(--w); border-radius: 2px; background: linear-gradient(90deg, var(--blue), #60a5fa); }
.team-bar:nth-child(2) em { background: linear-gradient(90deg, var(--amber), #ffd27a); }
.team-bar b { color: rgba(255, 255, 255, 0.8); font-size: 12px; font-weight: 500; text-align: right; }
.team-note { max-width: 250px; color: rgba(255, 255, 255, 0.64); font-size: 10.5px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 88px;
  align-items: start;
}
.about-copy { position: sticky; top: 118px; }
.about-copy p {
  max-width: 470px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.about-quote {
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--amber);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.about-quote span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 10px; font-weight: 400; letter-spacing: 0.04em; }

.timeline { position: relative; display: grid; gap: 4px; padding-left: 34px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline .year { color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; }
.timeline h3 { margin-top: 4px; font-size: 20px; letter-spacing: -0.03em; }
.timeline p { max-width: 480px; margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }

.credentials { margin-top: 100px; }
.cred-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}
.cred-head h3 { margin-top: 14px; font-size: 32px; letter-spacing: -0.04em; }
.cred-head > p { max-width: 300px; color: var(--muted); font-size: 12px; text-align: right; }
.cred-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cred-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.cred-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.cred-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 8px;
  border-radius: 9px;
  background: var(--paper);
  overflow: hidden;
}
.cred-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.45s var(--ease); }
.cred-card:hover .cred-img img { transform: scale(1.03); }
.cred-card b { margin-top: 10px; font-size: 11px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.cred-card small { margin-top: 2px; color: var(--muted-2); font-size: 9px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  padding: 118px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.contact-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 64%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: start;
}
.contact h2 {
  margin-top: 20px;
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.contact-lead { max-width: 420px; margin-top: 20px; color: rgba(255, 255, 255, 0.55); font-size: 15px; line-height: 1.8; }

.contact-list { margin-top: 42px; border-top: 1px solid rgba(255, 255, 255, 0.11); }
.contact-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.contact-list dt { color: rgba(255, 255, 255, 0.48); font-size: 10px; letter-spacing: 0.04em; padding-top: 2px; }
.contact-list dd { color: rgba(255, 255, 255, 0.84); font-size: 13px; line-height: 1.7; }
.contact-list a { transition: color 0.2s; }
.contact-list a:hover { color: var(--amber); }

.platform-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.platform-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.25s, border-color 0.25s;
}
.platform-links a:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.platform-links img { border-radius: 7px; }
.platform-links span { display: grid; flex: 1; gap: 1px; }
.platform-links b { font-size: 11.5px; font-weight: 600; }
.platform-links small { color: rgba(255, 255, 255, 0.4); font-size: 9px; }
.platform-links .icon { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.4); }

.contact-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.form-head h3 { font-size: 20px; letter-spacing: -0.03em; }
.form-head span { color: rgba(255, 255, 255, 0.48); font-size: 9.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: rgba(255, 255, 255, 0.5); font-size: 10px; letter-spacing: 0.02em; }
.field > span i { font-style: normal; color: var(--amber); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 11px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.field select option { color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 82px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.24); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: rgba(255, 100, 100, 0.55); }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.form-foot .btn { flex: 0 0 auto; height: 46px; font-size: 13px; padding: 0 20px; }
.form-foot .btn .icon { transform: none; }
.form-foot p { color: rgba(255, 255, 255, 0.46); font-size: 9px; line-height: 1.6; }
.form-status { min-height: 18px; margin-top: 10px; color: var(--amber); font-size: 10.5px; line-height: 1.6; }

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

.site-footer {
  background: #070b16;
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr 1fr 1.1fr;
  gap: 48px;
}
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand .brand-text strong { color: #fff; font-size: 16px; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.45); }
.footer-slogan { margin-top: 22px; color: rgba(255, 255, 255, 0.56); font-size: 13px; line-height: 1.75; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-badges span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8.5px;
}
.footer-col h4 { color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 11.5px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact p { margin-top: 8px; font-size: 10.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.48); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9.5px;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Lightbox / back to top
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(5, 8, 16, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; max-width: 820px; max-height: 90vh; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 8px; background: #fff; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.7); font-size: 12px; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox-close .icon { width: 18px; height: 18px; }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(10, 15, 30, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top .icon { width: 17px; height: 17px; transform: rotate(-90deg); }
.back-top:hover { background: var(--blue); }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.7; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes stage-float {
  0%, 100% { transform: rotate(-1.8deg) translateY(0); }
  50% { transform: rotate(-1.8deg) translateY(-7px); }
}
@keyframes phone-float {
  0%, 100% { transform: rotate(3.4deg) translateY(0); }
  50% { transform: rotate(3.4deg) translateY(-9px); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bar-grow-y { from { transform: scaleY(0.05); opacity: 0.3; } to { transform: scaleY(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

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

@media (max-width: 1180px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 22px; }
  .hero-stage { height: 545px; }
  .dash-card { width: 400px; }
  .phone-card { width: 164px; top: 168px; right: -4px; }
  .phone-screen { height: 330px; }
  .ring-1 { width: 400px; height: 400px; }
  .ring-2 { width: 530px; height: 530px; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .header-inner { height: 70px; }
  .login-menu { margin-left: auto; }
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(44px, 6.6vw, 68px); }
  .hero-stage { width: min(600px, 100%); height: 560px; margin: 0 auto; }
  .dash-card { width: 440px; }
  .phone-card { width: 176px; top: 172px; right: 0; }
  .phone-screen { height: 354px; }
  .hero-foot { margin-top: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 34px 26px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .head-grid { gap: 40px; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-monetize { grid-column: auto; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; gap: 44px; }
  .tech-copy, .about-copy { position: static; }
  .tech-lead { max-width: 620px; }
  .engine-card { max-width: 520px; }
  .format-nav { display: flex; }
  .format-track {
    grid-auto-flow: column;
    grid-auto-columns: 216px;
    grid-template-columns: none;
    gap: 14px;
  }
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy { max-width: 640px; }
  .about-grid { gap: 56px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 92px 0; }
  .head-grid { grid-template-columns: 1fr; gap: 18px; }
  .head-note { max-width: 560px; padding-bottom: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { padding: 32px; }
  .process { grid-template-columns: 1fr; gap: 8px; }
  .process-step { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .process-line { margin: 10px 0 16px; }
  .team-band { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
  .team-note { max-width: none; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .credentials { margin-top: 72px; }
  .cred-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cred-head > p { text-align: left; }
  .format-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .formats-foot { flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .case-note { text-align: left; }
  .product-note { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 76px 0; }
  .section h2 { font-size: clamp(32px, 8.4vw, 42px); }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 116px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 50px); letter-spacing: -0.06em; }
  .hero h1 .hl svg { bottom: -6px; height: 10px; }
  .hero-lead { margin: 22px 0 28px; font-size: 15px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-badges { gap: 8px 16px; margin-top: 28px; font-size: 11px; }
  .hero-foot { font-size: 10.5px; }
  .scroll-cue { display: none; }
  .hero-stage { height: 410px; }
  .dash-card { width: 88%; max-width: 400px; top: 22px; }
  .bid-list, .dash-foot, .float-chip { display: none; }
  .dash-body { padding-bottom: 16px; }
  .dash-chart { height: 116px; margin-bottom: 0; }
  .dash-chart svg { height: 96px; }
  .dash-kpis { gap: 18px; }
  .dash-kpis strong { font-size: 17px; }
  .dash-chart { height: 100px; }
  .dash-chart svg { height: 80px; }
  .bid-row { height: 26px; font-size: 8px; }
  .bid-row b { font-size: 8px; }
  .phone-card { width: 132px; top: 152px; right: 0; padding: 5px; border-radius: 22px; }
  .phone-screen { height: 264px; border-radius: 18px; }
  .ad-stage { margin: 8px 7px 0; padding: 10px 9px; border-radius: 11px; }
  .ad-stage strong { font-size: 13px; }
  .ad-kicker { margin-top: 16px; }
  .ad-play { width: 26px; height: 26px; bottom: 42px; }
  .ad-cta { height: 17px; font-size: 6.5px; }
  .photo-foot, .phone-foot { font-size: 5.5px; }
  .ad-type { font-size: 6px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px; }
  .stat-value { font-size: 38px; }
  .stat p { font-size: 10px; }
  .biz-card, .biz-monetize { padding: 26px; }
  .biz-monetize { grid-template-columns: 1fr; gap: 26px; }
  .monetize-side { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid rgba(10, 15, 30, 0.1); }
  .biz-foot { gap: 18px; flex-wrap: wrap; }
  .biz-foot .text-link { margin-left: 0; }
  .biz-watermark { font-size: 100px; }
  .flow { gap: 5px; }
  .flow span { font-size: 9px; }
  .products { padding-bottom: 76px; }
  .product-card { padding: 24px; }
  .product-title-wrap h3 { font-size: 23px; }
  .product-badge { display: none; }
  .mock-kpis b { font-size: 13px; }
  .mock-sdk { gap: 14px; }
  .mock-sdk-phone { width: 72px; }
  .donut-wrap { gap: 18px; }
  .tech-trigger { padding: 20px 0; gap: 12px; }
  .tech-trigger .tt { font-size: 17px; }
  .tech-trigger .num { width: 22px; }
  .engine-main { gap: 14px; }
  .engine-core { width: 62px; height: 62px; }
  .engine-metrics b { font-size: 14px; }
  .format-track { grid-auto-columns: 184px; }
  .format-card h3 { margin-top: 14px; font-size: 15px; }
  .format-intro { max-width: none; }
  .case-card { padding: 26px; }
  .case-card h3 { font-size: 27px; }
  .case-metrics strong { font-size: 23px; }
  .case-metrics span { font-size: 8px; }
  .case-detail > div { grid-template-columns: 40px 1fr; }
  .case-highlight strong { font-size: 56px; }
  .case-bottom strong { font-size: 26px; }
  .case-strip { gap: 8px 12px; font-size: 9px; }
  .team-number strong { font-size: 64px; }
  .team-bar { grid-template-columns: 52px 1fr 20px; gap: 8px; }
  .about-quote { font-size: 16px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred-card b { font-size: 9.5px; }
  .cred-card small { font-size: 7.5px; }
  .contact { padding: 82px 0; }
  .contact h2 { font-size: clamp(36px, 9.4vw, 46px); }
  .contact-list > div { grid-template-columns: 72px 1fr; gap: 10px; }
  .platform-links { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-head { flex-direction: column; gap: 3px; }
  .form-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-legal { gap: 10px; font-size: 9px; }
  .back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
  .stat-value { font-size: 32px; }
  .cred-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; }
  .hero h1 .hl svg path { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   Legal / privacy
   -------------------------------------------------------------------------- */

.legal-page { background: var(--paper); }
.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 239, 0.9);
}
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--blue); }
.legal-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.legal-main { padding: 78px 0 100px; }
.legal-container { max-width: 860px; }
.legal-container h1 { margin: 18px 0 10px; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.045em; line-height: 1.1; }
.legal-meta { color: var(--muted-2); font-size: 11px; letter-spacing: 0.02em; }
.legal-lead { margin-top: 34px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.legal-main section { margin-top: 40px; }
.legal-main h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-main p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.legal-main p + p { margin-top: 10px; }
.legal-main ul { display: grid; gap: 8px; margin-top: 12px; }
.legal-main li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.legal-main li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: 0.55; }
.legal-main li strong { color: var(--ink); font-weight: 600; }
.legal-contact li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding-left: 0; }
.legal-contact li::before { display: none; }
.legal-contact li span { color: var(--muted-2); }
.legal-contact a { color: var(--blue); }
.legal-footer { border-top: 1px solid var(--line); padding: 24px 0 34px; }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted-2); font-size: 10.5px; }
.legal-footer-inner div { display: flex; gap: 16px; }
.legal-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .legal-header-inner { height: 68px; }
  .legal-main { padding: 54px 0 72px; }
  .legal-main section { margin-top: 32px; }
  .legal-main h2 { font-size: 19px; }
  .legal-lead { font-size: 15px; }
  .legal-main p, .legal-main li { font-size: 13.5px; }
  .legal-footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --------------------------------------------------------------------------
   Light surface refinement — replace near-black blocks with cobalt / paper
   -------------------------------------------------------------------------- */

/* Stats band: cobalt instead of black */
.stats-band {
  background: linear-gradient(112deg, #12347a 0%, #1e4fd8 52%, #2563eb 100%);
}
.stats-band::before {
  background:
    radial-gradient(560px 220px at 82% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(420px 200px at 5% 130%, rgba(255, 176, 32, 0.18), transparent 70%);
}
.stat { border-left-color: rgba(255, 255, 255, 0.16); }
.stat:nth-child(n + 3) { border-top-color: rgba(255, 255, 255, 0.16); }
.stat p { color: rgba(255, 255, 255, 0.7); }
.stat-value em { color: #ffd166; }

/* Programmatic business card: deep cobalt, not black */
.biz-prog {
  background:
    radial-gradient(100% 85% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 54%),
    linear-gradient(150deg, #1746b0 0%, #0c2450 100%);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Products: pale blue surface, white cards, light UI mocks */
.products {
  background: linear-gradient(180deg, #f6f4ef 0%, #e9f1ff 8%, #f7f9fe 55%, #f6f4ef 100%);
  color: var(--ink);
}
.products::before {
  background:
    radial-gradient(800px 420px at 84% 4%, rgba(37, 99, 235, 0.16), transparent 64%),
    radial-gradient(620px 340px at 4% 96%, rgba(255, 176, 32, 0.1), transparent 65%);
}
.product-card {
  background: #ffffff;
  border-color: rgba(10, 15, 30, 0.08);
  box-shadow: 0 10px 30px rgba(25, 55, 120, 0.06);
}
.product-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 50px rgba(25, 55, 120, 0.12);
}
.product-title-wrap h3 { color: var(--ink); }
.product-title-wrap span:not(.product-logo) { color: var(--muted-2); }
.product-badge { color: var(--muted-2); }
.product-card > p { color: var(--muted); }
.tag.dark {
  background: #f2f6ff;
  border-color: rgba(37, 99, 235, 0.14);
  color: #4b5870;
}
.product-link {
  color: var(--ink);
  border-top-color: rgba(10, 15, 30, 0.1);
}
.product-link .icon { color: var(--muted-2); }
.product-link:hover { color: var(--blue); }
.product-link:hover .icon { color: var(--blue); }
.product-logo {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(10, 15, 30, 0.06);
}
.product-logo.alt { background: var(--blue-soft); border-color: transparent; }
.product-logo.alt .icon { color: var(--blue); }
.product-logo.alt.amber { background: var(--amber-soft); }
.product-logo.alt.amber .icon { color: var(--amber-deep); }
.product-note { color: var(--muted-2); }


/* Technology engine card: cobalt */
.engine-card { background: linear-gradient(150deg, #1a47b8 0%, #0b1b3a 100%); }

/* Case feature card: cobalt */
.case-main {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(255, 176, 32, 0.16) 0%, transparent 52%),
    linear-gradient(150deg, #1746b0 0%, #0c2450 100%);
}

/* Team band: cobalt */
.team-band {
  background:
    radial-gradient(600px 240px at 92% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(135deg, #1a47b8 0%, #0d2a5e 100%);
}

/* Contact: light paper / pale blue with a white form card */
.contact {
  background: linear-gradient(180deg, #f6f4ef 0%, #e7f0ff 8%, #f4f7fd 48%, #f6f4ef 100%);
  color: var(--ink);
}
.contact::before {
  background-image:
    linear-gradient(to right, rgba(10, 15, 30, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 15, 30, 0.05) 1px, transparent 1px);
}
.contact-glow { background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 64%); }
.contact h2 { color: var(--ink); }
.contact-lead { color: var(--muted); }
.contact-list { border-top-color: var(--line); }
.contact-list > div { border-bottom-color: var(--line); }
.contact-list dt { color: var(--muted-2); }
.contact-list dd { color: var(--ink); }
.contact-list a { color: var(--blue); }
.contact-list a:hover { color: var(--amber-deep); }
.platform-links a {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(10, 15, 30, 0.04);
}
.platform-links a:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.1);
}
.platform-links b { color: var(--ink); }
.platform-links small { color: var(--muted-2); }
.platform-links .icon { color: var(--muted-2); }
.contact-form {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 26px 70px rgba(10, 15, 30, 0.1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.form-head h3 { color: var(--ink); }
.form-head span { color: var(--muted-2); }
.field > span { color: var(--muted); }
.field > span i { color: var(--amber-deep); }
.field input,
.field select,
.field textarea {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.field select option { color: var(--ink); background: #ffffff; }
.form-foot p { color: var(--muted); }
.form-foot p a { color: var(--blue); }
.form-foot p a:hover { color: var(--amber-deep); }
.form-status { color: var(--blue); }

/* Footer: deep blue instead of black */
.site-footer { background: linear-gradient(180deg, #0c1e42 0%, #08132b 100%); }

/* Small accents */
.back-top { background: var(--blue); }
.back-top:hover { background: var(--blue-deep); }
.phone-card { background: linear-gradient(160deg, #2b4a8f, #0d1b36 72%); }
.phone-screen { background: #0f1b33; }
.phone-notch { background: #0d1b36; }

/* Light UI mocks inside the product cards */
.mock-window,
.mock-sdk,
.bid-table {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: rgba(10, 15, 30, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mock-top {
  color: var(--muted-2);
  border-bottom-color: rgba(10, 15, 30, 0.07);
}
.mock-top em { color: var(--muted-2); }
.mock-kpis span { color: var(--muted-2); }
.mock-kpis b { color: var(--ink); }
.mock-kpis em { color: #0f9d63; }
.mock-bars { border-top-color: rgba(10, 15, 30, 0.08); }
.mock-bars i { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.mock-bars i:nth-child(3n) { background: linear-gradient(180deg, #ffc043, #f59300); }

.mock-sdk-phone {
  background: linear-gradient(160deg, #dbeafe, #f8fbff);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}
.ms-top { background: rgba(37, 99, 235, 0.18); }
.ms-lines i { background: rgba(37, 99, 235, 0.14); }
.mock-step { border-bottom-color: rgba(10, 15, 30, 0.07); }
.mock-step span { background: var(--blue-soft); color: var(--blue); }
.mock-step b { color: var(--ink); }

.sdk-report {
  background: #f4f7fe;
  border-color: rgba(10, 15, 30, 0.08);
}
.sdk-report span { color: var(--muted-2); }
.sdk-report b { color: var(--ink); }

.bid-table { background: #f8faff; }
.bid-table-head { background: #eef4ff; color: var(--muted-2); }
.bid-table-row { border-top-color: rgba(10, 15, 30, 0.07); color: var(--muted); }
.bid-table-row b { color: var(--ink); }
.bid-table-row .ok { color: #0f9d63; }
.bid-table-row .wait { color: var(--amber-deep); }

.donut::before { background: #ffffff; }
.donut span { color: var(--muted-2); }
.donut em { color: #0f9d63; }
.donut-wrap ul { color: var(--muted); }

.payout-row span {
  background: #f4f7fe;
  border-color: rgba(10, 15, 30, 0.1);
  color: var(--muted);
}

.field select {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
