/*
 * SkillPass Africa — the design system.
 *
 * White, quiet and exact. The product sells trust, and a page that looks
 * careful is the first evidence of it. Colour is kept for meaning, and two
 * colours are never decorative:
 *   --verified   an independent party confirmed this
 *   --selfrep    the worker stated this
 *
 * No web fonts and no framework: each device's own interface face (SF Pro,
 * Segoe UI, Roboto), because the people this is for pay for data by the
 * megabyte, and a font download would be the heaviest thing most pages carry.
 */

:root {
  --ink-950: #060b16;
  --ink-900: #0b1324;
  --ink-800: #1b2436;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #eef2f6;
  --ink-50:  #f8fafc;

  --canvas: #ffffff;
  --surface: #ffffff;
  --line: #e6e9ef;

  /* Emerald, kept for actions, accents and the verified state. */
  --brand-50:  #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --brand-900: #064e3b;
  --gold-400: #f5c451;
  --gold-600: #b7791f;

  --verified: #047857;  --verified-bg: #ecfdf5; --verified-line: #a7f3d0;
  --selfrep:  #92400e;  --selfrep-bg:  #fffbeb; --selfrep-line:  #fde68a;
  --pending:  #1d4ed8;  --pending-bg:  #eff6ff; --pending-line:  #bfdbfe;
  --warn:     #b45309;
  --danger:   #b91c1c;  --danger-bg:   #fef2f2; --danger-line:   #fecaca;

  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius:    14px;
  --radius-sm: 10px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow:    0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -10px rgba(15, 23, 42, .14);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .04), 0 30px 70px -24px rgba(15, 23, 42, .32);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* ── base ────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink-700);
  /* 16px floor. Dense small text is unreadable on the phones our workers own. */
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: var(--brand-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-800); }
img, svg { max-width: 100%; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 3px solid rgba(16, 185, 129, .55); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink-900); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .01ms !important; }
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 540px; margin: 0 auto; padding: 0 20px; }
main { padding: 44px 0 80px; min-height: 60vh; }
body.home main { padding: 0; }

/* ── type ────────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink-900); text-wrap: balance; }
h1 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.028em; margin: 0 0 14px; }
h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.22; font-weight: 750; letter-spacing: -.022em; margin: 44px 0 14px; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -.012em; margin: 0 0 6px; }
p  { margin: 0 0 14px; }
strong { color: var(--ink-900); font-weight: 650; }
.lede  { font-size: 18px; line-height: 1.6; color: var(--ink-600); }
.muted { color: var(--ink-500); font-size: 15px; }
.small { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px;
           font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.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; }
.sr-only:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 14px; margin: 0;
                 clip: auto; z-index: 100; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }

/* ── header ──────────────────────────────────────────────────────────────── */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
              -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
              border-bottom: 1px solid rgba(15, 23, 42, .07); }
header.site .bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); text-decoration: none;
         font: 800 19px/1 var(--font-display); letter-spacing: -.03em; flex: none; }
.brand:hover { color: var(--ink-900); }
.brand .mark { display: block; }
.brand .brand-sub { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .22em;
                    text-transform: uppercase; color: var(--ink-500); }
nav.site { display: flex; align-items: center; gap: 6px; flex: 1; }
nav.site .nav-links { display: flex; gap: 2px; margin: 0 auto; }
nav.site .nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
nav.site .nav-links + .nav-actions { margin-left: 0; }
nav.site a:not(.btn), nav.site button { font: 550 15px/1 var(--font); color: var(--ink-700); text-decoration: none;
  padding: 10px 13px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  transition: background .15s, color .15s; }
nav.site a:not(.btn):hover, nav.site button:hover { background: var(--ink-100); color: var(--ink-900); }
nav.site form { display: inline; margin: 0; }

