/* G2G — route map world.
   Plum enamel ground, porcelain reading panels, three coloured lines:
   amber = Buy (and the brand colour), cyan = Learn, coral = Get Help.
   Pick / Budget / Skip keep their green / yellow / red chips inside the Buy line. */

@font-face { font-family: "Lexend"; src: url("fonts/lexend-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/lexend-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/lexend-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --plum: #2a1a3e;          /* the enamel: G2G's ground */
  --plum-2: #382653;
  --plum-deep: #1d1129;
  --porcelain: #f7f5f2;     /* station white and reading panels */
  --on-plum: #f7f5f2;
  --on-plum-2: #d2c6e0;
  --ink: #2a1a3e;           /* print on porcelain */
  --ink-2: #5b4d6e;
  --rule: #ddd6e4;
  --tint: #efeaf4;
  --amber: #ffb627;
  --cyan: #42c6df;
  --coral: #ff7262;
  --lime: #b4e35c;          /* Stay Safe line */
  --pick: #00a651; --budget: #fff200; --skip: #f2393f; --on-verdict: #0b0f1a;
  --tested: #0a7a3c;
  --error: #b3261e;
  --line: var(--amber);     /* each page sets the line it belongs to */
  --sign: "Lexend", "Atkinson Hyperlegible", system-ui, sans-serif;
  --read: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --step-3: clamp(1.8rem, 1.35rem + 1.6vw, 2.5rem);
  color-scheme: dark;
}
.line-learn { --line: var(--cyan); }
.line-help { --line: var(--coral); }
.line-safe { --line: var(--lime); }
.line-info { --line: var(--on-plum-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--plum); color: var(--on-plum); font: 400 1.125rem/1.6 var(--read); text-rendering: optimizeLegibility; }
::selection { background: var(--amber); color: var(--plum); }
:focus-visible { outline: 3px solid var(--focus, var(--amber)); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--line); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--sign); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
input { caret-color: var(--plum); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--amber); color: var(--plum); font: 600 1rem/1 var(--sign); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header: the interchange mark and the three lines ---------- */
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 84px; border-bottom: 1px solid rgb(247 245 242 / .14); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.mark { width: 64px; height: 52px; flex: none; overflow: visible; }
.mark path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.mark text { font: 700 11px/1 var(--sign); fill: var(--plum); letter-spacing: .01em; }
.brand-name b { display: block; font: 700 1.3rem/1.05 var(--sign); }
.brand-sub { display: block; font-size: .92rem; color: var(--on-plum-2); }
.nav { display: flex; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--sign); text-decoration: none; padding: 12px 16px; border-radius: 999px; }
.nav a::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: var(--c); }
.nav a:hover { background: var(--plum-2); }
.nav a[aria-current] { background: var(--plum-2); box-shadow: inset 0 0 0 2px var(--c); }
.nav-buy { --c: var(--amber); } .nav-learn { --c: var(--cyan); } .nav-help { --c: var(--coral); } .nav-safe { --c: var(--lime); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; text-decoration: none; cursor: pointer; font: 700 1.02rem/1.2 var(--sign); background: var(--plum); color: var(--porcelain); border: 0; border-radius: 12px; padding: 13px 20px; transition: background-color .2s var(--ease); }
.btn:hover { background: var(--plum-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-line { background: var(--line); color: var(--plum); }
.btn-line:hover { background: var(--porcelain); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn[aria-disabled="true"] { background: var(--tint); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--rule); cursor: not-allowed; }

/* ---------- verdict chips ---------- */
.code { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 6px; background: var(--key, var(--tint)); color: var(--on-verdict); font: 700 .78rem/1 var(--sign); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.code b { font-weight: 700; }
.code-pick { --key: var(--pick); }
.code-budget { --key: var(--budget); }
.code-skip { --key: var(--skip); }
.stamp { display: inline-block; font: 600 .78rem/1 var(--sign); letter-spacing: .06em; text-transform: uppercase; border: 2px solid currentColor; border-radius: 999px; padding: 6px 11px; }
.stamp-tested { color: var(--tested); }
.stamp-researched { color: var(--ink-2); }

/* ---------- porcelain panels ---------- */
.panel, .article, .tag, .gcard, .ask-box .btn { --focus: var(--plum); }
.ask-box { --focus: var(--coral); }
.tag, .panel { position: relative; background: var(--porcelain); color: var(--ink); border-radius: 22px; }
.panel { padding: clamp(24px, 4vw, 48px); }
.tag a:not(.btn), .panel a:not(.btn), .article a:not(.btn) { color: var(--ink); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 22px; }
.panel-head h2, .bar-head { display: flex; align-items: center; gap: 14px; font-size: var(--step-3); line-height: 1.1; }
.panel-head h2::before, .bar-head::before { content: ""; width: 44px; height: 14px; border-radius: 7px; background: var(--c, var(--line)); flex: none; }
.panel-head p { color: var(--ink-2); max-width: 50ch; }

/* ---------- section rhythm on the plum ground ---------- */
.section { padding-block: clamp(48px, 7vw, 88px) 0; }
.section.section-tight { padding-top: clamp(28px, 4vw, 40px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.section h2 { font-size: var(--step-3); line-height: 1.1; }
.section-sub { color: var(--on-plum-2); max-width: 52ch; }

/* ---------- homepage: hero and route map ---------- */
.hero { padding-block: clamp(28px, 3.6vw, 48px) 0; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.1vw, 3.8rem); line-height: 1.04; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { margin-top: 16px; font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); color: var(--on-plum-2); max-width: 48ch; }

.network { position: relative; display: grid; grid-template-columns: 240px 1fr; margin-top: clamp(20px, 3vw, 32px); padding-bottom: clamp(48px, 7vw, 88px); }
.junction { position: relative; height: 560px; }
.junction svg { position: absolute; inset: 0; width: 240px; height: 560px; overflow: visible; }
.junction path { fill: none; stroke-width: 12; stroke-linecap: butt; transition: opacity .4s var(--ease); }
.here { position: absolute; left: 28px; top: 188px; width: 124px; height: 124px; border-radius: 50%; background: var(--porcelain); border: 10px solid var(--plum-deep); box-shadow: 0 0 0 4px var(--porcelain); display: grid; place-content: center; text-align: center; color: var(--ink); }
.here small { font: 600 .74rem/1.15 var(--sign); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.here b { font: 700 1.6rem/1 var(--sign); margin-top: 4px; }
.lines { display: grid; grid-template-rows: repeat(4, 140px); }
.line { position: relative; --c: var(--amber); transition: opacity .4s var(--ease); }
.line::before { content: ""; position: absolute; left: -2px; right: 250px; top: 40px; height: 12px; background: var(--c); border-radius: 0 6px 6px 0; transform-origin: left; }
.line-name { position: absolute; left: 14px; top: 0; font: 700 .8rem/1 var(--sign); text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.stops { position: absolute; left: 70px; right: 290px; top: 0; bottom: 0; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.stop { position: relative; width: min(190px, 24%); padding-top: 76px; }
.stop::before { content: ""; position: absolute; left: 0; top: 33px; width: 26px; height: 26px; border-radius: 50%; background: var(--porcelain); border: 6px solid var(--plum-deep); box-shadow: 0 0 0 3px var(--porcelain); }
.stop a, .stop .lbl { display: block; font: 600 1rem/1.25 var(--sign); text-decoration: none; color: var(--on-plum); }
.stop a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.stop .st { display: block; margin-top: 4px; font: 400 .84rem/1.2 var(--read); color: var(--on-plum-2); }
.stop.soon::before { background: var(--plum); box-shadow: 0 0 0 3px var(--on-plum-2); border-color: var(--plum); }
.stop.soon .lbl { color: var(--on-plum-2); }
.terminus { position: absolute; right: 0; top: 18px; width: 240px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--c); color: var(--plum); font: 700 1.05rem/1.2 var(--sign); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.terminus svg { width: 22px; height: 22px; flex: none; }
.terminus:hover { transform: translateX(4px); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
/* the chosen line burns brightest */
.lines:has(.line:hover) .line:not(:hover), .lines:has(.line:focus-within) .line:not(:focus-within) { opacity: .38; }
.network:has(.line-buy:hover) .junction path:not(.p-buy), .network:has(.line-buy:focus-within) .junction path:not(.p-buy),
.network:has(.line-learn:hover) .junction path:not(.p-learn), .network:has(.line-learn:focus-within) .junction path:not(.p-learn),
.network:has(.line-safe:hover) .junction path:not(.p-safe), .network:has(.line-safe:focus-within) .junction path:not(.p-safe),
.network:has(.line-help:hover) .junction path:not(.p-help), .network:has(.line-help:focus-within) .junction path:not(.p-help) { opacity: .38; }
.line.line-learn { --c: var(--cyan); } .line.line-help { --c: var(--coral); } .line.line-safe { --c: var(--lime); }

/* ---------- homepage: Buy line finder ---------- */
.home-panels { display: grid; gap: clamp(20px, 3vw, 32px); }
.finder-controls { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-bottom: 20px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; font: 400 1.0625rem/1.2 var(--read); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 13px 14px 13px 44px; }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .95rem/1 var(--sign); color: var(--ink); background: #fff; cursor: pointer; border: 2px solid var(--rule); border-radius: 999px; padding: 10px 15px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.gcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 22px); }
.gcard[hidden], div.soon[hidden], .soon-list li[hidden], .show-all[hidden] { display: none; }
.gcard { min-width: 0; }
.gc-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: #fff; border: 2px solid var(--rule); border-radius: 18px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.gc-link:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 34px -22px rgb(42 26 62 / .6); }
.gc-photo { margin-top: 8px; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.gc-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.gc-link:hover .gc-photo img { transform: scale(1.04); }
.gc-body { padding: 4px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.gc-body h3 { font-size: 1.3rem; line-height: 1.15; }
.gc-verdicts { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.gc-verdicts li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; font: 400 .98rem/1.25 var(--read); }
.gc-tag { display: block; text-align: center; padding: 6px 0; border-radius: 6px; font: 700 .72rem/1 var(--sign); letter-spacing: .05em; color: var(--on-verdict); }
.gc-pick .gc-tag { background: var(--pick); }
.gc-budget .gc-tag { background: var(--budget); }
.gc-skip .gc-tag { background: var(--skip); }
.gc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-answer { font: 400 1.02rem/1.45 var(--read); }
.gc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--sign); padding-top: 4px; }
.gc-cta svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.gc-link:hover .gc-cta svg { transform: translateX(4px); }
.gc-link .scale-strip { height: 8px; background: var(--amber); border-radius: 0; }
div.soon { margin-top: clamp(28px, 4vw, 40px); border-top: 2px solid var(--rule); padding-top: 18px; }
.soon-title { font: 700 1.15rem/1.3 var(--sign); margin-bottom: 8px; }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
.soon-list li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--rule); }
.soon-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink-2); }
.soon-list b { font-weight: 700; font-size: 1rem; }
.soon-list span { font-size: .88rem; color: var(--ink-2); }
.show-all { margin-top: 18px; }
.empty { padding: 28px 4px; color: var(--ink-2); }
.result-count { font-size: .92rem; color: var(--ink-2); margin-top: 16px; }

/* ---------- homepage: Learn timetable, Get Help, promise ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.panel-intro { color: var(--ink-2); margin-bottom: 16px; }
.timetable { list-style: none; margin: 0; padding: 0; }
.timetable li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); font-weight: 700; }
.timetable li:last-child { border-bottom: 1px solid var(--rule); }
.status { font: 600 .85rem/1 var(--sign); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.status.open { background: #d9f3f8; color: #0b5566; }
.status.soon { background: var(--tint); color: var(--ink-2); }
.help-wide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.help-wide .panel-head { margin-bottom: 10px; }
.help-big { font: 700 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.25 var(--sign); margin-bottom: 14px; }
.promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.person h2, .notice h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1; margin-bottom: 14px; }
.person p + p { margin-top: 12px; }
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: start; }
.person-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 6px solid var(--plum); box-shadow: 0 0 0 3px var(--amber); }
.about-person { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; }
.article .about-person > * + * { margin-top: 0; }
.about-person p + p { margin-top: 12px; }
.about-person img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 6px solid var(--plum); box-shadow: 0 0 0 3px var(--amber); }
@media (max-width: 640px) { .person, .about-person { grid-template-columns: 1fr; gap: 14px; } .about-person img { width: 132px; height: 132px; } }
.notice { border: 4px solid var(--plum); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.ticks svg { width: 26px; height: 26px; color: #0b7a8f; margin-top: 2px; }

/* ---------- weekly deals box ---------- */
.claim { display: grid; grid-template-columns: 1fr minmax(0, 1.3fr); overflow: hidden; }
.claim-left { padding: clamp(22px, 4vw, 40px); background: var(--amber); color: var(--plum); display: flex; align-items: center; }
.claim-left h2 { font-size: var(--step-3); line-height: 1.05; }
.claim-right { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.claim form { display: flex; flex-wrap: wrap; gap: 10px; }
.claim input[type="email"] { flex: 1 1 220px; font: 400 1.0625rem/1.2 var(--read); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 14px; }
.claim input[aria-invalid="true"] { border-color: var(--error); }
.form-msg { font-size: .95rem; min-height: 1.6em; }
.form-msg.err { color: var(--error); font-weight: 700; }
.fineprint { font-size: .92rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { margin-top: clamp(56px, 8vw, 96px); background: var(--plum-deep); padding-block: 48px 56px; }
.footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 56px; }
.footer p { max-width: 60ch; color: var(--on-plum-2); margin-top: 18px; }
.footer nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 40px; align-content: start; font: 600 1.02rem/1.3 var(--sign); }
.footer nav a { display: inline-block; padding-block: 8px; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.footer .fineprint { color: var(--on-plum-2); margin-top: 12px; }

/* ---------- guide, learn and info pages ---------- */
.crumbs { font: 500 .92rem/1.4 var(--sign); color: var(--on-plum-2); padding-block: 22px 0; }
.crumbs a { color: inherit; }
.tag.label-head { background: none; color: var(--on-plum); border-radius: 0; }
.tag.label-head a:not(.btn) { color: inherit; }
.label-head { margin-top: 18px; display: grid; gap: 0 clamp(24px, 4vw, 56px); }
.label-head.has-photo { grid-template-columns: minmax(0, 1fr) clamp(240px, 30vw, 380px); align-items: center; }
.lh-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.label-head h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.05; max-width: 22ch; }
.hero-lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.5; color: var(--on-plum-2); max-width: 52ch; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font: 500 .92rem/1.5 var(--sign); color: var(--on-plum-2); }
.lh-photo { margin: 0; }
.lh-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 18px; border: 4px solid var(--porcelain); }
.lh-photo figcaption { margin-top: 10px; font-size: .85rem; color: var(--on-plum-2); }
.lh-photo figcaption b { color: var(--on-plum); }
/* the line runs under every page header, starting from a station */
.label-head > .scale-strip { grid-column: 1 / -1; position: relative; height: 12px; margin: 30px 0 0 6px; border-radius: 0 6px 6px 0; background: var(--line); }
.label-head > .scale-strip::before { content: ""; position: absolute; left: -6px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; background: var(--porcelain); border: 6px solid var(--plum-deep); box-shadow: 0 0 0 3px var(--porcelain); }
@media (prefers-reduced-motion: no-preference) {
  .label-head > .scale-strip { animation: run 1.1s var(--ease) both; transform-origin: left; }
}

.disclosure { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; background: var(--plum-2); color: var(--on-plum-2); border-radius: 14px; padding: 14px 18px; font-size: .95rem; }
.disclosure svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--amber); }

