
:root {
  --amber: #FFB800; --amber-deep: #E59E00; --amber-soft: #FFE7A8;
  --ink: #0B0C10; --ink-raised: #13151B; --ink-card: #1A1D25; --ink-line: #2A2E39;
  --text: #F2F3F5; --muted: #A4A9B6; --soft: #D5D8DF; --accent: #FFB800; --nav-bg: rgba(11,12,16,.78); --radius: 22px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--ink);
       color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
p a, li a, td a, .note a, .legend a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
footer .cols a, .crumbs a { text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); backdrop-filter: blur(14px);
       border-bottom: 1px solid var(--ink-line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand:hover { text-decoration: none; }
.brand, .nav .btn { white-space: nowrap; }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav .links a { color: var(--muted); } .nav .links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700;
       background: var(--amber); color: #14161D; border: 0; font-size: 1rem; }
.btn:hover { text-decoration: none; background: var(--amber-deep); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--ink-line); }
.btn.ghost:hover { background: var(--ink-card); }
.btn.small { padding: 9px 16px; font-size: .9rem; }
@media (max-width: 760px) { .nav .links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px;
                background: radial-gradient(circle, rgba(255,184,0,.22), transparent 62%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,184,0,.12); color: var(--accent);
           padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.03em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 33rem; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 270px; border-radius: 38px; padding: 9px; background: #050608;
         box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1.5px #2b2f3a; }
/* The screenshots' box is reserved before they load (lazy images otherwise start 0 px tall: CLS). */
.phone img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 540 / 1146; }
.phones .front { right: 40px; top: 0; z-index: 2; }
.phones .back { right: 250px; top: 70px; transform: rotate(-7deg); opacity: .9; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  /* One phone on narrow screens: the second one only overlapped it, and moved while loading (CLS). */
  .phones { height: 540px; } .phones .front { right: 50%; transform: translateX(50%); }
  .phones .back { display: none; }
}

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 10px; }
.stat { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 20px 22px; }
.stat b { display: block; font-size: 2rem; letter-spacing: -.02em; color: var(--accent); }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

section { padding: 64px 0; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40rem; margin: 0 0 34px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 24px; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,184,0,.13); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ic svg { width: 24px; height: 24px; fill: var(--amber); }
.feature h3 { margin: 0 0 6px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Showcase */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 30px 0; }
.show.flip .text { order: 2; }
.show .shot { justify-self: center; }
.show .shot .phone { position: static; width: 290px; }
.show ul { list-style: none; padding: 0; margin: 18px 0 0; }
.show li { padding-left: 30px; position: relative; margin: 10px 0; color: var(--muted); }
.show li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
                   background: var(--amber); box-shadow: inset 0 0 0 4px #3D2F00; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; gap: 26px; } .show.flip .text { order: 0; } }

/* Cities */
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.city { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 999px; padding: 8px 16px; font-weight: 600;
        display: inline-flex; align-items: center; gap: 8px; }
