/* ══════════════════════════════════════════════════════════════════════
   SponsorApply — design system v8 "EDITORIAL CAREER INTELLIGENCE"
   One coherent layer (replaces the v5→v7 override stack).

   Character: premium · global · calm · precise · editorial · data-rich.
   Palette:  midnight navy (structure) · international blue (action)
             emerald (verified evidence) · amber (uncertainty)
             coral (blocking only) · cool white / soft slate (surfaces).
   Type:     Fraunces (editorial display) · Inter (UI) · JetBrains Mono (data).
   Colour always carries meaning — green is never decoration.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* surfaces */
  --paper:   #F8F9FB;      /* cool white canvas */
  --card:    #FFFFFF;
  --slate:   #EEF1F5;      /* soft slate secondary */
  --line:    #E4E7EC;
  --line-2:  #CDD3DC;

  /* structure */
  --navy:    #0F1E33;      /* midnight navy — nav, footer, premium bands */
  --navy-2:  #16283F;
  --navy-3:  #1E3350;

  /* ink */
  --ink:     #111B2B;
  --ink-2:   #3D4859;
  --muted:   #66707F;
  --faint:   #98A1AE;

  /* meaning */
  --blue:       #1A56DB;   /* international blue — the ONE action colour */
  --blue-deep:  #164FC5;
  --blue-soft:  rgba(26,86,219,.08);
  --emerald:      #067647; /* verified positive evidence ONLY */
  --emerald-deep: #05603A;
  --emerald-soft: rgba(6,118,71,.08);
  --amber:      #B45309;   /* uncertainty */
  --amber-soft: rgba(180,83,9,.09);
  --coral:      #D92D20;   /* blocking problems ONLY */
  --coral-soft: rgba(217,45,32,.07);

  /* legacy token aliases (older views still reference these) */
  --brand: var(--blue); --brand-deep: var(--blue-deep); --brand-soft: var(--blue-soft);
  --signal: var(--emerald); --signal-deep: var(--emerald-deep); --signal-soft: var(--emerald-soft);
  --danger: var(--coral); --iris: var(--blue); --data: var(--blue);

  --radius:    12px;
  --radius-lg: 16px;
  --shadow:    0 1px 2px rgba(15,30,51,.05), 0 6px 20px -12px rgba(15,30,51,.12);
  --shadow-lg: 0 2px 4px rgba(15,30,51,.05), 0 18px 44px -18px rgba(15,30,51,.22);
  --glow:      0 6px 18px -8px rgba(26,86,219,.45);
  --ease:      cubic-bezier(.22,.68,.24,1);

  --font:    "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, system-ui, sans-serif;
  --display: "Fraunces", "Georgia", serif;
  --mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body > * { position: relative; z-index: 1; }

main { max-width: 1080px; margin: 0 auto; padding: 2.6rem 1.5rem 5rem; }
main.wide { max-width: 1240px; }
@media (max-width: 640px) { main { padding: 1.6rem 1.1rem 3.5rem; } }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
::selection { background: rgba(26,86,219,.18); }

/* ── typography — editorial display over disciplined UI text ─────────── */
h1, h2 { font-family: var(--display); font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.02em; margin: .4rem 0 0; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5rem; }
h3 { font-weight: 650; font-size: 1.05rem; letter-spacing: -.012em; margin: 0 0 .35rem; color: var(--ink); }
h4 { font-weight: 650; font-size: .95rem; margin: 0 0 .3rem; color: var(--ink); }
p  { margin: .55rem 0; }

.gradient { color: var(--blue); background: none; }  /* editorial: no rainbow text */
.lede {
  color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.65; max-width: 62ch; margin: 1rem auto 0;
}
.micro { color: var(--muted); font-size: .84rem; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin: 0;
}
.eyebrow::before { content: ''; width: 16px; height: 1.5px; background: var(--blue); }
@media (max-width: 480px) { .eyebrow { font-size: .62rem; letter-spacing: .13em; } }

/* ── navigation — midnight navy command bar ──────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: .9rem;
  padding: .55rem 1.4rem;
  background: var(--navy); color: #E7ECF4;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand .logo-tile { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 7px; }
.brand .wordmark { font-weight: 700; letter-spacing: -.025em; color: #fff; font-size: 1.06rem; }
.brand .wordmark b { color: #7EA4F4; font-weight: 700; }

.navsearch { display: flex; flex: 0 1 250px; }
.navsearch input {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #E7ECF4; border-radius: 8px; padding: .42rem .8rem; font: inherit; font-size: .86rem;
}
.navsearch input::placeholder { color: #8C99AD; }
.navsearch input:focus { outline: none; border-color: #5F8BEA; background: rgba(255,255,255,.12); }
@media (max-width: 980px) { .navsearch { display: none; } }

.nav-items { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nitem {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; border-radius: 8px; text-decoration: none;
  color: #B9C3D3; font-size: .89rem; font-weight: 550; line-height: 1;
  transition: color .15s, background .15s;
}
.nitem:hover { color: #fff; background: rgba(255,255,255,.07); }
.nitem svg { width: 16px; height: 16px; opacity: .8; }
.nitem span { white-space: nowrap; }
.nav-divider { width: 1px; height: 22px; background: rgba(255,255,255,.14); margin: 0 .5rem; }

.credits {
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  background: rgba(126,164,244,.14); color: #A8C2F5;
  border: 1px solid rgba(126,164,244,.3); padding: .22rem .65rem; border-radius: 99px;
  white-space: nowrap;
}
.nav-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .82rem;
}
.signin {
  border: 1px solid rgba(255,255,255,.3); color: #fff !important; font-weight: 600; font-size: .88rem;
  border-radius: 8px; padding: .45rem 1.05rem; text-decoration: none; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.signin:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.join {
  background: var(--blue); color: #fff !important; font-weight: 650; font-size: .88rem;
  padding: .48rem 1.1rem; text-decoration: none; white-space: nowrap; border-radius: 8px;
}
.join:hover { background: var(--blue-deep); }
.nav .micro { color: #8C99AD; }
.nav .micro:hover { color: #fff; }

@media (max-width: 800px) {
  .nav { flex-wrap: wrap; row-gap: .35rem; padding: .5rem .9rem; }
  .nav-items {
    order: 2; width: 100%; justify-content: flex-start; gap: 0;
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px;
  }
  .nav-items::-webkit-scrollbar { display: none; }
  .nav-items > * { flex: 0 0 auto; }
  .nitem { padding: .45rem .65rem; font-size: .84rem; }
  .nav-divider { display: none; }
  .join { order: -1; margin-right: .3rem; }
}

/* ── buttons — rectangles, one action colour, no shimmer ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--blue); color: #fff !important; border: 0; border-radius: 10px;
  padding: .78rem 1.55rem; font: inherit; font-size: .95rem; font-weight: 650; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, var(--glow);
  transition: background .18s, transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled, .btn[disabled] { background: var(--slate); color: var(--faint) !important; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-lg { padding: .95rem 2.1rem; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; border-radius: 8px; box-shadow: none; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line-2); border-radius: 10px; padding: .74rem 1.4rem; background: #fff;
  transition: border-color .18s, background .18s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue) !important; background: var(--blue-soft); }

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #fff; color: var(--ink) !important; text-decoration: none; font-weight: 600;
  padding: .74rem 1.2rem; border-radius: 10px; font-size: .95rem; width: 100%;
  border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s;
}
.btn-google:hover { border-color: var(--ink-2); box-shadow: var(--shadow); }
.ordivider { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; color: var(--muted); font-size: .76rem; }
.ordivider::before, .ordivider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ── evidence language — the honest chips (colour = meaning) ─────────── */
.badge, .ev {
  display: inline-flex; align-items: center; gap: .38rem;
  font-size: .76rem; font-weight: 600; padding: .2rem .6rem; border-radius: 6px;
  background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(6,118,71,.22);
}
.badge.unverified, .ev-none {
  background: var(--slate); color: var(--muted); border-color: var(--line);
}
.ev-mention { background: var(--blue-soft); color: var(--blue-deep); border-color: rgba(26,86,219,.22); }
.ev-warn    { background: var(--amber-soft); color: var(--amber); border-color: rgba(180,83,9,.24); }
.ev-no      { background: var(--coral-soft); color: var(--coral); border-color: rgba(217,45,32,.22); }

