/* Kiwi Trip: the apps' "Alpine" look on the web, laid out like Apple's product pages and the App Store.
   System font, big confident type, real photos and screenshots, one accent per app. Dark first; light works too.
   No decorative gradients: the only gradient is the dark fade under text on a photo. */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface2: #e8e8ed;
  --label: #1d1d1f;
  --label2: #56565b;
  --label3: #6e6e73;
  --sep: rgba(60, 60, 67, 0.18);
  --fill: rgba(118, 118, 128, 0.12);
  --fill2: rgba(118, 118, 128, 0.2);
  --bar: rgba(245, 245, 247, 0.84);
  --ok: #1f8a3c;
  --warn: #b25000;
  --camp: #157a3d;
  --huts: #b44f14;
  --milford: #0a7383;
  --on-accent: #ffffff;
  --accent: var(--camp);
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --section: 48px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface2: #2c2c2e;
    --label: #f5f5f7;
    --label2: #a1a1a6;
    --label3: #8e8e93;
    --sep: rgba(84, 84, 88, 0.6);
    --fill: rgba(118, 118, 128, 0.24);
    --fill2: rgba(118, 118, 128, 0.34);
    --bar: rgba(22, 22, 23, 0.8);
    --ok: #30d158;
    --warn: #ff9f0a;
    --camp: #34c26a;
    --huts: #f07a30;
    --milford: #22b8cc;
    --on-accent: #000000;
  }
}

@media (min-width: 768px) { :root { --gutter: 24px; --section: 72px; } }

.accent-camp { --accent: var(--camp); }
.accent-huts { --accent: var(--huts); }
.accent-milford { --accent: var(--milford); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.5 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.2vw + 20px, 52px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 1.2vw + 19px, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 16px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; margin: 20px 0 8px; }
.num, .fig, .fig-s { font-variant-numeric: tabular-nums; }
.muted { color: var(--label2); font-size: 15px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: 1228px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 808px; }

/* Header: a slim translucent bar, like apple.com and an iOS navigation bar. */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sep);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.wordmark { color: var(--label); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.025em; white-space: nowrap; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--label2); text-decoration: none; font-size: 14px; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px; transition: color 150ms ease, background-color 150ms ease;
}
.nav a:hover { color: var(--label); background: var(--fill); }
.nav a[aria-current] { color: var(--label); font-weight: 600; background: var(--fill); }
@media (max-width: 767px) {
  .header-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; }
  .nav { margin: 6px calc(var(--gutter) * -1) 0; padding: 0 44px 8px var(--gutter); width: calc(100% + var(--gutter) * 2); gap: 2px; }
  .nav a { padding: 5px 10px; }
  .nav a:first-child { margin-left: -10px; }
  .nav { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40px); mask-image: linear-gradient(to left, transparent 0, #000 40px); }
  .home-hero { height: 70vh; min-height: 480px; }
}

