/* =========================================================
   AI Trading — public website
   Tokenized light/dark design system, multilingual shell
   ========================================================= */
:root {
  --header-h: 88px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lg: 22px;
  --md: 16px;
  --sm: 12px;
  --gradient: linear-gradient(112deg, #6892ff 0%, #44d8ee 50%, #5be3b4 100%);
  --green: #2bd9a3;
  --red: #ee6b7d;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060a10;
  --bg-soft: #09111a;
  --surface: #0c1520;
  --surface-2: #101c29;
  --surface-glass: rgba(13, 23, 34, .84);
  --surface-soft: rgba(16, 29, 42, .5);
  --text: #f2f6fa;
  --text-soft: #c7d4df;
  --muted: #94a8ba;
  --dim: #7b8fa1;
  --line: rgba(151, 183, 209, .12);
  --line-strong: rgba(157, 190, 218, .23);
  --accent: #5de3b4;
  --accent-strong: #31d5a2;
  --accent-soft: rgba(84, 229, 179, .08);
  --accent-contrast: #04130e;
  --blue: #83a6ff;
  --blue-soft: rgba(103, 145, 255, .09);
  --green: #55e3b0;
  --red: #ff7c8b;
  --danger: #ff7d8e;
  --danger-soft: rgba(255, 125, 142, .08);
  --amber: #edc77c;
  --amber-soft: rgba(237, 199, 124, .08);
  --button-bg: #eef6f4;
  --button-text: #071510;
  --button-hover: #ffffff;
  --header-bg: rgba(6, 10, 16, .78);
  --grid: rgba(148, 179, 204, .04);
  --grid-opacity: .7;
  --halo-a: rgba(66, 118, 205, .22);
  --halo-b: rgba(52, 211, 183, .07);
  --shadow: 0 30px 80px rgba(0, 0, 0, .36);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, .18);
  --hero-glass: rgba(12, 21, 33, .68);
  --hero-sheen: rgba(255, 255, 255, .08);
  --hero-edge: rgba(255, 255, 255, .24);
  --hero-shadow: rgba(0, 0, 0, .62);
  --hero-glare: rgba(255, 255, 255, .13);
  --chart-axis: #6f8398;
  --chart-grid: rgba(140, 171, 196, .11);
  --chart-up: #55e3b0;
  --chart-down: #ff7b8a;
  --candle-up: #44e5a4;
  --candle-down: #ff7b8a;
  --chart-level: #5be3b4;
  --chart-stop: #ff6f82;
  --chart-entry: #5be3b4;
  --chart-cross: #ffffff;
  --chart-tooltip-bg: rgba(7, 13, 20, .97);
  --chart-tooltip-text: #e5eef6;
  --noise-opacity: .022;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f9;
  --bg-soft: #eef3f6;
  --surface: #ffffff;
  --surface-2: #f8fbfc;
  --surface-glass: rgba(255, 255, 255, .93);
  --surface-soft: rgba(255, 255, 255, .80);
  --text: #0b1824;
  --text-soft: #243b4d;
  --muted: #405a6d;
  --dim: #526a7c;
  --line: rgba(14, 39, 56, .16);
  --line-strong: rgba(14, 39, 56, .28);
  --accent: #06745b;
  --accent-strong: #005943;
  --accent-soft: rgba(6, 116, 91, .09);
  --accent-contrast: #ffffff;
  --green: #06745b;
  --red: #bd3d50;
  --gradient: linear-gradient(112deg, #1f4fbe 0%, #006f86 50%, #006b52 100%);
  --blue: #2e58c7;
  --blue-soft: rgba(46, 88, 199, .09);
  --danger: #b83a4d;
  --danger-soft: rgba(184, 58, 77, .08);
  --amber: #86580a;
  --amber-soft: rgba(134, 88, 10, .09);
  --button-bg: #0b1824;
  --button-text: #f7fbfd;
  --button-hover: #1a2b3a;
  --header-bg: rgba(250, 252, 253, .90);
  --grid: rgba(16, 46, 66, .055);
  --grid-opacity: .55;
  --halo-a: rgba(77, 127, 220, .12);
  --halo-b: rgba(40, 191, 155, .07);
  --shadow: 0 30px 70px rgba(24, 53, 74, .14);
  --shadow-soft: 0 16px 40px rgba(24, 53, 74, .10);
  --hero-glass: rgba(255, 255, 255, .84);
  --hero-sheen: rgba(255, 255, 255, .46);
  --hero-edge: rgba(255, 255, 255, .94);
  --hero-shadow: rgba(24, 53, 74, .22);
  --hero-glare: rgba(255, 255, 255, .42);
  --chart-axis: #3f5b6e;
  --chart-grid: rgba(15, 48, 69, .17);
  --chart-up: #087b5c;
  --chart-down: #bd3d50;
  --candle-up: #0ECB81;
  --candle-down: #F6465D;
  --chart-level: #056a54;
  --chart-stop: #b3394a;
  --chart-entry: #056a54;
  --chart-cross: #0b1824;
  --chart-tooltip-bg: rgba(255, 255, 255, .99);
  --chart-tooltip-text: #102231;
  --noise-opacity: .01;
}

.site-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 38% at 78% -4%, var(--halo-a), transparent 64%),
    radial-gradient(ellipse 42% 40% at 4% 28%, var(--halo-b), transparent 70%),
    var(--bg);
  color: var(--text);
  overflow-x: clip;
}
.site-body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
  opacity: var(--grid-opacity);
}
.site-body.menu-open { overflow: hidden; }
.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
#site-main, #site-footer { position: relative; z-index: 1; }
.skip-link { z-index: 1000; }
#site-header { z-index: 100; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--accent); color: var(--accent-contrast); }

.logo-for-light { display: none; }
:root[data-theme="light"] .logo-for-dark { display: none; }
:root[data-theme="light"] .logo-for-light { display: block; }

.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.site-body .positive { color: var(--green) !important; }
.site-body .negative { color: var(--red) !important; }

