/* ==========================================================================
   AfriSynapse — dark charcoal-green / deep emerald / warm copper
   geo-adapted South African fintech. Archivo display, system body.
   ========================================================================== */

@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0F1411;
    --surface: #171E1A;
    --surface-2: #1E2721;
    --border: #2C372F;
    --text: #ECEFEA;
    --muted: #96A29A;
    --accent: #C87F42;
    --accent-hover: #DA985C;
    --accent-tint: #2A2018;
    --copper-deep: #8A5527;
    --emerald: #3BB273;
    --emerald-deep: #1E5C40;
    --gold: #D9A441;
    --on-accent: #221204;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(6, 10, 8, .5), 0 2px 6px rgba(6, 10, 8, .35);
    --shadow-md: 0 2px 4px rgba(6, 10, 8, .45), 0 10px 28px rgba(6, 10, 8, .5);
    --shadow-lg: 0 4px 8px rgba(6, 10, 8, .5), 0 24px 56px rgba(6, 10, 8, .6);
    --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --mesh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 14h28M14 0v28' stroke='%232C372F' stroke-width='0.4' opacity='0.35'/%3E%3C/svg%3E");
    --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%233BB273' opacity='0.16'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; color: var(--text); }
p { margin: 0 0 1em; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--gold); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--text); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; position: relative; }
.section--tint { background: var(--surface); box-shadow: inset 0 1px 0 rgba(59, 178, 115, .06); }
.section--deco { background-image: radial-gradient(900px 420px at 12% -10%, rgba(59, 178, 115, .07), transparent 60%), var(--mesh); }
.section--dots { background-image: radial-gradient(800px 380px at 85% 0%, rgba(200, 127, 66, .07), transparent 55%), var(--dots); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-display); font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
    margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.prose { max-width: 780px; }
.prose p, .prose li { color: #C7CFC9; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; color: var(--text); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    padding: .78em 1.5em; border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--accent-hover); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--gold); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }

/* Skip link */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--accent); color: var(--on-accent);
    padding: .7em 1.2em; border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--on-accent); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 120;
    background: rgba(15, 20, 17, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(15, 20, 17, .97); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo svg { width: 40px; height: 40px; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--text); letter-spacing: -.01em; }
.logo-word b { color: var(--accent); font-weight: 800; }

.main-nav { display: none; margin-left: auto; }
.nav-group { position: relative; }
.nav-groups { display: flex; gap: .35rem; align-items: center; }
.nav-trigger {
    display: inline-flex; align-items: center; gap: .4em;
    background: none; border: 0; color: var(--text); cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: .93rem;
    padding: .62em .85em; border-radius: 8px;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--surface-2); color: var(--gold); }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .16s ease; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 262px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 8px; z-index: 130;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.dropdown::before {
    content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
    background: var(--bg); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 22px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: var(--text); font-size: .92rem;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--gold); }
.header-cta { margin-left: .4rem; }
.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
    width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; margin-left: auto;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle:hover { border-color: var(--accent); color: var(--gold); }

/* Mobile menu */
.mobile-menu { display: none; border-bottom: 1px solid var(--border); background: var(--surface); }
.mobile-menu.is-open { display: block; }
.mm-group { border-bottom: 1px solid var(--border); }
.mm-group:last-child { border-bottom: 0; }
.mm-trigger {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    background: none; border: 0; color: var(--text); cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: .98rem;
    padding: 1em clamp(16px, 4vw, 40px);
}
.mm-trigger .icon { width: 16px; height: 16px; transition: transform .16s ease; }
.mm-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm-panel { display: none; padding: .2em 0 1em; }
.mm-panel.is-open { display: block; }
.mm-panel a {
    display: block; padding: .6em clamp(28px, 5vw, 56px);
    color: var(--muted); font-size: .94rem;
}
.mm-panel a:hover { color: var(--gold); background: var(--accent-tint); }
.mm-cta { padding: 1em clamp(16px, 4vw, 40px) 1.4em; }

