/* Layover city guides (marketing/layover-guides/*.html) — one shared stylesheet.
   HAND-WRITTEN on purpose: not Tailwind, not produced by scripts/build-marketing-css.sh,
   so a guide loads fast on cellular and needs no build step before a deploy.
   Brand tokens mirror frontend/tailwind.config.js. Text is never smaller than 15px
   (Tim: never shrink text — stack or grow the layout instead). */
:root {
  --navy: #0B1521;
  --card: #1C293A;
  --card-2: #16222F;
  --line: rgba(255, 255, 255, .10);
  --yellow: #FCC603;
  --yellow-soft: rgba(252, 198, 3, .12);
  --green: #3DDC84;
  --text: #FFFFFF;
  --body: #D5DEE9;
  --muted: #9FB0C3;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--body); font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
a { color: var(--yellow); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif; color: var(--text); letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ── Top bar ── */
.nav { border-bottom: 1px solid var(--line); background: rgba(11, 21, 33, .9); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-style: italic; text-transform: uppercase; color: var(--text); font-size: 1.15rem; letter-spacing: -0.01em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.2; text-align: center; }
.btn-y { background: var(--yellow); color: var(--navy); box-shadow: 0 0 18px rgba(252, 198, 3, .28); }
.btn-o { background: rgba(255, 255, 255, .08); color: var(--text); border: 1px solid rgba(255, 255, 255, .22); }
.nav .btn { padding: 10px 14px; font-size: .95rem; }

/* ── Hero ── */
.hero { padding: 34px 0 8px; background: radial-gradient(900px 380px at 80% -10%, rgba(252, 198, 3, .13), transparent 60%); }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.eyebrow { display: inline-block; padding: 6px 12px; border: 1px dashed rgba(252, 198, 3, .6); border-radius: 10px; color: var(--yellow); font-family: 'Space Grotesk', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; background: rgba(252, 198, 3, .06); }
h1 { font-size: clamp(2.1rem, 8.2vw, 3.3rem); line-height: 1.05; margin: 16px 0 14px; font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--body); }
.byline { color: var(--muted); font-size: .98rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.stat b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; line-height: 1; color: var(--yellow); font-weight: 700; }
.stat span { display: block; margin-top: 8px; color: var(--body); font-size: 1rem; line-height: 1.35; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ── Sections ── */
section { padding: 34px 0 6px; }
.kicker { font-family: 'Space Grotesk', sans-serif; color: var(--yellow); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; font-weight: 700; margin: 0 0 6px; }
h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.12; margin: 0 0 14px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin: 0 0 14px; }
.note { color: var(--muted); font-size: .98rem; }

/* The short version */
.short { border-color: rgba(252, 198, 3, .35); background: linear-gradient(180deg, rgba(252, 198, 3, .08), rgba(28, 41, 58, 1) 70%); }
.ticks li { position: relative; padding: 0 0 12px 30px; }
.ticks li:last-child { padding-bottom: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 800; }
.ticks b { color: var(--text); }

/* Jump links: one row that scrolls sideways */
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 6px; margin: 14px -20px 0; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); text-decoration: none; font-weight: 700; font-size: .98rem; background: rgba(255, 255, 255, .04); }

/* Bars */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 5.4em 1fr 4.6em; gap: 12px; align-items: center; }
.bar-row .lab { font-weight: 800; color: var(--text); }
.bar { height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--yellow); border-radius: 8px; }
.bar-row em { font-style: normal; font-weight: 800; color: var(--text); text-align: right; white-space: nowrap; }
.split { display: grid; gap: 12px; }
@media (min-width: 700px) { .split { grid-template-columns: 1fr 1fr; } }
.split .card { margin: 0; }
.split h3 { margin-bottom: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts b { color: var(--text); white-space: nowrap; }

/* Areas */
.area-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.pill { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--yellow-soft); color: var(--yellow); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.pill.g { background: rgba(61, 220, 132, .12); color: var(--green); }
.pill.w { background: rgba(255, 255, 255, .08); color: var(--body); }

/* Places */
.place { display: grid; gap: 10px; }
.place-top { display: flex; align-items: flex-start; gap: 12px; }
.num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-family: 'Space Grotesk', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.place-top h3 { padding-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.place p { margin: 0; }
.know { border-left: 3px solid var(--yellow); padding-left: 12px; color: var(--body); }
.know b { color: var(--text); }
.more h3 { margin-bottom: 8px; }
.more p { margin-bottom: .7em; }
.more p:last-child { margin-bottom: 0; }
.more b { color: var(--text); }

/* Example days */
.day h3 { margin-bottom: 4px; }
.tl { margin-top: 14px; border-left: 2px solid rgba(252, 198, 3, .45); padding-left: 16px; display: grid; gap: 14px; }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -22px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.tl time { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--yellow); }
.tl b { color: var(--text); }

/* App prompt inside the page */
.cta { border: 1px solid rgba(252, 198, 3, .45); background: linear-gradient(160deg, rgba(252, 198, 3, .13), rgba(28, 41, 58, 1) 55%); border-radius: 22px; padding: 22px 18px; margin: 22px 0 6px; }
.cta h2 { font-size: clamp(1.45rem, 5.6vw, 1.9rem); margin-bottom: 8px; }
.cta p { margin-bottom: 14px; }
.cta .row { display: grid; gap: 10px; }
@media (min-width: 560px) { .cta .row { grid-template-columns: 1fr 1fr; } }
.cta ul { margin: 0 0 16px; }
.cta-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(252, 198, 3, .3); border-radius: 18px; padding: 16px; background: rgba(252, 198, 3, .06); margin: 0 0 14px; }
.cta-mini p { margin: 0; flex: 1 1 240px; color: var(--text); font-weight: 600; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; margin: 0 0 10px; }
summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--text); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--yellow); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 120px; text-align: center; color: var(--muted); font-size: .98rem; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0; }
footer a { color: var(--muted); }
.tag { font-family: 'Space Grotesk', sans-serif; color: var(--text); font-weight: 700; font-size: 1.1rem; }

