/* QUANTUM_EDITORIAL_DARK_V2_1 */
:root {
  --paper: #0b1018;
  --paper-2: #121a26;
  --white: #111925;
  --ink: #f4f7fb;
  --ink-soft: #a8b3c3;
  --line: #293547;
  --blue: #7187ff;
  --blue-dark: #5369db;
  --blue-pale: #1a2744;
  --mint: #53d8a2;
  --mint-dark: #4bd49c;
  --coral: #ff7964;
  --yellow: #f3cf72;
  --danger: #ff6b65;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --site: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 24, 0.9);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: var(--site);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(40, 89, 255, 0.25);
}
.brand-symbol::before,
.brand-symbol::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
}
.brand-symbol::before { width: 22px; height: 10px; transform: rotate(24deg); }
.brand-symbol::after { width: 11px; height: 22px; transform: rotate(24deg); }
.brand small {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}
.menu-button span::before { transform: translateY(-6px); }
.menu-button span::after { transform: translateY(4px); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(40, 89, 255, 0.24);
}
.button-primary:hover { background: var(--blue-dark); }
.button-dark { color: #fff; background: var(--ink); }
.button-light { border-color: var(--line); background: var(--white); }
.button-quiet { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; }
.button-small { min-height: 40px; padding: 0 14px; }
.button.full { width: 100%; }

.hero {
  width: var(--site);
  margin: 0 auto;
  min-height: 720px;
  padding: 92px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  gap: 72px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.6vw, 108px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .92;
}
.hero h1 em,
.page-hero h1 em {
  color: var(--blue);
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.market-stage {
  position: relative;
  min-height: 560px;
}
.market-window {
  position: absolute;
  inset: 20px 0 30px 24px;
  overflow: hidden;
  border: 1px solid #2d394b;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}
.market-toolbar {
  min-height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #263244;
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #526073; }
.market-label { color: var(--ink-soft); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--mint-dark); font-size: 12px; font-weight: 900; }
.live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(97,210,161,.16); animation: livePulse 1.8s ease-out infinite; }
.market-body { padding: 26px; }
.quote-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.quote-symbol strong { display: block; font-size: 32px; letter-spacing: -.04em; }
.quote-symbol span { color: var(--ink-soft); font-size: 13px; }
.quote-price { text-align: right; }
.quote-price strong { display: block; font-size: 30px; letter-spacing: -.04em; }
.quote-price span { color: var(--mint-dark); font-size: 13px; font-weight: 850; }
.chart {
  position: relative;
  height: 275px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(180deg, #0d1625, #101c2d);
  background-size: 100% 55px, 64px 100%, auto;
}
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawLine 4s ease forwards, floatLine 5s ease-in-out 4s infinite; }
.chart-area { fill: url(#areaFade); opacity: .6; }
.chart-dot { fill: var(--blue); animation: dotPulse 1.8s ease-in-out infinite; }
.chart-order {
  position: absolute;
  right: 18px;
  top: 58px;
  padding: 8px 11px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(40,89,255,.24);
}
.market-footer { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { padding: 14px; border: 1px solid #2a3648; border-radius: 14px; background: #141e2d; }
.metric span { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.metric strong { display: block; margin-top: 5px; font-size: 16px; }
.floating-note {
  position: absolute;
  right: -28px;
  bottom: 0;
  width: 225px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(18,32,45,.24);
  animation: noteFloat 4s ease-in-out infinite;
}
.floating-note span { display: block; color: #aab5be; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.floating-note strong { display: block; margin-top: 6px; font-size: 17px; }
.floating-note small { display: block; margin-top: 7px; color: #d8e0e6; line-height: 1.45; }

.section { padding: 106px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: var(--white); }
.section-blue { color: #fff; background: var(--blue); }
.section-ink { color: #fff; background: var(--ink); }
.section-shell { width: var(--site); margin: 0 auto; }
.section-heading {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}
.section-number { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-blue .section-number,
.section-ink .section-number { color: var(--mint); }
.section-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.section-intro { max-width: 670px; margin: 20px 0 0; color: var(--ink-soft); font-size: 18px; }
.section-blue .section-intro { color: rgba(255,255,255,.78); }
.section-ink .section-intro { color: #bac4cc; }

.operating-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.operating-steps { border-top: 1px solid var(--line); }
.operating-step { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.operating-step b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-pale); font-size: 12px; }
.operating-step h3 { margin: 0 0 5px; font-size: 19px; }
.operating-step p { margin: 0; color: var(--ink-soft); }
.system-illustration { position: relative; min-height: 500px; border-radius: var(--radius-xl); background: var(--paper-2); overflow: hidden; }
.system-illustration::before { content: ""; position: absolute; width: 440px; height: 440px; right: -90px; top: -100px; border-radius: 50%; border: 1px solid rgba(40,89,255,.25); box-shadow: 0 0 0 60px rgba(40,89,255,.05), 0 0 0 120px rgba(40,89,255,.035); }
.system-card { position: absolute; border: 1px solid #2c3849; border-radius: 18px; background: var(--white); box-shadow: 0 18px 40px rgba(18,32,45,.1); }
.system-card.top { top: 58px; left: 48px; width: calc(100% - 96px); padding: 24px; }
.system-card.bottom { right: 42px; bottom: 44px; width: 58%; padding: 22px; }
.system-card.side { left: 40px; bottom: 70px; width: 34%; padding: 20px; color: #fff; background: var(--blue); border-color: transparent; }
.mini-kicker { color: var(--ink-soft); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.system-card.side .mini-kicker { color: rgba(255,255,255,.68); }
.system-card h3 { margin: 9px 0 0; font-size: 23px; letter-spacing: -.03em; }
.scan-line { height: 8px; margin-top: 20px; border-radius: 999px; background: #273244; overflow: hidden; }
.scan-line::after { content: ""; display: block; width: 35%; height: 100%; border-radius: inherit; background: var(--mint); animation: scanner 2.2s ease-in-out infinite alternate; }
.mini-chart { height: 112px; margin-top: 18px; display: flex; align-items: flex-end; gap: 9px; }
.mini-chart i { flex: 1; min-width: 7px; border-radius: 5px 5px 0 0; background: var(--blue-pale); animation: barMove 2.4s ease-in-out infinite; }
.mini-chart i:nth-child(2n) { background: #6479c9; animation-delay: -.6s; }
.mini-chart i:nth-child(3n) { background: var(--mint); animation-delay: -1.2s; }
.mini-chart i:nth-child(1) { height: 34%; }.mini-chart i:nth-child(2) { height: 58%; }.mini-chart i:nth-child(3) { height: 45%; }.mini-chart i:nth-child(4) { height: 76%; }.mini-chart i:nth-child(5) { height: 62%; }.mini-chart i:nth-child(6) { height: 88%; }.mini-chart i:nth-child(7) { height: 55%; }.mini-chart i:nth-child(8) { height: 70%; }

.product-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.product-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 84px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.product-copy p { max-width: 600px; color: rgba(255,255,255,.78); font-size: 18px; }
.price-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.price-chip { padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; }
.price-chip span { display: block; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.price-chip strong { display: block; margin-top: 7px; font-size: 25px; }
.product-panel { position: relative; min-height: 480px; border-radius: var(--radius-xl); color: var(--ink); background: var(--white); overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.product-panel-head { padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.product-panel-body { padding: 26px; }
.product-control { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.product-control span { padding: 13px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 900; background: var(--paper-2); }
.product-control span:nth-child(1) { color: #fff; background: var(--coral); }
.product-control span:nth-child(3) { color: #fff; background: var(--mint-dark); }
.product-control span:last-child { grid-column: 1/-1; color: var(--ink); background: var(--yellow); }
.product-status { margin-top: 18px; padding: 22px; border-radius: 16px; color: #fff; background: var(--ink); }
.product-status b { display: block; color: var(--mint); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.product-status strong { display: block; margin-top: 10px; font-size: 20px; line-height: 1.25; }
.product-status p { margin: 7px 0 0; color: #b8c2ca; font-size: 13px; }
.product-orbit { position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border: 1px solid rgba(40,89,255,.2); border-radius: 50%; box-shadow: 0 0 0 40px rgba(40,89,255,.04), 0 0 0 80px rgba(40,89,255,.025); }

.journal-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.journal-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.journal-copy p { color: var(--ink-soft); font-size: 18px; }
.link-list { margin-top: 28px; border-top: 1px solid var(--line); }
.link-row { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.link-row span { color: var(--ink-soft); font-size: 13px; }
.link-row strong { font-size: 16px; }
.link-row b { color: var(--blue); font-size: 22px; }
.journal-shot { padding: 14px; border-radius: 26px; background: var(--ink); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.journal-shot img { display: block; width: 100%; border-radius: 16px; }

.split-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.feature-pane { min-height: 430px; padding: 54px; background: var(--white); }
.feature-pane:nth-child(2) { background: var(--paper-2); }
.feature-pane h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 44px; font-weight: 500; letter-spacing: -.04em; }
.feature-pane p { color: var(--ink-soft); font-size: 17px; }
.feature-pane .big-number { display: block; margin: 46px 0 8px; color: var(--blue); font-size: 60px; font-weight: 850; letter-spacing: -.05em; }

.footer { padding: 60px 0 30px; color: #fff; background: var(--ink); }
.footer-shell { width: var(--site); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer h2 { margin: 0; max-width: 700px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.footer h2 em { color: var(--mint); font-style: italic; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; align-content: start; }
.footer-links a { color: #d3dbe1; text-decoration: none; font-size: 14px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; color: #9eabb5; font-size: 12px; }
.footer-risk { max-width: 760px; }

/* product page */
.page-hero-wrap { background: var(--white); }
.page-hero {
  width: var(--site);
  margin: 0 auto;
  padding: 88px 0 90px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 76px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(56px, 7vw, 96px); }
.page-hero .hero-lead { font-size: 19px; }
.ea-photo-frame { position: relative; padding: 14px; border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.ea-photo-frame img { display: block; width: 100%; border-radius: 18px; }
.photo-label { position: absolute; left: 30px; bottom: 30px; padding: 12px 15px; border-radius: 12px; color: #fff; background: rgba(18,32,45,.92); backdrop-filter: blur(10px); font-size: 12px; font-weight: 850; }

.plan-section { padding: 96px 0; }
.plans { width: var(--site); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan { position: relative; min-height: 510px; padding: 42px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; background: var(--white); overflow: hidden; }
.plan.featured { color: #fff; border-color: var(--blue); background: var(--blue); }
.plan-tag { display: inline-flex; align-self: flex-start; padding: 7px 10px; border-radius: 8px; color: var(--blue); background: var(--blue-pale); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.plan.featured .plan-tag { color: var(--ink); background: var(--mint); }
.plan h2 { margin: 28px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 46px; font-weight: 500; letter-spacing: -.04em; }
.plan-price { margin: 22px 0; font-size: 58px; font-weight: 850; letter-spacing: -.06em; }
.plan-price small { font-size: 15px; letter-spacing: 0; font-weight: 700; }
.plan p { color: var(--ink-soft); }
.plan.featured p { color: rgba(255,255,255,.8); }
.plan ul { margin: 24px 0 36px; padding: 0; list-style: none; }
.plan li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid rgba(18,32,45,.1); }
.plan.featured li { border-color: rgba(255,255,255,.16); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); font-weight: 900; }
.plan.featured li::before { color: var(--mint); }
.plan .button { margin-top: auto; }

.account-routes { width: var(--site); margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; }
.account-routes h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.route-list { border-top: 1px solid var(--line); }
.route { padding: 28px 0; display: grid; grid-template-columns: 130px 1fr; gap: 28px; border-bottom: 1px solid var(--line); }
.route strong { color: var(--blue); font-size: 30px; letter-spacing: -.04em; }
.route h3 { margin: 0 0 8px; font-size: 22px; }
.route p { margin: 0; color: var(--ink-soft); }

.content-columns { width: var(--site); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.text-column { padding-top: 28px; border-top: 2px solid var(--ink); }
.text-column h3 { margin: 0 0 15px; font-size: 26px; }
.text-column p, .text-column li { color: var(--ink-soft); }
.text-column ul { padding-left: 20px; }

.payment-area { color: #fff; background: var(--ink); }
.payment-shell { width: var(--site); margin: 0 auto; }
.payment-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-bottom: 48px; }
.payment-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5vw, 74px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.payment-head p { margin: 0; color: #b8c3cb; font-size: 18px; }
.payment-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.payment-card { padding: 32px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.045); }
.payment-card h3 { margin: 10px 0; font-size: 27px; }
.payment-card p { color: #b8c3cb; }
.payment-card .price { display: block; margin: 24px 0; color: var(--mint); font-size: 44px; font-weight: 850; letter-spacing: -.04em; }
.payment-note { margin-top: 22px; color: #aeb9c1; font-size: 13px; }

.dialog {
  width: min(720px, calc(100% - 28px));
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 32px 120px rgba(0,0,0,.35);
}
.dialog::backdrop { background: rgba(18,32,45,.72); backdrop-filter: blur(6px); }
.dialog-inner { padding: 30px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dialog h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; letter-spacing: -.035em; }
.dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.qr-grid { margin-top: 24px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.qr-box { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qr-box img { display: block; width: 100%; }
.wallet { padding: 16px; border-radius: 14px; background: var(--paper-2); }
.wallet span { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wallet code { display: block; margin-top: 8px; word-break: break-all; font-size: 14px; }
.dialog-steps { margin: 22px 0 0; padding-left: 22px; color: var(--ink-soft); }
.dialog-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(97,210,161,.38); } 100% { box-shadow: 0 0 0 12px rgba(97,210,161,0); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes floatLine { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes dotPulse { 0%,100% { r: 7; opacity: 1; } 50% { r: 11; opacity: .55; } }
@keyframes noteFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes scanner { from { transform: translateX(-15%); } to { transform: translateX(185%); } }
@keyframes barMove { 0%,100% { transform: scaleY(.86); } 50% { transform: scaleY(1.08); } }

@media (max-width: 980px) {
  .nav-links { display: none; position: fixed; left: 20px; right: 20px; top: 88px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-button { display: block; }
  .nav-actions .button { display: none; }
  .hero, .page-hero { grid-template-columns: 1fr; gap: 54px; min-height: auto; }
  .market-stage { min-height: 540px; }
  .section-heading, .payment-head { grid-template-columns: 1fr; gap: 18px; }
  .operating-grid, .product-band, .journal-layout, .account-routes { grid-template-columns: 1fr; }
  .journal-shot { transform: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --site: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 68px; }
  .brand small { display: none; }
  .hero { padding: 60px 0 58px; }
  .hero h1, .page-hero h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-lead { font-size: 17px; }
  .market-stage { min-height: 470px; }
  .market-window { inset: 0 0 38px; }
  .market-body { padding: 18px; }
  .chart { height: 220px; }
  .market-footer { grid-template-columns: 1fr; }
  .metric:nth-child(2), .metric:nth-child(3) { display: none; }
  .floating-note { right: -6px; width: 190px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 44px; }
  .system-illustration { min-height: 480px; }
  .system-card.top { left: 20px; right: 20px; width: auto; }
  .system-card.side { left: 20px; bottom: 38px; width: 43%; }
  .system-card.bottom { right: 20px; bottom: 24px; width: 52%; }
  .price-pair, .plans, .split-feature, .content-columns, .payment-cards { grid-template-columns: 1fr; }
  .product-panel { min-height: 420px; }
  .feature-pane { min-height: 340px; padding: 34px 26px; }
  .feature-pane h3 { font-size: 36px; }
  .page-hero { padding: 58px 0 70px; }
  .plan { min-height: 470px; padding: 30px 24px; }
  .route { grid-template-columns: 1fr; gap: 8px; }
  .payment-head { margin-bottom: 34px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-box { max-width: 250px; }
  .footer-bottom { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr; }
}

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


/* QUANTUM_EDITORIAL_DARK_V2_1 */
body {
  background:
    radial-gradient(circle at 12% 5%, rgba(113, 135, 255, 0.10), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(83, 216, 162, 0.07), transparent 24%),
    var(--paper);
}
.site-header { box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.button-light { color: var(--ink); }
.button-dark,
.floating-note,
.section-ink,
.product-status,
.footer,
.ea-photo-frame,
.journal-shot,
.payment-area { background: #070b12; }
.section-white { background: #0f1622; }
.section-blue { background: #1a2858; }
.market-window,
.system-card,
.product-panel,
.feature-pane,
.plan,
.dialog,
.nav-links { background: var(--white); }
.market-window { box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.market-toolbar { border-bottom-color: var(--line); }
.chart { box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.metric { color: var(--ink); }
.floating-note { box-shadow: 0 18px 42px rgba(0,0,0,.42); }
.system-card { box-shadow: 0 18px 40px rgba(0,0,0,.30); }
.system-card.side { background: #23366f; }
.product-panel { color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.product-control span:last-child { color: #10151d; }
.product-control span:nth-child(3) { color: #06120d; }
.product-status { color: #fff; }
.product-status p { color: #aeb8c5; }
.page-hero-wrap { background: #0f1622; }
.plan.featured { background: #23366f; border-color: #7187ff; }
.plan.featured .plan-tag { color: #08110d; }
.text-column { border-top-color: #7187ff; }
.payment-card { background: rgba(255,255,255,.055); }
.dialog::backdrop { background: rgba(3,7,13,.82); }
.dialog-close { background: #182231; }
.qr-box { background: #fff; }
.wallet { background: #182231; }
.photo-label { background: rgba(7,11,18,.92); }
.window-dots i { background: #526073; }
.footer-links a { color: #cbd4df; }
.footer-bottom { color: #8f9cac; }
@media (max-width: 980px) {
  .nav-links { background: #111925; }
}


/* QUANTUM_EDITORIAL_DARK_V2_4_PAYMENT_QR_FIX */
.dialog {
  width: min(760px, calc(100% - 28px));
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.dialog-inner { padding: 26px; }
.dialog h2 { font-size: clamp(30px, 4vw, 38px); }
.qr-grid {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.qr-box {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12px;
  overflow: hidden;
}
.qr-box img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.dialog-steps { margin-top: 18px; }
.dialog-actions { margin-top: 20px; }

@media (max-width: 720px) {
  .dialog {
    width: calc(100% - 18px);
    max-height: 92dvh;
    border-radius: 20px;
  }
  .dialog-inner { padding: 20px; }
  .dialog-head { gap: 12px; }
  .dialog h2 { font-size: 32px; line-height: 1.08; }
  .dialog-close { flex: 0 0 40px; }
  .qr-grid { grid-template-columns: 1fr; gap: 16px; }
  .qr-box { width: 210px; margin: 0 auto; }
  .dialog-actions .button { width: 100%; }
}