/* Ticker row (beacon addon) */
.beacon-ticker { border-bottom: 1px solid var(--border); background: var(--surface); }
.beacon-ticker__inner {
    max-width: 1200px; margin-inline: auto; padding: .55em clamp(16px, 4vw, 40px);
    display: flex; gap: 1.6em; overflow-x: auto; scrollbar-width: thin;
    font-family: var(--font-display); font-size: .82rem; letter-spacing: .02em;
    color: var(--muted);
}
.beacon-ticker__sym b { color: var(--emerald); font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); padding: .8em 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .container { display: flex; gap: .55em; flex-wrap: wrap; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background-image:
        radial-gradient(1000px 520px at 88% 8%, rgba(200, 127, 66, .12), transparent 62%),
        radial-gradient(820px 480px at -5% 90%, rgba(59, 178, 115, .1), transparent 58%),
        var(--mesh);
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid; gap: 2rem 3rem; padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.2rem, 4vw, 3.4rem);
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "copy form" "visual form" "foot foot";
    align-items: start;
}
.hero-copy { grid-area: copy; }
.hero-form { grid-area: form; }
.hero-visual { grid-area: visual; }
.hero-foot { grid-area: foot; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 1.4rem; }
.hero-copy h1 { margin-bottom: .5em; }
.hero-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 48px rgba(6, 10, 8, .5)); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin: 1.4em 0 0; }
.hero-meta a { display: inline-flex; align-items: center; gap: .55em; color: var(--text); font-size: .9rem; font-weight: 600; padding: .5em .9em; border: 1px solid var(--border); border-radius: 999px; background: rgba(23, 30, 26, .7); transition: border-color .16s ease, color .16s ease; }
.hero-meta a:hover { border-color: var(--accent); color: var(--gold); }
.hero-meta .icon { width: 18px; height: 18px; color: var(--emerald); }
.flags { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.3em; font-size: .9rem; color: var(--muted); }
.flag-chip { display: inline-flex; align-items: center; gap: .5em; padding: .35em .8em .35em .5em; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.flag-chip svg { width: 24px; height: 17px; border-radius: 2px; display: block; }

/* Form block */
.form-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.2rem, 2.6vw, 1.8rem); }
.form-block__heading { font-size: 1.12rem; margin-bottom: .6em; }
.form-block__intro { color: var(--muted); font-size: .92rem; margin-bottom: 1em; }
.form-block__card .beacon-form { display: block; }
.form-block__card .beacon-form__label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: .35em; font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; }
.form-block__card .beacon-form__input {
    width: 100%; padding: .72em .9em; margin-bottom: .9em;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); font: inherit; transition: border-color .16s ease, box-shadow .16s ease;
}
.form-block__card .beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 127, 66, .22); }
.form-block__card .beacon-form__submit {
    width: 100%; padding: .85em 1.2em; margin-top: .2em;
    background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; cursor: pointer;
    box-shadow: var(--shadow-sm); transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.form-block__card .beacon-form__submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-legal { font-size: .8rem; color: var(--muted); margin: .9em 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-manager { display: flex; align-items: center; gap: .55em; font-size: .86rem; color: var(--emerald); margin: .7em 0 0; }
.form-manager .icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Cards & grids */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.5rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #3A483E; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card--link:hover h3 { color: var(--gold); }
.icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 13px;
    background: var(--accent-tint); color: var(--accent); margin-bottom: 1rem;
    border: 1px solid rgba(200, 127, 66, .25);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--emerald { background: rgba(59, 178, 115, .1); color: var(--emerald); border-color: rgba(59, 178, 115, .25); }
.icon-badge--gold { background: rgba(217, 164, 65, .1); color: var(--gold); border-color: rgba(217, 164, 65, .28); }
.card-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.split-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

/* Steps */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; 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: var(--on-accent);
    font-family: var(--font-display); font-weight: 800; font-size: .95rem;
    margin-bottom: .9rem;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); margin: 1.4rem 0 1.8rem; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
caption { caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--text); padding: 1rem 1.2rem .4rem; font-size: 1.02rem; }
th, td { text-align: left; padding: .85em 1.2em; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(30, 39, 33, .45); }
td { color: #C7CFC9; }
.tick { color: var(--emerald); font-weight: 700; }
.cross { color: #C96A5B; font-weight: 700; }

/* Exchange chips */
.exchange-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: center; }
.ex-chip {
    display: inline-flex; align-items: center; gap: .6em;
    padding: .62em 1.25em; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    color: var(--muted); letter-spacing: .02em;
    transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.ex-chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.ex-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.ex-chip:nth-child(even) .dot { background: var(--gold); }

/* Reviews */
.reviews-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card { position: relative; overflow: hidden; }
.review-card::after {
    content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px;
    border-radius: 50%; border: 22px solid rgba(217, 164, 65, .07); pointer-events: none;
}
.review-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.avatar-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent-tint); color: var(--accent);
    border: 1px solid rgba(200, 127, 66, .35);
}
.avatar-badge .icon { width: 27px; height: 27px; }
.review-name { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.review-role { font-size: .84rem; color: var(--muted); }
.review-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.review-stat { font-size: .8rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: .3em .7em; }
.review-stat b { color: var(--emerald); font-weight: 600; }
.review-card blockquote { margin: 0 0 .8em; font-size: .95rem; color: #C7CFC9; }
.reviews-note { font-size: .82rem; color: var(--muted); margin-top: 1.4rem; }

/* Company block */
.company-facts { list-style: none; margin: 1.2em 0; padding: 0; display: grid; gap: .8rem; }
.company-facts li { display: flex; gap: .8em; align-items: flex-start; margin: 0; color: #C7CFC9; font-size: .96rem; }
.company-facts .icon { width: 19px; height: 19px; color: var(--emerald); flex-shrink: 0; margin-top: .18em; }
.company-facts b { color: var(--text); }

/* Timeline */
.timeline { list-style: none; margin: 1.4em 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--emerald-deep), var(--accent)); }
.timeline li { position: relative; padding: 0 0 1.5em 2.1em; margin: 0; }
.timeline li::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.timeline b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.05rem; margin-bottom: .25em; }
.timeline p { margin: 0; color: #C7CFC9; }

/* Map embed */
.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; margin: 1.4rem 0; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Callouts */
.note-callout { border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.3rem; margin: 1.4rem 0; color: #C7CFC9; box-shadow: var(--shadow-sm); }
.note-callout--alert { border-left-color: #C96A5B; }
.note-callout--emerald { border-left-color: var(--emerald); }
.note-callout h3, .note-callout h4 { margin-bottom: .3em; }
.note-callout p:last-child { margin-bottom: 0; }

/* FAQ accordion */
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1em;
    background: none; border: 0; cursor: pointer; text-align: left;
    padding: 1.05rem 1.3rem; color: var(--text);
    font-family: var(--font-display); font-weight: 600; font-size: .98rem;
}
.faq-q:hover { color: var(--gold); }
.faq-q .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); transition: transform .16s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.3rem 1.15rem; color: #C7CFC9; font-size: .95rem; }
.faq-item.is-open .faq-a { display: block; }

/* Vacancies */
.vacancy { display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: start; }
.vacancy .btn { white-space: nowrap; }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 .8rem; }
.vacancy-meta span { font-size: .8rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: .28em .7em; }
@media (max-width: 640px) { .vacancy { grid-template-columns: 1fr; } }

