/* MT4 中文指南 — deep navy · tech blue · ice cyan */
:root {
  --navy: #08162C;
  --navy-2: #0D2142;
  --navy-3: #132A52;
  --blue: #2563EB;
  --blue-hot: #3B82F6;
  --cyan: #15C5D8;
  --cyan-soft: rgba(21, 197, 216, 0.18);
  --mist: #F3F7FC;
  --mist-2: #E8EEF8;
  --white: #FFFFFF;
  --ink: #0B1A33;
  --ink-soft: #3A4D6A;
  --ink-muted: #6B7C94;
  --line: rgba(8, 22, 44, 0.08);
  --line-strong: rgba(37, 99, 235, 0.22);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-btn: 12px;
  --wrap: 1200px;
  --header-h: 72px;
  --section-y: clamp(4.5rem, 8vw, 6.25rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(8, 22, 44, 0.18);
  --shadow-soft: 0 12px 32px rgba(8, 22, 44, 0.1);
  --glow-blue: 0 12px 36px rgba(37, 99, 235, 0.35);
  --glow-cyan: 0 12px 36px rgba(21, 197, 216, 0.28);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--mist);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
figure { margin: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section {
  padding: var(--section-y) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.section-lead {
  margin-top: 0.9rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .section-lead { margin-inline: auto; }

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.bg-mist { background: var(--mist); }
.bg-white { background: var(--white); }
.bg-navy {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(21, 197, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(37, 99, 235, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 55%, #050E1C 100%);
  color: #E8F0FF;
}
.bg-navy .section-title,
.bg-navy .eyebrow { color: #F3F7FC; }
.bg-navy .section-lead,
.bg-navy p { color: rgba(243, 247, 252, 0.78); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-hot), var(--blue));
  color: #fff;
  box-shadow: var(--glow-blue);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45); }
.btn-cyan {
  background: linear-gradient(135deg, #2AD4E6, var(--cyan));
  color: var(--navy);
  box-shadow: var(--glow-cyan);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #F3F7FC;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
}
.btn-outline:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--blue);
}
.btn-sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn-wide { width: 100%; }
.btn-header { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(243, 247, 252, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(8, 22, 44, 0.06);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo-img {
  width: auto;
  height: 32px;
  flex-shrink: 0;
}
.site-footer .logo-img,
.logo-img--light {
  height: 30px;
}
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-text small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.site-footer .logo-text strong { color: #F3F7FC; }
.site-footer .logo-text small { color: rgba(243, 247, 252, 0.5); }
.site-footer .logo-mark { filter: none; }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--ink); background: rgba(37, 99, 235, 0.06); }
.nav-link[aria-current="page"] {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.langs,
.menu { position: relative; }
.langs summary,
.menu summary { list-style: none; }
.langs summary::-webkit-details-marker,
.menu summary::-webkit-details-marker { display: none; }
.lang-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lang-toggle:hover,
.menu-toggle:hover {
  background: var(--mist);
  border-color: rgba(37, 99, 235, 0.22);
}
.lang-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  transition: transform 0.2s var(--ease);
}
.langs[open] .lang-toggle::after {
  transform: rotate(180deg);
}
.lang-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 148px;
  padding: 0.45rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.15rem;
  z-index: 120;
}
.lang-drop a {
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink-soft);
}
.lang-drop a:hover {
  background: var(--mist);
  color: var(--ink);
}
.lang-drop a.is-on {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.65rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.15rem;
}
.menu-panel a {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 550;
  color: var(--ink-soft);
}
.menu-panel a:hover { background: var(--mist); color: var(--ink); }
.menu-cta { margin-top: 0.35rem; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 55% 70% at 88% 35%, rgba(21, 197, 216, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 55% at 12% 70%, rgba(37, 99, 235, 0.28), transparent 50%),
    linear-gradient(155deg, #0A1B36 0%, var(--navy) 48%, #050E1C 100%);
  color: #F3F7FC;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 197, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 197, 216, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow { margin-bottom: 1rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 14ch;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, #7DD3FC, var(--cyan) 45%, #60A5FA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 1.15rem;
  max-width: 28rem;
  font-size: 1.08rem;
  color: rgba(243, 247, 252, 0.78);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}
.hero-tags span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 550;
  color: rgba(243, 247, 252, 0.85);
}
.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
}
.hero-glow {
  position: absolute;
  inset: 5% -8% -12% 8%;
  background: radial-gradient(circle, rgba(21, 197, 216, 0.35), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #0A1528;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: left center;
  animation: heroFloat 7s ease-in-out infinite;
}
.hero-frame img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes heroFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}

@media (min-width: 960px) {
  .hero {
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
  }
  .hero-visual {
    width: calc(100% + 5.5rem);
    margin-right: -5.5rem;
    justify-self: stretch;
  }
  .hero-frame {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.16);
    transform-origin: left center;
  }
  @keyframes heroFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.16) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg) scale(1.16) translateY(-10px); }
  }
}

