/* =========================================================================
   Delphi AI — "Midnight Oracle" visual identity
   Dark charcoal-blue night surface, aegean gold accent, meander geometry,
   market-chart motifs. Single theme, single accent, one radius/shadow scale.
   ========================================================================= */

:root {
  --bg: #0f1319;
  --surface: #161d27;
  --surface-2: #1c2532;
  --border: #2a3546;
  --text: #edf1f7;
  --text-muted: #a2adc0;
  --accent: #d9a13b;
  --accent-hover: #e7b558;
  --accent-tint: rgba(217, 161, 59, 0.12);
  --accent-line: rgba(217, 161, 59, 0.34);
  --data: #6ea8ff;
  --up: #58c98b;
  --down: #e0655f;
  --ink-on-accent: #201807;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(5, 8, 14, 0.5);
  --shadow-md: 0 2px 4px rgba(5, 8, 14, 0.4), 0 10px 28px rgba(5, 8, 14, 0.45);
  --shadow-lg: 0 4px 8px rgba(5, 8, 14, 0.45), 0 18px 48px rgba(5, 8, 14, 0.55);
  --font: "Segoe UI", Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Roboto Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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.6vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 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); }

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

.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section--tint { background:
  radial-gradient(900px 420px at 12% 0%, rgba(217, 161, 59, 0.07), transparent 60%),
  radial-gradient(800px 460px at 92% 100%, rgba(110, 168, 255, 0.05), transparent 55%),
  var(--surface); }
.section--grid { background:
  radial-gradient(700px 380px at 88% 8%, rgba(217, 161, 59, 0.06), transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='%232a3546' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E"),
  var(--bg); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--text-muted); font-size: 1.04rem; }

.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.icon-inline { width: 17px; height: 17px; vertical-align: -3px; color: var(--accent); }

/* --- skip link / focus --------------------------------------------------- */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--accent); color: var(--ink-on-accent);
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15, 19, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { background: rgba(13, 17, 23, 0.97); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; color: var(--text); }
.logo { height: 34px; width: auto; display: block; }
.logo-word { font-family: var(--font); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.logo-footer { height: 38px; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: var(--radius-sm);
  color: var(--text); background: none; border: 0;
  font: inherit; font-size: 0.95rem; cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] {
  background: var(--accent-tint); color: var(--accent);
}
.icon-caret { width: 14px; height: 14px; transition: transform 0.16s ease; }
.nav-trigger[aria-expanded="true"] .icon-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 210;
  min-width: 270px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(5px); visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: var(--surface); border-left: 1px solid var(--border);
  border-top: 1px solid var(--border); transform: rotate(45deg);
}
.nav-item.is-open > .dropdown { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-item:last-child .dropdown { left: auto; right: 0; }
.nav-item:last-child .dropdown::before { left: auto; right: 22px; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-size: 0.95rem;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent); }

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

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

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

/* --- mobile menu ----------------------------------------------------------- */

.nav-burger {
  display: none; background: none; border: 0; padding: 8px; border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer;
}
.nav-burger:hover { background: var(--accent-tint); color: var(--accent); }
.nav-burger .burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: inline-flex; }

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding: 14px 0 22px; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 2px; background: none; border: 0; color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer;
}
.mobile-group-items { list-style: none; margin: 0 0 10px; padding: 0 6px; }
.mobile-group-items a {
  display: block; padding: 10px 12px; border-radius: 8px; color: var(--text-muted);
}
.mobile-group-items a:hover { background: var(--accent-tint); color: var(--accent); }

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

.breadcrumbs { padding: 18px 0 0; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb-list li + li::before { content: "›"; margin-right: 8px; color: var(--text-muted); }

/* --- hero -------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 78% 6%, rgba(217, 161, 59, 0.10), transparent 62%),
    radial-gradient(900px 600px at 6% 96%, rgba(110, 168, 255, 0.07), transparent 58%),
    linear-gradient(180deg, #121824 0%, var(--bg) 88%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero-copy .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero-copy h1 { margin-bottom: 0.45em; }
.hero-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 34em; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 22px 0 6px; }
.hero-flagline { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.95rem; }
.flag { width: 27px; height: 18px; border-radius: 3px; box-shadow: var(--shadow-sm); }

.hero-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-icon-link {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 18px; color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.hero-icon-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-line); color: var(--text); }
.hero-icon-link .icon { color: var(--accent); }
.hero-icon-link span { font-weight: 600; font-size: 0.95rem; }

.hero-form-note { margin-top: 14px; }

/* --- forms (formFactory wrapper) -------------------------------------------- */

.form-block {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); 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: 6px; }
.form-block__intro { color: var(--text-muted); margin-bottom: 14px; }
/* beacon formFactory fields render on white input backgrounds — keep the
   intl-tel-input dial code (no color of its own) dark and readable. */