/* ---------- shared type & controls ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow .tick { width: 18px; height: 1px; background: currentColor; opacity: .6; }
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 10px rgba(85, 227, 176, .35);
  animation: pulse 2.4s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 227, 176, .28); }
  65% { box-shadow: 0 0 0 6px rgba(85, 227, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 227, 176, 0); }
}
.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.button .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.button.primary { background: var(--button-bg); color: var(--button-text); box-shadow: var(--shadow-soft); }
.button.primary:hover { background: var(--button-hover); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--text-soft); border-color: var(--line-strong); }
.button.secondary:hover { color: var(--text); border-color: var(--muted); background: var(--surface-soft); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 650;
  transition: color .2s;
}
.text-link .icon { width: 12px; height: 12px; transition: transform .2s; }
.text-link:hover { color: var(--accent); }
.text-link:hover .icon { transform: translateX(3px); }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
  transition: color .2s, border-color .2s, background .2s;
}
.icon-button:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.icon-button .icon { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.scrolled {
  background: var(--header-bg);
  border-color: var(--line);
  backdrop-filter: blur(24px) saturate(145%);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 39px; width: auto; }
.footer-logo { height: 35px; width: auto; }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 39px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: color .2s, background .2s;
}
.nav-trigger:hover { color: var(--text); background: var(--surface-soft); }
.nav-item.is-active .nav-trigger { color: var(--text); }
.nav-item.is-active .nav-trigger::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(85, 227, 176, .5);
}
.nav-trigger .icon { width: 12px; height: 12px; opacity: .5; transform: rotate(0deg); transition: transform .22s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 13px);
  left: 50%;
  width: 374px;
  transform: translateX(-50%);
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: dropdown-in .2s var(--ease) both;
}
.nav-item:nth-last-child(-n+2) .nav-panel { left: auto; right: 0; transform: none; }
@keyframes dropdown-in {
  from { opacity: 0; transform: translate(-50%, -5px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.nav-item:nth-last-child(-n+2) .nav-panel { animation-name: dropdown-in-right; }
@keyframes dropdown-in-right {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-item.mega-item { position: static; }
.nav-item.mega-item .nav-panel {
  top: calc(var(--header-h) + 10px);
  left: 50%;
  right: auto;
  width: min(1120px, calc(100vw - 44px));
  transform: translateX(-50%);
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  animation: mega-in .22s var(--ease) both;
}
@keyframes mega-in {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.mega-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.mega-head .mono { color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.mega-head p { color: var(--muted); font-size: 11px; line-height: 1.4; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 10px 12px 14px;
}
.mega-col { min-width: 0; padding: 10px 14px; border-right: 1px solid var(--line); }
.mega-col:last-child { border-right: 0; }
.mega-col-head { display: flex; align-items: center; gap: 8px; padding: 3px 7px 9px; color: var(--text-soft); font-size: 11.5px; font-weight: 650; }
.mega-col-head .mono { color: var(--dim); font-size: 6.5px; font-weight: 400; }
.mega-links { display: flex; flex-direction: column; gap: 1px; }
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
  transition: color .2s, background .2s;
}
.mega-link .icon { width: 10px; height: 10px; color: var(--dim); opacity: .7; transition: transform .2s, color .2s; }
.mega-link:hover, .mega-link.active { color: var(--text); background: var(--surface-soft); }
.mega-link:hover .icon, .mega-link.active .icon { color: var(--accent); transform: translateX(2px); }
.nav-direct { text-decoration: none; }
.nav-direct.is-active { color: var(--text); }
.nav-direct.is-active::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(85, 227, 176, .5);
}
.nav-panel-head { padding: 12px 10px 10px; border-bottom: 1px solid var(--line); }
.nav-panel-head .mono { color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.nav-panel-head p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.nav-page-list { padding: 5px; }
.nav-page {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 13px;
  align-items: center;
  gap: 9px;
  padding: 9px 9px;
  border-radius: 7px;
  transition: background .2s;
}
.nav-page:hover, .nav-page.active { background: var(--surface-soft); }
.nav-page-num { color: var(--dim); font-size: 7px; }
.nav-page-copy b { display: block; color: var(--text-soft); font-size: 11.5px; font-weight: 650; line-height: 1.3; }
.nav-page-copy small { display: block; margin-top: 3px; color: var(--dim); font-size: 9.5px; line-height: 1.35; }
.nav-page > .icon { width: 11px; height: 11px; color: var(--dim); transition: transform .2s, color .2s; }
.nav-page:hover .icon, .nav-page.active .icon { color: var(--accent); transform: translateX(2px); }
.nav-page.active .nav-page-num { color: var(--accent); }
.nav-page.active .nav-page-copy b { color: var(--text); }

.header-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 600;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-trigger:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.lang-trigger .flag { width: 19px; height: 13px; border-radius: 3px; object-fit: cover; }
.lang-trigger .icon { width: 10px; height: 10px; margin-left: 1px; opacity: .6; transition: transform .2s; }
.lang-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.flag { display: inline-block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  width: 190px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: dropdown-in-right .18s var(--ease) both;
}
.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  transition: background .2s, color .2s;
}
.lang-option:hover { color: var(--text); background: var(--surface-soft); }
.lang-option.active { color: var(--text); background: var(--accent-soft); }
.lang-option .icon { width: 11px; height: 11px; margin-left: auto; color: var(--accent); }
.account-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 39px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.account-cta:hover { background: var(--button-hover); transform: translateY(-1px); }
.account-cta .icon { width: 12px; height: 12px; }
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
}
.menu-button:hover { color: var(--text); border-color: var(--line-strong); }
.menu-button .icon { width: 17px; height: 17px; }

/* mobile menu */
.mobile-menu {
  position: fixed;
  z-index: 90;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--line);
  animation: menu-in .24s var(--ease) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner { padding: 23px 0 35px; }
.mobile-menu-label { color: var(--dim); font-size: 7.5px; letter-spacing: .12em; margin-bottom: 12px; }
.mobile-nav { border-top: 1px solid var(--line); }
.mobile-section { border-bottom: 1px solid var(--line); }
.mobile-section-toggle {
  width: 100%;
  min-height: 63px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-align: left;
  padding: 11px 2px;
}
.mobile-section-toggle > .mono { color: var(--dim); font-size: 7px; align-self: flex-start; margin-top: 4px; }
.mobile-section-toggle b { flex: 1; color: var(--text-soft); font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.mobile-section-toggle .icon { width: 15px; height: 15px; color: var(--dim); transition: transform .2s, color .2s; }
.mobile-section-toggle[aria-expanded="true"] b { color: var(--text); }
.mobile-section-toggle[aria-expanded="true"] .icon { color: var(--accent); transform: rotate(180deg); }
.mobile-section.is-active > .mobile-section-toggle > .mono { color: var(--accent); }
.mobile-section-pages { padding: 0 0 8px 25px; }
.mobile-page {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  min-height: 51px;
  padding: 8px 4px;
  border-top: 1px solid var(--line);
}
.mobile-page > .mono { color: var(--dim); font-size: 7px; }
.mobile-page b { display: block; color: var(--text-soft); font-size: 11.5px; font-weight: 600; }
.mobile-page small { display: block; margin-top: 2px; color: var(--dim); font-size: 8.5px; line-height: 1.3; }
.mobile-page > .icon { width: 12px; height: 12px; color: var(--dim); }
.mobile-page.active b { color: var(--accent); }
.mobile-page.active > .mono { color: var(--accent); }
.mobile-account { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
.mobile-direct { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 12px; font-weight: 650; }
.mobile-direct .icon { width: 13px; height: 13px; color: var(--dim); }
.mobile-direct:hover, .mobile-direct.active { color: var(--accent); }
.mobile-direct.active .icon { color: var(--accent); }
.mobile-account > span { color: var(--dim); font-size: 9px; }
.mobile-account .account-cta { height: 36px; padding-inline: 12px; }

/* ---------- home hero ---------- */
.home-hero {
  padding-top: calc(var(--header-h) + 74px);
  padding-bottom: 70px;
  position: relative;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 60% at 78% 43%, var(--halo-a), transparent 68%);
  opacity: .9;
}
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 50px; align-items: center; min-height: 585px; }
.home-hero-copy { position: relative; z-index: 2; }
.home-hero h1 {
  margin-top: 26px;
  max-width: 660px;
  font-size: clamp(56px, 6.2vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}
.home-hero h1 .accent { display: inline-block; padding-bottom: .04em; }
.hero-lead { margin-top: 26px; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.66; letter-spacing: -.012em; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }
.trust-list li { display: flex; align-items: center; gap: 7px; color: var(--dim); font-size: 10px; font-weight: 600; }
.trust-list .icon { width: 12px; height: 12px; color: var(--muted); }
.home-hero-visual {
  position: relative;
  min-width: 0;
  padding: 17px 0;
  perspective: 1500px;
  transform-style: preserve-3d;
  isolation: isolate;
  --tilt-x: 2deg;
  --tilt-y: -4.5deg;
}
.home-hero-visual::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 3%;
  right: -3%;
  bottom: -12%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 54% 50%, var(--halo-a), transparent 68%);
  filter: blur(32px);
  transform: rotateX(64deg) translateZ(-45px);
  opacity: .9;
  pointer-events: none;
}
.signal-halo {
  position: absolute;
  z-index: 0;
  inset: 2% -5%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--halo-a), transparent 65%);
  filter: blur(45px);
  pointer-events: none;
}
.hero-signal-card {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--hero-edge) 30%, var(--line-strong));
  border-radius: 22px;
  background:
    linear-gradient(145deg, var(--hero-sheen), transparent 38%),
    radial-gradient(ellipse 62% 52% at 92% 0, var(--blue-soft), transparent 64%),
    var(--hero-glass);
  box-shadow:
    0 70px 130px -45px var(--hero-shadow),
    0 30px 60px -35px var(--hero-shadow),
    inset 0 1px 0 var(--hero-edge),
    inset 1px 0 0 color-mix(in srgb, var(--hero-edge) 48%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hero-edge) 16%, transparent);
  -webkit-backdrop-filter: blur(34px) saturate(138%);
          backdrop-filter: blur(34px) saturate(138%);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transform-origin: 50% 55%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