/* Advantage cards */
.advantages-section {
  background: linear-gradient(135deg, #F5F9FF, #EAF3FF);
}
.advantages-section .section-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.4rem;
}
.advantages-section .section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  max-width: 18em;
  margin-inline: auto;
  color: var(--navy);
  text-wrap: balance;
}
.advantages-section .section-lead {
  margin-inline: auto;
  max-width: 40rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: #5B6F8C;
}
.adv-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}
.adv-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 14px 36px rgba(15, 40, 80, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 40, 80, 0.14);
}
.adv-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(160deg, #E8F1FF, #D9EBFF);
}
.adv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.adv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.3rem 1.45rem;
}
.adv-card-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 0.55rem;
}
.adv-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: var(--navy);
  min-height: 2.7em;
}
.adv-card-lead {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.45;
  min-height: 2.9em;
}
.adv-card p {
  color: #5B6F8C;
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
}
.adv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}
.adv-tags span {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.advantages-cta {
  margin-top: 2.25rem;
  text-align: center;
}

/* Compact platform cards under hero copy */
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.device-grid--hero {
  margin-top: 1.5rem;
  max-width: 28rem;
}
@media (min-width: 520px) {
  .device-grid--hero {
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
  }
}
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 0.45rem 0.3rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.device-card:hover {
  border-color: rgba(21, 197, 216, 0.45);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.device-card img {
  width: 32px;
  height: 32px;
  margin-inline: auto;
  margin-bottom: 0.1rem;
}
.device-card strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  color: #F3F7FC;
  line-height: 1.2;
}
.device-card small {
  color: rgba(243, 247, 252, 0.55);
  font-size: 0.58rem;
  line-height: 1.25;
  max-width: 7.5em;
}

/* Feature split */
.feature-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }
  .feature-split.is-flip > :first-child { order: 2; }
  .feature-split.is-flip > :last-child { order: 1; }
}
.analysis-section {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent 40%),
    linear-gradient(135deg, #F5F9FF 0%, #EAF2FF 100%);
  position: relative;
}
.analysis-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 10%, transparent 75%);
}
.analysis-section .wrap { position: relative; }
@media (min-width: 960px) {
  .analysis-section .feature-split {
    grid-template-columns: 1.12fr 0.95fr;
    gap: 2.75rem;
    align-items: start;
  }
  /* Align image top with the right-side section title */
  .analysis-section .media-frame {
    margin-top: 2.15rem;
  }
}
.analysis-copy .section-title {
  color: #0D1B36;
  max-width: 12.5em;
  text-wrap: balance;
  letter-spacing: -0.028em;
  line-height: 1.22;
}
.analysis-copy .section-lead {
  color: #5B6F8C;
  max-width: 32rem;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 560px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}
.stat-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
  min-width: 0;
  padding: 1rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 10px 24px rgba(15, 40, 80, 0.05);
}
.stat-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  grid-row: span 2;
}
.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #2563EB;
  line-height: 1;
}
.stat-pill span {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: #0D1B36;
  line-height: 1.35;
}
.stat-pill em {
  display: block;
  grid-column: 2;
  font-style: normal;
  font-size: 0.78rem;
  color: #6B7C94;
  line-height: 1.45;
}
.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.analysis-tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1D4ED8;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}
.analysis-actions {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  display: flex;
  justify-content: center;
  justify-self: stretch;
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy);
}
.media-frame img { width: 100%; }
.analysis-section .media-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.analysis-section .media-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(13, 27, 54, 0.14));
}

