/* ==========================================================================
   eLON — ELON Technology Solutions PLC
   Website Design System · prototype v0.1 · 2026-09-23
   --------------------------------------------------------------------------
   Structure
     00  Design tokens — 3 candidate palettes (switch via html[data-palette])
     01  Reset & base
     02  Typography scale
     03  Layout primitives
     04  Components
     05  Sections
     06  Design-prototype toolbar (non-production)
     07  Responsive (mobile-first, 7 breakpoints)
   All on-canvas copy is English (site default language per brief v0.2).
   ========================================================================== */

/* ==========================================================================
   00 · DESIGN TOKENS — BLUE-LED SYSTEM
   The whole page is blue. Hue never changes across the interface; hierarchy is
   carried by lightness alone. A single conversion colour is the only exception
   and it is reserved for buttons / flagship markers (see --cta below).

   SITE DEFAULT = PALETTE B · "Royal Azure Blue" (chosen 2026-09-23).
   `:root` carries palette B, so the site is azure-blue even before JS runs.
   Palettes A and C remain available as opt-in variants via html[data-palette]
   (specificity 0,1,1 beats :root 0,1,0, so an explicit attribute always wins).
   ========================================================================== */
:root {
  /* brand ramp — deep navy → azure (palette B) */
  --brand-950: #031B3D;
  --brand-900: #052B5F;
  --brand-800: #073C80;
  --brand-700: #0B4FA8;
  --brand-600: #1564C4;
  --brand-500: #2B7DDD;
  --brand-400: #5C9FE8;
  --brand-300: #99C4F0;
  --brand-200: #C9DEF7;
  --brand-100: #E3EEFC;
  --brand-50:  #F3F8FE;
  /* rgb triplet of --brand-400 — lets translucent overlays (hero glow, node
     fills) follow whichever palette is active without a second hard-coded hue */
  --brand-400-rgb: 92,159,232;

  /* accent — same blue hue, one step brighter. Differentiation by lightness,
     never by a second hue. Used for accents, icons, eyebrows, highlights. */
  --accent-700: #0F4FA8;
  --accent-600: #1461C9;
  --accent-500: #1B76E5;
  --accent-400: #5C9DF0;
  --accent-100: #E4EEFE;

  /* conversion colour — the ONE non-blue element, kept to a very small area.
     Switch to the blue-on-blue option with the toolbar (data-cta="blue"). */
  --cta:      #E8A33D;
  --cta-dark: #CF8B25;
  --cta-ink:  #20180A;

  /* neutrals */
  --ink-900: #0C1420;
  --ink-800: #1A2433;
  --ink-700: #2A3547;
  --ink-600: #414F66;
  --ink-500: #556276;
  --ink-400: #647185; /* 5.0:1 on white · 4.65:1 on --surface-2 */
  --ink-300: #A9B4C4;
  --line:    #E3E8EF;   /* decorative dividers only — never a control boundary */
  --line-2:  #EEF2F7;
  --line-input: #8492A6; /* 3.2:1 on white — WCAG 1.4.11 control boundary */
  --placeholder: #64728A; /* 4.87:1 on white */
  --surface:   #FFFFFF;
  --surface-2: #F6F8FB;
  --surface-3: #EDF1F7;
  --dark-bg:   #052B5F;

  /* semantic */
  --ok-500: #0A7249;   /* 5.97:1 on white · 5.19:1 on --ok-100 */
  --ok-100: #DEF4EA;
  --warn-600: #96590A; /* 5.01:1 on --warn-100 */
  --warn-100: #FDF0DC;
  --err-600: #C0392B;  /* 4.54:1 on --err-100 */
  --err-100: #FBE6E3;

  /* hero gradient — navy → royal azure (palette B) */
  --hero-1: #031B3D;
  --hero-2: #06357A;
  --hero-3: #0B4FA8;

  /* radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(12,20,32,.06), 0 1px 3px rgba(12,20,32,.04);
  --sh-2: 0 4px 12px rgba(12,20,32,.07), 0 2px 4px rgba(12,20,32,.04);
  --sh-3: 0 12px 32px rgba(12,20,32,.10), 0 4px 8px rgba(12,20,32,.05);
  --sh-4: 0 24px 64px rgba(6,46,79,.16), 0 8px 20px rgba(6,46,79,.08);

  /* spacing scale (8px baseline) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* type */
  --font-display: "Manrope", "Inter", "Noto Sans Ethiopic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans Ethiopic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --nav-h: 68px;
}

/* ---- PALETTE A · "Deep Navy Blue" — opt-in variant. The deepest, most
   institutional register; the safest choice for tenders and regulator decks. ---- */
html[data-palette="a"] {
  --brand-950: #04182E;
  --brand-900: #06294A;
  --brand-800: #093A64;
  --brand-700: #0E4C87;
  --brand-600: #1462A8;
  --brand-500: #2278C6;
  --brand-400: #4E9BD8;
  --brand-300: #8FC1E8;
  --brand-200: #C5DDF3;
  --brand-100: #E2EEF9;
  --brand-50:  #F2F7FC;
  --brand-400-rgb: 78,155,216;

  --accent-700: #12568F;
  --accent-600: #176BAE;
  --accent-500: #1E82CE;
  --accent-400: #4BA3E2;
  --accent-100: #E0EFFA;

  --dark-bg: #06294A;
  --hero-1: #041A31;
  --hero-2: #06294A;
  --hero-3: #0A3E64;
}

