/* ==========================================================================
   Fiquotérie — design system
   Profile: geo-adapted (Swiss financial-print look for the CH market)
   Light paper theme, deep Swiss red accent, warm ink neutrals.
   ========================================================================== */

/* Local variable font (latin subset) — no external font CDN.
   font-display: optional — a late font swap must never reflow (and shift)
   the hero after first paint (design.md §14). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f2f0eb;
  --surface-3: #eae7e0;
  --border: #e5e2da;
  --border-strong: #d5d1c6;
  --text: #1a1815;
  --text-muted: #5d5a55;
  --text-soft: #6f6c66; /* >= 4.5:1 on every light surface (AA) */
  --accent: #c8102e;
  --accent-hover: #a50d26;
  --accent-tint: #fbecee;
  --accent-deep: #7c0a1d;

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

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

  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.05), 0 2px 6px rgba(26, 24, 21, 0.05);
  --shadow-md: 0 1px 2px rgba(26, 24, 21, 0.06), 0 8px 24px rgba(26, 24, 21, 0.09);
  --shadow-lg: 0 2px 4px rgba(26, 24, 21, 0.07), 0 16px 40px rgba(26, 24, 21, 0.13);

  --header-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 650; }

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

/* --- skip link / focus --------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 300;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); background: var(--accent-deep); }
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: var(--accent-tint);
  color: var(--accent-hover);
  text-decoration: none;
}
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { flex: 0 0 auto; }
.brand__word {
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand--footer .brand__word { color: #fff; }

.main-nav { margin-inline: auto; }
.main-nav__list { display: flex; gap: clamp(8px, 2vw, 22px); list-style: none; margin: 0; padding: 0; }
.main-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.main-nav__trigger:hover { background: var(--surface-2); }
.main-nav__trigger .icon { transition: transform 0.18s ease; }
.main-nav__item.is-open .main-nav__trigger .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 210;
}
.main-nav__item { position: relative; }
.main-nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__item.align-right .dropdown { left: auto; right: 0; }
.dropdown__list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 430px); overflow-y: auto; }
.dropdown__link {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 550;
}
.dropdown__link:hover, .dropdown__link:focus-visible {
  background: var(--accent-tint);
  color: var(--text);
  text-decoration: none;
}
.dropdown__link.is-active { color: var(--accent); font-weight: 650; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  color: var(--text);
  line-height: 0;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0 22px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__group + .mobile-nav__group { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 6px; }
.mobile-nav__trigger {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font: inherit;
  font-weight: 650;
  padding: 12px 4px;
  cursor: pointer;
  color: var(--text);
}
.mobile-nav__trigger .icon { transition: transform 0.18s ease; }
.mobile-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__list { list-style: none; margin: 0 0 8px; padding: 0 0 0 4px; }
.mobile-nav__list a {
  display: block;
  padding: 9px 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-radius: 8px;
}
.mobile-nav__list a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.mobile-nav__cta { width: 100%; margin-top: 12px; }

/* --- ticker row (injected by the beacon addon) ---------------------------- */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  /* the TradingView iframe decides its own width; keep the page at 100vw and
     let the widget scroll inside its own row (design.md §3). The reserved
     height stops the placeholder->iframe swap from shifting the page (CLS). */
  max-width: 100vw;
  overflow: hidden;
  min-height: 48px;
}