/* EA automated trading module */
.ea-section {
  background:
    radial-gradient(ellipse 55% 70% at 88% 40%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(37, 99, 235, 0.22), transparent 50%),
    linear-gradient(120deg, #07152B, #102B55);
  color: #F3F7FC;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.ea-section .wrap { width: min(100% - 2rem, var(--wrap)); }
@media (min-width: 960px) {
  .ea-section .feature-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
  }
}
.ea-copy .eyebrow { color: #22D3EE; }
.ea-copy .section-title {
  color: #fff;
  max-width: 12em;
  text-wrap: balance;
  line-height: 1.22;
}
.ea-copy .section-lead {
  color: #B8C9E0;
  max-width: 32rem;
}
.ea-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.ea-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 650;
  color: #E8F4FF;
}
.ea-points span b {
  color: #22D3EE;
  font-weight: 700;
}
.ea-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.ea-section .btn-cyan {
  background: linear-gradient(135deg, #67E8F9, #22D3EE 45%, #06B6D4);
  color: #062033;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.28);
}
.ea-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(184, 201, 224, 0.72);
  max-width: 34rem;
  line-height: 1.55;
}
.ea-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.ea-tags span {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #7DD3FC;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
}
.ea-visual {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
}
.ea-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4% 8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.ea-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35));
}
.feat-ea-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.35rem;
}
.feat-ea-list article h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.feat-ea-list article h3 b {
  color: #22D3EE;
  font-variant-numeric: tabular-nums;
}
.feat-ea-list article p {
  margin: 0.35rem 0 0;
  color: #B8C9E0;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 36rem;
}
.feat-module.ea-section,
.feat-module.mobile-section {
  min-height: 0;
}
.feat-module.mobile-section .feat-ea-list article h3 { color: #0D1B36; }
.feat-module.mobile-section .feat-ea-list article h3 b { color: #2563EB; }
.feat-module.mobile-section .feat-ea-list article p { color: #5B6F8C; }

/* Mobile trading module */
.mobile-section {
  background:
    radial-gradient(ellipse 50% 60% at 18% 40%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(160deg, #F7FAFF 0%, #EEF4FF 55%, #F8FBFF 100%);
  overflow: hidden;
}
@media (min-width: 960px) {
  .mobile-section .feature-split {
    grid-template-columns: 1.1fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }
}
.mobile-copy .eyebrow { color: var(--blue); }
.mobile-copy .section-title {
  color: #0D1B36;
  max-width: 12em;
  text-wrap: balance;
  line-height: 1.22;
}
.mobile-copy .section-lead {
  color: #5B6F8C;
  max-width: 34rem;
}
.mobile-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.mobile-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 40, 80, 0.05);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 650;
  color: #0D1B36;
}
.mobile-points span b {
  color: #2563EB;
  font-weight: 700;
}
.mobile-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.mobile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.mobile-tags span {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1D4ED8;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
}

.mobile-visual {
  position: relative;
  border: 0;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at 50% 48%, #000 52%, transparent 78%);
  mask-image: radial-gradient(ellipse 86% 82% at 50% 48%, #000 52%, transparent 78%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.mobile-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(13, 27, 54, 0.12));
}

/* FAQ preview (homepage) */
.faq-preview {
  background:
    radial-gradient(ellipse 45% 55% at 88% 18%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, #F5F9FF 0%, #EAF2FF 55%, #F7FAFF 100%);
}
.faq-preview-top {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .faq-preview-top {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}
.faq-preview-copy .eyebrow { color: var(--blue); }
.faq-preview-copy .section-title {
  color: #0D1B36;
  max-width: 14em;
  text-wrap: balance;
  line-height: 1.22;
}
.faq-preview-copy .section-lead {
  color: #5B6F8C;
  max-width: 36rem;
}
.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.faq-cats span {
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #1D4ED8;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
}
.faq-preview-visual {
  position: relative;
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at 50% 48%, #000 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 86% 82% at 50% 48%, #000 55%, transparent 80%);
}
.faq-preview-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(13, 27, 54, 0.1));
}
.faq-list--preview {
  max-width: 920px;
  margin: 0 auto;
}
.faq-list--preview .faq-item summary b {
  color: #2563EB;
  font-variant-numeric: tabular-nums;
  margin-right: 0.35rem;
}
.faq-preview-cta {
  margin-top: 1.75rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}
.faq-preview-cta p {
  max-width: 36rem;
  color: #6B7C94;
  font-size: 0.9rem;
  line-height: 1.55;
}
.faq-preview--download {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(ellipse 42% 50% at 88% 16%, rgba(37, 99, 235, 0.09), transparent 55%),
    linear-gradient(180deg, #F2F7FF 0%, #EAF2FF 50%, #F7FAFF 100%);
}
@media (min-width: 900px) {
  .faq-preview--download .faq-preview-top {
    grid-template-columns: 1.3fr 0.7fr;
  }
  .faq-preview--download .faq-preview-copy .section-title {
    max-width: none;
    text-wrap: nowrap;
    white-space: nowrap;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
  }
}
@media (max-width: 899px) {
  .faq-preview--download .faq-preview-copy .section-title {
    max-width: none;
    text-wrap: balance;
  }
}
.faq-preview-cta--download {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  gap: 0.65rem;
}
.faq-preview-cta--download h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #0D1B36;
  letter-spacing: -0.02em;
}
.faq-preview-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}
.faq-preview-cta-actions .btn-primary {
  border-radius: 12px;
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 40, 80, 0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}
.faq-a {
  padding: 0 1.2rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.faq-a p + p { margin-top: 0.65rem; }
.faq-a a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.faq-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
  }
}
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
@media (min-width: 900px) {
  .faq-nav {
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
  }
}
.faq-tab {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: left;
  border: 1px solid transparent;
}
.faq-tab:hover { background: var(--mist); color: var(--ink); }
.faq-tab.is-on {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.18);
}

/* CTA banner */
.cta-banner {
  padding: var(--section-y) 0;
}
.cta-panel {
  border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  background: #0D2142;
  color: #F3F7FC;
  box-shadow: 0 18px 40px rgba(8, 22, 44, 0.14);
}
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0 auto;
  line-height: 1.25;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .cta-panel h2 {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  }
}
.cta-panel .cta-kicker {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: #B8C9E0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
}
.cta-panel .cta-body {
  margin: 1.1rem auto 1.6rem;
  max-width: 46rem;
  display: grid;
  gap: 0.75rem;
  text-align: center;
  justify-items: center;
}
.cta-panel .cta-body p {
  margin: 0;
  max-width: 46rem;
  color: rgba(243, 247, 252, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}
.cta-panel p {
  margin: 0.9rem auto 1.6rem;
  max-width: 34rem;
  color: rgba(243, 247, 252, 0.78);
  text-align: center;
}
.cta-panel .hero-actions { justify-content: center; margin-top: 0; }
.info-note {
  margin-top: 1.25rem !important;
  margin-inline: auto !important;
  font-size: 0.82rem !important;
  color: rgba(243, 247, 252, 0.5) !important;
  text-align: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 50% 80% at 90% 0%, rgba(21, 197, 216, 0.16), transparent 50%),
    linear-gradient(160deg, #0A1B36, var(--navy));
  color: #F3F7FC;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0.75rem;
}
.page-lead {
  margin-top: 0.95rem;
  max-width: 40rem;
  color: rgba(243, 247, 252, 0.78);
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(243, 247, 252, 0.55);
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { text-decoration: underline; }

/* Download center hero */
.download-hero {
  background:
    radial-gradient(ellipse 48% 70% at 88% 45%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 55% at 12% 80%, rgba(37, 99, 235, 0.18), transparent 50%),
    linear-gradient(115deg, #08162D, #0D2D4C);
  color: #F3F7FC;
  min-height: clamp(450px, 52vw, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.download-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  width: min(100% - 2rem, var(--wrap));
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}
@media (min-width: 960px) {
  .download-hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.25rem;
  }
  .download-hero-visual {
    width: calc(100% + 2.5rem);
    margin-right: -1.75rem;
    margin-left: 0.75rem;
  }
  .download-hero-visual img {
    width: 112%;
    max-width: none;
    transform: scale(1.06) translateX(4%);
    transform-origin: right center;
  }
}
.download-hero-copy .breadcrumb { margin-bottom: 1rem; }
.download-hero-copy .eyebrow {
  color: #22D3EE;
  margin: 0;
}
.download-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #fff;
  margin-top: 0.7rem;
  max-width: 12em;
  text-wrap: balance;
}
.download-hero-copy .page-lead {
  color: #B8C9E0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}
.download-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.download-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 650;
  color: #E8F4FF;
}
.download-hero-actions {
  margin-top: 1.5rem;
}
.download-hero-actions .btn-primary {
  border-radius: 12px;
  background: #2563EB;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}
.download-hero-visual {
  position: relative;
  -webkit-mask-image: radial-gradient(ellipse 88% 84% at 52% 48%, #000 48%, transparent 78%);
  mask-image: radial-gradient(ellipse 88% 84% at 52% 48%, #000 48%, transparent 78%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.download-hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}
.download-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.35));
}
.download-tip {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(37, 99, 235, 0.08);
  color: #1E3A5F;
  font-size: 0.92rem;
  line-height: 1.55;
}
#downloads {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.page-hero-light {
  background: linear-gradient(180deg, var(--white), var(--mist));
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-hero-light h1 { color: var(--ink); }
.page-hero-light .page-lead { color: var(--ink-soft); }
.page-hero-light .breadcrumb { color: var(--ink-muted); }
.page-hero-light .breadcrumb a { color: var(--blue); }
.page-hero-light .eyebrow { color: var(--blue); }

/* Download cards */
.download-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  padding: 0.5rem 0.25rem 0.75rem;
  overflow: visible;
}
@media (min-width: 640px) {
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .download-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 1200px;
    margin-inline: auto;
  }
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.05rem 0.85rem 0.95rem;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  min-width: 0;
  text-align: center;
  position: relative;
}
@media (max-width: 639px) {
  .download-card { aspect-ratio: auto; }
}
.download-card:hover {
  border-color: #22C55E;
  background: #F0FDF4;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.2);
  z-index: 2;
}
.download-card:hover h2,
.download-card:hover h3 {
  color: #15803D;
}
.download-card:hover .btn {
  background: #16A34A;
  border-color: #16A34A;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.28);
}
.download-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}
.download-card-top img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.download-card-top > div {
  min-width: 0;
  width: 100%;
  text-align: center;
}
.download-card h2,
.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.download-card-top p {
  margin: 0.2rem 0 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.35;
  color: var(--ink-muted) !important;
}
.download-card > p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
  flex: 1;
  margin: 0;
  text-align: center;
}
.download-card .btn {
  align-self: stretch;
  margin-top: auto;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  border-radius: 9px;
  justify-content: center;
  text-align: center;
}
.download-linux {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px dashed rgba(37, 99, 235, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.download-linux h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.download-linux p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.25rem; }
.download-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.mini-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .mini-cards { grid-template-columns: repeat(3, 1fr); }
}
.mini-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
}
.mini-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.mini-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* Features page hero */
.features-hero {
  position: relative;
  min-height: clamp(420px, 48vw, 500px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #F3F7FC;
  background:
    radial-gradient(ellipse 46% 70% at 88% 42%, rgba(34, 211, 238, 0.16), transparent 58%),
    radial-gradient(ellipse 36% 55% at 12% 78%, rgba(37, 99, 235, 0.2), transparent 52%),
    linear-gradient(120deg, #08162D, #0B304D);
}
.features-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(148, 196, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 196, 255, 0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 75% at 72% 45%, #000 18%, transparent 78%);
}
.features-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: 42%;
  bottom: -18%;
  height: 55%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 40% 40%, rgba(34, 211, 238, 0.12), transparent 70%);
  opacity: 0.9;
}
.features-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  width: min(100% - 2rem, var(--wrap));
  padding: clamp(2.25rem, 4vw, 3.35rem) 0;
}
@media (min-width: 960px) {
  .features-hero-grid {
    grid-template-columns: 0.98fr 1.02fr;
    gap: 1.5rem;
  }
}
.features-hero-copy .breadcrumb { margin-bottom: 1rem; }
.features-hero-copy .eyebrow {
  color: #22D3EE;
  margin: 0;
}
.features-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #fff;
  margin-top: 0.7rem;
  max-width: 14em;
  text-wrap: balance;
}
.features-hero-kicker {
  margin-top: 0.85rem;
  max-width: 34rem;
  color: #9FD8F0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
  line-height: 1.45;
}
.features-hero-copy .page-lead {
  margin-top: 0.85rem;
  color: #B8C9E0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}
.features-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.features-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 650;
  color: #E8F4FF;
}
.features-hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 680px);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.features-hero-glow {
  position: absolute;
  inset: 12% 4% 8% 10%;
  background: radial-gradient(circle at 48% 52%, rgba(34, 211, 238, 0.26), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.features-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.35));
}
@media (min-width: 960px) {
  .features-hero-visual {
    width: calc(100% + 3rem);
    margin-right: -1.75rem;
    margin-left: 0.5rem;
  }
  .features-hero-visual img {
    width: 108%;
    max-width: none;
    transform: translateX(2%);
  }
}

