/* TotalHostNow: own design system. Mona Sans (wide display / normal text) + Reddit Mono labels.
   Paper-cool ground, ink, deep teal, brass key; one line colour per holder (never colour alone: names + dashes). */
@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans-var.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Reddit Mono"; src: url("fonts/reddit-mono-var.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --paper: #f3f5f2; --card: #ffffff; --ink: #13201e; --ink-2: #3c4b48; --mute: #5a6865; --rule: #d6ddd8;
  --teal: #0d4a45; --teal-2: #136b63; --brass: #b07f1f; --brass-soft: #f4e8cc;
  --h-us: #0d4a45; --h-staff: #2a64ad; --h-former: #c2412d; --h-agency: #7348ad; --h-other: #b2710b; --h-unsure: #737d7a;
  --high: #b3261e; --high-bg: #fbe9e6; --med: #8a5a00; --med-bg: #fbf0d9; --low: #44524f; --low-bg: #e9eeeb;
  --r: 14px; --w: 1200px;
  --sans: "Mona Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Reddit Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-stretch: 100%; }
img, svg { max-width: 100%; }
a { color: var(--teal-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 750; font-stretch: 112%; }
h3 { font-size: 1.13rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brass); font-weight: 600; margin-bottom: 1.1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 42em; }
.muted { color: var(--mute); }
.vh, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 1rem; top: 1rem; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

/* ---------- buttons */
.btn, .btn-line, .btn-text { font: inherit; font-weight: 650; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; text-decoration: none; border-radius: 999px; line-height: 1.2; }
.btn { background: var(--teal); color: #fff; border: 2px solid var(--teal); padding: .8em 1.45em; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: .72em 1.35em; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-text { background: none; border: 0; padding: .4em .2em; color: var(--teal-2); text-decoration: underline; text-underline-offset: 4px; border-radius: 4px; }
.danger, .btn-text.danger { color: var(--high); }
.btn.danger { background: var(--high); border-color: var(--high); color: #fff; }

/* ---------- top bar */
.top { background: rgba(243, 245, 242, .94); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.top-in { max-width: var(--w); margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.mark-ring { width: 34px; height: 34px; color: var(--teal); }
.mark-word { font-weight: 800; font-stretch: 100%; font-size: 1.22rem; letter-spacing: -.035em; color: var(--ink); }
.top-nav { display: flex; gap: 6px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 550; padding: .45em .8em; border-radius: 999px; position: relative; }
.top-nav a:hover { background: #e3e9e5; }
.top-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.top-nav .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-left: .35em; vertical-align: middle; }
.top-cta { background: var(--brass); color: #1b1407; text-decoration: none; font-weight: 700; padding: .62em 1.15em; border-radius: 999px; white-space: nowrap; }
.top-cta:hover { background: #8f6516; color: #fff; }
.drawer { display: none; }
.ticket { max-width: var(--w); margin: 0 auto; padding: 0 28px 10px; font-size: .9rem; color: var(--ink-2); }
.ticket-tag { display: inline-block; background: var(--brass-soft); color: #5e4310; border: 1px dashed #c9a14b; border-radius: 6px; padding: .05em .55em; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-right: .3em; }

/* ---------- home hero */
.hero { max-width: var(--w); margin: 0 auto; padding: 60px 28px 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: .98; }
.hero-title .kicker { margin-bottom: 1.4em; }
.hero-copy .lede { margin-bottom: 0; }
.hero-map { grid-column: 1 / -1; margin-top: 28px !important; }
.hero-map .lines { gap: 22px; }
.hero-map .stop { max-width: 300px; }
.hero-map .line { grid-template-columns: 210px minmax(0, 1fr); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1.2em; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .95rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); margin-right: .5em; }
.hero-map { margin: 0; background: var(--card); border-radius: 4px; padding: 30px 32px 20px; border-top: 6px solid var(--ink); box-shadow: 0 24px 48px -36px rgba(19, 32, 30, .45); }
.hero-map figcaption { font-weight: 700; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: .3em .7em; align-items: baseline; }
.hero-map figcaption .mono { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); }
.hero-map-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: .92rem; color: var(--ink-2); }

/* ---------- the drawn map (holder lines + stops) */
.lines { display: grid; gap: 18px; }
.line { --c: var(--h-unsure); display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; }
.line.h-us { --c: var(--h-us); } .line.h-staff { --c: var(--h-staff); } .line.h-former { --c: var(--h-former); }
.line.h-agency { --c: var(--h-agency); } .line.h-other { --c: var(--h-other); } .line.h-unsure { --c: var(--h-unsure); }
.line-name { margin: 0; font-weight: 700; font-size: .9rem; line-height: 1.25; display: flex; gap: .5em; align-items: flex-start; padding-top: 2px; }
.swatch { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--c); margin-top: 1px; }
.line.h-unsure .swatch { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px); border: 1px solid var(--c); }
.line-n { color: var(--mute); font-weight: 500; font-size: .78rem; }
.stops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 14px; }
.stop { position: relative; flex: 1 1 128px; min-width: 112px; max-width: 220px; padding: 22px 10px 0 0; font-size: .86rem; line-height: 1.3; }
.stop::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 6px; background: var(--c); }
.line.h-unsure .stop::before { background: repeating-linear-gradient(90deg, var(--c) 0 10px, transparent 10px 16px); }
.stop:first-child::before { border-radius: 6px 0 0 6px; }
.stop:last-child::before { border-radius: 0 6px 6px 0; right: 10px; }
.stop-dot { position: absolute; left: 4px; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c); }
.stop b { display: block; font-weight: 650; }
.stop small { display: block; color: var(--mute); font-size: .8rem; overflow-wrap: anywhere; }
.stop em { display: inline-block; font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; padding: .1em .45em; border-radius: 4px; }
.stop.flag-high .stop-dot { border-color: var(--high); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--high); }
.stop.flag-high em { background: var(--high-bg); color: var(--high); }
.stop.flag-med em { background: var(--med-bg); color: var(--med); }
.stop.flag-low em { background: var(--low-bg); color: var(--low); }

