/* Liftee site. An alpine lift-board look: condensed signage type, topo-map texture,
   the app's own status colors. Light and dark follow prefers-color-scheme. No JS. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif-condensed, Impact, sans-serif;
  --body: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Light: fresh snow, ink, glacier blue */
  --bg: #f2f5f7;
  --bg-deep: #e6edf2;
  --surface: #ffffff;
  --line: #d3dde6;
  --text: #0e1a28;
  --muted: #4a5c6f;
  --accent: #0277bd;
  --accent-fill: #4fc3f7;
  --accent-ink: #062033;
  --open: #17803f;
  --soon: #a35f00;
  --closed: #c4372d;
  --idle: #6b7b8c;
  --board: #0f1b29;
  --board-line: #24384f;
  --board-text: #e9f1f8;
  --topo-opacity: 0.55;
  --notif-bg: rgba(246, 248, 250, 0.88);
  --notif-text: #0e1a28;
  --notif-muted: #56677a;
  --shadow: 0 30px 60px -28px rgba(14, 26, 40, 0.45);

  --radius: 18px;
  --wrap: 72rem;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark: night on the hill, the app's navy */
    --bg: #0c1520;
    --bg-deep: #08101a;
    --surface: #152435;
    --line: #233a53;
    --text: #edf3f9;
    --muted: #a3b5c8;
    --accent: #4fc3f7;
    --accent-fill: #4fc3f7;
    --accent-ink: #062033;
    --open: #5bd27a;
    --soon: #f5b23a;
    --closed: #f0645a;
    --idle: #8a9bad;
    --board: #08111b;
    --board-line: #1f3248;
    --board-text: #e9f1f8;
    --topo-opacity: 0.3;
    --notif-bg: rgba(38, 46, 56, 0.86);
    --notif-text: #ffffff;
    --notif-muted: #b9c4cf;
    --shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 var(--body);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent-fill);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 28px;
  }
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 2;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -3px 0 var(--accent-fill);
  border-radius: 0;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 22px 0 0;
}

/* ---------- Landing: hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 28px 0 72px;
}

.topo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/topo.svg") center / 1200px auto repeat;
  opacity: var(--topo-opacity);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

.hero h1 {
  font-size: clamp(3.4rem, 13.5vw, 5.9rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  font-weight: 700;
}

/* Lift board: the signature. Broadway Express 1 flips from Scheduled to Open. */

.board {
  list-style: none;
  margin: 36px 0 0;
  padding: 6px 0;
  max-width: 32rem;
  background: var(--board);
  color: var(--board-text);
  border-radius: 14px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--board-line);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.board li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.board li + li {
  border-top: 1px dashed var(--board-line);
}

.board .lift {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 400px) {
  .board li {
    padding: 9px 14px;
    gap: 8px;
    font-size: 1.05rem;
  }

  .board .state {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
}

.state {
  display: inline-grid;
  justify-items: end;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.state > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.state > span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.is-open { color: #5bd27a; }
.is-soon { color: #f5b23a; }
.is-closed { color: #f0645a; }
.is-idle { color: #8a9bad; }

.flip .before {
  animation: flip-out 0.35s ease-in 1.1s forwards;
}

.flip .after {
  opacity: 0;
  transform: rotateX(90deg);
  animation: flip-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) 1.45s forwards;
}

.flip .after::before {
  animation: pulse 1.8s ease-out 1.9s 3;
}

@keyframes flip-out {
  to { opacity: 0; transform: rotateX(90deg); }
}

@keyframes flip-in {
  to { opacity: 1; transform: rotateX(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 210, 122, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(91, 210, 122, 0); }
}

/* Phone with the real app, and the real alert dropping onto it. */

.device {
  position: relative;
  width: min(300px, 76vw);
  margin: 0 auto;
}

.phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: #04070b;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 0 1.5px #2a333d;
}

.phone img {
  border-radius: 38px;
  width: 100%;
}

.hero .phone {
  transform: rotate(2.5deg);
}

.notif {
  position: absolute;
  top: 13%;
  left: -14%;
  right: -6%;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 12px;
  padding: 13px 15px;
  border-radius: 22px;
  background: var(--notif-bg);
  color: var(--notif-text);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(127, 127, 127, 0.3);
  font-size: 0.95rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-26px) scale(0.96);
  animation: drop 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.15) 2s forwards;
}

.notif img {
  grid-row: span 3;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-self: center;
}

.notif-app {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--notif-muted);
}

.notif strong {
  font-weight: 700;
}

@keyframes drop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Staggered entrance */

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.28s; }
.rise-4 { animation-delay: 0.42s; }
.rise-5 { animation-delay: 0.5s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- Landing: sections ---------- */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(2.6rem, 9vw, 4.4rem);
}

.band {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 14px;
}

.steps h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.feature {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .feature.flip-side .device {
    order: -1;
  }
}

.feature h2 {
  font-size: clamp(2.6rem, 9vw, 4.2rem);
}

.feature p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 30rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  margin-top: 10px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent-fill);
  border-bottom: 3px solid var(--accent-fill);
  transform: rotate(-45deg);
}

