:root {
  --bg: #090c10;
  --surface: #10151b;
  --surface-raised: #151b22;
  --line: #29313a;
  --line-soft: #1d242c;
  --text: #f1f4f6;
  --muted: #9ba6b1;
  --faint: #84909a;
  --accent: #e0ad45;
  --accent-strong: #f2c25f;
  --positive: #34c99a;
  --font-sans: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body::selection { background: var(--accent); color: #111; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header { width: min(1320px, calc(100% - 48px)); height: 72px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 12px/1 var(--font-mono); }
.brand img { border-radius: 4px; }
nav { display: flex; gap: 28px; }
nav a, .text-link { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--text); }
nav a.active { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }

.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #17130a; text-decoration: none; font-size: 13px; font-weight: 800; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; }
.button-small { min-height: 36px; padding: 0 14px; font-size: 12px; }
.button-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.button-quiet:hover { background: var(--surface-raised); border-color: #485463; }

main { overflow: hidden; }
.hero { width: min(1320px, calc(100% - 48px)); min-height: calc(100vh - 72px); margin: 0 auto; padding: 54px 0 48px; display: grid; grid-template-columns: minmax(360px, .72fr) minmax(620px, 1.48fr); gap: 54px; align-items: center; }
h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 5.5vw, 82px); line-height: 1.01; letter-spacing: -0.04em; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; margin-top: 34px; }
.hero-note { margin: 14px 0 0; color: var(--faint); font: 500 12px/1.4 var(--font-mono); }
.hero-showcase { min-width: 0; display: grid; gap: 12px; }
.hero-product { min-width: 0; margin: 0; border-radius: 8px; overflow: hidden; background: #05080c; box-shadow: 0 24px 54px rgba(0,0,0,.34); }
.hero-product img { width: 100%; height: 280px; object-fit: contain; object-position: center; background: #05080c; }
.hero-showcase-single .hero-product img { height: auto; aspect-ratio: auto; object-fit: contain; }
.hero-product figcaption { min-height: 40px; padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--faint); font: 600 12px/1.3 var(--font-mono); }
.hero-product figcaption span:first-child { color: var(--accent-strong); }

.proof-strip { border-block: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip div { min-height: 104px; padding: 28px 5vw; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line-soft); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 14px; }
.proof-strip span { margin-top: 5px; color: var(--faint); font-size: 12px; }

.product-story, .feature-ledger, .pricing { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 128px 0; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-intro h2, .closing h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -0.035em; }
.section-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-intro.compact { grid-template-columns: 1.15fr .85fr; margin-bottom: 48px; }

.product-panel { margin-top: 28px; display: grid; grid-template-columns: .72fr 1.28fr; min-height: 590px; background: var(--surface); border-radius: 8px; overflow: hidden; }
.product-panel-reverse { grid-template-columns: 1fr 1fr; }
.product-panel-reverse .product-copy { order: 2; }
.product-copy { padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.product-copy h3 { margin: 0 0 16px; font-size: 32px; letter-spacing: -0.03em; }
.product-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.product-copy ul { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.product-copy li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #c8d0d7; font: 500 12px/1.4 var(--font-mono); }
.product-image { margin: 0; min-width: 0; display: grid; place-items: center; overflow: hidden; background: #05080c; }
.product-image img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: center; }

.feature-ledger, .pricing { border-top: 1px solid var(--line-soft); }
.feature-list, .pricing-table { border-top: 1px solid var(--line); }
.feature-list > div { min-height: 118px; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.feature-list h3 { margin: 0; font-size: 19px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.plan { min-height: 116px; display: grid; grid-template-columns: 1.15fr .75fr .6fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.plan h3 { margin: 0; font-size: 20px; }
.plan p { margin: 6px 0 0; color: var(--faint); font-size: 12px; }
.plan strong { font: 600 22px/1 var(--font-mono); }
.plan a { justify-self: end; min-width: 140px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 5px; text-align: center; text-decoration: none; font-size: 12px; font-weight: 700; }
.plan a:hover { border-color: var(--accent); color: var(--accent-strong); }
.plan-featured { background: var(--surface); padding-inline: 20px; }
.plan-label { display: inline-block; margin-bottom: 8px; color: var(--accent); font: 700 12px/1 var(--font-mono); }
.pricing-footnote { margin: 18px 0 0; color: var(--faint); font-size: 12px; }

.built-by-traders { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 128px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; border-top: 1px solid var(--line-soft); }
.built-by-traders h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; letter-spacing: -0.035em; }
.built-by-traders > div > p { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.trader-types { border-top: 1px solid var(--line); }
.trader-types a { min-height: 98px; padding: 20px 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; }
.trader-types a:hover strong { color: var(--accent-strong); }
.trader-types strong { font-size: 17px; }
.trader-types span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.page-hero { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0 96px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; font-size: clamp(50px, 7vw, 94px); }
.page-hero > p { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.page-jump-links { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-jump-links a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 5px; color: #c8d0d7; text-decoration: none; font: 600 12px/1 var(--font-mono); }
.page-jump-links a:hover { border-color: var(--accent); color: var(--accent-strong); }

.feature-detail, .trader-fit, .pricing-page, .included, .trial-flow, .pricing-faq { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 20px; }
.feature-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 54px; }
.feature-heading span { color: var(--accent); font: 700 12px/1.3 var(--font-mono); }
.feature-heading h2 { max-width: 700px; margin: 14px 0 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -0.035em; }
.feature-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.spec-grid article { min-height: 138px; padding: 28px 28px 28px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: start; border-bottom: 1px solid var(--line); }
.spec-grid article:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--line); }
.spec-grid article:nth-child(even) { padding-left: 48px; }
.spec-grid h3, .data-ledger h3 { margin: 0; font-size: 16px; }
.spec-grid p, .data-ledger p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-screenshot { margin: 56px 0 0; background: #05080c; border-radius: 8px; overflow: hidden; }
.feature-screenshot img { width: 100%; height: auto; object-fit: contain; }
.feature-screenshot figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--faint); font: 600 12px/1.4 var(--font-mono); }
.data-ledger { border-top: 1px solid var(--line); }
.data-ledger > div { min-height: 108px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: center; border-bottom: 1px solid var(--line); }
.feature-columns { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-columns > div { padding: 30px; background: var(--surface); border-radius: 8px; }
.feature-columns h3 { margin: 0 0 18px; font-size: 18px; }
.feature-columns ul, .price-card ul { margin: 0; padding: 0; list-style: none; }
.feature-columns li, .price-card li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.intelligence-grid article { grid-template-columns: .55fr 1.45fr; }
.trader-fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.trader-fit-grid article { min-height: 170px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.trader-fit-grid article:nth-child(even) { border-right: 0; }
.trader-fit-grid h3 { margin: 0 0 14px; font-size: 21px; }
.trader-fit-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.pricing-hero { padding-bottom: 72px; }
.pricing-page { padding-top: 72px; }
.pricing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card { position: relative; min-width: 0; padding: 34px; display: flex; flex-direction: column; background: var(--surface); border-radius: 8px; }
.price-card-featured { background: #1a1a18; border: 1px solid #65542f; }
.price-badge { margin-bottom: 22px; color: var(--accent); font: 700 12px/1 var(--font-mono); }
.price-card h2 { margin: 0; font-size: 25px; }
.price-card > div > p { margin: 6px 0 0; color: var(--faint); font-size: 13px; }
.price { margin: 36px 0; }
.price strong { display: block; font: 600 29px/1.2 var(--font-mono); }
.price span { display: block; margin-top: 8px; color: var(--faint); font-size: 12px; }
.price del { display: block; margin: 10px 0 5px; color: var(--faint); font: 500 14px/1 var(--font-mono); }
.price .first-payment-badge { width: fit-content; margin-top: 0; padding: 5px 7px; border: 1px solid #65542f; border-radius: 4px; color: var(--accent-strong); font: 700 9px/1.2 var(--font-mono); }
.price-card ul { margin-bottom: 34px; flex: 1; }
.price-card .button { width: 100%; }
.price-note { margin: 18px 0 0; color: var(--faint); text-align: center; font-size: 12px; }
.included-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.included-list span { min-height: 68px; padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.included-list span:nth-child(4n) { border-right: 0; }
.features-link { display: inline-block; margin-top: 26px; color: var(--accent-strong); text-underline-offset: 5px; font-size: 13px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.flow-steps div { min-height: 128px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-steps div:last-child { border-right: 0; }
.flow-steps strong, .flow-steps span { display: block; }
.flow-steps strong { font-size: 16px; }
.flow-steps span { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.pricing-faq details { border-top: 1px solid var(--line); }
.pricing-faq details:last-child { border-bottom: 1px solid var(--line); }
.pricing-faq summary { padding: 22px 0; cursor: pointer; font-size: 15px; font-weight: 700; }
.pricing-faq details p { max-width: 760px; margin: -4px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.closing { width: min(1320px, calc(100% - 48px)); margin: 0 auto 80px; padding: 72px; display: flex; justify-content: space-between; align-items: center; gap: 60px; background: #171b1d; border-radius: 8px; }
.closing h2 { max-width: 760px; font-size: clamp(34px, 4vw, 54px); }
.closing p { margin: 14px 0 0; color: var(--muted); }
.closing-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 22px; }

footer { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 50px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border-top: 1px solid var(--line-soft); }
footer p { margin: 0; color: var(--faint); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; }
footer small { grid-column: 1 / -1; color: #7d8892; font-size: 12px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333c45; border: 3px solid var(--bg); border-radius: 10px; }

@media (max-width: 1050px) {
  .site-header nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 76px; }
  .hero-copy { max-width: 760px; }
  .built-by-traders, .feature-heading { grid-template-columns: 1fr; gap: 34px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .product-panel, .product-panel-reverse { grid-template-columns: 1fr; min-height: 0; }
  .product-panel-reverse .product-copy { order: 0; }
  .product-image { aspect-ratio: auto; }
  .closing { padding: 54px; }
}

@media (max-width: 720px) {
  .site-header, .hero, .product-story, .feature-ledger, .pricing, .built-by-traders, .page-hero, .feature-detail, .trader-fit, .pricing-page, .included, .trial-flow, .pricing-faq, .closing, footer { width: min(100% - 28px, 1320px); }
  .site-header { height: 62px; }
  .brand span, .header-actions .text-link { display: none; }
  .hero { padding: 54px 0 34px; gap: 38px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-showcase { margin-inline: -14px; gap: 10px; }
  .hero-product { border-radius: 0; }
  .hero-product img { height: auto; aspect-ratio: auto; }
  .hero-showcase-single .hero-product img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .hero-product figcaption { padding: 9px 12px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div { min-height: 92px; padding: 22px 18px; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .product-story, .feature-ledger, .pricing, .built-by-traders, .feature-detail, .trader-fit, .included, .trial-flow, .pricing-faq { padding: 84px 0; }
  .page-hero { padding: 72px 0 62px; }
  .page-hero h1 { font-size: 47px; }
  .page-hero > p { font-size: 15px; }
  .trader-types a { grid-template-columns: 1fr; gap: 8px; }
  .section-intro, .section-intro.compact { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .section-intro h2 { font-size: 38px; }
  .product-panel { margin-inline: -14px; border-radius: 0; }
  .product-copy { padding: 36px 24px; }
  .product-copy h3 { font-size: 27px; }
  .product-image { aspect-ratio: auto; }
  .feature-list > div { padding: 24px 0; grid-template-columns: 1fr; gap: 12px; }
  .feature-heading { margin-bottom: 38px; }
  .feature-heading h2 { font-size: 38px; }
  .spec-grid, .trader-fit-grid, .feature-columns, .included-list, .flow-steps { grid-template-columns: 1fr; }
  .spec-grid article, .spec-grid article:nth-child(odd), .spec-grid article:nth-child(even) { min-height: 0; padding: 24px 0; grid-template-columns: 1fr; gap: 10px; border-right: 0; }
  .data-ledger > div { padding: 24px 0; grid-template-columns: 1fr; gap: 10px; }
  .feature-screenshot { margin-inline: -14px; border-radius: 0; }
  .trader-fit-grid article { min-height: 0; padding: 28px 0; border-right: 0; }
  .pricing-page { padding: 52px 0 84px; }
  .price-card { padding: 28px 24px; }
  .included-list span, .flow-steps div { border-right: 0; }
  .plan { padding: 24px 0; grid-template-columns: 1fr auto; }
  .plan strong { font-size: 17px; }
  .plan a { grid-column: 1 / -1; justify-self: stretch; }
  .plan-featured { margin-inline: -14px; padding-inline: 14px; }
  .closing { margin-bottom: 48px; padding: 42px 24px; flex-direction: column; align-items: flex-start; }
  .closing-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .closing-actions .button { width: 100%; }
  .closing-actions .text-link { text-align: center; }
  footer { grid-template-columns: 1fr; }
  .footer-brand span { display: inline; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
