/* IUBAT Fleet: public website. Light and dark follow the visitor's device. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --brand: #0f7a3d;
  --brand-ink: #ffffff;
  --brand-soft: rgba(15, 122, 61, 0.1);
  --yellow: #f5b400;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 80px -20px rgba(0, 40, 15, 0.35), 0 10px 30px -10px rgba(0, 0, 0, 0.25);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #111113;
    --card: #1c1c1e;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --brand: #34c76f;
    --brand-ink: #03140a;
    --brand-soft: rgba(52, 199, 111, 0.16);
    --nav-bg: rgba(0, 0, 0, 0.72);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(720px, 100% - 40px); margin-inline: auto; }

/* ───────── Navigation ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 52px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; letter-spacing: -0.01em; font-size: 1.0625rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: #fff; padding: 3px; box-shadow: 0 0 0 1px var(--line); }
.brand-dot { color: var(--yellow); }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: .875rem; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-links a.btn { color: var(--brand-ink); }
.nav-links a.btn:hover { color: var(--brand-ink); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 52px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 18px 0 0; }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 1.0625rem/1 var(--font); letter-spacing: -0.01em; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); transition: transform .2s, filter .2s, background .2s;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 30px; padding: 0 14px; font-size: .8125rem; }
.btn-lg { min-height: 52px; padding: 0 30px; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); filter: none; }
.btn-soon { background: var(--bg-alt); color: var(--ink-2); cursor: default; }
.btn-soon:hover { filter: none; }
.link-more { font-size: 1.1875rem; }
.link-more::after { content: " ›"; }

/* ───────── Type ───────── */
.eyebrow { font-size: 1.0625rem; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; margin: 0 0 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
.display { font-size: clamp(2.75rem, 8.2vw, 6rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 750; }
.title { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.06; }
.lede { font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink-2); margin: 18px 0 0; font-weight: 400; }
.grad { background: linear-gradient(95deg, #0f7a3d 10%, #4ea325 55%, #f5b400 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .grad { background-image: linear-gradient(95deg, #34c76f 10%, #8fd438 55%, #ffc928 100%); } }

/* ───────── Hero ───────── */
.hero { text-align: center; padding: 72px 0 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 70%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 30%, var(--brand-soft), transparent 70%);
}
.hero .lede { max-width: 640px; margin-inline: auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-device { margin: 56px auto 0; width: min(330px, 74vw); height: min(400px, 74vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%); mask-image: linear-gradient(#000 62%, transparent 100%); }
.hero-device .device { width: 100%; }

/* ───────── iPhone frame ─────────
   The screen has exactly the screenshot's shape, so nothing is cropped or stretched. The frame is a titanium rim,
   a black bezel and a dynamic island. Everything is in percentages, so the whole phone scales with its width. */
.device {
  position: relative; width: 100%;
  border-radius: 17.5% / 8.1%; padding: 2.4%;
  background: #0a0a0b;
  box-shadow:
    0 0 0 1.5px #5a5a5e,                      /* titanium rim */
    0 0 0 3px #1c1c1e,                        /* outer edge */
    var(--shadow);
}
.device::before { /* dynamic island */
  content: ""; position: absolute; z-index: 2; top: 3.2%; left: 50%; transform: translateX(-50%);
  width: 27%; height: 2.6%; border-radius: 999px; background: #000;
}
.device-screen {
  aspect-ratio: 560 / 1213; border-radius: 15% / 6.9%; overflow: hidden; background: #f5f5f7; position: relative;
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-sm { width: min(280px, 72vw); }

/* ───────── Sections ───────── */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.split.flip .split-media { order: -1; }
.split-media { display: flex; justify-content: center; }
.split p.body { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); margin: 20px 0 0; max-width: 34ch; letter-spacing: -0.01em; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; letter-spacing: -0.01em; }
.points .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: .8125rem; font-weight: 700; margin-top: 1px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split.flip .split-media { order: 0; }
  .split p.body { margin-inline: auto; }
  .points { justify-items: start; text-align: left; width: fit-content; margin-inline: auto; }
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.tile {
  background: var(--card); border-radius: var(--radius); padding: 36px 32px 0; overflow: hidden;
  display: flex; flex-direction: column; min-height: 360px; position: relative;
  box-shadow: 0 0 0 1px var(--line);
}
.section-alt .tile { box-shadow: none; }
.tile h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.tile p { color: var(--ink-2); margin: 10px 0 0; max-width: 30ch; letter-spacing: -0.01em; }
.tile .kicker { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 10px; }
.tile .art { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.tile-a { grid-column: span 4; }
.tile-b { grid-column: span 2; }
.tile-c { grid-column: span 3; }
.tile-d { grid-column: span 3; }
.tile .art { -webkit-mask-image: linear-gradient(#000 62%, transparent 98%); mask-image: linear-gradient(#000 62%, transparent 98%); }
.tile .art .device { width: min(230px, 62%); margin-bottom: -36%; }
.tile-a .art { gap: 20px; }
.tile-a .art .device:nth-child(2) { margin-top: 48px; }
.tile-dark { background: linear-gradient(160deg, #0b3d22, #12582f 60%, #1c7a42); color: #fff; box-shadow: none; }
.tile-dark p { color: rgba(255, 255, 255, .78); }
.tile-dark .kicker { color: var(--yellow); }
.notif {
  background: rgba(255, 255, 255, .96); color: #1d1d1f; border-radius: 22px; padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); width: min(330px, 100%); text-align: left; margin: 0 auto 34px;
}
.notif img { width: 38px; height: 38px; border-radius: 10px; background: #fff; padding: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.notif b { display: block; font-size: .9375rem; letter-spacing: -0.01em; }
.notif span { font-size: .875rem; color: #55555a; line-height: 1.3; display: block; }
.notif small { margin-left: auto; align-self: flex-start; color: #86868b; font-size: .75rem; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: auto; }
  .tile-a .art .device:nth-child(2) { display: none; }
  .tile { min-height: 0; padding: 30px 26px 0; }
}

/* Statement band */
.band { background: linear-gradient(160deg, #0a3a20, #11582e 60%, #17753d); color: #fff; text-align: center; }
.band .eyebrow { color: var(--yellow); }
.band .lede { color: rgba(255, 255, 255, .8); max-width: 560px; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chip { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: .9375rem; font-weight: 500; }

/* Download */
.download { text-align: center; }
.brand-mark-lg { width: 96px; height: 96px; border-radius: 24px; background: #fff; padding: 12px; margin: 0 auto 28px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -18px rgba(0, 0, 0, .4); }
.note { color: var(--ink-3); font-size: .875rem; margin-top: 18px; }

/* ───────── Page header (iOS large title) ───────── */
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.045em; }
.page-head p { color: var(--ink-2); font-size: 1.1875rem; margin: 12px 0 0; max-width: 56ch; letter-spacing: -0.01em; }
.page-body { padding-bottom: 96px; }

/* Segmented control */
.segment { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-alt); margin: 26px 0 8px; gap: 2px; }
.segment button { border: 0; background: none; color: var(--ink); font: 600 .9375rem/1 var(--font); padding: 10px 22px; border-radius: 10px; cursor: pointer; transition: background .2s, box-shadow .2s; min-height: 38px; }
.segment button[aria-selected="true"] { background: var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
@media (prefers-color-scheme: dark) { .segment { background: #1c1c1e; } .segment button[aria-selected="true"] { background: #3a3a3c; } }

/* iOS grouped list */
.group { background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; margin-top: 18px; }
.row { border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 64px;
}
.row > summary::-webkit-details-marker { display: none; }
.row > summary:hover { background: var(--bg-alt); }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.row-sub { color: var(--ink-2); font-size: .9375rem; }
.pill { background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .8125rem; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.chev { width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(-45deg); transition: transform .25s; flex: none; margin-right: 4px; }
.row[open] .chev { transform: rotate(45deg); }
.row-body { padding: 4px 20px 22px; display: grid; gap: 20px; }
.runs { display: grid; gap: 14px; }
.run-days { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 8px; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time { background: var(--bg-alt); border-radius: 10px; padding: 8px 13px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; font-size: .9375rem; }
.time-wide { font-weight: 500; }
.stops summary { list-style: none; cursor: pointer; color: var(--brand); font-weight: 600; font-size: .9375rem; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.stops summary::-webkit-details-marker { display: none; }
.stops summary::after { content: "›"; transition: transform .2s; display: inline-block; }
.stops[open] summary::after { transform: rotate(90deg); }
.stop-list { list-style: none; margin: 10px 0 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 0; }
.stop-list::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 2px; background: var(--brand-soft); border-radius: 2px; }
.stop-list li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: .9688rem; }
.stop-list li::before { content: ""; position: absolute; left: -22px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 3px var(--brand); }
.stop-list .after { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { text-align: center; padding: 64px 24px; color: var(--ink-2); }
.empty h2 { font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.banner { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border-radius: 16px; padding: 14px 18px; margin-top: 22px; font-size: .9688rem; }
.banner.warn { background: rgba(245, 180, 0, .16); }
.banner b { font-weight: 650; }
.fine { color: var(--ink-3); font-size: .875rem; margin-top: 28px; }

/* Notices */
.notice { background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); padding: 22px 24px; margin-top: 14px; }
.notice-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tag { font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.tag-pin { color: #8a6500; background: rgba(245, 180, 0, .2); }
@media (prefers-color-scheme: dark) { .tag-pin { color: #ffcf4a; } }
.notice time { color: var(--ink-3); font-size: .875rem; margin-left: auto; }
.notice h2 { font-size: 1.375rem; letter-spacing: -0.025em; line-height: 1.2; }
.notice p { margin: 8px 0 0; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }

/* Long text pages */
.prose { font-size: 1.0625rem; line-height: 1.65; }
.prose h2 { font-size: 1.625rem; margin: 52px 0 12px; letter-spacing: -0.03em; line-height: 1.15; }
.prose h3 { font-size: 1.1875rem; margin: 28px 0 8px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 1.25rem; margin: 0 0 16px; display: grid; gap: 8px; }
.prose .meta { color: var(--ink-3); font-size: .9375rem; margin-top: 8px; }
.toc { background: var(--bg-alt); border-radius: 18px; padding: 20px 24px; margin: 28px 0 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.25rem; columns: 2; column-gap: 32px; }
.toc a { color: var(--ink); }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.table { width: 100%; border-collapse: collapse; font-size: .9688rem; margin: 8px 0 18px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--bg-alt); border-radius: 18px; padding: 18px 20px 18px 62px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: .9375rem; }
.callout { background: var(--brand-soft); border-radius: 20px; padding: 22px 24px; margin: 24px 0; }
.callout h3 { margin-top: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; font-weight: 300; color: var(--ink-3); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 60ch; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 36px; text-align: center; margin-top: 56px; }
.contact-card h2 { font-size: 1.75rem; }
.contact-card p { color: var(--ink-2); margin: 10px 0 22px; }

/* ───────── Footer ───────── */
.footer { background: var(--bg-alt); color: var(--ink-3); font-size: .8125rem; padding: 28px 0 40px; }
.foot-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.foot-top h4 { margin: 0 0 10px; color: var(--ink); font-size: .75rem; font-weight: 650; letter-spacing: .02em; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { color: var(--ink-2); }
.foot-top a:hover { color: var(--ink); }
.foot-bottom { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 700px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* ───────── Motion ───────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Small helpers (no inline styles: the content security policy forbids them) */
.art-end { align-items: flex-end; }
.tall { min-height: 60vh; display: grid; align-items: center; }
.error { color: #d93025; }
@media (prefers-color-scheme: dark) { .error { color: #ff6b61; } }
[hidden] { display: none !important; }

/* The team */
.team { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 26px 30px; text-align: center; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(145deg, #0f7a3d, #4ea325 60%, #f5b400);
  box-shadow: 0 14px 30px -14px rgba(15, 122, 61, .7);
}
.person h3 { font-size: 1.1875rem; letter-spacing: -0.025em; line-height: 1.2; }
.person .role { margin: 6px 0 0; color: var(--brand); font-weight: 600; font-size: .9375rem; }
.person .about { margin: 12px 0 0; color: var(--ink-2); font-size: .9688rem; line-height: 1.45; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* Schedules: tools, bus numbers, stop timeline, by-bus cards */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex: none; vertical-align: -2px; }
.tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin: 26px 0 6px; }
.tools .segment { margin: 0; }
.finder { flex: 1; min-width: 220px; max-width: 360px; }
.finder input {
  width: 100%; min-height: 44px; border: 0; border-radius: 12px; padding: 0 16px 0 42px; font: 400 1rem var(--font); color: var(--ink);
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
}
.finder input::placeholder { color: var(--ink-3); }
.finder input:focus { outline: 3px solid var(--brand); outline-offset: 0; }
.nomatch { text-align: center; color: var(--ink-2); padding: 36px 0; }
[data-hide="1"] { display: none !important; }

.time { display: inline-flex; flex-direction: column; gap: 2px; min-width: 96px; }
.time-wide { flex-direction: row; align-items: center; gap: 10px; }
.busno { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--brand); letter-spacing: 0; }

.stops > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 0 8px; }
.stops > summary::after { display: none; }
.maplink { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--brand-soft); }
.maplink:hover { text-decoration: none; filter: brightness(.96); }

.timeline { list-style: none; margin: 4px 0 0; padding: 0; }
.stop { position: relative; display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; column-gap: 10px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--line); }
.stop:first-child { border-top: 0; }
.stop::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--brand-soft); }
.stop:first-child::before { top: 50%; }
.stop:last-child::before { bottom: 50%; }
.dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-left: 6px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 3px var(--brand); }
.stop-start .dot, .stop-end .dot { width: 18px; height: 18px; margin-left: 4px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.stop-name { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.stop-start .stop-name, .stop-end .stop-name { font-weight: 650; }
.flag { margin-left: 8px; font-size: .6875rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.stop .after { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: .9063rem; white-space: nowrap; }
.stop-map { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); transition: filter .2s, transform .2s; min-height: 34px; }
.stop-map:hover { text-decoration: none; filter: brightness(.95); }
.stop-map:active { transform: scale(.96); }
.stop.hit { background: linear-gradient(90deg, rgba(245, 180, 0, .18), transparent 70%); border-radius: 10px; }
@media (max-width: 560px) {
  .stop { grid-template-columns: 26px 1fr auto; }
  .stop .after { grid-column: 2; grid-row: 2; font-size: .8438rem; }
  .stop-map { grid-column: 3; grid-row: 1 / span 2; }
  .stop-map span { display: none; }
  .stop-map { width: 40px; height: 40px; padding: 0; justify-content: center; }
}

.bus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.bus-card { background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); padding: 22px 22px 8px; }
.bus-card h2 { font-size: 1.375rem; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.bus-card h2 .ico { color: var(--brand); width: 22px; height: 22px; }
.bus-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.bus-card li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.bus-time { font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bus-route b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.bus-route small { color: var(--ink-3); font-size: .8438rem; }

@media (max-width: 560px) {
  .tools .segment { width: 100%; }
  .segment button { flex: 1; padding: 10px 8px; white-space: nowrap; }
  .finder { max-width: none; width: 100%; }
}

/* ───────── Refinement: calmer, more space, fewer colours ───────── */
.nav-in { height: 48px; }
.display { font-weight: 700; letter-spacing: -0.05em; }
.soft { color: var(--ink-3); }
.hero { padding: clamp(64px, 11vw, 120px) 0 0; }
.hero::before { display: none; }
.hero .lede { margin-top: 22px; }
.cta-row { align-items: center; gap: 18px 30px; margin-top: 34px; }
.cta-row .link-more { font-size: 1.1875rem; font-weight: 400; }
.cta-row .link-more:hover { text-decoration: underline; }
.hero-bus { position: relative; width: min(820px, 94vw); margin: clamp(36px, 7vw, 72px) auto 0; }
.hero-bus img { width: 100%; height: auto; position: relative; z-index: 1; }
.hero-bus::after {
  content: ""; position: absolute; left: 12%; right: 8%; bottom: 7%; height: 9%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .3), transparent); filter: blur(8px);
}
@media (prefers-color-scheme: dark) { .hero-bus::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent); } }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section.tight { padding-top: 0; }
.title { font-weight: 700; }
.facts { list-style: none; margin: 34px 0 0; padding: 0; max-width: 440px; }
.facts li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; letter-spacing: -0.01em; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .facts { margin-inline: auto; text-align: left; } }

.bento { margin-top: 64px; gap: 16px; }
.tile { background: var(--bg-alt); box-shadow: none; border-radius: 30px; padding: 44px 40px 0; }
.tile h3 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.1; }
.tile p { margin-top: 12px; font-size: 1.0625rem; max-width: 32ch; }
.tile-dark { background: #1d1d1f; color: #f5f5f7; }
.tile-dark p { color: #a1a1a6; }
@media (prefers-color-scheme: dark) { .tile-dark { background: #2c2c2e; } }

.statement { background: #0b0b0c; color: #f5f5f7; text-align: center; }
.statement .title { color: #f5f5f7; }
.statement .lede { color: #a1a1a6; max-width: 520px; margin-inline: auto; }
@media (prefers-color-scheme: dark) { .statement { background: #1c1c1e; } }

.team { margin-top: 56px; gap: 0 32px; }
.person { background: none; border-radius: 0; text-align: left; padding: 22px 0 8px; border-top: 1px solid var(--line); }
.person .role { margin: 0 0 8px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.person h3 { font-size: 1.375rem; letter-spacing: -0.03em; }
.person .about { margin-top: 10px; }

.download .brand-mark-lg { box-shadow: 0 0 0 1px var(--line); }

/* The app's own bus icon */
.bus-ico { height: 12px; width: auto; display: inline-block; vertical-align: -1px; }
.busno { gap: 6px; }
.bus-card h2 .bus-ico { height: 22px; }

/* Tiles stack in one column sooner, so the notification and the phones always have room */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: auto; }
  .tile { min-height: 0; padding: 36px 28px 0; }
  .tile-a .art .device:nth-child(2) { display: none; }
  .tile .art .device { width: min(250px, 70%); }
  .notif { margin-bottom: 36px; }
}
