/* ============================================================
   Fluxmey — "Jet, Copper & Burgundy"
   Luxury dark design system (es-419 / LTR)

   Three materials carry the whole system:
     · the jet canvas        (body, cards, splits)
     · the burgundy velvet   (form panels, featured cards, CTA bands)
     · copper                (the only metallic accent: type, hairlines, buttons)
   Copper is sampled from the logo mark itself (#c38151).
   ============================================================ */

:root {
  /* base — jet black and onyx */
  --fm-bg: #0a0a0a;
  --fm-bg-2: #0f0c0c;
  --fm-onyx-1: #120e0f;
  --fm-onyx-2: #1b1415;

  /* burgundy — the velvet surfaces */
  --fm-wine-1: #22080d;
  --fm-wine-2: #3b0f18;
  --fm-wine-3: #5c1724;
  --fm-wine-4: #7d2231;

  /* copper — sampled from the logo */
  --fm-cu: #c38151;
  --fm-cu-hi: #e3a878;
  --fm-cu-deep: #9a5a32;
  --fm-cu-grad: linear-gradient(135deg, #ecb98b 0%, #c38151 55%, #9a5a32 100%);
  --fm-grad: linear-gradient(135deg, #f0c9a2 0%, #c38151 48%, #7d2231 100%);

  /* velvet — burgundy inset and the text that sits on it */
  --fm-velvet: linear-gradient(var(--fm-panel-angle), #5a1622 0%, #3a0e17 55%, #22080d 100%);
  --fm-velvet-line: rgba(227, 168, 120, .34);
  --fm-velvet-soft: #dcc8b8;   /* secondary text on velvet: 8.5:1 */
  --fm-velvet-field: #120d0e;

  /* text on the jet canvas */
  --fm-tx: rgba(245, 237, 228, .76);
  --fm-tx-strong: #f5ede4;
  --fm-muted: #b8aa9d;
  /* Tertiary labels sit on the lifted glass cards, not on --fm-bg. Measured
     against those surfaces this lands at 5.2:1 — keep it at or above AA. */
  --fm-dim: #93857a;

  /* lines / glass */
  --fm-line: rgba(227, 168, 120, .14);
  --fm-line-soft: rgba(245, 237, 228, .06);
  --fm-glass: rgba(245, 237, 228, .024);
  --fm-glass-2: rgba(245, 237, 228, .044);

  /* radii */
  --fmr-sm: 10px;
  --fmr-md: 16px;
  --fmr-lg: 24px;
  --fmr-xl: 32px;
  --fmr-pill: 9999px;

  /* shadow / glow */
  --fms-sh: 0 30px 80px -30px rgba(0, 0, 0, .9);
  --fms-glow: 0 10px 34px -12px rgba(195, 129, 81, .6);
  --fms-velvet: 0 26px 64px -26px rgba(34, 8, 13, .95);

  /* fonts */
  --fmf-disp: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --fmf-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --fmf-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  --fm-mw: 1240px;
  --fm-nav-h: 76px;

  /* gradient geometry */
  --fm-bloom-x: 100%;
  --fm-panel-angle: 155deg;
  --fm-hero-angle: 150deg;
  --fm-copy-angle: 160deg;
  --fm-shaft-tilt: 4deg;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fmf-body);
  background: var(--fm-bg);
  color: var(--fm-tx);
  line-height: 1.75;
  padding-block-start: var(--fm-nav-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---- jet canvas with a burgundy bloom ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(125, 34, 49, .24), transparent 55%),
    radial-gradient(90% 60% at var(--fm-bloom-x) 8%, rgba(195, 129, 81, .09), transparent 60%),
    linear-gradient(180deg, #0f0b0b 0%, #0a0a0a 40%, #080808 100%);
}
/* copper shaft — the light source the velvet insets are lit by */
body::after {
  content: "";
  position: fixed;
  top: -10%;
  inset-inline-start: 50%;
  width: 46vw;
  height: 120%;
  transform: translateX(-50%) rotate(var(--fm-shaft-tilt));
  z-index: -2;
  background: linear-gradient(180deg, rgba(227, 168, 120, .06), rgba(227, 168, 120, .012) 30%, transparent 70%);
  filter: blur(38px);
  pointer-events: none;
  opacity: .8;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--fm-cu-hi); outline-offset: 3px; }

.wrap { max-width: var(--fm-mw); margin-inline: auto; padding-inline: 24px; }

/* a11y helpers */
.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;
}
.skip-link {
  position: absolute; inset-block-start: -60px; inset-inline-start: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 0 0 var(--fmr-sm) var(--fmr-sm);
  background: var(--fm-cu); color: var(--fm-bg);
  font-family: var(--fmf-body); font-weight: 600; font-size: .9rem;
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 0; }

/* ---- typography ---- */
h1, h2 {
  font-family: var(--fmf-disp);
  color: var(--fm-tx-strong);
  font-weight: 500;
  line-height: 1.15;
}
h3, h4 {
  font-family: var(--fmf-body);
  color: var(--fm-tx-strong);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.005em;
}
.display {
  font-family: var(--fmf-disp);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--fm-tx-strong);
}
.display b { font-weight: 600; }
/* Emphasis is a copper italic — the Garamond italic is the luxury tell. */
.display .hi { font-style: italic; font-weight: 500; color: var(--fm-cu-hi); }
h1.display { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2.display { font-size: clamp(2rem, 3.8vw, 3rem); }

.eyebrow {
  font-family: var(--fmf-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fm-muted);
}
.eyebrow.acc { color: var(--fm-cu-hi); }

.lede { color: var(--fm-muted); font-size: 1.02rem; max-width: 48ch; }

/* figures: lining + tabular so counters do not jitter while animating */
.stat-row .val, .metric .val, .agg .v, .gsum,
.calc-form__value, .calc-results__final-amount, .calc-results__profit-amount {
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--fmf-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: 13px 26px;
  border-radius: var(--fmr-pill);
  border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--fm-cu-grad); color: var(--fm-bg); box-shadow: var(--fms-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(227, 168, 120, .7); }
.btn-ghost {
  background: var(--fm-glass-2);
  color: var(--fm-tx-strong);
  border-color: var(--fm-line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--fm-cu); background: rgba(195, 129, 81, .12); }

/* ---- panel base ---- */
.panel {
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
  border: 1px solid var(--fm-line);
  border-radius: var(--fmr-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--fms-sh);
}

/* The burgundy velvet is the single featured surface, applied by .hero-right,
   .form-card.solo, .cap.feat, .gcard.mid, .cta-band and .calc-results__final.
   Ivory type and copper-hi accents on it; base copper is reserved for large
   marks because it sits just under 4.5:1 on the lightest velvet stop. */

section { position: relative; }
.sect { padding-block: 84px; }
.sect-head { max-width: 680px; margin-inline: auto; margin-block-end: 46px; text-align: center; }
.sect-head .eyebrow { display: block; margin-block-end: 14px; }
.sect-head p { color: var(--fm-muted); margin-block-start: 14px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--fm-nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, .74);
  backdrop-filter: blur(18px);
  border-block-end: 1px solid var(--fm-line-soft);
}
.nav-in {
  width: 100%;
  max-width: var(--fm-mw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Brand: one word, one colour, one weight — the logo wordmark is uppercase and
   widely tracked, so the HTML wordmark echoes it. Never split "Fluxmey". */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fmf-body);
  font-weight: 600;
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--fm-cu-hi);
}
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { white-space: nowrap; }

.menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.menu a { font-size: .88rem; color: var(--fm-muted); transition: color .2s; }
.menu a:hover, .menu a.on { color: var(--fm-tx-strong); }
.menu a.on:not(.btn) { box-shadow: inset 0 -1px 0 var(--fm-cu); }
.menu .btn { padding: 9px 20px; font-size: .84rem; }
.menu a.btn-primary { color: var(--fm-bg); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.burger span { width: 22px; height: 1.6px; background: var(--fm-tx); border-radius: 2px; transition: .3s; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-block: 1px solid var(--fm-line-soft);
  background: rgba(245, 237, 228, .012);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 46px; padding-block: 11px; will-change: transform; }
.tk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--fmf-mono);
  font-size: .74rem;
  color: var(--fm-muted);
}
.tk b { color: var(--fm-tx-strong); font-weight: 500; }
.tk .px { color: var(--fm-tx); }
.tk .up { color: #7fd1a0; }
.tk .down { color: #ec8a93; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fm-cu);
  box-shadow: 0 0 10px var(--fm-cu);
  animation: fmPulse 1.8s ease-in-out infinite;
}
@keyframes fmPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================================================
   HERO — onyx | burgundy velvet
   ============================================================ */
.hero { padding-block: 56px 60px; }
.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: var(--fmr-xl);
  overflow: hidden;
  border: 1px solid var(--fm-line);
  box-shadow: var(--fms-sh);
  position: relative;
}
.hero-left {
  background:
    radial-gradient(120% 120% at var(--fm-bloom-x) 0%, rgba(125, 34, 49, .3), transparent 60%),
    linear-gradient(var(--fm-hero-angle), var(--fm-onyx-2), var(--fm-onyx-1) 70%, #0c0a0a);
  padding: 54px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--fmf-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fm-cu-hi);
  padding: 7px 14px;
  border: 1px solid rgba(195, 129, 81, .34);
  border-radius: var(--fmr-pill);
  background: rgba(195, 129, 81, .08);
  margin-block-end: 24px;
}
.hero-chip svg { width: 13px; height: 13px; }
.hero h1 { margin-block-end: 20px; }
.hero-left .lede { margin-block-end: 32px; font-size: 1.05rem; }

