:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14151a;
  background: #f7f7f8;
  font-synthesis: none;
  --orange: #ff6500;
  --ink: #14151a;
  --muted: #6b7280;
  --bg: #f7f7f8;
  --card: #ffffff;
  --border: #e7e7ec;
  --border-soft: #edeef2;
  --shell: min(100% - 32px, 1220px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: hidden; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; }
ul { margin: 0; }
img, svg { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* FOX Market Field — light-palette background ecosystem (graphite lines/nodes/candles + orange pulses). */
#fox-market-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#top { position: relative; z-index: 1; }

.band { padding-block: 52px; position: relative; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head { max-width: 680px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 800; line-height: 1.15; color: var(--ink); }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1rem; line-height: 1.6; }
.legal-note { color: #8a8d94; font-size: .74rem; line-height: 1.6; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,247,248,.7); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; backdrop-filter: blur(10px); }
.site-header.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(20,21,26,.03); }
.header-inner { width: var(--shell); height: 66px; margin: auto; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.brand > span { display: flex; align-items: center; gap: 8px; }
.brand strong { color: var(--orange); font-size: 1.2rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.brand small { width: 64px; font-size: .48rem; line-height: 1.15; font-weight: 800; letter-spacing: .06em; color: #4b4d53; }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.language { display: flex; align-items: center; gap: 7px; }
.language button { min-width: 26px; min-height: 44px; padding: 0; border: 0; background: none; color: #9a9da3; font-size: .72rem; font-weight: 800; cursor: pointer; transition: color .15s; }
.language button.active { color: var(--ink); }
.language i { width: 1px; height: 13px; background: var(--border); }
.menu-toggle { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); }
.mobile-menu { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .25s ease, visibility .25s; width: var(--shell); margin: auto; background: #fff; }
.mobile-menu > * { overflow: hidden; }
.mobile-menu.open { grid-template-rows: 1fr auto; visibility: visible; padding: 8px 0 18px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); font-weight: 700; }

.button { min-height: 46px; padding: 0 20px; border: 1px solid var(--orange); border-radius: 10px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; background: var(--orange); color: #fff; font-size: .86rem; font-weight: 800; line-height: 1.15; text-align: center; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; width: max-content; box-shadow: 0 8px 18px rgba(255,101,0,.22); }
.button:hover { background: #ff7519; transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--border); box-shadow: none; }
.button-secondary:hover { background: #f4f4f6; }
.header-cta { display: none; }
svg.ico { width: 14px; height: 14px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- partner banner (approved image asset) ---------- */
.partner-banner-image { width: calc(100% - 48px); max-width: 800px; margin: 22px auto 34px; padding: 0; }
.partner-banner-image img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(20,21,26,.08); }

@media (max-width: 900px) {
  .partner-banner-image { width: calc(100% - 32px); margin-top: 16px; margin-bottom: 28px; }
}
@media (max-width: 640px) {
  .partner-banner-image { width: calc(100% - 20px); margin-top: 12px; margin-bottom: 24px; }
  .partner-banner-image img { border-radius: 12px; }
}

/* ---------- hero ---------- */
.hero { padding-block: 56px 40px; position: relative; }
.hero-grid { display: grid; gap: 34px; align-items: center; position: relative; z-index: 2; }
.hero-copy { position: relative; }
.hero-copy h1 { margin-top: 14px; font-size: clamp(2.2rem, 5.4vw, 3.1rem); line-height: 1.08; font-weight: 800; color: var(--ink); }
.lead { margin-top: 18px; color: #4b4d53; font-size: 1.05rem; line-height: 1.65; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .legal-note { margin-top: 18px; max-width: 500px; }
.hero-visual { position: relative; overflow: visible; }
.hero-chart-decor { position: absolute; left: 4%; bottom: -6%; width: 42%; height: 30%; opacity: .5; pointer-events: none; z-index: -1; }
.hero-chart-decor svg { width: 100%; height: 100%; display: block; }
#fox-market-ribbon { position: absolute; left: 0; width: 100%; top: 60%; height: 190px; z-index: 1; pointer-events: none; opacity: .9; }
@media (max-width: 899px) {
  #fox-market-ribbon { top: auto; bottom: -10px; height: 130px; opacity: .55; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0,.86fr) minmax(420px,1.06fr); gap: 44px; }
  .hero { padding-block: 68px 40px; }
}

/* ---------- dashboard mock (hero product) ---------- */
.dash-mock { position: relative; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -20px rgba(20,21,26,.18), 0 4px 16px rgba(20,21,26,.04); padding: 18px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-top-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.dash-top-brand svg { width: 14px; height: 14px; color: var(--orange); }
.dash-live { display: inline-flex; align-items: center; gap: 5px; color: #16a34a; font-size: .68rem; font-weight: 800; }
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.dash-live.is-updating { color: #a5690a; }
.dash-live.is-updating i { background: #e0a63a; box-shadow: 0 0 0 3px rgba(224,166,58,.15); }
.dash-live.is-unavailable { color: #9a9da3; }
.dash-live.is-unavailable i { background: #c3c5cb; box-shadow: none; }
.dash-source-line { margin-top: 8px; font-size: .6rem; color: #9a9da3; letter-spacing: .01em; }
.live-data-notice { grid-column: 1 / -1; padding: 14px 4px; text-align: center; }
.live-data-notice p { color: #6b6f76; font-size: .78rem; line-height: 1.5; margin-bottom: 10px; }
.live-data-notice .button { min-height: 36px; padding: 0 16px; font-size: .74rem; margin: 0 auto; }
.dash-panel { border: 1px solid var(--border-soft); border-radius: 13px; padding: 14px; background: #fbfbfc; }
.dash-panel + .dash-panel { margin-top: 10px; }
.dash-panel-title { color: #6b6f76; font-size: .68rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 10px; }
.dash-tickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-ticker { padding: 8px; border-radius: 9px; background: #fff; border: 1px solid var(--border-soft); }
.dash-ticker b { display: block; font-size: .68rem; color: #6b6f76; font-weight: 700; }
.dash-ticker .price { display: block; margin-top: 3px; font-size: .84rem; font-weight: 800; color: var(--ink); }
.dash-ticker .chg { font-size: .68rem; font-weight: 800; }
.dash-ticker .chg.up { color: #16a34a; }
.dash-ticker .chg.down { color: #e0453c; }
.dash-ticker-tag { display: inline-block; margin-top: 3px; padding: 1px 5px; border-radius: 999px; background: #eef0f3; color: #9a9da3; font-size: .55rem; font-weight: 800; letter-spacing: .02em; }
.dash-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 10px; }
.dash-sparkline { display: block; width: 100%; height: 54px; }
.dash-sparkline path.fill { fill: rgba(255,101,0,.12); stroke: none; }
.dash-sparkline path.line { fill: none; stroke: var(--orange); stroke-width: 1.6; }
.dash-risk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.dash-gauge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) 0deg calc(var(--risk, 72) * 3.6deg), #eef0f3 0); }
.dash-gauge span { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 850; color: var(--ink); }
/* Neutral placeholder gauge: no numeric/fabricated risk score -- see FOX_WEBSITE_COPY_REMEDIATION. */
.dash-gauge-neutral { background: #eef0f3; color: #9a9da3; }
.dash-risk small { color: #6b6f76; font-size: .62rem; font-weight: 700; }
.dash-alert { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border-soft); font-size: .7rem; }
.dash-alert:first-of-type { border-top: 0; }
.dash-alert i { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.dash-alert b { display: block; color: var(--ink); font-weight: 700; }
.dash-alert span { color: #7c7f86; }

/* ---------- trust strip ---------- */
.trust-strip { display: grid; gap: 26px; padding: 26px 0; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .icon-badge { width: 38px; height: 38px; border-radius: 10px; background: #fff2e9; display: grid; place-items: center; flex: 0 0 auto; }
.trust-item .icon-badge svg { width: 18px; height: 18px; color: var(--orange); }
.trust-item h3 { font-size: .88rem; font-weight: 800; color: var(--ink); }
.trust-item p { color: var(--muted); margin-top: 4px; font-size: .8rem; line-height: 1.5; }

@media (min-width: 900px) { .trust-strip { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

/* ---------- product showcase (protocol) ---------- */
.showcase { display: grid; gap: 40px; align-items: center; }
.showcase-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.15; margin-top: 8px; color: var(--ink); }
.showcase-copy > p.lead-p { color: var(--muted); margin-top: 14px; font-size: 1.03rem; line-height: 1.65; max-width: 480px; }
.benefit-rows { margin-top: 26px; display: grid; gap: 16px; }
.benefit-row { display: flex; gap: 14px; text-align: left; background: none; border: 0; padding: 8px; margin: -8px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.benefit-row:hover, .benefit-row.active { background: #fff2e9; }
.benefit-row svg { width: 22px; height: 22px; color: var(--orange); flex: 0 0 auto; margin-top: 2px; }
.benefit-row h3 { font-size: 1rem; font-weight: 800; color: var(--ink); }
.benefit-row p { color: var(--muted); margin-top: 4px; font-size: .92rem; line-height: 1.5; }

@media (min-width: 960px) {
  .showcase { grid-template-columns: 1fr 1fr; gap: 56px; }
  .showcase-lead-visual { grid-template-columns: 1.55fr 1fr; gap: 48px; }
  .showcase-calendar { grid-template-columns: .82fr 1.2fr; }
}

#protocol { background: linear-gradient(180deg, #fbf7f2 0%, #f7f7f8 60%); }
.mock-illustrative { margin-top: 10px; text-align: center; color: #9a9da3; font-size: .62rem; letter-spacing: .02em; }

.protocol-illustration { position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
.protocol-illustration img { display: block; width: 100%; height: auto; }

@media (min-width: 640px) {
  .protocol-illustration { max-width: 390px; }
}
@media (min-width: 960px) {
  .protocol-illustration { max-width: 510px; }
}
@media (min-width: 1300px) {
  .protocol-illustration { max-width: 570px; }
}

/* ---------- market coverage ribbon ---------- */
.market-panel { position: relative; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fdfaf6 100%); box-shadow: 0 26px 54px -32px rgba(20,21,26,.22), 0 4px 16px rgba(20,21,26,.04); padding: 30px 28px 26px; overflow: hidden; }
.market-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), #ffb37a); }
.market-groups { display: grid; gap: 22px; }
.market-cell { padding-top: 18px; border-top: 1px solid var(--border-soft); }
.market-cell:first-child { padding-top: 0; border-top: 0; }
.market-cat-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; background: #fff2e9; color: var(--orange); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.market-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.market-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: #33343a; font-size: .84rem; font-weight: 700; transition: color .15s, border-color .15s, background .15s, transform .15s; }
.market-chip:hover { color: var(--ink); border-color: var(--orange); background: #fff2e9; transform: translateY(-2px); }
.market-chip-label { line-height: 1.2; }
.market-chip-live { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; color: #9a9da3; }
.market-chip-live i { width: 5px; height: 5px; border-radius: 50%; background: #c3c5cb; flex: 0 0 auto; }
.market-chip-live .px { color: var(--ink); }
.market-chip-live .chg.up { color: #16a34a; }
.market-chip-live .chg.down { color: #e0453c; }
.market-chip-live.is-live i { background: #16a34a; }
.market-chip-live.is-stale i { background: #e0a63a; }
.market-chip-tag { padding: 1px 5px; border-radius: 999px; background: #eef0f3; color: #9a9da3; font-size: .52rem; font-weight: 800; letter-spacing: .02em; }

@media (min-width: 760px) {
  .market-groups { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .market-cell:nth-child(2) { padding-top: 0; border-top: 0; }
}
@media (min-width: 1100px) {
  .market-groups { grid-template-columns: repeat(5, 1fr); }
  .market-cell { padding-top: 0; border-top: 0; padding-left: 20px; border-left: 1px solid var(--border-soft); }
  .market-cell:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- economic calendar + world map ---------- */
.calmap { display: grid; gap: 14px; }
.calmap-panel { border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 22px; box-shadow: 0 18px 40px -28px rgba(20,21,26,.18); }
.calmap-panel h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.calmap-panel > p.sub { color: var(--muted); margin-top: 4px; font-size: .86rem; }
.cal-list { margin-top: 16px; display: grid; gap: 2px; }
.cal-row-wrap { padding: 10px 0; border-top: 1px solid var(--border-soft); }
.cal-row-wrap:first-child { border-top: 0; padding-top: 0; }
.cal-row { display: grid; grid-template-columns: 52px 34px 1fr auto; align-items: center; gap: 10px; font-size: .84rem; }
.cal-row .cal-time { color: #6b6f76; font-weight: 700; font-size: .8rem; }
.cal-row .cal-flag { font-weight: 800; color: var(--ink); font-size: .74rem; }
.cal-row .cal-name { color: var(--ink); font-weight: 600; }
.cal-imp { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.cal-imp i { width: 7px; height: 7px; border-radius: 50%; }
.cal-imp.high i { background: #e0453c; } .cal-imp.high { color: #b8382f; }
.cal-imp.medium i { background: #e0a63a; } .cal-imp.medium { color: #a5690a; }
.cal-imp.low i { background: #8a8f98; } .cal-imp.low { color: #6b6f76; }
.cal-sub { margin: 4px 0 0; padding-left: 86px; color: #9a9da3; font-size: .68rem; }
.cal-empty { padding: 26px 4px; text-align: center; }
.cal-empty-title { color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.5; }
.cal-empty-sub { margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.cal-stale-banner { margin: 0 0 10px; padding: 6px 10px; background: #fff8f0; border-radius: 8px; }
.cal-updated { margin-top: 10px; font-size: .6rem; color: #9a9da3; letter-spacing: .01em; }
.cal-view-link { display: inline-flex; margin-top: 16px; min-height: 40px; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.cal-view-link:hover { background: #f4f4f6; }

.worldmap-wrap { position: relative; border-radius: 13px; overflow: hidden; background: linear-gradient(180deg,#fbfbfc,#f2f3f5); border: 1px solid var(--border-soft); min-height: 220px; }
.worldmap-wrap .live-badge { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 5px; color: #16a34a; font-size: .66rem; font-weight: 800; }
.worldmap-wrap .live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.worldmap-svg { display: block; width: 100%; height: 210px; }
.worldmap-land { fill: #dcdee3; stroke: #c9cbd2; stroke-width: 0.7; stroke-linejoin: round; }
.map-city-ring { fill: none; stroke: #b9bbc2; stroke-width: 1.3; opacity: .5; transition: stroke .3s ease, opacity .3s ease; }
.map-city-dot { fill: #9a9da3; transition: fill .3s ease; }
.map-city.open .map-city-ring { stroke: var(--orange); opacity: .9; animation: mapPing 2.6s ease-out infinite; }
.map-city.open .map-city-dot { fill: var(--orange); }
@keyframes mapPing { 0% { r: 6; opacity: .8; } 100% { r: 15; opacity: 0; } }
#map-pulse { filter: drop-shadow(0 0 4px rgba(255,101,0,.8)); }
.session-block { padding: 14px; border-top: 1px solid var(--border-soft); }
.sessions-row { margin-top: 0; }

.sessions-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.session-item { text-align: center; padding: 8px 4px; border-radius: 9px; transition: background .15s; }
.session-item b.s-city { display: block; font-size: .78rem; font-weight: 800; color: var(--ink); }
.session-item .s-clock { display: block; margin-top: 3px; font-size: .92rem; font-weight: 850; color: var(--ink); font-variant-numeric: tabular-nums; }
.session-item .s-badge { display: inline-flex; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .04em; }
.session-item .s-badge.open { background: #fff2e9; color: var(--orange); }
.session-item .s-badge.closed { background: #eef0f3; color: #9a9da3; }
.session-item.active { background: #fff8f3; }
.session-item .s-range { display: block; margin-top: 5px; }
.session-item .s-range-row { display: block; font-size: .6rem; font-weight: 700; color: var(--muted); line-height: 1.4; font-variant-numeric: tabular-nums; }

@media (min-width: 640px) { .sessions-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .calmap { grid-template-columns: 1fr 1.15fr; } }

/* ---------- free / professional pricing ---------- */
.access-grid { display: grid; gap: 20px; max-width: 1080px; margin-inline: auto; }
.access-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 76px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.access-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -22px rgba(20,21,26,.28); border-color: #d8d9de; }
.access-card:hover .access-decor { transform: scale(1.04) translateY(-4px); }
.access-card:hover .button { box-shadow: 0 10px 22px rgba(255,101,0,.32); }
.access-card-free { border-color: rgba(255,101,0,.4); box-shadow: 0 20px 50px -26px rgba(255,101,0,.35); }
.access-card-free:hover { border-color: rgba(255,101,0,.6); }
.access-card-pro { border-color: var(--border); box-shadow: 0 18px 40px -26px rgba(20,21,26,.22); }
.access-card-pro:hover { border-color: #d8d9de; }
.access-card .eyebrow2 { color: var(--orange); font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.access-card .acc-sub { color: var(--muted); margin-top: 4px; font-size: .84rem; }
.access-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.access-price b { font-size: 2.2rem; font-weight: 850; color: var(--ink); }
.access-price span { color: #9a9da3; font-size: .84rem; font-weight: 700; }
.access-badge { display: inline-flex; align-self: flex-start; margin-top: 12px; padding: 5px 10px; border-radius: 999px; background: #fff2e9; color: var(--orange); font-size: .68rem; font-weight: 800; }
.access-card ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.access-card li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: #33343a; }
.access-card li i { flex: 0 0 auto; color: var(--orange); font-style: normal; }
.access-card .button { margin-top: 24px; align-self: flex-start; }
.access-decor { position: absolute; right: -10%; bottom: -10%; width: 60%; opacity: .5; pointer-events: none; transition: transform .3s ease; }

@media (min-width: 700px) { .access-grid { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; } }

.final-cta-panel { max-width: 680px; margin-inline: auto; text-align: center; padding: 36px 26px; border: 1px solid rgba(255,101,0,.25); border-radius: 18px; background: #fff8f3; }
.final-cta-panel h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--ink); line-height: 1.2; }
.final-cta-panel p { margin-top: 10px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.final-cta-panel .button { margin-top: 22px; }
@media (max-width: 640px) { .final-cta-panel { padding: 28px 18px; } }

/* ---------- algorithmic r&d (homepage teaser row) ---------- */
.algo-band { padding-block: 48px; }
.algo-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.algo-teaser-head h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.algo-teaser-head p { color: var(--muted); margin-top: 4px; font-size: .88rem; }
.algo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.algo-card { display: block; border: 1px solid var(--border); border-radius: 13px; background: #fff; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.algo-card:hover, .algo-card:focus-visible { border-color: rgba(255,101,0,.45); transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(20,21,26,.28); }
.algo-card-gold:hover, .algo-card-gold:focus-visible { border-color: rgba(212,151,42,.55); }
.algo-card-media { aspect-ratio: 3 / 2; background: #0d0d10; }
.algo-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.algo-card-body { padding: 10px 12px 12px; }
.algo-card-body b { display: block; font-size: .82rem; font-weight: 800; color: var(--ink); }
.algo-card-body span { display: block; margin-top: 2px; color: var(--muted); font-size: .66rem; font-weight: 700; }
.algo-all-link { display: inline-flex; color: #4b4d53; font-size: .82rem; font-weight: 800; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.algo-all-link:hover { color: var(--orange); border-color: var(--orange); }
.algo-disclaimer { margin-top: 22px; max-width: 760px; }

@media (min-width: 640px) { .algo-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .algo-row { grid-template-columns: repeat(6, 1fr); } }

/* ---------- about ---------- */
.about-panel { border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 30px; max-width: 960px; }
.about-panel p { color: var(--muted); margin-top: 12px; font-size: .96rem; line-height: 1.65; }
.about-panel p.about-intro { color: var(--ink); font-size: 1.05rem; font-weight: 500; line-height: 1.65; margin-top: 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.about-card { border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; background: #fff; }
.about-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.about-card h3::before { content: ""; width: 14px; height: 2px; background: var(--orange); flex: 0 0 auto; }
.about-panel .about-card p { margin-top: 10px; }
.about-coverage { margin-top: 24px; padding: 16px 20px; background: #fff2e9; border: 1px solid var(--border); border-radius: 12px; }
.about-coverage-label { display: block; color: var(--orange); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-panel .about-coverage p { margin-top: 6px; color: var(--ink); }
.about-panel p.about-partnership { margin-top: 24px; padding: 14px 18px; border-left: 3px solid var(--orange); background: #fff2e9; border-radius: 10px; color: var(--ink); }

@media (min-width: 700px) {
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- external resources ---------- */
.partner-grid { display: grid; gap: 14px; max-width: 1040px; }
.partner-card { padding: 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.partner-card:hover, .partner-card:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 38px -22px rgba(20,21,26,.28); border-color: #d8d9de; }
.partner-mark { flex: 0 0 auto; min-width: 96px; height: 44px; display: flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; }
.partner-mark img { display: block; max-height: 38px; width: auto; transition: transform .2s ease; }
.partner-card:hover .partner-mark img, .partner-card:focus-visible .partner-mark img { transform: scale(1.02); }
.partner-mark-myfxbook b { font-size: 1.05rem; font-weight: 900; color: #b8620a; letter-spacing: -.02em; }
.partner-body { flex: 1 1 220px; min-width: 0; display: block; }
.partner-name { display: block; font-size: 1.1rem; font-weight: 850; color: var(--ink); }
.partner-desc { display: block; color: var(--muted); margin-top: 6px; font-size: .92rem; line-height: 1.5; }
.partner-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 9px; font-size: .84rem; font-weight: 700; color: var(--ink); transition: border-color .18s, background .18s; }
.partner-card:hover .partner-cta, .partner-card:focus-visible .partner-cta { border-color: var(--orange); background: #fff2e9; color: var(--orange); }
.partner-arrow { transition: transform .18s ease; }
.partner-card:hover .partner-arrow, .partner-card:focus-visible .partner-arrow { transform: translate(3px, -3px); }
.partners-note { display: block; margin-top: 16px; color: #9a9da3; font-size: .76rem; }

@media (min-width: 700px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 759px) { .partner-card:hover { transform: none; } }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 4px; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item button { width: 100%; min-height: 58px; padding: 14px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; text-align: left; font-weight: 700; font-size: .98rem; color: #33343a; cursor: pointer; transition: color .15s; }
.faq-item button:hover { color: var(--ink); }
.faq-item button i { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; color: var(--orange); font-style: normal; font-size: 1.05rem; transition: transform .2s; }
.faq-item.open button i { transform: rotate(45deg); }
.faq-item.open button { color: var(--ink); }
.faq-answer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .22s ease, opacity .18s ease; }
.faq-answer-inner { padding: 0 4px 18px; color: var(--muted); line-height: 1.6; font-size: .94rem; }
.faq-answer a { display: inline-flex; min-height: 40px; align-items: center; color: var(--orange); font-weight: 800; margin-top: 4px; }
.faq-toggle { width: 100%; min-height: 46px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--border); border-radius: 11px; background: none; color: #4b4d53; font-weight: 750; font-size: .84rem; cursor: pointer; }
.faq-toggle:hover { border-color: var(--orange); color: var(--ink); }

@media (min-width: 800px) {
  .faq-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .faq-toggle { display: none; }
}

/* ---------- developments page ---------- */
.dev-hero { padding-block: 56px 28px; }
.dev-hero h1 { margin-top: 10px; font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; line-height: 1.06; color: var(--ink); }
.dev-hero .lead { max-width: 640px; }
.dev-supporting { margin-top: 14px; color: #6b6f76; font-size: .92rem; line-height: 1.6; max-width: 640px; }

.dev-gallery { display: grid; gap: 22px; }
.dev-card { display: block; border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; scroll-margin-top: 84px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.dev-card:hover, .dev-card:focus-within { border-color: rgba(255,101,0,.4); transform: translateY(-2px); box-shadow: 0 20px 40px -26px rgba(20,21,26,.25); }
.dev-card-gold:hover, .dev-card-gold:focus-within { border-color: rgba(212,151,42,.55); }
.dev-card-media { height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0d0d10; }
.dev-card-media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s ease; }
.dev-card:hover .dev-card-media img, .dev-card:focus-within .dev-card-media img { transform: scale(1.02); }
.dev-card-body { padding: 18px 20px 20px; }
.dev-card-cat { display: block; color: var(--orange); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.dev-card-gold .dev-card-cat { color: #b8860a; }
.dev-card-body h3 { margin-top: 6px; font-size: 1.15rem; font-weight: 850; color: var(--ink); }
.dev-card-tagline { margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.dev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dev-tag { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.dev-toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,101,0,.4); border-radius: 9px; background: #fff2e9; color: var(--orange); font-size: .8rem; font-weight: 800; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.dev-toggle:hover { background: #ffe4d1; }
.dev-toggle[aria-expanded="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }
.dev-toggle-arrow { display: inline-block; transition: transform .2s ease; }
.dev-toggle[aria-expanded="true"] .dev-toggle-arrow { transform: rotate(180deg); }
.dev-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.dev-panel[hidden] { display: none; }
.dev-section + .dev-section { margin-top: 14px; }
.dev-section h4 { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.dev-section p { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.dev-profile { margin: 4px 0 0; display: grid; }
.dev-profile-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border-soft); font-size: .82rem; }
.dev-profile-row:last-child { border-bottom: 0; }
.dev-profile-row dt { color: var(--muted); font-weight: 700; margin: 0; }
.dev-profile-row dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.dev-disclaimer { margin-top: 26px; max-width: 760px; }

@media (min-width: 640px) { .dev-card-media { height: 260px; } }
@media (min-width: 900px) { .dev-card-media { height: 310px; } }

@media (min-width: 760px) { .dev-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- footer ---------- */
footer { padding-block: 28px; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; gap: 14px; align-items: center; }
.footer-brand-col { display: flex; flex-direction: column; gap: 6px; }
.footer-tagline { color: #9a9da3; font-size: .7rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .88rem; font-weight: 700; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.footer-social { display: inline-flex; align-items: center; gap: 6px; flex-basis: 100%; margin-top: 2px; }

@media (min-width: 560px) {
  .footer-social { flex-basis: auto; margin-top: 0; }
}
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-height: 34px; border-radius: 9px; color: #8a8d94; background: #f2f3f5; transition: color 200ms ease, background 200ms ease; }
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover, .social-icon:focus-visible { color: var(--orange); background: #fff2e9; }
.footer-lang { color: var(--muted); font-weight: 700; font-size: .78rem; }
.footer-risk { color: #9a9da3; font-size: .68rem; line-height: 1.55; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr auto; }
  .footer-risk { grid-column: 1 / -1; }
}

/* ---------- header nav / desktop ---------- */
@media (min-width: 900px) {
  .desktop-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); margin-left: 28px; }
  .desktop-nav a { min-height: 40px; display: inline-flex; align-items: center; color: #4b4d53; font-size: .78rem; font-weight: 700; transition: color .15s; }
  .desktop-nav a:hover { color: var(--ink); }
  .menu-toggle, .mobile-menu { display: none; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: .78rem; }
}

@media (min-width: 1300px) { .header-inner { width: min(100% - 96px, 1320px); } .shell { --shell-x: 1; } }
@media (min-width: 700px) { :root { --shell: min(100% - 96px, 1320px); } }

@media (max-width: 359px) {
  .brand small { display: none; }
  .hero-copy h1 { font-size: 2.1rem; }
  .button { padding-inline: 12px; font-size: .78rem; }
}

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