:root {
  --blue: #1d4ed8;
  --blue-deep: #1a3fb3;
  --ink: #0b1530;
  --paper: #f5f4ef;
  --white: #ffffff;
  --pale: #e6ecfb;
  --line: #d8d6cc;
  --muted: #565d70;
  --wrap: 1312px;
  --gutter: 40px;
}

/* Each site has its own poster colour, inside the same blue family */
.t-blue { --poster: #1d4ed8; --poster-ink: #ffffff; }
.t-navy { --poster: #172554; --poster-ink: #ffffff; }
.t-pale { --poster: #dbe6fd; --poster-ink: #0b1530; }
.t-sky { --poster: #7fb2fb; --poster-ink: #0b1530; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
}
svg { display: block; width: 100%; height: auto; }
svg text { font-family: Archivo, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { display: flex; align-items: center; gap: 36px; padding: 22px 0; }
.mark { font-weight: 800; font-size: 21px; letter-spacing: -.015em; text-decoration: none; font-stretch: 112%; }
.top nav { display: flex; gap: 26px; font-size: 15.5px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--blue); }
.top .brands { margin-left: auto; display: flex; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1.4px solid var(--ink); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.pill:hover { background: var(--ink); color: #fff; }
.pill.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill.solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* Poster */
.poster {
  position: relative; overflow: hidden; background: var(--poster); color: var(--poster-ink); border-radius: 14px;
  padding: 34px 44px 0; display: flex; flex-direction: column;
}
.poster-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; font-weight: 500; }
.tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1.2px solid currentColor; font-size: 13.5px; font-weight: 600; line-height: 1.2;
}
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.poster .tag i { background: var(--poster-ink); }
.poster h1 {
  margin: 30px 0 0; font-size: clamp(46px, 6.2vw, 92px); line-height: .96; font-weight: 800; font-stretch: 108%;
  letter-spacing: -.022em; text-transform: uppercase; max-width: 15.5em;
}
.poster-foot { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; margin-top: 32px; align-items: end; }
.poster-foot p { margin: 0 0 40px; font-size: 20px; line-height: 1.45; font-weight: 400; }
.poster-art { height: 280px; margin-right: -44px; overflow: hidden; }
.poster-art svg { height: 100%; width: 100%; opacity: .92; }
.home .poster h1 { font-size: clamp(56px, 8.6vw, 128px); }
.home .poster-art { height: 330px; }

/* Who publishes this */
.byline {
  display: grid; grid-template-columns: 5fr 7fr; gap: 44px; padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.5; color: var(--muted);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline a { color: var(--blue); font-weight: 600; }

/* Sections */
.fig { margin: 40px 0 72px; }
.byline + .fig { margin-top: 40px; }
.fig-panel { border-radius: 14px; overflow-x: auto; }
.fig-panel.blue { background: var(--blue); padding: 22px 26px; }
.fig-panel.pale { background: var(--white); padding: 22px 26px; border: 1px solid var(--line); }
.fig figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 900px; }

.s { padding: 0 0 72px; }
.byline + .s { margin-top: 64px; }
.wide.fig { margin-top: 64px; margin-bottom: 72px; }
.wide figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 900px; }
.sh { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); padding: 16px 0 34px; }
.sh .count { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sg { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.sg > *, .poster-foot > * { min-width: 0; }
.sg h2 {
  position: sticky; top: 28px; margin: 0; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.04; font-weight: 700;
  font-stretch: 104%; letter-spacing: -.02em;
}
h2 em, h3 em { font-style: normal; color: var(--blue); }
.nb { white-space: nowrap; }

.prose { max-width: 700px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose h3 { font-size: 21px; line-height: 1.25; font-weight: 700; margin: 30px 0 10px; letter-spacing: -.008em; }
.prose a, .faq a, .sources a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose a.b, .faq a.b { font-weight: 600; }
.prose ul, .prose ol { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.prose li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.5; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; font-weight: 700; color: var(--blue); font-size: 15.5px; }
.prose li strong { font-weight: 600; }

/* Tables */
.tbl-wrap { overflow-x: auto; margin: 0 0 22px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.42; }
th { text-align: left; font-size: 13.5px; font-weight: 600; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.n, th.n { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.zone td { font-weight: 700; padding-top: 22px; border-bottom: 1px solid var(--ink); }
tr.sum td { font-weight: 700; border-bottom: 0; }
tr.sum:last-child td { font-size: 19px; color: var(--blue); }
.wide { margin: 0 0 72px; }
.wide table { font-size: 15.5px; }
.wide td:first-child { font-weight: 600; white-space: nowrap; }
.wide h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.04; font-weight: 700; font-stretch: 104%; letter-spacing: -.02em; margin: 0 0 26px; max-width: 18em; }

td.n + td:not(.n), th.n + th:not(.n) { padding-left: 28px; }
.prose h3:first-child { margin-top: 0; }

/* Checklist */
.checks { columns: 2; column-gap: 34px; margin: 0 0 22px !important; border-top: 0 !important; }
.checks li { break-inside: avoid; padding: 9px 0 9px 28px !important; font-size: 16.5px; }
.prose .checks li::before { width: 14px; height: 14px; border-radius: 3px; background: none; border: 1.3px solid var(--blue); top: 13px; left: 0; }

/* Brand strip inside a guide */
.strip {
  display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: center; background: var(--pale); border-radius: 14px;
  padding: 28px 34px; margin: 0 0 72px;
}
.strip .url { font-size: clamp(26px, 2.7vw, 38px); font-weight: 700; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.05; color: var(--blue); text-decoration: none; }
.strip .url:hover { color: var(--ink); }
.strip .url span { font-weight: 400; }
.strip p { margin: 0; font-size: 17px; line-height: 1.5; }
.strip p a { color: var(--blue); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 34px 15px 0; font-weight: 600; font-size: 18.5px; line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 11px; color: var(--blue); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; }

/* Sources */
.sources { list-style: none; padding: 0; margin: 0; font-size: 15.5px; line-height: 1.45; }
.sources li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Closing panel */
.close { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; margin: 0 0 56px; color: #fff; }
.close > div { padding: 40px 44px 44px; display: flex; flex-direction: column; min-height: 390px; }
.close .hs { background: var(--blue); }
.close .pr { background: var(--ink); }
.close .tag { align-self: flex-start; }
.close .tag i { background: #fff; }
.close h2 { margin: 26px 0 14px; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; font-weight: 800; font-stretch: 106%; letter-spacing: -.022em; text-transform: uppercase; }
.close p { margin: 0 0 24px; font-size: 17.5px; line-height: 1.5; max-width: 34em; }
.close .go { margin-top: auto; font-size: clamp(25px, 2.5vw, 35px); font-weight: 400; letter-spacing: -.015em; color: #fff; text-decoration: none; line-height: 1.1; }
.close .go:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.close .acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.close .act { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--blue); border: 1.4px solid #fff; font-size: 15.5px; font-weight: 700; text-decoration: none; }
.close .act:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.close .act.ghost { background: none; color: #fff; }
.close .act.ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* Guide index */
.index { border-bottom: 1px solid var(--ink); margin: 0 0 72px; }
.row { display: grid; grid-template-columns: 90px 6fr 5fr 150px; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--ink); text-decoration: none; transition: background .15s, padding .15s; }
.row:hover h3 { color: var(--blue); }
.row .no { font-size: 15px; font-weight: 500; padding-top: 7px; font-variant-numeric: tabular-nums; }
.row h3 { margin: 0; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.06; font-weight: 700; font-stretch: 104%; letter-spacing: -.018em; }
.row p { margin: 3px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.row .rd { text-align: right; font-size: 15px; font-weight: 500; padding-top: 7px; }
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; padding: 60px 0 44px; align-items: end; }
.intro h2 { margin: 0; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.04; font-weight: 700; font-stretch: 104%; letter-spacing: -.02em; }
.intro p { margin: 0; max-width: 700px; }
.intro p a { color: var(--blue); font-weight: 600; }

/* Floating contact */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 20; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; border: 1.4px solid #fff; box-shadow: 0 6px 22px rgba(11, 21, 48, .28);
}
.wa-fab:hover { background: var(--blue); }

/* Footer */
.foot { background: var(--ink); color: #fff; margin-top: 16px; padding: 46px 0 34px; font-size: 15.5px; line-height: 1.55; }
.foot-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 44px; }
.foot .mark { font-size: 25px; display: block; margin-bottom: 12px; }
.foot h4 { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #a9b4d0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot p { margin: 0; color: #cfd6e6; max-width: 32em; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.legal { border-top: 1px solid #2a3556; margin-top: 34px; padding-top: 18px; font-size: 14px; color: #a9b4d0; }

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .fig-panel svg { min-width: 980px; }
  body { font-size: 17px; }
  .top { flex-wrap: wrap; gap: 12px 22px; padding: 14px 0; }
  .top .brands { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .poster { padding: 22px 20px 0; }
  .poster-foot, .sg, .byline, .strip, .intro, .foot-grid, .close { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .close { gap: 0; }
  .close h2 { font-size: 27px; }
  .poster-meta { flex-wrap: wrap; gap: 8px; }
  .wa-fab { right: 12px; bottom: 12px; padding: 10px 16px; font-size: 14px; }
  .poster-foot p { margin: 0; font-size: 18px; }
  .poster-art { height: 190px !important; margin: 0 -20px; }
  .poster h1, .home .poster h1 { font-size: clamp(36px, 11vw, 64px); }
  .sg h2 { position: static; }
  .s { padding-bottom: 48px; }
  .strip { margin-bottom: 48px; padding: 22px; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .row .rd { text-align: left; padding-top: 0; }
  .close > div { padding: 28px 22px; min-height: 0; }
  .checks { columns: 1; }
  .wide td:first-child { white-space: normal; }
}