.stat-rows { display: flex; flex-direction: column; }
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-block-start: 1px solid var(--fm-line-soft);
}
.stat-row:last-child { border-block-end: 1px solid var(--fm-line-soft); }
.stat-row .val {
  font-family: var(--fmf-disp);
  font-weight: 500;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  line-height: 1.1;
  color: var(--fm-tx-strong);
  white-space: nowrap;
}
.stat-row .lbl {
  font-family: var(--fmf-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fm-dim);
  text-align: end;
}

/* hero right — the velvet form inset */
.hero-right {
  background: var(--fm-velvet);
  color: var(--fm-tx-strong);
  padding: 40px 40px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-inline-start: 1px solid var(--fm-velvet-line);
}
.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 168, 120, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 90% at var(--fm-bloom-x) 0%, #000, transparent 70%);
}
.hero-right > * { position: relative; }

/* ---- registration form (lives on the velvet inset) ---- */
.form-card h2 { font-family: var(--fmf-disp); font-weight: 500; font-size: 1.75rem; line-height: 1.2; color: var(--fm-tx-strong); }
.form-card .note {
  font-family: var(--fmf-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fm-cu-hi);
  margin-block: 6px 18px;
}
.reg input[type="text"],
.reg input[type="email"],
.reg input[type="tel"] {
  width: 100%;
  background: var(--fm-velvet-field);
  border: 1px solid rgba(227, 168, 120, .26);
  border-radius: var(--fmr-sm);
  padding: 12px 14px;
  color: var(--fm-tx-strong);
  font-family: var(--fmf-body);
  font-size: .92rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.reg input::placeholder { color: rgba(245, 237, 228, .5); }
.reg input:focus { border-color: var(--fm-cu-hi); box-shadow: 0 0 0 3px rgba(195, 129, 81, .28); }
.reg form > div { margin-block-end: 10px; }
/* ---- phone field (intl-tel-input v25) ----------------------------------
   Lay the widget out as a flex row where the country selector is a real item,
   so nothing depends on the library's JS-measured padding-left (which races
   the async-loaded intl-tel-input stylesheet). The field chrome moves off the
   input and onto .iti so the selector and digits read as one control.

   This stylesheet is linked AFTER intlTelInput.min.css, so equal-specificity
   rules here win regardless of which file finishes downloading first. */
.iti {
  width: 100%;
  display: flex;
  align-items: stretch;
  background: var(--fm-velvet-field);
  border: 1px solid rgba(227, 168, 120, .26);
  border-radius: var(--fmr-sm);
  transition: border-color .2s, box-shadow .2s;
  --iti-arrow-color: #cbb9a9;
  --iti-hover-color: rgba(195, 129, 81, .16);
  --iti-border-color: rgba(227, 168, 120, .26);
  --iti-dialcode-color: var(--fm-muted);
  --iti-dropdown-bg: #151011;
}
.iti:focus-within { border-color: var(--fm-cu-hi); box-shadow: 0 0 0 3px rgba(195, 129, 81, .28); }

.iti__country-container {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  border-inline-end: 1px solid rgba(227, 168, 120, .2);
}
.iti .iti__selected-country { color: var(--fm-tx-strong); background: none; }
.iti .iti__arrow { border-top-color: #cbb9a9; }
.iti .iti__arrow--up { border-bottom-color: #cbb9a9; }

/* !important is load-bearing: it overrides the inline padding-left the
   library writes on init and on every country change. */
.iti > input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  padding-inline: 14px !important;
}
.iti > input[type="tel"]:focus { box-shadow: none; }

/* dark country dropdown, matched to the velvet panel */
.iti .iti__dropdown-content {
  background-color: #151011;
  color: var(--fm-tx-strong);
  border: 1px solid rgba(227, 168, 120, .26);
  border-radius: var(--fmr-sm);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .9);
}
.iti .iti__search-input {
  background: #0e0b0b;
  color: var(--fm-tx-strong);
  border: none;
  border-block-end: 1px solid rgba(227, 168, 120, .2);
  padding: 10px 12px;
  font-family: var(--fmf-body);
  outline: none;
}
.iti .iti__search-input::placeholder { color: rgba(245, 237, 228, .5); }
.iti .iti__country.iti__highlight { background-color: rgba(195, 129, 81, .16); }
.iti .iti__dial-code { color: var(--fm-muted); }

#phone { direction: ltr; text-align: left; }

.phone-error {
  display: none;
  margin-block-start: 6px;
  font-size: .78rem;
  line-height: 1.6;
  color: #ffb4b4;
}
.phone-error.on { display: block; }

#submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--fmr-sm);
  background: var(--fm-cu-grad);
  color: var(--fm-bg);
  font-family: var(--fmf-body);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-block-start: 4px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 28px -12px rgba(195, 129, 81, .75);
}
#submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(227, 168, 120, .6); }
.form-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--fm-velvet-soft);
  margin-block-start: 14px;
}
.form-tip svg { width: 16px; height: 16px; color: var(--fm-cu-hi); flex-shrink: 0; }

