@font-face{font-family:'Archivo';src:url('/assets/fonts/archivo-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Archivo';src:url('/assets/fonts/archivo-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Archivo';src:url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Public Sans';src:url('/assets/fonts/public-sans-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Public Sans';src:url('/assets/fonts/public-sans-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Public Sans';src:url('/assets/fonts/public-sans-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}

/* ==========================================================================
   Digital Pickhouse — Forex & Derivatives Investor Guidance
   ========================================================================== */

:root,
[data-theme='light'] {
  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-surface-2: #eef1f8;
  --color-surface-offset: #e8ecf5;
  --color-divider: #d9e0ec;
  --color-border: #ccd5e6;

  --color-text: #0e1524;
  --color-text-muted: #4d5a75;
  --color-text-faint: #8891a8;
  --color-text-inverse: #f4f6fb;

  --color-primary: #1d4fd8;
  --color-primary-hover: #163fae;
  --color-primary-active: #123387;
  --color-primary-highlight: #dbe6ff;

  --color-accent: #0ea5a0;
  --color-accent-highlight: #d4f3ee;

  --color-warning: #b5590c;
  --color-warning-highlight: #f6ddc0;
  --color-error: #b1244a;
  --color-error-highlight: #f6d8e1;
  --color-success: #1c7a4d;
  --color-success-highlight: #d7efe1;
  --color-gold: #a8790a;
  --color-gold-highlight: #f2e3bd;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(14, 21, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 21, 36, 0.08);
  --shadow-lg: 0 24px 64px rgba(14, 21, 36, 0.14);

  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Archivo', 'Arial', sans-serif;
  --font-body: 'Public Sans', 'Arial', sans-serif;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme='dark'] {
  --color-bg: #060a14;
  --color-surface: #0c1120;
  --color-surface-2: #101729;
  --color-surface-offset: #131b30;
  --color-divider: #1c2740;
  --color-border: #232f4a;

  --color-text: #e7ebf5;
  --color-text-muted: #93a0c0;
  --color-text-faint: #5c6785;
  --color-text-inverse: #0a0e18;

  --color-primary: #5b8bff;
  --color-primary-hover: #83a6ff;
  --color-primary-active: #3f6de0;
  --color-primary-highlight: #16234a;

  --color-accent: #2fd0c6;
  --color-accent-highlight: #0f2a2b;

  --color-warning: #f0a253;
  --color-warning-highlight: #3a2a17;
  --color-error: #ea6b93;
  --color-error-highlight: #3a1f2b;
  --color-success: #57cf94;
  --color-success-highlight: #123424;
  --color-gold: #e6c05c;
  --color-gold-highlight: #362a12;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --color-bg: #060a14;
    --color-surface: #0c1120;
    --color-surface-2: #101729;
    --color-surface-offset: #131b30;
    --color-divider: #1c2740;
    --color-border: #232f4a;
    --color-text: #e7ebf5;
    --color-text-muted: #93a0c0;
    --color-text-faint: #5c6785;
    --color-text-inverse: #0a0e18;
    --color-primary: #5b8bff;
    --color-primary-hover: #83a6ff;
    --color-primary-active: #3f6de0;
    --color-primary-highlight: #16234a;
    --color-accent: #2fd0c6;
    --color-accent-highlight: #0f2a2b;
    --color-warning: #f0a253;
    --color-warning-highlight: #3a2a17;
    --color-error: #ea6b93;
    --color-error-highlight: #3a1f2b;
    --color-success: #57cf94;
    --color-success-highlight: #123424;
    --color-gold: #e6c05c;
    --color-gold-highlight: #362a12;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);
  }
}

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.4vw, 3.375rem);
  --text-3xl: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in oklab, var(--color-primary) 30%, transparent); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
button { cursor: pointer; background: none; border: none; }
a, button, input, textarea, select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

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

.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--content-default); }

section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 700; margin-bottom: var(--space-4);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-accent); }

h2.section-title { font-size: var(--text-xl); font-weight: 600; max-width: 26ch; margin-bottom: var(--space-4); }
.section-lead { color: var(--color-text-muted); max-width: 58ch; font-size: var(--text-base); }
.section-head { margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md); white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--color-surface-2); color: var(--color-text); border: 1px solid var(--color-border); }
.btn-ghost:hover { background: var(--color-surface-offset); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-4); gap: var(--space-6); }
.brand { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); }
.brand svg { width: 30px; height: 30px; color: var(--color-primary); }
.main-nav { display: flex; align-items: center; gap: var(--space-8); }
.main-nav ul { display: flex; gap: var(--space-6); }
.main-nav a { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.main-nav a:hover { color: var(--color-text); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-text); border-color: var(--color-text-muted); }
.theme-toggle svg { width: 17px; height: 17px; }
.nav-toggle { display: none; width: 38px; height: 38px; border-radius: var(--radius-md); border: 1px solid var(--color-border); place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn-primary.desktop-only { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(var(--space-12), 8vw, var(--space-20)); padding-bottom: clamp(var(--space-16), 8vw, var(--space-24)); overflow: hidden; }
.hero-canvas-wrap { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
[data-theme='light'] .hero-canvas-wrap, :root:not([data-theme='dark']) .hero-canvas-wrap { opacity: 0.22; }
#heroCanvas { width: 100%; height: 100%; }
.hero-fade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 0%, var(--color-bg) 92%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(var(--space-10), 6vw, var(--space-16)); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--color-primary); font-weight: 600; }
.hero-lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; margin-bottom: var(--space-8); font-family: var(--font-body); }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-10); }
.hero-stats { display: flex; gap: clamp(var(--space-6), 4vw, var(--space-10)); flex-wrap: wrap; border-top: 1px solid var(--color-divider); padding-top: var(--space-6); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.stat span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---------- desk panel ---------- */
.desk-panel {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.desk-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-divider); }
.desk-dots { display: flex; gap: 6px; }
.desk-dots span { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-border); }
.desk-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; color: var(--color-text-muted); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 700; color: var(--color-success); }
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-success); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-success) 30%, transparent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.desk-body { padding: var(--space-5); }
.desk-signal-label { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); }
#signalCanvas { width: 100%; height: 72px; margin-bottom: var(--space-5); }
.desk-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--color-divider); }
.desk-row:first-of-type { border-top: none; }
.desk-icon { width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--color-surface-2); display: grid; place-items: center; color: var(--color-primary); flex-shrink: 0; }
.desk-icon svg { width: 16px; height: 16px; }
.desk-row-text { flex: 1; }
.desk-row-text b { font-size: var(--text-sm); font-weight: 600; display: block; }
.desk-row-status { text-align: right; }
.desk-row-status b { display: block; font-size: var(--text-xs); font-weight: 700; color: var(--color-success); }
.desk-row-status span { font-size: var(--text-xs); color: var(--color-text-faint); }