/* Hero: full-bleed photo with a dark fade under the title (the app's PhotoHero). */
.hero { position: relative; height: 52vh; min-height: 300px; max-height: 520px; overflow: hidden; background: #1c1c1e; color: #fff; }
.hero-tall { height: 72vh; min-height: 460px; max-height: 760px; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0) 64%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 28px; }
.hero h1 { color: #fff; max-width: 860px; }
.hero .sub { color: rgba(255, 255, 255, 0.88); font-size: clamp(17px, 0.6vw + 14px, 21px); line-height: 1.4; margin: 10px 0 0; max-width: 640px; }
.hero .crumbs, .hero .crumbs a { color: rgba(255, 255, 255, 0.82); }
.photo-credit { font-size: 12px; color: var(--label3); margin: 8px 0 0; }
.photo-credit a { color: inherit; }

.main-col > .hero { margin: 0 calc(var(--gutter) * -1); }
.main-col > .photo-credit { margin-bottom: 4px; }

.page-head { padding: 32px var(--gutter) 8px; }
.page-head .sub { color: var(--label2); margin: 10px 0 0; font-size: 19px; line-height: 1.4; }
.page-head.has-aerial { display: flex; align-items: flex-end; gap: 20px; }
.page-head-text { flex: 1; min-width: 0; }
.head-aerial { flex: none; margin: 0; width: 112px; }
.head-aerial img { width: 112px; height: 112px; border-radius: var(--r-m); object-fit: cover; box-shadow: 0 0 0 1px var(--sep); }
.head-aerial figcaption { font-size: 11px; line-height: 1.3; color: var(--label3); margin-top: 6px; }
@media (max-width: 520px) { .head-aerial, .head-aerial img { width: 84px; height: auto; } .head-aerial img { height: 84px; } }
.crumbs { font-size: 13px; color: var(--label2); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--label2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: 0.6; }

/* Two columns on wide screens: content, then a sticky map and app card. */
.cols { display: block; }
.side-col { margin-top: 40px; }
@media (min-width: 1000px) {
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-top: 24px; }
  .main-col > .hero { margin: 0; border-radius: var(--r-l); height: 440px; }
  .main-col > .hero-tall { height: 500px; }
  .main-col > .hero .wrap { padding: 0 32px; }
  .main-col > .hero .hero-text { padding-bottom: 32px; }
  .side-col { position: sticky; top: 76px; margin-top: 0; }
}
.main-col > .wrap { padding: 0; }
.main-col > .page-head { padding: 28px 0 4px; }
.main-col h1 { font-size: clamp(30px, 2.2vw + 20px, 46px); }

.lead { font-size: clamp(19px, 0.4vw + 17px, 21px); line-height: 1.45; margin: 24px 0 16px; text-wrap: pretty; max-width: 760px; letter-spacing: -0.015em; }
.note { font-size: 13px; line-height: 1.45; color: var(--label2); margin: 10px 4px 0; }
.source { font-size: 13px; color: var(--label2); margin: 40px 0 0; }
.more { margin: 12px 4px 0; font-size: 15px; font-weight: 600; }
.more a { text-decoration: none; }
.more a::after { content: " \203A"; }
.more a:hover { text-decoration: underline; }

.block { margin: var(--section) 0 0; }
.cols .block { margin-top: 40px; }
.cols h2 { font-size: clamp(22px, 0.6vw + 19px, 26px); margin-bottom: 12px; }

/* Big figures over a caption, split by hairlines (the app's StatRow), never boxed tiles. */
.stats { display: flex; margin: 24px 0 8px; }
.stat { flex: 1 1 0; padding: 0 16px; border-left: 1px solid var(--sep); min-width: 0; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .fig { display: block; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.stat .cap { display: block; font-size: 13px; line-height: 1.3; color: var(--label2); margin-top: 4px; }
@media (max-width: 420px) { .stat .fig { font-size: 22px; } .stat { padding: 0 10px; } }
a.stat { color: var(--label); text-decoration: none; }
a.stat:hover .fig { color: var(--accent); }
a.stat:hover .cap { text-decoration: underline; }
.stats-links .fig { font-size: clamp(28px, 2.4vw + 18px, 44px); }

/* Inset grouped list rows. */
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-m); overflow: hidden; }
.list li + li .row::before { content: ""; position: absolute; top: 0; right: 0; left: 64px; border-top: 1px solid var(--sep); }
.row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 60px; color: var(--label); text-decoration: none; }
a.row { transition: background-color 150ms ease; }
a.row:hover { background: var(--fill); }
a.row:hover .row-title { text-decoration: underline; text-decoration-thickness: 1px; }
.badge { flex: none; width: 40px; height: 40px; border-radius: var(--r-s); background: var(--fill); color: var(--label2); display: grid; place-items: center; }
.badge .ic { width: 20px; height: 20px; }
.thumb { flex: none; width: 56px; height: 56px; border-radius: var(--r-s); object-fit: cover; background: var(--fill); }
.thumb.app-thumb { border-radius: 13px; box-shadow: 0 0 0 1px var(--sep); }
.list li:has(.thumb) + li .row::before { left: 84px; }
.row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-title { font-size: 17px; line-height: 1.3; }
.row-sub { font-size: 15px; line-height: 1.35; color: var(--label2); margin-top: 2px; }
.trail { flex: none; text-align: right; }
.fig-s { font-size: 15px; font-weight: 600; color: var(--label); }
.chev { flex: none; width: 16px; height: 16px; color: var(--label3); margin-right: -4px; }
.chev.ext { width: 14px; height: 14px; }
.stats-note { margin: 6px 0 0; }
.list.compact .row { min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.list.compact .badge { width: 30px; height: 30px; }
.list.compact .badge .ic { width: 17px; height: 17px; }
.list.compact li + li .row::before { left: 58px; }

/* Label / value rows. */
.facts { margin: 0; background: var(--surface); border-radius: var(--r-m); padding: 0 16px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--sep); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--label); flex: none; }
.facts dd { margin: 0; color: var(--label2); text-align: right; }
.facts.stacked > div { display: block; }
.facts.stacked dt { font-weight: 600; }
.facts.stacked dd { text-align: left; margin-top: 2px; font-size: 15px; }