.form-card .trust { margin-block-start: 22px; border-block-start: 1px solid rgba(227, 168, 120, .2); }
.trust-item { display: flex; align-items: center; gap: 13px; padding-block: 14px; border-block-end: 1px solid rgba(227, 168, 120, .16); }
.trust-item:last-child { border-block-end: none; }
.trust-ico {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(227, 168, 120, .1);
  border: 1px solid rgba(227, 168, 120, .26);
}
.trust-ico svg { width: 18px; height: 18px; color: var(--fm-cu-hi); }
.trust-item b { display: block; font-family: var(--fmf-body); font-weight: 600; font-size: .94rem; color: var(--fm-tx-strong); line-height: 1.4; }
.trust-item span { font-size: .76rem; color: var(--fm-velvet-soft); }

/* ============================================================
   VOICES (text testimonials)
   ============================================================ */
.voices-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice {
  display: flex;
  flex-direction: column;
  border-radius: var(--fmr-lg);
  border: 1px solid var(--fm-line);
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
  padding: 30px 28px;
  transition: transform .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.voice:hover { transform: translateY(-5px); border-color: rgba(195, 129, 81, .46); }
.voice::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--fm-grad);
  opacity: .7;
}
.voice-mark { width: 34px; height: 34px; color: var(--fm-cu); opacity: .45; margin-block-end: 14px; }
.voice-mark svg { width: 100%; height: 100%; }
.voice .stars { margin-block-end: 14px; }
.voice-qt {
  font-family: var(--fmf-disp);
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--fm-tx-strong);
  font-weight: 400;
  flex: 1;
  margin-block-end: 20px;
}
.voice-who { display: flex; align-items: center; gap: 13px; padding-block-start: 18px; border-block-start: 1px solid var(--fm-line-soft); }
.voice-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--fmf-body); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  color: var(--fm-bg); background: var(--fm-cu-grad);
}
.voice-name { font-family: var(--fmf-body); font-weight: 600; font-size: .96rem; color: var(--fm-tx-strong); }
.voice-loc { font-family: var(--fmf-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fm-cu-hi); }