/* ---- PALETTE C · "Midnight Indigo Blue" — deeper, premium, AI-leaning ---- */
html[data-palette="c"] {
  --brand-950: #0B1330;
  --brand-900: #131E4C;
  --brand-800: #1B2A6B;
  --brand-700: #24358A;
  --brand-600: #3145A8;
  --brand-500: #4A5EC4;
  --brand-400: #7C8CDA;
  --brand-300: #B0B9EC;
  --brand-200: #D6DAF6;
  --brand-100: #EAECFB;
  --brand-50:  #F5F6FD;
  --brand-400-rgb: 124,140,218;

  --accent-700: #0F5FA8;
  --accent-600: #1472C4;
  --accent-500: #1C86DE;
  --accent-400: #59A6EA;
  --accent-100: #E2F0FB;

  --dark-bg: #131E4C;
  --hero-1: #0B1330;
  --hero-2: #1B2A6B;
  --hero-3: #24358A;
}

/* ---- Conversion-colour option: full blue-on-blue (no warm accent at all) ---- */
html[data-cta="blue"] {
  --cta: var(--brand-600);
  --cta-dark: var(--brand-800);
  --cta-ink: #FFFFFF;
}

/* ==========================================================================
   01 · RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); color: var(--ink-900); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* visible focus — WCAG 2.2 */
:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--surface); color: var(--ink-900);
  padding: 12px 20px; border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   02 · TYPOGRAPHY SCALE  (8px baseline · 12 → 60)
   ========================================================================== */
.t-display { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.t-h1 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.t-h2 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
.t-h3 { font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; font-weight: 700; }
.t-h4 { font-family: var(--font-display); font-size: 18px; line-height: 1.3; font-weight: 700; }
.t-lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--ink-600); }
.t-body { font-size: 16px; line-height: 1.7; }
.t-sm { font-size: 14px; line-height: 1.6; }
.t-xs { font-size: 12.5px; line-height: 1.5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-700);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-500);
}
.on-dark .eyebrow, .eyebrow--light { color: var(--brand-300); }
.eyebrow--light::before { background: var(--accent-400); }

.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; }

/* ==========================================================================
   03 · LAYOUT PRIMITIVES
   ========================================================================== */
/* Flex/grid children default to min-width:auto, which lets a long unbreakable
   string push the whole page into horizontal scroll. Reset it wherever a text
   column sits next to an icon or a fixed-width track. */
.ind-card > span, .layer > div, .benefit > span, .drop__link > span,
.sol-card .card__foot, .pp__v, .stack > * { min-width: 0; }
.ind-card p, .layer p, .benefit span, .drop__d, .drop__t,
.card__body, .case p, .acc__panel { overflow-wrap: anywhere; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1360px; }
.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--dark { background: var(--dark-bg); color: #D7E3EF; }
.section--alt { background: var(--surface-2); }
.section--brand-tint { background: var(--brand-50); }

.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .t-h2 { margin: 14px 0 14px; }
.sec-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 24px; }
/* Explicit column counts — deliberately NOT auto-fit.
   With auto-fit the rendered column count is a function of the container width:
   at a 1200px container a `g-3` chain of minmax(280px,1fr) silently produces
   FOUR columns, so a 5-item group breaks 4+1, a 3-item group leaves a dead
   column on the right, and a 2-item group stops being two equal halves. Fixed
   tracks keep every group symmetric and make the layout predictable. */
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ==========================================================================
   04 · COMPONENTS
   ========================================================================== */

/* ---- 4.1 Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 26px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 650;
  text-decoration: none; white-space: nowrap;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), background-color .22s ease, box-shadow .22s ease, color .22s ease, border-color .22s ease;
  will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--cta); color: var(--cta-ink); box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--cta-dark); transform: translateY(-1px) scale(1.02); box-shadow: var(--sh-3); }

.btn--brand { background: var(--brand-700); color: #fff; box-shadow: var(--sh-2); }
.btn--brand:hover { background: var(--brand-800); transform: translateY(-1px) scale(1.02); box-shadow: var(--sh-3); }

.btn--outline { background: transparent; color: var(--brand-700); border-color: var(--line-input); }
.btn--outline:hover { background: var(--brand-50); border-color: var(--brand-500); transform: translateY(-1px); }

.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); transform: translateY(-1px); }

/* Hero primary — white-on-navy. Keeps the hero inside the blue family while
   still giving the main action maximum separation from the background. */
.btn--hero { background: #FFFFFF; color: var(--brand-900); box-shadow: 0 8px 24px rgba(2,12,24,.28); }
.btn--hero:hover { background: #E9F2FA; transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 30px rgba(2,12,24,.36); }

.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform .22s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650; font-size: 14.5px; color: var(--brand-700);
}
.link-arrow svg { transition: transform .22s ease; }
.link-arrow:hover { text-decoration: none; color: var(--brand-800); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- 4.2 Badges & pills ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge--flag { background: var(--cta); color: var(--cta-ink); }
.badge--brand { background: var(--brand-100); color: var(--brand-800); }
.badge--accent { background: var(--accent-100); color: var(--accent-700); }
.badge--ok { background: var(--ok-100); color: var(--ok-500); }
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--ink-500); }
.badge--on-dark { background: rgba(255,255,255,.12); color: #EAF2F9; }

.tag-kw {
  display: inline-block; padding: 3px 9px; border-radius: var(--r-sm);
  background: var(--surface-3); color: var(--ink-500);
  font-family: var(--font-mono); font-size: 11.5px;
}

/* ---- 4.3 Cards ---- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.card--flush { overflow: hidden; padding: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-100); color: var(--brand-700);
}
.card--accent .card__icon { background: var(--accent-100); color: var(--accent-700); }
.card__title { margin-bottom: 10px; }
.card__body { color: var(--ink-600); font-size: 15px; line-height: 1.65; }
.card__foot { margin-top: 20px; }
.card__flag {
  position: absolute; top: 20px; right: 20px;
}

/* top accent bar variant for solution cards */
.card--ruled::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--brand-700), var(--accent-500));
  opacity: 0; transition: opacity .26s ease;
}
.card--ruled:hover::before { opacity: 1; }