.callout { display: flex; gap: 12px; background: var(--surface); border-radius: var(--r-m); padding: 16px; margin: 16px 0 0; }
.callout > .ic { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.callout-toilets > .ic { color: var(--ok); }
.callout-noToilets > .ic, .callout-noCarAccess > .ic { color: var(--warn); }
.callout-title { font-weight: 600; margin-bottom: 4px; }
.callout p { margin: 0 0 4px; font-size: 15px; }
.callout p.callout-title { font-size: 17px; }

ul.points { margin: 0; padding: 4px 16px 4px 36px; background: var(--surface); border-radius: var(--r-m); max-width: 760px; }
ul.points li { padding: 10px 0; border-top: 1px solid var(--sep); }
ul.points li:first-child { border-top: 0; }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 5px 0; }

/* Buttons: one filled pill for the main action, a grey one beside it. */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
.btn, .btn-sec, .btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: opacity 150ms ease, background-color 150ms ease;
}
.btn { background: var(--accent); color: var(--on-accent); }
.btn:hover { opacity: 0.86; text-decoration: none; }
.btn .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.btn-sec { background: var(--fill); color: var(--label); }
.btn-sec:hover { background: var(--fill2); text-decoration: none; }
.btn-light { background: #fff; color: #000; }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); }
.btn-plain { font-weight: 600; font-size: 15px; text-decoration: none; }
.btn-plain:hover { text-decoration: underline; }
.btn-plain::after { content: " \203A"; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.link-row .btn-sec { min-height: 40px; font-size: 15px; padding: 0 18px; }

/* App card beside the map. */
.app-card { display: flex; gap: 14px; background: var(--surface); border-radius: var(--r-l); padding: 20px; margin-top: 16px; }
.app-card img { width: 64px; height: 64px; border-radius: 14px; flex: none; box-shadow: 0 0 0 1px var(--sep); }
.app-name { font-weight: 600; margin: 0; font-size: 17px; }
.app-line { font-size: 15px; line-height: 1.4; color: var(--label2); margin: 4px 0 8px; }
.app-price { font-size: 13px; color: var(--label2); margin: 0 0 12px; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
.narrow > .app-card { margin-top: 24px; }

/* Apple's "Download on the App Store" badge: the official artwork, never restyled. 40 px high or more,
   with clear space of a quarter of its height on every side (Apple's marketing guidelines). */
.store-badge { display: inline-block; flex: none; line-height: 0; margin: 2px 0; }
.store-badge img { display: block; height: 40px; width: auto; }
.app-head .store-badge img { height: 48px; }

/* Phones: the reason to get the app, straight after the lead. Wide screens show the app card beside the page instead. */
.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  background: var(--surface); border-radius: var(--r-m); padding: 14px 16px; margin: 16px 0 0;
  font-size: 15px; line-height: 1.4; color: var(--label2);
}
.cta-inline span { flex: 1 1 220px; }
.cta-inline strong { color: var(--label); }
@media (min-width: 1000px) { .cta-inline { display: none; } }

/* The three apps as plain rows, for pages without a side column. */
.app-list { list-style: none; margin: 0; padding: 0 16px; background: var(--surface); border-radius: var(--r-m); }
.app-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 0; border-top: 1px solid var(--sep); }
.app-list li:first-child { border-top: 0; }
.app-list li > img:first-child { width: 52px; height: 52px; border-radius: 12px; flex: none; box-shadow: 0 0 0 1px var(--sep); }
.app-list li > div { flex: 1 1 200px; min-width: 0; }
.app-list .app-name a { color: var(--label); text-decoration: none; }
.app-list .app-name a:hover { text-decoration: underline; }
.app-list .app-line { margin: 2px 0 0; }

/* Guide tables: a few facts per place, side by side. */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r-m); }
table.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
table.data th, table.data td { text-align: left; padding: 11px 16px; border-top: 1px solid var(--sep); vertical-align: top; }
table.data thead th { border-top: 0; font-weight: 600; color: var(--label2); font-size: 13px; white-space: nowrap; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data td .muted { display: block; font-size: 13px; }

/* Map */
.map-wrap { margin: 0; }
.map { height: 340px; border-radius: var(--r-m); background: var(--fill); overflow: hidden; z-index: 0; }
@media (min-width: 1000px) { .map { height: 420px; } }
.map-off { padding: 16px; color: var(--label2); font-size: 15px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 2px 0; font-size: 13px; color: var(--label2); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 2.5px var(--sep); }
.map-wrap figcaption { font-size: 12px; color: var(--label3); margin: 8px 2px 0; }
.map-wrap figcaption a { color: inherit; }
.leaflet-container { font: 14px/1.4 var(--font); background: var(--fill); }
.leaflet-popup-content { margin: 10px 12px; }
.leaflet-popup-content a { color: var(--accent); font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .leaflet-tile-pane { filter: brightness(0.82) contrast(1.05); }
  .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #2c2c2e; color: #f5f5f7; }
  .leaflet-bar a { background: #2c2c2e; color: #f5f5f7; border-bottom-color: #3a3a3c; }
  .leaflet-control-attribution { background: rgba(0, 0, 0, 0.7) !important; color: #c7c7cc; }
  .leaflet-control-attribution a { color: #e5e5ea; }
}

/* App page: laid out like an App Store product page. */
.app-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; align-content: start; padding-top: 48px; }
.app-head .app-icon { grid-row: 1 / span 4; align-self: center; width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 0 0 1px var(--sep); }
.app-id { display: contents; }
.app-id > * { grid-column: 2; }
.app-head h1 { font-size: clamp(28px, 2.6vw + 18px, 48px); }
.app-head .sub { color: var(--label2); margin: 6px 0 0; font-size: clamp(17px, 0.5vw + 15px, 21px); }
.app-head .actions { margin-top: 18px; }
.app-head .app-price { margin: 10px 0 0; }
.app-info .stats { margin: 32px 0 0; padding: 16px 0; border-top: 1px solid var(--sep); border-bottom: 1px solid var(--sep); }
.app-info .stat .fig { font-size: clamp(19px, 0.8vw + 16px, 26px); }
@media (max-width: 600px) {
  .app-head { column-gap: 16px; padding-top: 28px; }
  .app-head .app-icon { grid-row: 1 / span 2; align-self: start; width: 100px; height: 100px; border-radius: 23px; }
  .app-head .actions, .app-head .app-price { grid-column: 1 / -1; }
  .app-head .actions { margin-top: 20px; }
  .app-info .stat { padding: 0 8px; }
  .app-info .stat .cap { font-size: 12px; }
}
.shots-band { margin-top: 28px; }
.shots {
  list-style: none; margin: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px max(var(--gutter), calc((100vw - 1228px) / 2 + var(--gutter))) 14px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1228px) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.shot { flex: none; width: 232px; scroll-snap-align: start; }
.shot img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--sep); background: #0c0d0e; }
@media (min-width: 768px) { .shot { width: 264px; } .shot img { border-radius: 26px; } .shots { gap: 18px; } }
.app-body .lead { margin-top: 40px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.features li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--sep); }
.features .ic { flex: none; width: 26px; height: 26px; color: var(--accent); margin-top: 1px; }
.feat-title { font-weight: 600; margin: 0; line-height: 1.35; }
.feat-sub { color: var(--label2); font-size: 15px; line-height: 1.45; margin: 4px 0 0; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.info-grid { display: grid; gap: 0 40px; }
.info-grid > div { border-top: 1px solid var(--sep); padding-top: 4px; }
.info-grid h3 { margin-top: 14px; font-size: 17px; }
.info-grid p { color: var(--label2); font-size: 15px; line-height: 1.5; }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.app-rows { max-width: 760px; }

/* Home */
.home-hero { height: 78vh; min-height: 520px; max-height: 820px; }
.home-hero h1 { font-size: clamp(40px, 5vw + 18px, 84px); line-height: 1.02; letter-spacing: -0.04em; }
.home-hero .hero-text { padding-bottom: clamp(32px, 5vw, 64px); }
.home-hero .actions { margin-top: 24px; }

.app-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .app-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
  .app-tiles {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .app-tiles::-webkit-scrollbar { display: none; }
  .app-tile { flex: none; width: min(86vw, 360px); scroll-snap-align: start; }
}
.app-tile { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l); overflow: hidden; padding: 24px 24px 0; }
.app-tile-head { display: flex; gap: 14px; align-items: flex-start; flex: 1 0 auto; }
.app-tile .app-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; box-shadow: 0 0 0 1px var(--sep); }
.app-tile h3 { margin: 2px 0 0; font-size: 21px; line-height: 1.2; }
.app-tile h3 a { color: var(--label); text-decoration: none; }
.app-tile h3 a:hover { text-decoration: underline; }
.app-tile .app-line { margin: 6px 0 0; }
.app-tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 20px 0 0; }
.app-tile .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.app-tile .btn .ic { width: 17px; height: 17px; }
.app-tile-shot {
  margin: 24px -24px 0; padding: 28px 0 0; height: 340px; overflow: hidden; display: flex; justify-content: center; flex: none;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.app-tile-shot img { width: 66%; max-width: 250px; height: auto; align-self: flex-start; border-radius: 26px 26px 0 0; box-shadow: 0 0 0 1px var(--sep); }
@media (min-width: 900px) { .app-tile-shot { height: 380px; } }

.place-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0 24px; }
.place-grid li { border-top: 1px solid var(--sep); }
.place-grid a { display: block; padding: 12px 0; text-decoration: none; }
.place-grid .pname { display: block; color: var(--label); font-weight: 600; }
.place-grid a:hover .pname { text-decoration: underline; }
.place-grid .muted { display: block; font-size: 13px; line-height: 1.35; margin-top: 2px; }