.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; color: var(--fm-cu); }
.cap.feat .stars svg,
.gcard.mid .stars svg { color: var(--fm-cu-hi); }

/* ============================================================
   SPLIT (image + copy)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: var(--fmr-xl);
  overflow: hidden;
  border: 1px solid var(--fm-line-soft);
}
.split-media { position: relative; min-height: 380px; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--fm-copy-angle), transparent, rgba(59, 15, 24, .38));
}
.split-copy {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(var(--fm-copy-angle), var(--fm-onyx-2), var(--fm-onyx-1));
}
.split-copy .eyebrow { margin-block-end: 14px; }
.split-copy h2 { margin-block-end: 18px; }
.split-copy p { color: var(--fm-muted); margin-block-end: 14px; }
.split-copy p:last-child { margin-block-end: 0; }
.split.reverse .split-media { order: 2; }

/* ============================================================
   CAPABILITY CARDS
   ============================================================ */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap {
  border-radius: var(--fmr-lg);
  border: 1px solid var(--fm-line);
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
  padding: 30px 28px;
  transition: transform .3s, border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.cap:hover { transform: translateY(-4px); border-color: rgba(195, 129, 81, .44); }
.cap.feat {
  background: var(--fm-velvet);
  border-color: var(--fm-velvet-line);
  box-shadow: var(--fms-velvet);
}
.cap-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid var(--fm-line);
  background: rgba(195, 129, 81, .1);
  margin-block-end: 18px;
}
.cap.feat .cap-ico { background: rgba(227, 168, 120, .12); border-color: rgba(227, 168, 120, .3); }
.cap-ico svg { width: 22px; height: 22px; color: var(--fm-cu-hi); }
.cap h3 { font-size: 1.08rem; margin-block-end: 10px; }
.cap p { color: var(--fm-muted); font-size: .92rem; line-height: 1.8; }
.cap.feat p { color: var(--fm-velvet-soft); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--fm-line);
  border-radius: var(--fmr-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
}
.metric { padding: 34px 26px; text-align: center; border-inline-end: 1px solid var(--fm-line-soft); }
.metric:last-child { border-inline-end: none; }
.metric .val {
  font-family: var(--fmf-disp);
  font-weight: 500;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  color: var(--fm-tx-strong);
}
.metric .val b { font-weight: 500; color: var(--fm-cu-hi); }
.metric .lbl { font-family: var(--fmf-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-dim); margin-block-start: 8px; }

.agg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-block-end: 30px; }
.agg { border: 1px solid var(--fm-line); border-radius: var(--fmr-md); padding: 26px 24px; background: var(--fm-glass); }
.agg .v { font-family: var(--fmf-disp); font-weight: 500; font-size: 2.5rem; line-height: 1.15; color: var(--fm-tx-strong); }
.agg .v b { color: var(--fm-cu-hi); font-weight: 500; }
.agg .l { color: var(--fm-muted); font-size: .88rem; margin-block-start: 6px; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step {
  border: 1px solid var(--fm-line);
  border-radius: var(--fmr-lg);
  padding: 28px 26px;
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
  position: relative;
}
.step-dot {
  position: absolute;
  inset-block-start: 28px;
  inset-inline-end: 26px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--fm-grad); box-shadow: var(--fms-glow);
}
.step .num { font-family: var(--fmf-mono); font-size: .72rem; letter-spacing: .12em; color: var(--fm-cu-hi); }
.step h3 { font-size: 1.04rem; margin-block: 8px; }
.step p { color: var(--fm-muted); font-size: .9rem; }

/* ============================================================
   RESULTS CAROUSEL
   ============================================================ */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.6, .05, .1, 1); }