/* The phone menu is a <details>: it opens without JavaScript. */
details.menu { display: none; margin-left: auto; position: static; }
details.menu > summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; border: 1px solid var(--line); cursor: pointer; color: var(--ink-900); }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu[open] > summary .icon-open, details.menu:not([open]) > summary .icon-close { display: none; }
details.menu .menu-panel { position: absolute; left: 0; right: 0; top: 68px; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, .3); padding: 10px 20px 20px; }
details.menu .menu-panel a:not(.btn), details.menu .menu-panel button { display: block; width: 100%; text-align: left;
  padding: 14px 4px; font: 600 16px/1.2 var(--font); color: var(--ink-900); text-decoration: none; background: none;
  border: 0; border-bottom: 1px solid var(--ink-100); cursor: pointer; }
details.menu .menu-panel .btn { margin-top: 14px; }
details.menu .menu-panel form { margin: 0; }
@media (max-width: 880px) {
  nav.site { display: none; }
  details.menu { display: block; }
}

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 11px 20px; font: 600 15px/1.2 var(--font); letter-spacing: -.005em; text-align: center;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-700); color: #fff;
  box-shadow: 0 1px 2px rgba(4, 120, 87, .35), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--brand-800); color: #fff; box-shadow: 0 8px 20px -8px rgba(4, 120, 87, .55); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-200); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--ink-50); border-color: var(--ink-300); color: var(--ink-900); }
.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }
.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger-line); }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn .icon { margin-right: -2px; }

/* ── cards and layout ────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
        padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow-xs); }
.card.pad-tight { padding: 16px 18px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.page-head { margin-bottom: 26px; }
.page-head .lede { max-width: 42em; }

/* ── forms ───────────────────────────────────────────────────────────────── */
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink-800); margin-bottom: 7px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=month], input[type=file], select, textarea {
  width: 100%; padding: 12px 14px; font: 16px/1.4 var(--font); color: var(--ink-900); background: #fff;
  border: 1px solid #d5dbe4; border-radius: 12px; box-shadow: var(--shadow-xs);
  transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--ink-400); }
input:hover, select:hover, textarea:hover { border-color: var(--ink-300); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16); }
select { -webkit-appearance: none; appearance: none; padding-right: 42px; background-repeat: no-repeat;
  background-position: right 14px center; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
textarea { min-height: 120px; resize: vertical; }
input[type=file] { padding: 10px; background: var(--ink-50); border-style: dashed; cursor: pointer; }
input[type=file]::file-selector-button { font: 600 14px var(--font); color: var(--ink-900); background: #fff;
  border: 1px solid var(--ink-200); border-radius: 9px; padding: 8px 12px; margin-right: 12px; cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand-700); }
.field { margin-bottom: 20px; }
.hint { font-size: 13.5px; color: var(--ink-500); margin: 8px 0 0; line-height: 1.5; }
.otp-input { font: 600 26px/1 var(--mono); letter-spacing: .42em; text-align: center; padding: 15px 14px; }
label.check { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; margin: 0;
  color: var(--ink-800); cursor: pointer; }
label.check input { width: 20px; height: 20px; flex: none; margin: 0; }
fieldset.choices { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
fieldset.choices label.check { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s, background .15s; }
fieldset.choices label.check:hover { border-color: var(--ink-300); }
fieldset.choices label.check:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); }

/* ── verification badges ─────────────────────────────────────────────────── */
/* The badge is the product's key component: it must never be ambiguous. */
.badge { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 12px 5px 6px;
  border-radius: 999px; border: 1px solid transparent; font-size: 13.5px; font-weight: 650; line-height: 1.4; }
.badge .mk { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; flex: none;
  font-size: 11px; font-weight: 800; }