:root[data-theme="light"] .hero-signal-card {
  box-shadow:
    inset 0 1px 0 var(--hero-edge),
    inset 1px 0 0 color-mix(in srgb, var(--hero-edge) 48%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hero-edge) 16%, transparent);
}
.hero-signal-card > * { position: relative; z-index: 2; }
.hero-signal-card::before {
  content: '';
  position: absolute;
  z-index: 4;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hero-edge), transparent);
  opacity: .9;
  pointer-events: none;
}
.hero-signal-card::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 42% 28% at 17% -6%, var(--hero-glare), transparent 68%),
    linear-gradient(118deg, transparent 28%, color-mix(in srgb, var(--hero-sheen) 78%, transparent) 40%, transparent 54%);
  opacity: .66;
  pointer-events: none;
}
.hsc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hsc-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-family: var(--mono); font-size: 7.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hsc-pair { color: var(--dim); font-size: 7.5px; letter-spacing: .04em; }
.hsc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; margin-top: 18px; }
.asset-id { display: flex; align-items: center; gap: 9px; }
.coin-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--coin) 30%, transparent);
  border-radius: 50%;
  color: var(--coin);
  background: var(--coin-soft);
  font-size: 15px;
  font-weight: 750;
}
:root[data-theme="light"] :focus-visible { outline-color: var(--accent); }

:root[data-theme="light"] .coin-mark:not(.coin-mark--logo) {
  color: color-mix(in srgb, var(--coin) 52%, #08131f);
  border-color: color-mix(in srgb, var(--coin) 52%, #0b1824);
  background: color-mix(in srgb, var(--coin-soft) 78%, #ffffff);
}

.coin-mark--logo { padding: 0; border: 0; background: transparent; box-shadow: none; overflow: hidden; }
.coin-mark--logo .coin-glyph { width: 100%; height: 100%; display: block; }

.asset-id strong { display: block; color: var(--text); font-size: 13px; line-height: 1.2; }
.asset-id small { display: block; margin-top: 3px; color: var(--dim); font-size: 8.5px; }
.hsc-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.direction-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .09em;
}
.direction-pill.long { color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.direction-pill.short { color: var(--red); background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--red) 20%, transparent); }
.confidence-badge {
  --confidence: 87;
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--accent) calc(var(--confidence) * 1%), var(--line) 0);
}
.confidence-badge::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--surface); }
.confidence-badge b, .confidence-badge small { position: relative; z-index: 1; }
.confidence-badge b { color: var(--text); font-size: 16px; line-height: 1; font-weight: 650; letter-spacing: -.04em; }
.confidence-badge small { margin-top: 2px; color: var(--dim); font-size: 5px; line-height: 1; text-transform: uppercase; letter-spacing: .05em; }
.hsc-price { display: flex; align-items: baseline; gap: 9px; margin-top: 17px; }
.hsc-price b { color: var(--text); font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.hsc-price span { font-family: var(--mono); font-size: 8.5px; }
.hsc-price-caret { width: 1px; height: 17px; align-self: center; margin-left: 1px; background: var(--accent); box-shadow: 0 0 9px var(--accent); animation: caret-blink 1.25s steps(1, end) infinite; }
.hsc-chart { height: 225px; margin: 7px -5px 0; position: relative; border-radius: 11px; background: linear-gradient(180deg, color-mix(in srgb, var(--hero-edge) 9%, transparent), transparent 26%); }
.hsc-levels {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr .8fr;
  gap: 0;
  margin: 2px -17px 0;
  padding: 11px 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--hero-edge) 8%, transparent), transparent);
}
.hsc-levels > div { padding-right: 9px; border-right: 1px solid var(--line); min-width: 0; }
.hsc-levels > div:last-child { border-right: 0; padding-right: 0; }
.hsc-levels span { display: block; color: var(--dim); font-family: var(--mono); font-size: 6.5px; letter-spacing: .06em; text-transform: uppercase; }
.hsc-levels b { display: block; margin-top: 4px; color: var(--text-soft); font-family: var(--mono); font-size: 9.5px; font-weight: 500; white-space: nowrap; }
.hsc-levels b > span { display: inline; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
.hsc-levels .stop b { color: var(--red); }
.hsc-levels .target b { color: var(--accent); }
.hsc-foot { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding-top: 11px; color: var(--dim); font-size: 7.5px; }
.hsc-foot span { display: inline-flex; align-items: center; gap: 5px; }
.hsc-foot .icon { width: 10px; height: 10px; color: var(--accent); }
/* chart */
.site-body .signal-chart-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.site-body .chart-grid .grid-line { stroke: var(--chart-grid); stroke-width: 1; }
.site-body .axis-label { fill: var(--chart-axis); font-family: var(--mono); font-size: 12px; }
.site-body .axis-label.time { font-size: 10.5px; }
.site-body .entry-zone-label { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; opacity: 1; paint-order: stroke; stroke: var(--surface); stroke-width: 2.4px; stroke-linejoin: round; }
.site-body .level-label { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .03em; paint-order: stroke; stroke: var(--surface); stroke-width: 2.2px; stroke-linejoin: round; }
.site-body .current-price-label { fill: var(--button-text); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.site-body .current-price > rect { fill: var(--button-bg); }
.site-body .chart-crosshair .crosshair-line { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 3; }
.site-body .chart-tooltip {
  position: absolute; z-index: 8; width: 168px; padding: 9px 10px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--chart-tooltip-bg); color: var(--chart-tooltip-text);
  box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none;
  transform: translateY(3px); transition: opacity .15s, transform .15s;
  backdrop-filter: blur(10px);
}
.site-body .chart-tooltip.visible { opacity: 1; transform: translateY(0); }
.site-body .tooltip-time { font-family: var(--mono); font-size: 7px; color: var(--dim); margin-bottom: 5px; }
.site-body .tooltip-grid { display: grid; grid-template-columns: 12px 1fr 12px 1fr; gap: 3px 4px; font-family: var(--mono); font-size: 7px; }
.site-body .tooltip-grid span { color: var(--dim); }
.site-body .tooltip-grid b { color: var(--text-soft); font-weight: 500; text-align: right; }
.site-body .tooltip-change { margin-top: 5px; font-family: var(--mono); font-size: 7px; }
.sparkline { width: 100%; height: 100%; display: block; overflow: visible; }
.sparkline .spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: spark-draw 1.15s .08s var(--ease) forwards; }
.sparkline .spark-area { opacity: 0; animation: spark-area .85s .08s var(--ease) forwards; }
.sparkline .spark-dot { transform-box: fill-box; transform-origin: center; animation: dot-pulse 2.8s ease-in-out infinite; }

