/* Route landing pages (/routes/*), rendered by Ticket route-seo.ts.
   Markup contract: docs/design/ROUTE-PAGE-MARKUP-2026-10-02.md. Palette = frontend/src/styles/root.css. */
:root {
  color-scheme: light;
  --ink: #172321; --muted: #65716f; --line: #d8e0df;
  --surface: #fff; --surface-soft: #f2f6f6; --surface-tint: #eaf1f1;
  --brand: #0e5558; --brand-deep: #063f43; --brand-soft: #d9ecea;
  --accent: #c23a12; --accent-hover: #a92f0b;
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px;
  --shadow-soft: 0 18px 50px rgba(16, 42, 40, .1);
}
* { box-sizing: border-box; }
html { background: var(--surface-soft); }
body { margin: 0; color: var(--ink); background: var(--surface-soft); font: 400 16px/1.55 Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand); text-underline-offset: .16em; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(194, 58, 18, .38); outline-offset: 3px; }
.shell { width: min(100% - 32px, 960px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand span { white-space: nowrap; }
.brand img { flex: none; width: 32px; height: 32px; border-radius: 8px; }
.top__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { padding: 48px 0 8px; }
.kicker { margin: 0; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 10px 0 14px; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.lead { max-width: 64ch; margin: 0; color: var(--muted); font-size: 18px; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 24px 0 8px; padding: 0 26px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.cta:hover { background: var(--accent-hover); }

/* Sections */
.section { margin-top: 40px; }
h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.015em; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }

/* Facts: <dl class="facts"> of <div><dt/><dd/></div> */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.facts div { padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-tint); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; overflow-wrap: break-word; }

/* Trips: <ul class="trips"> of <li class="trip"> */
.trips { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.trip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.trip__name { margin: 0; font-size: 18px; font-weight: 700; }
.trip__via { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.trip__meta { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.trip__meta span + span::before { content: " · "; }
.trip__price { margin: 0; text-align: right; white-space: nowrap; }
.trip__price strong { display: block; font-size: 22px; }
.trip__price small { color: var(--muted); font-size: 13px; }
.trips__empty { padding: 20px 24px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--muted); }

/* FAQ: <div class="faq"> of <details><summary/><div class="faq__answer"/></details> */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); margin-top: -4px; transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); }
.faq__answer p { margin: 0; max-width: 70ch; }

/* Related directions */
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.related a:hover { background: #c9e3e0; }

/* Footer */
.foot { margin-top: 56px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .lead { font-size: 16px; }
  .brand { font-size: 16px; }
  .top__link { font-size: 14px; }
  .cta { width: 100%; }
  .panel { padding: 18px; border-radius: var(--radius-md); }
  .trip { grid-template-columns: 1fr; padding: 16px 18px; }
  .trip__price { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
@media print { .top, .cta, .related { display: none; } body, html { background: #fff; } }
