/* ============================================================================
   Delphi AI — main stylesheet (dark "oracle night" theme, Delphic gold accent)
   Hand-written, token-driven. No external CSS.
   ========================================================================== */

/* ---- Fonts (local, Greek + Latin subsets, variable weight) ---------------- */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/manrope-greek.woff2') format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---- Tokens ---------------------------------------------------------------- */
:root {
    --bg: #f7f3ea;
    --bg-2: #f1ece0;
    --surface: #ffffff;
    --surface-2: #f6f1e4;
    --border: #ded7c4;
    --border-strong: #c7bda6;
    --text: #1f2e33;
    --muted: #55676c;
    --accent: #0e6b6e;
    --accent-hover: #0b5a5c;
    --accent-soft: #3f9a9c;
    --accent-rgb: 14, 107, 110;
    --accent-tint: rgba(14, 107, 110, .10);
    --accent-tint-2: rgba(14, 107, 110, .05);
    --ink: #ffffff;
    --canvas-grid: rgba(31, 46, 51, .14);
    --canvas-node: rgba(34, 48, 51, .5);
    --ok: #1e7f4f;
    --bad: #b03d3d;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(31, 46, 51, .07), 0 2px 8px rgba(31, 46, 51, .06);
    --shadow-md: 0 2px 4px rgba(31, 46, 51, .08), 0 10px 30px rgba(31, 46, 51, .10);
    --shadow-lg: 0 4px 12px rgba(31, 46, 51, .10), 0 24px 60px rgba(31, 46, 51, .14);
    --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --container: 1200px;
}