.short-answer { margin-top: 40px; }
.short-answer h2 { font-size: var(--step-3); line-height: 1.1; margin-bottom: 18px; }
.answer-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.atag { overflow: hidden; display: flex; flex-direction: column; }
/* the verdict line: three segments, this product's stop lit */
.rating { padding: 18px 18px 0; }
.mini-scale { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.mini-scale li { flex: 1; height: 10px; border-radius: 5px; background: var(--bar); opacity: .3; }
.mini-scale li:has(.class-arrow) { flex: 2.4; height: 34px; border-radius: 8px; opacity: 1; display: flex; align-items: center; padding-inline: 12px; }
.mini-scale .s-pick { --bar: var(--pick); }
.mini-scale .s-budget { --bar: var(--budget); }
.mini-scale .s-skip { --bar: var(--skip); }
.class-arrow { font: 700 .9rem/1 var(--sign); letter-spacing: .06em; color: var(--on-verdict); }
.atag-img { margin: 16px 0 0; background: #fff; border-block: 1px solid var(--rule); display: flex; flex-direction: column; }
.atag-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; display: block; }
.atag-img figcaption { align-self: flex-end; font-size: .78rem; color: var(--ink-2); padding: 0 12px 8px; }
.atag-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.atag-body h3 { font-size: 1.3rem; line-height: 1.2; }
.atag-body ul { margin: 0; padding: 0; list-style: none; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.atag-body ul li:first-child { font: 600 .78rem/1.6 var(--sign); letter-spacing: .06em; text-transform: uppercase; }
.atag-body .btn { font-size: .95rem; min-height: 46px; padding: 10px 14px; }
.best-for { align-self: flex-start; font: 600 .85rem/1.2 var(--sign); padding: 6px 10px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.best-pick { background: #d6f2e1; } .best-budget { background: #fff9b8; } .best-skip { background: #fde0e0; }
.shop-bar.tag { padding: clamp(22px, 3vw, 36px); margin-top: clamp(40px, 6vw, 72px); }
.shop-bar h2 { margin-bottom: 14px; }
.shop-list { list-style: none; margin: 0; padding: 0; }
.shop-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.shop-list .code { justify-self: start; }
.shop-list li > div:not(.price-links) b { display: block; font: 600 1.08rem/1.25 var(--sign); }
.shop-list li > div:not(.price-links) span { font-size: .95rem; color: var(--ink-2); }
.shop-list .price-links { margin: 0; }
.shop-skip { font: 600 .9rem/1 var(--sign); color: var(--ink-2); }
li.shop-skip { color: inherit; font: inherit; }
@media (max-width: 640px) { .shop-list li { grid-template-columns: 1fr; } }
.price-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.price-tag { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 14px 0 2px; background: #fff; color: var(--ink); border: 3px solid var(--plum); border-radius: 12px; padding: 16px 14px 10px; }
.price-tag::before { content: "Price"; position: absolute; left: 12px; top: -12px; background: var(--plum); color: var(--porcelain); font: 600 .7rem/1 var(--sign); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.price-tag b { font: 700 1.6rem/1 var(--sign); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price-tag .sep { font: 600 1.2rem/1 var(--sign); color: var(--ink-2); }
.price-tag .unit { font: 600 .8rem/1 var(--sign); letter-spacing: 0; }
.price-tag small { flex-basis: 100%; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.vtag-skip .price-tag { border-color: var(--ink-2); border-style: dashed; }
.vtag-skip .price-tag b { color: var(--ink-2); }

.guide-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; margin-top: 56px; align-items: start; }
/* contents as a line with stations */
.toc { position: sticky; top: 24px; }
.toc p { font: 700 .82rem/1.3 var(--sign); letter-spacing: .08em; text-transform: uppercase; color: var(--on-plum-2); margin-bottom: 16px; }
.toc ol { position: relative; list-style: none; margin: 0 0 0 8px; padding: 0 0 0 28px; display: grid; gap: 14px; }
.toc ol::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 6px; border-radius: 3px; background: var(--line); }
.toc li { position: relative; }
.toc li::before { content: ""; position: absolute; left: -34px; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--porcelain); border: 4px solid var(--plum-deep); box-shadow: 0 0 0 2px var(--porcelain); }
.toc a { text-decoration: none; font: 600 1rem/1.3 var(--sign); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--line); }

.article { background: var(--porcelain); color: var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 56px); min-width: 0; }
.article > * + * { margin-top: 1.1em; }
.article section + section { margin-top: 3em; }
.article section > * + * { margin-top: 1em; }
.article section > .pick-head { margin-top: 1.8em; }
.article .section-body > * + * { margin-top: 1em; }
.article h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); line-height: 1.12; }
.article h2::before { content: ""; width: 32px; height: 12px; border-radius: 6px; background: var(--line); flex: none; }
.line-info .article h2::before { background: var(--plum); }
.article h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; margin-top: 1.6em; }
.article p, .article li { max-width: 68ch; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: .4em; }
.info-article { margin-top: 28px; }
.rule-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--rule); border-radius: 14px; overflow: hidden; background: #fff; }
.rule-card div { padding: 18px; border-right: 2px solid var(--rule); }
.rule-card div:last-child { border-right: 0; }
.rule-card b { display: flex; align-items: center; gap: 10px; font: 700 1.25rem/1.15 var(--sign); margin-bottom: 8px; }
.rule-card b::before { content: ""; width: 26px; height: 10px; border-radius: 5px; flex: none; }
.rule-card div:nth-child(1) b::before { background: var(--pick); }
.rule-card div:nth-child(2) b::before { background: var(--budget); box-shadow: inset 0 0 0 1px rgb(42 26 62 / .25); }
.rule-card div:nth-child(3) b::before { background: var(--skip); }
.rule-card small { display: block; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.rule-card-plain div { border-bottom: 2px solid var(--rule); }
.rule-card-plain div:nth-child(3n) { border-right: 0; }
.rule-card-plain div:nth-last-child(-n+3) { border-bottom: 0; }
.rule-card-plain div b::before { background: var(--line) !important; box-shadow: none !important; }
.data-wrap td:first-child { white-space: normal; font-weight: 700; min-width: 12ch; }
.formula { font: 600 1rem/1.5 var(--sign); background: var(--tint); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; font-size: 1rem; }
.data th { text-align: left; font: 600 .78rem/1.3 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 10px; border-bottom: 3px solid var(--plum); }
.data td { padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.data td:first-child { white-space: nowrap; }
@media (min-width: 861px) { .data th, .data td { padding-inline: 8px; } .data td:nth-child(2) { white-space: nowrap; } }
.data tbody tr:nth-child(even) { background: var(--tint); }
.data .num, .data th.num { text-align: right; }
.note { font-size: .95rem; color: var(--ink-2); }
.pick-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pick-head h3 { margin: 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proscons h4 { font: 600 .8rem/1.3 var(--sign); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; color: var(--ink-2); }
.verdict-line { font: 600 1.15rem/1.4 var(--sign); }
details.more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 4px; }
details.more > summary { font: 600 1.02rem/1.3 var(--sign); cursor: pointer; padding: 12px 0; min-height: 44px; }
details.more[open] > summary { margin-bottom: 8px; }
details.more > * + * { margin-top: 1em; }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 14px; }
.faq summary { font: 600 1.1rem/1.35 var(--sign); cursor: pointer; }
.faq details p { margin-top: 10px; }
.related { display: grid; }
.tag:has(> .related) { padding: 10px clamp(20px, 3vw, 32px) !important; }
.related a { display: flex; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--rule); text-decoration: none; font: 600 1.05rem/1.3 var(--sign); }
.related a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--line); flex: none; }
.related a:last-child { border-bottom: 0; }
.related a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--line); }