.feature .phone {
  transform: rotate(-2deg);
}

.feature.flip-side .phone {
  transform: rotate(2deg);
}

/* Alert cards: the two notifications Liftee sends, word for word */

.alerts {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .alerts {
    grid-template-columns: 1fr 1fr;
  }
}

.alert-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 6px solid var(--tone);
}

.alert-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tone);
}

.alert-card .tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.alert-card blockquote {
  margin: 14px 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
}

.alert-card blockquote span {
  display: block;
  font-weight: 700;
}

.alert-card p {
  margin: 0;
  color: var(--muted);
}

.tone-open { --tone: var(--open); }
.tone-soon { --tone: var(--soon); }

.fine {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 46rem;
}

/* Closing call to action */

.closer {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 88px 0 96px;
}

.closer h2 {
  font-size: clamp(3rem, 12vw, 6rem);
}

.closer p {
  color: var(--muted);
  max-width: 32rem;
  margin: 18px auto 28px;
}

.closer .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--bg-deep);
}

.ridge {
  display: block;
  width: 100%;
  height: 70px;
  color: var(--bg-deep);
  background: var(--bg);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 8px;
  padding-bottom: 36px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

/* ---------- Document pages (privacy, support, 404) ---------- */

.doc-hero {
  position: relative;
  isolation: isolate;
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  font-size: clamp(3.4rem, 15vw, 6.4rem);
}

.doc-hero .lede {
  margin-top: 16px;
}

.stamp {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.doc {
  padding-top: 44px;
  padding-bottom: 80px;
}

.doc-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1000px) {
  .doc-grid {
    grid-template-columns: 15rem minmax(0, var(--measure));
    gap: 64px;
  }
}

.toc {
  align-self: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 1000px) {
  .toc {
    position: sticky;
    top: 24px;
    padding: 0;
    border: 0;
    background: none;
  }
}

.toc h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 10rem;
  column-gap: 20px;
}

@media (min-width: 1000px) {
  .toc ol {
    columns: 1;
    border-left: 2px solid var(--line);
  }

  .toc li a {
    margin-left: -2px;
    border-left: 2px solid transparent;
    padding: 5px 0 5px 14px;
  }

  .toc li a:hover {
    border-left-color: var(--accent-fill);
  }
}

.toc li {
  break-inside: avoid;
}

.toc li a {
  display: block;
  padding: 4px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.35;
}

.toc li a:hover {
  color: var(--accent);
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 2.2em 0 0.55em;
  scroll-margin-top: 20px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.7em 0 0.35em;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--accent);
}

.summary {
  margin: 0 0 8px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--board);
  color: var(--board-text);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--board-line);
}

.summary h2 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  color: #fff;
}

.summary ul {
  margin: 0;
}

.summary li::marker {
  color: #5bd27a;
}

.summary a {
  color: #4fc3f7;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 26px;
  margin-bottom: 44px;
  border-radius: var(--radius);
  background: var(--board);
  color: var(--board-text);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--board-line);
}

.contact-card .label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fb3c7;
}

.contact-card .email {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 8.5vw, 2.8rem);
  line-height: 1.05;
  color: #4fc3f7;
  text-decoration: none;
}

.contact-card .email:hover {
  text-decoration: underline;
}

.contact-card p {
  margin: 6px 0 0;
  color: #c5d3e0;
}

/* FAQ */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--accent);
}

.faq details > :not(summary) {
  max-width: var(--measure);
}

.faq details > :last-child {
  margin-bottom: 24px;
}

.faq .reasons {
  list-style: none;
  padding: 0;
}

.faq .reasons li {
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--line);
  margin: 0 0 8px;
}

.faq .reasons strong {
  display: block;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rise,
  .notif,
  .flip .after {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .flip .before {
    animation: none;
    opacity: 0;
  }

  .flip .after::before,
  .faq summary::after {
    animation: none;
    transition: none;
  }
}