.badge .detail { font-weight: 500; opacity: .88; }
.badge-verified { background: var(--verified-bg); color: var(--verified); border-color: var(--verified-line); }
.badge-verified .mk { background: var(--verified); color: #fff; }
.badge-selfrep { background: var(--selfrep-bg); color: var(--selfrep); border-color: var(--selfrep-line); }
.badge-selfrep .mk { box-shadow: inset 0 0 0 1.5px currentColor; font-size: 0; }
.badge-pending { background: var(--pending-bg); color: var(--pending); border-color: var(--pending-line); }
.badge-pending .mk { background: #fff; box-shadow: inset 0 0 0 1.5px currentColor; }
.badge-warn { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.badge-warn .mk { background: var(--danger); color: #fff; }
.badge-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }

/* ── claims (skills, certificates) ───────────────────────────────────────── */
/* Name and level on one line, verification state on its own. A table would put
   the badge in a narrow third column, where on a phone it wraps into a shape
   that reads as neither a pill nor a sentence. */
.claim-list { list-style: none; margin: 0; padding: 0; }
.claim { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  padding: 15px 0; border-top: 1px solid var(--ink-100); }
.claim:first-child { border-top: 0; padding-top: 4px; }
.claim-main { display: flex; flex-direction: column; gap: 3px; min-width: 180px; flex: 1 1 auto; }
blockquote.quote { margin: 12px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--brand-200);
  color: var(--ink-800); font-size: 16.5px; line-height: 1.6; white-space: pre-line; }

/* ── the public SkillPass ───────────────────────────────────────────────── */
.profile { overflow: hidden; padding: 0; }
.profile-cover { height: 118px; background:
  radial-gradient(420px 180px at 12% 0%, rgba(16, 185, 129, .20), transparent 70%),
  radial-gradient(520px 200px at 88% 10%, rgba(14, 165, 233, .14), transparent 70%),
  linear-gradient(180deg, #f3faf7, #ffffff); border-bottom: 1px solid var(--ink-100); }
.profile-body { padding: 0 26px 24px; }
.profile .pass-head { margin-top: -46px; }
.pass-head { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.avatar { width: 92px; height: 92px; border-radius: 50%; flex: none; object-fit: cover; display: grid;
  place-items: center; font: 800 30px/1 var(--font-display); letter-spacing: -.02em; color: var(--brand-800);
  background: linear-gradient(135deg, #d1fae5, #e0f2fe); border: 4px solid #fff; box-shadow: var(--shadow); }
.pass-id { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 11px; font: 600 13px/1.4 var(--mono);
  letter-spacing: .06em; color: var(--ink-700); background: var(--ink-50); border: 1px solid var(--line);
  border-radius: 999px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--ink-500); font-size: 15px; }
.meta-row .icon { color: var(--ink-400); margin-right: 4px; }
.level-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-800); font-weight: 650; font-size: 14px; }
.level-pill .icon { color: var(--brand-700); }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; }
.section-title .icon { color: var(--brand-700); }

/* ── chips, progress, steps ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-700); background: #fff;
  text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
a.chip:hover { border-color: var(--brand-400); color: var(--brand-800); background: var(--brand-50); }
.meter { height: 8px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-400)); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink-100); font-size: 15px; }
.steps li:first-child { border-top: 0; }
.steps .tick { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; border: 1.5px solid var(--ink-300); color: var(--ink-400); background: #fff; }
.steps li.done { color: var(--ink-500); }
.steps li.done .tick { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.steps a { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--brand-700); text-decoration: none; white-space: nowrap; }
.steps a:hover { text-decoration: underline; }

/* ── notices ─────────────────────────────────────────────────────────────── */
.notice { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 15px; line-height: 1.55;
  border: 1px solid var(--line); background: var(--ink-50); color: var(--ink-800); }
.notice-success { background: var(--verified-bg); border-color: var(--verified-line); color: var(--brand-900); }
.notice-error   { background: var(--danger-bg);   border-color: var(--danger-line);   color: #7f1d1d; }
.notice-info    { background: #f0f9ff; border-color: #bae6fd; color: #0c4a6e; }
.notice-dev     { background: #fffbeb; border: 1px dashed #f59e0b; color: #78350f; }
.notice a { color: inherit; font-weight: 650; }
.dev-code { font: 700 22px/1 var(--mono); letter-spacing: .2em; color: var(--ink-900); }

/* ── tables ──────────────────────────────────────────────────────────────── */
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th, table.data td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }

.disclosure { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14px;
  line-height: 1.6; color: var(--ink-600); background: var(--ink-50); }

/* ── work history, references, confirmation ──────────────────────────────── */
details.ask { margin-top: 14px; border-top: 1px dashed var(--ink-200); padding-top: 12px; }
details.ask summary { cursor: pointer; color: var(--brand-700); font-weight: 650; font-size: 15px; padding: 4px 0; }
details.ask form { margin-top: 12px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.inline-actions form { margin: 0; }
ul.codes { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  font: 700 17px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-900); }
ul.codes li { padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: var(--ink-50); }

/* ── sign-in and registration ────────────────────────────────────────────── */
.auth { display: grid; gap: 40px; align-items: start; }
.auth-form { max-width: 480px; width: 100%; }
.auth-aside { display: none; }
@media (min-width: 980px) {
  .auth { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 72px; padding-top: 12px; }
  .auth-aside { display: block; position: sticky; top: 104px; }
}
.auth-aside .mock-stage { padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: radial-gradient(460px 260px at 80% 0%, rgba(16, 185, 129, .12), transparent 70%),
              radial-gradient(420px 240px at 0% 100%, rgba(14, 165, 233, .10), transparent 70%), var(--ink-50); }
.assurances { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.assurances li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-600); }
.assurances .icon { color: var(--brand-700); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   The home page
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── hero slider ─────────────────────────────────────────────────────────── */
/* Without JavaScript the slides are a row you can swipe, snapping to each one.
   assets/js/hero.js adds the timing, the arrows and the dots on top. */
.hero { position: relative; border-bottom: 1px solid var(--ink-100); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center;
  min-height: 620px; padding: 64px 0 96px; }
.hero-slide.tone-mint { background: radial-gradient(900px 520px at 88% 30%, rgba(16, 185, 129, .13), transparent 62%),
  radial-gradient(700px 420px at 0% 100%, rgba(245, 196, 81, .10), transparent 60%), #fff; }
.hero-slide.tone-sky { background: radial-gradient(900px 520px at 85% 25%, rgba(14, 165, 233, .13), transparent 62%),
  radial-gradient(640px 400px at 0% 100%, rgba(16, 185, 129, .08), transparent 60%), #fff; }
.hero-slide.tone-sand { background: radial-gradient(900px 520px at 85% 30%, rgba(245, 158, 11, .12), transparent 62%),
  radial-gradient(640px 400px at 0% 100%, rgba(14, 165, 233, .07), transparent 60%), #fff; }
.hero-slide.tone-slate { background: radial-gradient(900px 520px at 85% 30%, rgba(99, 102, 241, .11), transparent 62%),
  radial-gradient(640px 400px at 0% 100%, rgba(16, 185, 129, .08), transparent 60%), #fff; }
.hero-inner { display: grid; gap: 48px; align-items: center; width: 100%; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; } }
.hero-copy h1, .hero-copy .hero-title { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.038em;
  font-weight: 850; margin: 0 0 20px; color: var(--ink-900); font-family: var(--font-display); text-wrap: balance; }
.hero-copy .hero-title .accent { background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-600); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: 14px; color: var(--ink-500); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .icon { color: var(--brand-600); }
.hero-visual { position: relative; display: flex; justify-content: center; }
/* The floating chips hang off the card's corners, not the column's. */
.mock-wrap { position: relative; width: min(100%, 430px); }
.mock-wrap .mock-pass { width: 100%; }

.hero-controls { display: none; position: absolute; left: 0; right: 0; bottom: 30px; }
.hero.is-enhanced .hero-controls { display: block; }
.hero-controls .wrap { display: flex; align-items: center; gap: 14px; }
.hero-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink-900); border: 1px solid var(--ink-200); box-shadow: var(--shadow-xs);
  transition: background .15s, border-color .15s; }
.hero-arrow:hover { background: var(--ink-50); border-color: var(--ink-300); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { position: relative; width: 28px; height: 6px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink-200); overflow: hidden; transition: width .3s; }
.hero-dot.is-active { width: 56px; }
.hero-dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--brand-700); border-radius: inherit;
  transform-origin: left; animation: hero-fill var(--hero-interval, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation: none; transform: none; }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-count { margin-left: auto; font: 600 13px/1 var(--mono); color: var(--ink-500); letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 420px) { .hero-count { display: none; } }
@media (max-width: 979px) {
  /* Slides share the tallest one's height; on a phone, start each at the top
     rather than centring it in space the phone slide needed. */
  .hero-slide { min-height: 0; padding: 40px 0 96px; align-items: flex-start; }
  .hero-inner { gap: 40px; }
  .hero-visual { order: 2; }
  .mock-phone-screen { min-height: 0; }
}

/* ── mock-ups used in the hero (illustrations, not live data) ────────────── */
.mock-pass { position: relative; width: min(100%, 430px); background: #fff; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px 22px 18px; }
.mock-pass-top { display: flex; align-items: center; gap: 14px; }
.mock-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 800 19px/1 var(--font-display); color: var(--brand-800); background: linear-gradient(135deg, #d1fae5, #e0f2fe); }
.mock-name { display: flex; align-items: center; gap: 6px; font: 750 18px/1.2 var(--font-display); color: var(--ink-900); letter-spacing: -.02em; }
.mock-name .icon { color: var(--brand-600); }
.mock-role { font-size: 13.5px; color: var(--ink-500); margin-top: 3px; }
.mock-id { display: inline-block; margin: 14px 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--ink-50);
  border: 1px solid var(--line); font: 600 12px/1.4 var(--mono); letter-spacing: .07em; color: var(--ink-600); }
.mock-evidence { list-style: none; margin: 0; padding: 0; }
.mock-evidence li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--ink-100); }
.mock-evidence .ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--brand-700); color: #fff; margin-top: 1px; }
.mock-evidence .self { display: block; width: 22px; height: 22px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--selfrep); margin-top: 1px; }
.mock-evidence strong { display: block; font-size: 14px; color: var(--ink-900); }
.mock-evidence span { display: block; font-size: 12.5px; color: var(--ink-500); line-height: 1.45; }
.mock-level { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 11px 13px;
  border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: 13px; color: var(--brand-800); }
.mock-level strong { color: var(--brand-800); font-size: 13.5px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 650; color: var(--ink-900); white-space: nowrap; }
.float-chip .dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.float-a { top: -18px; left: -6px; animation: bob 6s ease-in-out infinite; }
.float-b { bottom: -16px; right: -4px; animation: bob 6s ease-in-out 1.5s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 520px) { .float-a { left: 4px; } .float-b { right: 4px; } }

.mock-window { width: min(100%, 470px); background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--ink-50); border-bottom: 1px solid var(--line); }
.mock-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.mock-url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-500); }
.mock-url .icon { color: var(--brand-600); }
.mock-window-body { padding: 20px; }
.mock-check { display: grid; gap: 10px; margin-top: 14px; }
.mock-check-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.mock-check-row b { color: var(--ink-900); font-weight: 650; }
.mock-check-row em { font-style: normal; color: var(--ink-500); font-size: 12.5px; display: block; }
.mock-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; background: var(--verified-bg); color: var(--verified); border: 1px solid var(--verified-line); }
.mock-tag.self { background: var(--selfrep-bg); color: var(--selfrep); border-color: var(--selfrep-line); }

