/* Next Career Life — international HR briefing pack
   Work Sans only. Cobalt header bars on white, one amber accent reserved for "key difference". Square corners throughout. */

:root {
  --cobalt: #0b2f8f;
  --cobalt-deep: #071f63;
  --cobalt-mid: #1c46b8;
  --cobalt-line: #2a4fb8;
  --cobalt-soft: #eef2fc;
  --cobalt-tint: #f6f8fd;
  --ink: #0e1a33;
  --text: #28334b;
  --muted: #5a6580;
  --rule: #d6ddec;
  --rule-strong: #b7c3dc;
  --amber: #f5b21b;
  --amber-soft: #fff4d6;
  --amber-ink: #6e4600;
  --white: #ffffff;
  --font: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: "tnum" 1, "lnum" 1;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 900px) { :root { --gut: 40px; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobalt); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 3px; background: currentColor; flex: none; }
.kicker--light { color: #b9c8f2; }

/* ---------- chips (flag-adjacent colour, never flags) ---------- */
.chip { display: inline-flex; flex: none; height: 12px; outline: 1px solid rgba(14,26,51,.18); outline-offset: 0; vertical-align: -1px; }
.chip i { display: block; width: 6px; height: 100%; }
.chip--topic i { background: var(--cobalt); }
.chip--topic i:nth-child(2) { background: #6f8ad6; }
.chip--topic i:nth-child(3) { background: #c6d2f1; }

.keytag {
  display: inline-block; background: var(--amber); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px 2px; line-height: 1.3; white-space: nowrap;
}

.more { font-weight: 700; font-size: 14px; letter-spacing: .02em; text-decoration: none; display: inline-flex; gap: 6px; }
.more:hover { text-decoration: underline; }

/* ---------- masthead ---------- */
.mast__bar { background: var(--cobalt); color: #fff; }
.mast__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand__sub { display: none; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #b9c8f2; border-left: 1px solid var(--cobalt-line); padding-left: 12px; }
.brand:hover { color: #fff; }
.mast__topics { display: none; }
.mast__topics a { color: #dfe6fb; text-decoration: none; font-size: 14px; font-weight: 500; padding: 22px 0; border-bottom: 3px solid transparent; }
.mast__topics a:hover, .mast__topics a[aria-current] { color: #fff; border-bottom-color: var(--amber); }
@media (min-width: 720px) { .brand__sub { display: inline; } }
@media (min-width: 1080px) { .mast__topics { display: flex; gap: 26px; } }

.picker { background: var(--cobalt-deep); color: #fff; }
.picker__inner { display: flex; align-items: center; gap: 14px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.picker__inner::-webkit-scrollbar { display: none; }
.picker__label, .picker__to { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93a6de; white-space: nowrap; flex: none; }
.picker__to { display: none; align-items: center; gap: 8px; margin-left: auto; }
.picker__to b { color: #fff; letter-spacing: .08em; }
.picker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex: none; }
.picker__list a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 13px 12px 12px; border-bottom: 3px solid transparent;
}
.picker__list a:hover { background: rgba(255,255,255,.06); color: #fff; }
.picker__list a[aria-current] { border-bottom-color: var(--amber); background: rgba(255,255,255,.08); }
.picker__list .chip { outline-color: rgba(255,255,255,.35); }
@media (min-width: 1080px) { .picker__to { display: inline-flex; } }

/* ---------- home hero ---------- */
.hero { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; padding: 44px 0 150px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--cobalt-line) 1px, transparent 1px), linear-gradient(90deg, var(--cobalt-line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .35; pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 28px; }
.hero__title { color: #fff; font-weight: 800; font-size: clamp(34px, 8.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; max-width: 13.5ch; margin-bottom: 22px; }
.hero__intro { font-size: 18px; line-height: 1.6; color: #dbe3fa; max-width: 56ch; margin: 0; }
.hero__art { margin: 0; position: relative; display: none; aspect-ratio: 3 / 2; background: var(--cobalt-mid); }
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 190px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero__art { display: block; }
}

/* ---------- comparison strip (CSS-only tabs) ---------- */
.cmp-wrap { position: relative; margin-top: -110px; }
@media (min-width: 900px) { .cmp-wrap { margin-top: -140px; } }
.cmp { background: #fff; border: 1px solid var(--rule-strong); border-top: 0; box-shadow: 0 24px 50px -30px rgba(7,31,99,.55); }
.cmp__head { background: var(--cobalt-deep); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 16px 20px; border-top: 4px solid var(--amber); }
.cmp__title { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.cmp__hint { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #93a6de; }
.cmp__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cmp__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-strong); background: var(--cobalt-tint); }
.cmp__tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; cursor: pointer;
  padding: 12px 10px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.2;
  border-right: 1px solid var(--rule); border-bottom: 3px solid transparent; margin-bottom: -1px; user-select: none;
}
.cmp__tab:last-child { border-right: 0; }
.cmp__tab:hover { color: var(--ink); background: #fff; }
@media (min-width: 700px) { .cmp__tab { flex-direction: row; align-items: center; padding: 16px 18px; font-size: 15px; } }

#cc-us:checked ~ .cmp__tabs .tab-us, #cc-uk:checked ~ .cmp__tabs .tab-uk, #cc-in:checked ~ .cmp__tabs .tab-in,
#cc-gcc:checked ~ .cmp__tabs .tab-gcc, #cc-apac:checked ~ .cmp__tabs .tab-apac {
  background: #fff; color: var(--ink); border-bottom-color: var(--cobalt); font-weight: 700;
}
#cc-us:focus-visible ~ .cmp__tabs .tab-us, #cc-uk:focus-visible ~ .cmp__tabs .tab-uk, #cc-in:focus-visible ~ .cmp__tabs .tab-in,
#cc-gcc:focus-visible ~ .cmp__tabs .tab-gcc, #cc-apac:focus-visible ~ .cmp__tabs .tab-apac { outline: 3px solid var(--amber); outline-offset: -3px; }

.cmp__table .v { display: none; }
#cc-us:checked ~ .cmp__table .v-us, #cc-uk:checked ~ .cmp__table .v-uk, #cc-in:checked ~ .cmp__table .v-in,
#cc-gcc:checked ~ .cmp__table .v-gcc, #cc-apac:checked ~ .cmp__table .v-apac { display: block; }

.cmp__table, .glance__table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.cmp__table thead th, .glance__table thead th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 12px 20px; border-bottom: 2px solid var(--ink); white-space: nowrap;
}
.cmp__table thead th .chip, .glance__table thead th .chip { margin-right: 6px; }
.cmp__table thead th.cmp__nl, .glance__table thead th.cmp__nl { color: var(--cobalt); }
.cmp__table tbody th, .glance__table tbody th { text-align: left; font-weight: 700; color: var(--ink); vertical-align: top; }
.cmp__table tbody th, .cmp__table td, .glance__table tbody th, .glance__table td { padding: 15px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp__table td.cmp__nl, .glance__table td.cmp__nl { background: var(--cobalt-tint); color: var(--ink); font-weight: 500; }
.cmp__table tr.is-key th, .glance__table tr.is-key th { box-shadow: inset 5px 0 0 var(--amber); }
.cmp__table tr.is-key td.cmp__nl, .glance__table tr.is-key td.cmp__nl { background: var(--amber-soft); }
.cmp__table .keytag, .glance__table .keytag { display: table; margin-top: 8px; }
.v__who { display: none; }
.cmp__note { font-size: 13px; color: var(--muted); padding: 14px 20px; margin: 0; }
.cmp__note::before { content: "Note — "; font-weight: 700; color: var(--ink); }

@media (max-width: 699px) {
  .cmp__table thead, .glance__table thead { display: none; }
  .cmp__table tr, .glance__table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
  .cmp__table tbody th, .glance__table tbody th { grid-column: 1 / -1; border-bottom: 0; padding: 14px 16px 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .cmp__table .keytag, .glance__table .keytag { margin-top: 0; }
  .cmp__table td, .glance__table td { border-bottom: 0; padding: 6px 16px 14px; font-size: 14px; }
  .cmp__table td.cmp__nl, .glance__table td.cmp__nl { padding-top: 8px; }
  .v__who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
  .cmp__nl .v__who { color: var(--cobalt); }
  .cmp__table tr.is-key th, .glance__table tr.is-key th { box-shadow: inset 5px 0 0 var(--amber); }
  .cmp__table tr.is-key td:nth-child(2), .glance__table tr.is-key td:nth-child(2) { box-shadow: inset 5px 0 0 var(--amber); }
  .cmp__note { padding: 12px 16px; }
  .cmp__head { padding: 14px 16px; }
}

/* ---------- sections ---------- */
.sec { padding: 72px var(--gut); }
.sec.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.sec--tight { padding-top: 48px; }
.sec--tint { background: var(--cobalt-tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-left: 0; padding-right: 0; }
.sec__head { margin-bottom: 32px; max-width: 760px; }
.sec__title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.sec__lede { font-size: 18px; color: var(--muted); margin: 0; }
@media (min-width: 900px) { .sec { padding-top: 96px; padding-bottom: 96px; } }

/* country packs: dossier strips */
.packs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pack { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--rule-strong); }
.pack__id { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 14px; padding: 22px 0 14px 18px; text-decoration: none; color: var(--ink); }
.pack__flagbar { position: absolute; left: 0; top: 22px; bottom: 14px; width: 8px; display: flex; flex-direction: column; }
.pack__flagbar i { flex: 1; outline: 1px solid rgba(14,26,51,.08); }
.pack__code { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--cobalt); }
.pack__country { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.pack__body { padding: 0 0 12px; }
.pack__name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pack__name a { color: var(--ink); text-decoration: none; }
.pack__name a:hover { color: var(--cobalt); text-decoration: underline; }
.pack__desc { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.pack__diff { background: var(--amber-soft); border-left: 5px solid var(--amber); padding: 12px 14px; font-size: 15px; color: var(--ink); font-weight: 500; margin: 0; }
.pack__diff .keytag { margin-right: 8px; }
.pack__list { padding: 14px 0 24px; }
.pack__list ul { list-style: none; margin: 0 0 12px; padding: 0; }
.pack__list li { border-top: 1px solid var(--rule); }
.pack__list li a { display: block; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; line-height: 1.4; }
.pack__list li a:hover { color: var(--cobalt); text-decoration: underline; }
@media (min-width: 900px) {
  .pack { grid-template-columns: 250px 1fr 340px; gap: 40px; }
  .pack__id { grid-template-columns: 1fr; align-content: start; align-items: start; padding: 30px 0 30px 26px; gap: 10px; }
  .pack__flagbar { top: 30px; bottom: 30px; width: 10px; }
  .pack__code { font-size: 76px; }
  .pack__body { padding: 30px 0; }
  .pack__list { padding: 30px 0; }
  .pack:hover { background: linear-gradient(90deg, var(--cobalt-tint), transparent 70%); }
}

/* cross-border notes: cobalt header bars */
.notes { display: grid; gap: 24px; }
.note { background: #fff; border: 1px solid var(--rule-strong); display: flex; flex-direction: column; }
.note__bar { background: var(--cobalt); color: #fff; padding: 16px 20px; display: flex; align-items: baseline; gap: 14px; }
.note__code { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--amber); border: 1px solid rgba(245,178,27,.6); padding: 2px 6px; }
.note__bar h3 { font-size: 20px; font-weight: 700; color: #fff; }
.note__bar a { color: #fff; text-decoration: none; }
.note__bar a:hover { text-decoration: underline; }
.note__desc { padding: 18px 20px 0; color: var(--muted); font-size: 15.5px; }
.note__list { list-style: none; margin: 0 20px; padding: 0; flex: 1; }
.note__list li { border-top: 1px solid var(--rule); padding: 10px 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.note__list a { color: var(--ink); text-decoration: none; }
.note__list a:hover { color: var(--cobalt); text-decoration: underline; }
.note .more { padding: 14px 20px 18px; }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); } }

/* format */
.format { display: grid; gap: 32px; }
.format__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--rule-strong); }
.format__steps li { padding: 24px; border-bottom: 1px solid var(--rule-strong); position: relative; }
.format__steps li:last-child { border-bottom: 0; }
.format__steps li.is-key { background: var(--amber-soft); box-shadow: inset 6px 0 0 var(--amber); }
.format__n { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--cobalt); display: block; margin-bottom: 18px; }
.format__steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.format__steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.format__steps li.is-key .format__n { color: var(--amber-ink); }
@media (min-width: 900px) {
  .format { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
  .format__steps { grid-template-columns: repeat(3, 1fr); }
  .format__steps li { border-bottom: 0; border-right: 1px solid var(--rule-strong); min-height: 230px; }
  .format__steps li:last-child { border-right: 0; }
  .format__steps li::after { content: "→"; position: absolute; right: -13px; top: 22px; width: 24px; height: 24px; background: #fff; border: 1px solid var(--rule-strong); display: grid; place-items: center; font-size: 13px; color: var(--cobalt); z-index: 1; }
  .format__steps li:last-child::after { display: none; }
}

/* ledger table (latest) */
.ledger { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ledger th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule-strong); }
.ledger td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 15px; }
.ledger .num { text-align: right; white-space: nowrap; padding-right: 0; color: var(--muted); }
.ledger__date { white-space: nowrap; color: var(--muted); width: 120px; }
.ledger__title a { color: var(--ink); font-weight: 600; font-size: 16.5px; text-decoration: none; line-height: 1.35; }
.ledger__title a:hover { color: var(--cobalt); text-decoration: underline; }
.ledger__pack a { color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 14px; }
.ledger__pack a:hover { color: var(--cobalt); }
@media (max-width: 799px) {
  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .ledger td { padding: 0; border: 0; }
  .ledger__title { grid-column: 1 / -1; order: -1; }
  .ledger__date { width: auto; font-size: 13px; }
  .ledger__pack { display: none; }
  .ledger .num { font-size: 13px; }
}

/* ---------- category header ---------- */
.cathead { background: var(--cobalt); color: #fff; padding: 22px 0 44px; position: relative; overflow: hidden; }
.cathead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3;
  background-image: linear-gradient(var(--cobalt-line) 1px, transparent 1px), linear-gradient(90deg, var(--cobalt-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cathead .wrap { position: relative; }
.cathead__grid { display: grid; gap: 28px; margin-top: 26px; }
.cathead__title { color: #fff; font-size: clamp(34px, 7vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 18px; display: flex; align-items: stretch; gap: 16px; }
.cathead__flagbar { display: flex; flex-direction: column; width: 10px; flex: none; outline: 1px solid rgba(255,255,255,.3); }
.cathead__flagbar i { flex: 1; }
.cathead__desc { font-size: 18px; color: #dbe3fa; max-width: 60ch; }
.cathead__meta { margin: 0; font-size: 14px; color: #b9c8f2; }
.cathead__meta b { color: #fff; }
.cathead__art { margin: 0; position: relative; aspect-ratio: 16 / 9; background: var(--cobalt-mid); overflow: hidden; border: 1px solid var(--cobalt-line); }
.cathead__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cathead__code {
  position: absolute; right: 18px; bottom: -.14em; font-size: 150px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55);
}
.cathead__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cathead__art::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; }
.art-us::after { background: linear-gradient(#1f3a6e 33%, #fff 33% 66%, #b3243b 66%); }
.art-uk::after { background: linear-gradient(#0b2a6b 33%, #fff 33% 66%, #c8102e 66%); }
.art-in::after { background: linear-gradient(#f08a24 33%, #fff 33% 66%, #128a3a 66%); }
.art-gcc::after { background: linear-gradient(#0f7a3d 25%, #fff 25% 50%, #1a1a1a 50% 75%, #ce1126 75%); }
.art-apac::after { background: linear-gradient(#d8262e 25%, #fff 25% 50%, #0d57a6 50% 75%, #f3c316 75%); }
.art-topic::after { background: linear-gradient(var(--amber) 33%, #6f8ad6 33% 66%, #c6d2f1 66%); }
.cathead__art img { z-index: 1; }
.cathead--plain { padding-bottom: 56px; }
.cathead--plain .kicker { margin-top: 28px; }
@media (min-width: 900px) {
  .cathead { padding: 26px 0 64px; }
  .cathead__grid { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 56px; }
  .cathead__art { aspect-ratio: 1 / 1; max-height: 340px; }
  .cathead__code { font-size: 190px; }
}

.crumbs { font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); padding-top: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; }
.crumbs--light, .crumbs--light a { color: #b9c8f2; }
.crumbs--light a:hover { color: #fff; }
.crumbs [aria-current] { color: inherit; font-weight: 600; }

.glance { margin-top: 48px; }
.glance__title { font-size: 22px; font-weight: 700; color: var(--ink); background: var(--cobalt-deep); color: #fff; padding: 14px 20px; margin: 0; border-top: 4px solid var(--amber); }
.glance__table { border: 1px solid var(--rule-strong); border-top: 0; }
.glance .cmp__note { border: 1px solid var(--rule-strong); border-top: 0; }
.glance--topic .glance__title { font-size: 17px; }
.glance--topic .countrylinks { border: 1px solid var(--rule-strong); border-top: 0; padding: 16px 20px; margin: 0; }

.countrylinks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.countrylinks a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; background: #fff; }
.countrylinks a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.countrylinks--stack { flex-direction: column; }
.countrylinks--stack a { display: flex; }

/* article index on category */
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index__row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.index__no { font-size: 14px; font-weight: 800; color: var(--cobalt); letter-spacing: .06em; padding-top: 4px; }
.index__title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.index__title a { color: var(--ink); text-decoration: none; }
.index__title a:hover { color: var(--cobalt); text-decoration: underline; }
.index__sum { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 72ch; }
.index__meta { grid-column: 2; margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .index__row { grid-template-columns: 70px 1fr 170px; gap: 24px; padding: 26px 0; }
  .index__no { font-size: 22px; padding-top: 0; }
  .index__meta { grid-column: 3; flex-direction: column; gap: 4px; text-align: right; padding-top: 6px; }
  .index__row:hover { background: linear-gradient(90deg, var(--cobalt-tint), transparent 80%); }
}
.empty { border: 1px dashed var(--rule-strong); padding: 24px; color: var(--muted); }

.othernav { padding-top: 8px; padding-bottom: 80px; }
.othernav__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; border-top: 2px solid var(--ink); padding-top: 18px; }
.othernav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.othernav a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.othernav a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.othernav a[aria-current] { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }

/* ---------- article: briefing memo ---------- */
.brief .crumbs { padding: 22px 0 18px; }
.memo { border: 1px solid var(--rule-strong); border-top: 0; margin-bottom: 40px; }
.memo__bar { background: var(--cobalt); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 20px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-top: 4px solid var(--amber); }
.memo__ref { color: #b9c8f2; letter-spacing: .08em; font-weight: 600; }
.memo__fields { margin: 0; }
.memo__row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--rule); }
.memo__row:last-child { border-bottom: 0; }
.memo dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 20px 0; }
.memo dd { margin: 0; padding: 4px 20px 14px; color: var(--ink); font-weight: 500; }
.memo dd a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.memo dd a:hover { color: var(--cobalt); text-decoration: underline; }
.memo__title { font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; padding: 4px 0 10px; max-width: 24ch; }
.memo__row--split { display: grid; grid-template-columns: 1fr 1fr; }
.memo__row--split > div { border-right: 1px solid var(--rule); }
.memo__row--split > div:nth-child(2) { border-right: 0; }
.memo__row--split > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--rule); }
@media (min-width: 800px) {
  .memo__row { grid-template-columns: 150px 1fr; }
  .memo dt { padding: 18px 20px; border-right: 1px solid var(--rule); background: var(--cobalt-tint); }
  .memo dd { padding: 16px 24px; align-self: center; }
  .memo__row--subj dd { padding: 22px 24px 18px; }
  .memo__row--split { grid-template-columns: repeat(3, 1fr); }
  .memo__row--split > div { display: grid; grid-template-columns: 150px 1fr; }
  .memo__row--split > div:nth-child(2) { border-right: 1px solid var(--rule); grid-template-columns: 150px 1fr; }
  .memo__row--split > div:nth-child(2) dt, .memo__row--split > div:nth-child(3) dt { background: none; border-right: 0; }
  .memo__row--split > div:nth-child(3) { grid-column: auto; border-top: 0; }
  .memo__row--split > div:nth-child(n+2) { grid-template-columns: auto 1fr; }
}

.brief__grid { display: grid; gap: 32px; }
.brief__side { order: 0; }
.toc { border-top: 2px solid var(--ink); }
.toc__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 10px 0; color: var(--text); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 800; color: var(--cobalt); font-size: 12.5px; padding-top: 2px; }
.toc a:hover { color: var(--cobalt); }
@media (max-width: 1079px) {
  .toc { background: var(--cobalt-tint); border: 1px solid var(--rule); border-top: 3px solid var(--cobalt); padding: 4px 18px 8px; }
  .toc li:last-child { border-bottom: 0; }
}
@media (min-width: 1080px) {
  .brief__grid { grid-template-columns: 270px minmax(0, 1fr); gap: 64px; }
  .brief__side { position: relative; }
  .toc { position: sticky; top: 24px; }
}
.brief__main { max-width: 760px; min-width: 0; }

.bluf { background: var(--cobalt-soft); border-left: 6px solid var(--cobalt); padding: 20px 24px; margin-bottom: 36px; }
.bluf__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 8px; }
.bluf__text { font-size: 18.5px; line-height: 1.6; color: var(--ink); font-weight: 500; margin: 0; }

/* ---------- prose ---------- */
.prose { counter-reset: sec; font-size: 18px; line-height: 1.72; color: var(--text); }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose p { margin: 0 0 1.15em; }
.prose h2 {
  counter-increment: sec; font-size: clamp(24px, 3.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.22;
  margin: 2.1em 0 .75em; padding-top: 18px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 14px;
}
.prose h2::before { content: counter(sec, decimal-leading-zero); color: var(--cobalt); font-size: .62em; font-weight: 800; letter-spacing: .06em; padding-top: .38em; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 1.7em 0 .5em; color: var(--ink); }
.prose h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--cobalt); margin-right: 10px; vertical-align: 2px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 500; }
.prose ul, .prose ol { padding: 0; margin: 0 0 1.4em; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border: 2px solid var(--cobalt); }
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; position: relative; padding-left: 40px; margin-bottom: .7em; }
.prose ol li::before { content: counter(ol); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; background: var(--cobalt); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.prose blockquote { margin: 1.8em 0; padding: 18px 22px 18px 24px; background: var(--amber-soft); border-left: 6px solid var(--amber); color: var(--ink); font-size: 18px; font-weight: 500; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.8em 0 2em; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; border: 1px solid var(--rule-strong); }
.prose thead th { background: var(--cobalt); color: #fff; font-weight: 600; text-align: left; font-size: 13.5px; letter-spacing: .02em; padding: 12px 14px; vertical-align: bottom; border-right: 1px solid var(--cobalt-line); }
.prose thead th:last-child { border-right: 0; }
.prose tbody td, .prose tbody th { padding: 12px 14px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); vertical-align: top; text-align: left; }
.prose tbody td:last-child { border-right: 0; }
.prose tbody tr:nth-child(even) { background: var(--cobalt-tint); }
.prose tbody td:first-child, .prose tbody th { font-weight: 600; color: var(--ink); }
.prose tbody tr:last-child td { border-bottom: 0; }
@media (min-width: 760px) { .prose table { display: table; } }
.prose img { margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule-strong); margin: 2.4em 0; }

/* FAQ */
.faq { margin-top: 56px; }
.faq__title { font-size: clamp(24px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.02em; background: var(--cobalt); color: #fff; padding: 16px 22px; border-top: 4px solid var(--amber); }
.faq__item { border: 1px solid var(--rule-strong); border-top: 0; }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 20px; gap: 10px; padding: 18px 22px; font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--cobalt); font-weight: 500; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] summary { background: var(--cobalt-tint); }
.faq__n { color: var(--cobalt); font-size: 13px; font-weight: 800; letter-spacing: .08em; padding-top: 3px; }
.faq__a { padding: 4px 22px 20px 72px; color: var(--text); font-size: 16.5px; }
.faq__a p { margin: 0; }
@media (max-width: 599px) { .faq__a { padding-left: 22px; } .faq__item summary { padding: 16px 18px; grid-template-columns: 34px 1fr 16px; } }

/* related */
.related { background: var(--cobalt-tint); border-top: 1px solid var(--rule); margin-top: 72px; padding: 56px 0 64px; margin-bottom: 40px; }
.related__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.related__list a { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); }
.related__n { font-weight: 800; color: var(--cobalt); font-size: 14px; padding-top: 2px; }
.related__t { font-weight: 600; font-size: 17px; line-height: 1.35; }
.related__m { grid-column: 2; font-size: 13px; color: var(--muted); }
.related__list a:hover .related__t { color: var(--cobalt); text-decoration: underline; }
@media (min-width: 900px) {
  .related__list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

/* about */
.about { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 80px; }
.about .prose { max-width: 720px; }
.about .prose > p:first-child { font-size: 21px; }
.about__side .toc__h { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 0; margin-bottom: 14px; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; } }

/* 404 */
.nf { padding-top: 72px; padding-bottom: 96px; }
.nf__code { font-size: clamp(90px, 20vw, 200px); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--cobalt); margin-bottom: 20px; }
.nf__title { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.nf__text { font-size: 18px; color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.nf .countrylinks { margin-bottom: 28px; }

/* ---------- footer ---------- */
.foot { background: var(--cobalt-deep); color: #c3cff2; padding: 56px 0 0; font-size: 15px; border-top: 6px solid var(--cobalt); }
.foot__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.foot__brand img { margin-bottom: 14px; }
.foot__name { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.01em; margin-bottom: 8px; }
.foot__brand p:last-child { max-width: 40ch; }
.foot__h { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { border-top: 1px solid rgba(255,255,255,.1); }
.foot li a { display: flex; align-items: center; gap: 10px; color: #e3e9fb; text-decoration: none; padding: 9px 0; }
.foot li a:hover { color: #fff; text-decoration: underline; }
.foot .chip { outline-color: rgba(255,255,255,.35); }
.foot__legal { border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: #93a6de; }
.foot__legal p { margin: 0; max-width: 80ch; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }

@media (min-width: 700px) {
  .cmp__table, .glance__table { table-layout: fixed; }
  .cmp__table thead th:first-child, .glance__table thead th:first-child { width: 24%; }
}
.memo__row--split > div:last-child { border-right: 0; }
.related__pack { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .7em; color: var(--muted); margin-left: 12px; letter-spacing: 0; vertical-align: middle; }
.picker__topic:first-of-type { }
.picker__topic a { color: #b9c8f2; font-weight: 500; }
.picker__list li.picker__topic:nth-child(6) { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); }
@media (min-width: 1080px) { .picker__topic { display: none; } }
@media (max-width: 1079px) {
  .brief__main { display: contents; }
  .bluf { order: -1; margin-bottom: 0; }
  .brief__side { order: 0; }
  .prose, .faq { order: 1; }
  .faq { margin-top: 16px; }
}
@media (max-width: 599px) { .bluf__text { font-size: 17px; } .bluf { padding: 18px 18px; } .prose { font-size: 17px; } .prose > p:first-child { font-size: 18.5px; } }
@media (min-width: 900px) { .art-topic .cathead__code { font-size: 140px; } }