/* ---- 4.4 Stats ---- */
.stat { text-align: left; }
.stat__num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--brand-800);
  display: flex; align-items: baseline; gap: 2px;
}
.stat__num em { font-style: normal; font-size: .52em; font-weight: 700; color: var(--accent-600); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--ink-500); line-height: 1.5; }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__num em { color: var(--accent-400); }
.section--dark .stat__label { color: #A9C1D6; }

/* ---- 4.5 Forms ---- */
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-800); margin-bottom: 7px; }
.field__req { color: var(--err-600); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-input); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink-900);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 96px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-500); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23556276' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field__hint { margin-top: 6px; font-size: 12.5px; color: var(--ink-400); }
.field__error { margin-top: 6px; font-size: 12.5px; color: var(--err-600); font-weight: 600; }
.field--error .input { border-color: var(--err-600); }

.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--ink-500); line-height: 1.55; margin-top: 14px;
}
.form-note svg { flex: 0 0 auto; margin-top: 1px; color: var(--ok-500); }

/* ---- 4.6 Accordion (FAQ) ---- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 4px; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink-900);
  transition: color .2s ease;
}
.acc__btn:hover { color: var(--brand-700); }
.acc__sign {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: var(--brand-100); color: var(--brand-700);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), background-color .2s ease;
}
.acc__item[open] .acc__sign { transform: rotate(45deg); background: var(--cta); color: var(--cta-ink); }
.acc__panel { padding: 0 4px 24px; color: var(--ink-600); font-size: 15px; line-height: 1.7; max-width: 68ch; }
.acc__item summary { list-style: none; cursor: pointer; }
.acc__item summary::-webkit-details-marker { display: none; }

/* ---- 4.7 Media slots (real photography pending — brief §10 item 11) ---- */
.media-slot {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--accent-700) 100%);
  min-height: 260px;
  display: grid; place-items: center;
}
.media-slot::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 40% 40%, #000 20%, transparent 78%);
}
.media-slot__tag {
  position: relative; z-index: 2; text-align: center; color: #DCEAF6; padding: 24px;
}
.media-slot__tag strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.media-slot__tag span { font-size: 12.5px; color: #C3D5E6; }

/* ==========================================================================
   05 · SECTIONS
   ========================================================================== */

/* ---- 5.1 Utility bar ---- */
.util {
  background: var(--brand-950); color: #BFD4E6; font-size: 12.8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 6px 0; }
.util__list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.util__item { display: inline-flex; align-items: center; gap: 7px; color: #BFD4E6; }
.util__item:hover { color: #fff; text-decoration: none; }
.util__item svg { color: var(--accent-400); }
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.08); border-radius: var(--r-pill); padding: 3px;
}
.lang a {
  display: inline-block; padding: 3px 11px; border-radius: var(--r-pill);
  color: #BFD4E6; font-size: 12px; font-weight: 650; letter-spacing: .02em;
}
.lang a:hover { color: #fff; text-decoration: none; }
.lang a[aria-current="true"] { background: #fff; color: var(--brand-900); }

/* ---- 5.2 Navbar ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 17.8%; flex: 0 0 auto;
  display: block; overflow: hidden;
  box-shadow: var(--sh-1);
}
/* the tile, gradient and corner radius live in assets/logo/elon-mark.svg */
.logo__mark img { display: block; width: 100%; height: 100%; }
.logo__word { display: block; line-height: 1.05; }
.logo__word b {
  font-family: var(--font-display); font-size: 21px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink-900);
}
.logo__word b i { font-style: normal; color: var(--accent-600); }
.logo__word small {
  display: block; font-size: 9.4px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-400); font-weight: 650; margin-top: 2px;
}

.menu { display: flex; align-items: center; gap: 2px; }
.menu__item { position: relative; }
.menu__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--r-sm);
  color: var(--ink-700); font-size: 14.5px; font-weight: 550;
  transition: background-color .18s ease, color .18s ease;
}
.menu__link:hover, .menu__item:hover > .menu__link { background: var(--brand-50); color: var(--brand-800); text-decoration: none; }
.menu__link svg { color: var(--ink-400); transition: transform .2s ease; }
.menu__item:hover > .menu__link svg { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  min-width: 320px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drop--wide { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
/* right-anchored dropdown — required for items near the container's right edge,
   otherwise the panel pushes past the viewport and creates horizontal scroll */
.drop--right { left: auto; right: 0; }
.menu__item:hover .drop, .menu__item:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop__link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px; border-radius: var(--r-md);
  transition: background-color .16s ease;
}
.drop__link:hover { background: var(--brand-50); text-decoration: none; }
.drop__ico {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700);
}
.drop__t { display: block; font-size: 14px; font-weight: 650; color: var(--ink-900); }
.drop__d { display: block; font-size: 12.4px; color: var(--ink-500); line-height: 1.45; margin-top: 2px; }
.drop__flag { font-size: 10px; font-weight: 800; letter-spacing: .07em; color: var(--warn-600); text-transform: uppercase; }