/* ---------- how-to band */
.stops-band { background: var(--ink); color: #e9efec; }
.howto { list-style: none; margin: 0 auto; max-width: var(--w); padding: 48px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.howto li { padding: 0 26px 0 0; margin-right: 26px; border-right: 1px solid #2d3d3a; }
.howto li:last-child { border-right: 0; margin-right: 0; }
.howto .mono { display: block; color: var(--brass); font-size: 1.6rem; font-weight: 600; margin-bottom: .45em; }
.howto h3 { color: #fff; font-stretch: 112%; }
.howto p { color: #b9c6c2; font-size: .96rem; margin: 0; }
.howto a { color: #f0d79e; }

/* ---------- catch + ledger */
.catch, .plans, .plain, .circle { max-width: var(--w); margin: 0 auto; padding: 72px 28px 0; }
.catch-head { max-width: 46em; margin-bottom: 28px; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.entry-tab { margin: 0; align-self: start; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding: .45em .7em; border-radius: 6px; display: flex; justify-content: space-between; gap: .6em; }
.entry-tab span { opacity: .75; }
.sev-high .entry-tab { background: var(--high-bg); color: var(--high); border-left: 5px solid var(--high); }
.sev-med .entry-tab { background: var(--med-bg); color: var(--med); border-left: 5px solid #c08a1b; }
.sev-low .entry-tab { background: var(--low-bg); color: var(--low); border-left: 5px solid #8a9794; }
.entry-body h3 { margin-bottom: .3em; }
.entry-body p { margin: 0 0 .45em; color: var(--ink-2); }
.entry-do b { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-right: .5em; }
.allclear { background: #e3f0ea; border-left: 5px solid var(--teal); padding: 14px 18px; border-radius: 8px; }
.more { margin-top: 22px; }

/* ---------- circular lock-out */
.circle { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.circle-art { background: var(--brass-soft); border-radius: 22px; padding: 22px; }
.circle-art svg { display: block; width: 100%; height: auto; font-family: var(--sans); }

/* ---------- pricing */
.plans-head { max-width: 40em; margin-bottom: 26px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; }
.plan-pass { border: 2px solid var(--teal); position: relative; }
.plan-pass::before { content: ""; position: absolute; left: 28px; right: 28px; top: -2px; height: 6px; background: linear-gradient(90deg, var(--h-us) 0 25%, var(--h-staff) 25% 50%, var(--h-agency) 50% 75%, var(--brass) 75%); border-radius: 0 0 6px 6px; }
.plan-amt { font-size: 1.35rem; font-weight: 650; }
.plan-amt .mono { font-size: 2.2rem; font-weight: 600; letter-spacing: -.02em; }
.or { color: var(--mute); font-size: 1rem; font-weight: 500; margin: 0 .2em; }
.plan ul { padding-left: 1.1em; margin: 0 0 1em; }
.plan li { margin-bottom: .35em; }
.free { display: block; background: var(--brass-soft); color: #4f380c; border-radius: 8px; padding: .55em .8em; font-weight: 600; font-size: .95rem; margin: .4em 0; }
.free.big { font-size: 1.02rem; max-width: 46em; }

/* ---------- plainly */
.plain { padding-bottom: 80px; }
.plain dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: 2px solid var(--ink); margin: 0; }
.plain dt, .plain dd { padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.plain dt { font-weight: 700; padding-right: 24px; }
.plain dd { color: var(--ink-2); }

/* ---------- inner page heads */
.pagehead { max-width: var(--w); margin: 0 auto; padding: 56px 28px 30px; }
.pagehead h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18em; }
.pagehead.nf { padding-bottom: 90px; }
.note-example { background: var(--card); border: 1px dashed var(--rule); border-radius: 10px; padding: .7em 1em; display: inline-block; }
.flash { background: #e3f0ea; border-left: 5px solid var(--teal); padding: 12px 16px; border-radius: 8px; }
.formerr { background: var(--high-bg); border-left: 5px solid var(--high); padding: 12px 16px; border-radius: 8px; color: #6d1510; }
.formerr p { margin: 0 0 .3em; }
.caution { background: var(--brass-soft); border-radius: 10px; padding: 12px 16px; max-width: 46em; }

/* ---------- result */
.result { background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 34px; margin: 0 0 40px; box-shadow: 0 24px 48px -36px rgba(19, 32, 30, .35); }
.result-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: flex-end; border-bottom: 2px solid var(--ink); padding-bottom: 20px; margin-bottom: 26px; }
.result-head .kicker { width: 100%; margin: 0; }
.result-head h2 { margin: 0; max-width: 18em; }
.tally { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tally li { border-radius: 10px; padding: .45em .8em; font-size: .9rem; font-weight: 600; }
.tally b { font-size: 1.3rem; margin-right: .2em; }
.t-high { background: var(--high-bg); color: var(--high); } .t-med { background: var(--med-bg); color: var(--med); }
.t-low { background: var(--low-bg); color: var(--low); } .t-q { background: #e7eef8; color: #24508a; }
.sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); font-weight: 650; font-stretch: 100%; margin: 0 0 14px; font-family: var(--mono); }
.result-map { margin-bottom: 34px; }
.result-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
.result-side { border-left: 1px solid var(--rule); padding-left: 32px; }
.ask-list { margin: 0 0 28px; padding-left: 1.1em; }
.ask-list li { margin-bottom: .45em; }
.ask-list li::marker { content: "? "; color: #24508a; font-weight: 700; font-family: var(--mono); }
.tl { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--rule); }
.tl li { position: relative; padding: 0 0 16px 6px; }
.tl li::before { content: ""; position: absolute; left: -27px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.tl li.soon::before { border-color: var(--med); } .tl li.past::before { border-color: var(--high); background: var(--high); }
.tl-date { display: block; font-size: .85rem; color: var(--mute); }
.tl-name { display: block; font-weight: 650; }
.tl-meta { display: block; font-size: .88rem; color: var(--ink-2); }
.handback { margin-top: 30px; border-top: 1px solid var(--rule); padding-top: 24px; }
.ask { border: 1px solid var(--rule); border-radius: 12px; margin-bottom: 10px; background: #fafbf9; }
.ask summary { cursor: pointer; padding: 12px 16px; font-weight: 650; display: flex; flex-wrap: wrap; gap: .3em .8em; align-items: baseline; }
.ask summary .mono { font-size: .76rem; color: var(--mute); font-weight: 500; }
.ask textarea { display: block; width: calc(100% - 32px); margin: 0 16px 10px; font: .92rem/1.5 var(--mono); border: 1px solid var(--rule); border-radius: 8px; padding: 12px; background: #fff; color: var(--ink); resize: vertical; }
.ask .btn-line { margin: 0 16px 14px; }

/* ---------- map form */
.mapform { margin-bottom: 30px; }
.form-head { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.form-head h2 { margin: 0; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--ink-2); min-width: 0; }
.field small { font-weight: 400; color: var(--mute); }
.field input, .field select { font: 400 1rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #b9c4bf; border-radius: 9px; padding: .62em .7em; width: 100%; min-width: 0; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2em; }
.field input:focus, .field select:focus { border-color: var(--teal); outline: 3px solid rgba(176, 127, 31, .35); outline-offset: 0; }
.form-head .field-wide { flex: 1 1 320px; max-width: 520px; }
.ferr { color: var(--high); font-weight: 600; font-size: .82rem; }
.pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.piece fieldset { margin: 0; border: 1px solid var(--rule); background: var(--card); border-radius: var(--r); padding: 14px 18px 18px; min-width: 0; }
.piece legend { font-weight: 700; padding: 0 .4em; }
.piece legend .mono { color: var(--brass); margin-right: .3em; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.pgrid .field-wide { grid-column: span 2; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; position: sticky; bottom: 0; background: rgba(243, 245, 242, .96); padding: 14px 0; border-top: 1px solid var(--rule); }
.form-limit { margin: 0 0 0 auto; font-size: .9rem; }
.tick { display: flex; gap: .5em; align-items: center; margin: 4px 0 14px; }

/* ---------- point-of-use price */
.pricenote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 26px; align-items: center; border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 22px; margin: 28px 0 60px; background: var(--card); }
.pricenote p { margin: 0; }
.pricenote-amt { font-size: 1.15rem; font-weight: 650; white-space: nowrap; }
.pricenote-amt .mono { font-size: 1.55rem; }

/* ---------- method / prose / pricing table */
.rules { list-style: none; margin: 0 0 40px; padding: 0; border-top: 2px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rule-id { font-size: 1.4rem; color: var(--brass); margin: 0; }
.rules h2 { font-size: 1.25rem; margin-bottom: .3em; }
.rules p { margin: 0 0 .3em; }
.prose { max-width: 46em; padding-bottom: 70px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.5em; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); margin-bottom: 20px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 650; }
.compare thead th:last-child { background: var(--teal); }
.compare tbody th { font-weight: 550; }

/* ---------- Keyring */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-bottom: 60px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; }
.card p { margin: 0; }
.card-quiet { background: transparent; border-style: dashed; }
.card.narrow { max-width: 560px; }
.keylink { background: var(--ink); color: #e9efec; border-radius: var(--r); padding: 20px 22px; margin: 0 0 26px; }
.keylink.fresh { box-shadow: 0 0 0 4px var(--brass); }
.keylink p { margin: 0 0 12px; }
.keylink-row { display: flex; gap: 10px; }
.keylink input { flex: 1; min-width: 0; font-size: .9rem; padding: .6em .7em; border-radius: 8px; border: 0; background: #22322f; color: #fff; }
.keylink .btn-line { color: #fff; border-color: #fff; }
.maplist { list-style: none; margin: 0 0 24px; padding: 0; border-top: 2px solid var(--ink); }
.maprow { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.maprow-main { min-width: 0; flex: 1 1 420px; }
.maprow h2 { font-size: 1.3rem; margin: 0 0 .25em; }
.maprow h2 a { color: var(--ink); text-decoration: none; }
.maprow h2 a:hover { text-decoration: underline; }
.maprow p { margin: 0 0 .2em; }
.maprow-act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.maprow-act form { margin: 0; }
.chip { display: inline-block; border-radius: 6px; padding: .05em .5em; font-size: .85rem; font-weight: 600; }
.c-high { background: var(--high-bg); color: var(--high); } .c-med { background: var(--med-bg); color: var(--med); }
.ringtools { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 10px 0; }
.ringtools .inline { display: flex; gap: 8px; margin: 0; }
.ringtools input { font: inherit; padding: .55em .7em; border-radius: 9px; border: 1.5px solid #b9c4bf; min-width: 0; width: 14em; }

/* ---------- Handover Sheet */
.sheet { padding-top: 30px; padding-bottom: 60px; }
.sheet-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sheet-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: .92rem; margin: 10px 0 26px; }
.sheet-table th, .sheet-table td { border: 1px solid var(--rule); padding: 9px 10px; text-align: left; vertical-align: top; }
.sheet-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; }
.sheet-table td.mono { white-space: nowrap; }
.sheet-table small { display: block; color: var(--mute); font-weight: 400; font-family: var(--sans); }
.sheet-open h2 { font-size: 1.2rem; margin-top: 1.2em; }
.sheet-bar { display: flex; gap: 12px; align-items: center; }

/* ---------- footer */
.foot { background: var(--ink); color: #c5d0cc; margin-top: 0; }
.foot-lines { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.foot-lines i { display: block; }
.foot-lines .h-us { background: var(--h-us); filter: brightness(1.6); } .foot-lines .h-staff { background: var(--h-staff); } .foot-lines .h-agency { background: var(--h-agency); }
.foot-lines .h-other { background: var(--h-other); } .foot-lines .h-former { background: var(--h-former); }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 44px 28px 36px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 60px; }
.foot-word { font-weight: 800; font-stretch: 122%; font-size: 1.4rem; color: #fff; margin-bottom: .5em; }
.foot-about p { font-size: .94rem; max-width: 40em; }
.foot-about b { color: #fff; }
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 36px; align-content: start; }
.foot a { color: #fff; }
.foot-power { grid-column: 1 / -1; border-top: 1px solid #2d3d3a; padding-top: 18px; margin: 0; font-size: .92rem; }
.foot-power .mono { color: #8a9a96; margin-left: .6em; font-size: .8rem; }
main { min-height: 50vh; }
.mappage main, .sheetpage main { padding-bottom: 10px; }

/* ---------- tablet */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .howto li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 960px) {
  .top-nav, .top-cta { display: none; }
  .drawer { display: block; margin-left: auto; position: relative; }
  .drawer summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--ink); display: grid; place-items: center; }
  .drawer summary::-webkit-details-marker { display: none; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }
  .drawer[open] .bars { background: transparent; } .drawer[open] .bars::before { top: 0; transform: rotate(45deg); } .drawer[open] .bars::after { top: 0; transform: rotate(-45deg); }
  .drawer-sheet { position: absolute; right: 0; top: 56px; width: min(84vw, 320px); background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 10px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .35); display: grid; gap: 2px; }
  .drawer-sheet a { padding: .75em .9em; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .drawer-sheet a[aria-current="page"] { background: var(--paper); }
  .drawer-sheet .drawer-cta { background: var(--brass); color: #1b1407; text-align: center; margin-top: 6px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 18px; }
  .hero-map .line { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .circle { grid-template-columns: minmax(0, 1fr); }
  .result-cols { grid-template-columns: minmax(0, 1fr); }
  .result-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .plan-grid, .split, .foot-in { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .top-in, .ticket, .hero, .catch, .plans, .plain, .circle, .pagehead, .foot-in { padding-left: 18px; padding-right: 18px; }
  .top-in { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .mark-word { font-size: 1.12rem; }
  h1 { font-size: 2.25rem; }
  .lede { font-size: 1.08rem; }
  /* phone home: the map leads (a station board), then the question; one squared button, stops on a vertical line */
  .hero { padding: 0 0 34px; gap: 0; }
  .hero-map { order: -1; margin: 0 !important; border-radius: 0; border-top: 0; box-shadow: none; padding: 0 18px 14px; border-bottom: 6px solid var(--ink); }
  .hero-map figcaption { margin: 0 -18px 16px; padding: 12px 18px; background: var(--ink); color: #fff; font-size: .98rem; }
  .hero-map figcaption .mono { color: #e2bd6b; flex-basis: 100%; }
  .hero-map .lines { gap: 14px; }
  .hero-map-foot { font-size: .86rem; }
  .hero-title { padding: 30px 18px 0; }
  .hero-title .kicker { display: none; }
  .hero h1 { font-size: 2.15rem; font-stretch: 108%; line-height: 1.02; }
  .hero h1::before { content: ""; display: block; width: 64px; height: 6px; background: var(--h-us); margin-bottom: 18px; box-shadow: 72px 0 0 var(--h-agency), 144px 0 0 var(--h-former); }
  .hero-copy { padding: 14px 18px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 4px; margin: 1.3em 0 1.4em; }
  .hero-cta .btn { border-radius: 4px; justify-content: space-between; padding: 1em 1.1em; }
  .hero-cta .btn::after { content: "\2192"; font-weight: 400; }
  .hero-cta .btn-line { border: 0; border-radius: 0; padding: .7em 0; justify-content: flex-start; text-decoration: underline; text-underline-offset: 5px; color: var(--teal-2); }
  .hero-cta .btn-line:hover { background: none; color: var(--teal); }
  .hero-facts { flex-direction: column; gap: 0; margin-left: 7px; border-left: 4px solid var(--teal); }
  .hero-facts li { position: relative; padding: 7px 0 7px 22px; }
  .hero-facts li::before { position: absolute; left: -12px; top: 12px; width: 20px; height: 20px; margin: 0; background: var(--paper); border: 4px solid var(--teal); }
  .line { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stop { flex-basis: 46%; max-width: none; }
  .howto { grid-template-columns: minmax(0, 1fr); padding: 36px 18px; }
  .howto li { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid #2d3d3a; padding-bottom: 22px; }
  .howto li:last-child { border-bottom: 0; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .entry-tab { justify-self: start; }
  .plain dl { grid-template-columns: minmax(0, 1fr); }
  .plain dt { border-bottom: 0; padding-bottom: 2px; }
  .result { padding: 20px 16px; border-radius: 16px; }
  .pgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .piece fieldset { padding: 12px 12px 14px; }
  .form-actions { gap: 8px; position: static; background: none; }
  .form-actions .btn, .form-actions .btn-line { flex: 1 1 100%; justify-content: center; }
  .form-limit { margin: 0; }
  .pricenote { grid-template-columns: minmax(0, 1fr); }
  .rules li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .compare { font-size: .88rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .keylink-row { flex-direction: column; }
  .sheet-table { display: block; overflow-x: auto; }
  .ringtools input { width: 100%; }
  .ringtools .inline { width: 100%; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- print (Handover Sheet) */
@media print {
  .top, .foot, .noprint, .skip, .pricenote { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .wrap { padding: 0; max-width: none; }
  .sheet-table thead th { background: #fff !important; color: #000; border-bottom: 2px solid #000; }
  .sheet-table { display: table; }
  a { color: #000; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