/* Share bar for tool results (partials/share.ejs) */
.sharebar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 1rem 0 .2rem; }
.sharebar .btn-sm { padding: .3rem .8rem; font-size: .8rem; }
.datatable th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .5rem .4rem; }
.datatable td { padding: .45rem .4rem; vertical-align: top; }
.datatable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sponsorship Verdict — level chip + explained reasons (verdict.js) */
.vchips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .45rem 0 0; }
.vchip {
  display: inline-flex; align-items: center; font-size: .76rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 6px; border: 1px solid var(--line);
  background: var(--slate); color: var(--muted);
}
.vchip.v-ok      { background: var(--emerald-soft); color: var(--emerald); border-color: rgba(6,118,71,.25); }
.vchip.v-mention { background: var(--blue-soft); color: var(--blue-deep); border-color: rgba(26,86,219,.22); }
.vchip.v-warn    { background: var(--amber-soft); color: var(--amber); border-color: rgba(180,83,9,.24); }
.vchip.v-no      { background: var(--coral-soft); color: var(--coral); border-color: rgba(217,45,32,.22); }
.verdict-panel { border-left: 4px solid var(--line); }
.verdict-panel.v-ok { border-left-color: var(--emerald); }
.verdict-panel.v-mention { border-left-color: var(--blue); }
.verdict-panel.v-warn { border-left-color: var(--amber); }
.verdict-panel.v-no { border-left-color: var(--coral); }
.verdict-panel h2 { margin: .1rem 0 .3rem; font-size: 1.25rem; }
.vreasons { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; }
.vreasons li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; align-items: start; }
.vreasons .vi { font-weight: 800; text-align: center; line-height: 1.4; }
.vreasons .s-ok .vi { color: var(--emerald); }
.vreasons .s-mid .vi { color: var(--amber); }
.vreasons .s-bad .vi { color: var(--coral); }
.vreasons .s-unknown .vi { color: var(--muted); }
.vreasons b { display: block; font-size: .92rem; }
.vreasons small { color: var(--muted); font-size: .8rem; }

/* verdict tags — WHERE CAN I GO labels (never fake percentages) */
.vd { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
      padding: .24rem .6rem; border-radius: 5px; white-space: nowrap; }