/* right-hand cluster: primary CTA + burger (burger only appears ≤992px) */
.nav__right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav__cta { white-space: nowrap; }

.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-700);
  place-items: center;
}
.burger-panel {
  display: none; border-top: 1px solid var(--line); background: var(--surface);
  padding: 12px 0 20px;
}
.burger-panel.open { display: block; }
.burger-panel a {
  display: block; padding: 12px 4px; font-size: 15px; font-weight: 600;
  color: var(--ink-800); border-bottom: 1px solid var(--line-2);
}

/* ---- 5.3 Hero ---- */
.hero {
  position: relative; overflow: hidden; color: #E5EEF6;
  background: linear-gradient(150deg, var(--hero-1) 0%, var(--hero-2) 46%, var(--hero-3) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -14%; top: -22%;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-400-rgb),.30) 0%, rgba(var(--brand-400-rgb),0) 62%);
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center;
  padding: 76px 0 84px;
}
.hero h1 { color: #fff; margin: 20px 0 20px; }
.hero__lead { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.72; color: #BFD4E6; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__micro {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__micro li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.2px; color: #C3D5E6; }
.hero__micro svg { color: var(--accent-400); flex: 0 0 auto; }

/* hero visual — network mesh + verification card */
.hero__visual { position: relative; }
.hero__svg { width: 100%; height: auto; }

.verify-card {
  position: absolute; right: 4%; bottom: -6%; width: 268px;
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg); box-shadow: var(--sh-4);
  padding: 16px 18px; color: var(--ink-800);
  border: 1px solid var(--line);
}
.verify-card__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.verify-card__hd b { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.vrow { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.vrow:first-of-type { border-top: 0; }
.vrow span { color: var(--ink-500); }
.vrow b { color: var(--ink-900); font-variant-numeric: tabular-nums; }
.vrow .ok { color: var(--ok-500); display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }

/* ---- 5.4 Trust bar ---- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; }
.trustbar .stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
.foot-note { font-size: 12px; color: var(--ink-400); padding-bottom: 34px; margin-top: -22px; }

/* ---- 5.5 Solutions ---- */
.sol-card { display: flex; flex-direction: column; }
.sol-card .card__body { flex: 1; }
.sol-card .card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---- 5.6 Industries ---- */
.ind-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .24s cubic-bezier(.2,.7,.3,1), box-shadow .24s ease, border-color .24s ease;
}
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.ind-card__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.ind-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.ind-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* ---- 5.7 Layer stack (three-layer capability) ---- */
.stack { display: grid; gap: 14px; }
.layer {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .24s cubic-bezier(.2,.7,.3,1), box-shadow .24s ease;
}
.layer:hover { transform: translateX(6px); box-shadow: var(--sh-2); }
.layer__no {
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-700); color: #fff;
}
.layer:nth-child(2) .layer__no { background: var(--accent-600); }
.layer:nth-child(3) .layer__no { background: var(--cta); color: var(--cta-ink); }
.layer h3 { font-size: 17px; margin-bottom: 4px; }
.layer p { font-size: 14.2px; color: var(--ink-500); line-height: 1.6; }

/* ---- 5.8 Product mock (illustrative eKYC console) ---- */
.mock-wrap { position: relative; }
.mock {
  border-radius: var(--r-lg); overflow: hidden; background: #071627;
  border: 1px solid rgba(255,255,255,.10); box-shadow: var(--sh-4);
  font-size: 13px; color: #C7D5E3;
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #0B1E33; border-bottom: 1px solid rgba(255,255,255,.07); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #2A3B4F; }
.mock__url { flex: 1; margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: #7F92A6; }
.mock__body { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.mock__side { background: #091A2D; border-right: 1px solid rgba(255,255,255,.07); padding: 14px 12px; }
.mock__side b { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8497AC; margin: 4px 6px 10px; }
.mock__q { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; color: #93A7BA; }
.mock__q.on { background: rgba(var(--brand-400-rgb),.14); color: #E7F2FA; }
.mock__q i { width: 7px; height: 7px; border-radius: 50%; background: #E8A33D; flex: 0 0 auto; }
.mock__q.done i { background: var(--accent-400); }
.mock__main { padding: 18px; }
.mock__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock__hd b { color: #EAF2F9; font-size: 14px; letter-spacing: -.01em; }
.mock__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mock__panel { background: #0B1E33; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 13px; }
.mock__panel small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8497AC; margin-bottom: 9px; }
.mock__score { display: flex; align-items: baseline; gap: 6px; }
.mock__score b { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.mock__score span { font-size: 12px; color: #7F92A6; }
.mock__bar-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.09); margin-top: 10px; overflow: hidden; }
.mock__bar-line i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand-500), var(--accent-400)); }
.mock__doc {
  height: 118px; border-radius: 8px; background: linear-gradient(140deg, #102642, #17365C);
  border: 1px dashed rgba(255,255,255,.16); display: grid; place-items: center;
  color: #55697D; font-size: 11.5px; text-align: center; padding: 10px;
}
.mock__checks { display: grid; gap: 9px; }
.mock__check { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.mock__check span { color: #93A7BA; }
.mock-note {
  position: absolute; left: 0; bottom: -14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--warn-100); color: var(--warn-600);
  border: 1px solid #F3DCB4; border-radius: var(--r-pill);
  padding: 6px 14px; font-size: 12px; font-weight: 650;
}

/* ---- 5.9 Case studies ---- */
.case {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.case__top {
  height: 132px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  display: grid; place-items: center;
}
.case__top::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.case__top svg { position: relative; z-index: 2; }
.case__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case__client { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 9px; }
.case h3 { font-size: 17.5px; margin-bottom: 10px; }
.case p { font-size: 14.2px; color: var(--ink-500); line-height: 1.62; flex: 1; }
.case__foot { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- 5.10 CTA band ---- */
.cta-band { background: var(--dark-bg); color: #D7E3EF; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -10%; bottom: -40%; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-400-rgb),.24) 0%, rgba(var(--brand-400-rgb),0) 64%);
}
.cta-band__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding: 76px 0; }
.cta-band h2 { color: #fff; }
.benefit { display: flex; gap: 13px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.benefit__ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--brand-400-rgb),.20); color: var(--accent-400); margin-top: 1px; }
.benefit b { display: block; color: #fff; font-size: 15px; font-weight: 650; }
.benefit span { font-size: 13.6px; color: #A9C1D6; line-height: 1.55; }

.form-card {
  background: var(--surface); border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--sh-4); color: var(--ink-700);
}
.form-card__hd h3 { margin-bottom: 6px; }
.form-card__hd p { font-size: 14px; color: var(--ink-500); margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---- 5.11 Footer ---- */
.foot { background: var(--brand-950); color: #93A7BA; padding: 62px 0 0; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h4, .foot__h { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.foot a { color: #93A7BA; font-size: 14px; display: block; padding: 5px 0; }
.foot a:hover { color: #fff; text-decoration: none; }
.foot__brand p { font-size: 13.6px; line-height: 1.68; color: #7E93A8; margin-top: 16px; max-width: 34ch; }
.foot__contact { margin-top: 18px; display: grid; gap: 10px; }
.foot__contact a { display: inline-flex; align-items: center; gap: 9px; padding: 0; }
.foot__contact svg { color: var(--accent-400); flex: 0 0 auto; }
.foot__bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.6px; color: #8497AC;
}
.foot__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__legal a { display: inline; padding: 0; font-size: 12.6px; }

/* ---- 5.12 Floating WhatsApp — kept in the brand blue for a blue-led page.
        Swap `background` to #1FA855 if WhatsApp-green recognition is preferred. ---- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 15px; border-radius: var(--r-pill);
  background: var(--brand-700); color: #fff; font-weight: 650; font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(6,41,74,.34);
  transition: transform .24s cubic-bezier(.2,.7,.3,1), box-shadow .24s ease, background-color .22s ease;
}
.fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(6,41,74,.44); text-decoration: none; color: #fff; background: var(--brand-800); }

/* ==========================================================================
   05b · PAGE-LEVEL PATTERNS (all inner pages)
   Breadcrumb, inner page hero, process flows, architecture panels, comparison
   picks, prose, download cards, matrices, side rails.
   ========================================================================== */

/* ---- breadcrumb ---- */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 12.8px; color: #8FA9C2; flex-wrap: wrap; }
.crumb a { color: #8FA9C2; }
.crumb a:hover { color: #fff; text-decoration: none; }
.crumb svg { opacity: .55; flex: 0 0 auto; }

/* ---- inner page hero ---- */
.page-hero { background: linear-gradient(150deg, var(--hero-1), var(--hero-3)); color: #CFE0EE; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 25%, #000 10%, transparent 74%);
}
.page-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; padding: 44px 0 68px; }
.page-hero h1 { color: #fff; margin: 16px 0 18px; }
.page-hero p { font-size: 17px; line-height: 1.72; color: #B8CEDF; max-width: 58ch; }
.page-hero .eyebrow, .page-hero .eyebrow--light { color: var(--brand-300); }
.page-hero .eyebrow::before { background: var(--accent-400); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: 22px; }
.hero-panel h3, .hero-panel__t { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.hero-panel ul { display: grid; gap: 13px; }
.hero-panel li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: #C7D8E8; }
.hero-panel li > svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent-400); }
.hero-panel li > span { min-width: 0; }
.hero-panel li b { display: block; color: #fff; font-size: 14.2px; font-weight: 650; }
.hero-panel li span span, .hero-panel li em { font-style: normal; color: #C3D5E6; font-size: 13.2px; }

/* ---- before → after comparison ---- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.ba__col { border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); background: #fff; }
.ba__col--now { background: #FBF6EE; border-color: #F0E0C6; }
.ba__col--then { background: var(--brand-50); border-color: var(--brand-200); }
.ba__t { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; color: var(--ink-500); }
.ba__col--then .ba__t { color: var(--brand-700); }
.ba__col--now .ba__t { color: var(--warn-600); }
.ba ul { display: grid; gap: 12px; }
.ba li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); align-items: flex-start; }
.ba li svg { flex: 0 0 auto; margin-top: 3px; }
.ba__arrow { display: grid; place-items: center; color: var(--brand-400); }

/* ---- horizontal process flow ---- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px,100%),1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.flow__s { padding: 24px 22px; border-right: 1px solid var(--line-2); position: relative; }
.flow__s:last-child { border-right: 0; }
.flow__n { font-family: var(--font-mono); font-size: 11.5px; color: var(--brand-600); letter-spacing: .1em; }
.flow__s h3, .flow__s h4 { margin: 12px 0 9px; font-size: 16px; }
.flow__s p { font-size: 13.6px; line-height: 1.6; color: var(--ink-500); }
.flow__s small { display: block; margin-top: 12px; font-size: 12px; color: var(--ink-400); }

/* ---- architecture panel ---- */
.arch { background: var(--brand-950); border-radius: var(--r-xl); padding: 40px 32px; color: #C7D8E8; overflow: hidden; }
.arch__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 2; }
.arch__grid--3 { grid-template-columns: repeat(3, 1fr); }
.node { border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); padding: 16px 15px; background: rgba(255,255,255,.05); }
.node h3, .node h4 { color: #fff; font-size: 13.5px; margin-bottom: 7px; }
.node p { font-size: 12.4px; line-height: 1.55; color: #93A7BA; }
.node--core { background: rgba(var(--brand-400-rgb),.16); border-color: rgba(var(--brand-400-rgb),.5); }
.node--soft { background: rgba(255,255,255,.03); border-style: dashed; }
.arch__flow { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent-400); margin: 18px 0; font-size: 12.5px; flex-wrap: wrap; }
.arch__bar { height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--brand-400-rgb),.6), transparent); flex: 1; min-width: 40px; }
.arch__title { position: relative; z-index: 2; color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.arch__note { position: relative; z-index: 2; margin-top: 20px; font-size: 12.4px; color: #7E93A8; }

/* ---- comparison picks ---- */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%),1fr)); gap: 22px; }
.pick { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.pick--rec { border-color: var(--brand-300); box-shadow: var(--sh-2); }
.pick h3 { font-size: 19px; margin-bottom: 8px; }
.pick .pick__for { font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px; line-height: 1.6; }
.pick ul { display: grid; gap: 10px; }
.pick li { display: flex; gap: 9px; font-size: 14px; line-height: 1.6; color: var(--ink-700); align-items: flex-start; }
.pick li svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand-600); }
.pick__price { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-400); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* ---- vertical numbered steps ---- */
.steps { display: grid; }
.step { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__n { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-700); font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.6px; color: var(--ink-600); line-height: 1.65; }
.step ul { margin-top: 10px; display: grid; gap: 7px; }
.step ul li { display: flex; gap: 9px; font-size: 13.8px; color: var(--ink-600); line-height: 1.55; align-items: flex-start; }
.step ul li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-400); margin-top: 8px; }

/* ---- capability matrix ---- */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.matrix thead th { background: var(--brand-50); color: var(--brand-800); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.matrix tbody th { font-weight: 650; color: var(--ink-900); font-size: 14.5px; white-space: nowrap; }
.matrix td { color: var(--ink-600); font-size: 13.8px; line-height: 1.55; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix .yes { color: var(--ok-500); font-weight: 700; }
.matrix .opt { color: var(--ink-600); }

/* ---- download cards ---- */
.dl { display: grid; gap: 14px; }
.dl-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .24s cubic-bezier(.2,.7,.3,1), box-shadow .24s ease, border-color .24s ease; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.dl-card__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.dl-card__b { flex: 1; min-width: 0; }
.dl-card h3 { font-size: 16px; margin-bottom: 5px; }
.dl-card p { font-size: 13.8px; color: var(--ink-500); line-height: 1.6; }
.dl-card__meta { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 11.8px; color: var(--ink-400); font-family: var(--font-mono); }
.dl-card__act { flex: 0 0 auto; align-self: center; }

/* ---- long-form prose ---- */
.prose { max-width: 72ch; }
.prose h2 { margin: 40px 0 14px; font-size: clamp(22px, 2vw, 27px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 18.5px; }
.prose p { margin-bottom: 14px; font-size: 15.6px; line-height: 1.75; color: var(--ink-600); }
.prose ul { display: grid; gap: 9px; margin: 0 0 16px; }
.prose ul li { display: flex; gap: 10px; font-size: 15.2px; line-height: 1.68; color: var(--ink-600); align-items: flex-start; }
.prose ul li svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand-600); }
.prose strong { color: var(--ink-900); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- split: content + sticky side rail ---- */
.split { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 56px; align-items: start; }
.rail { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.rail-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; }
.rail-card--tint { background: var(--brand-50); border-color: var(--brand-200); }
.rail-card h3, .rail-card h4 { font-size: 12.6px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.rail-card ul { display: grid; gap: 10px; }
.rail-card ul a { font-size: 14.2px; display: block; }
.rail-card p { font-size: 13.8px; color: var(--ink-600); line-height: 1.62; }
.rail-card .btn { margin-top: 14px; }

/* ---- callout ---- */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid #F3DCB4; background: var(--warn-100); color: var(--warn-600); font-size: 14px; line-height: 1.62; }
.callout svg { flex: 0 0 auto; margin-top: 2px; }
.callout span { min-width: 0; }
.callout--info { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-800); }
.callout--info svg { color: var(--brand-600); }
.callout--ok { border-color: #C6E7D8; background: var(--ok-100); color: var(--ok-500); }

/* ---- pull quote ---- */
.quote { border-left: 3px solid var(--brand-400); padding: 4px 0 4px 22px; }
.quote p { font-family: var(--font-display); font-size: clamp(17px,1.6vw,21px); line-height: 1.6; color: var(--ink-800); font-weight: 600; letter-spacing: -.01em; }
.quote footer { margin-top: 14px; font-size: 13.2px; color: var(--ink-500); }

/* ---- kpi strip ----
   Flex rather than grid: the number of items varies by page (three here, four
   there) and the strip should always fill its width exactly. A fixed-track grid
   would leave a gap when the item count does not divide into the column count. */
.kpi { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kpi > div { flex: 1 1 180px; min-width: 0; background: var(--surface); padding: 22px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--brand-800); letter-spacing: -.03em; }
.kpi span { display: block; margin-top: 7px; font-size: 13.4px; color: var(--ink-500); line-height: 1.5; }

/* ---- contact cards ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.c-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.c-card > div { min-width: 0; }
.c-card__ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); }
.c-card h3 { font-size: 14.5px; margin-bottom: 4px; }
.c-card p { font-size: 13.6px; color: var(--ink-500); line-height: 1.6; }
.c-card a { font-size: 13.6px; color: var(--brand-700); font-weight: 600; }

/* ---- timeline ---- */
.tl { display: grid; border-left: 2px solid var(--brand-100); margin-left: 8px; }
.tl > div { position: relative; padding: 0 0 26px 26px; }
.tl > div::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-600); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-100); }
.tl b { display: block; font-size: 15px; color: var(--ink-900); font-family: var(--font-display); }
.tl span { display: block; font-size: 13.6px; color: var(--ink-500); margin-top: 3px; line-height: 1.6; }

/* ---- page-level responsive ---- */
@media (max-width: 992px) {
  .page-hero__in { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 52px; }
  .ba { grid-template-columns: 1fr; }
  .ba__arrow { transform: rotate(90deg); padding: 4px 0; }
  .arch__grid, .arch__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .rail { position: static; }
}
@media (max-width: 576px) {
  .arch { padding: 26px 18px; }
  .arch__grid, .arch__grid--3 { grid-template-columns: 1fr; }
  .dl-card { flex-direction: column; }
  .dl-card__act { align-self: flex-start; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .page-hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   06 · DESIGN-PROTOTYPE TOOLBAR (not part of the live site)
   ========================================================================== */
.proto-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 120;
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(12,20,32,.94); color: #E5EEF6;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  padding: 13px 15px; box-shadow: var(--sh-4); max-width: 262px;
  backdrop-filter: blur(8px);
}
.proto-bar__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.proto-bar__hd b { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: #8FA6BC; }
.proto-bar__x { background: none; border: 0; color: #8FA6BC; padding: 0; line-height: 1; font-size: 16px; }
.proto-bar__x:hover { color: #fff; }
.swatches { display: flex; gap: 8px; }
.sw {
  width: 42px; height: 42px; border-radius: 10px; border: 2px solid transparent;
  padding: 0; position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { border-color: #fff; }
.sw i { position: absolute; inset: 0; }
.sw i:nth-child(1) { clip-path: polygon(0 0, 100% 0, 0 100%); }
.sw i:nth-child(2) { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.sw--cta { width: 54px; height: 34px; border-radius: 8px; }
.sw--cta i:nth-child(1) { clip-path: none; }
.sw--cta i:nth-child(2) { clip-path: none; inset: 0 62% 0 0; }
.proto-bar__lbl { font-size: 11.5px; color: #8FA6BC; line-height: 1.45; }
.proto-bar__lbl b { color: #E5EEF6; display: block; font-size: 12.4px; }
.proto-bar__note { font-size: 11.5px; color: #8FA6BC; line-height: 1.45; border-top: 1px solid rgba(255,255,255,.12); padding-top: 9px; }
.proto-bar.min .proto-bar__body { display: none; }
html[data-clean="1"] .proto-bar { display: none; }

/* --------------------------------------------------------------------------
   Review-build notice. Injected into <body> by _build/prod.py in review mode
   only. While the model still carries a placeholder phone number, placeholder
   trust figures and a "[ to be inserted ]" licence number, anyone opening the
   shareable link has to be told so before they read anything else. The launch
   build omits the banner entirely.
   -------------------------------------------------------------------------- */
.proto-banner {
  background: var(--warn-100);
  border-bottom: 1px solid #EBCE9A;
  color: var(--warn-600);
  font-size: 13px;
  line-height: 1.5;
}
.proto-banner .container {
  display: flex; align-items: center; gap: 12px;
  padding-top: 9px; padding-bottom: 9px;
}
.proto-banner__tag {
  flex: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--warn-600);
  border-radius: 999px; padding: 4px 10px;
}
.proto-banner p { margin: 0; }
@media (max-width: 576px) {
  .proto-banner { font-size: 12.2px; }
  .proto-banner .container { align-items: flex-start; flex-wrap: wrap; gap: 6px 10px; }
}
@media print { .proto-banner { display: none !important; } }

/* annotation chip used on design-system page */
.note {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
}
.note--ok { background: var(--ok-100); color: var(--ok-500); }
.note--warn { background: var(--warn-100); color: var(--warn-600); }
.note--todo { background: var(--err-100); color: var(--err-600); }

/* ==========================================================================
   07 · RESPONSIVE — 7 breakpoints (min-width progressive enhancement from 320)
   bp: 320 · 480 · 576 · 768 · 992 · 1200 · 1440+
   ========================================================================== */
@media (max-width: 1200px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot__contact-col { grid-column: span 4; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .section { padding: 60px 0; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 64px; }
  .hero__visual { max-width: 620px; }
  .verify-card { position: static; width: 100%; margin-top: 20px; }
  .cta-band__in { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .trustbar__in { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trustbar .stat + .stat { border-left: 0; padding-left: 0; }
  .trustbar .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 28px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__contact-col { grid-column: span 2; }
  .menu { display: none; }
  .nav__burger { display: grid; }
  .nav__cta { display: none; }
  .drop--wide { grid-template-columns: 1fr; min-width: 320px; }
  .g-2, .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .util__in { flex-direction: column; align-items: flex-start; gap: 8px; padding: 9px 0; }
  .util__list { gap: 14px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 44px 1fr; }
  .layer .layer__cta { grid-column: 2; }
  .form-card { padding: 24px; }
  .trustbar__in { grid-template-columns: 1fr; }
  .trustbar .stat:nth-child(even) { border-left: 0; padding-left: 0; }
  .trustbar .stat + .stat { border-top: 1px solid var(--line); padding-top: 24px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__contact-col { grid-column: span 1; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
  .fab { right: 16px; bottom: 16px; padding: 14px; }
  .fab span { display: none; }
  .proto-bar { left: 12px; bottom: 12px; max-width: 224px; padding: 11px; }
}
@media (max-width: 576px) {
  .hero__cta .btn { width: 100%; }
  .logo__word small { display: none; }
  .badge--flag { position: static; }
  .card__flag { position: static; margin-bottom: 12px; }
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .t-display { font-size: 30px; }
  .mock__grid { grid-template-columns: 1fr; }
}
@media (min-width: 1440px) {
  :root { --container: 1240px; }
  .hero__in { padding: 96px 0 104px; }
  .section { padding: 88px 0; }
}
@media (min-width: 1920px) {
  :root { --container: 1320px; }
}
@media print {
  .proto-bar, .fab, .nav, .util { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Launch review fixes (docs/design-review.md) — kept together so the
   reasoning travels with the rules.
   ========================================================================== */
html { color-scheme: light; }

/* P1-1 · footer rule `.foot a` (0,1,1) was out-ranking .logo and .lang a */
.foot .logo { display: flex; padding: 0; }
.foot .lang a { display: inline-block; padding: 3px 11px; font-size: 12px; color: #BFD4E6; }
.foot .lang a[aria-current="true"] { background: #fff; color: var(--brand-900); }

/* P1-2 · only one dropdown at a time; Esc closes; hover bridge over the 8px gap */
.menu:hover .menu__item:not(:hover) > .drop { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.menu__item.is-closed .drop { opacity: 0 !important; visibility: hidden !important; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

/* P1-4 · focus ring that stays visible on the dark bands */
.hero, .page-hero, .cta-band, .section--dark, .foot, .util, .arch { --focus-ring: #fff; }
:focus-visible { outline-color: var(--focus-ring, var(--accent-500)); }
.mock__doc { color: #8AA0B8; }

/* P0-1 · lead form feedback */
.form-status { font-weight: 650; }
.form-status[hidden] { display: none; }
.form-note--ok { color: var(--ok-500); }
.cta-band .form-note--ok { color: #7EE2B3; }
.form-note--err { color: var(--err-600); }
.field--error .select, .field--error .textarea { border-color: var(--err-600); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err-600); }

/* P1-3 · mobile menu: capability sub-links + CTA */
.burger-panel a.burger-sub { padding: 10px 4px 10px 18px; font-size: 14px; font-weight: 500; color: var(--ink-600); }
.burger-panel a[aria-current="page"] { color: var(--brand-700); }
.burger-panel a.burger-cta { margin-top: 16px; border-bottom: 0; color: #fff; text-align: center; }

/* P2 · flag badge must not stretch across a single-column card */
.card__flag { align-self: flex-start; }

/* overflow:hidden containers can still be scrolled programmatically: focusing
   a form field inside .cta-band scrolled the band 44px sideways on phones,
   cutting the form's left edge off. clip forbids that scroll; the hidden line
   above each is the fallback for browsers without clip. */
.hero, .page-hero, .cta-band { overflow: hidden; overflow: clip; }

@media (max-width: 992px) {
  /* P1-3 · keep the conversion path in the header on tablets */
  .nav__cta { display: inline-flex; min-height: 44px; padding: 8px 14px; }
  /* P1-8 · touch targets ≥ 44px */
  .foot__contact a, .crumb a, .link-arrow, .c-card a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot a { padding: 10px 0; }
  .foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .lang a { padding: 8px 12px; }
  .btn--sm { min-height: 44px; }
}
@media (max-width: 576px) {
  .nav__cta { display: none; }
}

/* R2 · links inside running text must not rely on colour alone (WCAG 1.4.1) */
main p a:not([class]), main li a:not([class]), .callout a:not([class]), .form-note a, .rail-card p a, .acc__panel a {
  text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
}
/* R3 · scrollable comparison tables are keyboard-focusable regions */
.matrix-wrap:focus-visible { outline-offset: 4px; }

/* i18n · Amharic and Afaan Oromo labels run longer than English; on phones a
   button label wraps rather than pushing its column past the viewport. */
@media (max-width: 576px) {
  .btn { white-space: normal; text-align: center; }
  .page-hero__in > *, .hero__in > * { min-width: 0; }
}
:lang(am) body { line-height: 1.7; }
/* Ethiopic has no case: the wide tracking that makes English all-caps labels
   legible only spaces Amharic syllables apart. */
:lang(am) .eyebrow, :lang(am) .badge, :lang(am) .foot__h, :lang(am) .drop__flag,
:lang(am) .rail-card h3, :lang(am) .flow__n, :lang(am) .matrix thead th { letter-spacing: .01em; }

/* Between the burger breakpoint (992px) and 1200px the six menu items and the
   long logo tagline compete for one row: keep labels on one line and drop the
   tagline there, the word-mark alone carries the brand. */
.menu__link { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 993px) {
  .nav .logo__word small { display: none; }
  .menu__link { padding-left: 10px; padding-right: 10px; }
}

/* i18n · a live translation that native speakers are still proofreading */
.i18n-notice { background: var(--warn-100); border-bottom: 1px solid #F3DCB4; color: var(--warn-600); }
.i18n-notice p { margin: 0; padding: 9px 0; font-size: 13.5px; line-height: 1.55; }
.i18n-notice span[lang="en"] { opacity: .85; }
.i18n-notice a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
