/* ==========================================================================
   Caldora Virexon — Bold colorful startup / neo-editorial pop design system
   Cream #fdf6ec · ink #141210 · orange #ff6b35 · teal #0f766e
   Chunky 2px borders, hard offset ink shadows, sticker badges,
   oversized Archivo Black display type. Single layer (no second CSS).
   ========================================================================== */

:root {
  /* palette */
  --bg: #fdf6ec;
  --bg-band: #f9edd9;
  --surface: #fffdf8;
  --ink: #141210;
  --text: #141210;
  --text-muted: #5d5348;
  --accent: #ff6b35;
  --accent-deep: #dd4a17;
  --accent-tint: #ffe3d3;
  --teal: #0f766e;
  --teal-deep: #0a544e;
  --teal-tint: #d7ece9;
  --marker: #ffd977;
  --danger: #c2342a;
  --ok: #0f766e;

  /* shape + depth */
  --line: 2px solid var(--ink);
  --line-soft: 2px solid rgba(20, 18, 16, 0.16);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-accent: 6px 6px 0 var(--accent);

  /* type */
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---- base ---------------------------------------------------------------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
img { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; /* Archivo Black ships a single 400 weight */
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }

p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
strong { font-weight: 700; }
ul { padding-left: 1.2em; }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -56px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

.site-main { min-height: 60vh; }

/* scroll reveal (main.js adds .is-visible) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-visible, html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- logo lockup --------------------------------------------------------- */

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border: var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.logo__word {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
}

/* ---- header --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--bg);
  border-bottom: var(--line);
  transition: box-shadow 180ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 0 rgba(20, 18, 16, 0.9); }

.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 76px; padding-top: 10px; padding-bottom: 10px;
}

.header__nav { margin-right: auto; }

.nav { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item--group { display: inline-flex; }

.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  background: var(--surface);
  border: var(--line); border-radius: 999px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease);
}
.nav__trigger:hover { background: var(--accent-tint); box-shadow: var(--shadow-sm); transform: translate(-1px, -1px); }
.nav__trigger[aria-expanded="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); transform: translate(-1px, -1px); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 30;
  min-width: 236px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s linear 150ms;
}
.nav__item.is-open > .nav__menu,
.nav__item:focus-within > .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.nav__menu-link {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav__menu-link:hover { background: var(--accent); color: #fff; }

.icon { width: 20px; height: 20px; }
.icon--caret { width: 14px; height: 14px; transition: transform 160ms var(--ease); }
.nav__trigger[aria-expanded="true"] .icon--caret { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-switch__item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; font-size: 0.82rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.lang-switch__item:hover { color: var(--ink); background: var(--accent-tint); }
.lang-switch__item.is-current { background: var(--ink); color: #fff; }
.lang-switch__item img { border-radius: 3px; }

.nav-burger {
  display: none; position: relative; z-index: 140;
  width: 46px; height: 46px; padding: 0;
  background: var(--ink); color: var(--bg);
  border: var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.nav-burger .icon--burger-close { display: none; }
body.nav-open .nav-burger .icon--burger-close { display: block; }
body.nav-open .nav-burger .icon--burger-open { display: none; }

/* mobile nav (<1024px): full-height panel, .is-open slides it in */
@media (max-width: 1023px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .header__nav {
    position: fixed; inset: 76px 0 0 0; z-index: 130;
    margin: 0; padding: 20px 24px 40px;
    background: var(--bg);
    border-top: var(--line);
    overflow-y: auto;
    transform: translateX(102%); transition: transform 260ms var(--ease);
  }
  .header__nav.is-open { transform: none; }
  .nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav__item--group { display: block; }
  .nav__link { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); padding: 13px 16px; }
  .nav__menu {
    position: static; min-width: 0; margin-top: 8px;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-style: dashed; background: transparent;
    display: none;
  }
  .nav__item.is-open > .nav__menu { display: block; }
}