.gcard {
  flex: 0 0 calc((100% - 40px) / 3);
  border-radius: var(--fmr-lg);
  border: 1px solid var(--fm-line);
  background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass));
  padding: 30px 28px;
  transition: border-color .3s, transform .3s;
}
.gcard.mid {
  background: var(--fm-velvet);
  border-color: var(--fm-velvet-line);
  box-shadow: var(--fms-velvet);
}
.gcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-end: 16px; }
.gbadge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fmf-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fm-cu-hi);
  padding: 5px 10px;
  border-radius: var(--fmr-pill);
  border: 1px solid var(--fm-line);
  background: rgba(195, 129, 81, .1);
}
.gcard.mid .gbadge { border-color: rgba(227, 168, 120, .32); background: rgba(227, 168, 120, .1); }
.gbadge svg { width: 11px; height: 11px; }
.gcard .tagline { font-family: var(--fmf-mono); font-size: .64rem; color: var(--fm-dim); }
.gcard.mid .tagline { color: var(--fm-velvet-soft); }
.gsum { font-family: var(--fmf-disp); font-weight: 500; font-size: 2.8rem; line-height: 1.15; color: var(--fm-tx-strong); }
.gper { font-family: var(--fmf-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fm-cu-hi); margin-block-end: 14px; }
.gspark { width: 100%; height: 40px; display: block; margin-block-end: 16px; }
.gspark .ln { fill: none; stroke: var(--fm-cu); stroke-width: 2; }
.gcard.mid .gspark .ln { stroke: var(--fm-cu-hi); }
.gqt { font-size: .92rem; color: var(--fm-muted); line-height: 1.8; margin-block-end: 18px; }
.gcard.mid .gqt { color: var(--fm-velvet-soft); }
.gwho { display: flex; align-items: center; gap: 12px; }
.gav {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--fmf-body); font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  color: var(--fm-bg); background: var(--fm-cu-grad);
}
.gnm { font-family: var(--fmf-body); font-weight: 600; font-size: .94rem; color: var(--fm-tx-strong); }
.gcity { font-family: var(--fmf-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fm-dim); }
.gcard.mid .gcity { color: var(--fm-velvet-soft); }

.gcta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-block-start: 20px;
  padding: 12px 20px;
  font-family: var(--fmf-body); font-weight: 600; font-size: .9rem;
  border-radius: var(--fmr-pill);
  border: 1px solid transparent;
  background: var(--fm-cu-grad);
  color: var(--fm-bg);
  box-shadow: var(--fms-glow);
  transition: transform .25s, box-shadow .25s;
}
.gcta svg { width: 15px; height: 15px; }
.gcta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(227, 168, 120, .7); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-block-start: 32px; }
.cbtn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fm-glass-2);
  border: 1px solid var(--fm-line);
  color: var(--fm-tx-strong);
  transition: .25s;
}
.cbtn:hover { border-color: var(--fm-cu); background: rgba(195, 129, 81, .14); }
.cbtn svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(245, 237, 228, .16); border: none; transition: .25s; padding: 0; }
.dot.on { width: 26px; border-radius: var(--fmr-pill); background: var(--fm-grad); }

.disclaimer { font-size: .78rem; color: var(--fm-dim); text-align: center; max-width: 760px; margin-inline: auto; margin-block-start: 30px; line-height: 1.8; }

/* ============================================================
   CTA
   ============================================================ */
.cta-band {
  border-radius: var(--fmr-xl);
  padding: 64px 40px;
  text-align: center;
  background: var(--fm-velvet);
  border: 1px solid var(--fm-velvet-line);
  box-shadow: var(--fms-velvet);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 168, 120, .10) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(90% 90% at 50% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-block-end: 14px; }
.cta-band p { color: var(--fm-velvet-soft); margin-inline: auto; margin-block-end: 28px; max-width: 48ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-block-start: 1px solid var(--fm-line-soft); padding-block-start: 68px; margin-block-start: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .brand { margin-block-end: 16px; }
.footer-brand p { color: var(--fm-muted); font-size: .9rem; max-width: 38ch; }
.footer-col h2 { font-family: var(--fmf-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fm-dim); font-weight: 500; line-height: 1.6; margin-block-end: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--fm-muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--fm-cu-hi); }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border-block-start: 1px solid var(--fm-line-soft);
  margin-block-start: 48px; padding-block: 22px;
  font-size: .82rem; color: var(--fm-dim);
}
.footer-bar .lnk { display: flex; gap: 20px; }
.footer-bar a:hover { color: var(--fm-cu-hi); }