/* Features page modules */
.feat-module { padding: var(--section-y) 0; }
.feat-module .feature-split { align-items: center; }
.feat-charts {
  background:
    radial-gradient(ellipse 40% 45% at 12% 20%, rgba(37, 99, 235, 0.06), transparent 55%),
    #F7FAFE;
}
.feat-charts .feature-split { align-items: center; }
@media (min-width: 960px) {
  .feat-charts .feature-split {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.25rem;
    align-items: center;
  }
}
.feat-charts-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 18px 40px rgba(13, 33, 66, 0.1);
  background: #fff;
}
.feat-charts-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.feat-charts-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-width: 0;
}
.feat-charts-copy .eyebrow {
  color: var(--blue);
  margin: 0;
}
.feat-charts-copy .section-title {
  margin: 0;
  color: #0D1B36;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  max-width: none;
  letter-spacing: -0.028em;
  line-height: 1.25;
}
@media (min-width: 960px) {
  .feat-charts-copy .section-title {
    white-space: nowrap;
    font-size: clamp(1.22rem, 1.45vw, 1.48rem);
  }
}
.feat-charts-copy .section-lead {
  margin: 0;
  color: #5B6F8C;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.feat-charts-extra {
  margin: 0;
  max-width: 38rem;
  color: #5B6F8C;
  font-size: 0.92rem;
  line-height: 1.55;
}
.feat-stat-cards {
  display: grid;
  gap: 0.65rem;
  margin: 0.15rem 0 0;
}
@media (min-width: 640px) {
  .feat-stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feat-stat-card {
  padding: 0.8rem 0.75rem 0.85rem;
  border-radius: 14px;
  background: #EAF2FF;
  border: 1px solid rgba(37, 99, 235, 0.12);
}
.feat-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #2563EB;
}
.feat-stat-card h3 {
  margin: 0.35rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0D1B36;
  line-height: 1.25;
}
.feat-stat-card p {
  margin: 0;
  color: #5B6F8C;
  font-size: 0.72rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-charts-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.feat-charts-tags span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: #1E3A5F;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.feat-charts-actions {
  margin: 0.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.feat-charts-note {
  margin: 0;
  max-width: 28rem;
  color: #6B7C94;
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Features module 02 — orders (same right-side pattern as module 01) */
.feat-orders {
  background:
    radial-gradient(ellipse 40% 45% at 12% 20%, rgba(37, 99, 235, 0.05), transparent 55%),
    #F4F8FD;
}
.feat-orders .feature-split { align-items: center; }
@media (min-width: 960px) {
  .feat-orders .feature-split {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.25rem;
  }
}
.feat-orders-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-width: 0;
}
.feat-orders-copy .eyebrow {
  color: var(--blue);
  margin: 0;
}
.feat-orders-copy .section-title {
  margin: 0;
  color: #0D1B36;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  letter-spacing: -0.028em;
  line-height: 1.25;
  max-width: none;
}
@media (min-width: 960px) {
  .feat-orders-copy .section-title {
    white-space: nowrap;
    font-size: clamp(1.22rem, 1.45vw, 1.48rem);
  }
}
.feat-orders-copy .section-lead {
  margin: 0;
  color: #5B6F8C;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.feat-orders-copy .feat-stat-card h3 {
  margin-top: 0;
}
.feat-orders-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 18px 40px rgba(13, 33, 66, 0.1);
  background: #fff;
}
.feat-orders-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features module 05 — extensions */
.feat-extensions {
  background: linear-gradient(180deg, #F2F7FF 0%, #EAF3FF 100%);
}
.ext-intro {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.ext-intro .eyebrow {
  color: var(--blue);
  margin: 0;
}
.ext-intro .section-title {
  margin: 0.75rem auto 0;
  color: #0D1B36;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.22;
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 719px) {
  .ext-intro .section-title {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  }
}
.ext-kicker {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: #2563EB;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 650;
  line-height: 1.45;
}
.ext-intro .section-lead {
  margin: 0.95rem auto 0;
  color: #5B6F8C;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.65;
}
.ext-extra {
  margin: 0.75rem auto 0;
  max-width: 44rem;
  color: #5B6F8C;
  font-size: 0.98rem;
  line-height: 1.65;
}
.ext-cards {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .ext-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.ext-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 12px 28px rgba(13, 33, 66, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.ext-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 36px rgba(13, 33, 66, 0.12);
}
.ext-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ext-card-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2563EB;
}
.ext-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #2563EB;
  background: linear-gradient(145deg, #DBEAFE, #EFF6FF);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}
.ext-card-icon--cyan {
  color: #0891B2;
  background: linear-gradient(145deg, #CFFAFE, #ECFEFF);
  box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.14);
}
.ext-card-icon--indigo {
  color: #4F46E5;
  background: linear-gradient(145deg, #E0E7FF, #EEF2FF);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.14);
}
.ext-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0D1B36;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ext-card-sub {
  margin: 0 !important;
  color: #2563EB !important;
  font-size: 0.9rem !important;
  font-weight: 650;
  line-height: 1.4 !important;
}
.ext-card > p {
  margin: 0;
  color: #5B6F8C;
  font-size: 0.88rem;
  line-height: 1.58;
}
.ext-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.45rem;
}
.ext-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #1E3A5F;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.ext-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 14px 32px rgba(13, 33, 66, 0.06);
}
.ext-cta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: #0D1B36;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ext-cta > p:not(.ext-risk) {
  margin: 0.75rem auto 0;
  max-width: none;
  width: fit-content;
  color: #5B6F8C;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: nowrap;
}
@media (max-width: 719px) {
  .ext-cta > p:not(.ext-risk) {
    white-space: normal;
    max-width: 36rem;
    width: auto;
    text-wrap: pretty;
  }
}
.ext-cta .btn {
  margin-top: 1.15rem;
}
.ext-risk {
  margin: 1rem auto 0 !important;
  max-width: 42rem;
  color: #6B7C94 !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  white-space: normal;
}
.feat-points {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.feat-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.feat-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.chart-mock {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21, 197, 216, 0.08), transparent 40%),
    linear-gradient(165deg, #0F2344, #08162C);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
}
.chart-mock-bar {
  height: 12px;
  width: 38%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}
.chart-lines {
  position: absolute;
  inset: 28% 8% 18% 8%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,0.04) 8% 8.5%, transparent 8.5%),
    linear-gradient(90deg, transparent 0 28%, rgba(255,255,255,0.04) 28% 28.5%, transparent 28.5%),
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,0.04) 48% 48.5%, transparent 48.5%),
    linear-gradient(90deg, transparent 0 68%, rgba(255,255,255,0.04) 68% 68.5%, transparent 68.5%),
    linear-gradient(90deg, transparent 0 88%, rgba(255,255,255,0.04) 88% 88.5%, transparent 88.5%);
}
.chart-path {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 22%;
  height: 42%;
  background:
    linear-gradient(115deg, transparent 10%, rgba(21, 197, 216, 0.9) 10.4%, transparent 10.8%),
    linear-gradient(100deg, transparent 28%, rgba(59, 130, 246, 0.85) 28.4%, transparent 28.8%),
    linear-gradient(95deg, transparent 46%, rgba(21, 197, 216, 0.9) 46.4%, transparent 46.8%),
    linear-gradient(110deg, transparent 64%, rgba(96, 165, 250, 0.9) 64.4%, transparent 64.8%),
    linear-gradient(90deg, transparent 80%, rgba(21, 197, 216, 0.95) 80.4%, transparent 80.8%);
  filter: drop-shadow(0 0 8px rgba(21, 197, 216, 0.45));
  opacity: 0.95;
  clip-path: polygon(0 70%, 12% 55%, 24% 62%, 36% 40%, 48% 48%, 60% 28%, 72% 35%, 84% 18%, 100% 25%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(21, 197, 216, 0.45), rgba(37, 99, 235, 0.08));
}
.chart-path::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--cyan);
  clip-path: polygon(0 70%, 12% 55%, 24% 62%, 36% 40%, 48% 48%, 60% 28%, 72% 35%, 84% 18%, 100% 25%, 100% 26%, 84% 19%, 72% 36%, 60% 29%, 48% 49%, 36% 41%, 24% 63%, 12% 56%, 0 71%);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(243, 247, 252, 0.72);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.9fr 0.9fr 1.2fr;
    gap: 2rem;
  }
}
.contact-block .contact-line {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(243, 247, 252, 0.65);
}
.contact-block .contact-line:last-child { margin-bottom: 0; }
.contact-block .contact-k {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(243, 247, 252, 0.42);
}
.contact-block .contact-v {
  color: rgba(243, 247, 252, 0.78);
  word-break: break-word;
}
.contact-block a.contact-v:hover { color: var(--cyan); }
.footer-brand .logo-img {
  filter: none;
  height: 36px;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 28rem;
  line-height: 1.7;
}
.footer-brand p + p { margin-top: 0.65rem; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F3F7FC;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(243, 247, 252, 0.65);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(243, 247, 252, 0.48);
}
.disclaimer { max-width: 58rem; }

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.download-card[data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.download-card:hover,
.download-card[data-reveal].is-in:hover {
  transform: translateY(-12px) scale(1.06);
}
[data-reveal="2"] { transition-delay: 0.08s; }
[data-reveal="3"] { transition-delay: 0.16s; }

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-h) - 280px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.04em;
  color: var(--blue);
}
.error-page p { margin: 1rem auto 1.75rem; max-width: 28rem; color: var(--ink-soft); }

@media (max-width: 640px) {
  .btn { min-height: 50px; }
  .hero-title { max-width: none; }
  .hero-frame { transform: none; animation: none; }
}

/* Privacy policy */
.privacy-updated {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.privacy-prose {
  max-width: 46rem;
  display: grid;
  gap: 1.75rem;
}
.privacy-prose article h2,
.privacy-note h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.privacy-prose p,
.privacy-prose li,
.privacy-note p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.privacy-prose p + p,
.privacy-prose ul { margin-top: 0.65rem; }
.privacy-prose ul {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}
.privacy-prose a { color: var(--blue); }
.privacy-prose a:hover { text-decoration: underline; }
.privacy-note {
  margin-top: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--blue);
  background: rgba(37, 99, 235, 0.06);
}