/* Photo cards that scroll sideways, like the app's Explore. */
.cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 10px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.card { position: relative; flex: none; width: 220px; height: 290px; border-radius: var(--r-l); overflow: hidden; scroll-snap-align: start; background: #1c1c1e; color: #fff; text-decoration: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 55%); }
.card:hover img { transform: scale(1.03); }
.card-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.card-title { display: block; font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.card-sub { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.86); margin-top: 3px; }

.regions { columns: 2 280px; column-gap: 32px; }
.region { break-inside: avoid; margin-bottom: 20px; }
.region h3 { margin-top: 0; }
.region li { font-size: 15px; padding: 3px 0; }

/* Prose pages (privacy, support, about) */
.prose { padding-top: 32px; padding-bottom: 20px; }
.prose h1 { margin-bottom: 16px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--label2); }

/* Footer */
.site-footer { margin-top: 88px; background: var(--surface); padding: 36px 0 48px; color: var(--label2); font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; }
.footer-title { font-weight: 600; color: var(--label); margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: var(--label2); text-decoration: none; }
.site-footer a:hover { color: var(--label); text-decoration: underline; }
.credits { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sep); font-size: 12px; line-height: 1.5; }
.credits p { margin: 0 0 6px; }
.credits a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .side-col, .site-footer .footer-cols { display: none; }
}

/* Home on wide screens */
@media (min-width: 1000px) {
  .home .place-grid { grid-template-columns: repeat(4, 1fr); }
  .cards { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .card { width: auto; height: 320px; }
  .home .stops { columns: 2; column-gap: 0; }
  .home .stops li { break-inside: avoid; }
}
@media (max-width: 999px) { .hero:not(.hero-tall) { height: 46vh; min-height: 300px; } }