.marquee { border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); background: var(--color-surface); overflow: hidden; }
.marquee-track { display: flex; gap: var(--space-10); padding-block: var(--space-3); white-space: nowrap; animation: scroll-marquee 32s linear infinite; }
.marquee span { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; color: var(--color-text-muted); display: inline-flex; align-items: center; gap: var(--space-2); }
.marquee span::before { content: '◆'; color: var(--color-primary); font-size: 8px; }
@keyframes scroll-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- problem cards ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 980px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.problem-card .num { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text-faint); margin-bottom: var(--space-4); }
.problem-card h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); }
.problem-card p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item { display: grid; grid-template-columns: 90px 1fr; gap: var(--space-6); padding-block: var(--space-8); border-top: 1px solid var(--color-divider); }
.process-item:first-child { border-top: none; }
.process-item .num { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); font-weight: 600; }
.process-item h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); }
.process-item p { color: var(--color-text-muted); max-width: 60ch; }
@media (max-width: 620px) { .process-item { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3);
}
.service-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--color-primary-highlight); color: var(--color-primary); display: grid; place-items: center; }
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: var(--text-base); font-weight: 700; }
.service-card p { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.service-card .tag { font-size: var(--text-xs); color: var(--color-primary); font-weight: 600; }
.services-note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---------- methodology ---------- */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 980px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .method-grid { grid-template-columns: 1fr; } }
.method-cell { background: var(--color-surface); padding: var(--space-6); }
.method-cell .num { font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-text-faint); margin-bottom: var(--space-3); }
.method-cell h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.method-cell p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- who for ---------- */
.for-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 980px) { .for-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .for-grid { grid-template-columns: 1fr; } }
.for-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); color: var(--color-primary); }
.for-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- trust / regulation ---------- */
.trust-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-8), 5vw, var(--space-12)); }
.trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-5); }
.trust-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-muted); }
.trust-list svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.regulator-badges { display: flex; flex-direction: column; gap: var(--space-3); }
.regulator-badge { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--color-surface-2); border: 1px solid var(--color-divider); border-radius: var(--radius-md); font-size: var(--text-sm); }
.regulator-badge b { font-weight: 700; }
.regulator-badge span { font-size: var(--text-xs); color: var(--color-text-muted); text-align: right; }
.trust-source { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
.trust-source a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- top brokers ---------- */
.broker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
@media (max-width: 980px) { .broker-grid { grid-template-columns: 1fr; } }
.broker-card {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); box-shadow: var(--shadow-sm);
}
.broker-card.is-top { border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.broker-badge {
  align-self: flex-start; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.03em;
  padding: 0.35rem 0.8rem; border-radius: var(--radius-full); background: var(--color-primary-highlight); color: var(--color-primary);
}
.broker-card.is-top .broker-badge { background: var(--color-primary); color: white; }
.broker-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); }
.broker-regulators { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.01em; }
.broker-pros { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.broker-pros li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-muted); }
.broker-pros svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.broker-foot { margin-top: auto; }
.broker-note { text-align: center; font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-10); max-width: 76ch; margin-inline: auto; }
.broker-note a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- risk ---------- */
.risk-section { background: var(--color-surface-2); }
.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 900px) { .risk-grid { grid-template-columns: 1fr; } }
.risk-card { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-warning); border-left-width: 3px; border-radius: var(--radius-md); }
.risk-card svg { width: 20px; height: 20px; color: var(--color-warning); flex-shrink: 0; margin-top: 2px; }
.risk-card p { font-size: var(--text-sm); color: var(--color-text); }
.risk-cta { text-align: center; margin-top: var(--space-10); }
.risk-source { text-align: center; font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
.risk-source a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- faq ---------- */
.faq-list { max-width: var(--content-default); margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: var(--space-5) var(--space-6); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-weight: 600; font-size: var(--text-base); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-text-muted); transition: transform var(--transition-interactive); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 var(--space-6) var(--space-6); color: var(--color-text-muted); font-size: var(--text-sm); max-width: 68ch; }

/* ---------- contact ---------- */
.contact-section { background: var(--color-surface-2); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(var(--space-10), 6vw, var(--space-16)); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin-bottom: var(--space-4); }
.contact-points { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-8); }
.contact-point { display: flex; gap: var(--space-3); }
.contact-point svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.contact-point p { font-size: var(--text-sm); color: var(--color-text-muted); }

