:root {
  --ink: #10211d;
  --muted: #5c6b66;
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --line: #d9ddd7;
  --green: #123c33;
  --mint: #b7dfcc;
  --lime: #d8f08c;
  --orange: #e56b3f;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(16, 33, 29, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; }
.skip-link:focus { left: 10px; background: white; padding: 10px 14px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,241,233,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,33,29,.08); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(216,240,140,.28); border-radius: 11px; color: transparent; background: #071c17 url("assets/site/trading-ridge-mark.png") center/88% no-repeat; font-size: 0; box-shadow: inset 0 0 18px rgba(216,240,140,.08); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 17px; border-radius: 999px; color: white !important; background: var(--green); }

.hero { padding: 76px 0 62px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 850; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--orange); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.6vw, 84px); font-weight: 500; }
h1 em { color: var(--orange); font-weight: 500; }
.hero-copy { max-width: 650px; margin: 26px 0 32px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid var(--green); border-radius: 999px; text-decoration: none; font-weight: 750; cursor: pointer; }
.btn-primary { color: white; background: var(--green); }
.btn-secondary { background: transparent; }
.store-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 18px; }
.store-badge { min-width: 174px; height: 55px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; color: white; background: #101614; border: 1px solid #101614; border-radius: 11px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(16,33,29,.18); }
.store-badge svg { width: 25px; height: 29px; flex: 0 0 auto; }
.store-badge span { display: grid; line-height: 1; }
.store-badge small { margin-bottom: 4px; font-size: 8px; font-weight: 750; letter-spacing: .08em; }
.store-badge strong { font-size: 17px; letter-spacing: -.02em; }
.store-badge-muted { color: #69736f; background: transparent; border-color: #aeb5b1; cursor: default; }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.trust-line span::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 900; }

.calc-card { position: relative; padding: 28px; border: 1px solid rgba(16,33,29,.1); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.calc-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -65px; top: -55px; border-radius: 50%; background: var(--mint); filter: blur(2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.card-top h2 { font-size: 25px; }
.badge { padding: 6px 10px; border-radius: 999px; color: var(--green); background: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; font-weight: 750; }
.field input, .field select { width: 100%; height: 49px; padding: 0 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: white; outline: none; }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,60,51,.1); }
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.result-box { padding: 16px; border-radius: 14px; background: #edf5ef; }
.result-box span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.result-box strong { display: block; margin-top: 5px; font-size: 24px; letter-spacing: -.03em; }
.calc-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.hero-visual { padding: 0 0 38px; }
.hero-visual-frame { position: relative; overflow: hidden; border: 1px solid rgba(16,33,29,.13); border-radius: 28px; background: #071713; box-shadow: var(--shadow); }
.hero-visual-frame img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.hero-visual-caption { position: absolute; left: 24px; bottom: 22px; max-width: 420px; padding: 12px 15px; color: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(5,20,17,.72); backdrop-filter: blur(8px); font-size: 11px; }

.section { padding: 92px 0; }
.section-dark { color: white; background: var(--green); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; margin-bottom: 48px; align-items: end; }
.section-head h2 { max-width: 720px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 61px); font-weight: 500; }
.section-head p { margin: 0; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 245px; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.feature-num { display: block; margin-bottom: 72px; color: var(--lime); font-family: Georgia, serif; font-size: 24px; }
.feature h3 { margin-bottom: 12px; font-size: 22px; }
.feature p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 26px; border-top: 2px solid var(--ink); }
.step small { color: var(--orange); font-weight: 850; }
.step h3 { margin: 20px 0 10px; font-size: 23px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.company-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 42px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.company-panel h2 { font-family: Georgia, serif; font-size: clamp(36px, 4vw, 55px); font-weight: 500; }
.company-copy p { color: var(--muted); }
.company-facts { display: grid; gap: 12px; }
.fact { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; }
.fact span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.fact strong, .fact a { display: block; margin-top: 4px; font-weight: 760; text-decoration: none; }

.legal-page { padding: 72px 0 100px; }
.legal-shell { max-width: 840px; }
.legal-shell h1 { font-size: clamp(42px, 6vw, 70px); }
.legal-meta { margin: 18px 0 38px; color: var(--muted); }
.legal-shell h2 { margin: 36px 0 12px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.legal-shell h3 { margin: 24px 0 8px; font-size: 20px; }
.legal-shell p, .legal-shell li { color: #46534f; }
.legal-shell a { color: var(--green); font-weight: 700; }
.legal-callout { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--orange); background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.contact-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.contact-card p { margin-bottom: 0; }

.site-footer { padding: 58px 0 26px; color: rgba(255,255,255,.74); background: #0a2821; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-brand p { max-width: 410px; font-size: 13px; }
.footer-col strong { display: block; margin-bottom: 12px; color: white; }
.footer-col a { display: block; margin: 8px 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; }
.footer-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 42px; }
.footer-showcase-solo { grid-template-columns: minmax(0, 620px); }
.footer-downloads { padding: 27px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.045); }
.footer-kicker { color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-downloads h3 { max-width: 390px; margin: 12px 0 20px; color: white; font-family: Georgia, serif; font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.store-badge-footer { background: #050706; border-color: rgba(255,255,255,.2); }
.store-badge-coming { color: rgba(255,255,255,.58); background: transparent; cursor: default; }
.mini-map { position: relative; min-height: 224px; overflow: hidden; border-radius: 22px; color: var(--ink); background: #dce8d8; text-decoration: none; isolation: isolate; }
.mini-map::before, .mini-map::after { content: ""; position: absolute; z-index: -2; border-radius: 50%; }
.mini-map::before { width: 240px; height: 240px; right: -70px; top: -105px; background: #bed8c5; }
.mini-map::after { width: 190px; height: 190px; left: -76px; bottom: -95px; background: #c8d8a3; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.map-lines path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 7; }
.map-pin { position: absolute; left: 60%; top: 35%; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; color: white; background: var(--orange); transform: rotate(-45deg); box-shadow: 0 8px 24px rgba(16,33,29,.2); transition: transform .2s ease; }
.map-pin i { width: 11px; height: 11px; border: 3px solid white; border-radius: 50%; }
.mini-map:hover .map-pin { transform: rotate(-45deg) translate(3px,-3px); }
.map-label { position: absolute; left: 20px; bottom: 18px; display: grid; min-width: 230px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,253,248,.88); backdrop-filter: blur(8px); box-shadow: 0 10px 25px rgba(16,33,29,.1); }
.map-label small { color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.map-label strong { margin-top: 3px; font-size: 14px; }
.map-label em { margin-top: 5px; color: var(--muted); font-size: 11px; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 860px) {
  .hero-grid, .section-head, .company-panel { grid-template-columns: 1fr; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .feature { min-height: auto; }
  .feature-num { margin-bottom: 40px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand-text { font-size: 14px; }
  .hero { padding-bottom: 42px; }
  .form-grid, .result, .contact-grid { grid-template-columns: 1fr; }
  .company-panel { padding: 27px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .hero-visual-caption { position: static; max-width: none; margin: 0; border: 0; border-radius: 0; }
}