/* Divider band */
.divider-band { display: block; width: 100%; height: auto; margin: 0; opacity: .85; }
.band-wrap { border-block: 1px solid var(--border); background: var(--surface); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding: 3rem 0 2rem; }
.footer-col h3 { font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: block; padding: .32em 0; color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-disclaimer { border-top: 1px solid var(--border); padding: 1.6rem 0; }
.footer-disclaimer h2 { font-size: 1rem; margin-bottom: .6em; }
.footer-disclaimer p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; border-top: 1px solid var(--border); padding: 1.2rem 0 1.6rem; font-size: .84rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* Special offer page */
.urgency-strip { background: linear-gradient(90deg, var(--accent-tint), rgba(59, 178, 115, .12)); border-bottom: 1px solid var(--accent); }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; justify-content: center; padding-top: .8em; padding-bottom: .8em; font-family: var(--font-display); font-size: .84rem; font-weight: 600; letter-spacing: .02em; }
.urgency-strip span { display: inline-flex; align-items: center; gap: .5em; color: var(--gold); }
.urgency-strip .icon { width: 15px; height: 15px; color: var(--accent); }
.countdown { display: inline-flex; gap: .45rem; align-items: center; }
.countdown span.cd-cell {
    min-width: 44px; text-align: center; padding: .3em .25em;
    background: var(--bg); border: 1px solid var(--accent); border-radius: 8px;
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.so-hero { background-image: radial-gradient(900px 460px at 80% 0%, rgba(200, 127, 66, .16), transparent 60%), var(--mesh); }
.so-bonus { font-size: 1.05rem; color: var(--text); }
.so-final { border-block: 1px solid var(--accent); background: linear-gradient(180deg, var(--accent-tint), rgba(23, 30, 26, .6)); text-align: center; }
.so-final p { max-width: 640px; margin-inline: auto; }
.so-modal {
    position: fixed; inset: 0; z-index: 300; display: none;
    align-items: center; justify-content: center; padding: 1.2rem;
    background: rgba(6, 10, 8, .78);
}
.so-modal.is-open { display: flex; }
.so-modal__card {
    position: relative; width: min(480px, 100%); text-align: center;
    background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 2.2rem 1.8rem 1.8rem;
}
.so-modal__close {
    position: absolute; top: .7rem; right: .7rem; width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
    border-radius: 50%; cursor: pointer; font-size: 1.15rem; line-height: 1;
}
.so-modal__close:hover { color: var(--gold); border-color: var(--accent); }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card img { width: 150px; height: auto; margin: 0 auto 1rem; display: block; }

/* Utility */
.text-center { text-align: center; }
.stack-lg > * + * { margin-top: 1.6rem; }
.kv-list { list-style: none; padding: 0; margin: 1em 0; }
.kv-list li { display: flex; gap: 1em; padding: .5em 0; border-bottom: 1px dashed var(--border); margin: 0; }
.kv-list b { flex-shrink: 0; min-width: 170px; color: var(--text); font-weight: 600; }
.inline-links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin: 1.2em 0; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* Desktop nav on */
@media (min-width: 961px) {
    .main-nav { display: block; }
    .nav-toggle { display: none; }
    .header-cta { margin-left: .4rem; }
}
@media (max-width: 960px) {
    .header-cta { display: none; }
}
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "visual" "foot"; gap: 1.6rem; }
    .hero-visual { max-width: 520px; margin-inline: auto; }
    table { min-width: 480px; }
    .two-col { grid-template-columns: 1fr; }
}

