/* Veltrion Markets — original static demonstration template */
:root {
  color-scheme: dark;
  --ink-950: #050b13;
  --ink-925: #07101b;
  --ink-900: #08131f;
  --ink-875: #0a1624;
  --ink-850: #0d1a2a;
  --ink-800: #102033;
  --ink-750: #15283b;
  --line: #203448;
  --line-bright: #2b4a5d;
  --text: #e8f1f4;
  --text-soft: #b8c8d2;
  --muted: #7f97a9;
  --faint: #587185;
  --cyan: #58e6de;
  --cyan-strong: #2fd4d0;
  --cyan-dark: #0d3c40;
  --blue: #6aaef0;
  --green: #55d4ad;
  --red: #ef8f9f;
  --amber: #e5c580;
  --font-sans: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  --container: 1240px;
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 28px 80px rgba(0, 4, 12, .42);
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 84% 8%, rgba(34, 150, 167, .08), transparent 31rem),
    radial-gradient(circle at 3% 40%, rgba(48, 101, 176, .05), transparent 30rem);
}
main { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
a:not(.button):not(.brand):not(.nav-link):not(.card-link):not(.text-arrow) { text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding-left: 1.2rem; }
::selection { background: rgba(88, 230, 222, .24); color: #fff; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #041012;
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 850px); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-space); }
.section--compact { padding-block: clamp(3.25rem, 6vw, 5rem); }
.section--surface { background: var(--ink-925); border-block: 1px solid rgba(43, 74, 93, .42); }
.section--blueprint {
  background-color: var(--ink-925);
  background-image:
    linear-gradient(rgba(105, 147, 172, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 147, 172, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  border-block: 1px solid rgba(43, 74, 93, .42);
}
.section-heading { max-width: 730px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 3rem;
  align-items: end;
  max-width: none;
}
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { max-width: 620px; margin-bottom: 0; font-size: 1.05rem; }
.section-heading--split p { padding-bottom: .35rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 1px; flex: 0 0 auto; content: ""; background: currentColor; }
.kicker { color: var(--cyan); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.text-cyan { color: var(--cyan); }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.small { font-size: .82rem; }
.lead { color: var(--text-soft); font-size: clamp(1.04rem, 1.7vw, 1.22rem); line-height: 1.7; }
.caption { color: var(--muted); font-size: .78rem; line-height: 1.6; }
.rule { height: 1px; margin-block: 2rem; border: 0; background: var(--line); }
.stack > * + * { margin-top: 1rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(45, 70, 91, .65);
  background: rgba(5, 11, 19, .9);
  backdrop-filter: blur(18px);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { background: rgba(5, 11, 19, .97); box-shadow: 0 12px 35px rgba(0, 0, 0, .24); }
.nav-shell { position: relative; display: flex; min-height: 76px; align-items: center; gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand-mark { width: 33px; height: 33px; }
.brand-name { display: block; color: #edf8f8; font-size: .96rem; font-weight: 800; letter-spacing: .17em; line-height: 1.1; }
.brand-sub { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: .49rem; letter-spacing: .31em; line-height: 1; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav-link {
  position: relative;
  display: block;
  padding: 10px 12px;
  color: #9cb0be;
  font-size: .82rem;
  font-weight: 600;
  transition: color .2s ease;
}
.nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #effafa; }
.nav-link[aria-current="page"]::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .button { min-height: 40px; padding: 9px 16px; font-size: .77rem; }
.demo-label { color: var(--faint); font-family: var(--font-mono); font-size: .59rem; letter-spacing: .1em; white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-875);
}
.nav-toggle-box { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-box span { position: absolute; left: 0; width: 20px; height: 1px; background: #c8d9e1; transition: transform .2s ease, top .2s ease, opacity .2s ease; }
.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.primary-nav .mobile-nav-cta { display: none; }

/* Buttons and links */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #041315;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover { background: #83f3ed; box-shadow: 0 8px 30px rgba(54, 220, 213, .14); transform: translateY(-2px); }
.button svg { width: 16px; height: 16px; }
.button--secondary { border-color: var(--line-bright); background: rgba(13, 26, 42, .7); color: var(--text); }
.button--secondary:hover { border-color: #477185; background: var(--ink-750); color: #fff; box-shadow: none; }
.button--ghost { border-color: var(--line); background: transparent; color: var(--text-soft); }
.button--small { min-height: 39px; padding: 9px 14px; font-size: .76rem; }
.button--block { width: 100%; }
.text-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-size: .84rem; font-weight: 700; }
.text-arrow::after { content: "↗"; font-family: Arial, sans-serif; font-size: 1rem; transition: transform .2s ease; }
.text-arrow:hover::after { transform: translate(2px, -2px); }
.link-arrow { color: var(--cyan); }

/* Home hero */
.hero { position: relative; padding-block: clamp(3.5rem, 5.5vw, 5.5rem) clamp(4rem, 7vw, 6.5rem); }
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, transparent 49.9%, rgba(92, 133, 156, .035) 50%, transparent 50.1%),
    radial-gradient(ellipse at 80% 38%, rgba(39, 183, 184, .08), transparent 44%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2.25rem, 4.2vw, 4rem); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 680px; margin-bottom: 1.6rem; font-size: clamp(3.25rem, 5.25vw, 4.85rem); font-weight: 500; line-height: 1.015; letter-spacing: -.055em; }
.hero-copy h1 span { display: block; color: var(--cyan); }
.hero-copy .lead { max-width: 540px; margin-bottom: 1.8rem; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.8rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .75rem 1.35rem; margin: 0; padding: 0; list-style: none; }
.hero-notes li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .035em; }
.hero-notes li::before { width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--cyan); box-shadow: 0 0 0 3px rgba(88, 230, 222, .08); }
.hero-visual { min-width: 0; perspective: 1400px; }
.hero-disclaimer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 10px; color: var(--faint); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-disclaimer span:last-child { color: #73a6b5; }

.terminal-shell {
  position: relative;
  border: 1px solid #284356;
  border-radius: 14px;
  background: #08131f;
  box-shadow: 0 36px 90px rgba(0, 3, 10, .58), 0 0 0 1px rgba(111, 238, 229, .02) inset;
}
.terminal-shell::before {
  position: absolute;
  top: -1px;
  left: 8%;
  width: 38%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.terminal-topbar { display: flex; min-height: 47px; align-items: center; gap: 1rem; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0a1624; border-radius: 14px 14px 0 0; }
.window-controls { display: flex; gap: 5px; }
.window-controls i { width: 5px; height: 5px; border-radius: 50%; background: #385064; }
.window-controls i:first-child { background: #4b7f85; }
.terminal-topbar-title { color: #9db3c1; font-family: var(--font-mono); font-size: .59rem; letter-spacing: .08em; }
.terminal-status { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #76cbbd; font-family: var(--font-mono); font-size: .55rem; letter-spacing: .08em; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(85, 212, 173, .09); animation: status-pulse 3s ease-in-out infinite; }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 6px rgba(85, 212, 173, 0); } }
.terminal-tabs { display: flex; gap: 1px; padding: 10px 16px 0; border-bottom: 1px solid var(--line); }
.terminal-tab { padding: 7px 11px 10px; border-bottom: 1px solid transparent; color: var(--faint); font-size: .62rem; }
.terminal-tab.is-active { border-color: var(--cyan); color: #c6e9e8; }
.terminal-main { display: grid; grid-template-columns: minmax(0, 1fr) 164px; }
.terminal-chart-pane { min-width: 0; padding: 16px 16px 12px; }
.instrument-line { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.instrument-name { display: flex; align-items: center; gap: 8px; }
.instrument-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #27535c; border-radius: 50%; background: #0f2b33; color: var(--cyan); font-family: var(--font-mono); font-size: .58rem; }
.instrument-name strong { display: block; color: #dcebee; font-size: .74rem; letter-spacing: .02em; }
.instrument-name small { display: block; margin-top: 2px; color: var(--faint); font-family: var(--font-mono); font-size: .48rem; }
.quote { text-align: right; }
.quote-price { display: block; color: #e5f8f5; font-family: var(--font-mono); font-size: 1.04rem; font-weight: 500; line-height: 1.2; }
.quote-change { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: .53rem; }
.chart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 13px; }
.chart-legend { color: var(--faint); font-family: var(--font-mono); font-size: .47rem; }
.range-switcher { display: flex; gap: 3px; }
.range-button { min-width: 29px; min-height: 25px; padding: 3px 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--faint); font-family: var(--font-mono); font-size: .51rem; }
.range-button:hover { color: var(--text); }
.range-button[aria-pressed="true"] { border-color: #254d57; background: #112d35; color: var(--cyan); }
.terminal-chart { position: relative; margin-top: 4px; }
.terminal-chart svg { width: 100%; height: auto; aspect-ratio: 620 / 238; }
.chart-line { transition: d .35s ease; }
.chart-end { filter: drop-shadow(0 0 5px rgba(88, 230, 222, .8)); }
.chart-axis { fill: #536f82; font-family: var(--font-mono); font-size: 9px; }
.chart-gridline { stroke: #203448; stroke-width: 1; stroke-opacity: .6; }
.chart-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 2px; color: var(--faint); font-family: var(--font-mono); font-size: .46rem; }
.chart-footer .legend-line { display: inline-flex; align-items: center; gap: 5px; }
.chart-footer .legend-line::before { width: 12px; height: 2px; content: ""; background: var(--cyan); }
.terminal-sidebar { min-width: 0; padding: 15px 12px; border-left: 1px solid var(--line); background: rgba(10, 23, 36, .65); }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #7e99aa; font-family: var(--font-mono); font-size: .51rem; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-heading span:last-child { color: #47677a; }
.watchlist { display: grid; gap: 5px; }
.watch-symbol { width: 100%; padding: 9px 8px; border: 1px solid transparent; border-radius: 5px; background: transparent; text-align: left; transition: background .2s ease, border-color .2s ease; }
.watch-symbol:hover { background: #0e2130; }
.watch-symbol[aria-pressed="true"] { border-color: #234750; background: #102932; }
.watch-symbol-top, .watch-symbol-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.watch-symbol-top strong { color: #c8dbe2; font-size: .59rem; }
.watch-symbol-top span { color: #d4e6e9; font-family: var(--font-mono); font-size: .56rem; }
.watch-symbol-bottom { margin-top: 4px; color: #526f82; font-family: var(--font-mono); font-size: .43rem; }
.watch-symbol-bottom .positive, .watch-symbol-bottom .negative { font-size: .45rem; }
.terminal-bottom { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 37px; padding: 8px 16px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; background: #091522; color: #536f81; font-family: var(--font-mono); font-size: .45rem; letter-spacing: .03em; }
.terminal-bottom span:first-child { color: #7193a2; }

.capability-rail { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(3.5rem, 6vw, 5rem); border-block: 1px solid var(--line); }
.capability-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 22px 28px; }
.capability-item + .capability-item { border-left: 1px solid var(--line); }
.capability-number { color: var(--cyan); font-family: var(--font-mono); font-size: .65rem; }
.capability-item strong { display: block; margin-bottom: 3px; font-size: .81rem; font-weight: 600; }
.capability-item small { display: block; color: var(--muted); font-size: .67rem; }

/* Illustrative price ribbon */
.market-ribbon { border-block: 1px solid var(--line); background: #08121d; }
.market-ribbon-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 10px 0; border-bottom: 1px solid rgba(32, 52, 72, .7); }
.market-ribbon-head span { color: var(--faint); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.market-ribbon-head span:first-child { color: #789fae; }
.market-quotes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.market-quote { padding: 15px 20px; }
.market-quote + .market-quote { border-left: 1px solid var(--line); }
.market-quote-head { display: flex; justify-content: space-between; gap: 8px; color: #a3b8c4; font-size: .67rem; font-weight: 700; }
.market-quote-head span:last-child { font-family: var(--font-mono); font-size: .56rem; font-weight: 400; }
.market-quote-value { margin-top: 4px; color: #d6e5e9; font-family: var(--font-mono); font-size: .75rem; }

/* Cards and content modules */
.card {
  position: relative;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 32, 51, .82), rgba(8, 19, 31, .92));
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: #335568; transform: translateY(-3px); }
.card h3 { margin-bottom: .7rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: grid; width: 42px; height: 42px; margin-bottom: 1.4rem; place-items: center; border: 1px solid #28505b; border-radius: 9px; background: #102d35; color: var(--cyan); }
.card-icon svg { width: 20px; height: 20px; }
.card-index { position: absolute; top: 1.6rem; right: 1.6rem; color: #456578; font-family: var(--font-mono); font-size: .63rem; }
.card-tag { display: inline-block; margin-bottom: 1rem; color: var(--cyan); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.feature-card p { color: var(--muted); font-size: .9rem; }
.card-link { display: block; }
.card-link::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.card-link:hover h3 { color: var(--cyan); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: .7rem; padding-left: 1.35rem; color: var(--text-soft); font-size: .9rem; }
.check-list li::before { position: absolute; top: .65em; left: 0; width: 7px; height: 4px; border-bottom: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan); content: ""; transform: rotate(-45deg); }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding-block: .75rem; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.metric { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.metric-value { display: block; margin-bottom: .35rem; color: var(--text); font-family: var(--font-mono); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.06em; }
.metric-label { color: var(--muted); font-size: .8rem; }
.info-panel { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 23, 36, .85); }
.info-panel--accent { border-color: #28525a; background: linear-gradient(145deg, rgba(17, 52, 58, .8), rgba(8, 22, 32, .95)); }
.info-panel h3 { margin-bottom: .85rem; }
.info-panel > :last-child { margin-bottom: 0; }
.notice { display: flex; gap: 13px; padding: 1rem 1.15rem; border: 1px solid #294552; border-radius: var(--radius-sm); background: rgba(15, 38, 48, .7); }
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--cyan); }
.notice p { margin: 0; color: #a9c0ca; font-size: .8rem; }
.notice--risk { border-color: #4c4132; background: rgba(49, 40, 24, .26); }
.notice--risk svg { color: var(--amber); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-family: var(--font-mono); font-size: .56rem; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.badge--cyan { border-color: #28565a; background: rgba(27, 80, 81, .18); color: #79ded4; }
.badge--amber { border-color: #5b4b2d; color: var(--amber); }

/* Artwork */
.artwork-frame { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-900); box-shadow: var(--shadow); }
.artwork-frame img { width: 100%; border-radius: inherit; }
.artwork-frame figcaption { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--faint); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .06em; }
.artwork-frame--flat { box-shadow: none; }
.split-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split-feature--reverse { grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); }
.split-feature-copy h2 { margin-bottom: 1.2rem; }
.split-feature-copy .lead { margin-bottom: 1.4rem; }
.split-feature-copy > p:not(.lead) { color: var(--muted); }
.feature-list { display: grid; gap: 1.1rem; margin: 2rem 0 0; }
.feature-list-item { display: grid; grid-template-columns: 30px 1fr; gap: 13px; }
.feature-list-number { padding-top: 2px; color: var(--cyan); font-family: var(--font-mono); font-size: .66rem; }
.feature-list-item h3 { margin-bottom: .35rem; font-size: .98rem; letter-spacing: -.015em; }
.feature-list-item p { margin: 0; color: var(--muted); font-size: .83rem; }

/* Research */
.research-grid { display: grid; grid-template-columns: 1.12fr .94fr .94fr; gap: 1.25rem; }
.research-card { display: flex; min-height: 300px; flex-direction: column; }
.research-card--featured { background: linear-gradient(150deg, rgba(18, 55, 62, .9), rgba(8, 20, 32, .96) 62%); }
.research-visual { position: relative; height: 96px; margin: -2rem -2rem 1.7rem; border-bottom: 1px solid var(--line); background-image: linear-gradient(rgba(85, 122, 145, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 122, 145, .07) 1px, transparent 1px); background-size: 24px 24px; }
.research-visual svg { position: absolute; right: 16px; bottom: 0; left: 16px; width: calc(100% - 32px); height: 85px; }
.research-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; color: var(--faint); font-family: var(--font-mono); font-size: .59rem; letter-spacing: .06em; text-transform: uppercase; }
.research-card h3 { font-size: 1.12rem; line-height: 1.35; }
.research-card p { color: var(--muted); font-size: .85rem; }
.research-card .text-arrow { margin-top: auto; padding-top: .75rem; }

/* CTA */
.cta-panel { position: relative; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #28515c; border-radius: var(--radius-lg); background: linear-gradient(115deg, #102f38 0%, #0b1b2b 48%, #091522 100%); }
.cta-panel::after { position: absolute; top: 0; right: 0; width: 36%; height: 100%; pointer-events: none; content: ""; background-image: linear-gradient(rgba(90, 225, 216, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 225, 216, .07) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta-content h2 { max-width: 650px; margin-bottom: .7rem; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.cta-content p { max-width: 660px; margin: 0; color: #9bb7c2; }
.cta-actions { display: flex; flex-direction: column; gap: .65rem; min-width: 190px; }
.cta-note { margin-top: 1.3rem !important; color: #668e9b !important; font-family: var(--font-mono); font-size: .62rem; }

/* Inner page hero */
.page-hero { position: relative; padding-block: clamp(3.5rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.page-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: radial-gradient(ellipse at 82% 32%, rgba(41, 179, 181, .09), transparent 40%); }
.breadcrumbs { margin-bottom: 2.25rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--faint); font-family: var(--font-mono); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: "/"; color: #375568; }
.breadcrumbs a:hover { color: var(--cyan); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.page-hero h1 { max-width: 830px; margin-bottom: 1.4rem; font-size: clamp(2.7rem, 5.4vw, 4.65rem); font-weight: 500; letter-spacing: -.055em; }
.page-hero h1 span { color: var(--cyan); }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.page-hero-aside { padding-left: 1.5rem; border-left: 1px solid var(--line-bright); }
.page-hero-aside p { margin-bottom: 1.25rem; color: var(--muted); font-size: .85rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* Tables, filters and market modules */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-button { min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; background: #0a1724; color: var(--muted); font-size: .74rem; font-weight: 600; }
.filter-button:hover { border-color: var(--line-bright); color: var(--text); }
.filter-button[aria-pressed="true"] { border-color: #32616a; background: #123139; color: var(--cyan); }
.filter-status { margin: 0; color: var(--faint); font-family: var(--font-mono); font-size: .63rem; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #091522; scrollbar-color: #315166 #091522; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 14px 18px; border-bottom: 1px solid var(--line-bright); background: #0c1927; color: #7893a5; font-family: var(--font-mono); font-size: .61rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td { padding: 16px 18px; border-bottom: 1px solid rgba(32, 52, 72, .75); color: #b9cad3; font-size: .8rem; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s ease; }
tbody tr:hover { background: rgba(20, 45, 58, .36); }
.table-instrument { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.table-symbol { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #284553; border-radius: 7px; background: #102630; color: var(--cyan); font-family: var(--font-mono); font-size: .56rem; }
.table-instrument strong { display: block; color: #dce9ed; font-size: .78rem; }
.table-instrument small { display: block; margin-top: 2px; color: var(--faint); font-size: .63rem; }
.numeric { font-family: var(--font-mono); white-space: nowrap; }
.table-note { margin: .8rem 0 0; color: var(--faint); font-size: .7rem; }
.comparison-table { min-width: 760px; }
.comparison-table th:not(:first-child), .comparison-table td:not(:first-child) { text-align: center; }
.comparison-table th:first-child { min-width: 210px; }
.comparison-table .featured-col { background: rgba(25, 68, 73, .28); color: #d8f3ee; }
.comparison-table td:first-child { color: #9db2bf; }
.table-check { color: var(--cyan); }
.table-dash { color: #456174; }

.asset-card { display: flex; min-height: 260px; flex-direction: column; }
.asset-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.asset-card .card-icon { margin: 0; }
.asset-card p { color: var(--muted); font-size: .84rem; }
.asset-card-footer { display: flex; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--faint); font-family: var(--font-mono); font-size: .55rem; }

/* Accounts */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 2rem; }
.pricing-card--featured { border-color: #3c7579; background: linear-gradient(155deg, rgba(20, 58, 64, .9), rgba(8, 20, 32, .96) 48%); }
.pricing-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1.6rem; }
.pricing-card-head h3 { margin: 0; font-size: 1.35rem; }
.pricing-card-price { margin-bottom: .4rem; color: #f0f8f8; font-family: var(--font-mono); font-size: 2rem; letter-spacing: -.05em; }
.pricing-card-price small { color: var(--muted); font-size: .65rem; letter-spacing: 0; }
.pricing-card-desc { min-height: 74px; color: var(--muted); font-size: .83rem; }
.pricing-card .check-list { margin: 1.4rem 0 2rem; }
.pricing-card .button { margin-top: auto; }
.pricing-card-foot { margin: 1rem 0 0; color: var(--faint); font-size: .65rem; text-align: center; }
.calculator { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 0; padding: 0; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; padding: clamp(1.5rem, 3vw, 2.4rem); }
.calculator-fields .form-heading { grid-column: 1 / -1; }
.calculator-result { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 3vw, 2.4rem); border-left: 1px solid var(--line); background: rgba(9, 26, 37, .65); }
.calculator-output { display: block; margin: .7rem 0; color: var(--cyan); font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.06em; }
.calculator-breakdown { margin: 0; color: var(--muted); font-size: .75rem; }

/* Platforms */
.platform-tabs { margin-bottom: 2rem; }
.tab-list { display: flex; gap: .35rem; margin-bottom: 1.5rem; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #091522; width: fit-content; max-width: 100%; }
.tab-button { min-height: 43px; padding: 9px 20px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 600; }
.tab-button:hover { color: var(--text); }
.tab-button[aria-selected="true"] { border-color: #2b515c; background: #14303a; color: var(--cyan); }
.tab-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tab-panel:not([hidden]) { display: grid; }
.tab-panel-copy h3 { margin-bottom: 1rem; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.tab-panel-copy p { color: var(--muted); }
.platform-ui { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #08131f; box-shadow: var(--shadow); }
.platform-ui-top { display: flex; gap: 5px; margin-bottom: 1rem; }
.platform-ui-top i { width: 6px; height: 6px; border-radius: 50%; background: #365165; }
.platform-ui-grid { display: grid; grid-template-columns: 1fr 140px; gap: .8rem; }
.platform-ui-chart { min-height: 250px; padding: 1rem; border: 1px solid var(--line); border-radius: 7px; background-image: linear-gradient(rgba(95, 133, 156, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 133, 156, .07) 1px, transparent 1px); background-size: 36px 36px; }
.platform-ui-chart svg { width: 100%; height: 220px; }
.platform-ui-side { display: grid; align-content: start; gap: .6rem; }
.platform-ui-side span { display: block; height: 38px; border: 1px solid var(--line); border-radius: 5px; background: #0e2030; }
.platform-ui-side span:nth-child(2) { background: #123139; }
.platform-ui-side span:nth-child(3) { background: #152b3c; }
.platform-ui-caption { margin: .9rem 0 0; color: var(--faint); font-family: var(--font-mono); font-size: .55rem; }
.infrastructure-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.infrastructure-step { position: relative; padding: 1.5rem 1.5rem 0 0; }
.infrastructure-step::before { display: block; width: 9px; height: 9px; margin-bottom: 1.4rem; border: 2px solid var(--cyan); border-radius: 50%; background: var(--ink-950); content: ""; box-shadow: 0 0 0 6px rgba(88, 230, 222, .05); }
.infrastructure-step::after { position: absolute; top: 5px; left: 12px; width: calc(100% - 12px); height: 1px; content: ""; background: var(--line-bright); }
.infrastructure-step:last-child::after { display: none; }
.infrastructure-step h3 { margin-bottom: .6rem; font-size: .98rem; }
.infrastructure-step p { color: var(--muted); font-size: .78rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .field-label { display: block; margin-bottom: .45rem; color: #c6d5dd; font-size: .76rem; font-weight: 600; }
.required { color: var(--cyan); }
.form-field input, .form-field select, .form-field textarea, .calculator input, .calculator select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #294154;
  border-radius: 6px;
  outline: none;
  background: #091522;
  color: var(--text);
  font-size: .85rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 135px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #526e81; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .calculator input:focus, .calculator select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(88, 230, 222, .08); }
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-help { display: block; margin-top: .4rem; color: var(--faint); font-size: .65rem; }
.checkbox-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.checkbox-field input { width: 17px; height: 17px; min-height: auto; margin: 4px 0 0; padding: 0; accent-color: var(--cyan); }
.checkbox-field label { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 400; }
.checkbox-field a { color: #b9d9dd; text-decoration: underline; }
.fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fieldset legend { margin-bottom: .65rem; color: #c6d5dd; font-size: .76rem; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-option { position: relative; }
.radio-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-option label { display: block; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; background: #0b1825; color: var(--muted); font-size: .7rem; cursor: pointer; }
.radio-option input:checked + label { border-color: #37707a; background: #123039; color: var(--cyan); }
.radio-option input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-privacy { margin: 0; color: var(--faint); font-size: .66rem; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border: 1px solid #357166; border-radius: 6px; background: #0e2c2c; color: #a7e6d6; font-size: .8rem; }
.form-status:focus { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form-status.is-error { border-color: #76505a; background: #2a1c26; color: #efb4bd; }
.form-heading h2, .form-heading h3 { margin-bottom: .7rem; }
.form-heading p { color: var(--muted); font-size: .83rem; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.45rem 3rem 1.45rem 0; color: #d7e5ea; font-size: .96rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { position: absolute; top: 50%; right: 5px; width: 13px; height: 1px; content: ""; background: var(--cyan); transition: transform .2s ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--cyan); }
.faq-answer { max-width: 780px; padding: 0 3rem 1.5rem 0; }
.faq-answer p { margin-bottom: .7rem; color: var(--muted); font-size: .86rem; }
.faq-answer > :last-child { margin-bottom: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-sidebar { position: sticky; top: 110px; }
.contact-sidebar h2 { margin-bottom: 1rem; font-size: 1.8rem; }
.contact-methods { display: grid; gap: 1px; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.contact-method { padding: 1.25rem; background: var(--ink-900); }
.contact-method:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.contact-method:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.contact-method h3 { margin-bottom: .4rem; font-size: .85rem; }
.contact-method p { margin: 0; color: var(--muted); font-size: .75rem; }
.contact-form-card { padding: clamp(1.5rem, 4vw, 2.8rem); }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 780px); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; justify-content: center; }
.legal-toc { position: sticky; top: 110px; padding: 1.25rem; border-left: 1px solid var(--line-bright); }
.legal-toc strong { display: block; margin-bottom: .8rem; color: var(--text-soft); font-family: var(--font-mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.legal-toc a { color: var(--muted); font-size: .72rem; }
.legal-toc a:hover { color: var(--cyan); }
.legal-article section { scroll-margin-top: 110px; }
.legal-article section + section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.legal-article h2 { margin-bottom: 1rem; font-size: 1.55rem; letter-spacing: -.025em; }
.legal-article h3 { margin: 1.5rem 0 .7rem; font-size: 1rem; }
.legal-article p, .legal-article li { color: #9fb3bf; font-size: .88rem; }
.legal-article li { margin-bottom: .55rem; }
.legal-article a { color: var(--cyan); text-decoration: underline; }
.legal-updated { margin-bottom: 1.5rem; color: var(--faint); font-family: var(--font-mono); font-size: .65rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050c14; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap: 3rem; padding-block: 4rem 3rem; }
.footer-brand p { max-width: 290px; margin: 1.3rem 0 0; color: var(--muted); font-size: .8rem; }
.footer-heading { margin-bottom: 1.1rem; color: #d3e1e6; font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); font-size: .77rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-disclosure { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.footer-disclosure p { margin-bottom: .75rem; color: #6f8798; font-size: .68rem; line-height: 1.7; }
.footer-disclosure p:last-child { margin-bottom: 0; }
.footer-disclosure strong { color: #94aab6; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--faint); font-family: var(--font-mono); font-size: .58rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { color: #708999; font-size: .64rem; }
.footer-legal a:hover { color: var(--cyan); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-shell { gap: 1rem; }
  .nav-link { padding-inline: 9px; }
  .demo-label { display: none; }
  .hero-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3rem, 5.6vw, 4.1rem); }
  .terminal-main { grid-template-columns: minmax(0, 1fr) 146px; }
  .terminal-chart-pane { padding-inline: 12px; }
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-card:first-child { grid-column: 1 / -1; min-height: 260px; }
  .footer-main { grid-template-columns: 1.25fr repeat(3, .75fr); gap: 2rem; }
}

@media (max-width: 900px) {
  .container, .container--narrow { width: min(100% - 40px, var(--container)); }
  .nav-toggle { display: block; }
  .nav-actions { display: none; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: #07111d;
    box-shadow: 0 24px 45px rgba(0, 0, 0, .45);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { display: grid; gap: 2px; }
  .nav-link { padding: 13px 14px; border-radius: 5px; font-size: .9rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { background: #102933; color: var(--cyan); }
  .primary-nav .mobile-nav-cta { display: block; margin-top: .65rem; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-copy h1 { max-width: 640px; font-size: clamp(3.3rem, 9vw, 5rem); }
  .hero-copy .lead { max-width: 630px; }
  .hero-visual { width: 100%; max-width: 760px; margin-inline: auto; }
  .page-hero-aside { max-width: 650px; padding: 1.25rem 0 0; border-top: 1px solid var(--line-bright); border-left: 0; }
  .section-heading--split { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading--split p { padding: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-feature, .split-feature--reverse { grid-template-columns: 1fr; }
  .split-feature--reverse .split-feature-copy { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-desc { min-height: auto; }
  .pricing-card { padding: 1.7rem; }
  .calculator { grid-template-columns: 1fr; }
  .calculator-result { border-top: 1px solid var(--line); border-left: 0; }
  .tab-panel { grid-template-columns: 1fr; }
  .infrastructure-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .infrastructure-step:nth-child(2)::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .contact-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-method:first-child, .contact-method:last-child { border-radius: 0; }
  .contact-method:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .contact-method:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding: 0 0 1.5rem; border-bottom: 1px solid var(--line); border-left: 0; }
  .legal-toc ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-main > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --section-space: 4.25rem; }
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .nav-shell { min-height: 68px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: .86rem; }
  .brand-sub { font-size: .44rem; }
  .hero { padding-top: 3.25rem; }
  .hero-copy h1 { font-size: clamp(2.8rem, 13.2vw, 4.25rem); }
  .hero-copy .lead { font-size: .96rem; }
  .hero-actions .button { flex: 1 1 180px; }
  .hero-disclaimer { align-items: flex-start; flex-direction: column; gap: 3px; }
  .terminal-main { grid-template-columns: 1fr; }
  .terminal-sidebar { border-top: 1px solid var(--line); border-left: 0; }
  .watchlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terminal-tab { padding-inline: 8px; }
  .terminal-chart-pane { padding: 14px 10px; }
  .chart-legend { display: none; }
  .chart-toolbar { justify-content: flex-end; }
  .terminal-bottom { flex-wrap: wrap; }
  .capability-rail { grid-template-columns: 1fr; }
  .capability-item { padding: 18px 6px; }
  .capability-item + .capability-item { border-top: 1px solid var(--line); border-left: 0; }
  .market-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-quote { padding: 13px 12px; }
  .market-quote + .market-quote { border-left: 0; }
  .market-quote:nth-child(even) { border-left: 1px solid var(--line); }
  .market-quote:nth-child(n+3) { border-top: 1px solid var(--line); }
  .market-quote:last-child { grid-column: 1 / -1; }
  .grid-2, .grid-3, .grid-4, .research-grid { grid-template-columns: 1fr; }
  .research-card:first-child { grid-column: auto; }
  .research-card { min-height: 270px; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2 { font-size: 2rem; }
  .cta-content { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-actions .button { flex: 1 1 160px; }
  .page-hero { padding-block: 3rem 3.5rem; }
  .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .breadcrumbs { margin-bottom: 1.75rem; }
  .asset-card { min-height: auto; }
  .calculator-fields { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .tab-list { width: 100%; }
  .tab-button { flex: 1; padding-inline: 10px; }
  .platform-ui-grid { grid-template-columns: 1fr; }
  .platform-ui-side { grid-template-columns: repeat(3, 1fr); }
  .platform-ui-chart { min-height: 200px; }
  .platform-ui-chart svg { height: 180px; }
  .infrastructure-steps { grid-template-columns: 1fr; }
  .infrastructure-step::after { width: 1px; height: calc(100% - 12px); top: 12px; left: 4px; }
  .infrastructure-step:nth-child(2)::after { display: block; }
  .infrastructure-step:last-child::after { display: none; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-method:first-child, .contact-method:last-child { border-radius: 0; }
  .contact-method:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .contact-method:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-top: 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .container, .container--narrow { width: min(100% - 28px, var(--container)); }
  .hero-copy h1 { font-size: 2.7rem; }
  .hero-notes { display: grid; }
  .terminal-topbar { padding-inline: 12px; }
  .terminal-topbar-title { font-size: .52rem; }
  .terminal-status { font-size: .48rem; }
  .terminal-tabs { padding-inline: 10px; }
  .terminal-tab { font-size: .56rem; }
  .watchlist { grid-template-columns: 1fr; }
  .filter-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .filter-button { padding-inline: 8px; }
  .pricing-card { padding: 1.4rem; }
  .radio-row { display: grid; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
}

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

@media print {
  .site-header, .site-footer, .hero-actions, .page-hero-actions, .cta-panel, .nav-toggle { display: none; }
  body { background: #fff; color: #111; }
  h1, h2, h3, p, li { color: #111; }
  .legal-layout { display: block; }
  .legal-toc { display: none; }
}