.risk { background: rgba(245, 237, 228, .012); border-block-start: 1px solid var(--fm-line-soft); padding-block: 22px; }
.risk p { font-size: .76rem; color: var(--fm-dim); line-height: 1.8; max-width: var(--fm-mw); }

/* ============================================================
   REVEAL
   ============================================================ */
.fm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fm-reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fm-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   INNER PAGE COMPONENTS
   ============================================================ */
.page-head { text-align: center; max-width: 800px; margin-inline: auto; padding-block: 20px 8px; }
.page-head .eyebrow { display: block; margin-block-end: 14px; }
.page-head p { color: var(--fm-muted); margin-inline: auto; margin-block-start: 16px; max-width: 62ch; }
.page-head .updated { font-family: var(--fmf-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fm-dim); margin-block-start: 14px; }

/* Capped at the photos' intrinsic 800px width so the image fills the frame
   exactly. The frame is height-agnostic: images keep their own aspect ratio. */
.media-frame { max-width: 800px; margin-inline: auto; border-radius: var(--fmr-xl); overflow: hidden; border: 1px solid var(--fm-line); box-shadow: var(--fms-sh); position: relative; }
.media-frame img { width: 100%; height: auto; }
.media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--fm-copy-angle), transparent, rgba(59, 15, 24, .3)); pointer-events: none; }

.city-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.city-chip { font-family: var(--fmf-mono); font-size: .74rem; letter-spacing: .08em; color: var(--fm-muted); padding: 9px 20px; border-radius: var(--fmr-pill); border: 1px solid var(--fm-line); background: var(--fm-glass); }

.cap.team { text-align: center; }
.cap.team .role { font-family: var(--fmf-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-cu-hi); display: block; margin-block-end: 10px; }
.cap.team .av {
  width: 58px; height: 58px; border-radius: 50%;
  margin-inline: auto; margin-block-end: 16px;
  display: grid; place-items: center;
  font-family: var(--fmf-body); font-weight: 700; letter-spacing: .04em; color: var(--fm-bg);
  background: var(--fm-cu-grad); box-shadow: var(--fms-glow);
}

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--fmr-lg); border: 1px solid var(--fm-line); background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass)); padding: 28px 26px; transition: transform .3s, border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: rgba(195, 129, 81, .44); }
.post-tag { align-self: flex-start; font-family: var(--fmf-mono); font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: var(--fmr-pill); margin-block-end: 14px; border: 1px solid var(--fm-line); }
.post-tag.ai { color: #e7c9cf; background: rgba(125, 34, 49, .22); border-color: rgba(176, 72, 90, .4); }
.post-tag.crypto { color: var(--fm-cu-hi); background: rgba(195, 129, 81, .1); border-color: rgba(195, 129, 81, .3); }
.post h3 { font-size: 1.08rem; line-height: 1.5; margin-block-end: 10px; }
.post p { color: var(--fm-muted); font-size: .92rem; line-height: 1.8; flex: 1; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--fm-line-soft); font-family: var(--fmf-mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; color: var(--fm-dim); }

/* FAQ accordion — WAI-ARIA APG pattern: the button lives INSIDE the heading,
   so the document outline and the disclosure semantics are both correct. */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--fm-line); border-radius: var(--fmr-md); background: linear-gradient(180deg, var(--fm-glass-2), var(--fm-glass)); overflow: hidden; transition: border-color .3s; }
.faq-item:hover { border-color: rgba(195, 129, 81, .4); }
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%;
  padding: 20px 24px;
  background: none; border: none;
  font-family: var(--fmf-body); font-size: 1rem; font-weight: 500;
  color: var(--fm-tx-strong);
  text-align: start;
  line-height: 1.6;
}
.faq-q:focus-visible { outline: 2px solid var(--fm-cu-hi); outline-offset: -3px; }
.faq-q svg { width: 18px; height: 18px; color: var(--fm-cu-hi); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 520px; }
.faq-a p { padding: 0 24px 20px; color: var(--fm-muted); font-size: .94rem; line-height: 1.9; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.info-col { display: flex; flex-direction: column; gap: 20px; }
.info-col > p { color: var(--fm-muted); }
.info-media { border-radius: var(--fmr-lg); overflow: hidden; border: 1px solid var(--fm-line); }
.info-row { display: flex; align-items: flex-start; gap: 14px; }
.info-ico { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--fm-line); background: rgba(195, 129, 81, .1); }
.info-ico svg { width: 20px; height: 20px; color: var(--fm-cu-hi); }
.info-row h3 { font-size: 1rem; margin-block-end: 3px; }
.info-row p { color: var(--fm-muted); font-size: .9rem; }
.reg-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.reg-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--fm-muted); font-size: .95rem; }
.reg-list svg { width: 20px; height: 20px; color: var(--fm-cu-hi); flex-shrink: 0; margin-block-start: 4px; }