.vd-EXCELLENT { background: var(--emerald); color: #fff; }
.vd-STRONG    { background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(6,118,71,.3); }
.vd-GOOD      { background: var(--blue-soft); color: var(--blue-deep); border: 1px solid rgba(26,86,219,.25); }
.vd-POSSIBLE  { background: var(--slate); color: var(--ink-2); border: 1px solid var(--line-2); }
.vd-DIFFICULT { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(180,83,9,.24); }
.vd-INSUFFICIENT { background: none; color: var(--faint); border: 1px dashed var(--line-2); }

/* application status chips */
.status-submitted, .status-ready { background: var(--emerald-soft); color: var(--emerald); border-color: rgba(6,118,71,.25); }
.status-failed { background: var(--coral-soft); color: var(--coral); border-color: rgba(217,45,32,.22); }
.status-prepared, .status-approved { background: var(--amber-soft); color: var(--amber); border-color: rgba(180,83,9,.24); }

/* ── cards & panels — objects get cards; sections use whitespace ─────── */
.card {
  position: relative; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.card.link { text-decoration: none; color: inherit; display: block; }
.card h3 { display: flex; align-items: center; gap: .6rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.hico { display: inline-grid; place-items: center; flex: none; }
.hico svg { width: 17px; height: 17px; color: var(--blue); }

.panel { position: relative; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.panel .ptitle {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 650;
  color: var(--muted); margin: 0 0 1rem; display: flex; justify-content: space-between; align-items: center;
}
.panel .ptitle i { color: var(--emerald); font-style: normal; font-size: .7rem; }

.tri { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.featrow { max-width: 1040px; margin-inline: auto; }
.feat p { font-size: .92rem; line-height: 1.6; }
.strip { text-align: center; }
.strip .tri { max-width: 940px; margin-inline: auto; }

.ico {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; margin-bottom: .85rem;
  background: var(--blue-soft); border: 1px solid rgba(26,86,219,.14);
}
.ico svg { width: 18px; height: 18px; color: var(--blue); }
.ico.v2 { background: var(--emerald-soft); border-color: rgba(6,118,71,.15); }
.ico.v2 svg { color: var(--emerald); }
.ico.v3 { background: var(--slate); border-color: var(--line); }
.ico.v3 svg { color: var(--ink-2); }
.glow-card { border-color: rgba(26,86,219,.35); }
.glow-card::after { display: none; }

.hr { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ── sections ────────────────────────────────────────────────────────── */
.section { padding: 3.4rem 0 1rem; text-align: center; }
.section > .lede { margin-inline: auto; }
.shead { max-width: 780px; margin: 0 auto 1.7rem; }
.shead h2 { margin-top: .7rem; }
@media (max-width: 640px) { .section { padding: 2.6rem 0 .6rem; } }

/* ── OPPORTUNITY RING — signature segmented indicator ────────────────── */
/* Not a progress circle: five labelled segments (career/visa/sponsor/move/
   ready), each coloured by evidence state, gaps between segments. */
.oring { display: inline-grid; place-items: center; position: relative; width: 92px; height: 92px; flex: none; }
.oring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.oring .seg { fill: none; stroke-width: 7; stroke-linecap: butt; }
.oring .seg.ok   { stroke: var(--emerald); }
.oring .seg.mid  { stroke: var(--blue); }
.oring .seg.warn { stroke: var(--amber); }
.oring .seg.off  { stroke: var(--line-2); }
.oring .olabel { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.oring .olabel b { font-family: var(--mono); font-size: .95rem; letter-spacing: -.02em; }
.oring .olabel span { display: block; font-size: .56rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.oring-legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .74rem; color: var(--ink-2); }
.oring-legend i { font-style: normal; display: inline-flex; align-items: center; gap: .32rem; }
.oring-legend i::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--dot, var(--line-2)); }
.oring-legend i.ok::before { background: var(--emerald); }
.oring-legend i.mid::before { background: var(--blue); }
.oring-legend i.warn::before { background: var(--amber); }
.oring-legend i.off::before { background: var(--line-2); }

/* classic single-value ring (dashboard match score) */
.ring {
  --p: 80; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; position: relative; flex: none;
  background: conic-gradient(var(--emerald) calc(var(--p) * 1%), var(--slate) 0);
}
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
.ring b { position: relative; font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--emerald); }
.ring.landed { animation: ringpulse .8s ease-out 1; }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(6,118,71,.35); } 100% { box-shadow: 0 0 0 14px rgba(6,118,71,0); } }

/* ── SPONSOR RADAR — evidence panel ──────────────────────────────────── */
.radar { border-left: 3px solid var(--emerald); }
.radar .ptitle i { letter-spacing: 0; }
.rditem { display: flex; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.rditem:last-child { border-bottom: 0; }
.rditem .rdflag { font-size: 1.15rem; line-height: 1.3; flex: none; }
.rditem b { font-size: .92rem; font-weight: 600; color: var(--ink); display: block; }
.rditem .rdsrc { font-size: .76rem; color: var(--muted); margin-top: .15rem; line-height: 1.5; }
.rdnote {
  margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--muted); line-height: 1.6;
}

/* ── WHY NOT APPLY panel ─────────────────────────────────────────────── */
.whynot { border-left: 3px solid var(--amber); }
.wnitem { display: flex; gap: .7rem; padding: .55rem 0; align-items: baseline; }
.wnitem .wntag { flex: none; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .2rem .5rem; border-radius: 5px; }
.wntag.skip { background: var(--coral-soft); color: var(--coral); }
.wntag.review, .wntag.gap { background: var(--amber-soft); color: var(--amber); }
.wntag.unknown { background: var(--slate); color: var(--muted); }
.wnitem p { margin: 0; font-size: .88rem; color: var(--ink-2); }

/* source attribution row on job details */
.srcmeta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .8rem; color: var(--muted); padding: .8rem 0 0; }
.srcmeta b { color: var(--ink-2); font-weight: 600; }

/* ── hero — editorial, search-first ──────────────────────────────────── */
.hero, .phero { position: relative; text-align: center; padding: 2.6rem 0 .8rem; }
.phero h1 { max-width: 17em; margin-inline: auto; }
.phero .sub { color: var(--ink-2); margin: .9rem auto 1.5rem; max-width: 56ch; font-size: 1.05rem; }
.hero::before, .phero::before {
  content: ''; position: absolute; inset: -2.6rem -50vw auto -50vw; height: 480px; z-index: -1;
  background:
    radial-gradient(720px 380px at 24% 0%, rgba(26,86,219,.07), transparent 62%),
    radial-gradient(720px 380px at 76% 0%, rgba(6,118,71,.05), transparent 62%);
}
.heroactions { display: flex; gap: .8rem; justify-content: center; align-items: center; flex-wrap: wrap; margin: 1.8rem 0 .9rem; }
.trustrow { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; color: var(--muted); font-size: .84rem; }
.trustrow span { display: inline-flex; align-items: center; gap: .4rem; }
.trustrow svg { width: 14px; height: 14px; color: var(--emerald); flex: none; }

.herosearch {
  display: flex; gap: .4rem; flex-wrap: wrap; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .45rem;
  max-width: 780px; margin: 0 auto;
}
.herosearch input[type=search] { flex: 1 1 240px; border: 0; background: transparent; padding: .75rem 1rem; font-size: 1rem; }
.herosearch input[type=search]:focus { outline: none; border: 0; }
.herosearch .ac-wrap { border-left: 1px solid var(--line); flex: 0 1 200px; }
.herosearch .countryinput { flex: 0 1 200px; }
@media (max-width: 640px) {
  .herosearch { border-radius: 14px; }
  .herosearch .ac-wrap { border-left: 0; flex-basis: 100%; }
  .herosearch input[type=search] { flex-basis: 100%; }
  .herosearch .btn { width: 100%; }
}
.chiprow { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.chip {
  font-size: .82rem; font-weight: 550; padding: .34rem .85rem; border-radius: 99px; text-decoration: none;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line-2);
  transition: border-color .15s, color .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.logostrip { margin: 1.5rem auto 0; max-width: 800px; text-align: center; font-weight: 600; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }
.logostrip .lsl { color: var(--muted); font-weight: 500; font-size: .78rem; }

/* ── stats ───────────────────────────────────────────────────────────── */
.statbar { display: flex; justify-content: center; gap: 2.8rem; flex-wrap: wrap; margin: 2rem 0; }
.stat { text-align: center; }
.stat .num { font-family: var(--mono); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.stat .num em { color: var(--blue); font-style: normal; }
.stat .lbl { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.proof-num { font-family: var(--mono); font-size: 1.8rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: .3rem 0 .5rem; }
.big { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; margin: .1rem 0; }
.kpi { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.kpi:last-child { border-bottom: 0; }
.kpi .kv { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.kpi .kv em { color: var(--emerald); font-style: normal; }
.kpi .kl { font-size: .76rem; color: var(--muted); }
.kpi .bar { height: 3px; background: var(--slate); border-radius: 99px; margin-top: .5rem; overflow: hidden; }
.kpi .bar b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--blue); transition: width 1.6s var(--ease); }
.kpi .bar.lit b { width: var(--w, 70%); }
.country-row { display: flex; justify-content: space-between; font-size: .84rem; padding: .38rem 0; color: var(--ink-2); }
.country-row .cc, .cc {
  font-family: var(--mono); font-style: normal; font-size: .64rem; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px;
  padding: .05rem .3rem; margin-right: .45rem; letter-spacing: .04em; vertical-align: 2px;
}
.country-row .on { color: var(--emerald); font-weight: 600; font-size: .72rem; letter-spacing: .1em; }
.country-row .soon { color: var(--muted); font-size: .72rem; letter-spacing: .1em; }

/* ── WHERE CAN I GO — destination board ──────────────────────────────── */
.wcig { display: flex; flex-direction: column; gap: 0; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.wcrow { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .95rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; }
.wcrow:last-child { border-bottom: 0; }
.wcrow:hover { background: var(--paper); }
.wcflag { font-size: 1.5rem; line-height: 1; }
.wcrow h3 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.wcrow .wcnums { font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.wcrow .wcnums b { color: var(--ink-2); font-family: var(--mono); font-weight: 600; }
.wcwhy { grid-column: 1 / -1; margin: 0; padding: 0 0 .2rem 2.55rem; font-size: .84rem; color: var(--ink-2); line-height: 1.6; }
.wcwhy li { margin: .15rem 0; }
@media (max-width: 560px) { .wcrow { grid-template-columns: auto 1fr; } .wcrow .vd { grid-column: 2; justify-self: start; } .wcwhy { padding-left: 0; } }

/* coverage tiles (anonymous world view + countries index) */
.covgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .9rem; margin: 1.4rem 0; }
.covtile {
  display: flex; flex-direction: column; gap: .3rem; text-align: left; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  color: inherit; transition: border-color .15s, box-shadow .2s;
}
.covtile:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.covtile .cthead { display: flex; align-items: center; gap: .55rem; font-weight: 650; font-size: .96rem; }
.covtile .ctflag { font-size: 1.25rem; }
.covtile .ctnums { font-size: .8rem; color: var(--muted); }
.covtile .ctnums b { font-family: var(--mono); color: var(--ink-2); }
.tier { font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .12em; padding: .16rem .45rem; border-radius: 4px; margin-left: auto; }
.tier-FULL { background: var(--emerald-soft); color: var(--emerald); }
.tier-GROWING { background: var(--blue-soft); color: var(--blue-deep); }
.tier-BASIC { background: var(--slate); color: var(--muted); }

/* ── ticker ──────────────────────────────────────────────────────────── */
.ticker, .band { margin-inline: calc(50% - 50vw); }
.ticker {
  overflow: hidden; padding: .85rem 0; background: #fff; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker + .ticker { border-top: 0; }
.ticker-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: ticker 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker.rev .ticker-track { animation-direction: reverse; animation-duration: 120s; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.tick b { color: var(--ink-2); font-weight: 600; }
.tick .ok { color: var(--emerald); }

/* ── stories / reviews ───────────────────────────────────────────────── */
.sgrid, .rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1rem; max-width: 1180px; margin: 0 auto; text-align: left; }
.story, .review {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.squote { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--ink); flex: 1; }
.swho { display: flex; gap: .8rem; align-items: center; }
.swho b { font-size: .93rem; font-weight: 600; }
.swho .micro { margin: 0; font-size: .79rem; }
.savatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .84rem; color: #fff; }
.sg-1 { background: #1A56DB; } .sg-2 { background: #067647; } .sg-3 { background: #0F1E33; }
.sg-4 { background: #B45309; } .sg-5 { background: #444CE7; } .sg-6 { background: #175CD3; }
.smeta { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding-top: .85rem; border-top: 1px solid var(--line); }
.stag { font-family: var(--mono); font-size: .68rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: .16rem .5rem; }
.sdisc { font-size: .7rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.sdisc.verified { color: var(--emerald); font-weight: 600; }
.stars { color: var(--amber); letter-spacing: .16em; font-size: .78rem; }
.review p { font-size: .93rem; color: var(--ink-2); margin: .3rem 0; }
.review .who { font-size: .78rem; color: var(--muted); font-family: var(--mono); margin-top: auto; padding-top: .6rem; }
.avatar { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; border: 1px solid var(--line); background: var(--paper); }
.avatar svg { width: 20px; height: 20px; color: var(--blue); }
.av-you { color: var(--muted); font-weight: 700; font-size: 1.4rem; flex: none; }
.beta-note { font-size: .76rem; color: var(--muted); margin-top: 1.3rem; line-height: 1.65; }
.beta-invite { display: flex; gap: 1rem; align-items: center; max-width: 580px; margin: 1.5rem auto 0; text-align: left; background: #fff; border: 1px dashed rgba(26,86,219,.4); border-radius: var(--radius); padding: 1.05rem 1.3rem; }

.founder { display: flex; gap: 1.4rem; align-items: center; max-width: 680px; margin: 0 auto; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.founder .favatar { width: 62px; height: 62px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--navy); }
.founder h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.founder p { margin: .25rem 0; font-size: .93rem; color: var(--ink-2); }

/* ── closing band — the one navy moment ──────────────────────────────── */
.band {
  position: relative; text-align: center; padding: 4.6rem 1.5rem 5rem;
  background: var(--navy); color: #E7ECF4;
}
.band h2 { color: #fff; margin-bottom: 1.4rem; }
.band .lede { color: #B9C3D3; }
.band .micro { color: #8C99AD; }
main:has(.band) { padding-bottom: 0; }

/* the registry section: premium navy band */
.command {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
  margin: 2.2rem 0 0; align-items: stretch;
  background: var(--navy); border-radius: 20px; padding: 1.4rem;
  box-shadow: 0 24px 60px -28px rgba(15,30,51,.5);
}
.command .panel { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); box-shadow: none; display: flex; flex-direction: column; }
.command .panel .terminal { flex: 1; }
.command .panel .ptitle { color: #8C99AD; }
.command .panel .ptitle i { color: #34D399; }
.command .kpi { border-color: rgba(255,255,255,.08); }
.command .kpi .kv { color: #fff; }
.command .kpi .kv em { color: #34D399; }
.command .kpi .kl { color: #8C99AD; }
.command .bar { background: rgba(255,255,255,.08); }
.command .country-row { color: #D3DBE7; border-color: rgba(255,255,255,.08); }
.command .country-row .cc { background: rgba(255,255,255,.08); color: #AEBACB; border-color: transparent; }
.command .country-row .on { color: #34D399; }
.command .country-row .soon { color: #8C99AD; }
.command .micro { color: #8C99AD; }
.command .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #D3DBE7; }
.command .chip:hover { border-color: #34D399; color: #34D399; }

/* ── interior pages ──────────────────────────────────────────────────── */
.page { padding: 1.2rem 0 2rem; }
.page > h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.page > .lede { margin-bottom: 1.5rem; }
.page:not(.centered):not(.quiz):not(.pricing):not(.nf) > .lede { margin-inline: 0; }
.page.centered { text-align: center; }
.page.centered .row, .page.centered form { max-width: 660px; margin-inline: auto; }
.page.centered .cardlist, .page.centered .card { text-align: left; }
.crumb { font-size: .8rem; color: var(--muted); margin: 0 0 .4rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--blue); }

/* ── forms ───────────────────────────────────────────────────────────── */
.row { display: flex; gap: .6rem; margin: 1.2rem 0; }
.row input { flex: 1; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=url], textarea, select {
  width: 100%; padding: .74rem 1rem; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.12); }
input:disabled { opacity: .5; }
textarea { resize: vertical; line-height: 1.6; }
.auth-panel { position: relative; }
input[type=search] { padding: .62rem .85rem; }
.stack { display: flex; flex-direction: column; gap: .9rem; }
.stack label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--muted); }
.stack input, .stack textarea, .stack select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: .7rem .9rem; }
.stack input:focus, .stack textarea:focus, .stack select:focus { outline: none; border-color: var(--blue); }
.chk { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.chk input { accent-color: var(--blue); width: auto; }

.dropzone {
  display: flex; gap: 1rem; align-items: center; cursor: pointer;
  border: 1.5px dashed rgba(26,86,219,.4); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; margin-bottom: .8rem; background: var(--blue-soft);
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: rgba(26,86,219,.12); }
.dz-icon { display: grid; place-items: center; flex: none; }
.dz-icon svg { width: 26px; height: 26px; color: var(--blue); }
.filelabel { color: var(--blue); cursor: pointer; text-decoration: underline; }

/* ── quiz ────────────────────────────────────────────────────────────── */
.quiz { max-width: 600px; margin: 0 auto; text-align: center; }
.progress { height: 5px; background: var(--slate); border-radius: 99px; margin: 1.4rem 0 .4rem; overflow: hidden; }
.progress .bar { height: 100%; border-radius: 99px; transition: width .5s var(--ease); background: var(--blue); }
.options { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.options.row2 { flex-direction: row; }
.options.row2 .option { flex: 1; }
.option {
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: .9rem 1.1rem; font: inherit; font-size: 1rem; cursor: pointer; text-align: center;
  color: var(--ink); box-shadow: var(--shadow);
  transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--blue); background: var(--blue-soft); }
.option.check { display: flex; gap: .65rem; align-items: center; text-align: left; }
.option.check input { accent-color: var(--blue); width: auto; }
.statement {
  font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--ink); line-height: 1.6;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 10px; padding: 1.35rem 1.5rem; margin: 1.2rem 0;
}
.compute { margin: 1.4rem 0; }
.checkrow {
  display: flex; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .7rem 1.05rem; margin: .5rem 0; opacity: .3; transform: translateX(-6px);
  transition: opacity .45s, transform .45s, border-color .45s;
}
.checkrow.done { opacity: 1; transform: none; border-color: rgba(6,118,71,.4); }
.checkrow span { color: var(--emerald); font-weight: 700; }
.scanline { height: 1px; background: linear-gradient(90deg, transparent, rgba(26,86,219,.4), transparent); animation: scan 1.5s ease-in-out infinite; margin: 1rem 0; }
@keyframes scan { 0%,100% { transform: translateX(-28%); opacity: .3 } 50% { transform: translateX(28%); opacity: 1 } }

/* ── lists, banners, docs ────────────────────────────────────────────── */
.cardlist { display: flex; flex-direction: column; gap: .85rem; margin: 1.3rem 0; }
.sponsor-row { display: flex; justify-content: space-between; gap: 1.2rem; align-items: flex-start; }
.sponsor-row .right { text-align: right; min-width: 130px; }
.autorow { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; font-size: .78rem; color: var(--ink-2); margin-bottom: .45rem; cursor: pointer; }
.autorow input { accent-color: var(--blue); width: auto; }
.autonote { margin: .4rem 0 0; font-size: .72rem; }
.warn { background: var(--coral-soft); border: 1px solid rgba(217,45,32,.24); color: #912018; padding: .8rem 1.1rem; border-radius: 10px; }
.okbanner {
  background: var(--emerald-soft); border: 1px solid rgba(6,118,71,.3); color: var(--emerald);
  padding: .72rem 1.1rem; border-radius: 10px; font-weight: 600;
  animation: okpop .5s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes okpop { from { transform: translateY(-8px); opacity: 0; } }
.blurred { filter: blur(6px); user-select: none; }
.quotebox { margin: .9rem 0; padding: .8rem 1.1rem; font-size: .95rem; color: var(--ink); background: var(--paper); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; }
.doc {
  white-space: pre-wrap; font-family: var(--mono); font-size: .81rem; line-height: 1.7;
  background: var(--paper); border: 1px solid var(--line); padding: 1.1rem; border-radius: 10px;
  max-height: 440px; overflow: auto; text-align: left; color: var(--ink-2);
}
.sharecard { background: linear-gradient(160deg, rgba(26,86,219,.05), rgba(6,118,71,.05)), #fff; border: 1px solid rgba(26,86,219,.3); text-align: left; }
.statrow { display: flex; align-items: baseline; gap: .8rem; padding: .4rem 0; }
.statrow .big { color: var(--blue); }

/* ── terminal — deliberate dark contrast block ───────────────────────── */
.terminal {
  text-align: left; background: #0D1524; border: 1px solid #1D2A40; border-radius: 12px;
  padding: 1rem 1.1rem; font-family: var(--mono); font-size: .78rem; line-height: 1.85;
  color: #86D3A8; min-height: 220px; display: flex; flex-direction: column;
}
.terminal .tbar { display: flex; gap: .4rem; margin-bottom: .8rem; }
.terminal .tbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.terminal .tbar i:first-child { background: #FF6058; }
.terminal .tbar i:nth-child(2) { background: #FFC55C; }
.terminal .tbar i:nth-child(3) { background: #34D399; }
.terminal .tbody { flex: 1; overflow: hidden; }
.terminal .tline .ok { color: #34D399; }
.terminal .tline .dim { color: #64748B; }
.terminal .caret { display: inline-block; width: 7px; height: 13px; background: #34D399; vertical-align: -2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── pricing ─────────────────────────────────────────────────────────── */
.pricing { text-align: center; }
.pricing .lede { margin-inline: auto; }
.packs { align-items: stretch; margin-top: 2.2rem; }
.pack { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.9rem 1.6rem; text-align: center; }
.pack .poptag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; border: 0;
  font-weight: 650; font-size: .7rem; letter-spacing: .06em; padding: .26rem .85rem; border-radius: 99px;
}
.pack.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg); }
.pack h3 { justify-content: center; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 650; }
.pack .badge { align-self: center; }
.pack .price { margin: .4rem 0 0; line-height: 1; }
.pack .price .cur { font-size: 1.2rem; vertical-align: 1.4rem; color: var(--muted); }
.pack .price .amt { font-family: var(--display); font-size: 3.2rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.pack .price .once { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-top: .5rem; }
.pack .perapp { color: var(--emerald); font-size: .88rem; margin: .5rem 0 .1rem; }
.perklist { list-style: none; margin: 1rem 0 1.3rem; padding: 0; text-align: left; flex: 1; }
.perklist li { position: relative; padding: .38rem 0 .38rem 1.5rem; font-size: .89rem; color: var(--ink-2); }
.perklist li::before {
  content: ''; position: absolute; left: 0; top: .76rem; width: 8px; height: 5px;
  border-left: 1.6px solid var(--emerald); border-bottom: 1.6px solid var(--emerald); transform: rotate(-45deg);
}
.pack .btn { margin-top: auto; justify-content: center; }
.paynote { margin-top: 2rem; }
.paynote .micro { margin: .25rem 0; }
.autopilot-card { max-width: 640px; margin: 2rem auto 0; }
.autopilot-card .perklist { text-align: left; }
.apday { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 2rem 0 1.5rem; counter-reset: apstep; }
.apstep { position: relative; padding: 1.4rem 1.4rem; }
.apstep .aptime { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 .5rem; }
.apstep h4 { margin: 0 0 .4rem; font-size: 1rem; }
.apstep p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.55; }
.apstep::before {
  counter-increment: apstep; content: counter(apstep, decimal-leading-zero);
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-family: var(--mono); font-size: .7rem; color: var(--faint);
}
.autopilot-status {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin: 1.2rem 0; border-color: rgba(26,86,219,.35);
  background: linear-gradient(120deg, rgba(26,86,219,.05), rgba(6,118,71,.04));
}
.autopilot-status h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .25rem; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(6,118,71,.4); animation: pulseDot 2.2s ease-out infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(6,118,71,.4); } 70% { box-shadow: 0 0 0 9px rgba(6,118,71,0); } 100% { box-shadow: 0 0 0 0 rgba(6,118,71,0); } }

/* ── job search — filters rail, result rows, intelligence pane ───────── */
.jobswrap { display: grid; grid-template-columns: 240px 1fr; gap: 1.1rem; align-items: start; text-align: left; }
@media (max-width: 860px) {
  /* mobile is results-first: filters drop below the list */
  .jobswrap { grid-template-columns: 1fr; }
  .jobswrap > aside:first-child { order: 2; }
  .filters { position: static; }
}
.filters { position: sticky; top: 66px; display: flex; flex-direction: column; gap: .75rem; padding: 1.05rem 1.1rem 1.15rem; }
.filters h4 { margin: 0 0 .1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.filters .chk { font-size: .89rem; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 0 0 .7rem; }
.jobrow { display: flex; gap: .95rem; padding: 1.02rem 1.15rem; align-items: flex-start; }
.jobrow:hover { border-color: var(--blue); }
.javatar {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.jobrow h3 { margin: 0 0 .1rem; font-size: 1.01rem; }
.jobrow h3 a { color: var(--ink); text-decoration: none; }
.jobrow h3 a:hover { color: var(--blue); text-decoration: underline; }
.jobrow .meta { margin: 0 0 .3rem; font-size: .85rem; color: var(--muted); }
.jobrow .snippet { margin: 0 0 .4rem; font-size: .84rem; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jobrow .ago { color: var(--emerald); font-weight: 600; }
.jobrow .actions { margin-left: auto; display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; flex: 0 0 auto; }
.jobrow .actions form { margin: 0; }
@media (max-width: 640px) {
  .jobrow { flex-wrap: wrap; }
  .jobrow .actions { flex-direction: row; margin-left: 0; }
}
.salchip { display: inline-block; margin: 0 0 .35rem; padding: .16rem .6rem; border-radius: 6px; background: var(--emerald-soft); color: var(--emerald); font-size: .82rem; font-weight: 650; font-family: var(--mono); }
.jtag-easy { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 650; padding: .18rem .6rem; border-radius: 6px; background: var(--blue-soft); color: var(--blue-deep); margin-left: .45rem; }
.alertbar {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem 1rem; margin: 1rem 0 0; box-shadow: var(--shadow); font-size: .9rem;
}
.alertbar input[type=email] { flex: 0 1 220px; padding: .5rem .8rem; border-radius: 8px; }
.alertbar .btn-sm { margin-left: auto; }
@media (min-width: 1100px) {
  .jobswrap.split { grid-template-columns: 225px minmax(360px, 46fr) minmax(400px, 54fr); }
  .jobdetail { position: sticky; top: 66px; max-height: calc(100vh - 86px); overflow-y: auto; padding: 1.35rem 1.5rem; text-align: left; }
  .jobrow.sel { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
}
@media (max-width: 1099px) { .jobdetail { display: none; } }
.jobembed h1 { font-size: 1.4rem; margin: 0 0 .3rem; }
.jobembed .lede { font-size: .95rem; margin: .2rem 0 .5rem; }
.jobembed .card { box-shadow: none; margin: .8rem 0; }

/* tabs, meters */
.tabstrip { display: flex; gap: .3rem; flex-wrap: wrap; margin: 0 0 1.3rem; border-bottom: 1px solid var(--line); }
.tab { padding: .55rem .95rem; font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.meter-card { display: flex; flex-direction: column; gap: .6rem; margin: 0 0 1.2rem; }
.meter-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.meter { height: 8px; border-radius: 99px; background: var(--slate); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--blue); transition: width .6s var(--ease); }
.meter-card .btn-ghost { align-self: flex-start; }

/* country autocomplete panel */
.ac-wrap { position: relative; }
.ac-wrap input { width: 100%; }
.ac-panel {
  position: absolute; top: calc(100% + 5px); left: 0; min-width: 100%; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.ac-panel button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  width: 100%; padding: .55rem .85rem; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; color: var(--ink);
}
.ac-panel button span { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.ac-panel button:hover { background: var(--blue-soft); color: var(--blue); }

/* hero tracker demo */
.trackdemo { max-width: 760px; margin: 2rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.15rem 1.3rem; text-align: left; }
.tdhead { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tdrow { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; flex-wrap: wrap; }
.tdrow .javatar { width: 34px; height: 34px; flex-basis: 34px; font-size: .95rem; border-radius: 7px; }
.tdrow .tdrole { color: var(--muted); flex: 1; min-width: 140px; }
.tdrow .tdscore { font-family: var(--mono); font-weight: 700; color: var(--emerald); }
.tdstatus { font-size: .76rem; font-weight: 650; padding: .2rem .7rem; border-radius: 99px; white-space: nowrap; }
.tdstatus.ok { background: var(--emerald-soft); color: var(--emerald); }
.tdstatus.ready { background: var(--blue-soft); color: var(--blue-deep); }
.tdstatus.work { background: var(--amber-soft); color: var(--amber); }
.tdago { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .tdrow .tdago { display: none; } }

/* showcase fan (marketing) */
.showcase { position: relative; margin: 3rem auto 0; max-width: 1060px; perspective: 1600px; }
.fan { display: flex; justify-content: center; align-items: flex-end; gap: 0; transform-style: preserve-3d; }
.jobcard {
  --tilt: 0deg; --lift: 0px; --z: 0;
  width: 232px; flex: none; margin-inline: 9px; padding: 1.05rem 1.1rem;
  text-align: left; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -16px rgba(15,30,51,.3);
  transform: rotate(var(--tilt)) translateY(var(--lift)) scale(var(--s, .92));
  z-index: var(--z); transition: transform .4s var(--ease), box-shadow .4s;
}
.jobcard.lead { --s: 1.06; width: 264px; z-index: 9; border-color: rgba(26,86,219,.35); box-shadow: 0 0 0 1px rgba(26,86,219,.12), 0 28px 60px -24px rgba(26,86,219,.35); }
.jobcard.dim { opacity: .75; }
.showcase:hover .jobcard { --lift: -6px; }
.jchead { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .85rem; }
.jclogo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); }
.jcscore { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--emerald); background: conic-gradient(var(--emerald) calc(var(--p,90) * 1%), var(--slate) 0); position: relative; }
.jcscore::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
.jcscore b { position: relative; font-weight: 700; }
.jobcard h4 { margin: 0; font-size: .96rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.jcsub { margin: .18rem 0 .7rem; font-size: .78rem; color: var(--muted); }
.jctags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.jctag { font-size: .68rem; font-weight: 550; padding: .2rem .5rem; border-radius: 6px; background: var(--slate); border: 1px solid var(--line); color: var(--ink-2); display: inline-flex; align-items: center; gap: .3rem; }
.jctag.ok { background: var(--emerald-soft); border-color: rgba(6,118,71,.25); color: var(--emerald); }
.jcpay { font-family: var(--mono); font-size: .9rem; font-weight: 600; color: var(--ink); margin: 0 0 .8rem; }
.jcbtn { display: flex; align-items: center; justify-content: center; gap: .35rem; background: var(--blue); color: #fff; border-radius: 8px; padding: .45rem 0; font-size: .8rem; font-weight: 650; }
.jobcard.dim .jcbtn { background: var(--slate); color: var(--ink-2); }
@media (max-width: 900px) {
  .fan { flex-wrap: nowrap; overflow-x: auto; padding: 1.4rem .8rem 1.8rem; gap: .7rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .jobcard { --tilt: 0deg !important; --s: 1 !important; margin-inline: 0; width: 220px; scroll-snap-align: center; }
  .jobcard.lead { width: 230px; }
}

/* live match demo */
.demo { display: flex; gap: 1.5rem; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.7rem 1.9rem; max-width: 660px; margin: 0 auto; flex-wrap: wrap; }
.demo .ring { width: 92px; height: 92px; margin: 0; flex: none; }
.demo .ring b { font-size: 1.4rem; }
.demo .dtext { flex: 1 1 280px; min-height: 82px; }
.demo .dtext h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.demo .dtext p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ── profile ─────────────────────────────────────────────────────────── */
.profile { max-width: 780px; margin: 0 auto; }
.profileform { display: flex; flex-direction: column; gap: 1.05rem; margin-top: 1.5rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem; margin-top: .9rem; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
.profileform label { display: block; font-size: .78rem; color: var(--muted); text-align: left; }
.profileform label input, .profileform label select { margin-top: .35rem; }
.profileform textarea { margin-top: .5rem; }
.profileform .btn { align-self: center; }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.nf { text-align: center; max-width: 640px; margin: 0 auto; }
.nf code { background: var(--slate); border: 1px solid var(--line); border-radius: 6px; padding: .12rem .5rem; color: var(--amber); font-family: var(--mono); font-size: .9em; }
.nf-scope { position: relative; width: 220px; height: 120px; margin: 2rem auto 1rem; overflow: hidden; }
.nf-ring { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border: 1px solid rgba(26,86,219,.25); border-radius: 50%; }
.nf-ring.r1 { width: 70px; height: 70px; }
.nf-ring.r2 { width: 140px; height: 140px; }
.nf-ring.r3 { width: 210px; height: 210px; }
.nf-sweep { position: absolute; left: 50%; bottom: 0; width: 105px; height: 1px; background: linear-gradient(90deg, rgba(26,86,219,.7), transparent); transform-origin: left center; animation: nfsweep 3.4s linear infinite; }
@keyframes nfsweep { from { transform: rotate(180deg); } to { transform: rotate(360deg); } }

/* ── admin stats ─────────────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat-card { display: flex; flex-direction: column; gap: .2rem; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: #fff; box-shadow: var(--shadow); }
.stat-n { font-family: var(--mono); font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; color: var(--blue); line-height: 1.15; }
.stat-l { color: var(--ink); font-size: .92rem; }
.stat-sub { color: var(--muted); font-size: .8rem; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; margin: 1.2rem 0 2.2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; overflow-x: auto; }
.bars .bar { flex: 1 1 0; min-width: 14px; max-width: 56px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bars .bar span { width: 100%; background: var(--blue); opacity: .75; border-radius: 3px 3px 0 0; }
.bars .bar:hover span { opacity: 1; }
.bars .bar em { position: absolute; bottom: -1.3rem; font-size: .62rem; color: var(--muted); font-style: normal; }
.tbl { width: 100%; border-collapse: collapse; margin: .8rem 0 2rem; font-size: .93rem; text-align: left; }
.tbl th { color: var(--muted); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.tbl th, .tbl td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.tbl .num { text-align: right; }
.tbl code { font-family: var(--mono); font-size: .86em; color: var(--ink); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; text-align: left; }
@media (max-width: 720px) { .cols2 { grid-template-columns: 1fr; } }

/* ── footer — midnight navy, mirrors the nav ─────────────────────────── */
.foot { background: var(--navy); border-top: 0; padding: 3.2rem 1.6rem 2.4rem; color: #8C99AD; font-size: .85rem; }
.footgrid { display: flex; gap: 3rem; flex-wrap: wrap; max-width: 1100px; margin: 0 auto 2rem; text-align: left; justify-content: space-between; }
.footgrid .fcol { min-width: 150px; }
.footgrid .fbrand { max-width: 290px; }
.footgrid .fbrand b { color: #E7ECF4; font-size: 1rem; letter-spacing: -.02em; }
.footgrid h4 { margin: 0 0 .7rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .18em; color: #66748B; font-weight: 650; }
.footgrid a { display: block; color: #9AA7BA; text-decoration: none; padding: .22rem 0; transition: color .15s; }
.footgrid a:hover { color: #fff; }
.foot .legalline { max-width: 84ch; margin: 1rem auto 0; font-size: .72rem; text-align: center; color: #66748B; line-height: 1.7; }
.foot .copyline { text-align: center; margin-top: .8rem; font-size: .78rem; color: #66748B; }

/* ── reveal on scroll ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
.stagger > .reveal { transition-duration: .55s; }

/* retired chrome (kept as no-ops so old markup can't leak back) */
.rail, .railtrack, .aurora, #spotlight { display: none !important; }

/* ── auth welcome modal — layered over a visible page, never a wall ──── */
.am-overlay {
  position: fixed; inset: 0; z-index: 200;
  /* Fully opaque welcome ground (page behind never visible) — midnight navy
     with faint global route arcs + destination points: the mobility motif. */
  background-color: #0F1E33;
  background-image:
    radial-gradient(900px 480px at 50% -10%, rgba(26,86,219,.28), transparent 65%),
    radial-gradient(700px 420px at 85% 105%, rgba(6,118,71,.16), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-40,760 Q360,240 880,420 T1500,180' stroke='%237EA4F4' stroke-opacity='.14' stroke-width='1.5'/%3E%3Cpath d='M-60,520 Q420,640 820,300 T1520,420' stroke='%2334D399' stroke-opacity='.11' stroke-width='1.5'/%3E%3Cpath d='M120,940 Q520,480 1060,660 T1560,520' stroke='%237EA4F4' stroke-opacity='.09' stroke-width='1.2'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='140' cy='688' r='4' fill='%2334D399' fill-opacity='.55'/%3E%3Ccircle cx='140' cy='688' r='10' fill='none' stroke='%2334D399' stroke-opacity='.22'/%3E%3Ccircle cx='880' cy='420' r='3.5' fill='%237EA4F4' fill-opacity='.55'/%3E%3Ccircle cx='1348' cy='236' r='4' fill='%2334D399' fill-opacity='.5'/%3E%3Ccircle cx='1348' cy='236' r='11' fill='none' stroke='%2334D399' stroke-opacity='.18'/%3E%3Ccircle cx='300' cy='583' r='3' fill='%237EA4F4' fill-opacity='.45'/%3E%3Ccircle cx='820' cy='300' r='3.5' fill='%2334D399' fill-opacity='.45'/%3E%3Ccircle cx='1240' cy='598' r='3' fill='%237EA4F4' fill-opacity='.4'/%3E%3Ccircle cx='520' cy='560' r='2.5' fill='%23AEBACB' fill-opacity='.35'/%3E%3Ccircle cx='1060' cy='660' r='3' fill='%2334D399' fill-opacity='.35'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
/* the class display beats the [hidden] UA default — restore it explicitly */
.am-overlay[hidden] { display: none; }
/* Pre-paint takeover: <head> script adds .am-open before anything renders, so
   the very first frame is the navy welcome — the page never flashes first.
   Page chrome is hidden (not removed) and restored the instant it's closed. */
html.am-open body { overflow: hidden; background: var(--navy); }
html.am-open header.nav, html.am-open main, html.am-open footer.foot { visibility: hidden; }
html.am-open .am-overlay, html.am-open .am-overlay[hidden] { display: flex; }
.am-col { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; max-width: 460px; }
/* explore row on the navy ground — LinkedIn-style logged-out entry points */
.am-explore { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.am-ex {
  font-size: .84rem; font-weight: 550; padding: .42rem .95rem; border-radius: 99px;
  text-decoration: none; color: #D3DBE7;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  transition: border-color .15s, color .15s, background .15s;
}
.am-ex:hover { border-color: #34D399; color: #fff; background: rgba(52,211,153,.1); }
.am-card {
  position: relative; width: 100%; max-width: 460px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 70px -20px rgba(15,30,51,.55);
  padding: 2rem 2rem 1.4rem; text-align: center;
  animation: amIn .3s var(--ease);
}
@keyframes amIn { from { transform: translateY(10px); opacity: 0; } }
.am-logo { width: 40px; height: 40px; border-radius: 10px; margin-bottom: .8rem; }
.am-card h2 { font-size: 1.45rem; margin: 0 0 .4rem; }
.am-sub { color: var(--ink-2); font-size: .93rem; line-height: 1.6; margin: 0 0 1.2rem; }
.am-close {
  position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font-size: 1rem; cursor: pointer;
}
.am-close:hover { background: var(--slate); color: var(--ink); }
.am-form { text-align: left; }
.am-browse {
  border: 0; background: none; color: var(--muted); font: inherit; font-size: .86rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: .4rem;
}
.am-browse:hover { color: var(--ink); }
.am-legal { font-size: .7rem; color: var(--muted); line-height: 1.6; margin: .8rem 0 0; }
.am-legal a { color: var(--muted); }
.am-trust { color: var(--emerald); font-weight: 550; }
@media (max-width: 640px) {
  /* bottom sheet, not a shrunken desktop modal */
  .am-overlay { align-items: flex-end; padding: 0; }
  .am-col { max-width: none; gap: .8rem; }
  .am-explore { order: -1; padding: 0 1rem; }
  .am-card {
    max-width: none; border-radius: 20px 20px 0 0; border-bottom: 0;
    padding: 1.6rem 1.3rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    max-height: 92dvh; overflow-y: auto;
    animation: amUp .3s var(--ease);
  }
  @keyframes amUp { from { transform: translateY(30%); opacity: .4; } }
  .am-card h2 { font-size: 1.3rem; }
  .am-card .btn, .btn-google { padding-block: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .am-card { animation: none; } }

/* bare auth shell (login / focused pages) */
.nav-bare { justify-content: center; }
.foot-bare { padding: 1.6rem; }
.foot-bare .copyline { margin: 0; }
.authcard {
  max-width: 440px; margin: 2.5rem auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 2rem; text-align: center;
}
.authcard h1 { font-size: 1.6rem; margin: 0 0 .4rem; }
.authcard .lede { font-size: .93rem; margin: 0 auto 1.3rem; }
.authcard form { text-align: left; }

/* ── accessibility ───────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .scanline, .nf-sweep, .terminal .caret, .okbanner, .ring.landed, .pulse-dot { animation: none !important; }
  .btn:hover, .jobrow:hover { transform: none; }
}

/* ── fix: nav Ask search went dark-on-dark when focused (v5 translucent bg
   survived under v6's dark ink). Solid white pill, LinkedIn-style. ── */
.navsearch input { background: #fff; border-color: rgba(255,255,255,.25); color: #111b2b; }
.navsearch input::placeholder { color: #77839a; }
.navsearch input:focus { background: #fff; border-color: #5F8BEA; color: #111b2b; box-shadow: 0 0 0 3px rgba(95,139,234,.28); }