/* ---- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  font-family: var(--font); font-size: 0.98rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  border: var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease), color 140ms var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); color: var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--secondary { background: var(--teal); color: #fff; }
.btn--secondary:hover { background: var(--teal-deep); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { display: flex; width: 100%; }

/* ---- sections --------------------------------------------------------------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--band { background: var(--bg-band); border-top: var(--line); border-bottom: var(--line); }
.section--tint { background: var(--teal-tint); border-top: var(--line); border-bottom: var(--line); }

.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 46px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { display: inline-block; }
.section__head h2::after {
  content: ""; display: block; width: 64px; height: 8px;
  margin-top: 12px; border-radius: 4px;
  background: var(--accent); border: var(--line);
}
.section__head--center h2::after { margin-left: auto; margin-right: auto; }
.section__head p { color: var(--text-muted); font-size: 1.06rem; margin-top: 10px; }

/* ---- hero (shared shell) ------------------------------------------------------ */

.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0; }
.hero--page { background: var(--bg-band); border-bottom: var(--line); }

/* decorative pattern layer (hero__bg is transformed by main.js parallax) */
.hero__bg {
  position: absolute; inset: -12%;
  background:
    radial-gradient(rgba(20, 18, 16, 0.08) 1.6px, transparent 1.7px) 0 0 / 26px 26px,
    linear-gradient(115deg, transparent 0 68%, rgba(255, 107, 53, 0.14) 68% 72%, transparent 72% 78%, rgba(15, 118, 110, 0.16) 78% 82%, transparent 82%);
  pointer-events: none;
}
.hero--page .hero__bg { inset: 0; }
.hero > .container { position: relative; z-index: 1; }

/* motif svg (hero.js animates these nodes) */
.hero__motif {
  position: absolute; right: -40px; top: 0; width: 480px; max-width: 44vw;
  color: var(--accent); opacity: 0.5; pointer-events: none;
}
.hero__motif .hero-node, .hero__motif .hero-candle { fill: var(--teal); }
.hero__motif .hero-link { stroke: var(--ink); }
.hero__motif .hero-trend { stroke: var(--accent); }

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.hero__inner--split {
  grid-template-areas: "title form" "rest form"; row-gap: 24px;
}
.hero__inner--split .hero__title-group { grid-area: title; }
.hero__inner--split .hero__rest-group { grid-area: rest; }
.hero__inner--split .hero__form-col { grid-area: form; }

.hero__eyebrow { margin: 0 0 18px; }
.hero__eyebrow, .hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: var(--line); border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.hero__badge { font-size: 0.8rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.hero__badge:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-sm); background: var(--accent-tint); color: var(--ink); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }

.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-muted); max-width: 54ch; }

.hero__form-col { position: relative; }

.hero__places { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; font-size: 0.92rem; color: var(--text-muted); }
.hero__country {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; background: var(--surface);
  border: var(--line); border-radius: 999px;
  font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero__flag { border-radius: 3px; border: 1px solid rgba(20, 18, 16, 0.25); }

.hero-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none;
  border-bottom: 3px solid var(--accent);
}
.hero-link:hover { color: var(--ink); border-bottom-color: var(--teal); }
.hero-link .icon { width: 18px; height: 18px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero__details { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--text-muted); font-size: 0.94rem; }
.hero__price { font-family: var(--font-display); color: var(--ink); }
.hero__price span, .hero__price em { font-family: var(--font); font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--text-muted); }
.hero__text { min-width: 0; }
.hero__brand { display: inline-block; color: var(--accent-deep); }
.footer__brand { min-width: 0; }

/* ---- home hero: neo-editorial pop ------------------------------------------ */