/* learn steps */
.steps { position: relative; list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 14px; }
/* the steps are stations on the page's line */
.steps::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 6px; border-radius: 3px; background: var(--line); }
.steps > li { counter-increment: step; position: relative; padding: 2px 0 0 56px; min-height: 40px; max-width: 68ch; }
.steps > li + li { margin-top: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--plum); font: 700 1.1rem/1 var(--sign); z-index: 1; box-shadow: 0 0 0 4px var(--porcelain); }
.tip { background: var(--tint); border-radius: 14px; padding: 16px 18px; }
.ask-box { background: var(--plum); color: var(--porcelain); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; justify-items: start; }
.ask-box h2::before { background: var(--coral) !important; }
.ask-box p { color: var(--on-plum-2); }
.ask-box .btn { background: var(--coral); color: var(--plum); }
.ask-box .btn:hover { background: var(--porcelain); }
.article .ask-box a.btn { color: var(--plum); }

/* the run-out: lines extend from their stations once, on load */
@media (prefers-reduced-motion: no-preference) {
  .line::before { animation: run 1.1s var(--ease) both; }
  .line-learn::before { animation-delay: .08s; } .line-safe::before { animation-delay: .16s; } .line-help::before { animation-delay: .24s; }
  .junction path { stroke-dasharray: 100; animation: draw 1s var(--ease) both; }
}
@keyframes run { from { transform: scaleX(.82); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 25; } to { stroke-dashoffset: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .network { grid-template-columns: 1fr; gap: 8px; }
  .junction { height: auto; display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
  .junction svg { display: none; }
  .here { position: static; width: 104px; height: 104px; border-width: 8px; flex: none; }
  .lines { grid-template-rows: none; gap: 14px; }
  .line { background: var(--plum-2); border-radius: 18px; padding: 18px 18px 18px 58px; }
  .line::before { left: 26px; right: auto; top: 22px; bottom: 96px; width: 10px; height: auto; border-radius: 5px; transform-origin: top; animation-name: run-down; }
  .line-name { position: static; display: block; margin-bottom: 10px; font-size: .85rem; }
  .stops { position: static; display: block; }
  .stop { width: auto; padding: 0 0 16px; }
  .stop::before { left: -41px; top: 1px; width: 22px; height: 22px; border-width: 5px; }
  .terminus { position: static; width: 100%; margin-top: 6px; }
  .lines:has(.line:hover) .line:not(:hover), .lines:has(.line:focus-within) .line:not(:focus-within) { opacity: 1; }
  .split, .promise, .help-wide { grid-template-columns: 1fr; }
}
@keyframes run-down { from { transform: scaleY(.85); } to { transform: none; } }
@media (max-width: 860px) {
  .answer-tags { grid-template-columns: 1fr; }
  .claim, .footer .wrap { grid-template-columns: 1fr; }
  .guide-body { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
  .toc { position: static; }
  .rule-card { grid-template-columns: 1fr; }
  .rule-card div { border-right: 0; border-bottom: 2px solid var(--rule); }
  .rule-card div:last-child, .rule-card-plain div:last-child { border-bottom: 0; }
  .rule-card-plain div:nth-last-child(-n+3):not(:last-child) { border-bottom: 2px solid var(--rule); }
  .proscons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .masthead .wrap { flex-wrap: wrap; padding-block: 12px; min-height: 0; }
  .brand-sub { display: none; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { min-height: 44px; padding: 10px 6px; font-size: .98rem; gap: 6px; white-space: nowrap; }
  .nav a::before { width: 12px; }
  .label-head.has-photo { grid-template-columns: 1fr; }
  .lh-photo { margin-top: 22px; max-width: 320px; }
  .data { min-width: 0; }
  .data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 8px; border-bottom: 1px solid var(--rule); }
  .data td { padding: 0; border: 0; text-align: left !important; }
  .data td::before { content: attr(data-label); display: block; white-space: nowrap; font: 600 .7rem/1.3 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .data td:first-child { grid-column: 1 / -1; }
  .data td:first-child::before { display: none; }
  .footer nav { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
}
@media (max-width: 370px) {
  .nav a { font-size: .88rem; padding-inline: 3px; gap: 5px; }
  .nav a::before { width: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gc-link, .gc-photo img, .gc-cta svg, .terminus { transition: none; }
  .gc-link:hover, .gc-link:hover .gc-photo img, .gc-link:hover .gc-cta svg, .terminus:hover { transform: none; }
}