.site-body .chart-drawn .chart-candle-body,
.site-body .chart-drawn .chart-candle-wick {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: candle-rise .6s var(--ease) both;
  animation-delay: calc(var(--ci, 0) * 6ms);
}
.site-body .chart-drawn .chart-volume-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: volume-rise .55s var(--ease) both;
  animation-delay: calc(var(--ci, 0) * 6ms);
}
.site-body .chart-drawn .entry-zone { animation: chart-fade .7s .12s var(--ease) both; }
.site-body .chart-drawn .chart-levels { animation: chart-fade .8s .28s var(--ease) both; }
.site-body .chart-scan { pointer-events: none; }
.site-body .price-pulse-dot { transform-box: fill-box; transform-origin: center; animation: dot-pulse 2.6s ease-in-out infinite; }
.site-body .price-pulse-ring { transform-box: fill-box; transform-origin: center; animation: price-ring 2.8s ease-out infinite; }
.equity-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: spark-draw 1.35s .08s var(--ease) forwards; }
.equity-area { opacity: 0; animation: spark-area 1s .08s var(--ease) forwards; }
.hsc-price b, .home-asset-price b, .home-asset-foot b, .confidence-badge b, .stat-card > b { font-variant-numeric: tabular-nums; }

@keyframes candle-rise {
  from { opacity: 0; transform: scaleY(.07); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes volume-rise {
  from { opacity: 0; transform: scaleY(.05); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes chart-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spark-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes spark-area {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(.82); opacity: .62; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes caret-blink {
  0%, 44% { opacity: .95; }
  48%, 96% { opacity: .15; }
  100% { opacity: .95; }
}
@keyframes price-ring {
  0% { transform: scale(.55); opacity: .75; }
  70% { transform: scale(2.7); opacity: 0; }
  100% { transform: scale(2.7); opacity: 0; }
}


/* proof strip */
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; align-items: flex-start; gap: 13px; padding: 20px 22px 20px 0; border-right: 1px solid var(--line); }
.proof-item:not(:first-child) { padding-left: 22px; }
.proof-item:last-child { border-right: 0; }
.proof-item > strong { color: var(--text); font-size: 30px; line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.proof-item b { display: block; color: var(--text-soft); font-size: 11.5px; font-weight: 650; }
.proof-item span { display: block; margin-top: 4px; color: var(--dim); font-size: 9.5px; line-height: 1.45; }

/* home sections */
.content-section { padding: 80px 0; position: relative; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 31px; }
.section-heading h2 { max-width: 640px; margin-top: 16px; font-size: clamp(33px, 3.7vw, 47px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.section-heading > p { max-width: 365px; color: var(--muted); font-size: 12.5px; line-height: 1.7; padding-bottom: 3px; }
.home-manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.manifesto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.manifesto-copy h2 { margin-top: 18px; max-width: 460px; font-size: clamp(38px, 4.5vw, 55px); line-height: 1.02; letter-spacing: -.052em; font-weight: 600; }
.manifesto-body p { max-width: 590px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.manifesto-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.manifesto-points span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); font-size: 9px; }
.manifesto-points .icon { width: 10px; height: 10px; color: var(--accent); }
.manifesto-body .text-link { margin-top: 24px; }
.directory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.directory-card { padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.directory-card:hover { border-color: var(--line-strong); background: var(--surface); transform: translateY(-2px); }
.directory-top { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 7.5px; }
.directory-count { display: inline-flex; min-width: 18px; height: 16px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); font-size: 6.5px; }
.directory-card h3 { margin-top: 20px; color: var(--text); font-size: 22px; letter-spacing: -.035em; font-weight: 600; }
.directory-card > p { margin-top: 7px; min-height: 36px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.directory-links { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid var(--line); }
.directory-links a { display: flex; align-items: center; gap: 8px; min-height: 37px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 11.5px; transition: color .2s; }
.directory-links a:last-child { border-bottom: 0; }
.directory-links a:hover { color: var(--accent); }
.directory-links a > .mono { width: 27px; color: var(--dim); font-size: 6.5px; }
.directory-links a .icon { width: 10px; height: 10px; margin-left: auto; color: var(--dim); }
.home-features { background: linear-gradient(180deg, transparent, var(--surface-soft) 35%, transparent); }
.cards-grid { display: grid; gap: 12px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); transition: border-color .2s, background .2s; }
.info-card:hover { border-color: var(--line-strong); background: var(--surface); }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.info-icon .icon { width: 16px; height: 16px; }
.info-card h3 { margin-top: 22px; color: var(--text); font-size: 13.5px; font-weight: 650; letter-spacing: -.015em; line-height: 1.35; }
.info-card p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.info-meta { display: block; margin-top: 15px; color: var(--dim); font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase; }
.home-asset-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.home-asset-card { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); min-width: 0; }
.home-asset-head { display: flex; align-items: flex-start; gap: 7px; }
.home-asset-head .coin-mark { width: 27px; height: 27px; font-size: 11px; }
.home-asset-head strong { display: block; color: var(--text-soft); font-size: 10.5px; line-height: 1.2; }
.home-asset-head small { display: block; margin-top: 2px; color: var(--dim); font-size: 8px; }
.asset-status { margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.asset-status.active { color: var(--accent); }
.asset-status.watch { color: var(--amber); }
.asset-status.neutral { color: var(--dim); }
.home-asset-price { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 14px; }
.home-asset-price b { color: var(--text); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.home-asset-price span { font-family: var(--mono); font-size: 8px; }
.home-asset-spark { height: 31px; margin: 5px -1px 3px; opacity: .9; }
.home-asset-foot { display: flex; align-items: center; gap: 5px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--dim); font-size: 7.5px; }
.home-asset-foot b { color: var(--text-soft); font-family: var(--mono); font-size: 8px; font-weight: 400; }
.home-asset-foot i { width: 1px; height: 8px; background: var(--line); margin-inline: 2px; }
.section-end-link { display: flex; justify-content: flex-end; margin-top: 18px; }
.home-workflow .steps-grid { margin-top: 4px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step-card { position: relative; padding: 18px 17px; min-height: 150px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.step-num { color: var(--dim); font-size: 7px; }
.step-card h3 { margin-top: 23px; color: var(--text); font-size: 13.5px; font-weight: 650; }
.step-card p { margin-top: 7px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.step-meta { display: block; margin-top: 17px; color: var(--dim); font-size: 6.5px; letter-spacing: .08em; text-transform: uppercase; }
.home-cta-wrap { padding: 25px 0 75px; }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 45% 110% at 10% 30%, var(--blue-soft), transparent 65%),
    radial-gradient(ellipse 40% 100% at 96% 90%, var(--accent-soft), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}
.cta-panel::after {
  content: '';
  position: absolute;
  right: -40px; top: -90px; width: 280px; height: 280px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.cta-panel > div:first-child { position: relative; z-index: 1; }
.cta-panel h2 { margin-top: 14px; max-width: 670px; color: var(--text); font-size: clamp(29px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -.045em; font-weight: 600; }
.cta-panel p { margin-top: 10px; max-width: 520px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; flex: 0 0 auto; }

/* ---------- restored long home ---------- */
.home-market-tape { padding: 8px 0 24px; }
.home-market-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 11px; color: var(--dim); }
.home-market-head .mono { display: inline-flex; align-items: center; gap: 7px; font-size: 7px; letter-spacing: .1em; }
.home-market-head .mono:last-child { color: var(--dim); font-size: 7px; }
.home-market-tape .home-asset-grid { margin-top: 0; }
.home-long-section {
  scroll-margin-top: calc(var(--header-h) + 18px);
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.home-long-section.alt { background: linear-gradient(180deg, transparent, var(--surface-soft) 22%, transparent); }
.home-long-section .home-section-heading { margin-bottom: 18px; }
.home-long-section .home-section-heading h2 { max-width: 780px; }
.home-long-section .content-block { padding: 26px 0; border-bottom: 0; }
.home-long-section .content-block + .content-block { border-top: 1px solid var(--line); }
.home-long-section .content-block > .section-heading { margin-bottom: 20px; }
.home-long-section .content-block:first-of-type { padding-top: 0; }
.home-long-section .content-block:last-child { padding-bottom: 0; }
.home-long-section .content-block:last-child .cta-panel { margin-bottom: 0; }
.home-subsection {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.home-subheading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 365px);
  align-items: end;
  gap: 50px;
  margin-bottom: 18px;
}
.home-subheading h3 {
  max-width: 720px;
  margin-top: 15px;
  color: var(--text);
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
.home-subheading > p { max-width: 365px; padding-bottom: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.home-subsection .content-block:first-of-type { padding-top: 0; }

/* -------- compact section 04: transparency + quality -------- */
.s04 .s04-provenance {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
  align-items: start;
  gap: 22px;
}
.s04 .s04-provenance .content-block,
.s04 .s04-quality-body .content-block,
.s04 .s04-callout .content-block { padding: 0; border: 0; }
.s04 .s04-provenance .section-heading,
.s04 .s04-quality-body .section-heading { margin-bottom: 11px; gap: 24px; }
.s04 .s04-provenance .section-heading h2,
.s04 .s04-quality-body .section-heading h2 { margin-top: 8px; font-size: 21px; letter-spacing: -.03em; }
.s04 .s04-provenance .section-heading > p,
.s04 .s04-quality-body .section-heading > p { max-width: 250px; font-size: 9.5px; line-height: 1.55; }
.s04 .s04-saved .cards-grid { grid-template-columns: 1fr; gap: 7px; }
.s04 .s04-saved .info-card { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 10px; padding: 10px 11px; align-content: start; }
.s04 .s04-saved .info-icon { grid-row: 1 / span 3; width: 27px; height: 27px; }
.s04 .s04-saved .info-icon .icon { width: 13px; height: 13px; }
.s04 .s04-saved .info-card h3 { grid-column: 2; margin-top: 0; font-size: 11px; }
.s04 .s04-saved .info-card p { grid-column: 2; margin-top: 4px; font-size: 9.5px; line-height: 1.5; }
.s04 .s04-saved .info-meta { grid-column: 2; margin-top: 5px; font-size: 6.5px; }
.s04 .s04-callout { margin-top: 18px; }
.s04 .s04-callout .callout { padding: 14px 17px; }
.s04 .s04-callout .callout h3 { font-size: 12px; }
.s04 .s04-callout .callout p { font-size: 10px; }
.s04 .s04-quality {
  margin-top: 27px;
  padding-top: 21px;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.s04 .s04-quality-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 365px); align-items: end; gap: 40px; margin-bottom: 15px; }
.s04 .s04-quality-head h3 { max-width: 720px; margin-top: 9px; color: var(--text); font-size: clamp(25px, 2.5vw, 31px); line-height: 1.07; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.s04 .s04-quality-head > p { max-width: 365px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.s04 .s04-quality-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 24px; }
.s04 .s04-measures .cards-grid { grid-template-columns: 1fr; gap: 7px; }
.s04 .s04-measures .info-card { display: grid; grid-template-columns: 25px minmax(0, 1fr); column-gap: 9px; padding: 9px 10px; align-content: start; }
.s04 .s04-measures .info-icon { grid-row: 1 / span 2; width: 25px; height: 25px; }
.s04 .s04-measures .info-icon .icon { width: 12px; height: 12px; }
.s04 .s04-measures .info-card h3 { grid-column: 2; margin-top: 0; font-size: 10.5px; }
.s04 .s04-measures .info-card p { grid-column: 2; margin-top: 2px; font-size: 8.5px; line-height: 1.45; }
.s04 .s04-measures .info-meta { display: none; }
.s04 .s04-metrics-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.s04 .s04-metrics-head .mono { color: var(--dim); font-size: 6.5px; letter-spacing: .08em; }
.s04 .s04-metrics-head b { display: block; margin-top: 4px; color: var(--text-soft); font-size: 13px; font-weight: 650; }
.s04 .s04-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.s04 .s04-stat { padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); min-width: 0; }
.s04 .s04-stat > b { display: block; color: var(--text); font-family: var(--font); font-size: 22px; line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.s04 .s04-stat > span { display: block; margin-top: 6px; color: var(--text-soft); font-size: 9px; font-weight: 600; line-height: 1.35; }
.s04 .s04-stat > small { display: block; margin-top: 3px; color: var(--dim); font-size: 7.5px; line-height: 1.35; }
.s04 .s04-metrics .equity-panel { margin-top: 8px; padding: 11px 12px; }
.s04 .s04-metrics .equity-head b { font-size: 21px; }
.s04 .s04-metrics .equity-chart { height: 128px; margin-top: 8px; }
.s04 .s04-metrics .equity-note { margin-top: 6px; font-size: 7px; }

/* -------- compact final section 06: workflow + FAQ + risk -------- */
.s06 .content-block { padding: 0; border: 0; }
.s06-steps .section-heading,
.s06-roles .section-heading,
.s06-faq-body .section-heading,
.s06-risk-body .section-heading { margin-bottom: 11px; gap: 24px; }
.s06-steps .section-heading h2,
.s06-roles .section-heading h2,
.s06-risk-body .section-heading h2 { margin-top: 8px; font-size: 22px; letter-spacing: -.03em; }
.s06-steps .section-heading > p,
.s06-roles .section-heading > p,
.s06-risk-body .section-heading > p { max-width: 250px; font-size: 9.5px; line-height: 1.55; }
.s06-steps .steps-grid { gap: 8px; }
.s06-steps .step-card { min-height: 0; padding: 14px; }
.s06-steps .step-card h3 { margin-top: 15px; font-size: 12px; }
.s06-steps .step-card p { margin-top: 5px; font-size: 9.5px; line-height: 1.5; }
.s06-steps .step-meta { margin-top: 11px; font-size: 6px; }
.s06-roles { margin-top: 17px; }
.s06-roles .cards-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.s06-roles .info-card { padding: 13px; }
.s06-roles .info-card h3 { margin-top: 12px; font-size: 11.5px; }
.s06-roles .info-card p { font-size: 9.5px; }
.s06-roles .info-icon { width: 28px; height: 28px; }
.s06-roles .info-icon .icon { width: 13px; height: 13px; }
.s06-callout { margin-top: 10px; }
.s06-callout .callout { padding: 14px 16px; }
.s06-callout .callout h3 { font-size: 11.5px; }
.s06-callout .callout p { font-size: 9.5px; }
.s06-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 18px); }
.s06-subhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 365px); align-items: end; gap: 40px; margin-bottom: 10px; }
.s06-subhead h3 { max-width: 720px; margin-top: 8px; color: var(--text); font-size: clamp(24px, 2.4vw, 29px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.s06-subhead > p { max-width: 365px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.s07 .faq-list--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line); }
.s07 .faq-list details { border-bottom: 1px solid var(--line); }
.s07 .faq-list summary { min-height: 42px; padding: 10px 0; font-size: 10.5px; gap: 12px; }
.s07 .faq-list summary span { width: 20px; height: 20px; }
.s07 .faq-list summary .icon { width: 8px; height: 8px; }
.s07 .faq-list details p { padding: 0 30px 13px 0; font-size: 9.5px; line-height: 1.55; }
.s06-risk-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: start; gap: 22px; }
.s06-risk-body .risk-item { padding: 9px 0; gap: 11px; }
.s06-risk-body .risk-item h3 { font-size: 11px; }
.s06-risk-body .risk-item p { margin-top: 3px; font-size: 9.5px; line-height: 1.5; }
.s06-risk-body .risk-list { border-top: 1px solid var(--line); }
.s06-risk-cards .cards-grid { grid-template-columns: 1fr; gap: 7px; }
.s06-risk-cards .info-card { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 10px; padding: 10px 11px; align-content: start; }
.s06-risk-cards .info-icon { grid-row: 1 / span 2; width: 27px; height: 27px; }
.s06-risk-cards .info-icon .icon { width: 13px; height: 13px; }
.s06-risk-cards .info-card h3 { grid-column: 2; margin-top: 0; font-size: 10.5px; }
.s06-risk-cards .info-card p { grid-column: 2; margin-top: 3px; font-size: 9px; line-height: 1.45; }
.s06-risk-cards .info-meta { display: none; }



@media (max-width: 740px) {
  .home-market-tape { padding: 3px 0 18px; }
  .home-market-head { margin-bottom: 9px; }
  .home-long-section { padding: 48px 0 38px; }
  .home-long-section .content-block { padding: 20px 0; }
  .home-subsection { margin-top: 38px; padding-top: 25px; }
  .s04 .s04-saved .cards-grid,
  .s04 .s04-measures .cards-grid { grid-template-columns: 1fr; }
  .s04 .s04-quality-head { display: block; }
  .s04 .s04-quality-head > p { margin-top: 9px; }
  .s04 .s04-stats { grid-template-columns: 1fr 1fr; }
  .s04 .s04-callout { margin-top: 14px; }
  .home-subheading { display: block; margin-bottom: 16px; }
  .home-subheading h3 { margin-top: 12px; font-size: 32px; }
  .home-subheading > p { margin-top: 12px; font-size: 10.5px; }
}
/* ---------- page layout ---------- */
.page-shell { padding-top: calc(var(--header-h) + 36px); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--dim); font-family: var(--mono); font-size: 9px; }
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { opacity: .45; }
.breadcrumbs b { color: var(--text-soft); font-weight: 400; }
.page-hero { padding: 48px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero h1 { max-width: 950px; margin-top: 20px; color: var(--text); font-size: clamp(43px, 5.3vw, 66px); line-height: 1.02; letter-spacing: -.057em; font-weight: 600; text-wrap: balance; }
.page-hero > .container > p { max-width: 720px; margin-top: 21px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.page-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.page-badges span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--text-soft); background: var(--surface-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .03em; }
.page-content { padding-bottom: 15px; }
.content-block { padding: 44px 0; border-bottom: 1px solid var(--line); }
.content-block:last-child { border-bottom: 0; }
.content-block .section-heading { margin-bottom: 25px; }
.content-block h2 { font-size: clamp(28px, 3.1vw, 38px); }
.content-block .section-heading > p { font-size: 11px; }
.content-block .cards-grid { margin-top: 2px; }
.page-pager { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 55px; }
.pager-link { display: flex; flex-direction: column; gap: 5px; max-width: 45%; padding: 12px 0; color: var(--muted); transition: color .2s; }
.pager-link:hover { color: var(--accent); }
.pager-link span { font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.pager-link b { font-size: 13px; font-weight: 600; }
.pager-link.next { text-align: right; align-items: flex-end; }
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split-copy h2 { max-width: 500px; margin-top: 17px; font-size: clamp(30px, 3.4vw, 43px); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
.split-copy > p { max-width: 530px; margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin-top: 21px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-soft); font-size: 11.5px; line-height: 1.5; }
.check-list .icon { width: 11px; height: 11px; color: var(--accent); margin-top: 2px; flex: 0 0 auto; }
.boundary-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.boundary-col { padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.boundary-col.allowed { border-color: color-mix(in srgb, var(--accent) 18%, transparent); }
.boundary-col.denied { border-color: color-mix(in srgb, var(--red) 16%, transparent); }
.boundary-label { display: block; margin-bottom: 12px; color: var(--dim); font-size: 6.5px; letter-spacing: .08em; text-transform: uppercase; }
.boundary-col span:not(.boundary-label) { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.boundary-col .icon { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 1px; }
.boundary-col.allowed .icon { color: var(--accent); }
.boundary-col.denied .icon { color: var(--red); }
.plan-visual { padding: 15px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface-glass); box-shadow: var(--shadow-soft); }
.plan-visual-head { display: flex; align-items: center; gap: 8px; }
.plan-visual-head .coin-mark { width: 28px; height: 28px; font-size: 11px; }
.plan-visual-head b { display: block; color: var(--text-soft); font-size: 10px; }
.plan-visual-head small { display: block; margin-top: 2px; color: var(--dim); font-size: 7px; }
.plan-visual-head .direction-pill { margin-left: auto; }
.plan-visual-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 13px; }
.plan-visual-price > b { color: var(--text); font-family: var(--mono); font-size: 17px; font-weight: 500; }
.confidence-inline { color: var(--dim); font-size: 7px; }
.confidence-inline b { color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 500; }
.plan-visual-chart { height: 190px; margin: 4px -5px 0; position: relative; }
.plan-level-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .75fr; gap: 0; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.plan-level-grid > div { padding-right: 8px; border-right: 1px solid var(--line); }
.plan-level-grid > div:last-child { border-right: 0; }
.plan-level-grid span { display: block; color: var(--dim); font-family: var(--mono); font-size: 6px; letter-spacing: .04em; text-transform: uppercase; }
.plan-level-grid b { display: block; margin-top: 4px; color: var(--text-soft); font-family: var(--mono); font-size: 8px; font-weight: 500; white-space: nowrap; }
.formula-panel { max-width: 850px; padding: 27px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.formula-kicker { color: var(--blue); font-size: 7px; letter-spacing: .09em; }
.formula-code { margin-top: 17px; padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-soft); color: var(--text-soft); font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; }
.formula-result { margin-top: 13px; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.formula-panel p { margin-top: 13px; max-width: 650px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.group-list { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--surface-soft); }
.group-row { display: grid; grid-template-columns: 7px minmax(0, 1fr) 90px 42px; gap: 13px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.group-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--group-color); box-shadow: 0 0 8px color-mix(in srgb, var(--group-color) 40%, transparent); }
.group-row b { display: block; color: var(--text-soft); font-size: 11px; font-weight: 600; }
.group-row small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; line-height: 1.4; }
.group-count { color: var(--dim); font-size: 8px; text-align: right; }
.group-weight { color: var(--text-soft); font-size: 10px; text-align: right; }
.group-total { display: flex; justify-content: space-between; padding: 11px 16px; color: var(--muted); font-size: 8px; background: var(--accent-soft); }
.group-total b { color: var(--accent); font-size: 9px; }
.gate-card { position: relative; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.gate-card > .mono { color: var(--dim); font-size: 6.5px; letter-spacing: .07em; text-transform: uppercase; }
.gate-card h3 { margin-top: 17px; color: var(--text); font-size: 12px; font-weight: 650; }
.gate-card p { margin-top: 5px; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
.gate-card > .icon { position: absolute; top: 15px; right: 15px; width: 11px; height: 11px; color: var(--accent); }
.factor-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.factor-table { width: 100%; border-collapse: collapse; min-width: 590px; }
.factor-table th { padding: 10px 14px; background: var(--surface-soft); border-bottom: 1px solid var(--line); color: var(--dim); font-family: var(--mono); font-size: 7px; font-weight: 500; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.factor-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.factor-table tr:last-child td { border-bottom: 0; }
.factor-table td b { color: var(--text-soft); font-size: 11px; font-weight: 500; }
.factor-table td.mono { color: var(--text-soft); font-size: 8px; }
.factor-source { color: var(--dim) !important; font-family: var(--mono); font-size: 8px !important; }
.contract-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.contract-step { position: relative; min-height: 105px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.contract-step > .mono { color: var(--dim); font-size: 6.5px; }
.contract-step b { display: block; margin-top: 13px; color: var(--text-soft); font-size: 10.5px; font-weight: 600; }
.contract-step p { margin-top: 4px; color: var(--dim); font-size: 9px; line-height: 1.4; }
.contract-step > .icon { position: absolute; right: -9px; top: 50%; width: 11px; height: 11px; color: var(--dim); z-index: 1; transform: translateY(-50%); }
.audit-box { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--surface-soft); }
.audit-head { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.audit-head > .mono { color: var(--text-soft); font-size: 7px; }
.audit-head > .mono:last-child { margin-left: auto; color: var(--dim); }
.audit-active { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 7px; }
.audit-list { padding: 9px 16px; }
.audit-item { position: relative; display: grid; grid-template-columns: 56px 13px minmax(0, 1fr) 45px; gap: 9px; align-items: start; padding: 9px 0; }
.audit-item:not(:last-child)::after { content: ''; position: absolute; left: 63px; top: 25px; bottom: -9px; width: 1px; background: var(--line); }
.audit-time { color: var(--dim); font-size: 6.5px; padding-top: 2px; }
.audit-node { width: 6px; height: 6px; border-radius: 50%; margin-top: 3px; background: var(--dim); box-shadow: 0 0 0 3px var(--surface-soft); position: relative; z-index: 1; }
.audit-item:nth-child(4) .audit-node { background: var(--accent); }
.audit-item b { display: block; color: var(--text-soft); font-size: 10px; font-weight: 500; }
.audit-item p { margin-top: 3px; color: var(--dim); font-size: 9.5px; line-height: 1.5; }
.audit-status { color: var(--accent); font-size: 7.5px; font-weight: 600; text-align: right; }
.audit-foot { display: flex; justify-content: space-between; gap: 15px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 7.5px; }
.audit-foot b { color: var(--muted); font-weight: 400; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.stat-card { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.stat-card > b { display: block; color: var(--text); font-size: 29px; line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.stat-card > span { display: block; margin-top: 7px; color: var(--text-soft); font-size: 10px; font-weight: 600; }
.stat-card > small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }
.equity-panel { margin-top: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.equity-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.equity-head .mono { color: var(--dim); font-size: 7px; letter-spacing: .08em; }
.equity-head b { display: block; margin-top: 5px; color: var(--accent); font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.equity-chart { height: 170px; margin: 15px -3px 0; }
.equity-note { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--dim); font-size: 8px; }
.equity-note .icon { width: 9px; height: 9px; }
.equity-chart-svg { width: 100%; height: 100%; }
.public-assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.public-asset-card { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.public-asset-head { display: flex; align-items: flex-start; gap: 8px; }
.public-asset-head .coin-mark { width: 30px; height: 30px; font-size: 12px; }
.public-asset-head b { display: block; color: var(--text); font-size: 11px; }
.public-asset-head small { display: block; margin-top: 2px; color: var(--dim); font-size: 8px; }
.public-asset-head .asset-status { margin-left: auto; }
.public-asset-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 18px; }
.public-asset-price b { color: var(--text); font-family: var(--mono); font-size: 17px; font-weight: 500; }
.public-asset-price span { font-family: var(--mono); font-size: 8px; }
.public-asset-meter { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--dim); font-size: 7px; }
.public-asset-meter .meter { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.public-asset-meter .meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.public-asset-meter b { color: var(--text-soft); font-family: var(--mono); font-size: 8px; font-weight: 500; }
.public-asset-foot { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--dim); font-size: 8px; }
.public-asset-foot b { color: var(--text-soft); font-size: 8.5px; font-weight: 400; }
.code-window { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #070d14; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 14px; border-bottom: 1px solid rgba(151,183,209,.12); background: rgba(14,24,35,.55); }
.code-head .mono { color: #93a9bb; font-size: 7.5px; }
.copy-button { color: #7f95a8; font-family: var(--mono); font-size: 7px; border: 1px solid rgba(151,183,209,.14); border-radius: 4px; padding: 3px 6px; }
.copy-button:hover { color: #eff7fc; }
.code-window pre { margin: 0; padding: 18px; overflow-x: auto; color: #b5c8d9; font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.code-window code { font-family: inherit; }
.code-note { margin-top: 11px; color: var(--dim); font-size: 9.5px; line-height: 1.55; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow-card { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.flow-card > .mono { color: var(--dim); font-size: 6.5px; }
.flow-card h3 { margin-top: 18px; color: var(--text-soft); font-size: 11px; font-weight: 650; }
.flow-card p { margin-top: 5px; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.flow-tag { display: block; margin-top: 13px; color: var(--dim); font-size: 6.5px; }
.flow-card > .icon { position: absolute; right: -8px; top: 50%; width: 10px; height: 10px; color: var(--dim); z-index: 1; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--text-soft); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: transform .2s, color .2s; }
.faq-list summary .icon { width: 10px; height: 10px; }
.faq-list details[open] summary { color: var(--text); }
.faq-list details[open] summary span { transform: rotate(45deg); color: var(--accent); }
.faq-list details p { max-width: 720px; padding: 0 45px 20px 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.risk-list { border-top: 1px solid var(--line); }
.risk-item { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.risk-item > .mono { color: var(--dim); font-size: 7px; padding-top: 3px; }
.risk-item h3 { color: var(--text-soft); font-size: 12px; font-weight: 650; }
.risk-item p { margin-top: 5px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.callout { display: flex; align-items: flex-start; gap: 11px; padding: 17px; border: 1px solid color-mix(in srgb, var(--blue) 20%, transparent); border-radius: 9px; background: var(--blue-soft); }
.callout .icon { width: 14px; height: 14px; color: var(--blue); flex: 0 0 auto; margin-top: 1px; }
.callout h3 { color: var(--text-soft); font-size: 11px; font-weight: 650; }
.callout p { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.callout.amber { border-color: color-mix(in srgb, var(--amber) 20%, transparent); background: var(--amber-soft); }
.callout.amber .icon { color: var(--amber); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 55px 0 27px; background: var(--surface-soft); }
.footer-top { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 60px; padding-bottom: 40px; }
.footer-brand p { margin-top: 15px; max-width: 275px; color: var(--dim); font-size: 11px; line-height: 1.6; }
.footer-mail { display: inline-block; margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.footer-mail:hover { color: var(--accent); }
.footer-architecture { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.footer-architecture .icon { width: 10px; height: 10px; color: var(--dim); transition: color .2s, transform .2s; }
.footer-architecture:hover, .footer-architecture.active { color: var(--accent); }
.footer-architecture:hover .icon { color: var(--accent); transform: translateX(2px); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.footer-heading { display: flex; gap: 8px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 10px; font-weight: 650; }
.footer-heading .mono { color: var(--dim); font-size: 6.5px; font-weight: 400; padding-top: 1px; }
.footer-link { display: block; padding: 4px 0; color: var(--muted); font-size: 10.5px; line-height: 1.45; transition: color .2s; }
.footer-link:hover { color: var(--text); }
.footer-link.active, .footer-link[aria-current="page"] { color: var(--accent); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 17px; border-top: 1px solid var(--line); }
.footer-bottom > span { flex: 0 0 auto; color: var(--dim); font-family: var(--mono); font-size: 8.5px; }
.footer-bottom > p { max-width: 760px; color: var(--dim); font-size: 9px; line-height: 1.65; text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .container { width: min(1240px, calc(100% - 44px)); }
  .header-inner { gap: 20px; }
  .nav-trigger { padding-inline: 9px; font-size: 12px; }
  .home-hero-grid { gap: 35px; }
  .home-hero h1 { font-size: clamp(54px, 6vw, 72px); }
  .home-asset-grid { gap: 7px; }
  .home-asset-card { padding: 12px 10px; }
  .split-block { gap: 45px; }
}
@media (max-width: 1040px) {
  :root { --header-h: 80px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-inner { justify-content: space-between; }
  .home-hero { padding-top: calc(var(--header-h) + 58px); }
  .home-hero-grid { grid-template-columns: 1fr; gap: 50px; min-height: 0; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-visual { max-width: 620px; width: 100%; margin-inline: auto; --tilt-x: 0deg; --tilt-y: 0deg; }
  .hero-signal-card { transform: none; border-radius: 20px; }
  .home-hero-visual::after { opacity: .55; }
  .proof-item { padding-block: 17px; }
  .proof-item > strong { font-size: 26px; }
  .manifesto-grid { gap: 45px; }
  .section-heading { gap: 35px; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .home-asset-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-top { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
  .footer-nav { gap: 18px; }
  .split-block { grid-template-columns: 1fr; gap: 30px; }
  .split-copy { max-width: 680px; }
  .split-visual { max-width: 580px; width: 100%; }
  .public-assets-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-card > .icon { display: none; }
}
@media (max-width: 900px) {
  .home-asset-grid { grid-template-columns: repeat(3, 1fr); }
  .s04 .s04-provenance { grid-template-columns: 1fr; }
  .s04 .s04-saved .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .s04 .s04-quality-body { grid-template-columns: 1fr; }
  .s04 .s04-measures .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .s06-risk-body { grid-template-columns: 1fr; }
  .s07 .faq-list--split { grid-template-columns: 1fr; }
  .s06-subhead { display: block; }
  .s06-subhead > p { margin-top: 8px; }
}
@media (max-width: 640px) {
  .header-tools > .account-cta { display: none; }
}
@media (max-width: 740px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand-logo { height: 34px; }
  .header-tools { gap: 6px; }
  .icon-button { width: 35px; height: 35px; border-radius: 8px; }
  .lang-trigger { height: 35px; padding-inline: 8px; gap: 5px; font-size: 9px; }
  .lang-trigger .flag { width: 17px; height: 12px; }
  .lang-menu { width: 178px; }
  .menu-button { width: 36px; height: 36px; }
  .home-hero { padding-top: calc(var(--header-h) + 38px); padding-bottom: 45px; }
  .home-hero h1 { margin-top: 20px; font-size: clamp(45px, 13vw, 64px); }
  .hero-lead { margin-top: 20px; font-size: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-actions .button.secondary { flex: 0 1 auto; }
  .trust-list { gap: 7px 13px; margin-top: 21px; }
  .trust-list li { font-size: 8.5px; }
  .home-hero-visual { padding: 0; }
  .hero-signal-card { padding: 13px; border-radius: 17px; }
  .home-hero-visual::after { display: none; }
  .hsc-head { margin-top: 14px; }
  .hsc-price b { font-size: 21px; }
  .hsc-chart { height: 205px; }
  .hsc-levels { margin-inline: -13px; padding-inline: 13px; grid-template-columns: 1.2fr .9fr .9fr; }
  .hsc-levels > div:nth-child(4) { display: none; }
  .hsc-foot { font-size: 6.5px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 15px 13px; }
  .proof-item:not(:first-child) { padding-left: 13px; }
  .proof-item:nth-child(2n) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-item > strong { font-size: 24px; }
  .proof-item b { font-size: 8.5px; }
  .proof-item span { font-size: 7.5px; }
  .content-section { padding: 56px 0; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2 { margin-top: 13px; font-size: 34px; }
  .section-heading > p { margin-top: 13px; font-size: 10.5px; }
  .manifesto-grid { display: block; }
  .manifesto-copy h2 { font-size: 38px; }
  .manifesto-body { margin-top: 22px; }
  .manifesto-body p { font-size: 14px; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card h3 { margin-top: 16px; font-size: 20px; }
  .directory-card > p { min-height: 0; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .home-asset-grid { display: flex; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .home-asset-grid::-webkit-scrollbar { display: none; }
  .home-asset-card { min-width: 155px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card { min-height: 135px; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 27px 22px; gap: 23px; }
  .cta-panel h2 { font-size: 31px; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1 1 auto; }
  .page-shell { padding-top: calc(var(--header-h) + 23px); }
  .breadcrumbs { font-size: 7px; gap: 6px; }
  .page-hero { padding: 38px 0 35px; }
  .page-hero h1 { font-size: clamp(36px, 11vw, 51px); }
  .page-hero > .container > p { font-size: 13px; }
  .page-badges { margin-top: 17px; }
  .content-block { padding: 35px 0; }
  .content-block h2 { font-size: 29px; }
  .split-copy h2 { font-size: 31px; }
  .split-copy > p { font-size: 12px; }
  .boundary-card { grid-template-columns: 1fr; }
  .plan-level-grid { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .plan-level-grid > div:nth-child(2) { border-right: 0; }
  .formula-panel { padding: 19px; }
  .formula-code { font-size: 10px; padding: 13px; }
  .group-row { grid-template-columns: 7px minmax(0, 1fr) 48px 34px; gap: 8px; padding: 11px 12px; }
  .group-row small { font-size: 7px; }
  .group-count { display: none; }
  .contract-flow { grid-template-columns: 1fr; }
  .contract-step { min-height: 70px; }
  .contract-step > .icon { display: none; }
  .audit-head { flex-wrap: wrap; gap: 7px 10px; }
  .audit-head > .mono:last-child { margin-left: 0; width: 100%; }
  .audit-list { padding-inline: 12px; }
  .audit-item { grid-template-columns: 42px 10px minmax(0, 1fr); gap: 7px; }
  .audit-item:not(:last-child)::after { left: 47px; }
  .audit-status { grid-column: 3; text-align: left; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card > b { font-size: 25px; }
  .public-assets-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 11px; }
  .faq-list details p { font-size: 9.5px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand p { max-width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 23px; }
  .footer-bottom { flex-direction: column; gap: 11px; }
  .footer-bottom > p { text-align: left; }
  .page-pager { padding-bottom: 40px; }
  .pager-link b { font-size: 10px; }
}
@media (max-width: 460px) {
  .header-inner { gap: 8px; }
  .icon-button { width: 32px; height: 32px; }
  .lang-trigger { height: 32px; font-size: 8px; padding-inline: 6px; }
  .lang-trigger .flag { width: 15px; height: 11px; }
  .lang-trigger .icon { width: 9px; height: 9px; }
  .menu-button { width: 33px; height: 33px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .proof-item > strong { font-size: 22px; }
  .hsc-levels { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .hsc-levels > div:nth-child(2n) { border-right: 0; }
  .cta-actions { flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .stat-card > b { font-size: 22px; }
  .faq-list summary { font-size: 10px; padding-block: 14px; }
  .faq-list summary span { width: 21px; height: 21px; }
  .footer-nav { grid-template-columns: 1fr; gap: 17px; }
  .footer-heading { padding-bottom: 8px; margin-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-signal-card { transform: none; }
}