.hero--home, .hero--crypto { padding: clamp(52px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }

.hero__copy { position: relative; }

/* brand sticker sitting above the headline */
.hero-sticker {
  display: inline-block; padding: 8px 16px; margin-bottom: 22px;
  background: var(--teal); color: #fff;
  border: var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero--home h1.hero-headline {
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.hero-headline .hl {
  display: inline-block; padding: 0 0.14em;
  background: linear-gradient(to top, var(--marker) 38%, transparent 38%);
  border-radius: 2px;
}
.hero-headline .hl--teal { color: var(--teal); }

.hero__benefits { display: grid; gap: 14px; margin: 26px 0; max-width: 520px; }
.hero__benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero__benefit-icon { width: 26px; height: 26px; flex: 0 0 26px; margin-top: 2px; color: var(--teal); }
.hero__benefit strong { display: block; font-size: 0.98rem; }
.hero__benefit small { display: block; color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; }

/* form card: bold bordered, slight tilt, hard ink shadow, sticker tab */
.form-card {
  position: relative;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px);
  transform: rotate(1.2deg);
}
.form-card::before {
  content: ""; position: absolute; top: -14px; left: 26px;
  width: 74px; height: 26px;
  background: var(--accent); border: var(--line); border-radius: 6px;
  transform: rotate(-4deg);
}
.form-card .form-heading { margin-top: 6px; }

/* ---- form block (formFactory wrapper) ----------------------------------------- */

.form-heading {
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--ink); margin: 0 0 14px;
}
.form-block { position: relative; z-index: 1; }
.form-block__intro { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; }
.form-block form { margin: 0; }
.form-block label { display: block; font-size: 0.86rem; font-weight: 700; margin: 12px 0 6px; color: var(--ink); }
.form-block input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="range"]),
.form-block select, .form-block textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 0.96rem; color: var(--ink);
  background: var(--bg);
  border: var(--line); border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 rgba(20, 18, 16, 0.18);
}
.form-block input:focus, .form-block select:focus, .form-block textarea:focus {
  outline: 3px solid var(--accent); outline-offset: 1px;
}
#registration-form input[type="submit"],
.form-block button[type="submit"], .form-block .bf-submit {
  width: 100%; margin-top: 18px; padding: 15px 22px;
  font: inherit; font-size: 1rem; font-weight: 700;
  color: #fff; background: var(--accent);
  border: var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease);
}
#registration-form input[type="submit"]:hover,
.form-block button[type="submit"]:hover, .form-block .bf-submit:hover {
  background: var(--accent-deep); transform: translate(-2px, -2px); box-shadow: var(--shadow-md);
}
.form-legal { font-size: 0.78rem; color: var(--text-muted); margin: 14px 0 0; line-height: 1.5; }
.form-legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form-note {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-muted); margin-top: 14px;
}
.form-note .icon { width: 18px; height: 18px; color: var(--teal); flex: 0 0 18px; margin-top: 3px; }

/* ---- icon badges / cards --------------------------------------------------------- */

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 16px;
  color: #fff; background: var(--teal);
  border: var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--sm { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; }