.city .dot, .legend .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; display: inline-block; }
.city.static .dot, .legend .dot.static { background: var(--muted); }
.legend { color: var(--muted); font-size: .92rem; margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* FAQ */
.faq details { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 18px; padding: 18px 22px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* Final call */
.band { background: linear-gradient(135deg, var(--amber), #FFCB3D); color: #14161D; border-radius: 30px; padding: 46px;
        display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #14161D; margin: 0; } .band p, main .band p { margin: 6px 0 0; color: #3D2F00; font-weight: 500; }
.band .btn { background: #14161D; color: #FFB800; } .band .btn:hover { background: #000; }

/* Ad slots: only written into the page once AdSense is turned on. */
.ad-slot { margin: 24px auto; max-width: 970px; min-height: 100px; padding: 0 22px; }

/* Footer */
footer { border-top: 1px solid var(--ink-line); margin-top: 40px; padding: 40px 0 50px; color: var(--muted); font-size: .94rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
footer .ft { color: var(--text); margin: 0 0 10px; font-size: .98rem; font-weight: 700; }
footer .cols a { color: var(--muted); display: block; margin: 6px 0; } footer .cols a:hover { color: var(--text); }
footer .brand { color: var(--text) !important; margin-bottom: 8px !important; }
footer .fine { margin-top: 26px; font-size: .85rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

/* Documents */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 22px 20px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2rem; } .doc h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.doc p, .doc li { color: var(--soft); }

/* City pages */
.crumbs { color: var(--muted); font-size: .9rem; margin: 0 0 14px; } .crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--text); }
.city-page { max-width: 900px; margin: 0 auto; padding: 44px 22px 10px; }
.city-page h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 6px 0 14px; }
.city-page h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.city-page h3 { font-size: 1.02rem; margin: 1.4rem 0 .6rem; color: var(--text); }
.city-page p, .city-page li { color: var(--soft); }
.city-page .lead { color: var(--muted); max-width: none; }
.city-page .stats { margin: 22px 0 6px; }
.city-page .stat b { font-size: 1.7rem; }
.lines { display: flex; flex-wrap: wrap; gap: 6px; }
.lc { min-width: 36px; padding: 3px 8px; border-radius: 7px; color: #fff; font-weight: 700; font-size: .86rem; text-align: center; }
.punct { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .95rem; }
.punct th, .punct td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ink-line); }
.punct th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.punct td.num { font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } @media (max-width: 700px) { .two { grid-template-columns: 1fr; } }
.note-small { color: var(--muted); font-size: .85rem; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 14px; color: var(--text); font-weight: 600; font-size: .92rem; }
.city-links a:hover { border-color: rgba(255,184,0,.5); text-decoration: none; }
a.city { color: var(--text); } a.city:hover { text-decoration: none; }
.city-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 18px; }
.city-card { display: block; background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 18px; padding: 16px 18px; color: var(--text); }
.city-card:hover { border-color: rgba(255,184,0,.5); text-decoration: none; }
.city-card b { display: block; font-size: 1.08rem; } .city-card span { color: var(--muted); font-size: .9rem; }

a.lc:hover { text-decoration: none; filter: brightness(1.15); }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 120px; margin: 14px 0 4px; }
.hours i { display: block; background: var(--amber); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; }
.hours i.zero { background: var(--ink-line); }
.tt-wrap { overflow-x: auto; margin: 10px 0 14px; }
.tt { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.tt caption { text-align: left; color: var(--muted); font-size: .86rem; padding-bottom: 6px; }
.tt th, .tt td { border-bottom: 1px solid var(--ink-line); padding: 6px 10px; text-align: left; vertical-align: top; }
.tt thead th { color: var(--muted); font-size: .78rem; font-weight: 600; }
.tt tbody th { width: 3.2em; font-weight: 700; border-right: 1px solid var(--ink-line); }
.tt td span { display: inline-block; min-width: 1.9em; color: var(--soft); }
.tt caption b { color: var(--text); }
.tt.loading tbody { opacity: .45; }
.stop-pick { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; border-radius: 4px; }
.stop-pick:hover { color: var(--text); text-decoration: underline; }
.stop-pick.on { color: var(--accent); font-weight: 700; }
.hour-labels { display: grid; grid-template-columns: repeat(24, 1fr); color: var(--muted); font-size: .72rem; text-align: center; }
.route { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: 28px; }
.route li { position: relative; padding: 4px 0 4px 22px; break-inside: avoid; color: var(--soft); }
.route li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--c, var(--amber)); background: var(--ink); }
.route li:first-child, .route li:last-child { font-weight: 700; color: var(--text); }
@media (max-width: 640px) { .route { columns: 1; } }
.line-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 44px; padding: 0 12px; border-radius: 12px;
              color: #fff; font-weight: 800; font-size: 1.5rem; margin-right: 14px; vertical-align: middle; }

