:root{color-scheme:dark;--ink:#111112;--paper:#f3f1eb;--yellow:#ffc530;--orange:#ff5924;--blue:#315aff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#fafafa;background:var(--ink)}
*{box-sizing:border-box}body,figure,h1,h2,p{margin:0}a{color:inherit;text-decoration:none}button,summary{font:inherit;cursor:pointer}button{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8d9dff;outline-offset:4px}
.wrap{width:min(1180px,88%);margin-inline:auto}.bar{display:flex;align-items:center;justify-content:space-between;min-height:77px}.logo{display:block;width:145px;height:auto}.bar nav{display:flex;gap:22px}.bar nav a,.bar nav button{font-size:.95rem;font-weight:650}.bar button{background:none;border:0}.skip{position:absolute;left:1rem;top:-5rem;z-index:4}.skip:focus{top:1rem;background:black;padding:10px}
header{border-bottom:1px solid #ffffff24}.hero{overflow:hidden;background:radial-gradient(ellipse at 73% 58%,#212026,transparent 56%),var(--ink)}
.spread{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:clamp(540px,70vh,740px);gap:4%}.hero-copy{z-index:1;padding:42px 0}
h1,h2{letter-spacing:-.067em;line-height:.94;font-weight:750;text-wrap:balance}h1{font-size:clamp(3.3rem,5.7vw,5.65rem)}h1 em{color:var(--yellow);font-style:italic}h2{font-size:clamp(2.8rem,5.4vw,5rem)}
p{font-size:1.12rem;line-height:1.53;max-width:38ch}.hero p{margin:24px 0 28px;color:#dddcda}.cta{display:inline-flex;gap:10px;align-items:center;padding:14px 21px;background:var(--yellow);color:#101011;border-radius:9px;font-weight:750}.cta:hover{background:#ffd455}
.stage{position:relative;display:grid;place-items:center;padding:56px 0;isolation:isolate}.hero{position:relative;isolation:isolate}
.stage{position:static;isolation:auto}
.tracks{position:absolute;inset:0;z-index:-1;pointer-events:none}
.tracks i{position:absolute;left:40%;bottom:-4px;width:90%;height:8px;background:var(--blue);transform-origin:left center;transform:rotate(-25deg);opacity:.66}
.tracks i:nth-child(2){bottom:-27px;background:var(--orange)}
.tracks i:nth-child(3){bottom:-50px;background:var(--yellow)}
.device{width:min(285px,70%);position:relative;border:5px solid #454449;background:#000;padding:9px;border-radius:24% / 21%;box-shadow:inset 0 0 0 2px #19191a,0 18px 45px #0008;transform:rotate(5deg)}.device:after{content:"";position:absolute;right:-11px;top:24%;width:8px;height:15%;border-radius:0 5px 5px 0;background:#525154}.device img,.preview img,.features img{width:100%;height:auto;display:block;border-radius:22% / 19%}
.tour,.faq{background:var(--paper);color:var(--ink)}.tour-grid,.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center;padding-block:clamp(56px,8vw,112px)}.tour p,.features p{margin:20px 0 22px}.choices{border-top:1px solid #bbb8b1}.choices button{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:0;border-bottom:1px solid #bbb8b1;padding:14px 8px;text-align:left;font-weight:600}.choices button::after{content:"›";font-size:1.4rem}.choices button[aria-pressed=true]{box-shadow:inset 4px 0 #e04517;background:#e5e1d7;padding-left:15px}
.preview{display:grid;justify-items:center}.preview img{max-width:265px;background:black}.preview figcaption,.features figcaption{margin-top:16px;font-size:.9rem;text-align:center}.features{padding-block:clamp(60px,8vw,115px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:36px 5%}.features>div{grid-column:1/-1}.features>div p{max-width:55ch;margin-bottom:0}.features p,.features figcaption{color:#c4c3c7}.features img{max-width:230px;margin:auto}
.faq-grid{align-items:start;grid-template-columns:minmax(0,1fr);gap:32px}details{border-top:1px solid #bcb8af;padding:16px 0}details:last-child{border-bottom:1px solid #bcb8af}summary{font-weight:700;font-size:1.1rem}details p{max-width:57ch;margin-top:12px;font-size:1rem}footer.bar{min-height:100px}
dialog{border:1px solid #555;border-radius:16px;background:#1e1e20;color:#fff;padding:28px;width:min(420px,88%)}dialog h2{font-size:2rem}dialog p{margin:16px 0}dialog button{background:var(--yellow);color:var(--ink);border:0;padding:9px 18px;border-radius:7px}dialog::backdrop{background:#000a}
@media(max-width:680px){.bar{min-height:64px}.logo{width:120px}.spread{grid-template-columns:1fr;gap:0}.hero-copy{padding:40px 0 0;text-align:center}
.hero h1{font-size:clamp(2.85rem,10vw,4.3rem)}.hero-copy p{margin:16px auto 20px;text-align:center}.stage{padding:34px 0 44px}.device{width:180px}.tracks i{left:-5%;width:125%;height:5px}.tracks i:nth-child(2){bottom:-16px}.tracks i:nth-child(3){bottom:-28px}.tour-grid,.faq-grid{grid-template-columns:1fr;gap:34px}.preview img{max-width:226px}.features{grid-template-columns:1fr;gap:32px}.features>div{grid-column:1/-1}.features p{margin-bottom:0}.features figcaption{font-size:.82rem}.hero p,.tour p,.features p{font-size:1.04rem}}

.orb-face{position:relative}
.route-watch,.station-watch{transform:none;border-color:#77777c;box-shadow:inset 0 0 0 2px #29292c,0 12px 26px #0003}
.route-watch{width:min(285px,84%);color:#fff}
.watch-glass{position:relative;aspect-ratio:416/496;overflow:hidden;border-radius:20% / 17%;background:#000;display:flex;flex-direction:column}
.watch-bar{padding:6% 10% 2%;display:flex;align-items:center;justify-content:space-between;color:#eee;font-size:.94rem;font-weight:700}
.watch-back{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;color:white;background:#24252a}
.watch-back::before{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 0 3px 3px;transform:translateX(2px) rotate(45deg)}
.watch-scroll{position:relative;min-height:0;flex:1;overflow-y:auto;overscroll-behavior-y:contain;padding:8px 9% 19px;scrollbar-width:thin;scrollbar-color:#555 transparent}
.turn p{font-size:1.12rem;font-weight:600;margin:0 0 17px;line-height:1.28}
.turn .bubble{font-size:1rem;font-weight:500;margin-left:12%;padding:10px 12px;border-radius:16px 16px 4px 16px;color:#dddfe6;background:#202126}
.train-number{background:#fbc327;color:#111;border-radius:50%;display:inline-grid;place-items:center;width:1.65em;height:1.65em}
.stop{position:relative;margin-left:7px;padding:3px 0 18px 17px;border-left:4px solid #fbc327;line-height:1.24}
.stop::before{content:"";position:absolute;top:6px;left:-8px;width:12px;height:12px;border-radius:50%;background:white}.stop strong,.stop small{display:block}.stop small{margin-top:6px;color:#bcbfc7}.last-stop .stop{border-color:transparent;padding-bottom:0}
.features .station-watch{width:92%;max-width:240px;justify-self:center;padding:6px;background:#030303}.features .station-watch img{width:100%;max-width:none}
.faq-grid details{padding:0}.faq-grid summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;padding:20px 2px}.faq-grid summary::-webkit-details-marker{display:none}.faq-grid summary::after{
  content:"";
  flex:none;
  width:16px;
  height:16px;
  margin-right:4px;
  color:#2b59f5;
  background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,
             linear-gradient(currentColor,currentColor) center/2px 100% no-repeat;
}.faq-grid details[open] summary::after{background-size:100% 2px,0 0}.faq-grid details p{max-width:none;margin:0 0 20px;color:#44433e}

.station{position:relative;isolation:isolate;overflow:hidden}

@media (prefers-reduced-motion: no-preference) {
  .hero-render .hero-display {
    animation: hero-aura 6s ease-in-out infinite;
  }
}
@keyframes hero-aura {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.22) saturate(1.12); }
}

.train-number.canarsie{background:#727b82;color:white}
.stop.canarsie{border-left-color:#868e94}
.stop.leg-end{border-left-color:transparent}
.arrival{color:#ff7133}

.route-mic{
  position:absolute;right:6%;bottom:5%;width:40px;height:40px;
  display:grid;place-items:center;border:2px solid transparent;border-radius:50%;
  background:linear-gradient(#101013,#101013) padding-box,conic-gradient(#8054d9,#415fe1,#cf4570,#e6a83d,#8054d9) border-box;
  box-shadow:0 0 7px #a86bba90;pointer-events:none;
}
.last-stop{padding-right:44px}

.hero-render{display:block;width:min(285px,88%);height:auto}
@media(max-width:680px){
  .hero-render{width:min(280px,88%)}
  .stage{padding-block:24px 32px}
}

.repo{text-align:center;padding-block:clamp(60px,8vw,108px);border-bottom:1px solid #ffffff25}
.repo h2 em{color:var(--yellow)}
.repo p{max-width:48ch;margin:20px auto 24px;color:#c4c3c7}
.github-button:disabled{display:inline-flex;align-items:center;gap:.65rem;padding:.75rem 1.15rem;border:1px solid #505053;border-radius:999px;background:#202022;color:#d6d5d2;font:inherit;cursor:default}
.github-mark{width:20px;height:20px}

.api-credit{color:var(--orange);font-style:italic}

@media (prefers-reduced-motion: no-preference) {
  .tracks i::after {
    content:"";
    position:absolute;
    top:50%;
    width:29px;
    height:10px;
    transform:translateY(-50%);
    border:1px solid #20242b;
    border-radius:4px;
    background:
      repeating-linear-gradient(90deg,#273447 0 3px,transparent 3px 5px) center / 19px 4px no-repeat,
      linear-gradient(#e8ebed,#aeb8c3);
    animation:subway-run 5s linear infinite;
  }
  .tracks i:nth-child(2)::after {animation-direction:reverse;animation-delay:-2s;animation-duration:5.7s}
  .tracks i:nth-child(3)::after {animation-delay:-3.5s;animation-duration:6.2s}
}
@keyframes subway-run {
  0%,12% {left:-65px}
  88%,100% {left:110%}
}

.trip .train-number{background:#cf2435;color:white}
.trip .stop{border-color:#cf2435}
.trip .train-number.flushing{background:#9436a8}
.trip .stop.flushing{border-color:#9436a8}
.trip .leg-end{border-color:transparent}

.route-bubble{position:absolute;z-index:2;right:14px;top:-3px;transform:translate(50%,-50%) rotate(5deg);display:grid;place-items:center;width:54px;height:48px;background:var(--yellow);border:2px solid var(--ink);border-radius:17px 17px 17px 4px;color:var(--ink);box-shadow:2px 3px 0 var(--ink)}
.route-bubble:hover,.route-bubble:focus-visible{transform:translate(50%,-53%) rotate(0)}
.bubble-train{width:23px;height:25px;background:center / contain no-repeat url("assets/cta-subway.svg")}
.bubble-i{position:absolute;top:-7px;right:-5px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--ink);color:var(--yellow);font:bold 13px Georgia,serif}
#route-info{width:min(430px,90vw);max-height:85vh;padding:30px;border:1px solid #c5beb1;border-top:6px solid var(--yellow);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 18px 70px #0005;color-scheme:light}
#route-info::backdrop{background:#111116a8;backdrop-filter:blur(3px)}
#route-info h2{font-size:clamp(2rem,5vw,2.7rem);line-height:1.04;text-wrap:balance}
#route-info p{font-size:1.04rem;line-height:1.55;margin:16px 0 0}
#route-info .note-close{position:absolute;right:12px;top:12px;width:40px;height:40px;padding:0;border-radius:50%;background:#e8e4da;color:var(--ink);font-size:1.55rem}
.note-line{display:flex;align-items:center;gap:5px;margin:0 34px 23px 0}
.note-line b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#c8263d;color:white}.note-line .seven{background:#9436a8}

@font-face{
  font-family:"Bricolage Grotesque";
  src:url("assets/bricolage-extrabold.ttf") format("truetype");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}
.brand-name{font-family:"Bricolage Grotesque",sans-serif;padding-right:.47em;font-weight:800;letter-spacing:-.045em;color:inherit;white-space:nowrap}
.brand-city{position:relative}
.brand-city::before{
  content:"";
  position:absolute;
  left:calc(100% + .025em);
  bottom:.76em;
  width:.44em;
  height:.44em;
  background:url("assets/brand-sparkle.svg") center/contain no-repeat;
}
.trip .train-number.lexington,.note-line .lexington{background:#00833e}
.trip .stop.lexington{border-color:#00833e}

header .bar nav{align-items:center;gap:12px}
.github-nav{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;color:inherit;cursor:pointer}
.github-nav svg{fill:currentColor}

.train-lights{opacity:0}
@media (prefers-reduced-motion:no-preference){
  .cta:is(:hover,:focus-visible) .cta-train{animation:cta-roll .8s ease-in-out}
  .cta:is(:hover,:focus-visible) .train-lights{animation:cta-lights 1s ease-in-out forwards}
  @keyframes cta-roll{
    25%{transform:translateX(-1px)}
    65%{transform:translateX(3px) rotate(3deg)}
  }
  @keyframes cta-lights{
    0%,50%{opacity:0}
    25%,75%,100%{opacity:1}
  }
}
@media (prefers-reduced-motion:reduce){
  .cta:is(:hover,:focus-visible) .train-lights{opacity:1}
}

.app-comparison{width:100%;border-collapse:collapse;table-layout:fixed;margin-bottom:24px;font-size:1rem;line-height:1.45;text-align:left}
.app-comparison :is(th,td){padding:12px 8px;border-bottom:1px solid #ccc8bf;vertical-align:top}
.app-comparison thead{background:#292927;color:#fff}
.app-comparison :is(td,thead th){text-align:center}
.app-comparison thead th:first-child{width:36%;text-align:left}
.app-comparison{background:#faf9f6;margin:24px 0 20px}
.app-comparison tbody tr:last-child > *{border-bottom:0}
.feature-label{display:flex;align-items:baseline;gap:.55em}
.feature-number{font-size:.72em;font-weight:600;font-variant-numeric:tabular-nums;color:#605e56}
.comparison-check{display:inline-grid;place-items:center;width:1.4em;height:1.4em;border-radius:4px;background:#dce9dc;color:#225433;font-weight:750}
@media(max-width:420px){
  .app-comparison thead th:first-child{width:31%}
  .app-comparison thead th{font-size:.75rem;overflow-wrap:anywhere}
}
@media(max-width:680px){
  .app-comparison{font-size:.88rem}
  .app-comparison :is(th,td){padding:10px 5px}
}

.faq-grid details .comparison-intro{
  display:grid;grid-template-columns:clamp(58px,10vw,100px) minmax(0,1fr);align-items:center;gap:clamp(8px,1.5vw,18px);
  background:var(--yellow);
  border-left:4px solid var(--yellow);
  border-radius:0 8px 8px 0;
  padding:clamp(14px,2vw,22px);
  color:#292927;
}

.repo-entrance{position:relative;width:clamp(102px,12.5vw,136px);margin:0 auto 12px}
.repo-entrance img{display:block;width:100%;height:auto}
.repo-entrance::after{
  content:"";position:absolute;pointer-events:none;
  left:38%;top:9.4%;width:24%;height:19%;
  transform:translate(-50%,-50%);opacity:.7;
  background:radial-gradient(ellipse, #fff3a9 0%, #ffdd63bb 17%, #ffc53055 38%, transparent 72%);
}
@media(prefers-reduced-motion:no-preference){
  .repo-entrance::after{animation:entrance-lamp 3.2s ease-in-out infinite alternate}
  @keyframes entrance-lamp{from{opacity:.4}to{opacity:1}}
}

.dialog-train{display:block;width:clamp(76px,9.5vw,102px);height:auto;margin:0 auto 12px}
@media (prefers-reduced-motion:no-preference){
  dialog[open] .dialog-train{animation:train-arrival 900ms ease-out both}
  @keyframes train-arrival{
    from{transform:translateX(-12px)}
    72%{transform:translateX(2px) rotate(.8deg)}
    to{transform:none}
  }
}

@media(min-width:681px){
  .spread{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
  .hero h1{font-size:clamp(2.5rem,5.7vw,5.65rem);white-space:nowrap}
}

.comparison-intro img{display:block;width:100%;height:auto}
