/* Next Horizon · Guides. Loads after nh-page.css and nh-shared.css.
   One colour per theme, the journey rail on the hub, numbered sections,
   pull quotes and glossary links on the articles. */
:root{ --gd-billing:#F5A524; --gd-shipping:#5B9CF5; --gd-passport:#4ADE80; --gd-ops:#A78BFA; --gd-rules:#FB7185; --gd-accent:#5B9CF5; }
[data-theme="billing"]{ --gd-accent:var(--gd-billing); }
[data-theme="shipping"]{ --gd-accent:var(--gd-shipping); }
[data-theme="passport"]{ --gd-accent:var(--gd-passport); }
[data-theme="ops"]{ --gd-accent:var(--gd-ops); }
[data-theme="rules"]{ --gd-accent:var(--gd-rules); }

/* ---------- article ---------- */
.gd-kicker{ display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--dim,#8A94A6); margin-bottom:14px; }
.gd-kicker .gd-theme{ color:var(--gd-accent); display:inline-flex; align-items:center; gap:7px; }
.gd-kicker .gd-howto{ color:#fff; background:var(--gd-accent); padding:2px 7px; border-radius:6px; font-size:10px; }
.gd-group-h{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--dim,#8A94A6); font-weight:500; margin:14px 0 2px; }
.gd-group-h:first-child{ margin-top:0; }
.gd-q-howto{ border-left-style:dashed; }
.gd-kicker .gd-theme::before{ content:""; width:8px; height:8px; border-radius:2px; background:var(--gd-accent); transform:rotate(45deg); }
.gd-hero h1{ max-width:16ch; }
.gd-answer{ position:relative; margin:22px 0 6px; padding:14px 18px 14px 22px; max-width:62ch; border-left:3px solid var(--gd-accent); background:linear-gradient(90deg, color-mix(in srgb, var(--gd-accent) 10%, transparent), transparent 70%); border-radius:0 12px 12px 0; }
.gd-answer-k{ display:block; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gd-accent); margin-bottom:6px; }
.gd-answer .lead{ margin:0; font-size:17px; line-height:1.6; color:#fff; }
.gd-rail{ display:flex; align-items:center; gap:0; margin:26px 0 0; max-width:62ch; }
.gd-rail-stop{ position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none; color:var(--dim,#8A94A6); font-size:10.5px; letter-spacing:.03em; text-align:center; }
.gd-rail-stop::before{ content:""; position:absolute; top:5px; left:-50%; right:50%; height:1px; background:var(--border,rgba(148,163,184,.2)); }
.gd-rail-stop:first-child::before{ display:none; }
.gd-rail-dot{ position:relative; width:11px; height:11px; border-radius:3px; transform:rotate(45deg); background:var(--bg-card,#1C212A); border:1px solid var(--border-mid,rgba(148,163,184,.3)); }
.gd-rail-stop.is-here .gd-rail-dot{ background:var(--gd-accent); border-color:var(--gd-accent); box-shadow:0 0 0 4px color-mix(in srgb, var(--gd-accent) 22%, transparent); }
.gd-rail-stop.is-here{ color:#fff; font-weight:600; }
.gd-rail-stop:hover{ color:#fff; }
.gd-article{ padding:8px 0 24px; }
.gd-article .gd-body{ max-width:68ch; counter-reset:gdsec; }
.gd-body p, .gd-body li{ font-size:16.5px; line-height:1.75; color:var(--text,#E6EAF2); }
.gd-body p{ margin:0 0 18px; }
.gd-body > p:first-child{ font-size:18px; line-height:1.7; color:#fff; }
.gd-body h2{ position:relative; font-size:clamp(22px,2.6vw,27px); font-weight:800; letter-spacing:-.02em; line-height:1.2; margin:44px 0 14px; padding-left:46px; color:#fff; counter-increment:gdsec; }
.gd-body h2::before{ content:counter(gdsec,decimal-leading-zero); position:absolute; left:0; top:.2em; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:12.5px; font-weight:500; letter-spacing:.06em; color:var(--gd-accent); }
.gd-body h2::after{ content:""; position:absolute; left:30px; top:.72em; width:8px; height:1px; background:var(--gd-accent); }
.gd-body h3{ font-size:17.5px; font-weight:700; margin:26px 0 8px; color:#fff; }
.gd-body ul, .gd-body ol{ margin:0 0 20px 22px; padding:0; }
.gd-body li{ margin:6px 0; }
.gd-body li::marker{ color:var(--gd-accent); }
.gd-body strong{ color:#fff; font-weight:700; }
.gd-body a{ color:var(--blue,#5B9CF5); font-weight:600; text-decoration:none; border-bottom:1px solid rgba(91,156,245,.35); }
.gd-body a:hover{ border-bottom-color:var(--blue,#5B9CF5); }
.gd-body a.gd-term{ color:inherit; font-weight:inherit; border-bottom:1px dotted var(--gd-accent); }
.gd-body a.gd-term:hover{ color:#fff; border-bottom-style:solid; }
.gd-pull{ margin:30px 0; padding:4px 0 4px 24px; border-left:3px solid var(--gd-accent); }
.gd-pull p{ margin:0; font-family:'Bricolage Grotesque','Inter',sans-serif; font-size:clamp(20px,2.3vw,25px); font-weight:600; line-height:1.35; letter-spacing:-.015em; color:#fff; }
.gd-pull p + p{ margin-top:10px; font-size:15px; font-weight:400; color:var(--muted,#9AA4B5); font-family:'Inter',sans-serif; }
.gd-callout{ margin:30px 0; padding:18px 20px 18px 22px; background:color-mix(in srgb, var(--gd-accent) 9%, var(--bg-card,#1C212A)); border:1px solid color-mix(in srgb, var(--gd-accent) 35%, transparent); border-radius:14px; }
.gd-callout p{ margin:0; font-size:15.5px; }
.gd-callout p + p{ margin-top:10px; }
.gd-callout strong:first-child{ color:var(--gd-accent); }
.gd-body table{ width:100%; border-collapse:collapse; margin:10px 0 24px; font-size:14.5px; }
.gd-body th, .gd-body td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--border,rgba(148,163,184,.14)); vertical-align:top; line-height:1.5; }
.gd-body th{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--gd-accent); font-weight:500; }
.gd-body hr{ border:0; border-top:1px solid var(--border,rgba(148,163,184,.14)); margin:32px 0; }
.gd-body code{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:13.5px; background:var(--bg-card,#1C212A); padding:1px 6px; border-radius:6px; }

/* ---------- hub: the journey ---------- */
.gd-hub-hero h1{ max-width:14ch; }
.gd-journey-wrap{ position:relative; margin:4px 0 26px; }
.gd-journey{ position:relative; display:flex; gap:6px; overflow-x:auto; scroll-snap-type:x proximity; padding:30px 6px 10px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.gd-journey::-webkit-scrollbar{ display:none; }
.gd-thread{ position:absolute; left:6%; right:6%; top:92px; height:1px; background:linear-gradient(90deg, transparent, var(--border-mid,rgba(148,163,184,.3)) 8%, var(--border-mid,rgba(148,163,184,.3)) 92%, transparent); pointer-events:none; }
.gd-cube{ position:absolute; left:0; top:83px; width:18px; height:18px; border-radius:4px; background:#F5A524; transform:translateX(-100px); transition:transform .45s cubic-bezier(.2,.7,.3,1); box-shadow:0 0 0 6px rgba(245,165,36,.16), 0 0 24px rgba(245,165,36,.35); pointer-events:none; opacity:0; }
.gd-journey-wrap.js .gd-cube{ opacity:1; }
.gd-stop{ position:relative; flex:1 0 118px; scroll-snap-align:center; display:flex; flex-direction:column; align-items:center; gap:8px; padding:0 4px 8px; background:transparent; border:0; color:var(--muted,#9AA4B5); cursor:pointer; font:inherit; transition:color .18s ease, transform .18s ease; }
.gd-stop-fig{ display:flex; align-items:center; justify-content:center; width:96px; height:84px; opacity:.55; filter:saturate(.6); transition:opacity .18s ease, filter .18s ease, transform .22s ease; }
.gd-stop-fig img{ width:auto; height:72px; max-width:96px; object-fit:contain; }
.gd-stop-name{ margin-top:22px; font-weight:700; font-size:13.5px; color:inherit; }
.gd-stop-n{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--dim,#8A94A6); }
.gd-stop:hover .gd-stop-fig, .gd-stop:focus-visible .gd-stop-fig{ opacity:.9; filter:none; }
.gd-stop.is-active{ color:#fff; }
.gd-stop.is-active .gd-stop-fig{ opacity:1; filter:none; transform:translateY(-4px); }
.gd-stop:focus-visible{ outline:2px solid var(--blue,#5B9CF5); outline-offset:4px; border-radius:12px; }
.gd-panel{ margin-top:8px; }
.gd-panel[hidden]{ display:none; }
.gd-panel-head{ display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 18px; margin:0 0 18px; }
.gd-panel-head h2{ font-size:clamp(24px,3vw,34px); font-weight:800; letter-spacing:-.02em; color:#fff; margin:0; }
.gd-panel-head p{ margin:0; color:var(--muted,#9AA4B5); font-size:15.5px; }
.gd-panel-body{ display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:28px; align-items:start; }
.gd-qs{ display:flex; flex-direction:column; gap:12px; }
.gd-q{ display:grid; grid-template-columns:1fr auto; grid-template-areas:"theme meta" "title title" "line line"; gap:4px 16px; padding:18px 22px 18px 24px; border:1px solid var(--border,rgba(148,163,184,.14)); border-left:3px solid var(--gd-accent); border-radius:0 14px 14px 0; background:var(--bg-card,#1C212A); text-decoration:none; color:inherit; transition:transform .18s ease, border-color .18s ease, background .18s ease; }
.gd-q:hover{ transform:translateX(4px); border-color:color-mix(in srgb, var(--gd-accent) 45%, transparent); border-left-color:var(--gd-accent); background:color-mix(in srgb, var(--gd-accent) 6%, var(--bg-card,#1C212A)); }
.gd-q-theme{ grid-area:theme; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; color:var(--gd-accent); }
.gd-q-meta{ grid-area:meta; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.05em; color:var(--dim,#8A94A6); }
.gd-q-title{ grid-area:title; font-family:'Bricolage Grotesque','Inter',sans-serif; font-size:clamp(18px,2vw,21px); font-weight:700; line-height:1.25; letter-spacing:-.015em; color:#fff; }
.gd-q-line{ grid-area:line; font-size:14.5px; line-height:1.55; color:var(--muted,#9AA4B5); }
.gd-empty{ margin:0; padding:18px 22px; border:1px dashed var(--border-mid,rgba(148,163,184,.3)); border-radius:14px; color:var(--muted,#9AA4B5); font-size:15px; line-height:1.6; }
.gd-side h3{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--dim,#8A94A6); font-weight:500; margin:4px 0 10px; }
.gd-side h3 + .gd-links{ margin-bottom:22px; }
.gd-links{ display:flex; flex-wrap:wrap; gap:8px; }
.gd-links a{ display:inline-block; padding:7px 12px; border:1px solid var(--border,rgba(148,163,184,.14)); border-radius:999px; background:var(--bg-card,#1C212A); color:var(--text,#E6EAF2); text-decoration:none; font-size:13.5px; font-weight:600; transition:border-color .18s ease, color .18s ease; }
.gd-links a:hover{ border-color:var(--blue,#5B9CF5); color:#fff; }
.gd-terms a{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:12px; font-weight:500; color:var(--muted,#9AA4B5); }
@media (max-width:880px){ .gd-panel-body{ grid-template-columns:1fr; } .gd-side{ padding-top:6px; } }
@media (max-width:720px){ .gd-body p, .gd-body li{ font-size:15.5px; } .gd-body h2{ margin-top:34px; padding-left:40px; } .gd-stop{ flex-basis:104px; } .gd-stop-fig{ width:84px; height:72px; } .gd-stop-fig img{ height:60px; } .gd-thread{ top:84px; } .gd-cube{ top:75px; } .gd-rail-name{ display:none; } .gd-rail-stop.is-here .gd-rail-name{ display:block; } }

/* Regulatory guides: the date they were checked, and the texts they rest on. */
.gd-notice{ font-size:12.5px; line-height:1.5; color:var(--dim); margin:10px 0 0; max-width:62ch; }
.gd-sources{ margin-top:44px; padding-top:18px; border-top:1px solid var(--border); }
.gd-sources-k{ display:block; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gd-accent); margin-bottom:8px; }
.gd-sources ul{ list-style:none; padding:0; margin:0; }
.gd-sources li{ font-size:14px; line-height:1.55; margin:4px 0; padding-left:0; }
.gd-sources li::before{ content:none; }
.gd-sources a{ color:var(--muted); text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--gd-accent) 55%, transparent); text-underline-offset:3px; word-break:break-word; }
.gd-sources a:hover{ color:#fff; }