.icon-badge--sm .icon { width: 20px; height: 20px; }
.card:nth-child(2n) .icon-badge { background: var(--accent); transform: rotate(-3deg); border-radius: 50%; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  display: block; padding: 24px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
a.card { text-decoration: none; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card--flat { box-shadow: var(--shadow-sm); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* ---- steps ------------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 22px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  counter-increment: step;
}
.step:nth-child(even) { transform: rotate(0.6deg); }
.step:nth-child(odd) { transform: rotate(-0.5deg); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  background: var(--accent); color: #fff;
  border: var(--line); border-radius: 50%;
  font-family: var(--font-display); font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.step__num::before { content: counter(step); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---- data tables ------------------------------------------------------------------ */

.table-wrap {
  overflow-x: auto; padding: 6px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
table.data th {
  font-family: var(--font-display); font-weight: 400;
  text-align: left; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 16px;
  background: var(--ink); color: var(--bg);
}
table.data td { padding: 13px 16px; border-top: 2px solid rgba(20, 18, 16, 0.12); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: rgba(255, 107, 53, 0.06); }
td.tick, td.cross {
  font-family: var(--font-display); font-size: 1.05rem; text-align: center; width: 90px;
}
td.tick { color: var(--teal); }
td.cross { color: var(--danger); }

/* ---- fact list ------------------------------------------------------------------ */

.fact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.fact-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
}
.fact-list .icon { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; color: var(--teal); }
.fact-list strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.fact-list a { color: var(--teal); }

/* ---- FAQ ------------------------------------------------------------------ */

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon--caret { flex: 0 0 14px; transition: transform 160ms var(--ease); color: var(--accent-deep); }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item[open] summary .icon--caret { transform: rotate(180deg); }
.faq-item__a { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.96rem; }
.faq-item__a p { margin: 0; }

/* ---- reviews ------------------------------------------------------------------ */

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review {
  margin: 0; padding: 22px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.review:nth-child(3n) { background: var(--teal-tint); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__photo {
  width: 56px; height: 56px; border-radius: 50%;
  border: var(--line); object-fit: cover; background: var(--bg-band);
}
.review__name { font-family: var(--font-display); font-size: 0.98rem; }
.review__meta { font-size: 0.8rem; color: var(--text-muted); }
.review__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 0 0 14px;
}
.review__stats > div {
  padding: 8px 10px; text-align: center;
  border: var(--line); border-radius: var(--radius-sm);
  background: var(--bg);
}
.review__stats dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.review__stats dd { margin: 2px 0 0; font-weight: 700; font-size: 0.82rem; }
.review__text { margin: 0; font-size: 0.93rem; color: var(--text); }
.reviews-note { margin-top: 26px; font-size: 0.8rem; color: var(--text-muted); max-width: 72ch; }

/* ---- exchange logo strip --------------------------------------------------------- */

.exchange-strip { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.xlogos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.xlogo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: var(--surface);
  border: var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 0.95rem;
  letter-spacing: 0.04em; color: var(--ink);
}
.xlogo img { height: 34px; width: auto; }
.xlogo:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }

/* ---- company grid (two-column facts + cards) ------------------------------------ */

.company-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px); align-items: start;
}

/* ---- calculator ------------------------------------------------------------------ */

.calc-wrap { position: relative; }
.calc-canvas {
  display: block; width: 100%; height: 220px; margin-top: 34px;
  border: var(--line); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Override module/calculator/calculator.css for the light cream theme.
   --accent is also read by main.js for the canvas chart color. */
.calc-widget {
  --calc-accent: var(--accent);
  --calc-cta-bg: var(--accent);
  --calc-track: #e8dcc7;
  --calc-surface: var(--surface);
  --calc-title-color: var(--ink);
  --calc-subtitle-color: var(--text-muted);
  --calc-label-color: var(--ink);
  --calc-value-color: var(--ink);
  --calc-minmax-color: var(--text-muted);
  --calc-result-bg: var(--ink);
  --calc-result-title-color: var(--bg);
  --calc-result-value-color: #fff;
  --calc-result-label-color: rgba(253, 246, 236, 0.75);
  --calc-cta-text-color: #fff;
  --calc-skeleton-bg: #ece1cd;
  --calc-skeleton-shimmer: rgba(255, 255, 255, 0.55);
}
.calc-widget__title { font-family: var(--font-display); }
.calc-widget__result {
  border: var(--line) !important; border-radius: var(--radius) !important;
  box-shadow: var(--shadow-accent) !important;
}
.calc-widget__control {
  background: var(--surface);
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 18px;
}
.calc-widget__cta {
  border: var(--line) !important; border-radius: 999px !important;
  box-shadow: var(--shadow-sm) !important; font-weight: 700;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}
.calc-widget__cta:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md) !important; }
.calc-widget__disclaimer { color: var(--text-muted); font-size: 0.8rem; }

/* ---- breadcrumbs ------------------------------------------------------------------ */

.breadcrumbs { padding: 18px 24px 0; }
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.84rem;
}
.breadcrumbs__item a {
  color: var(--teal); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.breadcrumbs__item a:hover { color: var(--accent-deep); border-bottom-color: currentColor; }
.breadcrumbs__item [aria-current="page"] { color: var(--text-muted); font-weight: 600; }
.breadcrumbs__sep { color: var(--accent-deep); font-weight: 700; }

/* ---- prose / doc pages --------------------------------------------------------------- */

.doc-hero { padding-top: 8px; }
.doc-hero h1 { margin-bottom: 18px; }
.page-body { padding: clamp(36px, 5vw, 64px) 0; }
.prose { font-size: 1.02rem; }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-top: 1.8em;
  padding-left: 14px; border-left: 8px solid var(--accent);
}
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.2em 0; }
.prose th { text-align: left; padding: 10px 14px; background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 400; }
.prose td { padding: 10px 14px; border: 2px solid rgba(20, 18, 16, 0.14); }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 20px;
  background: var(--accent-tint);
  border: var(--line); border-left-width: 8px;
  border-radius: var(--radius-sm);
}

