/* ==========================================================================
   SabioTrade — dark emerald premium ("quiet wisdom"), animation-led profile
   Tokens: bg #0C1A16 · surface #12241E · surface-2 #182E26 · border #26433A
   text #EDF4F0 · muted #A9BFB6 · accent #D4B36A (champagne gold) · mint #7FD1AE
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/display-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0C1A16;
  --bg-deep: #091411;
  --surface: #12241E;
  --surface-2: #182E26;
  --border: #26433A;
  --text: #EDF4F0;
  --muted: #A9BFB6;
  --accent: #D4B36A;
  --accent-hover: #E3C785;
  --accent-tint: rgba(212, 179, 106, 0.13);
  --on-accent: #142823;
  --mint: #7FD1AE;
  --mint-tint: rgba(127, 209, 174, 0.12);
  --danger: #E2857B;
  --gold-line: rgba(212, 179, 106, 0.38);

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(3, 12, 9, 0.35);
  --shadow-md: 0 2px 6px rgba(3, 12, 9, 0.38), 0 10px 28px rgba(3, 12, 9, 0.42);
  --shadow-lg: 0 6px 16px rgba(3, 12, 9, 0.48), 0 22px 48px rgba(3, 12, 9, 0.5);

  --mesh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H0M.5 0v48' fill='none' stroke='%2326433A' stroke-opacity='.32'/%3E%3Ccircle cx='24' cy='24' r='1' fill='%2326433A' fill-opacity='.5'/%3E%3C/svg%3E");

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

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

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

html { scroll-behavior: smooth; }

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

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 0.55em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; color: var(--accent); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color 0.16s var(--ease); }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); font-weight: 700; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 16px; height: 16px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

::selection { background: var(--accent-tint); color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
    transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--gold-line); }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--full { width: 100%; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px;
  background: var(--accent-tint);
  border: 1px solid var(--gold-line);
  color: var(--accent);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--mint { background: var(--mint-tint); border-color: rgba(127, 209, 174, 0.35); color: var(--mint); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.9em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 26, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(9, 20, 17, 0.96); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-word i { font-style: normal; color: var(--accent); }

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

.nav-group__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-group__btn:hover, .nav-group.is-open > .nav-group__btn, .nav-group:focus-within > .nav-group__btn { color: var(--text); background: var(--surface-2); }
.nav-group.is-current > .nav-group__btn { color: var(--accent); }
.nav-caret { transition: transform 0.16s var(--ease); }
.nav-group:hover .nav-caret, .nav-group.is-open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  min-width: 264px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
  z-index: 110;
}
/* keep the last group's menu inside the viewport */
.nav-group:last-child .dropdown, .nav-group:last-child:hover .dropdown { left: auto; right: 0; }
.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown,
.nav-group.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 26px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-group:last-child .dropdown::before { left: auto; right: 26px; }

.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.93rem;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.dropdown__link:hover { background: var(--accent-tint); color: var(--accent-hover); }
.dropdown__link.is-active { color: var(--accent); }
.dropdown__link .icon { width: 15px; height: 15px; color: var(--muted); }
.dropdown__link:hover .icon { color: var(--accent); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline-flex; }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 14px clamp(16px, 4vw, 40px) 22px;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
}
.mobile-menu__group + .mobile-menu__group { margin-top: 6px; }
.mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 2px;
  cursor: pointer;
}
.mobile-menu__btn .icon { color: var(--muted); transition: transform 0.16s var(--ease); }
.mobile-menu__btn[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--accent); }
.mobile-menu__panel ul { list-style: none; margin: 0; padding: 6px 0 10px; }
.mobile-menu__link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.94rem;
}
.mobile-menu__link:hover, .mobile-menu__link.is-active { color: var(--accent); background: var(--accent-tint); }
.mobile-menu__cta { margin-top: 16px; }

/* ---------- beacon ticker (injected after </header>) ---------- */