/* Home conversion redesign: city photography, focused application, market motifs. */
.tv-ticker-wrapper { padding-top: 0 !important; height: 58px !important; }
[hidden] { display: none !important; }
.hero--conversion {
  isolation: isolate;
  padding: clamp(32px, 4.5vw, 64px) 0 20px;
  background: linear-gradient(90deg, rgba(15,20,17,.95) 0%, rgba(15,20,17,.68) 62%, rgba(15,20,17,.95) 100%), url('/assets/images/hero-city.jpg') center / cover;
  border-bottom: 1px solid var(--border);
}
.hero--conversion::before { display: none; }
.hero-market-art { position: absolute; inset: 0; color: var(--accent); opacity: .14; pointer-events: none; z-index: -1; }
.hero-market-art svg { width: 100%; height: 100%; }
.hero-conversion-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .9fr); grid-template-areas: 'heading application' 'details application' 'visual application' 'location location'; gap: 22px 48px; align-items: start; }
.hero-heading { grid-area: heading; min-width: 0; }
.hero-kicker, .application-kicker { font: 700 .72rem/1.5 var(--font-body); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero-heading h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.hero-heading h1 span { color: var(--accent); }
.hero-details { grid-area: details; min-width: 0; }
.hero-description { color: #C5CFD4; font-size: 1.02rem; line-height: 1.65; max-width: 590px; margin: 0 0 22px; }
.hero-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 0 0 22px; border-block: 1px solid var(--border); }
.hero-benefits li { padding: 14px 10px 14px 0; margin: 0; }
.hero-benefits li + li { border-left: 1px solid var(--border); padding-left: 16px; }
.hero-benefits strong, .hero-benefits span { display: block; }
.hero-benefits strong { font: 700 1.3rem/1.3 var(--font-body); color: var(--text); }
.hero-benefits span { font-size: .73rem; color: #BCC6CD; margin-top: 4px; }
.hero-application { grid-area: application; min-width: 0; padding: clamp(22px, 2.5vw, 32px); border: 1px solid var(--accent); border-radius: 22px; background: var(--surface); box-shadow: 0 22px 64px rgba(0,0,0,.4); border-top: 4px solid var(--accent); }
.hero-application .form-block { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.hero-application .form-block__heading { font-size: 1.45rem; line-height: 1.25; margin: 0 0 12px; }
.hero-application .form-block__intro { font-size: .9rem; line-height: 1.6; color: #BCC6CD; margin-bottom: 20px; }
.hero-application .form-block__card { padding: 0; border: 0; box-shadow: none; background: transparent; }
.hero-application input { min-height: 48px; }
.hero-application button[type='submit'] { min-height: 52px; width: 100%; white-space: normal; border-radius: 10px; font-weight: 700; box-shadow: 0 5px 20px rgba(0,0,0,.25); }
.hero-application .form-manager { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .85rem; }
.hero-application .form-legal { font-size: .74rem; }
.hero-risk { color: var(--muted); font-size: .74rem; line-height: 1.5; margin: 12px 0 0; }
.hero-details .flags, .hero-details .hero-flags { margin: 0 0 12px; font-size: .8rem; }
.hero-details .hero-links, .hero-details .hero-iconlinks, .hero-details .hero-meta { margin: 10px 0 0; gap: 8px; }
.hero-details .hero-foot { display: block; padding: 0; border: 0; }
.hero-details .hero-link, .hero-details .icon-link { padding: 8px 12px; font-size: .8rem; }
.hero-preview { grid-area: visual; width: 100%; max-width: 560px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(15,21,25,.8); }
.hero-preview > svg { height: 160px; width: 100%; object-fit: contain; filter: none; }
.hero-preview .term-panel { padding: 10px; box-shadow: none; }
.hero-preview .term-chart { max-height: 120px; }
.hero-preview .hero-orbits { display: none; }
.hero-preview-label { font-size: .67rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.hero-location { grid-area: location; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: .75rem; color: var(--text); margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.hero-location span { color: var(--muted); font-size: .65rem; }
.hero-location a { color: inherit; text-decoration: underline; }
.page-home .section-head h2 { letter-spacing: -.025em; }
.page-home .step { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.page-home .review-card { border-radius: 18px; border-top: 2px solid var(--accent); }
.review-photo { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border-radius: 50%; border: 2px solid var(--accent); }
#registration-form { scroll-margin-top: 100px; }
#mobile-menu { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
#mobile-menu button, #mobile-menu a { min-height: 44px; }
@media (min-width: 961px) { #mobile-menu { display: none !important; } }
@media (max-width: 960px) {
  .hero-conversion-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: 'heading' 'application' 'details' 'visual' 'location'; gap: 24px; }
  .hero-kicker { display: none; }
  .hero-heading h1 { font-size: clamp(1.9rem, 6.8vw, 3rem); max-width: 680px; }
  .hero-application { width: 100%; max-width: 680px; }
  .hero-preview { max-width: 680px; }
  .hero--conversion { background-position: 55% center; }
}
@media (max-width: 480px) {
  .hero--conversion { padding-top: 28px; }
  .hero-conversion-grid { gap: 20px; }
  .hero-application { padding: 20px 16px; border-radius: 16px; }
  .hero-application .form-block__heading { font-size: 1.3rem; }
  .hero-benefits li + li { padding-left: 10px; }
  .hero-benefits strong { font-size: 1.15rem; }
  .hero-location { flex-direction: column; }
  .page-home .reviews-grid { grid-template-columns: minmax(0,1fr); }
}

#mobile-menu .mobile-menu__inner { padding: 10px clamp(16px,4vw,40px) 22px; }
.page-special-offer #mobile-menu { max-height: calc(100dvh - 124px); }

.iti__selected-country, .iti__country-name {color: #111!important;}