.map-embed {
  border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface);
}
.map-embed iframe { display: block; width: 100%; min-height: 320px; border: 0; }

/* ---- footer ------------------------------------------------------------------ */

.site-footer {
  background: var(--ink); color: #f4ead9;
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer__wordmark {
  margin: 0 0 clamp(32px, 5vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8.5vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244, 234, 217, 0.85);
  overflow-wrap: anywhere;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px; padding-bottom: 36px;
  border-bottom: 2px dashed rgba(244, 234, 217, 0.3);
}
.site-footer .logo__word { color: #f4ead9; }
.site-footer .logo__mark { background: var(--ink); border-color: #f4ead9; box-shadow: 3px 3px 0 var(--accent); }
.footer__tagline { margin: 16px 0 8px; font-size: 0.92rem; color: rgba(244, 234, 217, 0.8); }
.footer__contact { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--accent); }
.footer__contact a { color: #f4ead9; }
.footer__contact a:hover { color: var(--accent); }
.footer__head {
  font-family: var(--font-display); font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { color: rgba(244, 234, 217, 0.85); text-decoration: none; font-size: 0.92rem; }
.footer__col a:hover { color: var(--accent); text-decoration: underline; }
.footer__disclaimer { padding: 28px 0; border-bottom: 2px dashed rgba(244, 234, 217, 0.3); }
.footer__disclaimer p { font-size: 0.8rem; color: rgba(244, 234, 217, 0.65); line-height: 1.6; margin: 0; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 24px; font-size: 0.8rem; color: rgba(244, 234, 217, 0.65);
}
.footer__bottom p { margin: 0; }

/* ---- responsive ------------------------------------------------------------------ */

@media (max-width: 1023px) {
  .hero__inner, .hero__inner--split { grid-template-columns: 1fr; grid-template-areas: "title" "form" "rest"; row-gap: 26px; }
  .company-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__motif { opacity: 0.3; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header__inner { gap: 12px; }
  .lang-switch { display: none; }
  .logo__word { font-size: 0.82rem; }
  .header__cta { padding: 8px 12px; font-size: 0.8rem; }
  .form-card, .step:nth-child(even), .step:nth-child(odd) { transform: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; }
  .hero--home h1.hero-headline { font-size: clamp(2.3rem, 11vw, 3rem); }
  .calc-canvas { height: 160px; }
  .reviews-grid { grid-template-columns: 1fr; }
  table.data { min-width: 480px; }
}

@media (max-width: 430px) {
  .container { padding: 0 14px; }
  .hero-sticker { font-size: 0.78rem; }
  .review__stats { grid-template-columns: 1fr 1fr; }
  .xlogo { padding: 10px 14px; }
  .xlogo img { height: 26px; }
}

@media (min-width: 1440px) {
  :root { --container: 1280px; }
}
@media (min-width: 1920px) {
  :root { --container: 1360px; }
  body { font-size: 17px; }
}

/* linked hero benefit tiles (licenses / security) */
a.hero__benefit { text-decoration: none; color: inherit; }
a.hero__benefit:hover strong, a.hero__benefit:focus-visible strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