/* --- hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf8f4 0%, var(--bg) 100%);
  padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 72px);
}
.hero__bg {
  position: absolute;
  inset: -6% -4%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 248, 244, 0.5) 0%, rgba(251, 248, 244, 0.12) 42%, rgba(250, 249, 247, 0.66) 100%),
    radial-gradient(46rem 30rem at 82% 8%, rgba(200, 16, 46, 0.06), transparent 62%),
    url("/assets/images/brand/hero-bern.jpg") right center / cover no-repeat,
    linear-gradient(180deg, #fbf8f4 0%, #faf9f7 100%);
}
#hero .hero__bg {
  background:
    linear-gradient(110deg, rgba(251,248,244,.98) 0%, rgba(251,248,244,.86) 41%, rgba(251,248,244,.42) 100%),
    url("../images/hero-trading.webp") center / cover no-repeat, #fbf8f4;
}
.hero__grid-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23d5d1c6' stroke-width='0.6' opacity='0.55'/%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 78%);
}
.hero__motif {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: min(46vw, 620px);
  height: auto;
  z-index: 0;
  opacity: 0.94;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hero__content { max-width: 560px; }
.hero h1 { margin-bottom: 0.5em; }
.hero__lead { font-size: 1.08rem; color: var(--text-muted); margin-bottom: 1.1em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 4px 0 18px; }
.hero__offices { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.hero__trust-link:hover { text-decoration: none; color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- hero form block -------------------------------------------------------- */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block--primary { position: relative; }
.form-block__heading { font-size: 0.98rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.form-block__intro { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 12px; }
.form-legal { font-size: 0.78rem; color: var(--text-soft); margin: 10px 0 0; }
.form-legal a { color: var(--text-muted); text-decoration: underline; }

/* --- sections ---------------------------------------------------------------- */
.section { padding: clamp(48px, 6.5vw, 84px) 0; }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--paper {
  background:
    radial-gradient(40rem 24rem at 88% 6%, rgba(200, 16, 46, 0.05), transparent 60%),
    var(--surface);
}
.section--mesh {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 30h120M0 70h120M30 0v120M80 0v120' stroke='%23d5d1c6' stroke-width='0.5' opacity='0.5' fill='none'/%3E%3C/svg%3E"),
    var(--bg);
}
.section__head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head--split { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; max-width: none; }
.section__head p { color: var(--text-muted); font-size: 1.02rem; }
.section__foot { margin-top: clamp(22px, 3vw, 34px); }

/* --- icon badges & cards ------------------------------------------------------ */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
}
.icon-badge--surface { background: var(--surface-2); color: var(--accent-deep); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.5vw, 26px);
  transition: transform 0.17s ease, box-shadow 0.17s ease, border-color 0.17s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin: 0; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: block; color: var(--text); }
.card--link:hover { text-decoration: none; }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.grid-cards--staggered { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cards--wide-first { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 780px) { .grid-cards--wide-first { grid-template-columns: 1fr; } }

/* --- steps -------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* --- tables -------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.94rem; }
.table-wrap th {
  text-align: left;
  background: var(--surface-2);
  padding: 13px 16px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:nth-child(even) { background: rgba(242, 240, 235, 0.45); }
.table-wrap td.cell-desc { color: var(--text-muted); font-size: 0.88rem; max-width: 420px; }

.mark-yes { color: #1c7a43; display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.mark-no { color: #b3261e; display: inline-flex; align-items: center; gap: 4px; }

/* --- exchange logo chips ---------------------------------------------------------- */
.exchange-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.exchange-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 82%; }

/* --- reviews ------------------------------------------------------------------------ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.review-card { display: flex; flex-direction: column; gap: 10px; }
.review-card__head { display: flex; align-items: center; gap: 14px; }
.review-card__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface-3); flex: 0 0 auto; }
.review-card__name { font-weight: 700; margin: 0; }
.review-card__role { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.review-card__stats { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.review-stat {
  font-size: 0.82rem;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text-muted);
}
.review-stat strong { color: var(--text); }
.review-card__text { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.review-card__note { font-size: 0.72rem; color: var(--text-soft); margin: 2px 0 0; }
.reviews-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 18px; }

/* --- company block --------------------------------------------------------------------- */
.company-block { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
@media (max-width: 880px) { .company-block { grid-template-columns: 1fr; } }
.company-facts { list-style: none; margin: 16px 0 0; padding: 0; font-size: 0.95rem; }
.company-facts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.company-facts li:last-child { border-bottom: none; }
.company-facts .icon { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.company-link span:last-child { font-weight: 650; color: var(--text); }
.company-link p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }
@media (max-width: 520px) { .company-links { grid-template-columns: 1fr; } }

/* --- FAQ (native details) ----------------------------------------------------------------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: 0 0 auto; color: var(--accent); transition: transform 0.18s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__body { padding: 0 20px 18px; color: var(--text-muted); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* --- breadcrumbs --------------------------------------------------------------------------- */
.breadcrumbs { padding: 14px 0 0; font-size: 0.85rem; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--text-soft); }
.breadcrumbs__list li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }

/* --- inner page hero ------------------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf8f4 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(38px, 5vw, 62px) 0;
}
.page-hero__motif { position: absolute; right: -60px; top: -20px; width: min(38vw, 480px); opacity: 0.85; pointer-events: none; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } }
.page-hero p { color: var(--text-muted); }

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

/* --- article/typography blocks ------------------------------------------------------------------ */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.notice {
  display: flex;
  gap: 12px;
  background: var(--accent-tint);
  border: 1px solid rgba(200, 16, 46, 0.22);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.93rem;
  color: var(--text);
}
.notice .icon { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* --- calculator block ---------------------------------------------------------------------------- */
.calc-section .container { max-width: 1040px; }
.calc-canvas-wrap { margin-top: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); padding: 10px; }
.calc-canvas { display: block; width: 100%; height: 190px; }
.calc-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 10px; }

