/* City and guide pages: fast reading pages in the 1.4 app's look. A dusk sky over the answer, then plain night panels. */
@font-face { font-family: Barlow; src: url(/assets/fonts/BarlowCondensed-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root { --ink: #05061A; --night: #0B0D2A; --deep: #120E36; --panel: #1A1546; --rim: #3A2F86; --text: #F4F1FF; --mute: #C6BFE8; --body: #E2DDF7; --lime: #D8FF3E; --cyan: #5FE1FF; --violet: #B79CFF; --gutter: clamp(20px, 5vw, 72px); }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--text); -webkit-text-size-adjust: 100%; }
body { position: relative; isolation: isolate; margin: 0; font: 400 clamp(1rem, .96rem + .2vw, 1.12rem)/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(440px, 62vw, 600px); background: #4A1C8C url(/assets/art/dusk-sky.svg) center bottom / cover no-repeat; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2, .big, .brand, .kicker, .cta { font-family: Barlow, 'Arial Narrow', sans-serif; font-weight: 800; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: .95; text-wrap: balance; overflow-wrap: anywhere; color: #fff; transform: skewX(-7deg); -webkit-text-stroke: .11em var(--ink); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--ink); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: .95; margin-bottom: 16px; color: #fff; }
em { font-style: normal; color: var(--lime); }
a { color: var(--cyan); text-underline-offset: 3px; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 5; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600; border: 3px solid var(--ink); }
.skip:focus { top: 12px; }
.js-only { display: none; }
.js .js-only { display: block; }

.bar { display: flex; align-items: center; gap: 20px; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-size: 1.55rem; line-height: 1; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 3px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.bar nav { margin-left: auto; font-size: .95rem; font-weight: 600; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; text-shadow: 0 1px 2px var(--ink), 0 0 10px #1B0B4A; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--lime); color: var(--ink); font: 800 1.1rem/1 Barlow, sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; white-space: nowrap; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); }

main { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.crumbs { padding: 8px 0 0; font-size: .9rem; color: #fff; text-shadow: 0 1px 2px var(--ink); }
.crumbs a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 600; }
.answer { display: grid; gap: 28px; padding: 20px 0 36px; align-items: center; }
.kicker { display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: .04em; color: var(--ink); background: var(--lime); padding: 8px 12px 6px; border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); transform: rotate(-2deg); margin-bottom: 18px; }
.big { margin: 22px 0 16px; font-size: clamp(1.5rem, 4.4vw, 2.2rem); line-height: .9; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.big b { display: block; font-size: clamp(5rem, 20vw, 8.4rem); line-height: .85; color: var(--lime); font-variant-numeric: tabular-nums; -webkit-text-stroke: 12px var(--ink); text-shadow: 6px 7px 0 var(--ink); }
.lead { display: inline-block; margin-top: 18px; max-width: 34em; padding: 12px 16px; color: var(--ink); background: #fff; font-weight: 600; line-height: 1.45; border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); transform: rotate(-.6deg); }
.shape { width: min(100%, 320px); justify-self: center; padding: 14px; background: var(--panel); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 8px 10px 0 var(--ink); }
.shape .ghost { fill: #B79CFF33; stroke: #B79CFF55; stroke-width: .6; }
.shape .line { fill: var(--lime); }

section { padding: 36px 0; border-top: 2px solid var(--rim); }
article > section:first-of-type { border-top: 0; }
section p { color: var(--body); max-width: 40em; }
section p + p { margin-top: 12px; }
table { width: 100%; max-width: 560px; border-collapse: collapse; margin-bottom: 22px; font-variant-numeric: tabular-nums; background: var(--panel); border: 2px solid var(--rim); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rim); }
tr:last-child td { border-bottom: 0; }
th { font-size: .82rem; font-weight: 600; color: var(--mute); background: var(--deep); }
td:last-child { font-weight: 600; }
.all { max-width: none; }
.all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.all td { padding-block: 0; }
.all td:first-child { color: var(--mute); width: 2.6em; }

.calc { max-width: 560px; margin-bottom: 22px; padding: 20px; background: var(--panel); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 7px 0 var(--ink); }
.calc label { display: block; font-weight: 600; }
.calc output { color: var(--cyan); }
.calc input { width: 100%; height: 44px; margin: 6px 0; accent-color: var(--lime); }
.calc-result { font-size: 1.05em; }
.calc-result b { font: 800 2.6rem/1 Barlow, sans-serif; color: var(--lime); margin-right: 6px; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }

.facts { display: grid; gap: 0; max-width: 560px; margin: 18px 0; padding: 4px 16px; background: var(--panel); border: 2px solid var(--rim); border-radius: 16px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rim); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--mute); }
.facts dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.around { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; max-width: 560px; }
.around a, .lost a { display: grid; gap: 2px; padding: 14px 16px; background: var(--panel); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 5px 6px 0 var(--ink); color: #fff; text-decoration: none; }
.around a { font: 800 1.5rem/1.05 Barlow, sans-serif; text-transform: uppercase; }
.around a:last-child { text-align: right; }
.around small, .around span { font: 600 .8rem/1.3 Inter, sans-serif; text-transform: none; color: var(--mute); }
.lost { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: 760px; }
.lost a { font-weight: 600; }
@media (hover: hover) { .around a:hover, .lost a:hover { border-color: var(--lime); } }

.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; margin: 24px 0 56px; padding: 32px 28px 0; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 10px 12px 0 var(--ink); background: #4A1C8C url(/assets/art/dusk-sky.svg) center bottom / cover no-repeat; overflow: hidden; }
.get > div { padding-bottom: 32px; }
.get h2 { font-size: clamp(2.4rem, 6vw, 3.8rem); transform: skewX(-7deg); -webkit-text-stroke: .11em var(--ink); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--ink); }
.get p { display: inline-block; color: var(--ink); background: #fff; font-weight: 600; padding: 10px 14px; border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); transform: rotate(-.8deg); max-width: 32em; }
.get img { width: clamp(150px, 22vw, 230px); }
.cta { display: inline-flex; align-items: center; min-height: 56px; margin-top: 22px; padding: 0 24px; background: var(--lime); color: var(--ink); font-size: 1.4rem; line-height: 1; letter-spacing: .03em; text-decoration: none; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 6px 0 var(--ink); }
.cta:active, .pill:active { transform: translate(3px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.foot { display: grid; gap: 12px; padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); color: var(--mute); font-size: .9rem; background: var(--ink); }
.foot .brand { justify-self: start; font-size: 1.35rem; }
.foot .brand img { width: 32px; height: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: inherit; }
.foot p { max-width: 46em; }

@media (max-width: 560px) {
  .bar nav { display: none; }
  .bar .pill { margin-left: auto; }
  .all th:nth-child(3), .all td:nth-child(3), .all th:nth-child(5), .all td:nth-child(5) { display: none; }
  .get { grid-template-columns: 1fr; padding: 26px 20px 0; }
  .get img { justify-self: end; width: 150px; margin-top: -24px; }
  .get > div { padding-bottom: 0; }
}
@media (min-width: 820px) {
  .answer { grid-template-columns: 1.3fr 1fr; padding-top: 28px; }
}

/* Guide pages */
section ol, section ul { margin: 0 0 16px; padding-left: 1.2em; max-width: 40em; color: var(--body); }
section li { margin: 0 0 10px; padding-left: 4px; }
section li b { color: #fff; font-weight: 600; }
section li::marker { color: var(--lime); font-weight: 600; }
.calc input[type=number] { display: block; width: 100%; max-width: 260px; height: 48px; margin: 6px 0 16px; padding: 0 12px; font: 600 1.1rem Inter, sans-serif; color: var(--text); background: var(--night); border: 2px solid var(--rim); border-radius: 10px; }
.calc #c-city { margin-top: 6px; }
.compare th[scope=row] { font-size: 1rem; color: #fff; white-space: nowrap; vertical-align: top; background: none; }
.compare td { vertical-align: top; font-weight: 400; }
.compare td:first-child { color: inherit; width: auto; }
.note { font-size: .88rem; color: var(--mute); }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px; border-bottom: 1px solid var(--rim); }
  .compare th[scope=row], .compare td { display: block; padding: 2px 0; border: 0; }
  .compare th[scope=row] { font: 800 1.6rem/1.1 Barlow, sans-serif; text-transform: uppercase; }
  .compare td:nth-child(3), .compare td:nth-child(4) { color: var(--mute); font-size: .92rem; }
  .all.compare td:nth-child(3) { display: block; }
}
