/* Localy redesign (docs/design/Landing.dc.html). Light by default, dark via prefers-color-scheme. */
:root {
  --bg: #ffffff; --alt: #f5f5f7; --card: #f2f2f7; --fg: #0b0b0c; --muted: #6e6e73; --dim: #c7c7cc; --line: #e5e5ea;
  --btn: #0b0b0c; --btn-fg: #ffffff;
  --vibe: #8a2be2; --safe: #0060df; --info: #b25000; --warn: #d70015; --live: #1a7f37;
  --tram: #ffd800; --bus: #009fe3; --trolley: #e41f18;
  color-scheme: light dark;
}
.hero {
  --bg: #000000; --alt: #0e0e10; --card: #1c1c1e; --fg: #f5f5f7; --muted: #98989d; --dim: #3a3a3c; --line: #2c2c2e;
  --btn: #ffffff; --btn-fg: #000000;
  --vibe: #bf5af2; --safe: #0a84ff; --info: #ff9f0a; --warn: #ff453a; --live: #30d158;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --alt: #0e0e10; --card: #1c1c1e; --fg: #f5f5f7; --muted: #98989d; --dim: #3a3a3c; --line: #2c2c2e;
    --btn: #ffffff; --btn-fg: #000000;
    --vibe: #bf5af2; --safe: #0a84ff; --info: #ff9f0a; --warn: #ff453a; --live: #30d158;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--safe); }
a:hover { opacity: 0.8; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.lead { margin: 0; font-size: 21px; line-height: 31px; color: var(--muted); }
.h2 { margin: 0; font-size: 64px; line-height: 66px; font-weight: 750; letter-spacing: -2.4px; }
.btn { height: 56px; padding: 0 30px; border-radius: 28px; background: var(--btn); color: var(--btn-fg); font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--c); }
.label small { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Header: always dark, floats over the hero */
header { position: sticky; top: 0; z-index: 5; background: rgb(10 10 12 / 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; }
header nav { height: 56px; display: flex; align-items: center; gap: 28px; }
.brand { font-size: 21px; font-weight: 800; letter-spacing: -0.8px; color: #f5f5f7; text-decoration: none; }
.links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.links a { color: #d1d1d6; text-decoration: none; }
.open { margin-left: auto; height: 36px; padding: 0 18px; border-radius: 18px; background: #f5f5f7; color: #0a0a0c; font-size: 14px; font-weight: 600; display: flex; align-items: center; text-decoration: none; flex: none; }
.links + .open { margin-left: 0; }

/* Hero */
.hero { position: relative; height: 880px; margin-top: -56px; background: #0a0a0c; color: #f5f5f7; overflow: hidden; }
.hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2.5px solid #0a0a0c; background: var(--c); color: var(--c); animation: life 10s ease-in-out infinite both; }
.pin::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid currentColor; animation: ping 2s ease-out infinite; }
@keyframes life { 0% { opacity: 0; transform: scale(0); } 6% { opacity: 1; transform: scale(1.25); } 10% { transform: scale(1); } 72% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(0.4); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
.me { position: absolute; left: 58%; top: 52%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #0a84ff; border: 3px solid #fff; box-shadow: 0 0 0 14px rgb(10 132 255 / 0.18); }
.hcards { position: absolute; right: 6%; top: 150px; width: 330px; height: 140px; }
.hc { position: absolute; inset: 0 auto auto 0; width: 330px; padding: 16px 18px; border-radius: 20px; background: rgb(28 28 30 / 0.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgb(0 0 0 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.08); display: flex; flex-direction: column; gap: 6px; animation: card 12s ease-in-out infinite both; }
.hc b { font-size: 18px; line-height: 23px; font-weight: 650; letter-spacing: -0.3px; }
.hc span:last-child { font-size: 13px; color: #8e8e93; }
@keyframes card { 0% { opacity: 0; transform: translateY(14px); } 5% { opacity: 1; transform: none; } 29% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-10px); } }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 120px; display: flex; flex-direction: column; gap: 24px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #a1a1a6; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.blink { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.hero h1 { margin: 0; font-size: 148px; line-height: 132px; font-weight: 800; letter-spacing: -6px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero .lead { color: #a1a1a6; line-height: 30px; max-width: 470px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { height: 54px; padding: 0 28px; border-radius: 27px; background: #f5f5f7; color: #0a0a0c; }
.hero .btn.ghost { padding: 0 24px; background: rgb(255 255 255 / 0.1); color: #f5f5f7; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 1px solid #1c1c20; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq { display: flex; width: max-content; animation: marq 60s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq > span { display: inline-flex; align-items: center; gap: 10px; padding: 0 36px; white-space: nowrap; font-size: 15px; color: #d1d1d6; }
.marq .label { gap: 0; }
.marq em { font-style: normal; color: #6e6e73; }

/* Sections */
.sec { padding-block: 120px; }
.sec.alt { background: var(--alt); }
.statement { margin: 0; font-size: 76px; line-height: 84px; font-weight: 700; letter-spacing: -2.8px; max-width: 1120px; }
.statement .ink { color: var(--c); }
.flex { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.exp-list { flex: 1 1 420px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.exp { background: var(--bg); border-radius: 22px; padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 6px; animation: exp 9s ease-in-out infinite both; }
.exp b { font-size: 19px; line-height: 24px; font-weight: 650; letter-spacing: -0.3px; }
.exp .track { height: 3px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.exp .bar { display: block; height: 100%; background: var(--c); transform-origin: left; animation: bar 9s linear infinite both; animation-delay: inherit; }
@keyframes exp { 0% { opacity: 0; filter: blur(6px); transform: translateY(10px); } 8% { opacity: 1; filter: none; transform: none; } 78% { opacity: 1; filter: none; } 92%, 100% { opacity: 0; filter: blur(10px); transform: scale(0.97); } }
@keyframes bar { 0%, 8% { transform: scaleX(1); } 80%, 100% { transform: scaleX(0); } }

.route-map { flex: 1 1 520px; min-width: 0; border-radius: 32px; background: var(--card); overflow: hidden; }
.route-map svg { display: block; width: 100%; height: auto; }
.draw { stroke-dasharray: 1000; animation: draw 6s ease-in-out infinite both; }
@keyframes draw { 0% { stroke-dashoffset: 1000; } 55%, 100% { stroke-dashoffset: 0; } }
#walk-home .flex { flex-wrap: wrap-reverse; }
#walk-home .col { flex-basis: 400px; }

.transit-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.transit-head .lead { font-size: 19px; line-height: 28px; max-width: 400px; }
.line { position: relative; height: 8px; border-radius: 4px; background: var(--tram); margin-top: 72px; }
.tram { position: absolute; top: -13px; height: 30px; padding: 0 10px; border-radius: 15px; background: var(--tram); border: 3px solid var(--alt); color: #0b0b0c; font-size: 14px; font-weight: 800; display: flex; align-items: center; animation: tram 16s linear infinite both; }
.tram + .tram { animation-delay: -8s; }
@keyframes tram { 0% { left: -4%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.stops { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: -14px 0 0; padding: 0; list-style: none; }
.stops li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 14px; line-height: 18px; font-weight: 600; }
.stops li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--alt); border: 4px solid #0b0b0c; box-sizing: border-box; }
.deps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 72px; }
.dep { flex: 1 1 260px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--bg); font-size: 16px; }
.dep .num { min-width: 44px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--m); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dep .num.tram-l { color: #0b0b0c; }
.dep span:nth-child(2) { flex: 1; }
.dep strong { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--live); }
.dep strong::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: blink 1.6s ease-in-out infinite; }

.showcase { padding-block: 140px 100px; overflow: hidden; }
.showcase .wrap { display: flex; flex-direction: column; align-items: center; gap: 72px; }
.showcase .h2 { text-align: center; }
.phones { display: flex; align-items: center; justify-content: center; gap: 28px; }
.phone { margin: 0; width: 304px; height: 658px; border-radius: 38px; overflow: hidden; flex: none; box-shadow: 0 40px 90px rgb(0 0 0 / 0.28), 0 0 0 1px rgb(0 0 0 / 0.06); animation: float 7s ease-in-out infinite alternate; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.side { width: 234px; height: 506px; border-radius: 30px; rotate: -6deg; box-shadow: 0 30px 70px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.06); animation-delay: -2s; }
.phone.side:last-child { rotate: 6deg; animation-delay: -4.5s; }
@keyframes float { from { translate: 0 -10px; } to { translate: 0 10px; } }


#privacy .wrap { display: flex; flex-direction: column; gap: 40px; }
#privacy .kicker { color: var(--muted); }
.nots { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.nots div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.nots dt { font-size: 88px; line-height: 92px; font-weight: 750; letter-spacing: -3.4px; }
.nots dd { margin: 0; font-size: 18px; line-height: 26px; color: var(--muted); }
.strike { text-decoration: line-through 0.09em var(--warn); }
.legal-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }

.closing { padding-block: 160px 0; overflow: hidden; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.closing .h2 { font-size: 72px; line-height: 74px; font-weight: 800; letter-spacing: -2.8px; max-width: 820px; }
.closing p { margin: 0; font-size: 14px; color: var(--muted); }
.wordmark { margin-top: 96px; height: 19vw; overflow: hidden; display: flex; justify-content: center; }
.wordmark span { font-size: 31vw; line-height: 0.8; font-weight: 800; letter-spacing: -1.6vw; color: var(--card); }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 14px; color: var(--muted); }
footer .wrap > span:last-child { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }

/* Scroll-driven reveals where supported */
@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes rv { from { opacity: 0; transform: translateY(48px); } }
  .statement .ink { animation: ink linear both; animation-timeline: view(); animation-range: entry 70% cover 48%; }
  @keyframes ink { from { color: var(--dim); } to { color: var(--c); } }
  .strike { animation: strike linear both; animation-timeline: view(); animation-range: entry 90% cover 45%; }
  @keyframes strike { from { text-decoration-color: transparent; } }
}

.legal { padding-block: 48px 72px; max-width: 808px; }
.legal h1 { font-size: 40px; line-height: 1.1; letter-spacing: -1.2px; margin: 24px 0 16px; }
.legal h2 { font-size: 21px; letter-spacing: -0.3px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--fg); }
.legal .meta { color: var(--muted); font-size: 14px; }

@media (max-width: 1000px) {
  .phone.side { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .links { display: none; }
  .links + .open { margin-left: auto; }
  .hero { height: 760px; }
  .hcards { display: none; }
  .hero h1 { font-size: 64px; line-height: 60px; letter-spacing: -2.6px; }
  .h2, .closing .h2 { font-size: 38px; line-height: 42px; letter-spacing: -1.2px; }
  .statement { font-size: 36px; line-height: 42px; letter-spacing: -1.1px; }
  .nots dt { font-size: 52px; line-height: 58px; }
  .lead, .transit-head .lead { font-size: 18px; line-height: 26px; }
  .sec, .showcase { padding-block: 80px; }
  .closing { padding-block: 80px 0; }
  .stops li { font-size: 10px; line-height: 13px; overflow-wrap: anywhere; padding-inline: 1px; }
  .phone { width: 260px; height: 563px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; }
  .pin { opacity: 1; }
  .hc + .hc { display: none; }
  .draw { stroke-dasharray: none; }
}