.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-8)); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); }
.form-card > p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: var(--text-xs); font-weight: 600; margin-bottom: var(--space-2); color: var(--color-text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background: var(--color-surface-2); font-size: var(--text-sm); color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); background: var(--color-surface); }
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-5); }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--color-primary); }
.form-legal { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-5); }
.form-success { display: none; text-align: center; padding: var(--space-8) 0; }
.form-success svg { width: 44px; height: 44px; color: var(--color-success); margin-inline: auto; margin-bottom: var(--space-4); }
.form-success h3 { margin-bottom: var(--space-2); }
.form-success p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--color-divider); padding-block: var(--space-12); background: var(--color-bg); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-8); flex-wrap: wrap; margin-bottom: var(--space-8); }
.footer-nav { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.footer-nav a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-nav a:hover { color: var(--color-text); }
.footer-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 90ch; border-top: 1px solid var(--color-divider); padding-top: var(--space-6); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- mobile nav drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 100; background: color-mix(in oklab, var(--color-bg) 96%, transparent);
  display: flex; flex-direction: column; padding: var(--space-6);
  transform: translateY(-100%); transition: transform 260ms cubic-bezier(0.16,1,0.3,1);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-10); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: var(--space-6); }
.mobile-drawer a { font-size: var(--text-xl); font-family: var(--font-display); font-weight: 500; }
.mobile-drawer .btn { margin-top: var(--space-10); }


/* ---------- integration with the live Digital Pickhouse stack ---------- */
/* Neutralize legacy homepage rules that are loaded first. */
.fx-home .site-header { inset: auto; top: 0; }
.fx-home .site-header.scrolled { background: color-mix(in oklab, var(--color-bg) 88%, transparent); box-shadow: var(--shadow-sm); }
.fx-home .main-nav a { position: static; padding: 0; }
.fx-home .main-nav a::after { display: none; }
.fx-home .nav-toggle { padding: 0; margin: 0; justify-self: auto; z-index: auto; }
.fx-home .hero { background: transparent; color: var(--color-text); }
.fx-home .hero-grid { inset: auto; background: none; mask-image: none; -webkit-mask-image: none; animation: none; }
.fx-home h1, .fx-home h2, .fx-home h3, .fx-home h4 { color: var(--color-text); }
.fx-home .footer-bottom { background: transparent; border-top: 0; }

body.fx-home { min-height: 100dvh; }
body.fx-menu-open { overflow: hidden; }

.fx-language-switcher { display: flex; align-items: center; gap: .42rem; }
.fx-lang-flag {
  display: grid; place-items: center; width: 36px; height: 28px; padding: 4px;
  border: 1px solid var(--color-border); border-radius: 8px; opacity: .76;
  background: color-mix(in oklab, var(--color-surface) 72%, transparent);
}
.fx-lang-flag:hover { opacity: 1; border-color: var(--color-text-muted); transform: translateY(-1px); }
.fx-lang-flag.active { opacity: 1; border-color: var(--color-primary); box-shadow: 0 0 0 2px color-mix(in oklab, var(--color-primary) 12%, transparent); }
.fx-lang-flag .flag-icon { width: 26px; height: 18px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.mobile-drawer-bottom { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-8); }
.mobile-drawer .fx-language-switcher { justify-content: center; }
.mobile-drawer .fx-lang-flag { width: 46px; height: 34px; }
.mobile-drawer .fx-lang-flag .flag-icon { width: 32px; height: 21px; }

@media (max-width: 860px) { .language-switcher-desktop { display: none; } }

/* Keep the production request form and backend fields while matching the new visual system. */
.form-card .form-head { display: none; }
.form-card .contact-form { margin: 0; }
.form-card .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-card .form-group { margin-bottom: var(--space-4); }
.form-card .form-group label {
  display: block; font-size: var(--text-xs); font-weight: 600; margin-bottom: var(--space-2); color: var(--color-text-muted);
}
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
  width: 100%; padding: .76rem .88rem; border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background-color: var(--color-surface-2); color: var(--color-text); font-size: var(--text-sm); outline: none;
  box-shadow: none;
}
.form-card .form-group select { appearance: auto; background-image: none; padding-right: .88rem; }
.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus { border-color: var(--color-primary); background-color: var(--color-surface); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 12%, transparent); }
.form-card .form-group textarea { resize: vertical; min-height: 108px; }
.form-card .form-feedback { color: var(--color-error); font-size: var(--text-xs); min-height: 1.2em; margin: 0 0 var(--space-3); }
.form-card .form-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-5); line-height: 1.65; }
.form-card .contact-form .btn { width: 100%; }
.form-card .form-success { display: none; text-align: center; padding: var(--space-8) 0; }
.form-card .form-success:not([hidden]) { display: block; }
.form-card .form-success .success-ico { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto var(--space-4); color: var(--color-success); }
.form-card .form-success .success-ico svg { width: 32px; height: 32px; }
.form-card .form-success h3 { color: var(--color-text); margin-bottom: var(--space-2); }
.form-card .form-success p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 44ch; margin-inline: auto; }
.form-card .hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden !important; }

/* Regulatory/source links remain obvious in both themes. */
.risk-card a, .broker-note a, .risk-source a, .footer-disclaimer a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .form-card .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-header .wrap { gap: var(--space-3); }
  .brand { font-size: .92rem; }
  .brand svg { width: 28px; height: 28px; }
}

/* ========================================================================== 
   Production polish pass — alignment, spacing, type scale, original branding
   and the client-supplied broker-match form.
   ========================================================================== */

/* Keep every desktop section on the same visual axis as the original site. */
.fx-home {
  --content-wide: 1180px;
  --content-default: 960px;
  --text-xs: clamp(.79rem, .76rem + .12vw, .84rem);
  --text-sm: clamp(.94rem, .90rem + .16vw, 1rem);
  --text-base: clamp(1.03rem, .99rem + .18vw, 1.10rem);
  --text-lg: clamp(1.22rem, 1.12rem + .40vw, 1.48rem);
  --text-xl: clamp(2rem, 1.55rem + 1.45vw, 2.75rem);
  --text-2xl: clamp(2.65rem, 1.75rem + 2.8vw, 4.25rem);
}

