/* =============================================================
   RLPE — Design system & global styles
   Brand palette: Navy #102B3B · Terracotta #B83222 · Gold #D4A65A · Cream #F7F4EE
   Type: Playfair Display (editorial headings) · Inter (UI / body)
   Visual reference: docs/approved-mockup.jpg
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #102B3B;
  --navy-800: #132f40;
  --navy-600: #2a4a5e;
  --terracotta: #B83222;
  --terracotta-dark: #9a2719;
  --gold: #D4A65A;
  --gold-soft: #EBCD92;      /* icon circles */
  --gold-tint: #F5E8CF;
  --cream: #F7F4EE;          /* approved main background */
  --sand: #F3EEE5;           /* deeper cream band (preparation / finder) */
  --light: #FCFAF6;          /* lightest warm surface (instead of pure white) */
  --peach: #FCEDE6;          /* registration / verification cards, eyebrow pills */
  --peach-line: #F1D5CA;
  --white: #ffffff;

  --ink: #102B3B;
  --ink-muted: #556672;
  --ink-soft: #77858f;
  --line: #ECE4D8;
  --line-strong: #DCD0BF;

  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,43,59,.04), 0 4px 14px rgba(16,43,59,.04);
  --shadow: 0 2px 8px rgba(16,43,59,.05), 0 14px 34px rgba(16,43,59,.08);
  --shadow-lg: 0 14px 30px rgba(16,43,59,.10), 0 30px 70px rgba(16,43,59,.12);
  --shadow-btn: 0 8px 22px rgba(184,50,34,.28);

  --wrap: 1200px;
  --gutter: 24px;
  --section-y: 84px;
  --t: 180ms cubic-bezier(.4,0,.2,1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
picture { display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--terracotta-dark); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 600; line-height: 1.16; letter-spacing: -.005em; color: var(--navy); }
p { margin: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); background: var(--cream); position: relative; }
.section--light { background: var(--light); }
.section--sand  { background: var(--sand); }
.section--fade  { background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 70%, var(--light) 100%); }
.section--fade-both { background: linear-gradient(180deg, var(--light) 0%, var(--cream) 18%, var(--cream) 82%, var(--light) 100%); }
.section--navy  { background: var(--navy-800); color: #c9d5dc; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: 64px; }

/* Eyebrows — small uppercase labels; pill variant matches the mockup */
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 16px;
}
.eyebrow--pill { background: var(--peach); padding: 8px 16px; border-radius: var(--radius-pill); }
.eyebrow--gold { background: var(--gold-tint); color: #8a6420; }
.eyebrow--on-dark { background: rgba(255,255,255,.12); color: #e9eef1; }

.s-title { font-size: clamp(2rem, 3.1vw, 2.75rem); }
.s-title--sm { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.s-lead { color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.65; max-width: 60ch; margin-top: 14px; }
.s-text { color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.7; margin-top: 18px; max-width: 58ch; }
.s-head { margin-bottom: 52px; }
.s-head--center { text-align: center; }
.s-head--center .s-lead { margin-inline: auto; }
.s-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; }
.s-head--split .s-lead { margin-top: 0; }
.s-lead--right { text-align: right; justify-self: end; }

.center-link { text-align: center; margin-top: 40px; }
.center-note { text-align: center; color: var(--ink-soft); font-size: .875rem; max-width: 70ch; margin: 30px auto 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px; border-radius: var(--radius-pill);
  font-family: var(--ff-body); font-size: 1rem; font-weight: 600; line-height: 1.25;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { flex: none; transition: transform var(--t); }
.btn:hover .btn__arrow, .link-arrow:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-accent { background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
.btn--outline-accent:hover { background: var(--terracotta); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 14px 32px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
/* External NEN link not yet configured: stays on-brand but signals "pending" */
.btn.is-pending { cursor: help; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: var(--terracotta); }

/* Helper note beside NEN buttons */
.ext-note {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line); color: var(--ink-muted);
  font-size: .8125rem; line-height: 1.35;
}
.ext-note svg { width: 14px; height: 14px; flex: none; }
.ext-note.is-pending { border-style: dashed; border-color: #e3c9a0; background: #FFF8EC; color: #7a5a1c; }
.ext-note--dark { background: transparent; border-color: rgba(255,255,255,.28); color: #d3dde3; }
.ext-note--dark.is-pending { background: rgba(212,166,90,.12); border-color: rgba(212,166,90,.5); color: #f0dcb6; }

/* ---------- 5. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { font-family: var(--ff-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }

.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--gold-soft); color: var(--navy);
}
.icon-circle svg { width: 22px; height: 22px; }

/* ---------- 6. Editorial governance markers ---------- */
.editorial-banner { background: #FFF6E5; border-bottom: 1px solid #F0DCB0; color: #6a4e12; font-size: .8125rem; padding: 8px 0; }
.editorial-banner strong { color: #533c08; }
.editorial-banner .wrap { display: flex; gap: 10px; align-items: flex-start; }
.editorial-banner svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }

.chip-draft, .chip-demo, .chip-pending {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-body); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.3; padding: 5px 11px; border-radius: var(--radius-pill);
  background: #FFF0D1; color: #7a5a10; border: 1px solid #EBD39A; text-align: center;
}
.chip-demo { background: #EDF1F4; color: #41586a; border-color: #d4dee5; margin-bottom: 10px; text-transform: none; letter-spacing: 0; font-size: .75rem; }
.chip-pending { text-transform: none; letter-spacing: 0; font-size: .75rem; }
/* DRAFT badge centred at the top of its card (approved correction) */
[data-claim] > .chip-draft, [data-claim-chip] > .chip-draft { display: flex; width: fit-content; margin: 0 auto 18px; }
.benefit > .chip-draft { margin-top: -6px; }

.note-box {
  background: var(--peach); border: 1px solid var(--peach-line); border-left: 4px solid var(--terracotta);
  border-radius: var(--radius); padding: 18px 22px; font-size: .9375rem; color: #6c4034;
}
.note-box strong { color: var(--terracotta-dark); display: block; margin-bottom: 4px; }
.pending-text { color: var(--ink-soft); font-style: italic; }
.pending-block {
  border: 1.5px dashed #e3c9a0; background: #FFF9EF; border-radius: var(--radius);
  padding: 20px 22px; color: #6d5a33; font-size: .9375rem;
}
.pending-block strong { display: block; color: #5b4313; margin-bottom: 4px; }

/* Toast (replaces alert dialogs for pending links) */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1200;
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  width: min(460px, calc(100vw - 32px));
  background: var(--navy); color: #dfe7ec; border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .875rem;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.toast[data-show="true"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast strong { display: block; color: #fff; margin-bottom: 2px; font-size: .9375rem; }

/* =============================================================
   7. HEADER
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(253,252,250,.97);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; flex: none; }
/* Logo enlarged vs. the original Genspark header (spec §3.1); aspect ratio preserved */
.brand img { height: 60px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 500; color: var(--navy); white-space: nowrap;
}
.main-nav a:hover { color: var(--terracotta); }
.main-nav a[aria-current="page"] { color: var(--terracotta); font-weight: 600; box-shadow: inset 0 -2px 0 var(--terracotta); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 3px; background: #fff; }
.lang-switch button {
  border: 0; background: transparent; color: var(--ink-muted);
  min-width: 40px; padding: 7px 11px; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  transition: background var(--t), color var(--t);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--navy); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius-sm); place-items: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 950; background: rgba(16,43,59,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--light); padding: 18px 20px 32px; overflow-y: auto;
  transform: translateX(100%); transition: transform 220ms cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 12px;
}
.mobile-nav[data-open="true"] .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__top img { height: 42px; width: auto; }
.mobile-nav__list a {
  display: block; padding: 14px 10px; font-size: 1.0625rem; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__list a[aria-current="page"] { color: var(--terracotta); font-weight: 600; }
.lang-switch--mobile { align-self: flex-start; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff;
  border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--navy);
}

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(240,214,190,.55), transparent 70%),
    var(--cream);
  padding-block: 64px 76px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero--media-left .hero__media { order: -1; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.75rem); font-weight: 500; line-height: 1.1; margin-bottom: 26px; }
.hero__text { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__find { margin-top: 22px; }
.hero__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 12% 50%;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}

/* Social icons (VK / Telegram / WhatsApp): one horizontal row centred
   beneath the hero photograph, relative to the image container. */
.social-rail { display: flex; justify-content: center; gap: 15px; margin-top: 28px; }
.social-rail__item, .social-dot {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(16,43,59,.18);
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.social-rail__item svg { width: 22px; height: 22px; }
.social-rail__item--vk { background: #0077FF; }
.social-rail__item--telegram { background: #2AABEE; }
.social-rail__item--whatsapp { background: #25D366; }
.social-rail__item:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 22px rgba(16,43,59,.24); }
.social-rail__item[aria-disabled="true"] { cursor: help; }

/* =============================================================
   9. WHY — benefit cards
   ============================================================= */
.benefit { display: flex; flex-direction: column; }

/* =============================================================
   10. SPLIT (About / Preparation)
   ============================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__body .btn { margin-top: 32px; }
.split__media img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.media--about img { aspect-ratio: 6 / 5; border-radius: 22px 22px 90px 22px; object-position: 50% 30%; }
.split--prep { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.media--prep img { aspect-ratio: 1 / 1; border-radius: 22px 110px 22px 22px; object-position: 38% 50%; }

/* =============================================================
   11. CEFR LEVELS
   ============================================================= */
.cefr-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cefr-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 14px 28px; box-shadow: var(--shadow-sm);
}
.cefr-card:not(:last-child)::after {
  content: ''; position: absolute; top: 51px; right: -19px; width: 20px; height: 2px;
  background: var(--seg, var(--gold));
}
.cefr-card__badge {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600;
}
.cefr-card__name { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.cefr-card__code { font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; margin: 4px 0 10px; }
.cefr-card__desc { font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }
.lvl-a1 { background: #E9C3A0; color: #5b3a1e; }
.lvl-a2 { background: #DDA674; }
.lvl-b1 { background: #CB6A4C; }
.lvl-b2 { background: #7F97A5; }
.lvl-c1 { background: #4C7389; }
.lvl-c2 { background: var(--navy); }
.cefr-card:nth-child(1) { --seg: #E2B791; }
.cefr-card:nth-child(2) { --seg: #D28A62; }
.cefr-card:nth-child(3) { --seg: #A88274; }
.cefr-card:nth-child(4) { --seg: #6C8797; }
.cefr-card:nth-child(5) { --seg: #2F5268; }

/* =============================================================
   12. HOW IT WORKS + SKILLS
   ============================================================= */
.steps-panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 44px 40px 30px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before {
  content: ''; position: absolute; top: 39px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 1;
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--gold);
  color: var(--terracotta); font-family: var(--ff-display); font-size: 1.375rem; font-weight: 600;
}
.step h3 { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .9063rem; color: var(--ink-muted); max-width: 26ch; margin-inline: auto; }
.steps-panel__note { text-align: center; font-size: .8125rem; color: var(--ink-soft); margin-top: 28px; }

.skills-panel { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.skills-panel__head { background: var(--peach); padding: 34px 32px 38px; text-align: center; border-radius: 0 0 48px 48px; }
.skills-panel__title { color: var(--terracotta); font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 10px; }
.skills-panel__head p { color: var(--ink-muted); max-width: 60ch; margin-inline: auto; font-size: .9688rem; }
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding: 32px 44px 40px; }
.skill {
  display: flex; gap: 16px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.skill--wide { grid-column: 1 / -1; }
.skill__icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--terracotta);
}
.skill__icon svg { width: 20px; height: 20px; }
.skill strong { display: block; font-size: 1rem; color: var(--navy); }
.skill strong + span { display: block; font-size: .9063rem; color: var(--ink-muted); margin-top: 2px; }

/* =============================================================
   13. PREPARATION list
   ============================================================= */
.prep-list { display: grid; gap: 14px; margin-top: 28px; }
.prep-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; color: inherit;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.prep-item:hover { border-color: var(--peach-line); box-shadow: var(--shadow-sm); color: inherit; transform: translateY(-1px); }
.prep-item__icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--peach);
  display: grid; place-items: center; color: var(--terracotta);
}
.prep-item__icon svg { width: 20px; height: 20px; }
.prep-item strong { display: block; font-size: 1rem; color: var(--navy); }
.prep-item strong + span { display: block; font-size: .9063rem; color: var(--ink-muted); margin-top: 3px; line-height: 1.55; }

/* =============================================================
   14. CTA cards (Registration / Verification) + navy band
   ============================================================= */
.cta-card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: center;
  background: var(--peach); border: 1px solid var(--peach-line); border-radius: var(--radius-xl);
  padding: 52px 52px;
}
.cta-card__body p { color: var(--ink-muted); margin-top: 14px; max-width: 56ch; font-size: 1.0156rem; }
.cta-card__body .eyebrow { margin-bottom: 14px; }
.cta-card__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-card--verify { grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; }
.cta-card__icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #EFD49E, var(--gold)); color: var(--navy);
}
.cta-card__icon svg { width: 34px; height: 34px; }

.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.band__body p { margin-top: 16px; max-width: 54ch; font-size: 1.0313rem; color: #c9d5dc; }
.band__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section--navy .eyebrow { margin-bottom: 16px; }

/* =============================================================
   15. FINDER — navy mountain panel + white search card
   ============================================================= */
.finder-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start;
  border-radius: var(--radius-xl); padding: 56px;
  /* Stylised ridge illustration; to use the approved Ala-Too photograph,
     replace the url() below with e.g. url(../images/finder-mountains.jpg). */
  background: var(--navy) url(../images/finder-mountains.svg) center / cover no-repeat;
  color: #d8e1e7;
}
.finder-hero__intro { padding-top: 4px; }
.finder-hero h2 { color: #fff; }
.finder-hero__intro p { margin-top: 18px; font-size: 1.0313rem; line-height: 1.7; color: #d8e1e7; max-width: 46ch; }
.finder-hero__intro .finder-hero__integrity { font-size: .875rem; color: #f0dcb6; margin-top: 14px; }

.finder { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; color: var(--ink); }
.finder__tabs { display: flex; gap: 4px; padding: 5px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-pill); margin-bottom: 22px; }
.finder__tabs button {
  flex: 1; min-height: 42px; padding: 8px 14px; border: 0; background: transparent; border-radius: var(--radius-pill);
  font-size: .9375rem; font-weight: 600; color: var(--ink-muted); transition: background var(--t), color var(--t), box-shadow var(--t);
}
.finder__tabs button:hover { color: var(--navy); }
.finder__tabs button[aria-selected="true"] { background: var(--terracotta); color: #fff; box-shadow: 0 6px 14px rgba(184,50,34,.25); }
.finder__title { font-family: var(--ff-body); font-size: 1.0625rem; font-weight: 700; margin-bottom: 16px; }
.filters { display: grid; gap: 14px; }
.filters__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { display: block; font-size: .8125rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: .9375rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.field select {
  appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23556672' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(184,50,34,.12); }
.finder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.filters__count { font-size: .8125rem; color: var(--ink-soft); margin-left: auto; }
.btn-clear { border: 0; background: none; color: var(--terracotta); font-size: .9063rem; font-weight: 600; padding: 6px 2px; min-height: 44px; }
.btn-clear:hover { text-decoration: underline; }
.result-list { display: grid; gap: 0; margin-top: 18px; outline: none; }
.result-list .result + .result { border-top: 1px solid var(--line); }
.result { padding: 16px 2px; }
.result__name { font-weight: 700; font-size: 1rem; color: var(--navy); }
.result__loc { font-size: .875rem; color: var(--ink-soft); margin-top: 2px; }
.result__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--cream); color: var(--ink-muted); border: 1px solid var(--line); }
.tag--ok { background: #EAF3EC; color: #2c6238; border-color: #cfe4d5; }
.tag--gold { background: var(--gold-tint); color: #7a5a10; border-color: #e8d7ae; }
.result__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: .875rem; font-weight: 600; }

.country-list { display: grid; }
.country-row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 2px; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit;
}
.country-row:last-child { border-bottom: 0; }
.country-row:hover .country-row__name { color: var(--terracotta); }
.country-row__code { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-tint); color: #7a5a10; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.country-row__text { flex: 1; min-width: 0; }
.country-row__name { display: block; font-weight: 600; color: var(--navy); transition: color var(--t); }
.country-row__meta { display: block; font-size: .8125rem; color: var(--ink-soft); }
.country-row__chev { color: var(--gold); flex: none; }
.finder__more { margin-top: 14px; font-size: .9375rem; }

.empty-state { text-align: center; padding: 26px 12px 18px; }
.empty-state h4 { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.empty-state p { color: var(--ink-muted); font-size: .9063rem; max-width: 44ch; margin-inline: auto; }
.empty-state--directory { background: var(--cream); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* =============================================================
   16. FAQ accordion
   ============================================================= */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-layout .btn { margin-top: 28px; }
.accordion { display: grid; gap: 14px; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow var(--t), border-color var(--t); }
.accordion__item:has([aria-expanded="true"]) { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.accordion__h { font: inherit; margin: 0; }
.accordion__btn {
  width: 100%; display: flex; gap: 20px; align-items: center; justify-content: space-between;
  padding: 22px 24px; min-height: 64px; border: 0; background: none; text-align: left; border-radius: var(--radius);
  font-family: var(--ff-body); font-size: 1.0313rem; font-weight: 600; color: var(--navy);
}
.accordion__btn:hover { color: var(--terracotta); }
.accordion__icon {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--terracotta);
  color: var(--terracotta); display: grid; place-items: center; transition: transform var(--t), background var(--t), color var(--t);
}
.accordion__btn[aria-expanded="true"] .accordion__icon { background: var(--terracotta); color: #fff; transform: rotate(45deg); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height 240ms ease; }
.accordion__panel-inner { padding: 0 64px 22px 24px; color: var(--ink-muted); font-size: .9688rem; }

/* =============================================================
   17. MODAL
   ============================================================= */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: rgba(16,43,59,.6); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.modal[data-open="true"] { opacity: 1; visibility: visible; }
.modal__dialog {
  background: #fff; border-radius: var(--radius-xl); width: min(760px, 100%); max-height: min(88vh, 860px);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.985); transition: transform 220ms cubic-bezier(.4,0,.2,1);
}
.modal[data-open="true"] .modal__dialog { transform: none; }
.modal__head { padding: 26px 30px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.modal__head h2 { font-size: 1.5rem; }
.modal__head p { font-size: .9063rem; color: var(--ink-muted); margin-top: 8px; }
.modal__body { padding: 24px 30px; overflow-y: auto; }
.modal__foot { padding: 20px 30px 26px; border-top: 1px solid var(--line); background: var(--cream); }
.req-heading { font-family: var(--ff-body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin: 4px 0 12px; }
.req-heading:not(:first-child) { margin-top: 26px; }
.req-list { display: grid; gap: 10px; counter-reset: req; }
.req-item { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 58px; background: #fff; font-size: .9063rem; color: var(--ink-muted); line-height: 1.55; }
.req-item strong { display: block; color: var(--navy); font-weight: 700; font-size: .9375rem; margin-bottom: 2px; }
.req-list--numbered .req-item::before {
  counter-increment: req; content: counter(req);
  position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--peach); color: var(--terracotta);
  font-family: var(--ff-display); font-weight: 600; font-size: .9375rem;
}
.req-list--recommended .req-item { background: var(--cream); }
.req-list--recommended .req-item::before {
  content: ''; position: absolute; left: 25px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}
.req-note { margin-top: 22px; }
.req-note strong { display: inline; margin: 0 6px 0 0; }
.ack { display: flex; gap: 12px; align-items: flex-start; font-size: .9063rem; color: var(--ink); margin-bottom: 18px; cursor: pointer; }
.ack input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--terracotta); cursor: pointer; }
.ack-hint { font-size: .8125rem; color: var(--ink-soft); margin-top: 10px; }

/* =============================================================
   18. FOOTER
   ============================================================= */
.site-footer { background: var(--sand); border-top: 1px solid var(--line); padding-block: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 56px; }
.footer-logo { display: inline-block; background: transparent; margin-bottom: 22px; }
.footer-logo img { height: 54px; width: auto; }
.footer-brand p { font-size: .9375rem; color: var(--ink-muted); max-width: 38ch; }
.footer-col h2 { font-family: var(--ff-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 6px 0 18px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 36px; }
.footer-col a { font-size: .9375rem; color: var(--ink-muted); cursor: pointer; }
.footer-col a:hover { color: var(--terracotta); }
.footer-contact { font-size: .9375rem; color: var(--ink-muted); line-height: 1.8; }
.footer-contact a { color: var(--navy); font-weight: 500; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-dot { width: 40px; height: 40px; background: #fff; color: var(--navy); border: 1px solid var(--line-strong); box-shadow: none; }
.social-dot svg { width: 18px; height: 18px; }
.social-dot:hover { color: var(--terracotta); border-color: var(--terracotta); }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid var(--line-strong); padding-block: 22px 28px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--ink-soft);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a { color: var(--navy); }
.footer-bottom a:hover { color: var(--terracotta); }
.footer-legal-note { width: 100%; font-size: .8125rem; font-style: italic; }

/* =============================================================
   19. INTERNAL PAGES
   ============================================================= */
.page-hero {
  background: radial-gradient(800px 360px at 100% 0%, rgba(240,214,190,.5), transparent 70%), var(--cream);
  padding-block: 72px 64px; border-bottom: 1px solid var(--line);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.12; }
.page-hero__lead { font-size: 1.1875rem; color: var(--ink-muted); margin-top: 20px; max-width: 56ch; line-height: 1.6; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.breadcrumbs { font-size: .8125rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs span[aria-hidden] { margin: 0 8px; }

.subnav { position: sticky; top: 92px; z-index: 50; background: rgba(252,250,246,.97); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; color: var(--ink-muted); }
.subnav a:hover { background: var(--peach); color: var(--terracotta); }

.prose { max-width: 72ch; }
.prose p, .prose ul { color: var(--ink-muted); font-size: 1.0313rem; line-height: 1.75; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 16px; }
.prose ul { padding-left: 0; }
.prose li { position: relative; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose strong { color: var(--navy); }

.block + .block { margin-top: 28px; }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-family: var(--ff-body); font-size: 1.0625rem; font-weight: 700; margin-bottom: 10px; }
.info-card p { color: var(--ink-muted); font-size: .9375rem; }
.info-card .chip-pending, .info-card .chip-draft { margin-bottom: 14px; }
.info-card .icon-circle { margin-bottom: 18px; }

.kv { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.kv__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 18px 24px; align-items: center; }
.kv__row + .kv__row { border-top: 1px solid var(--line); }
.kv__key { font-weight: 600; color: var(--navy); }
.kv__val { color: var(--ink-muted); }

.contact-list { display: grid; gap: 10px; margin-top: 12px; }
.contact-list a { font-weight: 600; }

.cta-strip-simple { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }

/* helpers used on internal pages */
.block-stack { display: grid; gap: 16px; align-content: start; }
.block-stack > .block { margin-top: 0; }
.s-head--center .s-text { margin-inline: auto; }
.btn-reset { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--terracotta); }
.kv--plain { border: 0; border-radius: 0; background: transparent; margin-top: 6px; }
.kv--plain .kv__row { padding: 12px 0; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.kv--levels { max-width: 860px; margin-inline: auto; }
.kv--levels .kv__key { display: flex; align-items: center; gap: 14px; }
.badge-sm { width: 40px; height: 40px; margin: 0; font-size: .9375rem; flex: none; }
.skills-grid--plain { padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-claim-chip] > .chip-draft:first-child { margin-left: 0; }
.prose[data-claim-chip] > .chip-draft, [data-claim] > [data-claim-chip] > .chip-draft { margin: 0 0 16px; }
.skills-panel__head > .chip-draft { margin: 0 auto 16px !important; }
.cta-card__actions--row { flex-direction: row; flex-wrap: wrap; }
.info-card h3 + p { margin-top: 0; }
.page-hero .info-card { align-self: stretch; }

/* =============================================================
   20. RESPONSIVE
   ============================================================= */
@media (max-width: 1200px) {
  .main-nav a { padding: 8px 8px; font-size: .9063rem; }
  .header-inner { gap: 16px; }
  .brand img { height: 52px; }
  .header-cta { padding-inline: 16px; }
}
@media (max-width: 1100px) {
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  :root { --section-y: 68px; }
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 76px; }
  .brand img { height: 48px; }
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .subnav { top: 76px; }

  .hero { padding-block: 40px 56px; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media, .hero--media-left .hero__media { order: -1; }
  .hero h1 { font-size: clamp(2.25rem, 6.4vw, 2.75rem); }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .cefr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cefr-card:nth-child(3)::after { display: none; }
  .split, .split--prep, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .split--prep .split__media { order: 0; }
  .media--prep img { aspect-ratio: 3 / 2; }
  .s-head--split { grid-template-columns: 1fr; gap: 14px; }
  .s-lead--right { text-align: left; justify-self: start; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .steps::before { display: none; }
  .cta-card, .cta-card--verify { grid-template-columns: 1fr; gap: 26px; padding: 40px 32px; }
  .cta-card__actions { align-items: flex-start; }
  .band { grid-template-columns: 1fr; gap: 30px; }
  .band__actions { align-items: flex-start; }
  .finder-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
}

@media (max-width: 640px) {
  :root { --section-y: 56px; --gutter: 16px; }
  body { font-size: 15.5px; }
  .brand img { height: 42px; }
  .lang-switch button { min-width: 38px; padding: 6px 9px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.375rem); }
  .hero__text { font-size: 1.0625rem; }
  .hero__cta .btn { width: 100%; }
  .hero__media img { aspect-ratio: 4 / 3; object-position: 18% 50%; }
  .s-title { font-size: clamp(1.75rem, 7.4vw, 2rem); }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cefr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cefr-card::after { display: none; }
  .steps-panel { padding: 30px 20px 22px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .step__num { width: 56px; height: 56px; margin: 0; grid-row: span 2; font-size: 1.125rem; }
  .step p { margin-inline: 0; max-width: none; }
  .skills-panel__head { padding: 28px 20px 30px; border-radius: 0 0 32px 32px; }
  .skills-grid { grid-template-columns: 1fr; padding: 22px 16px 24px; }
  .cta-card, .cta-card--verify { padding: 30px 20px; border-radius: var(--radius-lg); }
  .cta-card__actions, .band__actions { width: 100%; align-items: stretch; }
  .cta-card__actions .btn, .band__actions .btn { width: 100%; }
  .ext-note { justify-content: center; text-align: center; border-radius: var(--radius); }
  .finder-hero { padding: 30px 16px 16px; border-radius: var(--radius-lg); }
  .finder { padding: 18px 16px; }
  .filters__row { grid-template-columns: 1fr; }
  .finder__tabs button { font-size: .875rem; padding: 8px 8px; }
  .filters__count { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-height: 94vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal__head, .modal__body, .modal__foot { padding-inline: 20px; }
  .accordion__btn { padding: 18px 18px; font-size: 1rem; }
  .accordion__panel-inner { padding: 0 18px 20px; }
  .kv__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .page-hero { padding-block: 44px 44px; }
}
@media (max-width: 380px) {
  .lang-switch { padding: 2px; }
  .header-inner { gap: 10px; }
}
@media (max-width: 640px) {
  .eyebrow { letter-spacing: .1em; }
  .skills-grid--plain { grid-template-columns: 1fr; }
  .kv--plain .kv__row { grid-template-columns: 1fr; }
}