.beacon-ticker { border-bottom: 1px solid var(--border); background: var(--bg-deep); }
.beacon-ticker__inner { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(24, 46, 38, 0.85), transparent 62%),
    radial-gradient(700px 420px at 8% 96%, rgba(127, 209, 174, 0.07), transparent 60%),
    linear-gradient(180deg, #0D1C17 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--border);
}
.hero__mesh {
  position: absolute;
  inset: -40px -40px 0;
  background-image: var(--mesh);
  background-size: 48px 48px;
  opacity: 0.5;
  will-change: transform;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-areas: "title form" "meta form";
  gap: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 88px) clamp(44px, 6vw, 72px);
}
.hero__title-block { grid-area: title; }
.hero__form { grid-area: form; }
.hero__meta-block { grid-area: meta; }
.hero__title-block { max-width: 640px; }
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 58ch; }
.hero__lead strong { color: var(--text); }

.hero__meta-block { margin-top: 22px; display: grid; gap: 18px; }

.flags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 0.93rem; }
.flags__caption { font-weight: 600; }
.flag { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.flag svg { width: 30px; height: 20px; border-radius: 3px; box-shadow: var(--shadow-sm); }

.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.icon-link:hover { border-color: var(--gold-line); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* the wise orbit — SVG motif right column behind/above the form */
.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.hero__orbit svg { position: absolute; right: -6%; top: 2%; width: min(56vw, 760px); height: auto; opacity: 0.9; }

.hero__form { position: relative; z-index: 2; }

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

.form-block {
  background: linear-gradient(180deg, rgba(18, 36, 30, 0.66), rgba(18, 36, 30, 0.9));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.6vw, 30px);
}
.form-block__heading { font-size: 1.22rem; margin-bottom: 0.2em; }
.form-block__intro { color: var(--muted); font-size: 0.93rem; margin-bottom: 1em; }
.form-block__card { margin-top: 12px; }
.form-legal { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-manager {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--mint);
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

/* beacon formFactory fields */
.beacon-form { color: var(--text); }
.beacon-form__row { margin-bottom: 12px; }
.beacon-form__label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.beacon-form__input {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.97rem;
  font-family: var(--font-body);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.beacon-form__input::placeholder { color: rgba(169, 191, 182, 0.55); }
.beacon-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.beacon-form__submit {
  width: 100%;
  margin-top: 6px;
  background: var(--beacon-accent, var(--accent));
  color: var(--beacon-on-accent, var(--on-accent));
  border: none;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: filter 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.beacon-form__submit:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.beacon-form__submit:active { transform: translateY(0); }

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

.section { padding-block: clamp(44px, 6vw, 76px); position: relative; }
.section + .section { border-top: 1px solid var(--border); }
.section--tint {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(24, 46, 38, 0.55), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--mesh { background-image: var(--mesh); background-size: 48px 48px; }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.section-head--split > div { max-width: 660px; }

/* decorative motif layers */
.motif-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.motif-layer svg { position: absolute; opacity: 0.5; }

/* ---------- exchange chips ---------- */

.exchange-strip {
  padding-block: 30px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(800px 260px at 50% 0%, rgba(24, 46, 38, 0.5), transparent 70%),
    var(--bg-deep);
}
.exchange-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.exchange-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.exchange-chip:hover { color: var(--text); border-color: var(--gold-line); transform: translateY(-2px); }
.exchange-chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-tint);
}
.exchange-strip__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.87rem;
  max-width: 640px;
  margin: 16px auto 0;
}

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

.calc-section { overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: clamp(20px, 3vw, 44px); align-items: start; }
.calc-donut { position: relative; min-height: 210px; display: flex; align-items: center; justify-content: center; }
.calc-donut svg { width: 210px; height: 210px; }
.calc-donut__label {
  position: absolute;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 110px;
  line-height: 1.4;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 20px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- comparison table ---------- */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.95rem; min-width: 560px; }
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td, tbody th { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(24, 46, 38, 0.35); }
tbody th { font-weight: 600; color: var(--text); }
tbody td { color: var(--muted); }
.tick-yes { color: var(--mint); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.tick-no { color: var(--danger); display: inline-flex; align-items: center; gap: 7px; }
.tick-yes .icon, .tick-no .icon { width: 18px; height: 18px; }
.col-brand { color: var(--accent); font-weight: 700; }

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cards-grid--wide { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }

/* ---------- security cards ---------- */

.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

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

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-card__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-line);
  flex: none;
}
.review-card__name { font-family: var(--font-display); font-weight: 700; margin: 0; font-size: 1rem; }
.review-card__role { color: var(--muted); font-size: 0.85rem; margin: 0; }
.review-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.review-card__stats span {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
}
.review-card__stats b { color: var(--mint); font-weight: 700; }
.review-card__quote { color: var(--text); font-size: 0.95rem; margin: 0; flex: 1; }
.reviews-note { color: var(--muted); font-size: 0.83rem; margin-top: 18px; max-width: 720px; }

/* ---------- company block ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.company-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.company-facts li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); margin: 0; }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-facts b { color: var(--text); display: block; font-size: 0.88rem; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.company-link:hover { transform: translateY(-3px); border-color: var(--gold-line); color: var(--text); box-shadow: var(--shadow-md); }
.company-link span { color: var(--muted); font-weight: 400; font-size: 0.83rem; }

/* ---------- advantages ---------- */

.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }

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

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.16s var(--ease);
}
.faq-item.is-open { border-color: var(--gold-line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  text-align: left;
  padding: 17px 20px;
  cursor: pointer;
}
.faq-q .icon { color: var(--accent); flex: none; transition: transform 0.18s var(--ease); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px; color: var(--muted); }
.faq-a p { margin: 0 0 16px; font-size: 0.96rem; }
.faq-a p:last-child { margin-bottom: 20px; }
.js .faq-list .faq-a { max-height: 0; overflow: hidden; padding-block: 0; transition: max-height 0.28s var(--ease), padding 0.28s var(--ease); }
.js .faq-item.is-open .faq-a { max-height: 640px; padding-block: 0 6px; }

/* ---------- breadcrumbs / page hero ---------- */

.breadcrumbs {
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumbs .container { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 11px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(24, 46, 38, 0.8), transparent 62%),
    linear-gradient(180deg, #0D1C17 0%, var(--bg) 82%);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 64px);
}
.page-hero__copy { max-width: 640px; }
.page-hero__copy > p { color: var(--muted); font-size: 1.02rem; }
.page-hero__motif { position: absolute; inset: 0; pointer-events: none; }

.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose .table-wrap { margin: 1.2em 0; }

.notice-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
}
.notice-card .icon { color: var(--accent); margin-top: 2px; }

.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: var(--surface);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

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

.site-footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(24, 46, 38, 0.5), transparent 65%),
    var(--bg-deep);
  padding-top: clamp(40px, 5vw, 64px);
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 30px; }
.footer-tagline { color: var(--muted); font-size: 0.92rem; margin: 0; max-width: 420px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  padding-block: 26px;
  border-top: 1px solid var(--border);
}
.footer-col__title { font-size: 0.92rem; color: var(--accent); margin-bottom: 0.7em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-hover); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-block: 26px;
  color: var(--muted);
  font-size: 0.84rem;
  max-width: 980px;
}
.footer-disclaimer h2 { font-size: 0.95rem; color: var(--text); }
.footer-disclaimer p { margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid var(--border);
  padding-block: 18px 26px;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }

/* ---------- special offer ---------- */

.urgency-strip { background: var(--accent); color: var(--on-accent); }
.urgency-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 34px;
  padding-block: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}
.urgency-strip b { font-weight: 800; }

.so-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 80% 0%, rgba(212, 179, 106, 0.12), transparent 60%),
    radial-gradient(800px 420px at 12% 100%, rgba(24, 46, 38, 0.8), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.so-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  border: 1px solid var(--gold-line);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 15px;
  margin-bottom: 16px;
}
.so-countdown {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 20px;
  font-variant-numeric: tabular-nums;
}
.so-countdown__cell {
  display: grid;
  justify-items: center;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 74px;
  box-shadow: var(--shadow-sm);
}
.so-countdown__cell b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--accent); line-height: 1; }
.so-countdown__cell span { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.so-countdown__sep { color: var(--accent); font-weight: 800; font-size: 1.4rem; padding-bottom: 22px; }

.so-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

.so-cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(212, 179, 106, 0.14), transparent 65%),
    var(--surface);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
  padding-block: clamp(40px, 5vw, 60px);
}
.so-cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }

.so-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 12, 10, 0.78);
  backdrop-filter: blur(4px);
}
.so-modal.is-open { display: flex; }
.so-modal__card {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 28px 26px;
  text-align: center;
}
.so-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.so-modal__close:hover { color: var(--text); border-color: var(--gold-line); }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card p { color: var(--muted); font-size: 0.96rem; }
.so-modal__art { margin: 0 auto 14px; width: 150px; }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