.mock-phone { width: 280px; padding: 12px; border-radius: 42px; background: var(--ink-900);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06); }
.mock-phone-screen { position: relative; border-radius: 31px; background: #fff; overflow: hidden; min-height: 520px; padding: 42px 18px 20px; }
.mock-phone-screen::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 999px; background: var(--ink-900); }
.mock-sms { background: var(--ink-100); border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: 13px; color: var(--ink-800); line-height: 1.5; }
.mock-sms small { display: block; margin-bottom: 4px; font-size: 11px; color: var(--ink-500); font-weight: 600; }
.mock-sms u { color: var(--brand-700); text-decoration: none; font-weight: 600; }
.mock-q { margin: 16px 0 12px; font: 700 15px/1.45 var(--font-display); color: var(--ink-900); letter-spacing: -.01em; }
.mock-opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-bottom: 7px; border: 1px solid var(--line);
  border-radius: 12px; font-size: 13px; color: var(--ink-800); }
.mock-opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-300); flex: none; }
.mock-opt.on { border-color: var(--brand-500); background: var(--brand-50); font-weight: 650; }
.mock-opt.on i { border: 5px solid var(--brand-700); }
.mock-btn { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--brand-700); color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 650; }

.mock-stack { display: grid; gap: 12px; width: min(100%, 420px); }
.mock-tile { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); }
.mock-tile:nth-child(2) { margin-left: 28px; }
.mock-tile:nth-child(3) { margin-left: 56px; }
.mock-tile .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--brand-50); color: var(--brand-700); }
.mock-tile strong { display: block; font-size: 15px; color: var(--ink-900); }
.mock-tile span { font-size: 13.5px; color: var(--ink-500); }
@media (max-width: 520px) { .mock-tile:nth-child(n) { margin-left: 0; } }