.form-block .iti__selected-dial-code { color: #1a2029; }
.form-block__note {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.92rem; margin: 12px 0 4px;
}
.form-legal { font-size: 0.82rem; color: var(--text-muted); margin: 6px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

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

.exchange-block .chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  width: 168px; height: 58px; display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chip--dark { background: #0f172a; }
.chip img { height: 28px; width: auto; display: block; }

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

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.cards-grid--stagger { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); align-items: start; }
.cards-grid--stagger > :nth-child(2) { transform: translateY(16px); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 22px; height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.97rem; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 13px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid var(--accent-line); margin-bottom: 14px;
}
.icon-badge .icon { width: 24px; height: 24px; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.card-head .icon-badge { margin-bottom: 0; }
.card-head h3 { margin: 0; }

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

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

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

.table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap th {
  text-align: left; background: var(--surface-2); color: var(--text);
  font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 13px 16px; border-bottom: 1px solid rgba(42, 53, 70, 0.55); vertical-align: top; font-size: 0.96rem; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(28, 37, 50, 0.35); }
.tick { color: var(--up); font-weight: 700; }
.cross { color: var(--down); font-weight: 700; }

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

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-top { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent-tint); border: 1px solid var(--accent-line);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
}
.review-avatar .icon { width: 26px; height: 26px; }
.review-name { font-weight: 700; }
.review-role { color: var(--text-muted); font-size: 0.88rem; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--text-muted); }
.review-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.review-text { color: var(--text-muted); font-size: 0.96rem; margin: 0; }
.reviews-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }

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

.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 22px;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 22px 18px; color: var(--text-muted); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* --- company / misc blocks --------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.fact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.fact-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(42, 53, 70, 0.5); }
.fact-list .icon { color: var(--accent); margin-top: 3px; }
.fact-list li:last-child { border-bottom: 0; }

.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.link-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px; color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-line); color: var(--text); }
.link-card .icon { color: var(--accent); }
.link-card span { font-weight: 600; font-size: 0.95rem; }

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

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

.calc-section .calc-widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(8px, 1vw, 14px);
}

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

.site-footer { border-top: 1px solid var(--border); background: #0c1017; padding: clamp(44px, 6vw, 68px) 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px 22px; }
.footer-brand-note { color: var(--text-muted); font-size: 0.93rem; max-width: 30em; }
.footer-support a { color: var(--text); font-size: 0.95rem; }
.footer-col h3 { font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--text-muted); font-size: 0.93rem; }
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 24px; }
.footer-disclaimer h3 { font-size: 0.95rem; color: var(--text); }
.footer-disclaimer p { color: var(--text-muted); font-size: 0.85rem; max-width: 72em; }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; }

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

.urgency-strip { background: linear-gradient(90deg, rgba(217, 161, 59, 0.16), rgba(217, 161, 59, 0.05)); border-bottom: 1px solid var(--accent-line); }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 9px; padding-bottom: 9px; justify-content: center; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--text); }
.urgency-strip .icon { width: 15px; height: 15px; color: var(--accent); }

.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown-seg {
  min-width: 52px; padding: 7px 6px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--accent-line); border-radius: 9px;
  font-family: var(--mono); font-size: 1.35rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.countdown-sep { color: var(--accent); font-weight: 800; }

.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(5, 8, 14, 0.78); }
.so-modal__content {
  position: relative; width: min(520px, 100%);
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px 28px 26px; text-align: center;
  animation: so-pop 0.22s cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes so-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.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(--text); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.so-modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.so-modal h3 { font-size: 1.45rem; margin: 14px 0 8px; }
.so-modal p { color: var(--text-muted); font-size: 0.96rem; }

.so-final {
  text-align: center; border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 240px at 50% 0%, rgba(217, 161, 59, 0.12), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-md); padding: clamp(30px, 4vw, 46px);
}

/* --- 404 ----------------------------------------------------------------------------------------- */

.error-page { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.error-page .error-code { font-size: clamp(3.4rem, 9vw, 5.4rem); font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }

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

.reveal { opacity: 0; transform: translateY(9px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

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

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-burger { display: inline-flex; }
  .btn-header { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-motif { opacity: 0.55; }
  .split { grid-template-columns: 1fr; }
  .cards-grid--stagger > :nth-child(2) { transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-icons { flex-direction: column; align-items: stretch; }
  .chip { width: 148px; height: 52px; }
  .countdown-seg { min-width: 46px; font-size: 1.15rem; }
}

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

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

.iti__country-name {
  color: #000 !important;
}

.hero--market {
  background: linear-gradient(90deg, rgba(18, 24, 38, 0.90), rgba(18, 24, 38, 0.40) 62%, rgba(18, 24, 38, 0.18)),
    linear-gradient(0deg, rgba(18, 24, 38, 0.80), transparent 52%),
    url("../images/hero-market.webp") 63% center / cover no-repeat, rgb(18, 24, 38);
}

.hero-bg { opacity: 0.22; }

.reviews-grid { grid-template-columns: minmax(0, 1fr); }

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

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

img.review-avatar { object-fit: cover; }

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

@media (max-width: 960px) {
  .hero .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    reading-flow: flex-visual;
  }
  .hero .hero-inner > .hero-copy { display: contents; }
  .hero .hero-inner > .hero-copy > h1 { order: -2; }
  .hero .hero-inner > .hero-form { order: -1; min-width: 0; }
}

/* Header account action */
a.header-account-cta {
  gap: 10px;
  min-height: 44px;
  padding: 5px 7px 5px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(115deg, #f2ce79, #d9a13b);
  color: #241708;
  font-weight: 750;
  box-shadow: 0 4px 14px #d9a13b3d;
}
a.header-account-cta:hover, a.header-account-cta:focus-visible {
  background: linear-gradient(115deg, #f2ce79, #d9a13b);
  color: #241708;
  box-shadow: 0 5px 18px #d9a13b3d;
  filter: brightness(1.08);
  text-decoration: none;
}
a.header-account-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.header-account-cta__icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #3d23061c;
}