.fx-home .wrap {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}

.fx-home section {
  padding-block: clamp(3.75rem, 5.5vw, 5.75rem);
}

.fx-home .section-head {
  width: 100%;
  max-width: 780px;
  margin: 0 auto clamp(2.25rem, 3.25vw, 3.5rem);
  text-align: center;
}
.fx-home .section-head .section-lead { margin-inline: auto; }
.fx-home h2.section-title {
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(2rem, 2.9vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.fx-home .section-lead { font-size: clamp(1.04rem, 1vw, 1.13rem); line-height: 1.72; }
.fx-home .eyebrow { font-size: .83rem; }

/* Original Digital Pickhouse logo in every brand position. */
.fx-home .fx-brand { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 1; }
.fx-home .fx-brand-logo { display: block; width: 186px; height: auto; max-width: none; }
.fx-home .fx-footer-brand .fx-brand-logo { width: 196px; }
.fx-home .mobile-drawer-head .fx-brand-logo { width: 158px; }

/* Header should feel like the previous production header, not a tiny demo bar. */
.fx-home .site-header .wrap { min-height: 82px; padding-block: 8px; }
.fx-home .main-nav ul { gap: 1.7rem; }
.fx-home .main-nav a { font-size: .96rem; }
.fx-home .header-actions { gap: .75rem; }
.fx-home .btn { font-size: .96rem; padding: .88rem 1.55rem; }

/* Hero: larger desktop typography, less dead vertical space. */
.fx-home .hero {
  padding-top: clamp(3.4rem, 5.2vw, 5.2rem);
  padding-bottom: clamp(3.6rem, 5.4vw, 5.4rem);
}
.fx-home .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: clamp(2.75rem, 5vw, 5rem);
}
.fx-home .hero h1 {
  font-size: clamp(2.85rem, 4.35vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 13ch;
}
.fx-home .hero-lead { font-size: clamp(1.12rem, 1.25vw, 1.3rem); line-height: 1.7; max-width: 48ch; }
.fx-home .hero-stats { gap: clamp(1.75rem, 3vw, 3rem); }
.fx-home .stat b { font-size: 1.45rem; }
.fx-home .stat span { font-size: .86rem; }

/* The strip directly under the hero stays compact. */
.fx-home .marquee-track { padding-block: .7rem; animation-duration: 30s; }
.fx-home .marquee span { font-size: .82rem; }

/* Equal, centered grids. minmax(0,1fr) prevents long copy from widening a column. */
.fx-home .problem-grid,
.fx-home .services-grid,
.fx-home .method-grid,
.fx-home .for-grid,
.fx-home .broker-grid,
.fx-home .risk-grid {
  width: 100%;
  margin-inline: auto;
}
.fx-home .problem-grid { max-width: 1120px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.fx-home .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fx-home .method-grid { max-width: 1120px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-home .for-grid { max-width: 1120px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fx-home .broker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fx-home .risk-grid { gap: 20px; }

.fx-home .problem-card,
.fx-home .service-card,
.fx-home .method-cell,
.fx-home .broker-card { min-width: 0; height: 100%; }
.fx-home .problem-card { padding: 1.65rem; display: flex; flex-direction: column; }
.fx-home .problem-card .num { font-size: 1.35rem; margin-bottom: 1.1rem; }
.fx-home .problem-card h3 { font-size: 1.24rem; line-height: 1.12; margin-bottom: .85rem; }
.fx-home .problem-card p { font-size: 1rem; line-height: 1.62; }

.fx-home .service-card { padding: 1.65rem; }
.fx-home .service-card h3,
.fx-home .method-cell h3,
.fx-home .for-card h3 { font-size: 1.08rem; }
.fx-home .service-card p,
.fx-home .method-cell p,
.fx-home .for-card p,
.fx-home .broker-pros li { font-size: .98rem; line-height: 1.62; }
.fx-home .method-cell { padding: 1.6rem; }
.fx-home .for-card { min-width: 0; padding: .25rem .15rem; }
.fx-home .broker-card { padding: 1.65rem; }
.fx-home .broker-name { font-size: 1.38rem; }
.fx-home .broker-regulators { font-size: .85rem; }
.fx-home .broker-note { margin-top: 2rem; font-size: .84rem; line-height: 1.6; }
.fx-home .risk-card p { font-size: .98rem; line-height: 1.62; }

/* Contact section + the new client-supplied broker-match form. */
.fx-home .contact-grid {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.75rem, 5vw, 4.75rem);
  align-items: center;
}
.fx-home .contact-info .section-title { margin-inline: 0; max-width: 17ch; }
.fx-home .contact-info .section-lead { max-width: 48ch; }
.fx-home .contact-points { margin-top: 1.75rem; }
.fx-home .contact-point p { font-size: .98rem; }
.fx-home .match-form-card { padding: clamp(1.6rem, 3vw, 2.35rem); }
.fx-home .match-form-head { text-align: center; margin-bottom: 1.55rem; }
.fx-home .match-form-head .eyebrow { justify-content: center; margin-bottom: .75rem; }
.fx-home .match-form-head h3 { font-size: clamp(1.55rem, 2.1vw, 2rem); margin-bottom: .55rem; }
.fx-home .match-form-head > p:last-child { color: var(--color-text-muted); font-size: .98rem; margin: 0 auto; max-width: 44ch; }
.fx-home .fx-match-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fx-home .fx-match-form .field { margin-bottom: 1rem; }
.fx-home .fx-match-form .field label { font-size: .88rem; font-weight: 600; margin-bottom: .45rem; }
.fx-home .fx-match-form .field input,
.fx-home .fx-match-form .field select {
  min-height: 48px;
  padding: .78rem .9rem;
  font-size: .97rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.fx-home .fx-match-form .field input:focus,
.fx-home .fx-match-form .field select:focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 12%, transparent);
  outline: 0;
}
.fx-home .fx-match-form .consent { font-size: .84rem; line-height: 1.55; margin: .35rem 0 1.2rem; }
.fx-home .fx-match-form .consent input { flex: 0 0 auto; margin-top: .2rem; }
.fx-home .fx-match-form .form-feedback { min-height: 1.15em; margin: 0 0 .7rem; color: var(--color-error); font-size: .86rem; }
.fx-home .fx-match-form .form-legal { font-size: .78rem; line-height: 1.62; margin-top: 1.15rem; }
.fx-home .match-form-card .form-success:not([hidden]) { display: block; }

/* Footer uses the same centered rhythm as the rest of the page. */
.fx-home .site-footer { padding-block: 3.75rem; }
.fx-home .footer-top { align-items: center; margin-bottom: 1.75rem; }
.fx-home .footer-disclaimer { line-height: 1.65; }

@media (max-width: 980px) {
  .fx-home .hero-grid { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
  .fx-home .problem-grid,
  .fx-home .method-grid,
  .fx-home .for-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-home .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-home .broker-grid { grid-template-columns: 1fr; max-width: 720px; }
}

@media (max-width: 860px) {
  /* Match the earlier production mobile header: centered logo + burger on the right. */
  .fx-home .site-header .wrap {
    width: min(100% - 32px, 720px);
    min-height: 74px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0;
  }
  .fx-home .site-header .fx-brand { grid-column: 2; justify-self: center; }
  .fx-home .site-header .fx-brand-logo { width: 158px; }
  .fx-home .site-header .main-nav { display: none; }
  .fx-home .site-header .header-actions { grid-column: 3; justify-self: end; }
  .fx-home .site-header .theme-toggle,
  .fx-home .site-header .desktop-only,
  .fx-home .site-header .language-switcher-desktop { display: none; }
  .fx-home .site-header .nav-toggle { display: grid; }
  .fx-home .contact-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  .fx-home .contact-info { text-align: center; }
  .fx-home .contact-info .section-title,
  .fx-home .contact-info .section-lead { margin-inline: auto; }
  .fx-home .contact-points { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .fx-home { font-size: 16px; }
  .fx-home .wrap { width: min(100% - 36px, 560px); }
  .fx-home section { padding-block: 3.5rem; }
  .fx-home .section-head { margin-bottom: 2rem; }
  .fx-home h2.section-title { font-size: clamp(1.8rem, 8.5vw, 2.35rem); line-height: 1.08; }
  .fx-home .section-lead { font-size: 1rem; }

  /* Original mobile behavior: centralised hero and content cards. */
  .fx-home .hero { padding-top: 3rem; padding-bottom: 3.3rem; text-align: center; }
  .fx-home .hero-grid { gap: 2rem; }
  .fx-home .hero h1 { font-size: clamp(2.35rem, 11vw, 3.25rem); max-width: 12ch; margin-inline: auto; }
  .fx-home .hero-lead { margin-inline: auto; font-size: 1.04rem; }
  .fx-home .hero-ctas { justify-content: center; margin-bottom: 2rem; }
  .fx-home .hero-ctas .btn { width: 100%; }
  .fx-home .hero-stats { justify-content: center; text-align: center; gap: 0; }
  .fx-home .hero-stats .stat { flex: 1 1 33.333%; min-width: 0; padding-inline: .35rem; }
  .fx-home .stat b { font-size: 1.28rem; }
  .fx-home .stat span { font-size: .72rem; line-height: 1.35; }

  /* Exactly 2.5x quicker than the previous 32s mobile ticker. */
  .fx-home .marquee-track { animation-duration: 12.8s; gap: 1.7rem; }

  .fx-home .problem-grid,
  .fx-home .services-grid,
  .fx-home .method-grid,
  .fx-home .for-grid,
  .fx-home .risk-grid { grid-template-columns: 1fr; gap: 16px; }

  .fx-home .problem-card,
  .fx-home .service-card,
  .fx-home .method-cell,
  .fx-home .for-card { text-align: center; }
  .fx-home .problem-card,
  .fx-home .service-card,
  .fx-home .method-cell { padding: 1.4rem 1.25rem; }
  .fx-home .service-icon { margin-inline: auto; }
  .fx-home .problem-card .num,
  .fx-home .method-cell .num { margin-inline: auto; }

  .fx-home .broker-card { text-align: center; padding: 1.4rem 1.25rem; }
  .fx-home .broker-badge { align-self: center; }
  .fx-home .broker-pros { text-align: left; }
  .fx-home .broker-note { margin-top: 1.5rem; }

  .fx-home .risk-card { text-align: left; padding: 1.2rem; }
  .fx-home .risk-cta { margin-top: 1.8rem; }

  .fx-home .contact-grid { gap: 2rem; }
  .fx-home .contact-info { text-align: center; }
  .fx-home .contact-points { text-align: left; margin-top: 1.5rem; }
  .fx-home .match-form-card { padding: 1.35rem 1.1rem; }
  .fx-home .fx-match-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .fx-home .fx-match-form .field,
  .fx-home .fx-match-form .consent,
  .fx-home .fx-match-form .form-legal { text-align: left; }
  .fx-home .fx-match-form .btn { white-space: normal; min-height: 50px; }

  .fx-home .site-footer { padding-block: 3rem; text-align: center; }
  .fx-home .footer-top { flex-direction: column; align-items: center; gap: 1.4rem; }
  .fx-home .footer-nav { justify-content: center; gap: 1rem 1.35rem; }
  .fx-home .footer-disclaimer { text-align: center; margin-inline: auto; }
  .fx-home .footer-bottom { justify-content: center; text-align: center; }
  .fx-home .fx-footer-brand .fx-brand-logo { width: 184px; }

  .fx-home .mobile-drawer { text-align: center; padding: 1.25rem; }
  .fx-home .mobile-drawer-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    margin-bottom: 2rem;
  }
  .fx-home .mobile-drawer-head .fx-drawer-brand { grid-column: 2; justify-self: center; }
  .fx-home .mobile-drawer-head .nav-toggle { grid-column: 3; justify-self: end; }
  .fx-home .mobile-drawer ul { align-items: center; gap: 1.25rem; }
  .fx-home .mobile-drawer a { font-size: 1.35rem; }
  .fx-home .mobile-drawer-bottom { align-items: center; width: 100%; }
  .fx-home .mobile-drawer-bottom > .btn { width: min(100%, 420px); }
}

@media (max-width: 360px) {
  .fx-home .wrap { width: min(100% - 28px, 560px); }
  .fx-home .site-header .wrap { width: calc(100% - 24px); }
  .fx-home .site-header .fx-brand-logo { width: 148px; }
  .fx-home .hero h1 { font-size: 2.2rem; }
  .fx-home .hero-stats { flex-direction: column; gap: .9rem; }
  .fx-home .hero-stats .stat { width: 100%; }
}

@media (min-width: 981px) {
  /* Align repeated card content baselines so mixed one/two-line titles do not
     create the staggered look visible in the supplied screenshot. */
  .fx-home .problem-card h3 { min-height: 2.5em; }
  .fx-home .service-card h3 { min-height: 2.45em; }
  .fx-home .method-cell h3 { min-height: 2.45em; }
  .fx-home .for-card h3 { min-height: 2.45em; }
  .fx-home .broker-card > div:first-of-type { min-height: 3.4rem; }
}


/* ==========================================================================
   Mobile header/menu parity + dark contact fix (2026-09-14)
   ========================================================================== */

/* style.css has a legacy .contact-info card rule. On the FX landing page this
   is editorial copy, not a white card. Reset it so dark mode stays coherent. */
.fx-home .contact-info {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Restore the original production hamburger treatment for the FX homepage. */
.fx-home .nav-toggle {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 10px;
  margin-right: -10px;
  background: transparent;
  color: var(--color-text);
}
.fx-home .nav-toggle-box { display: block; width: 26px; height: 18px; position: relative; }
.fx-home .nav-toggle-line {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: top .28s cubic-bezier(.2,.8,.2,1), transform .28s cubic-bezier(.2,.8,.2,1), width .28s cubic-bezier(.2,.8,.2,1);
}
.fx-home .nav-toggle-line:nth-child(1) { top: 2px; }
.fx-home .nav-toggle-line:nth-child(2) { top: 13px; width: 70%; }
.fx-home.menu-open .nav-toggle-line:nth-child(1),
body.menu-open.fx-home .nav-toggle-line:nth-child(1) { top: 8px; transform: rotate(45deg); }
.fx-home.menu-open .nav-toggle-line:nth-child(2),
body.menu-open.fx-home .nav-toggle-line:nth-child(2) { top: 8px; width: 100%; transform: rotate(-45deg); }

/* The original full-screen mobile menu is deliberately navy in both themes;
   only the page theme switches, keeping the menu visually stable. */
.fx-home .fx-mobile-menu { display: none; }
.fx-home .fx-mobile-menu-bottom { gap: 16px; }
.fx-home .fx-mobile-menu-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.fx-home .fx-mobile-theme-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--navy-line);
  border-radius: 10px;
  color: var(--navy-ink);
  background: rgba(255,255,255,.035);
}
.fx-home .fx-mobile-theme-toggle:hover,
.fx-home .fx-mobile-theme-toggle:focus-visible {
  color: #fff;
  border-color: rgba(96,165,250,.72);
  background: rgba(37,99,235,.18);
}
.fx-home .fx-mobile-theme-toggle svg { width: 20px; height: 20px; }
.fx-home .fx-mobile-menu .language-switcher-mobile { padding-top: 0; }

@media (max-width: 860px) {
  /* Perfect optical/actual centering: equal side columns, same as the earlier
     production header. The left column intentionally stays empty. */
  .fx-home .site-header .wrap {
    width: min(100% - 32px, 720px);
    min-height: 74px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 0;
  }
  .fx-home .site-header .fx-brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }
  .fx-home .site-header .fx-brand-logo { width: 158px; }
  .fx-home .site-header .header-actions {
    grid-column: 3;
    justify-self: end;
    width: 44px;
    justify-content: flex-end;
  }
  .fx-home .site-header .nav-toggle { display: block; }
  .fx-home .fx-mobile-menu { display: flex; }

  /* Ensure the old menu animation controls are visible over the navy overlay. */
  body.menu-open.fx-home .site-header .nav-toggle { color: #fff; }
  body.menu-open.fx-home .site-header .fx-brand-logo { filter: brightness(0) invert(1); }
}

@media (max-width: 640px) {
  .fx-home .fx-mobile-menu {
    text-align: left;
    padding-left: 7%;
    padding-right: 7%;
  }
  .fx-home .fx-mobile-menu .mobile-menu-kicker { text-align: left; }
  .fx-home .fx-mobile-menu .mobile-menu-nav { width: 100%; }
  .fx-home .fx-mobile-menu .mobile-menu-bottom { text-align: center; }
}

@media (max-width: 860px) {
  /* The restored menu closes through the header hamburger, so the header must
     sit above the full-screen menu exactly as it did in the earlier build. */
  .fx-home .site-header { z-index: 130; }
}

/* ========================================================================== 
   100% first-deposit bonus landing page (2026-09-14)
   Uses the existing Digital Pickhouse sizing, centered-mobile and theme rules.
   ========================================================================== */

.fx-home .bonus-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(7.7rem, 10vw, 9.2rem);
  padding-bottom: clamp(3.75rem, 6.5vw, 5.6rem);
  background:
    radial-gradient(760px 430px at 14% 5%, color-mix(in oklab, var(--color-primary) 14%, transparent), transparent 67%),
    radial-gradient(680px 420px at 88% 18%, color-mix(in oklab, #22c55e 12%, transparent), transparent 68%),
    var(--color-bg);
}
.fx-home .bonus-glow { position: absolute; inset: 0; pointer-events: none; opacity: .85; }
.fx-home .bonus-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}
.fx-home .bonus-copy { min-width: 0; }
.fx-home .bonus-copy h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(3.15rem, 5.25vw, 4.8rem);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 700;
  color: var(--color-text);
}
.fx-home .bonus-accent { color: #22a95a; }
[data-theme='dark'] .fx-home .bonus-accent { color: #55d884; }
.fx-home .bonus-lead {
  max-width: 55ch;
  margin-top: 1.55rem;
  font-size: clamp(1.08rem, 1.25vw, 1.27rem);
  line-height: 1.72;
  color: var(--color-text-muted);
}
.fx-home .bonus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 2rem;
}
.fx-home .bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .7rem .9rem;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--color-surface) 86%, transparent);
  color: var(--color-text-muted);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
}
.fx-home .bonus-pill svg { width: 18px; height: 18px; flex: 0 0 auto; color: #22a95a; }
[data-theme='dark'] .fx-home .bonus-pill svg { color: #55d884; }

.fx-home .bonus-form-card {
  width: 100%;
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--color-surface) 96%, transparent);
  box-shadow: var(--shadow-lg);
}
.fx-home .bonus-form-head { margin-bottom: 1.5rem; }
.fx-home .bonus-form-head h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-text);
}
.fx-home .bonus-form-head p { margin: 0; color: var(--color-text-muted); font-size: .98rem; line-height: 1.6; }
.fx-home .bonus-form { margin: 0; }
.fx-home .bonus-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.fx-home .bonus-field { margin-bottom: 1rem; min-width: 0; }
.fx-home .bonus-field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text);
}
.fx-home .bonus-field input,
.fx-home .bonus-field select {
  width: 100%;
  min-height: 52px;
  padding: .78rem .92rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: .98rem;
  outline: 0;
}
.fx-home .bonus-field input::placeholder { color: var(--color-text-faint); opacity: 1; }
.fx-home .bonus-field input:focus,
.fx-home .bonus-field select:focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 14%, transparent);
}
.fx-home .bonus-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  margin: .25rem 0 1rem;
  color: var(--color-text-muted);
  font-size: .86rem;
  line-height: 1.55;
  cursor: pointer;
}
.fx-home .bonus-consent input { width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--color-primary); }
.fx-home .bonus-submit {
  background: #22a95a;
  color: #fff;
  border-color: #22a95a;
  box-shadow: 0 8px 22px rgba(34, 169, 90, .18);
}
.fx-home .bonus-submit:hover { background: #188d49; border-color: #188d49; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(34, 169, 90, .24); }
[data-theme='dark'] .fx-home .bonus-submit { background: #3dbf71; border-color: #3dbf71; color: #07140c; }
[data-theme='dark'] .fx-home .bonus-submit:hover { background: #55d884; border-color: #55d884; }
.fx-home .bonus-form-legal { margin: 1rem 0 0; font-size: .73rem; line-height: 1.62; color: var(--color-text-faint); }
.fx-home .form-feedback { min-height: 1.15em; margin: 0 0 .65rem; color: var(--color-error); font-size: .82rem; }
.fx-home .bonus-success { text-align: center; padding: 2.4rem .4rem; }
.fx-home .bonus-success:not([hidden]) { display: block; }
.fx-home .bonus-success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 50%; background: color-mix(in oklab, #22a95a 15%, transparent); color: #22a95a; }
.fx-home .bonus-success-icon svg { width: 30px; height: 30px; }
.fx-home .bonus-success h3 { margin-bottom: .55rem; font-size: 1.45rem; }
.fx-home .bonus-success p { max-width: 42ch; margin-inline: auto; color: var(--color-text-muted); }
.fx-home .hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden !important; }

.fx-home .bonus-section { padding-block: clamp(3.8rem, 6.5vw, 5.8rem); }
.fx-home .bonus-section-alt { background: var(--color-surface-2); }
.fx-home .bonus-section-head { max-width: 760px; margin: 0 auto clamp(2.3rem, 4vw, 3.4rem); text-align: center; }
.fx-home .bonus-section-head .eyebrow { justify-content: center; }
.fx-home .bonus-section-head h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.fx-home .bonus-section-lead { max-width: 62ch; margin: 1rem auto 0; color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.7; }

.fx-home .bonus-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}
.fx-home .bonus-benefit-card,
.fx-home .bonus-step-card,
.fx-home .bonus-term-card {
  min-width: 0;
  height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.fx-home .bonus-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.15rem; border-radius: 13px; background: color-mix(in oklab, #22a95a 12%, var(--color-surface)); color: #22a95a; }
.fx-home .bonus-icon svg { width: 23px; height: 23px; }
.fx-home .bonus-benefit-card h3,
.fx-home .bonus-step-card h3,
.fx-home .bonus-term-card h3 { margin: 0 0 .72rem; font-size: 1.08rem; line-height: 1.2; font-weight: 700; }
.fx-home .bonus-benefit-card p,
.fx-home .bonus-step-card p,
.fx-home .bonus-term-card p { margin: 0; color: var(--color-text-muted); font-size: .96rem; line-height: 1.67; }

.fx-home .bonus-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.35rem); align-items: stretch; }
.fx-home .bonus-step-card { text-align: center; }
.fx-home .bonus-step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--color-primary) 13%, var(--color-surface));
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
}
.fx-home .bonus-section-cta { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.fx-home .bonus-section-cta p { color: var(--color-text-faint); font-size: .86rem; }

.fx-home .bonus-terms-section { background: var(--color-bg); }
.fx-home .bonus-terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.35rem); }
.fx-home .bonus-term-card { position: relative; }
.fx-home .bonus-term-mark { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 1rem; border-radius: 50%; background: var(--color-warning-highlight); color: var(--color-warning); font-weight: 800; }

