/* Self-hosted latin / Kannada variable fonts (SIL OFL). Files + licences in /fonts/. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Kannada";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/noto-sans-kannada-kannada-wght-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835;
}

:root {
  --paper: #f4f7fb;
  --paper-2: #e6eef6;
  --cream: #ffffff;
  --ink: #002848;
  --ink-2: #1a3f5c;
  --muted: #3d5366;
  --line: #d3dee8;
  --blue: #0055a5;
  --blue-ink: #003e7a;
  --blue-soft: #e6f1fa;
  --purple: #7b2d8e;
  --green: #007a3d;
  --rail: #c8102e;
  --on-dark: #d7e4ef;
  --max: 1120px;
  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --ui: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --kn: "Noto Sans Kannada", "Noto Sans", sans-serif;
  --line-pos: 0%;
  --line-stripe: linear-gradient(90deg, #7b2d8e 0%, #007a3d 50%, #7b2d8e 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; }
em { font-family: var(--display); font-style: italic; font-weight: 500; color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 99;
  background: var(--blue); color: #fff; padding: 10px 14px;
}
.skip-link:focus { left: 8px; }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Header — light plate so the coloured mark stays readable */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background-image: linear-gradient(90deg, #7b2d8e, #007a3d, #7b2d8e, #007a3d);
  background-size: 200% 100%;
  background-position: var(--line-pos) 0;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(0, 40, 80, 0.22); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #f4f7fb;
  border-radius: 10px;
  padding: 4px;
}
.brand-lockup {
  display: block;
  height: 42px;
  width: auto;
}
.brand-lockup-lg,
.legal-lockup {
  height: 72px;
  margin: 8px 0 18px;
}
.footer-lockup {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #f4f7fb;
  border-radius: 8px;
}
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-en { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.brand-kn { font-family: var(--kn); font-size: 14px; font-weight: 600; color: var(--green); }
:lang(kn) { font-family: var(--kn); }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.nav a {
  text-decoration: none; color: var(--blue-ink); font-weight: 600; font-size: 15px;
  min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  background: var(--blue) !important; color: #fff !important;
  padding: 8px 14px; font-weight: 650 !important; border-radius: 6px;
}
.menu {
  display: none; border: 1px solid var(--line); background: var(--paper);
  width: 44px; height: 44px; color: var(--ink);
}

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 320px); gap: 40px; align-items: center;
}
.hero-kicker {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
  margin: 0 0 18px; color: var(--on-dark); font-size: 13px; font-weight: 500;
}
.hero-kicker b { color: #9ec8ef; font-weight: 650; }
.hero h1 {
  margin: 0 0 18px; max-width: 16ch;
  font-size: clamp(42px, 6vw, 72px); line-height: 1.02;
  color: #fff;
}
.hero-lead { max-width: 36em; margin: 0; color: var(--on-dark); font-size: 18px; }
.hero-cta {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  row-gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
}
.hero-download {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  text-decoration: none; font-weight: 650; font-size: 15px; border: 1px solid transparent;
}
.btn-primary { background: #fff; color: var(--blue-ink); }
.btn-secondary { background: transparent; color: #fff; border-color: #3d6a8f; }
.btn-ink { background: var(--blue); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.hero-note { margin: 22px 0 0; color: #8aa0b3; font-size: 13px; }

/* Device */
.device-wrap { justify-self: center; width: 100%; }
.device {
  width: min(100%, 300px); margin-inline: auto;
  padding: 10px; border-radius: 28px; background: #001a2e;
  box-shadow: 0 30px 60px rgba(0, 32, 64, 0.45);
}
.device-screen {
  border-radius: 20px; overflow: hidden; background: var(--paper);
  color: var(--ink); min-height: 0;
}
.device-shot { width: 100%; height: auto; display: block; border-radius: 20px; }
.shot-frame { margin: 0 0 20px; }
.shot-frame img {
  width: 100%; height: auto; display: block;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 40, 80, 0.12);
}
.shot-frame figcaption { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.os-status {
  display: flex; justify-content: space-between; padding: 8px 14px 4px;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.app-top { padding: 8px 14px 14px; background: var(--blue); color: #fff; }
.app-hello { margin: 0; font-size: 11px; color: #d6e8f7; }
.app-hello [lang="kn"] { font-family: var(--kn); color: #fff; }
.app-top h3 { margin: 4px 0 12px; font-size: 26px; color: #fff; }
.app-search { background: #004888; padding: 10px 12px; display: grid; gap: 8px; }
.app-search div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.pin { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pin.from { background: var(--green); }
.pin.to { background: var(--rail); }
.app-results { padding: 10px; display: grid; gap: 8px; }
.app-card { background: var(--cream); border: 1px solid var(--line); padding: 10px 12px; }
.app-card.is-on { border-color: var(--blue); box-shadow: 3px 0 0 var(--purple) inset; }
.app-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.app-card-top span { font-size: 11px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.app-card-top b { font-family: var(--display); font-size: 22px; }
.app-route { display: flex; align-items: center; gap: 6px; margin: 8px 0; font-size: 11px; color: var(--muted); }
.app-route i { width: 14px; height: 1px; background: var(--line); }
.app-meta { font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; padding: 2px 7px;
  color: #fff; font-size: 10px; font-weight: 700;
}
.chip.bus { background: var(--blue); }
.chip.metro { background: var(--purple); }
.stamp {
  display: inline-block; padding: 1px 6px; font-size: 10px; font-weight: 700;
  border: 1px solid currentColor;
}
.stamp.scheduled { color: var(--blue-ink); }
.stamp.typical { color: #8a4b00; }
.stamp.cached { color: #4a1a80; }
.stamp.live { color: var(--green); }
.stamp.unavailable { color: var(--muted); }
.device-caption { margin: 12px 0 0; text-align: center; color: #8aa0b3; font-size: 12px; }

/* Ledger under hero */
.ledger {
  background: var(--blue);
  color: #fff;
}
.ledger-row {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 16px 0; font-size: 14px; font-weight: 550;
}
.ledger b { font-family: var(--display); font-size: 20px; font-weight: 700; margin-right: 6px; }

/* Shared sections */
section { padding: 80px 0; }
.section-kicker {
  margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600;
}
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head h2, .story-copy h2, .follow-copy h2, .faq h2, .about-copy h2 {
  margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08;
}
.section-lead { margin: 0; color: var(--muted); font-size: 18px; }

/* Journey story */
.story { background: var(--paper); }
.story-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  margin-bottom: 28px; align-items: end;
}
.od { font-size: 15px; color: var(--ink-2); }
.od strong { font-family: var(--display); font-size: 22px; }
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ticket {
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 var(--paper-2);
  padding: 0;
  position: relative;
}
.ticket:first-child { box-shadow: 6px 6px 0 var(--blue-soft); }
.ticket:last-child { box-shadow: 6px 6px 0 #f3e8f7; }
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 22px; right: 22px; height: 10px;
  background:
    radial-gradient(circle at 6px 0, var(--paper) 6px, transparent 7px) 0 0 / 16px 10px repeat-x;
}
.ticket::before { top: -1px; transform: rotate(180deg); }
.ticket::after { bottom: -1px; }
.ticket-inner { padding: 22px 22px 20px; }
.ticket-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.ticket-kind { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.ticket-time { font-family: var(--display); font-size: 36px; line-height: 1; }
.ticket-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 14px; }
.ticket-legs { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ticket-legs li { padding-left: 16px; border-left: 2px solid var(--line); }
.ticket-legs li.bus { border-color: var(--blue); }
.ticket-legs li.metro { border-color: var(--purple); }
.ticket-legs li.walk { border-color: var(--green); }
.ticket-foot { margin-top: 14px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }

.points { margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.points h3 { margin: 0 0 6px; font-size: 20px; }
.points p { margin: 0; color: var(--muted); font-size: 14px; }

/* Modes as a line */
.modes { background: var(--ink); color: #fff; }
.modes .section-kicker, .modes .section-lead { color: var(--on-dark); }
.modes h2 { color: #fff; }
.mode-line {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; margin-top: 8px;
}
.mode {
  padding: 22px 20px; background: #00345c; border: 1px solid #1a4a70;
}
.mode h3 { margin: 8px 0 8px; font-size: 26px; color: #fff; }
.mode p { margin: 0; color: var(--on-dark); font-size: 15px; }
.mode-code {
  display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700; color: #fff;
}
.mode-bus .mode-code { background: var(--blue); }
.mode-metro .mode-code { background: var(--purple); }
.mode-walk .mode-code { background: var(--green); }
.mode-join { width: 28px; align-self: center; height: 3px; background: var(--purple); }

/* Follow the trip */
.follow { background: var(--paper); }
.follow-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.trip {
  background: var(--cream); border: 1px solid var(--line); padding: 8px 0;
}
.trip-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.trip-row:last-child { border-bottom: 0; }
.trip-when { font-size: 12px; font-weight: 650; color: var(--muted); }
.trip-row h3 { margin: 0 0 4px; font-size: 18px; }
.trip-row p { margin: 0; color: var(--muted); font-size: 14px; }
.follow-copy ol { margin: 20px 0 0; padding-left: 1.15rem; color: var(--muted); }
.follow-copy li { margin: 10px 0; }
.follow-copy strong { color: var(--ink); }

/* Labels as a legend */
.labels { background: var(--paper-2); }
.legend { width: 100%; border-collapse: collapse; background: var(--cream); border: 1px solid var(--line); }
.legend th, .legend td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legend th { font-size: 13px; color: var(--muted); font-weight: 650; width: 22%; }
.legend tr:last-child th, .legend tr:last-child td { border-bottom: 0; }
.legend td { color: var(--ink-2); font-size: 15px; }
.legend-more { margin: 16px 0 0; font-size: 14px; }
.legend-more a { color: var(--blue-ink); font-weight: 650; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.status-board {
  background: var(--ink); color: #fff; padding: 22px 22px 8px;
  border-top: 8px solid var(--purple);
}
.status-board h3 { margin: 0 0 14px; font-size: 24px; color: #fff; }
.status-board dl { margin: 0; }
.status-board div {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 10px 0; border-top: 1px solid #1a4a70; font-size: 14px;
}
.status-board dt { color: var(--on-dark); font-weight: 500; }
.status-board dd { margin: 0; }
.about-copy p { color: var(--muted); }
.about-copy a { color: var(--blue-ink); font-weight: 650; }

/* FAQ */
.faq { background: var(--paper); padding-top: 40px; }
.faq-list { display: grid; gap: 0; max-width: 780px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary {
  cursor: pointer; font-family: var(--display); font-size: 20px; font-weight: 650;
  padding: 16px 28px 16px 0; list-style: none; position: relative;
}
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 16px;
  color: var(--muted); font-family: var(--ui); font-size: 18px; font-weight: 500;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 16px; max-width: 62ch; }
.faq-item a { color: var(--blue-ink); }

/* Honesty + CTA */
.honesty { padding-top: 0; }
.honesty-panel {
  padding: 28px 0 0; border-top: 1px solid var(--line);
}
.honesty-panel h2 { margin: 0 0 8px; font-size: 28px; }
.honesty-panel p { margin: 0; color: var(--muted); max-width: 68ch; }
.honesty-panel a { color: var(--blue-ink); font-weight: 650; }

.cta { padding-top: 24px; }
.cta-panel {
  position: relative; padding: 40px 36px; background: var(--ink); color: #fff;
}
.cta-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--line-stripe);
}
.cta-panel h2 {
  margin: 0 0 10px; max-width: 18ch;
  font-size: clamp(32px, 4vw, 48px); color: #fff;
}
.cta-panel p { margin: 0 0 22px; max-width: 40em; color: var(--on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-primary { background: #fff; color: var(--blue-ink); }
.cta .btn-secondary { color: #fff; }

/* Footer */
.site-footer { margin-top: 0; padding: 48px 0 24px; background: var(--ink); color: #8aa0b3; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin: 14px 0 0; max-width: 340px; font-size: 14px; line-height: 1.6; }
.footer-owner { margin: 16px 0 0; max-width: 340px; color: #d7e4ef; font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-contact { margin: 12px 0 0; padding: 0; max-width: 360px; }
.footer-contact div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; min-height: 44px; }
.footer-contact dt { margin: 0; color: #c5d8ea; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-contact dd { margin: 0; }
.footer-contact a { color: #d7e4ef; text-decoration: none; font-size: 15px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.footer-contact a:hover { color: #fff; }
.brand-footer { color: #fff; }
.footer-col h3 {
  margin: 0 0 12px; color: #fff; font-family: var(--ui);
  font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col a { display: flex; align-items: center; min-height: 44px; margin: 0; color: #c5d8ea; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid #1a4a70;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px;
}
.footer-bottom a { color: #d7e4ef; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }

/* Legal pages */
.legal-hero { padding: 56px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 0 0 12px; }
.legal-hero p { max-width: 680px; color: var(--muted); font-size: 18px; margin: 0; }
.updated {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  border-left: 3px solid var(--blue); padding-left: 10px;
}
.legal { padding: 56px 0; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; padding: 0 0 0 0; border-left: 2px solid var(--line); }
.legal-toc strong { display: block; margin: 0 0 8px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--ink); border-left: 2px solid var(--blue); margin-left: -2px; }
.legal-copy { max-width: 760px; }
.legal-copy section { padding: 0; margin: 0 0 40px; scroll-margin-top: 100px; }
.legal-copy h2 { margin: 0 0 10px; font-size: 28px; }
.legal-copy h3 { margin: 20px 0 6px; font-size: 18px; }
.legal-copy p, .legal-copy li { color: var(--ink-2); }
section, .faq-item, .ticket, .hero h1, .cta-panel { scroll-margin-top: 96px; }
.aeo { margin: 0 0 28px; padding: 18px 20px; background: var(--cream); border-left: 3px solid var(--blue); }
.aeo h2 { margin: 0 0 10px; font-size: 22px; }
.aeo dt { font-weight: 700; color: var(--ink); margin: 12px 0 4px; }
.aeo dd { margin: 0; color: var(--ink-2); }
.legal-copy table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; background: var(--cream); }
.legal-copy th, .legal-copy td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-copy th { color: var(--ink); background: var(--paper-2); }
.notice {
  padding: 14px 16px; border-left: 3px solid var(--blue); background: #e8f1fa; color: var(--blue-ink); margin: 14px 0;
}
.warning-notice { border-color: #8a4b00; background: #fff1d6; color: #5c3600; }
.legal-copy code { font-size: 0.92em; background: var(--paper-2); padding: 2px 6px; }
.legal-copy a { color: var(--blue-ink); }
.legal-copy ol { padding-left: 1.25rem; color: var(--muted); }
.legal-copy ol li { margin: 8px 0; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--blue-ink); text-decoration: none; font-weight: 650; }
.breadcrumbs a:hover { text-decoration: underline; }
.nav a:focus-visible, .menu:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .site-header::after { background-position: 0 0; }
}

@media (max-width: 960px) {
  .menu { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; inset: 76px 16px auto;
    flex-direction: column; align-items: stretch; padding: 14px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 40, 80, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; min-height: 44px; }
  .hero-grid, .follow-grid, .about-grid, .tickets { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-download { justify-self: center; }
  .device-wrap { justify-self: center; }
  .mode-line { grid-template-columns: 1fr; }
  .mode-join { width: 2px; height: 18px; justify-self: center; }
  .points { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .shell { width: min(100% - 28px, var(--max)); }
  .hero { padding: 36px 0 48px; }
  .points, .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; }
  .trip-row { grid-template-columns: 1fr; gap: 4px; }
}
