/* Ropeway landing. Alpine dusk: deep blue-black, layered ridges, and orange used only as light
   (the cable, the cabin lamp, the stations). One family, Archivo, set with restraint. */
@font-face { font-family: "Archivo"; src: url("/app/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --abyss: #07090C;     /* page */
  --night: #0C1016;     /* raised surfaces */
  --hair: rgba(214, 226, 255, .09);   /* hairlines */
  --hair-2: rgba(214, 226, 255, .16);
  --mist: #8D96A5;      /* secondary text */
  --snow: #EEF1F6;      /* primary text */
  --ember: #FF6A00;     /* brand orange, as light */
  --lamp: #FFB27A;      /* warm highlight */
  --w: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --edge: max(var(--gut), calc((100vw - var(--w)) / 2));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--abyss); color: var(--snow); font: 400 17px/1.65 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; font-feature-settings: "ss01"; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font: 500 .86em/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--lamp); background: rgba(255, 106, 0, .1);
  padding: .2em .42em; border-radius: 5px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 560; letter-spacing: -.035em; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 106, 0, .35); }

/* ---- buttons: white primary, hairline secondary; orange stays in the scene ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--hair-2); background: rgba(255, 255, 255, .02); color: var(--snow); font: inherit; font-size: 14.5px;
  font-weight: 550; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .2s; }
.btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(214, 226, 255, .26); }
.btn.primary { background: var(--snow); border-color: var(--snow); color: #07090C; }
.btn.primary:hover { background: #fff; border-color: #fff; }
.btn.big { height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 var(--edge); background: transparent;
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.scrolled { border-bottom-color: var(--hair); background: rgba(7, 9, 12, .78); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 7px; width: 26px; height: 26px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav nav a:not(.btn) { color: var(--mist); text-decoration: none; transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--snow); }

main > section { max-width: var(--w); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); box-sizing: content-box; }

/* ---- hero ---- */
.hero { position: relative; padding-top: clamp(40px, 5vw, 64px); }
.hero::before { content: ""; position: absolute; z-index: -1; top: -64px; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: radial-gradient(60% 50% at 78% 62%, rgba(255, 106, 0, .10), transparent 70%),
              radial-gradient(80% 60% at 50% 0%, #121A26 0%, transparent 70%), var(--abyss); }
.hero-copy { max-width: 900px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; font-weight: 560; letter-spacing: -.05em;
  background: linear-gradient(180deg, #FFFFFF 30%, #B9C2CF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 26px; max-width: 30em; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--mist); line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.scene-wrap { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -190px; }
.scene { display: block; width: 100%; height: auto; overflow: visible; }
.near-edge { fill: none; stroke: var(--hair-2); stroke-width: 1.2; }
.pylons { stroke: #252C37; stroke-width: 5; stroke-linecap: round; fill: none; }
.pylon-arms { stroke: #3A4352; stroke-width: 3; stroke-linecap: round; }
.cable { fill: none; stroke: url(#gCable); stroke-width: 2; stroke-linecap: round; }
.cable-glow { fill: none; stroke: var(--ember); stroke-width: 6; opacity: .35; }
.cable.back { stroke: rgba(214, 226, 255, .12); stroke-width: 1.2; }
.station .dot { fill: var(--abyss); stroke: #C7CFDA; stroke-width: 2.5; transition: fill .4s, stroke .4s; }
.station .halo { fill: var(--ember); opacity: 0; transition: opacity .5s; }
.station text { text-anchor: middle; font-family: "Archivo", system-ui, sans-serif; }
.sname { font-size: 22px; font-weight: 600; fill: var(--snow); letter-spacing: -.02em; transition: fill .4s; }
.srole { font-size: 15px; fill: var(--mist); }
.station.on .dot { fill: var(--lamp); stroke: var(--lamp); }
.station.on .halo { opacity: .55; }
.station.past .dot { fill: #C7CFDA; }
.cabin .lamp-glow { fill: var(--ember); opacity: .28; }
.cabin .arm { stroke: #AEB7C4; stroke-width: 3; stroke-linecap: round; }
.cabin .grip { fill: #AEB7C4; }
.cabin .roof { fill: #2B333F; }
.cabin .body { fill: #1A2029; stroke: #3A4352; stroke-width: 1; }
.cabin .window { fill: url(#gLamp); }
.cabin .mullion { stroke: #1A2029; stroke-width: 2; }
.cabin .doc { fill: #1A2029; opacity: .75; }
.cabin .band { fill: var(--ember); }

/* the ticket: what the cabin carries right now */
.ticket { position: absolute; right: var(--edge); bottom: 28px; width: 360px; display: flex; overflow: hidden;
  background: rgba(16, 21, 29, .66); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hair-2); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.stub { flex: 0 0 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 14px 8px; border-right: 1px dashed var(--hair-2); font-size: 11.5px; color: var(--mist); }
.stub code { font-size: 13.5px; padding: .25em .45em; }
.tbody { padding: 15px 18px 16px; min-width: 0; }
.ticket .state { font-size: 12.5px; font-weight: 550; color: var(--lamp); }
.ticket h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 8px; }
.ticket p:not(.state) { font-size: 13.5px; line-height: 1.5; display: flex; gap: 10px; color: #C9D0DA; }
.ticket .k { flex: 0 0 56px; color: var(--mist); }
.ticket.flash .tbody { animation: rise .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- sections ---- */
.band { padding-top: clamp(96px, 12vw, 160px); }
.head { max-width: 620px; }
.head p { margin-top: 18px; color: var(--mist); font-size: 18px; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.panel { background: linear-gradient(180deg, rgba(22, 28, 38, .7), rgba(12, 16, 22, .7)); border: 1px solid var(--hair);
  border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }

/* how a trip works: a lit line with four stops */
.route { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  position: relative; counter-reset: stop; }
.route::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 2px;
  background: linear-gradient(90deg, rgba(255, 106, 0, .35), var(--ember) 40%, var(--lamp)); box-shadow: 0 0 16px rgba(255, 106, 0, .5); }
.route li { position: relative; counter-increment: stop; }
.route .stop { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--abyss); border: 2px solid var(--lamp);
  position: relative; margin-bottom: 30px; box-shadow: 0 0 0 5px var(--abyss); }
.route h3::before { content: "0" counter(stop); display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--mist);
  font-variant-numeric: tabular-nums; }
.route p { margin-top: 8px; color: var(--mist); font-size: 15.5px; }

/* @ropeway conversation */
.convo { list-style: none; margin: 0; padding: 28px; display: grid; gap: 26px; }
.convo li + li { border-top: 1px solid var(--hair); padding-top: 24px; }
.app { display: block; font-size: 13px; font-weight: 550; color: var(--mist); margin-bottom: 12px; }
.you { width: fit-content; max-width: 88%; margin-left: auto; background: rgba(214, 226, 255, .08); padding: 10px 15px;
  border-radius: 18px 18px 6px 18px; font-size: 15.5px; }
.agent { margin-top: 12px; font-size: 15.5px; color: #C9D0DA; }

/* drive comparison */
.compare { margin-top: 56px; padding: 8px 28px; }
.crow { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 24px; padding: 18px 0; font-size: 15.5px; line-height: 1.5; }
.crow + .crow { border-top: 1px solid var(--hair); }
.crow [role=rowheader] { font-weight: 550; }
.crow [role=cell]:nth-child(2) { color: var(--mist); }
.crow [role=cell]:nth-child(3) { color: var(--snow); }
.chead { font-size: 13px; font-weight: 550; color: var(--mist); padding: 16px 0; }
.chead [role=columnheader]:last-child { color: var(--lamp); }

/* provenance */
.wide { margin: 56px 0 0; padding: 10px; }
.wide img { border-radius: 12px; }

/* phones */
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; color: #C9D0DA; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--lamp);
  box-shadow: 0 0 10px var(--ember); transform: translateY(-2px); }
.phones { display: flex; gap: 22px; justify-content: center; position: relative; }
.phones::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(255, 106, 0, .16), transparent);
  filter: blur(20px); z-index: -1; }
.phone { width: min(250px, 46%); border-radius: 38px; border: 6px solid #1B2028; outline: 1px solid var(--hair-2);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.phone + .phone { margin-top: 64px; }

/* privacy */
.facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.facts li { border-top: 1px solid var(--hair-2); padding-top: 20px; }
.facts p { margin-top: 8px; color: var(--mist); font-size: 15.5px; }
.facts a { color: var(--snow); text-decoration-color: var(--ember); text-underline-offset: 3px; }

/* beta */
.beta { position: relative; margin-top: clamp(96px, 12vw, 160px) !important; padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 72px) !important;
  max-width: calc(var(--w) - 2 * clamp(24px, 5vw, 72px)) !important; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--hair); background: radial-gradient(70% 90% at 100% 100%, rgba(255, 106, 0, .16), transparent 60%),
  linear-gradient(180deg, #111723, #0A0D12); }
.beta h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 560; letter-spacing: -.045em; }
.beta > p { margin-top: 14px; color: var(--mist); font-size: 18px; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: 800px; }
.signup input { flex: 1 1 220px; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hair-2);
  background: rgba(7, 9, 12, .6); color: var(--snow); font: inherit; font-size: 15.5px; transition: border-color .2s; }
.signup input::placeholder { color: #6C7584; }
.signup input:focus { outline: none; border-color: var(--lamp); }
.form-msg { margin-top: 12px; font-size: 14.5px; min-height: 1.5em; }
.form-msg.ok { color: #86E0A6; } .form-msg.err { color: #FF9A8F; }

/* footer */
.foot { max-width: var(--w); margin: 72px auto 0; padding: 28px var(--gut) 44px; box-sizing: content-box; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--mist); }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; transition: color .2s; } .foot a:hover { color: var(--snow); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mist); }
.status.on i { background: #4ADE80; box-shadow: 0 0 10px rgba(74, 222, 128, .6); } .status b { font-weight: 550; color: var(--snow); }

/* ---- smaller screens ---- */
@media (max-width: 980px) {
  .hide-s { display: none; }
  .br { display: none; }
  .scene-wrap { margin-top: 32px; }
  .ticket { position: relative; right: auto; bottom: auto; width: auto; max-width: 440px; margin: 8px var(--gut) 0; }
  .split { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .route::before { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hide-xs { display: none; }
  .nav { height: 58px; }
  .hero { padding-top: 40px; }
  .cta .btn { flex: 1; }
  .sname { font-size: 46px; }
  .srole { display: none; }
  .station .dot { r: 11; stroke-width: 4; }
  .cable { stroke-width: 4; } .cable-glow { stroke-width: 12; } .pylons { stroke-width: 9; } .pylon-arms { stroke-width: 5; }
  .route { grid-template-columns: 1fr; gap: 0; }
  .route li { padding: 0 0 36px 34px; margin-left: 6px; border-left: 2px solid var(--ember); }
  .route li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .route .stop { position: absolute; left: -8px; top: 0; margin: 0; }
  .route h3::before { display: inline; margin-right: 10px; }
  .convo, .compare { padding-left: 18px; padding-right: 18px; }
  .crow:not(.chead) { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .crow:not(.chead) [role=rowheader] { grid-column: 1 / -1; }
  .crow [role=cell]::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 550; color: var(--mist); }
  .crow [role=cell]:nth-child(3)::before { color: var(--lamp); }
  .chead { display: none; } .chead + .crow { border-top: 0; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .phone { border-radius: 24px; border-width: 5px; }
  .beta { margin-left: var(--gut) !important; margin-right: var(--gut) !important; border-radius: 22px; }
  .signup .btn { width: 100%; }
}