/* ── sections ────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2, .display-h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.032em;
  font-weight: 800; margin: 0 0 16px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--ink-600); margin: 0; }
@media (max-width: 760px) { .section { padding: 68px 0; } .section-head { margin-bottom: 34px; } }

.trades { padding: 44px 0; border-bottom: 1px solid var(--ink-100); }
.trades-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-500); margin: 0 0 22px; }
.trade-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trade { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink-800); }
.trade .icon { color: var(--brand-700); }

.step-grid { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs); }
.step-num { display: inline-block; font: 700 13px/1 var(--mono); color: var(--brand-700); letter-spacing: .08em; margin-bottom: 18px; }
.step .ic, .feature .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-50), #e0f2fe); color: var(--brand-700); border: 1px solid var(--brand-100); }
.step h3, .feature h3 { font-size: 18px; margin: 0 0 8px; }
.step p, .feature p { margin: 0; font-size: 15px; color: var(--ink-600); line-height: 1.6; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.legend { display: grid; gap: 12px; }
.legend-row { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.legend-row p { margin: 0; font-size: 14.5px; color: var(--ink-600); }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-700); }
.checklist .tick-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--brand-700); color: #fff; margin-top: 1px; }

.feature-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-grid.three { grid-template-columns: repeat(3, 1fr); } .feature-grid.four { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature:hover { border-color: var(--ink-200); box-shadow: var(--shadow); transform: translateY(-2px); }

.cta-panel { position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: 56px;
  border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: radial-gradient(640px 320px at 100% 0%, rgba(16, 185, 129, .14), transparent 70%),
              radial-gradient(520px 300px at 0% 100%, rgba(14, 165, 233, .10), transparent 70%), #fff;
  box-shadow: var(--shadow); }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; } }
.cta-panel h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; font-weight: 800; margin: 0 0 10px; }
.cta-panel p { margin: 0; font-size: 17px; color: var(--ink-600); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta-panel { padding: 32px 24px; } }

/* ── footer ──────────────────────────────────────────────────────────────── */
footer.site { background: var(--ink-50); border-top: 1px solid var(--line); padding: 64px 0 34px; font-size: 14.5px; color: var(--ink-500); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-grid h4 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-900); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-600); text-decoration: none; }
.footer-grid a:hover { color: var(--ink-900); }
.footer-about p { margin: 14px 0 0; max-width: 30em; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 13.5px; }

.wrap-mid { max-width: 900px; }
