/* The city pages: plain, fast reading pages in the home page's colours and type. */
@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 { --bg: #050708; --ink: #f2f5ef; --mute: #a4b0ad; --lime: #D8FF3E; --cyan: #5FE1FF; --violet: #B79CFF; --line: rgba(255,255,255,.14); --gutter: clamp(20px, 5vw, 72px); }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 clamp(1rem, .96rem + .2vw, 1.15rem)/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
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(1.8rem, 9vw, 5.4rem); line-height: .9; text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: .95; margin-bottom: 14px; }
em { font-style: normal; color: var(--lime); }
a { color: var(--cyan); text-underline-offset: 3px; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 5; background: var(--lime); color: #000; padding: 10px 16px; font-weight: 600; }
.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; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 1.45rem; line-height: 1; }
.bar nav { margin-left: auto; font-size: .92rem; font-weight: 600; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d5dcd9; text-decoration: none; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--lime); color: #050708; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }

main { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.crumbs { padding: 18px 0 0; font-size: .88rem; color: var(--mute); }
.crumbs a { color: var(--mute); display: inline-block; padding: 8px 0; }
.answer { display: grid; gap: 28px; padding: 28px 0 12px; align-items: center; }
.kicker { font-size: 1.2rem; line-height: 1; letter-spacing: .03em; color: var(--violet); margin-bottom: 12px; }
.big { margin: 22px 0 14px; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: .9; color: var(--mute); }
.big b { display: block; font-size: clamp(5rem, 22vw, 9rem); line-height: .82; color: var(--lime); font-variant-numeric: tabular-nums; }
.lead { margin-top: 16px; font-size: 1.12em; color: #dbe1de; max-width: 34em; }
.shape { width: min(100%, 340px); justify-self: center; }
.shape .ghost { fill: #ffffff12; stroke: #ffffff2e; stroke-width: .6; }
.shape .line { fill: var(--lime); }

section { padding: 34px 0; border-top: 1px solid var(--line); }
section p { color: #dbe1de; 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; }
th, td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
th { font-size: .82rem; font-weight: 600; color: var(--mute); }
td:last-child { font-weight: 600; }
.all { max-width: none; }
.all a { display: inline-block; padding: 4px 0; font-weight: 600; }
.all td:first-child { color: var(--mute); width: 2.6em; }

.calc { max-width: 560px; margin-bottom: 22px; padding: 20px; background: #ffffff0a; border: 1px solid var(--line); }
.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; }

.facts { display: grid; gap: 0; max-width: 560px; margin: 18px 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.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 { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 800 1.5rem/1.05 Barlow, sans-serif; text-transform: uppercase; }
.around a:hover { border-color: var(--lime); }
.lost { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: 760px; }
.lost a { padding: 14px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.lost a:hover { border-color: var(--lime); }
.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); }

.get { text-align: left; padding-bottom: 56px; }
.cta { display: inline-flex; align-items: center; min-height: 58px; margin-top: 20px; padding: 0 26px; background: var(--lime); color: #050708; font-size: 1.45rem; line-height: 1; text-decoration: none; }
.foot { display: grid; gap: 12px; padding: 30px var(--gutter) calc(30px + env(safe-area-inset-bottom)); color: var(--mute); font-size: .88rem; border-top: 1px solid var(--line); }
.foot .brand { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { display: inline-block; padding: 8px 0; 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; }
}
@media (min-width: 820px) {
  .answer { grid-template-columns: 1.3fr 1fr; padding-top: 40px; }
}

/* Guide pages */
section ol, section ul { margin: 0 0 16px; padding-left: 1.2em; max-width: 40em; color: #dbe1de; }
section li { margin: 0 0 10px; padding-left: 4px; }
section li b { color: var(--ink); 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(--ink); background: #050708; border: 1px solid #ffffff40; border-radius: 0; }
.calc #c-city { margin-top: 6px; }
.compare th[scope=row] { font-size: 1rem; color: var(--ink); white-space: nowrap; vertical-align: top; }
.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 0; border-bottom: 1px solid var(--line); }
  .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; }
}