/* Bottom bar: shows after the reader is into the guide; never a pop-up */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(11, 21, 33, .96); border-top: 1px solid rgba(252, 198, 3, .35); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.dock.on { transform: none; }
.dock .in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.dock img { width: 38px; height: 38px; flex: none; }
.dock p { margin: 0; flex: 1; color: var(--text); font-weight: 700; line-height: 1.25; font-size: 1rem; }
.dock .btn { padding: 11px 14px; flex: none; }
.dock button { flex: none; background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; padding: 6px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* ── Hero photo: the city behind the title, under the app's bottom-heavy navy scrim ── */
.hero.has-photo { position: relative; padding-top: 0; background: none; }
.hero-photo { position: absolute; inset: 0 0 auto 0; height: 470px; background-position: center 22%; background-size: cover; background-repeat: no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 33, .18) 0%, rgba(11, 21, 33, .38) 30%, rgba(11, 21, 33, .86) 62%, #0B1521 96%); }
.hero.has-photo .wrap { position: relative; padding-top: 190px; }
.hero.has-photo h1, .hero.has-photo .lead, .hero.has-photo .crumbs { text-shadow: 0 1px 12px rgba(11, 21, 33, .75); }
.hero.has-photo .crumbs, .hero.has-photo .crumbs a { color: #D5DEE9; }
.hero.has-photo .eyebrow { background: rgba(11, 21, 33, .6); }
@media (min-width: 700px) { .hero-photo { height: 560px; } .hero.has-photo .wrap { padding-top: 260px; } }

/* ── A screen from the app, in a phone-like frame ── */
.shot { display: block; width: min(300px, 88%); height: auto; margin: 6px auto 18px; border-radius: 24px; border: 6px solid #05090F; outline: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.feature { border-color: rgba(252, 198, 3, .3); }
.feature h3 { font-size: 1.45rem; margin-bottom: 8px; }
.feature .btn { width: 100%; }
@media (min-width: 700px) {
  .pic::after { content: ""; display: block; clear: both; }
  .pic .shot { float: right; width: 230px; margin: 0 0 12px 24px; }
  .feature .btn { width: auto; }
}

/* ── Compact rows (places 7 to 12) ── */
.rows h3 { margin-bottom: 4px; }
.rows li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows b { color: var(--text); font-size: 1.1rem; font-family: 'Space Grotesk', sans-serif; }
.rows p { margin: 2px 0 0; }
.rows strong { color: var(--text); }

/* ── Guides index ── */
/* One card per guide: the whole card is one link, the photo is its background. The navy
   gradient (same idea as the guide header's photo) keeps the white words readable.
   The photo stops INSIDE the thin border (background-clip): painted under it, where the
   gradient does not reach, it showed through as a bright halo (Tim, 2026-11-20). */
.gx { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 22px 0 6px; }
@media (min-width: 700px) { .gx { grid-template-columns: 1fr 1fr; } }
.gx-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; background-color: var(--card-2); background-size: cover; background-position: center 30%; background-repeat: no-repeat; background-clip: padding-box; }
.gx-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 33, .10) 0%, rgba(11, 21, 33, .35) 35%, rgba(11, 21, 33, .88) 75%, #0B1521 100%); }
.gx-card.plain::before { background: none; }
.gx-card h2, .gx-card p { position: relative; text-shadow: 0 1px 10px rgba(11, 21, 33, .8); }
.gx-card h2 { font-size: 1.5rem; line-height: 1.15; margin: 0 0 4px; }
.gx-card p { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--body); }
.gx-card:hover, .gx-card:focus-visible { border-color: rgba(252, 198, 3, .6); }

/* A row of pill links that wraps onto several lines instead of scrolling sideways (More guides). */
.jump.jump-wrap { flex-wrap: wrap; overflow: visible; padding: 4px 0 6px; margin: 14px 0 0; }
