:root {
  color-scheme: dark;
  --page: #080e13;
  --panel: #111b22;
  --ink: #f2faf9;
  --muted: #a9bcc3;
  --hairline: #2d4149;
  --blue: #6ee7cf;
  --bright: #86edda;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font: 1rem/1.65 "Space Grotesk", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bright); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--bright); outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-180%); background: var(--ink); color: var(--page); padding: .6rem 1rem; }
.skip:focus { transform: none; }
.header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border-bottom: 1px solid var(--hairline); }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.8rem; font-weight: 700; line-height: 1; letter-spacing: -.08em; }
.wordmark span { display: block; width: 1.35rem; height: 1.35rem; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 23%, 40% 23%, 40% 43%, 79% 43%, 79% 66%, 40% 66%, 40% 100%, 0 100%); }
nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 2.4vw, 2rem); color: var(--muted); }
nav [aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .4em; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: .64rem 1.02rem; border: 1px solid transparent; font-size: .9rem; font-weight: 700; line-height: 1.2; }
.outline { border-color: var(--hairline); }
.outline:hover { border-color: var(--bright); }
.primary { background: #b1c1ff; color: #0b1539; }
.primary:hover { background: #d3deff; color: #0b1539; }
.paper { color: #fff; background: #1c36b4; border-color: #6d87ff; }
.paper:hover { background: #2844cb; color: #fff; }
.hero { display: grid; grid-template-columns: 1fr .9fr; min-height: min(690px, 65vw); border-bottom: 1px solid var(--hairline); }
.hero-copy { align-self: center; padding: clamp(3rem, 7vw, 6rem) 2rem clamp(3rem, 7vw, 6rem) 0; }
.hero-art { display: block; width: 100%; height: 100%; max-height: 690px; min-width: 0; object-fit: cover; object-position: 50% 54%; background: #101a3a; border-left: 1px solid var(--hairline); }
.label { margin: 0 0 1.2rem; color: var(--bright); font-size: .875rem; letter-spacing: .085em; text-transform: uppercase; font-weight: 700; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.065em; }
h1 { max-width: 10ch; font-size: clamp(3.75rem, 7.6vw, 8.7rem); }
h1 em { display: block; color: var(--bright); font-style: normal; }
h2 { font-size: clamp(2.7rem, 5.3vw, 5.5rem); }
.intro { max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.19rem); margin: 1.4rem 0 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.route-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--hairline); margin-bottom: clamp(2.5rem, 5vw, 4.25rem); }
.route-strip a { display: grid; gap: .2rem; padding: 1.05rem 1.25rem; border-right: 1px solid var(--hairline); }
.route-strip a:first-child { padding-left: 0; }
.route-strip a:last-child { border-right: 0; }
.route-strip span { color: var(--muted); font-size: .9rem; }
.route-strip a:hover strong { text-decoration: underline; text-underline-offset: .25em; }
.blue { background: linear-gradient(125deg, #111a4b, #101630 64%, #111629); border-block: 1px solid #314673; }
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(1.6rem, 7vw, 7rem); padding-block: clamp(3.3rem, 7vw, 6.75rem); align-items: start; }
.feature > div:first-child > p:not(.label) { margin: 1.15rem 0; color: var(--muted); max-width: 34rem; }
.accordion { border-top: 1px solid #53638d; }
details { border-bottom: 1px solid #53638d; }
details[open] { background: #1b2853; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.05rem 1.15rem; font-size: clamp(1.05rem, 2vw, 1.4rem); cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; color: var(--bright); }
details[open] summary::after { content: "−" / ""; }
details p { color: #d0d9f2; margin: 0; padding: 0 1.15rem 1.1rem; }
.service-list { margin: 0; border-top: 1px solid var(--hairline); }
.service-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--hairline); }
dt { font-weight: 700; }
dd { margin: 0; color: var(--muted); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--hairline); }
.contact .button { flex-shrink: 0; }
footer { background: #0b1020; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.5rem; padding-block: 2.5rem; }
.footer-grid h2 { font: 700 1rem/1.5 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0; margin-bottom: .4rem; }
.footer-grid a:not(.wordmark) { display: block; width: fit-content; }
address { font-style: normal; margin-top: .9rem; }
address, .footer-grid a:not(.wordmark), .legal { color: var(--muted); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.2rem; border-top: 1px solid var(--hairline); padding-block: 1rem; font-size: .875rem; }
.legal p { margin: 0; }
.legal div { display: flex; gap: 1rem; }
.legal a { text-decoration: underline; text-underline-offset: .2em; }
.pricing-intro {
  padding-block: clamp(3.25rem, 8vw, 7rem);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(ellipse at 85% 0%, #24346b 0%, #10172c 40%, var(--page) 78%);
}
.pricing-intro h1 { max-width: 17ch; font-size: clamp(3.45rem, 7.2vw, 7.5rem); overflow-wrap: anywhere; }
.pricing-intro .intro { max-width: 42rem; margin-bottom: 0; }
.sub-section { padding-block: clamp(2rem, 4.5vw, 4.2rem); }
.sub-section + .sub-section { border-top: 1px solid var(--hairline); }
.sub-section > :is(p, address) { max-width: 65ch; color: var(--muted); }
.sub-section > .button, .sub-section > .actions { margin-top: 1.1rem; }
.sub-section h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.sub-grid, .plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .85rem; margin-top: 1.4rem; }
.sub-card, .plan-grid li { background: var(--panel); border: 1px solid var(--hairline); padding: clamp(1rem, 2.5vw, 1.6rem); }
.sub-card h3, .plan-grid h3 { margin: 0; line-height: 1.25; }
.sub-card p, .plan-grid li > p:last-child { color: var(--muted); }
.topic-list { padding-left: 1.35rem; margin-top: 1.3rem; }
.topic-list li { margin-block: .4rem; }
.topic-list li::marker { color: var(--bright); }
.plan-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); padding: 0; list-style: none; margin-bottom: 0; }
.plan-amount { font-size: clamp(1.75rem, 2.6vw, 2.85rem); color: var(--bright); letter-spacing: -.07em; font-weight: 700; margin: .65rem 0 0; line-height: 1.05; }
.plan-tax { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; }
.plan-grid li > p:last-child { margin: 1rem 0 0; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--hairline); }
.comparison-scroll:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
.comparison { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 815px; text-align: left; }
.comparison :is(th, td) { padding: .8rem .9rem; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.comparison thead { background: #1c2851; }
.comparison tbody { background: var(--panel); }
.comparison tbody tr:nth-child(even) { background: #151d33; }
.comparison tr > :first-child { position: sticky; left: 0; width: 10rem; background: #202c51; box-shadow: 1px 0 var(--hairline); }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.pricing-note { font-size: .9rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero { grid-template-columns: 1fr .85fr; }
  .feature { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header { flex-wrap: wrap; padding-block: .75rem; gap: .65rem; }
  nav { order: 3; width: 100%; padding-top: .65rem; border-top: 1px solid var(--hairline); }
  .hero, .route-strip, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.1rem 0 2rem; }
  h1 { font-size: clamp(3.6rem, 13vw, 6rem); }
  .hero-art { height: min(100vw, 440px); border: 1px solid var(--hairline); }
  .route-strip a { border-right: 0; padding-inline: 0; border-bottom: 1px solid var(--hairline); }
  .route-strip a:last-child { border-bottom: 0; }
  .contact { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared navigation, page layouts, and the market terminal. */
body { background: radial-gradient(ellipse 80% 42rem at 78% 0%, #132831 0, transparent 70%), var(--page); }
a:focus-visible, button:focus-visible, select:focus-visible, canvas:focus-visible { outline: 2px solid var(--bright); outline-offset: 4px; }
.header { position: relative; z-index: 3; min-height: 76px; }
.site-nav { align-items: center; gap: clamp(.65rem, 2vw, 1.65rem); font-size: .92rem; color: var(--ink); }
.site-nav > a { padding-block: .45rem; }
.site-nav [aria-current="page"] { color: var(--bright); }
.site-nav details, .site-nav details[open] { position: relative; border: 0; background: transparent; }
.site-nav summary { padding: .45rem 0; font-size: .92rem; gap: .4rem; }
.site-nav summary::after, .site-nav details[open] summary::after { content: ""; width: .42rem; height: .42rem; border-right: 1px solid var(--bright); border-bottom: 1px solid var(--bright); transform: rotate(45deg) translateY(-2px); }
.site-nav details[open] summary::after { transform: rotate(225deg); }
.menu-group { display: grid; min-width: 13.5rem; padding: .5rem; border: 1px solid var(--hairline); background: #142229; box-shadow: 0 18px 40px #0009; position: absolute; z-index: 4; top: calc(100% + 8px); left: -.7rem; border-radius: .55rem; }
.menu-group a { border-radius: .35rem; padding: .48rem .68rem; }
.menu-group a:hover, .menu-group a:focus-visible { background: #20343a; }
.nav-toggle { display: none; color: var(--ink); background: transparent; border: 1px solid var(--hairline); border-radius: .45rem; }
.primary { background: #85f0d9; color: #09201c; }
.primary:hover { background: #bdffed; color: #09201c; }
.outline:hover { color: var(--bright); background: #13302c; border-color: var(--bright); }
.button { border-radius: .4rem; }
.paper { background: #183a3b; border-color: #4d7d7a; }
.paper:hover { background: #205150; }
.terminal-hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(1.4rem, 5vw, 5rem); padding-block: clamp(2.7rem, 7vw, 6.5rem); }
.terminal-hero .hero-copy { padding: 0; }
.terminal-hero h1 { max-width: none; font-size: clamp(3.1rem, 6.45vw, 6.9rem); line-height: .93; }
.hero-indicator { display: inline-block; background: var(--bright); width: .46rem; height: .46rem; margin-right: .45rem; vertical-align: .1em; transform: rotate(45deg); }
.label, .market-kicker, .hero-detail, .market-footer { font-family: var(--mono); }
.hero-detail { color: var(--muted); font-size: .82rem; margin-top: 1.35rem; }
.hero-detail span { color: var(--bright); }
.market-panel { min-width: 0; background: #0d171d; border: 1px solid #37515a; border-radius: .85rem; padding: clamp(.85rem, 2.25vw, 1.55rem); box-shadow: 0 24px 64px #0007; }
.market-top, .market-controls, .market-footer { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.market-top { padding-bottom: .8rem; border-bottom: 1px solid var(--hairline); }
.market-kicker { font-size: .71rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.market-top h2 { font-size: 1.2rem; letter-spacing: -.025em; }
.market-status { color: #e0c888; font-size: .75rem; padding: .28rem .6rem; background: #28251c; border: 1px solid #51452c; border-radius: .35rem; }
.market-controls { padding-block: .8rem .55rem; flex-wrap: wrap; }
.symbol-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: var(--muted); }
.symbol-picker select, .time-range button { font: 600 .8rem var(--display); color: var(--ink); background: #17252b; border: 1px solid #385057; border-radius: .3rem; min-height: 36px; padding: .28rem .52rem; }
.time-range { display: flex; gap: .2rem; }
.time-range button { cursor: pointer; }
.time-range button[aria-pressed="true"] { background: #224943; border-color: #548b7b; color: #dcfff4; }
.chart-stage { height: clamp(310px, 32vw, 430px); margin-block: .35rem .55rem; background: #111b21; border: 1px solid var(--hairline); border-radius: .4rem; overflow: hidden; }
.chart-stage:empty { display: none; }
.chart-stage .tradingview-widget-container, .chart-stage .tradingview-widget-container__widget { width: 100%; height: 100%; }
.chart-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.market-footer { flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: .55rem; color: var(--muted); font-size: .73rem; }
.market-footer a { color: var(--bright); text-decoration: underline; text-underline-offset: .15em; }
.market-context { font-size: .74rem; color: var(--muted); margin: .45rem 0 0; }
.route-strip a { background: #111b21; }
.route-strip a:first-child { padding-left: 1.25rem; }
.blue { background: linear-gradient(125deg, #102b30, #111f25 76%); border-color: var(--hairline); }
.accordion, .accordion details { border-color: #4b666d; }
.accordion details[open] { background: #1c343b; }
footer { background: #0b151b; }
.pricing-intro { background: repeating-linear-gradient(90deg, #85f0d908 0 1px, transparent 1px 55px), radial-gradient(ellipse at 85% 0%, #1d4047 0%, #142830 40%, var(--page) 78%); }
.pricing-intro h1 { font-size: clamp(2.8rem, 6vw, 6.25rem); }
.pricing-intro h1 em { display: inline; }
.sub-card, .plan-grid li { border-radius: .6rem; }
.sub-card { background: linear-gradient(155deg, #192b33, var(--panel) 76%); }
.sub-card:focus-within { border-color: #71b6a5; }
.comparison thead, .comparison tr > :first-child { background: #20333c; }
.comparison tbody tr:nth-child(even) { background: #15232b; }
.plan-grid li { border-top: 3px solid #559f90; }
.plan-grid li .button { margin-top: .85rem; }
.pricing-actions { margin-top: 1.4rem; }
.plan-filters { margin: 1rem 0 .25rem; border: 1px solid var(--hairline); border-radius: .45rem; }
.plan-filters legend { padding-inline: .35rem; color: var(--bright); }
.plan-filter-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
.plan-filter-controls label { display: flex; align-items: center; gap: .4rem; cursor: pointer; }
.plan-filter-controls input { accent-color: var(--blue); }
.plan-filter-controls button { font-family: inherit; cursor: pointer; background: transparent; color: var(--ink); min-height: 36px; }
.comparison-feedback { font-size: .85rem; margin: .45rem 0; color: var(--muted); }
.comparison-feedback:empty { display: none; }
.comparison.comparison-focused { min-width: 0; }
.comparison.comparison-focused tr > :first-child { width: clamp(6.5rem, 24vw, 10rem); }
@media (max-width: 480px) {
  .comparison.comparison-focused :is(th, td) { padding: .6rem .42rem; font-size: .78rem; }
}
.crumb { color: var(--muted); font-size: .87rem; padding-block: .8rem; border-bottom: 1px solid var(--hairline); }
.crumb a { color: var(--bright); }
.crumb span { margin-inline: .55rem; }
.service-detail .topic-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .7rem; }
.service-detail .topic-list li { padding: .85rem 1rem; border: 1px solid var(--hairline); background: var(--panel); border-left: 3px solid #66baa8; border-radius: .3rem; }
@media (max-width: 900px) {
  .terminal-hero { grid-template-columns: 1fr; }
  .terminal-hero .intro { max-width: 44rem; }
  .terminal-hero h1 br { display: none; }
  .terminal-hero h1 em { display: inline; }
  .market-panel { width: 100%; }
}
@media (max-width: 800px) {
  .header { flex-wrap: wrap; padding-block: .65rem; gap: .55rem; }
  .menu-ready .nav-toggle { display: inline-flex; margin-left: auto; }
  .menu-ready .site-nav:not(.is-open) { display: none; }
  .site-nav { order: 4; width: 100%; padding: .5rem 0; align-items: stretch; }
  .site-nav.is-open { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
  .site-nav.is-open > * { padding: .5rem .15rem; border-bottom: 1px solid var(--hairline); }
  .site-nav .menu-group { position: static; box-shadow: none; margin-top: .3rem; }
  .site-nav summary { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .route-strip a, .route-strip a:first-child { padding-inline: .7rem; }
  .terminal-hero h1 { font-size: clamp(2.8rem, 11vw, 4.35rem); }
  .terminal-hero h1 em { display: block; }
  .site-nav > a { padding-inline: .15rem; }
}