.article { max-width: 760px; }
.article h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); line-height: 1.12; }
.article .punct { font-size: .92rem; min-width: 560px; } .article .punct td, .article .punct th { padding: 8px 9px; vertical-align: top; }
.article .meta { color: var(--muted); font-size: .92rem; margin: -4px 0 26px; }
.article p, .article li { font-size: 1.06rem; line-height: 1.75; }
.article h2 { margin-top: 2.2rem; } .article ul, .article ol { padding-left: 1.3rem; }
.article blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--amber); background: var(--ink-raised); border-radius: 0 12px 12px 0; color: var(--soft); }
.article .band h2 { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.blog-list .city-card span { display: block; margin-top: 6px; } .blog-list .when { font-size: .82rem; }

/* Motion: sections rise in as they scroll into view, numbers count up, the phones float. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero h1, .hero .lead, .hero .cta, .hero .eyebrow, .hero .note { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .05s; } .hero .lead { animation-delay: .12s; } .hero .cta { animation-delay: .2s; } .hero .note { animation-delay: .28s; }
/* The first screen is never hidden, even for a moment: it is what the page is measured by (LCP). */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.hero::before { animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate(0, 0) scale(1); opacity: .85; } to { transform: translate(-60px, 40px) scale(1.12); opacity: 1; } }
.phones .phone { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) both; }
.phones .back { animation-delay: .15s; }
@keyframes phone-in { from { translate: 0 40px; } to { translate: 0 0; } }
.phones .front img { animation: float 6s ease-in-out 1s infinite; }
.phones .back img { animation: float 7s ease-in-out 1.4s infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.eyebrow .live { position: relative; }
.eyebrow .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3DDC84; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.feature, .stat, .city, .faq details { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255,184,0,.45); }
.feature .ic { transition: transform .3s ease; }
.feature:hover .ic { transform: scale(1.08) rotate(-4deg); }
.stat:hover { transform: translateY(-3px); border-color: rgba(255,184,0,.35); }
.city:hover { transform: translateY(-2px); border-color: rgba(255,184,0,.5); }
.btn { position: relative; overflow: hidden; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:not(.ghost)::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; pointer-events: none; will-change: transform;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
.faq details[open] { border-color: rgba(255,184,0,.35); }
.faq details[open] p { animation: rise .35s ease both; }

/* The browser version: a little live map drawn in SVG, vehicles moving along their lines. */
.web { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.web .screen { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--ink-line); background: #0E1015;
               box-shadow: 0 30px 80px rgba(0,0,0,.5); aspect-ratio: 16 / 10; }
.web .screen .bar { position: absolute; top: 0; left: 0; right: 0; height: 34px; background: #15171E; border-bottom: 1px solid var(--ink-line);
                    display: flex; align-items: center; gap: 6px; padding: 0 12px; z-index: 1; }
.web .screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2E39; }
.web .screen .bar span { margin-left: 12px; font-size: .78rem; color: var(--muted); background: #0E1015; padding: 3px 12px; border-radius: 999px; }
.web .screen svg { position: absolute; left: 0; top: 34px; width: 100%; height: calc(100% - 34px); }
.web .screen .board { position: absolute; left: 14px; top: 48px; width: 44%; background: rgba(19,21,27,.94); border: 1px solid var(--ink-line);
                      border-radius: 16px; padding: 12px; font-size: .8rem; }
.web .screen .board b { display: block; font-size: .95rem; margin-bottom: 6px; }
.web .row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--ink-line); color: var(--muted); white-space: nowrap; overflow: hidden; }
.web .row:first-of-type { border-top: 0; }
.web .row .l { min-width: 28px; text-align: center; border-radius: 6px; color: #fff; font-weight: 800; padding: 1px 5px; }
.web .row .t { margin-left: auto; color: #4BD69A; font-weight: 800; }
.web .row .t.soon { color: var(--accent); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.web ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.web li { padding-left: 30px; position: relative; margin: 10px 0; color: var(--muted); }
.web li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
                  background: var(--amber); box-shadow: inset 0 0 0 4px #3D2F00; }
@media (max-width: 900px) { .web { grid-template-columns: 1fr; gap: 28px; } .web .screen .board { width: 58%; } }

/* Error pages: a bus that has just left. */
.oops { min-height: calc(100vh - 64px - 170px); display: grid; place-items: center; text-align: center; padding: 60px 22px; }
.oops .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 0;
              background: linear-gradient(135deg, var(--amber), #FFCB3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oops h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 10px 0 10px; }
.oops p { color: var(--muted); max-width: 30rem; margin: 0 auto 26px; }
.oops .cta { justify-content: center; }
.road { position: relative; width: min(420px, 86vw); height: 64px; margin: 0 auto 26px; overflow: hidden; }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px;
               background: repeating-linear-gradient(90deg, var(--ink-line) 0 18px, transparent 18px 32px); animation: road 1s linear infinite; }
@keyframes road { to { background-position: -32px 0; } }
.road svg { position: absolute; bottom: 9px; left: 0; width: 86px; height: 46px; animation: drive 3.2s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes drive { 0% { transform: translateX(-100px); } 45%, 55% { transform: translateX(calc(min(420px, 86vw) / 2 - 43px)); } 100% { transform: translateX(calc(min(420px, 86vw) + 10px)); } }
.road .stop { position: absolute; bottom: 9px; left: 50%; width: 3px; height: 44px; background: var(--muted); }
.road .stop::before { content: ""; position: absolute; top: -4px; left: -9px; width: 21px; height: 21px; border-radius: 50%; background: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Language picker: a flag and the code; the list opens below (works without JavaScript). */
.lang { position: relative; margin-left: 4px; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px;
                border: 1px solid var(--ink-line); color: var(--text); font-weight: 700; font-size: .85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: rgba(255,184,0,.5); }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--ink-raised); border: 1px solid var(--ink-line);
             border-radius: 16px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 20; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
.lang-menu a:hover { background: var(--ink-card); text-decoration: none; }
.lang-menu a[aria-current] { color: var(--accent); }
.nav .links { margin-left: auto; }
.nav .lang + .btn { margin-left: 4px; }
@media (max-width: 760px) { .nav .lang { margin-left: auto; } .nav .btn { margin-left: 0; } .nav .wrap { gap: 10px; } }
/* Phones: logo, language and the planner button only; the button shortens to fit. */
@media (max-width: 480px) { .nav .btn.small { padding: 8px 12px; font-size: .82rem; } .nav .brand { font-size: 1rem; gap: 8px; }
  .nav .brand img { width: 30px; height: 30px; } .lang summary span { display: none; } .lang summary { padding: 7px 8px; } }
@media (max-width: 360px) { .nav .brand { font-size: 0; gap: 0; } }
footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } }

/* A search box that filters the cards or line numbers below it as you type. */
.finder { position: relative; margin: 18px 0 6px; max-width: 560px; }
.finder input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--ink-line); background: var(--ink-raised);
                color: var(--text); font: inherit; font-size: 1rem; outline: none; }