/* ---- Reset / base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
p a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--inline { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }

/* ---- Buttons ----------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
    padding: 14px 24px; cursor: pointer; white-space: nowrap;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--ink); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); transform: translateY(-1px); color: var(--accent-hover); }
.btn--sm { padding: 10px 16px; font-size: .88rem; }

/* ---- Header ------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 243, 234, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(247, 243, 234, .98); box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 38px; height: 35px; }
.logo__word { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.logo__ai { color: var(--accent); margin-left: 5px; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__trigger {
    display: inline-flex; align-items: center; gap: 7px;
    background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem;
    padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.main-nav__trigger:hover, .main-nav__trigger[aria-expanded="true"] { color: var(--text); background: var(--accent-tint-2); }
.icon--caret { width: 15px; height: 15px; transition: transform .18s ease; }
.main-nav__trigger[aria-expanded="true"] .icon--caret { transform: rotate(180deg); }

.submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
    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(6px); pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.main-nav__item { position: relative; }
.main-nav__item.is-open .submenu,
.main-nav__item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.main-nav__item:last-child .submenu { left: auto; right: 0; }
.submenu::before {
    content: ''; position: absolute; top: -6px; left: 26px; width: 10px; height: 10px;
    background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.main-nav__item:last-child .submenu::before { left: auto; right: 26px; }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 8px; color: var(--text); font-size: .92rem; font-weight: 500;
}
.submenu a:hover { background: var(--accent-tint); color: var(--text); }
.icon--menu-item { width: 18px; height: 18px; color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle .icon--toggle { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Mobile nav panel */
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 16px clamp(16px, 4vw, 40px) 24px; background: var(--bg-2); }
.mobile-nav.is-open { display: block; animation: navIn .18s ease; }
@keyframes navIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav__group { margin-bottom: 14px; }
.mobile-nav__title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 6px; }
.mobile-nav__group ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__group a { display: block; padding: 9px 4px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-nav__cta { width: 100%; margin-top: 8px; }

/* ---- Ticker row (markup injected by beacon addon) ----------------------------- */
.ticker-spacer { height: 0; }

/* ---- Hero ---------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(1000px 480px at 78% -10%, rgba(14, 107, 110, .10), transparent 65%),
        radial-gradient(760px 420px at 8% 110%, rgba(63, 154, 156, .12), transparent 70%),
        var(--bg-2);
}
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c7bda6' stroke-opacity='.55'%3E%3Cpath d='M0 .5h120M.5 0v120'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 85%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__static { position: absolute; inset: auto 0 0 0; top: 0; z-index: 1; display: block; width: 100%; height: 100%; }
.hero.js-anim .hero__static { display: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 6vw, 84px); align-items: start; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-tint); color: var(--accent);
    border: 1px solid rgba(14, 107, 110, .35); border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; padding: 6px 14px; margin: 0 0 16px;
}
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.hero__h1 em { font-style: normal; color: var(--accent); }

.hero__flags { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.hero__flags-label { font-size: .88rem; color: var(--muted); font-weight: 600; margin-right: 4px; }
.flag { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }
.flag img { width: 22px; height: 15px; border-radius: 2px; display: block; }
.flag span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badge-link {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 10px 16px; color: var(--text); font-weight: 700; font-size: .9rem;
    box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.badge-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); color: var(--text); }
.badge-link .icon { color: var(--accent); }

/* Form block (wraps beacon formFactory markup) */
.form-block {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: clamp(18px, 2.4vw, 28px);
    position: relative;
}
.form-block--first::before {
    content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); pointer-events: none;
    background: linear-gradient(140deg, rgba(14, 107, 110, .22), transparent 34%);
}
.form-block__title { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; }
.form-block__intro { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.form-block__note { color: var(--accent); font-size: .88rem; font-weight: 700; margin: 10px 0 0; }
.form-legal { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }
.form-legal a { color: var(--accent); }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block input[type="password"], .form-block input:not([type]) {
    width: 100%; background: #ffffff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    color: var(--text); font-family: inherit; font-size: .95rem; padding: 12px 14px; margin: 4px 0 2px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-block input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-block input::placeholder { color: #75848a; }
.form-block button[type="submit"], .form-block input[type="submit"] {
    width: 100%; background: var(--accent); color: var(--ink); border: 0; border-radius: var(--radius-sm);
    font-family: inherit; font-weight: 800; font-size: 1rem; padding: 13px 18px; cursor: pointer; margin-top: 8px;
    transition: background .18s ease, transform .18s ease;
}
.form-block button[type="submit"]:hover, .form-block input[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---- Sections ------------------------------------------------------------------- */
.section { padding-block: clamp(44px, 6vw, 80px); position: relative; }
/* Below-the-fold sections skip layout/paint until scrolled near (perf floor) */
.section:not(:first-of-type), .page-hero + .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { max-width: 62ch; margin-bottom: clamp(22px, 3vw, 36px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section__head h2 em { font-style: normal; color: var(--accent); }

/* Decorative background motif (grid + chart line), scoped, behind content */
.deco { position: relative; overflow: hidden; }
.deco::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23c7bda6' stroke-opacity='.45'%3E%3Cpath d='M0 .5h160M.5 0v160'/%3E%3Cpath d='M10 140 40 110l24 16 34-46 28 12' stroke='%230e6b6e' stroke-opacity='.16' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 160px 160px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 90%);
}
.deco > * { position: relative; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.icon-badge {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint);
    color: var(--accent); box-shadow: inset 0 0 0 1px rgba(14, 107, 110, .3);
}
.icon-badge .icon { width: 24px; height: 24px; }
.card--flush { padding: 0; overflow: hidden; }

/* Feature stagger (asymmetric two-column feature layout) */
.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.feature-split .card--wide { grid-column: 1 / -1; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink);
    font-weight: 800; font-size: .95rem; margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
thead th { background: var(--surface-2); color: var(--text); text-align: left; font-weight: 700; padding: 13px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(14, 107, 110, .045); }
td strong, th strong { color: var(--text); }
.tick-yes { color: var(--ok); font-weight: 800; }
.tick-no { color: var(--bad); font-weight: 800; }

/* Exchange logos chips */
.exchanges { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 160px; height: 56px; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chip--light { background: #ffffff; }
.chip--dark { background: #0f172a; border-color: var(--border-strong); }
.chip img { height: 27px; width: auto; max-width: 88%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { object-fit: cover; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border-strong); flex: none; }
.review__name { font-weight: 800; font-size: .98rem; margin: 0; }
.review__role { color: var(--muted); font-size: .82rem; margin: 0; }
.review__text { color: var(--muted); font-size: .92rem; margin: 0; }
.review__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.review__stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; }
.review__stat dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.review__stat dd { margin: 2px 0 0; font-weight: 800; font-size: .92rem; color: var(--accent); }
.reviews-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }

/* Company block */
.company-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.fact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.fact-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .93rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.link-card {
    display: flex; align-items: flex-start; gap: 12px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 16px; color: var(--text); font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.link-card p { margin: 4px 0 0; color: var(--muted); font-size: .85rem; font-weight: 500; }
.link-card .icon-badge { width: 42px; height: 42px; }

/* Calculator */
.calc-shell { max-width: 720px; margin-inline: auto; }
.calc-note { text-align: center; color: var(--muted); max-width: 60ch; margin-inline: auto; }

/* Prose (documentation pages) */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul li, .prose ol li { color: var(--muted); margin-bottom: .4em; }
.prose .callout {
    background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
    border-radius: var(--radius); padding: 16px 18px; color: var(--muted); margin: 1.2em 0;
}

/* FAQ accordion */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item__btn {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
    background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; text-align: left;
    padding: 16px 18px; cursor: pointer;
}
.faq-item__btn .icon--caret { color: var(--accent); }
.faq-item__btn[aria-expanded="true"] .icon--caret { transform: rotate(180deg); }
.faq-item__panel { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.is-open .faq-item__panel { display: block; animation: navIn .18s ease; }

/* Breadcrumbs */
.breadcrumbs { padding-block: 14px 0; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .84rem; color: var(--muted); }
.breadcrumbs__list li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs__list a { color: var(--muted); display: inline-block; padding: 3px 4px; }
.breadcrumbs__list a:hover { color: var(--accent); }

/* Page hero (inner pages): heading + optional form, two columns */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(900px 420px at 82% -20%, rgba(14, 107, 110, .08), transparent 62%), var(--bg-2); }
.page-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c7bda6' stroke-opacity='.5'%3E%3Cpath d='M0 .5h120M.5 0v120'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 90%);
}
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 4.5vw, 60px); align-items: start; }
.page-hero__inner--single { grid-template-columns: minmax(0, 1fr); }
.page-hero__inner em { font-style: normal; color: var(--accent); }
.page-hero__lead { color: var(--muted); font-size: 1.02rem; }

/* Map */
.map-embed {
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); 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: var(--bg-2); padding-top: clamp(36px, 5vw, 60px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer__about { color: var(--muted); font-size: .88rem; max-width: 34ch; }
.footer__line { color: var(--muted); font-size: .84rem; margin: 0 0 6px; }
.footer__title { color: var(--text); font-weight: 800; font-size: .9rem; margin: 0 0 10px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { color: var(--muted); font-size: .86rem; display: inline-block; padding: 8px 0; }
.footer__col a:hover { color: var(--accent); }
.footer__disclaimer { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 22px; color: var(--muted); font-size: .8rem; }
.footer__disclaimer-title { color: var(--muted); font-weight: 800; margin-bottom: 6px; }
.footer__bottom { border-top: 1px solid var(--border); margin-top: 22px; padding: 18px 0 26px; color: var(--muted); font-size: .8rem; }
.logo--footer .logo__word { font-size: 1.15rem; }

/* Special offer page */
.offer-strip { background: var(--accent); color: var(--ink); font-weight: 700; font-size: .86rem; }
.offer-strip .container { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; padding-block: 8px; }
.offer-hero__inner { text-align: center; max-width: 760px; margin-inline: auto; padding-block: clamp(36px, 5vw, 64px); }
.countdown { display: inline-flex; gap: 10px; margin: 18px 0 8px; }
.countdown__cell { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-sm); min-width: 74px; padding: 10px 8px; box-shadow: var(--shadow-sm); }
.countdown__num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.countdown__label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.offer-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cta-band { background: linear-gradient(120deg, rgba(14, 107, 110, .14), rgba(14, 107, 110, .05)); border-block: 1px solid var(--accent); text-align: center; }
.cta-band .container { padding-block: clamp(30px, 4vw, 48px); }

/* Offer modal */
.offer-modal { position: fixed; inset: 0; z-index: 90; display: none; }
.offer-modal.is-open { display: block; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(31, 46, 51, .6); }
.offer-modal__card {
    position: relative; z-index: 1; max-width: 460px; margin: 9vh auto 0;
    background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 26px; text-align: center;
    animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.offer-modal__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.offer-modal__close:hover { color: var(--text); }
.offer-modal__card h2 { font-size: 1.35rem; margin-top: 10px; }
.offer-modal__card p { color: var(--muted); font-size: .93rem; }
.offer-modal__art { width: 150px; height: auto; margin: 4px auto 0; display: block; }

/* 404 */
.error-page { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.error-page__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--accent); line-height: 1; margin: 0; }

/* Scroll reveal (enhancement only; content visible without JS) */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---- Responsive ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
    .hero__inner .form-block, .page-hero__inner .form-block { order: -1; }
    .company-split, .feature-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .review__stats { grid-template-columns: 1fr 1fr; }
    .header__cta { display: none; }
    .chip { width: 136px; height: 50px; }
    .chip img { height: 24px; }
}

/* ---- Reduced motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    html.js .reveal { opacity: 1; transform: none; }
    #hero-canvas { display: none; }
    .hero__static { display: block !important; }
}

/* Ticker and phone field */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 74px !important;
}

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

/* Homepage hero and review grid */
.hero--home .hero__bg {
  background: linear-gradient(90deg, rgba(250, 247, 241, .98) 0%, rgba(250, 247, 241, .94) 35%, rgba(250, 247, 241, .20) 85%), url("../images/hero-market.webp") 72% center / cover no-repeat;
}

@media (max-width: 767px) {
  .hero--home .hero__bg { background-image: linear-gradient(rgba(250, 247, 241, .91), rgba(250, 247, 241, .91)), url("../images/hero-market.webp"); }
}

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

/* Homepage layout and form styling */
main:has(> .hero--home) {
  --home-title-width: 19ch;
  --home-hero-title: #122a2c;
  --home-hero-text: #344b4b;
  --home-form-title: #123f42;
  --home-form-muted: #405e60;
  --home-form-link: #0b555a;
  --home-field-border: #aabfbc;
  --home-field-radius: 6px;
  --home-field-bg: #ffffff;
  --home-form-ring: #0b686d;
  --home-button: #0d6669;
  --home-button-hover: #094c50;
  --home-button-text: #ffffff;
  --home-button-shadow: 0 8px 16px #0c5a5e28;
  --home-section-line: #b3cac5;
  --home-exchange-bg: #eaf2ed;
  --home-calc-action: #0d6669;
  --home-calc-track: #c8d9d4;
  --home-calc-result: #143d40;
  --home-calc-radius: 10px;
  --home-review-bg: #edf2ec;
  --home-review-rule: #42908b;
  --home-review-radius: 7px;
}

@layer home-reduced-motion {
  @media (prefers-reduced-motion: reduce) {
    .hero--home form.wpcf7-101 input[type="submit"] {
      transition: none !important;
    }
  }
}

.hero--home :is(.hero__inner, .hero-in, .hero-grid) {
  gap: clamp(14px, 2.5vw, 30px) clamp(28px, 5vw, 82px);
}

.hero--home h1 {
  max-inline-size: var(--home-title-width, 19ch);
  margin-block: 0;
  color: var(--home-hero-title);
  font-size: clamp(2.25rem, 4.25vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.hero--home .eyebrow {
  margin-block-end: 14px;
}

.hero--home .home-hero-details {
  min-width: 0;
  color: var(--home-hero-text);
}

.hero--home .home-hero-details > :is(.hero__lead, .hero-sub),
.hero--home .home-hero-summary {
  margin-block: 0 15px;
  color: inherit;
  font-size: clamp(.98rem, 1.35vw, 1.1rem);
  line-height: 1.64;
}

.hero--home .home-hero-details > :last-child {
  margin-bottom: 0;
}

.hero--home :is(.hero__form, .hero__form-zone, .hero-form, .home-hero-form) {
  min-width: 0;
  align-self: center;
}

.hero--home .form-block {
  min-width: 0;
}

.hero--home :is(.form-heading, .form-block__heading, .form-block__title) {
  margin-block: 0 12px;
  color: var(--home-form-title);
  font-size: clamp(1.14rem, 1.75vw, 1.48rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.021em;
  text-wrap: pretty;
}

.hero--home :is(.form-legal, .form-block__intro, .form-block__note, .hero-note, .hero__note, .hero-mgr-note) {
  color: var(--home-form-muted);
  line-height: 1.55;
}

.hero--home .form-legal a {
  color: var(--home-form-link);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]) {
  min-height: 48px;
  border: 1px solid var(--home-field-border);
  border-radius: var(--home-field-radius);
  background: var(--home-field-bg);
  color: #18212f;
  font: inherit;
  font-size: 1rem;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"])::placeholder {
  color: #4d5967;
  font-size: .875rem;
  opacity: 1;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]):focus {
  outline: none;
  border-color: var(--home-form-ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-form-ring) 27%, transparent);
}

.hero--home form.wpcf7-101 input[type="submit"] {
  width: 100%;
  min-height: 52px;
  padding-inline: 10px;
  border-radius: var(--home-cta-radius, var(--home-field-radius));
  background: var(--home-button);
  color: var(--home-button-text);
  font: inherit;
  font-size: clamp(.86rem, 1.3vw, 1.04rem);
  font-weight: 800;
  box-shadow: var(--home-button-shadow);
  transition: background-color .18s ease, box-shadow .18s ease;
}

.hero--home form.wpcf7-101 input[type="submit"]:hover {
  background: var(--home-button-hover);
  color: var(--home-button-text);
}

.hero--home :is(input[type="submit"], a, button):focus-visible {
  outline: 2px solid var(--home-form-ring);
  outline-offset: 3px;
}

main:has(> .hero--home) > .section {
  padding-block: clamp(44px, 6vw, 82px);
}

main:has(> .hero--home) .table-wrap {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
}

main:has(> .hero--home) > .section .section-head h2 {
  letter-spacing: -.034em;
  line-height: 1.12;
  text-wrap: balance;
}

main:has(> .hero--home) > .section .section-head :is(p, .lead) {
  text-wrap: pretty;
}

.hero--home + .section {
  border-block: 1px solid var(--home-section-line);
  background: var(--home-exchange-bg);
}

.hero--home + .section :is(.exchange-row, .exchanges, .exchanges-row, .exchange-grid) {
  align-items: stretch;
  gap: 10px;
}

main:has(> .hero--home) :is(.calc-section, .calc-shell, .calc-wrap) .calc-widget {
  --calc-accent: var(--home-calc-action);
  --calc-cta-bg: var(--home-calc-action);
  --calc-cta-text-color: var(--home-button-text);
  --calc-track: var(--home-calc-track);
  --calc-result-bg: var(--home-calc-result);
  --calc-radius: var(--home-calc-radius);
}

main:has(> .hero--home) .calc-widget__result {
  --calc-result-title-color: #deebe9;
  --calc-result-value-color: #ffffff;
  --calc-result-label-color: #d2e3e1;
  border: 1px solid var(--home-section-line);
}

main:has(> .hero--home) .calc-widget__cta {
  min-height: 48px;
  max-width: 100%;
  background: var(--home-calc-action);
  color: var(--home-button-text);
  font-weight: 800;
}

main:has(> .hero--home) .calc-widget__cta:focus-visible {
  outline: 2px solid var(--home-form-ring);
  outline-offset: 3px;
}

main:has(> .hero--home) > .section:is([aria-labelledby="reviews-title"], [aria-labelledby="reviews-h"], [aria-labelledby="rev-h"], :has(> .container .reviews-grid)) {
  background: var(--home-review-bg);
  border-block: 1px solid var(--home-section-line);
}

main:has(> .hero--home) :is(.reviews, .reviews-grid, [aria-labelledby="reviews-title"] .grid--3) > :is(.review, .review-card) {
  min-width: 0;
  border-block-start: 3px solid var(--home-review-rule);
  border-radius: var(--home-review-radius);
}

@media (max-width: 767px) {
  .hero--home h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .hero--home .eyebrow {
    margin-block-end: 10px;
  }

  .hero--home .home-hero-details > :is(.hero__lead, .hero-sub),
  .hero--home .home-hero-summary {
    font-size: .98rem;
  }
}

.hero--home :is(.hero__inner, .hero-in) {
  display: grid;
  grid-template-columns: var(--home-grid, minmax(0, 1.15fr) minmax(0, .85fr));
  grid-template-areas: var(--home-areas, "headline form" "details form");
  grid-template-rows: auto auto;
  align-items: start;
}

.hero--home :is(.hero__copy, .hero__heading, .hero-copy) {
  display: block;
  grid-area: headline;
  order: initial;
  align-self: end;
  min-width: 0;
}

.hero--home :is(.hero__form, .hero__form-zone, .hero-form) {
  grid-area: form;
  order: initial;
}

.hero--home .home-hero-details {
  grid-area: details;
  position: relative;
  z-index: 2;
  align-self: start;
}

@media (max-width: 899px) {
  .hero--home :is(.hero__inner, .hero-in) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "headline" "form" "details";
    grid-template-rows: auto;
    gap: 18px;
  }

  .hero--home :is(.hero__form, .hero__form-zone, .hero-form) {
    width: min(100%, 38rem);
  }
}

.hero--home h1 { font-size: clamp(2.25rem, 3.9vw, 4.25rem); }

.hero--home .hero__inner {
  padding-block: clamp(35px, 5.1vw, 76px);
}

.hero--home .hero__bg {
  background-image: linear-gradient(90deg, #f8f6ef 0%, #f8f6eff2 37%, #f8f6ef4d 70%, #f8f6ef05), url("../images/hero-market.webp");
}

.hero--home .hero__static { opacity: .3; }

.hero--home .hero__form {
  align-self: start;
  position: relative;
  padding: clamp(20px, 3.15vw, 38px);
  border: 1px solid #93b9b5;
  border-top: 7px solid #18666a;
  border-radius: 7px 7px 26px 7px;
  background: #f9fcfb;
  box-shadow: 0 23px 46px #193b3b26, 8px 9px 0 #9ac7bd6b;
}

.hero--home .hero__form > .form-block,
.hero--home .hero__form > .form-block::before {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.hero--home .hero__form .form-block__title-wrap {
  padding-bottom: 14px;
  border-bottom: 1px solid #d7e4e1;
}

.hero--home .hero__flags,
.hero--home .hero__badges {
  margin-top: 13px;
}

main:has(> .hero--home) .calc-shell {
  max-width: 880px;
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid #c5d7d0;
  border-radius: 10px 32px 10px 10px;
  background: #f5faf7;
  box-shadow: 0 17px 34px #314d4510;
}

main:has(> .hero--home) > [aria-labelledby="prefaq-form-title"] {
  border-block: 1px solid #c3d6d0;
  background: #e5efea;
}

@media (max-width: 899px) {
  .hero--home h1 { font-size: clamp(1.85rem, 7.1vw, 2.6rem); }
  .hero--home .hero__bg {
    background-image: linear-gradient(90deg, #f8f6efeb, #f8f6efad), url("../images/hero-market.webp");
  }
}

@media (max-width: 480px) {
  .hero--home form.wpcf7-101 .registration-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .hero--home form.wpcf7-101 .registration-form > div,
  .hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]) {
    min-width: 0;
    max-width: 100%;
  }

  main:has(> .hero--home) .calc-widget__result {
    padding: 16px;
  }

  main:has(> .hero--home) .calc-widget__stats {
    flex-wrap: wrap;
  }

  main:has(> .hero--home) .calc-widget__stat-label {
    overflow-wrap: anywhere;
  }
}

:root {
  --signup-bg: linear-gradient(123deg,#0a5358,#0e6a69);
  --signup-text: #ffffff;
  --signup-border: #0f6a6d;
  --signup-radius: 9px 9px 17px 9px;
  --signup-icon-radius: 9px;
  --signup-icon-bg: #e8fbf5;
  --signup-icon-text: #07565a;
  --signup-shadow: 0 3px 0 #18494a52,0 6px 14px #0b616626;
  --signup-active-shadow: 0 5px 0 #18494a45,0 9px 19px #0b616649;
  --signup-focus: #0d7175;
}
/* Header registration links and phone dropdown */
.iti__country-name {
  color: #000 !important;
}

a.header-signup {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 44px;
  padding: 5px 7px 5px 14px;
  border: 1px solid var(--signup-border);
  border-radius: var(--signup-radius);
  background: var(--signup-bg);
  color: var(--signup-text);
  box-shadow: var(--signup-shadow);
  overflow: hidden;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  transition: transform .18s ease, box-shadow .18s ease;
}

.header-signup__label,
.header-signup__icon {
  position: relative;
  z-index: 1;
}

.header-signup__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: var(--signup-icon-radius);
  background: var(--signup-icon-bg);
  color: var(--signup-icon-text);
}

.header-signup__icon svg {
  inline-size: 15px;
  block-size: 15px;
  transition: transform .22s ease;
}

a.header-signup::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 26%, #ffffff45 49%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-110%);
  animation: header-signup-shine 1.15s ease-out .9s 1;
}

a.header-signup:hover,
a.header-signup:focus-visible {
  color: var(--signup-text);
  text-decoration: none;
  box-shadow: var(--signup-active-shadow);
}

a.header-signup:hover {
  transform: translateY(-2px);
}

a.header-signup:hover svg,
a.header-signup:focus-visible svg {
  transform: translate(2px, -2px);
}

a.header-signup:focus-visible {
  outline: 2px solid var(--signup-focus);
  outline-offset: 3px;
}

@keyframes header-signup-shine {
  to { transform: translateX(110%); }
}

@media (max-width: 520px) {
  a.header-signup {
    gap: .38em;
    padding: 5px 5px 5px 9px;
    font-size: .78rem;
  }

  .header-signup__icon {
    inline-size: 21px;
    block-size: 21px;
  }

  .header-signup__icon svg {
    inline-size: 12px;
    block-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.header-signup,
  a.header-signup::before,
  .header-signup__icon svg {
    animation: none;
    transition: none;
  }

  a.header-signup:hover,
  a.header-signup:hover svg,
  a.header-signup:focus-visible svg {
    transform: none;
  }
}



/* Homepage typography, section layouts and interactive surfaces. */
main:has(> .hero--home) {
  --home-accent: #166664;
  --home-radius: 6px 22px 6px 6px;
  --home-line: color-mix(in srgb, var(--home-accent) 32%, var(--border));
}

.hero--home h1 {
  font-size: clamp(2rem, 4.5vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero--home h1 em {
  color: var(--home-accent);
  font-style: normal;
}

.hero--home :is(.hero__lead, .hero-sub, .home-hero-summary) {
  max-inline-size: 58ch;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero--home h1 { font-family: Georgia, serif; font-weight: 500; }
.hero--home .hero__copy { border-inline-start: 3px solid #247d75; padding-inline-start: clamp(14px, 2vw, 26px); }
.hero--home .hero__form { border-radius: 4px 26px 4px 4px; box-shadow: 0 22px 50px #183e3926; }

main:has(> .hero--home) > .section {
  padding-block: clamp(42px, 6vw, 88px);
}

main:has(> .hero--home) > .hero--home + .section {
  padding-block: clamp(26px, 3.8vw, 54px);
  border-block: 1px solid var(--home-line);
}

main:has(> .hero--home) .section :is(.section-head, .section__head) h2,
main:has(> .hero--home) .company-grid h2,
main:has(> .hero--home) .company-split h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.9rem);
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: balance;
}

main:has(> .hero--home) .section :is(.section-head, .section__head) p {
  line-height: 1.65;
  text-wrap: pretty;
}

main:has(> .hero--home) :is(.exchange-chip, .exchip, .exchanges .chip) {
  min-height: 44px;
  padding-inline: clamp(12px, 2vw, 24px);
}

main:has(> .hero--home) :is(.step, .step-card, .sec-card, .card, .link-card, .company-link, .review, .review-card) {
  border-radius: var(--home-radius);
  border-color: var(--home-line);
}

main:has(> .hero--home) :is(.step, .step-card) {
  padding: clamp(18px, 2.4vw, 32px);
  border-block-start: 3px solid var(--home-accent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--home-accent) 8%, var(--surface)), var(--surface) 72%);
}

main:has(> .hero--home) :is(.card, .sec-card, .step, .step-card) h3 {
  line-height: 1.25;
  text-wrap: balance;
}

main:has(> .hero--home) :is(.table-wrap, .calc-canvas-wrap, .calc-shell, .calc-wrap) {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
}

main:has(> .hero--home) .section tbody tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--home-accent) 6%, transparent);
}