/* No overflow:hidden here — it would clip the country dropdown, which is
   absolutely positioned inside the form. The dot layer takes the corner
   radius itself instead. */
.form-card.solo {
  background: var(--fm-velvet);
  border: 1px solid var(--fm-velvet-line);
  border-radius: var(--fmr-lg);
  box-shadow: var(--fms-velvet);
  color: var(--fm-tx-strong);
  padding: 36px 34px;
  position: relative;
}
.form-card.solo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(227, 168, 120, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 90% at var(--fm-bloom-x) 0%, #000, transparent 70%);
}
.form-card.solo > * { position: relative; }

.legal { max-width: 840px; margin-inline: auto; }
.legal h2 { font-family: var(--fmf-disp); font-size: 1.6rem; font-weight: 500; color: var(--fm-tx-strong); margin-block: 34px 12px; }
.legal h2:first-child { margin-block-start: 0; }
.legal p { color: var(--fm-muted); font-size: .95rem; line-height: 1.95; margin-block-end: 12px; }
.legal ul { color: var(--fm-muted); font-size: .95rem; line-height: 1.95; margin-block-end: 12px; margin-inline-start: 20px; }
.legal a { color: var(--fm-cu-hi); }

/* standalone centred notice (thanks / 404) */
.notice { max-width: 620px; margin-inline: auto; text-align: center; padding-block: 60px; }
.notice .ico { width: 76px; height: 76px; margin-inline: auto; margin-block-end: 26px; display: grid; place-items: center; border-radius: 22px; background: rgba(195, 129, 81, .1); border: 1px solid var(--fm-line); }
.notice .ico svg { width: 34px; height: 34px; color: var(--fm-cu-hi); }
.notice p { color: var(--fm-muted); margin-block-start: 16px; }
.notice .btn { margin-block-start: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .menu { gap: 18px; }
}

@media (max-width: 960px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-left { padding: 44px 34px; }
  .hero-right { border-inline-start: none; border-block-start: 1px solid var(--fm-velvet-line); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 260px; }
  .voices-row { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-inline-end: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-block-end: 1px solid var(--fm-line-soft); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .agg-row { grid-template-columns: 1fr; }
  .gcard { flex: 0 0 calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .menu { display: none; }
  .burger { display: flex; }
  .nav.open .menu {
    display: flex;
    position: absolute;
    inset-block-start: var(--fm-nav-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 24px;
    background: rgba(10, 10, 10, .97);
    backdrop-filter: blur(18px);
    border-block-end: 1px solid var(--fm-line);
  }
  .nav.open .menu a { padding-block: 10px; font-size: .96rem; }
  .nav.open .menu a.on:not(.btn) { box-shadow: none; color: var(--fm-cu-hi); }
  .nav.open .menu .btn { justify-content: center; margin-block-start: 8px; }
}

@media (max-width: 680px) {
  :root { --fm-nav-h: 68px; }
  .sect { padding-block: 60px; }
  .hero-left { padding: 38px 26px; }
  .hero-right { padding: 30px 26px; }
  .caps-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-inline-end: none; border-block-end: 1px solid var(--fm-line-soft); }
  .metric:last-child { border-block-end: none; }
  .steps { grid-template-columns: 1fr; }
  .gcard { flex: 0 0 100%; }
  .split-copy { padding: 38px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bar { flex-direction: column; gap: 12px; text-align: center; }
  .cta-band { padding: 48px 26px; }
  .form-card.solo { padding: 30px 24px; }
  .brand { letter-spacing: .2em; }
}