@media (min-width: 981px) {
  .fx-home .bonus-benefit-card h3 { min-height: 2.4em; }
}

@media (max-width: 1100px) {
  .fx-home .bonus-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); gap: 2.5rem; }
  .fx-home .bonus-copy h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
}

@media (max-width: 980px) {
  .fx-home .bonus-hero-grid { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
  .fx-home .bonus-copy { text-align: center; }
  .fx-home .bonus-copy h1, .fx-home .bonus-lead { margin-inline: auto; }
  .fx-home .bonus-pills { justify-content: center; }
  .fx-home .bonus-form-card { max-width: 680px; margin-inline: auto; }
  .fx-home .bonus-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .fx-home .bonus-hero { padding-top: 6.8rem; padding-bottom: 3.35rem; }
  .fx-home .bonus-hero-grid { gap: 2.2rem; }
  .fx-home .bonus-copy h1 { max-width: 12ch; font-size: clamp(2.35rem, 11vw, 3.25rem); line-height: 1.01; }
  .fx-home .bonus-lead { max-width: 37rem; font-size: 1.04rem; line-height: 1.68; }
  .fx-home .bonus-pills { flex-direction: column; align-items: center; gap: .65rem; }
  .fx-home .bonus-pill { width: min(100%, 360px); justify-content: center; text-align: center; }
  .fx-home .bonus-form-card { padding: 1.35rem 1.1rem; text-align: left; }
  .fx-home .bonus-form-head { text-align: center; }
  .fx-home .bonus-form-row { grid-template-columns: 1fr; gap: 0; }
  .fx-home .bonus-field input, .fx-home .bonus-field select { min-height: 51px; }
  .fx-home .bonus-section { padding-block: 3.35rem; }
  .fx-home .bonus-section-head { margin-bottom: 2rem; }
  .fx-home .bonus-section-head h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .fx-home .bonus-benefits-grid, .fx-home .bonus-steps-grid, .fx-home .bonus-terms-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .fx-home .bonus-benefit-card, .fx-home .bonus-step-card, .fx-home .bonus-term-card { text-align: center; padding: 1.45rem 1.2rem; }
  .fx-home .bonus-icon, .fx-home .bonus-term-mark { margin-inline: auto; }
  .fx-home .bonus-section-cta .btn { width: min(100%, 420px); }
}

@media (max-width: 420px) {
  .fx-home .bonus-form-card { border-radius: 1.15rem; }
  .fx-home .bonus-copy h1 { font-size: clamp(2.2rem, 11.4vw, 2.85rem); }
  .fx-home .bonus-pill { font-size: .86rem; }
  .fx-home .bonus-submit { white-space: normal; text-align: center; }
}

@media (max-width: 360px) {
  .fx-home .bonus-hero { padding-top: 6.4rem; }
  .fx-home .bonus-copy h1 { font-size: 2.18rem; }
}


/* ==========================================================================
   2026-09-15 spacing + desktop footer polish
   Keep the existing layout/content; only tighten the header→hero rhythm and
   give the desktop footer a clearer, more intentional structure.
   ========================================================================== */

/* The bonus hero previously inherited oversized demo spacing. */
.fx-home .bonus-hero {
  padding-top: clamp(2.35rem, 3.5vw, 3.25rem);
}

/* Desktop footer: one strong brand/navigation row, then disclosure and meta. */
@media (min-width: 861px) {
  .fx-home .site-footer {
    padding-block: 3.25rem 2.5rem;
  }

  .fx-home .footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    margin-bottom: 0;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--color-divider);
  }

  .fx-home .fx-footer-brand {
    justify-self: start;
  }

  .fx-home .footer-nav {
    justify-self: end;
    justify-content: flex-end;
    align-items: center;
    gap: .75rem 1.8rem;
  }

  .fx-home .footer-nav a {
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
  }

  .fx-home .footer-disclaimer {
    max-width: none;
    margin: 0;
    padding: 1.65rem 0 0;
    border-top: 0;
    font-size: .79rem;
    line-height: 1.7;
  }

  .fx-home .footer-bottom {
    width: 100%;
    margin-top: 1.55rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--color-divider);
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

/* Compact header→hero spacing consistently on tablets and phones. */
@media (max-width: 860px) {
  .fx-home .bonus-hero {
    padding-top: 1.75rem;
  }
}

@media (max-width: 520px) {
  .fx-home .bonus-hero {
    padding-top: 1.25rem;
  }
}

@media (max-width: 360px) {
  .fx-home .bonus-hero {
    padding-top: 1rem;
  }
}

/* Privacy link under the landing-page consent */
.fx-home .bonus-form-privacy{margin:-.15rem 0 .7rem;font-size:.82rem;line-height:1.5}.fx-home .bonus-form-privacy a{color:inherit;text-decoration:underline;text-underline-offset:3px}.fx-home .bonus-form-privacy a:hover{color:var(--bonus-accent,#1b9c55)}