main:has(> .hero--home) :is(.review, .review-card) {
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
  background: linear-gradient(150deg, color-mix(in srgb, var(--home-accent) 9%, var(--surface)), var(--surface) 66%);
}

main:has(> .hero--home) .faq-list { width: 100%; min-width: 0; }
main:has(> .hero--home) .faq-item {
  border-radius: var(--home-radius);
  border-color: var(--home-line);
}
main:has(> .hero--home) .faq-item :is(summary, button) { min-height: 48px; }
main:has(> .hero--home) .faq-item:focus-within { outline: 2px solid var(--home-accent); outline-offset: 2px; }

main:has(> .hero--home) form.wpcf7-101 input:not([type="hidden"]):focus-visible {
  outline: 2px solid var(--signup-focus);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  main:has(> .hero--home) .section > .container:has(> .faq-list) {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    align-items: start;
    gap: 16px clamp(32px, 6vw, 90px);
  }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > :is(.section-head, .section__head) {
    margin: 0;
    text-align: start;
  }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > .faq-list { grid-column: 2; margin-block: 0; }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > .faq-list ~ * { grid-column: 2; }
}

@media (max-width: 599px) {
  .hero--home h1 { font-size: clamp(1.95rem, 8vw, 2.65rem); }
  main:has(> .hero--home) .section :is(.section-head, .section__head) { margin-bottom: 20px; }
}