@media (max-width: 1023px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-donut { display: none; }
  .cards-grid--wide { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__inner { grid-template-areas: "title" "form" "meta"; }
  .hero__orbit { display: none; }
  .hero__form { max-width: 560px; }
  .page-hero__inner .form-block { max-width: 560px; }
  .company-grid { grid-template-columns: 1fr; }
  .cards-grid--wide { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .company-links { grid-template-columns: 1fr; }
  .urgency-strip .container { flex-direction: column; gap: 4px; text-align: center; }
  .so-countdown__cell { min-width: 64px; padding: 8px 10px; }
  .so-countdown__cell b { font-size: 1.4rem; }
  .header-cta.btn { padding: 10px 16px; font-size: 0.86rem; }
}

@media (max-width: 480px) {
  .hero__inner { padding-top: 36px; }
  .flags { font-size: 0.88rem; }
  .review-card__stats { gap: 6px; }
  .so-countdown__sep { padding-bottom: 18px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .faq-list .faq-a { max-height: none; overflow: visible; }
}

/* print */
@media print {
  .site-header, .mobile-menu, .beacon-ticker, .so-modal, .hero__orbit, .motif-layer { display: none !important; }
  body { background: #fff; color: #111; }
}

/* small phones: keep the header on one line inside the container */
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-word { font-size: 1.02rem; }
  .header-cta { padding-inline: 13px; font-size: 0.85rem; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* Production form widget integration: the beacon formFactory randomizes its
   field class names and leaves input colors to the page. These structural
   rules theme every input inside our form containers, covering both the
   page forms and the calculator modal, with this site's palette. */
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block input[type="password"], .form-block select,
.calc-modal__content input[type="text"], .calc-modal__content input[type="email"],
.calc-modal__content input[type="tel"], .calc-modal__content input[type="password"],
.calc-modal__content select {
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.form-block input::placeholder, .calc-modal__content input::placeholder { color: rgba(169, 191, 182, 0.55); }
.form-block input:focus, .calc-modal__content input:focus { outline: none; border-color: currentColor; }
.form-block .iti__country-list, .calc-modal__content .iti__country-list {
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.form-block .iti__country:hover, .calc-modal__content .iti__country:hover,
.form-block .iti__highlight, .calc-modal__content .iti__highlight { background: rgba(212, 179, 106, 0.13); }
.form-block .iti__selected-flag, .calc-modal__content .iti__selected-flag { background: transparent; }
.form-block .iti__selected-dial-code, .calc-modal__content .iti__selected-dial-code { color: rgba(169, 191, 182, 0.55); }


.tv-ticker-wrapper {
    padding-top: 0 !important;
    height: 58px !important;
}