.finder input:focus { border-color: rgba(255,184,0,.6); box-shadow: 0 0 0 4px rgba(255,184,0,.12); }
.finder svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--muted); pointer-events: none; }
.finder-empty { color: var(--muted); margin: 14px 0; }
[hidden] { display: none !important; }

/* Light theme: the same page on paper-white; amber stays for buttons, darker amber for text and links. */
:root[data-theme="light"] { --ink: #F6F6F3; --ink-raised: #FFFFFF; --ink-card: #EFF0F2; --ink-line: #DFE2E8;
  --text: #15171E; --muted: #555B69; --soft: #2C303A; --accent: #8A5C00; --nav-bg: rgba(246,246,243,.86); color-scheme: light; }
:root[data-theme="light"] .feature, :root[data-theme="light"] .stat, :root[data-theme="light"] .city, :root[data-theme="light"] .faq details,
:root[data-theme="light"] .city-card { box-shadow: 0 1px 2px rgba(20,22,30,.05); }
:root[data-theme="light"] .hero::before { background: radial-gradient(circle, rgba(255,184,0,.28), transparent 62%); }
:root[data-theme="light"] .phone { box-shadow: 0 30px 70px rgba(20,22,30,.22), inset 0 0 0 1.5px #2b2f3a; }
:root[data-theme="light"] .eyebrow { background: rgba(255,184,0,.22); }
:root[data-theme="light"] .tag, :root[data-theme="light"] .feature .ic { background: rgba(255,184,0,.2); }
:root[data-theme="light"] .feature .ic svg { fill: #8A5C00; }
:root[data-theme="light"] .btn.ghost { color: var(--text); }
:root[data-theme="light"] .lang-menu, :root[data-theme="light"] .menu-panel { box-shadow: 0 20px 50px rgba(20,22,30,.18); }

/* Theme switch and the phone menu: round buttons of a finger's size. */
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--ink-line); background: transparent; color: var(--text);
            display: inline-grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.icon-btn:hover { border-color: rgba(255,184,0,.5); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.theme-btn .sun { display: none; } :root[data-theme="light"] .theme-btn .sun { display: block; } :root[data-theme="light"] .theme-btn .moon { display: none; }
.burger { display: none; position: relative; }
.burger summary { list-style: none; } .burger summary::-webkit-details-marker { display: none; }
.burger .x { display: none; } .burger[open] .x { display: block; } .burger[open] .bars { display: none; }
.menu-panel { position: fixed; left: 12px; right: 12px; top: 72px; background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 20px;
              padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 30; max-height: calc(100vh - 90px); overflow-y: auto; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 1.05rem; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--ink-card); text-decoration: none; }
.menu-panel .menu-cta { background: var(--amber); color: #14161D; justify-content: center; margin-top: 8px; }
.menu-panel .menu-cta:hover { background: var(--amber-deep); }
.menu-panel hr { border: 0; border-top: 1px solid var(--ink-line); margin: 8px 6px; }
.menu-panel .menu-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-panel .menu-langs a { font-size: .95rem; min-height: 44px; gap: 10px; }
.menu-panel .menu-langs a[aria-current] { color: var(--accent); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--amber); color: #14161D; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
@media (max-width: 760px) {
  .burger { display: block; }
  .nav .lang, .nav > .wrap > .btn { display: none; }
  .nav .theme-btn { margin-left: auto; }
  .nav .wrap { height: 60px; }
  /* Fingers, not cursors: bigger targets in the page itself too. */
  footer .cols a { padding: 6px 0; margin: 2px 0; }
  .city-links a { padding: 9px 15px; }
  .lc { min-width: 42px; padding: 7px 9px; font-size: .92rem; }
  .crumbs a { display: inline-block; padding: 6px 0; }
  .faq summary { padding: 4px 0; }
  .chip { padding: 9px 15px; }
}

.cta.more { gap: 10px; }
.legend > span:has(.btn) { margin-left: auto; }
a.btn, a.btn:hover { text-decoration: none !important; }
/* Calmer page: things stand still unless they mean something (the live dot on the map does, a floating
   screenshot does not). Cards are separated by rules, not lifted on hover; the call to action is a plain panel. */
.hero::before { display: none; }
.phones .phone, .phones .phone img, .web .row .t.soon { animation: none !important; }
.btn:not(.ghost)::after { display: none; }
.btn:hover { transform: none; }
.feature:hover, .stat:hover, .city:hover { transform: none; }
.feature:hover .ic { transform: none; }
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.kicker { color: var(--muted); font-weight: 600; font-size: .95rem; margin: 0 0 4px; letter-spacing: .01em; }
.hero h1 { margin-top: 10px; }
.features { gap: 0 40px; }
.feature { background: none; border: 0; border-top: 1px solid var(--ink-line); border-radius: 0; padding: 22px 0 26px; box-shadow: none !important; }
.feature .ic { width: auto; height: auto; background: none !important; border-radius: 0; display: block; margin-bottom: 10px; }
.feature .ic svg { width: 26px; height: 26px; }
.stats { gap: 0; }
.stat { background: none; border: 0; border-left: 1px solid var(--ink-line); border-radius: 0; padding: 6px 22px; box-shadow: none !important; }
.stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat { padding-top: 14px; padding-bottom: 14px; } }
.band { background: var(--ink-raised); border: 1px solid var(--ink-line); color: var(--text); border-radius: 24px; }
.band h2 { color: var(--text); }
.band p, main .band p { color: var(--muted); font-weight: 400; }
.band .btn { background: var(--amber); color: #14161D; } .band .btn:hover { background: var(--amber-deep); }
.phones .front { right: 30px; }
.city.static { color: var(--soft); }
.ctag { font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--ink-line); border-radius: 6px;
        padding: 1px 6px; margin-left: 2px; text-transform: lowercase; }
.legend .ctag { margin: 0 6px 0 0; }
#funkcje .features { grid-template-columns: 1fr 1fr; gap: 0 48px; }
#funkcje .feature { padding: 18px 0 20px; }
#funkcje .feature h3 { font-size: 1.05rem; }
@media (max-width: 700px) { #funkcje .features { grid-template-columns: 1fr; } }
.cta .soon { color: var(--muted); font-size: .95rem; align-self: center; }
.oops .code { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--amber); }

/* Phones: the screenshot sits centred in the flow (not pinned to the right, where it was cut off),
   smaller, and the page is tighter: less air between sections, full-width buttons, compact city chips. */
@media (max-width: 900px) {
  .phones { height: auto; display: flex; justify-content: center; }
  .phones .phone.front { position: relative; right: auto; top: auto; transform: none; width: min(250px, 66vw); }
}
@media (max-width: 640px) {
  section { padding: 40px 0; }
  .hero { padding: 28px 0 8px; }
  .hero .wrap { gap: 24px; }
  h1 { margin: 6px 0 14px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 22px; }
  .hero .cta .btn { width: 100%; justify-content: center; }
  .cta .soon { width: 100%; text-align: center; font-size: .9rem; }
  .section-lead { font-size: 1rem; }
  #funkcje .feature { padding: 14px 0 16px; }
  #funkcje .feature p { font-size: .95rem; }
  .show { gap: 18px; padding: 10px 0 24px; }
  .show .shot .phone { width: min(230px, 62vw); }
  .cities { gap: 7px; }
  .city { padding: 6px 12px; font-size: .9rem; }
  .legend { gap: 10px; font-size: .88rem; }
  .legend > span:has(.btn) { margin-left: 0; }
  .city-index { grid-template-columns: 1fr; gap: 10px; }
  .band { padding: 28px 22px; border-radius: 20px; }
  .band .btn { width: 100%; justify-content: center; }
}

/* Guides: a plain list in a few sections; an article is text, with a quiet list of its sections on top. */
.guides { max-width: 760px; }
.guide-group { margin-top: 34px; } .guide-group:first-child { margin-top: 20px; }
.guide-group h2 { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
.guide-list a { display: block; font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: var(--text); text-decoration: none !important; }
.guide-list a:hover { color: var(--accent); }
.guide-list span { display: block; color: var(--muted); font-size: .95rem; margin-top: 3px; }
.article .lead { font-size: 1.12rem; margin: 0 0 22px; }
.toc { border-left: 2px solid var(--ink-line); padding: 2px 0 2px 16px; margin: 0 0 26px; }
.toc ol { margin: 0; padding-left: 1.2rem; } .toc li { font-size: .98rem !important; line-height: 1.6 !important; margin: 2px 0; }
.toc a { text-decoration: none !important; } .toc a:hover { text-decoration: underline !important; }
.article h2 { scroll-margin-top: 80px; }