.hero--home ~ .section .icon-badge {
  width: 40px;
  height: 40px;
}
.hero--home + .section .chip img { object-fit: contain; }

@media (max-width: 600px) {
  .hero--home ~ .section .icon-badge { width: 34px; height: 34px; }
  .hero--home ~ .section .icon-badge .icon { width: 20px; height: 20px; }
}

/* An editorial column with a ruled office directory. */
.hero--home .hero__copy { border: 0; padding: 0; }
.hero--home .hero__copy .eyebrow { background: none; border: 0; padding: 0; box-shadow: none; color: #265750; }
.hero--home .hero__h1 { max-width: 16ch; margin-block: 12px 0; }
.hero--home .hero__h1 em { display: block; font-style: italic; }
.hero--home .home-hero-details { border-block-start: 2px solid #296761; padding-block-start: 16px; }
.hero--home .hero__flags { padding-block: 14px; border-block: 1px solid #9bb5a9; gap: 8px 16px; }
.hero--home .flag { border: 0; padding: 0; background: transparent; }
.hero--home .badge-link { background: transparent; border: 0; padding: 2px 0; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.hero--home .hero__badges { column-gap: 24px; }

.hero--home .home-hero-details { border: 0; padding-top: 0; }
.hero--home .reader-index { margin-block: 18px 8px; border-block: 2px solid #285c57; }
.hero--home .reader-index a { display: flex; justify-content: space-between; align-items: center; padding: 9px 4px; color: #174943; font: 500 clamp(1.15rem,2vw,1.65rem)/1.3 Georgia,serif; }
.hero--home .reader-index a + a { border-top: 1px solid #9cab9c; }
.hero--home .reader-index a:hover { background: #dfeae0; }
.hero--home .hero__flags { border: 0; padding-block: 6px; }
#steps-title, #compare-title { scroll-margin-top: 6rem; }

/* The title and the landscape share a classical, three-opening composition. */
.hero--home .hero__static { display: none !important; }
.hero--home .hero__bg { background-image: linear-gradient(90deg,#f8f6eb 0%,#f8f6eb 43%,#f8f6ebbb 66%,#f8f6eb22),url("../images/hero-market.webp"); }
.hero--home .hero__copy { position: relative; }
.hero--home .hero__h1 { max-width: none; font-size: clamp(2.35rem,4.5vw,4.7rem); line-height: 1.03; }
.hero--home .delphi-arcade { display: grid; grid-template-columns: 1.8fr 1fr .65fr; gap: 7px; height: clamp(80px,8.4vw,125px); margin-top: 16px; }
.delphi-arcade i { border-radius: 90px 90px 0 0; background: url("../images/hero-market.webp") 50% 63% / 185% auto no-repeat; }
.delphi-arcade i:nth-child(2) { background-position: 78% 55%; background-size: 330% auto; }
.delphi-arcade i:nth-child(3) { background-position: 96% 28%; background-size: 400% auto; }
.hero--home .reader-index { display: flex; flex-wrap: wrap; border-block: 1px solid #a2b7a9; gap: 8px 18px; }
.hero--home .reader-index a { font-family: inherit; font-weight: 650; font-size: .91rem; gap: 7px; padding: 10px 0; }
.hero--home .reader-index a + a { border-top: 0; }
@media(max-width:899px) { .hero--home .delphi-arcade { display: none; } }