/* --- special offer page ------------------------------------------------------------------------------ */
.urgency-strip { background: var(--accent); color: #fff; font-size: 0.9rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 10px; }
.urgency-strip strong { font-weight: 700; }
.so-hero {
  background:
    linear-gradient(180deg, rgba(253, 243, 244, 0.82) 0%, rgba(250, 249, 247, 0.94) 100%),
    url("/assets/images/brand/hero-bern.jpg") right center / cover no-repeat;
}
.cta-band { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); text-align: center; }
.cta-band .btn { background: #fff; color: var(--accent); margin-top: 8px; }
.cta-band .btn:hover { background: var(--surface-2); color: var(--accent-hover); box-shadow: var(--shadow-md); }

/* modal (special-offer exit intent) */
.so-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(26, 24, 21, 0.55); }
.so-modal__content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
  padding: 30px 28px 26px;
  text-align: center;
}
.so-modal__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 1.7rem; line-height: 1;
  cursor: pointer; color: var(--text-soft);
  padding: 6px;
}
.so-modal__close:hover { color: var(--text); }
.so-countdown { display: flex; justify-content: center; gap: 8px; margin: 16px 0 20px; }
.so-countdown__seg { background: var(--accent); color: #fff; border-radius: 8px; padding: 10px 12px; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; }
.so-modal__content .btn { width: 100%; }

/* --- footer ------------------------------------------------------------------------------------------- */
.site-footer { background: #201d19; color: #cfcac2; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(150px, 1fr)); gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 5vw, 64px) 0 30px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.site-footer a { color: #cfcac2; }
.site-footer a:hover { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-brand__note { font-size: 0.9rem; color: #a8a29a; margin: 14px 0 10px; max-width: 300px; }
.footer-brand__contact { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin: 0; }
.footer-disclaimer { border-top: 1px solid #3a362f; padding-top: 24px; }
.footer-disclaimer p { font-size: 0.78rem; color: #a8a29a; margin: 0; }
.footer-bottom { font-size: 0.8rem; color: #98948c; padding: 18px 0 26px; margin: 0; } /* 5.5:1 on #201d19 */

/* --- scroll reveal -------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- ticker note: beacon widget iframe sizing ------------------------------------------------------------ */
.tv-ticker-host iframe { display: block; }

/* --- responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  /* static motif fallback on small screens: kept visible, smaller and fainter */
  .hero__motif {
    width: min(78vw, 460px);
    right: -34px;
    bottom: -18px;
    opacity: 0.45;
  }
}
@media (max-width: 780px) {
  .hero__motif { opacity: 0.3; }
  .page-hero__motif { width: min(64vw, 340px); right: -30px; top: -10px; opacity: 0.35; }
  /* two chips per row on a real grid — cannot overflow at any subpixel width */
  .exchange-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .exchange-chip { width: auto; }
}
@media (max-width: 420px) {
  .exchange-chip { width: 100%; }
}

/* --- reduced motion ------------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  #hero .hero__bg {
    background-image: linear-gradient(180deg, rgba(251,249,245,.96) 0%, rgba(251,249,245,.83) 65%, rgba(251,249,245,.56) 100%), url("../images/hero-trading.webp");
  }
}

/* Account action in the header and mobile navigation. */
.btn.header-account {
  min-height: 44px;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(100deg, #a3102c, #77142c);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(119, 20, 44, .26), inset 0 1px 0 rgba(255, 255, 255, .19);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn.header-account svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: currentColor;
}
.btn.header-account:hover {
  background: #85102a;
  color: #fff;
  box-shadow: 0 5px 12px rgba(119, 20, 44, .26);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.header-account:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn.header-account:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .btn.header-account { transition: none; }
  .btn.header-account:hover, .btn.header-account:focus-visible, .btn.header-account:active { transform: none; }
}

/* Homepage hero */
.hero-title__accent { color: var(--accent); }

@media (max-width: 1020px) {
  .hero .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    reading-flow: flex-visual;
  }
  .hero .hero__inner > .hero__content { display: contents; }
  .hero .hero__inner > .hero__content > h1 { order: -2; }
  .hero .hero__inner > div:last-child { order: -1; min-width: 0; }
}
