/* Handoff homepage. Standalone, no build step.
   Tokens copied verbatim from src/styles/base.css and src/styles/motion.css so
   the page reads as the same product as the app. Real app class names
   (.button, .chip, .pill, .listing-card, .card-price, .savings-tag,
   .price-marker, .cluster-marker, .campus-marker) keep their app definitions. */

@font-face {
  font-family: Geist;
  src: url("assets/geist-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("assets/geist-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("assets/geist-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/jakarta-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/jakarta-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   Tokens (base.css)
   ============================================================= */
:root {
  --blue: #3b78d7;
  --blue-hover: #2f68c4;
  --blue-active: #2a5db0;
  --blue-soft: #edf3fd;
  --blue-soft-2: #dbe7fb;
  --blue-ink: #24519b;
  --ink: #1b2330;
  --ink-2: #3a4553;
  --muted: #667281;
  --muted-2: #8a94a1;
  --line: #e6e9ee;
  --line-2: #d9dee6;
  --soft: #f6f8fa;
  --soft-2: #eef1f5;
  --surface: #fff;
  --green: #159a6a;
  --green-soft: #e8f7f0;
  --green-ink: #1c6f50;
  --red: #d24a57;
  --focus: #8bafff;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgb(16 24 40 / 0.05);
  --shadow-sm:
    0 1px 2px rgb(16 24 40 / 0.05),
    0 2px 6px rgb(16 24 40 / 0.05);
  --shadow-md:
    0 1px 2px rgb(16 24 40 / 0.05),
    0 4px 12px rgb(16 24 40 / 0.07),
    0 12px 32px rgb(16 24 40 / 0.06);
  --shadow-lg:
    0 2px 4px rgb(16 24 40 / 0.05),
    0 12px 28px rgb(16 24 40 / 0.1),
    0 32px 64px rgb(16 24 40 / 0.1);
  --ring: 0 0 0 1px rgb(16 24 40 / 0.08);
  --ring-strong: 0 0 0 1px rgb(16 24 40 / 0.12);

  --header-h: 60px;
  --page-max: 1120px;
  --page-x: 24px;

  /* Motion tokens (motion.css) */
  --duration-stagger: 40ms;
  --duration-micro: 80ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: ease-in-out;
  --ease-out: ease-out;
  --ease-linear: linear;
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);
  --distance-micro: 4px;
  --distance-base: 8px;
  --distance-medium: 12px;
  --scale-large: 0.96;
  --blur-small: 2px;
  --blur-medium: 3px;

  /* Sky */
  --sky-top: #f7fafe;
  --sky-mid: #e8f1fd;
  --sky-far: #d8e7fa;
  --cloud-hi: rgb(255 255 255 / 0.95);
  --cloud-lo: rgb(255 255 255 / 0.62);
  --cloud-blue: rgb(148 186 236 / 0.35);

  /* Photo placeholder palettes */
  --ph-beige: linear-gradient(145deg, #f2e9da 0%, #e3d5bd 55%, #d9c9ad 100%);
  --ph-sage: linear-gradient(145deg, #e6efe3 0%, #d2e1cd 55%, #c2d5bc 100%);
  --ph-terracotta: linear-gradient(
    145deg,
    #f4e4dc 0%,
    #e8cec1 55%,
    #dcbcab 100%
  );

  font-size: 16px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--surface);
  /* clip, not hidden. hidden would make body a scroll container and stop
     animation-timeline: scroll(root) from ever becoming active. */
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-family: "Plus Jakarta Sans", Geist, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 700;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md), var(--ring);
}
.skip-link:focus {
  left: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

/* =============================================================
   App primitives
   ============================================================= */
.button {
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--duration-quick) var(--ease-out),
    color var(--duration-quick) var(--ease-out),
    border-color var(--duration-quick) var(--ease-out),
    box-shadow var(--duration-quick) var(--ease-out),
    transform var(--duration-quick) var(--ease-out);
}
.button:active {
  transform: scale(0.96);
}
.button .icon {
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}
.button:hover .icon {
  transform: translateX(2px);
}
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 1px 2px rgb(24 60 130 / 0.2);
}
.button.primary:hover {
  background: var(--blue-hover);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 4px 14px rgb(24 60 130 / 0.26);
}
.button.primary:active {
  background: var(--blue-active);
}
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}
.button.secondary:hover {
  background: var(--soft);
  border-color: #c9d1dc;
}
.button.small {
  min-height: 36px;
  padding: 6px 11px;
  font-size: 13px;
  border-radius: var(--r-xs);
}
.button.large {
  min-height: 46px;
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  min-height: 36px;
  color: var(--blue);
  transition: color var(--duration-quick) var(--ease-out);
}
.text-link .icon {
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}
.text-link:hover {
  color: var(--blue-hover);
}
.text-link:hover .icon {
  transform: translateX(3px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition:
    background-color var(--duration-quick) var(--ease-out),
    border-color var(--duration-quick) var(--ease-out),
    color var(--duration-quick) var(--ease-out);
}
.chip .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.chip.is-active {
  background: var(--blue-soft);
  border-color: var(--blue-soft-2);
  color: var(--blue-ink);
}
.chip.is-active .icon {
  color: var(--blue);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--soft-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill.green {
  background: var(--green-soft);
  color: var(--green-ink);
}
.pill .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

/* Listing card, from browse.css */
.listing-card {
  position: relative;
  display: grid;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs), var(--ring);
  overflow: hidden;
  transition:
    box-shadow var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out);
}
.listing-card.compact {
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 118px;
}
.listing-card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgb(59 120 215 / 0.35);
  transform: translateY(-1px);
}
.card-photo {
  position: relative;
  background: var(--soft-2);
  overflow: hidden;
  min-height: 118px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}
.card-photo.beige {
  background: var(--ph-beige);
}
.card-photo.sage {
  background: var(--ph-sage);
}
.card-photo.terracotta {
  background: var(--ph-terracotta);
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 20% 12%,
    rgb(255 255 255 / 0.5) 0%,
    transparent 62%
  );
}
.card-photo .room-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: rgb(255 255 255 / 0.92);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.card-topline .savings-tag,
.card-topline .pill {
  margin-left: auto;
  flex-shrink: 0;
}
.card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
}
.card-price strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.card-price span {
  font-size: 12px;
  color: var(--muted);
}
.card-title {
  font-family: Geist, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-meta:last-child {
  margin-top: auto;
}
.card-distance {
  font-weight: 500;
  color: var(--blue-ink);
}
.card-original {
  font-size: 12px;
  color: var(--muted-2);
  margin-left: 4px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.savings-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-ink);
  background: var(--green-soft);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  white-space: nowrap;
}
.savings-tag .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

/* Map markers, from browse.css */
.price-marker {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgb(16 24 40 / 0.14),
    0 2px 6px rgb(16 24 40 / 0.16);
}
.price-marker.has-savings {
  box-shadow:
    0 0 0 1.5px var(--green),
    0 2px 6px rgb(16 24 40 / 0.16);
}
.price-marker.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 0 0 2px #fff,
    0 4px 12px rgb(59 120 215 / 0.4);
}
.cluster-marker {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4px rgb(59 120 215 / 0.25),
    0 4px 12px rgb(59 120 215 / 0.35);
}
/* Campus label, set like the map's own typography instead of a pill */
.campus-marker {
  display: inline-block;
  white-space: normal;
  text-align: center;
  max-width: 120px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #24519b;
  font-size: 11.5px;
  font-weight: 700;
  text-shadow:
    0 0 2px #fff,
    0 0 3px #fff,
    0 0 4px #fff;
}
.campus-marker .icon {
  display: none;
}

/* =============================================================
   Sky and clouds
   ============================================================= */
.sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    var(--sky-top) 0%,
    var(--sky-mid) 58%,
    var(--sky-far) 100%
  );
}
.sky::before {
  content: "";
  position: absolute;
  inset: -18% -24%;
  background:
    radial-gradient(62% 26% at 30% 104%, var(--cloud-lo) 0%, transparent 70%),
    radial-gradient(66% 28% at 72% 106%, var(--cloud-lo) 0%, transparent 72%),
    radial-gradient(48% 20% at 8% 99%, var(--cloud-lo) 0%, transparent 70%),
    radial-gradient(22% 9% at 16% 58%, var(--cloud-lo) 0%, transparent 68%),
    radial-gradient(18% 7% at 88% 50%, var(--cloud-lo) 0%, transparent 66%),
    radial-gradient(15% 6% at 46% 40%, var(--cloud-lo) 0%, transparent 64%);
  animation: sky-far 117s var(--ease-linear) -41s infinite alternate;
}
.sky::after {
  content: "";
  position: absolute;
  inset: -14% -18%;
  background:
    radial-gradient(
      30% 20% at 8% 88%,
      var(--cloud-hi) 0%,
      var(--cloud-lo) 42%,
      transparent 72%
    ),
    radial-gradient(
      24% 15% at 20% 93%,
      var(--cloud-hi) 0%,
      var(--cloud-lo) 46%,
      transparent 76%
    ),
    radial-gradient(
      34% 22% at 92% 86%,
      var(--cloud-hi) 0%,
      var(--cloud-lo) 40%,
      transparent 71%
    ),
    radial-gradient(
      26% 16% at 80% 94%,
      var(--cloud-hi) 0%,
      var(--cloud-lo) 44%,
      transparent 75%
    ),
    radial-gradient(58% 22% at 50% 103%, var(--cloud-lo) 0%, transparent 72%);
  opacity: 0.9;
  animation: sky-near 74s var(--ease-linear) -23s infinite alternate;
}
@keyframes sky-far {
  from {
    transform: translate3d(6.5%, 0.9%, 0) scale(1.03);
  }
  to {
    transform: translate3d(-7.5%, -1.3%, 0) scale(1.07);
  }
}
@keyframes sky-near {
  from {
    transform: translate3d(-9%, -0.7%, 0) scale(1.04);
  }
  to {
    transform: translate3d(8.5%, 1.1%, 0) scale(1.09);
  }
}
.sky-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(59 120 215 / 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(59 120 215 / 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    120% 80% at 50% 10%,
    #000 0%,
    rgb(0 0 0 / 0.35) 55%,
    transparent 85%
  );
}
/* Parallax blobs. home.js writes --py, 0.2 and 0.35 of travel. */
.cloud {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(26px);
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}
.cloud.c1 {
  width: 420px;
  height: 220px;
  left: -60px;
  top: 12%;
  background: radial-gradient(
    closest-side,
    rgb(255 255 255 / 0.95),
    rgb(255 255 255 / 0)
  );
}
.cloud.c2 {
  width: 520px;
  height: 250px;
  right: -110px;
  top: 6%;
  background: radial-gradient(closest-side, var(--cloud-blue), transparent);
}
.cloud.c3 {
  width: 620px;
  height: 260px;
  left: 28%;
  bottom: -90px;
  background: radial-gradient(
    closest-side,
    rgb(255 255 255 / 0.9),
    rgb(255 255 255 / 0)
  );
}

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgb(16 24 40 / 0.06);
  transition: box-shadow var(--duration-fast) var(--ease-out);
}
.site-header.is-stuck {
  box-shadow: 0 1px 0 rgb(16 24 40 / 0.09), var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.wordmark {
  font-family: "Plus Jakarta Sans", Geist, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wordmark .mark {
  width: 22px;
  height: 22px;
  border-radius: var(--r-xs);
  background: var(--blue);
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22);
}
.wordmark .mark .icon {
  width: 14px;
  height: 14px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition:
    background-color var(--duration-quick) var(--ease-out),
    color var(--duration-quick) var(--ease-out);
}
.header-nav a:hover {
  background: var(--soft-2);
  color: var(--ink);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sign-in {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background-color var(--duration-quick) var(--ease-out);
}
[data-guest][hidden],
[data-member][hidden] {
  display: none;
}
.sign-in:hover {
  background: var(--soft-2);
}
.header-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--duration-quick) var(--ease-out);
}
.header-user:hover {
  background: var(--blue-soft);
}
.header-avatar {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* =============================================================
   Section shells
   ============================================================= */
.section {
  position: relative;
  padding-block: 96px;
}
.section-heading {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: 34px;
}
.lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding-block: 72px 72px;
  isolation: isolate;
}
.hero .sky {
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    rgb(0 0 0 / 0.4) 90%,
    transparent 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.small-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.hero h1 {
  font-size: 56px;
  line-height: 1.04;
}
.hero h1 .accent {
  color: var(--blue-ink);
}
.hero-description {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

/* The app itself, the centre of the hero */
.hero-stage {
  width: 100%;
  perspective: 1400px;
}
.device {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), var(--ring-strong);
  overflow: hidden;
  transform-origin: 50% 0%;
  will-change: transform;
  /* --tilt runs 1 (tilted) to 0 (flat). The JS fallback writes it. */
  transform: rotateX(calc(8deg * var(--tilt, 0)))
    scale(calc(1 - 0.04 * var(--tilt, 0)));
}
/* Scroll driven, native. The frame eases from a 3D tilt to flat. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .device {
      animation: device-flatten linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 460px;
    }
  }
}
@keyframes device-flatten {
  from {
    transform: rotateX(8deg) scale(0.96);
  }
  to {
    transform: rotateX(0deg) scale(1);
  }
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.device-dots {
  display: inline-flex;
  gap: 6px;
}
.device-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(16 24 40 / 0.06);
}
.device-dots i:nth-child(1) {
  background: #f0c4c2;
}
.device-dots i:nth-child(2) {
  background: #f2dfba;
}
.device-dots i:nth-child(3) {
  background: #c8e3cd;
}
.device-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  margin-inline: auto;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--ring);
  font-size: 12px;
  color: var(--muted);
}
.device-url .icon {
  width: 12px;
  height: 12px;
}
.device-notch {
  display: none;
}
.device-frame {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
/* =============================================================
   The app replica. Real app classes, hand built markup, so it moves.
   ============================================================= */
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.app-shot {
  --p: 0;
  display: flex;
  flex-direction: column;
  height: 620px;
  background: var(--soft);
  font-variant-numeric: tabular-nums;
}
/* One progress value, scroll linked, reversible in both directions. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .app-shot {
      animation: shot-progress linear both;
      animation-timeline: scroll(root block);
      animation-range: 120px 640px;
    }
  }
}
@keyframes shot-progress {
  from {
    --p: 0;
  }
  to {
    --p: 1;
  }
}
.shot-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.shot-word {
  font-family: "Plus Jakarta Sans", Geist, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.shot-plus {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--blue);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 1px 2px rgb(24 60 130 / 0.2);
}
.shot-signin {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.shot-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.shot-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  z-index: 2;
}
.shot-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.campus-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  min-width: 0;
}
.campus-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.campus-icon .icon {
  width: 14px;
  height: 14px;
}
.campus-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
  margin-right: auto;
}
.campus-text strong {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.campus-text small {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}
.chip-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--muted-2);
  font-size: 13px;
  min-width: 0;
}
.search-field .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.search-field span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-chips {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(
    to right,
    #000 calc(100% - 24px),
    transparent
  );
}
.shot-chips .chip {
  flex: none;
  gap: 5px;
  padding: 0 9px;
  font-size: 12px;
}
.shot-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}
.head-count {
  font-size: 12.5px;
  color: var(--muted);
}
.head-count b {
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
}
.shot-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.shot-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  overflow: hidden;
}
.shot-list .listing-card {
  flex: none;
}
.shot-list .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card.is-active {
  box-shadow:
    var(--shadow-md),
    0 0 0 2px var(--blue),
    0 0 0 6px rgb(59 120 215 / 0.14);
}
.listing-card.is-active .card-body {
  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 70%);
}
/* Cards rise in on a 40ms stagger once the frame is in view. */
@media (prefers-reduced-motion: no-preference) {
  .shot-list .listing-card {
    opacity: 0;
    transform: translateY(var(--distance-medium));
    filter: blur(var(--blur-small));
    transition:
      opacity var(--duration-slow) var(--ease-smooth-out),
      transform var(--duration-slow) var(--ease-smooth-out),
      filter var(--duration-slow) var(--ease-smooth-out);
  }
  .is-in .shot-list .listing-card {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .is-in .shot-list .listing-card:nth-child(1) {
    transition-delay: 160ms;
  }
  .is-in .shot-list .listing-card:nth-child(2) {
    transition-delay: 200ms;
  }
  .is-in .shot-list .listing-card:nth-child(3) {
    transition-delay: 240ms;
  }
}

/* The map we draw ourselves, Positron style */
.map-canvas {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}
.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.shot-map {
  min-width: 0;
}
.campus-glow {
  position: absolute;
  left: 52%;
  top: 48%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgb(59 120 215 / 0.2),
    rgb(59 120 215 / 0.06) 55%,
    transparent 72%
  );
  pointer-events: none;
}
.campus-dot {
  position: absolute;
  left: 52%;
  top: 48%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 6px rgb(59 120 215 / 0.18);
}
.shot-campus {
  position: absolute;
  left: 52%;
  top: 48%;
  transform: translate(-50%, calc(-50% - 22px));
  z-index: 4;
}
.map-zoom {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--ring);
}
.map-zoom span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 15px;
  color: var(--ink-2);
}
.map-zoom span + span {
  border-top: 1px solid var(--line);
}
.map-key {
  position: absolute;
  left: 12px;
  bottom: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-md), var(--ring);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.map-key .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* Pins pop in one by one */
.pin {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
}
.pin.p1 {
  left: 22%;
  top: 72%;
}
.pin.p2 {
  left: 80%;
  top: 26%;
}
.pin.p3 {
  left: 38%;
  top: 34%;
}
.pin.p4 {
  left: 84%;
  top: 80%;
}
.pin.c-eight {
  left: 24%;
  top: 22%;
}
@media (prefers-reduced-motion: no-preference) {
  .pin {
    opacity: 0;
  }
  .is-in .pin {
    animation: pin-pop var(--duration-very-slow) var(--ease-bounce) both;
  }
  .is-in .pin[data-pin="1"] {
    animation-delay: 320ms;
  }
  .is-in .pin[data-pin="2"] {
    animation-delay: 400ms;
  }
  .is-in .pin[data-pin="3"] {
    animation-delay: 480ms;
  }
  .is-in .pin[data-pin="4"] {
    animation-delay: 560ms;
  }
  .is-in .pin[data-pin="5"] {
    animation-delay: 640ms;
  }
}
@keyframes pin-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    filter: blur(var(--blur-small));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
  }
}

/* One cluster splits into two pins, tied to scroll progress. */
.split-group {
  position: absolute;
  left: 64%;
  top: 63%;
  z-index: 3;
}
.split-bubble,
.split-pin {
  position: absolute;
  left: 0;
  top: 0;
}
.split-bubble {
  transform: translate(-50%, -50%) scale(calc(1 - 0.5 * var(--p)));
  opacity: clamp(0, calc(1 - 1.5 * var(--p)), 1);
}
.split-pin {
  opacity: clamp(0, calc(var(--p) * 1.8 - 0.4), 1);
}
.split-pin.sp-a {
  transform: translate(
      calc(-50% + var(--p) * -62px),
      calc(-50% + var(--p) * -30px)
    )
    scale(calc(0.5 + 0.5 * var(--p)));
}
.split-pin.sp-b {
  transform: translate(
      calc(-50% + var(--p) * 54px),
      calc(-50% + var(--p) * 26px)
    )
    scale(calc(0.5 + 0.5 * var(--p)));
}

.device-caption {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.proof-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.85);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.proof-chips .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

/* =============================================================
   Both sides win
   ============================================================= */
.win-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
.win-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34ch;
}
.win-copy h2 {
  font-size: 38px;
}
.win-copy .lede {
  max-width: 44ch;
}
.win-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.win-caption {
  font-size: 12.5px;
  color: var(--muted-2);
}
.demo-card {
  --lift: 0;
  transform: translateY(calc(-6px * var(--lift)));
  box-shadow:
    var(--shadow-sm),
    var(--ring);
  transition:
    transform var(--duration-very-slow) var(--ease-smooth-out),
    box-shadow var(--duration-very-slow) var(--ease-smooth-out);
}
.demo-card.is-counting {
  --lift: 1;
  box-shadow: var(--shadow-md), 0 0 0 1px rgb(59 120 215 / 0.35);
}
.demo-card .card-price strong {
  font-size: 22px;
}
.demo-card .card-original,
.demo-card .savings-tag {
  opacity: 0;
  transform: translateY(var(--distance-micro));
  transition:
    opacity var(--duration-fast) var(--ease-in-out),
    transform var(--duration-fast) var(--ease-smooth-out);
}
.demo-card.is-counting .card-original {
  opacity: 1;
  transform: none;
  transition-delay: 700ms;
}
.demo-card.is-counting .savings-tag {
  opacity: 1;
  transform: none;
  animation: tag-pop var(--duration-very-slow) var(--ease-bounce) 820ms both;
}
@keyframes tag-pop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(var(--distance-base));
    filter: blur(var(--blur-small));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}
.demo-card .card-body {
  padding: 16px 18px;
  gap: 4px;
}

/* =============================================================
   How it works
   ============================================================= */
.how-section {
  position: relative;
  padding-block: 96px;
  isolation: isolate;
}
.how-section .sky {
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 16%,
    #000 80%,
    transparent 100%
  );
}
.how-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.how-grid > *,
.how-lanes > *,
.steps > *,
.step > * {
  min-width: 0;
}
.how-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-head h2 {
  font-size: 34px;
}
.how-note {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.how-note .icon {
  color: var(--blue);
  margin-top: 2px;
}
.how-lanes {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.lane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lane-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: Geist, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
}
.lane-title .icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.92);
  box-shadow: var(--shadow-sm), var(--ring);
  transition:
    box-shadow var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out);
}
.step:hover {
  box-shadow: var(--shadow-md), var(--ring);
}
.step-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.step-text h4 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.step-text p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.step-ui {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
  box-shadow: var(--ring);
}
/* Scroll linked, the UI fragment slides in from its side. */
.step-ui {
  --slide: 0px;
  transform: translateX(var(--slide));
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step[data-slide="left"] .step-ui {
      animation: slide-from-left linear both;
    }
    .step[data-slide="right"] .step-ui {
      animation: slide-from-right linear both;
    }
    .step .step-ui {
      animation-timeline: view(block);
      animation-range: entry 12% cover 42%;
    }
    .step .step-text {
      animation: step-rise linear both;
      animation-timeline: view(block);
      animation-range: entry 10% cover 38%;
    }
  }
}
@keyframes slide-from-left {
  from {
    transform: translateX(-56px);
    opacity: 0;
    filter: blur(var(--blur-small));
  }
  to {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes slide-from-right {
  from {
    transform: translateX(56px);
    opacity: 0;
    filter: blur(var(--blur-small));
  }
  to {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes step-rise {
  from {
    transform: translateY(var(--distance-medium));
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* JS fallback drives --slide and a class instead. */
.no-sda .step .step-ui {
  opacity: 0;
  filter: blur(var(--blur-small));
  transition:
    opacity var(--duration-slow) var(--ease-smooth-out),
    transform var(--duration-slow) var(--ease-smooth-out),
    filter var(--duration-slow) var(--ease-smooth-out);
}
.no-sda .step[data-slide="left"] .step-ui {
  transform: translateX(-56px);
}
.no-sda .step[data-slide="right"] .step-ui {
  transform: translateX(56px);
}
.no-sda .step.is-in .step-ui {
  opacity: 1;
  transform: translateX(0);
  filter: none;
}

/* Fragments inside the steps */
.ui-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 12.5px;
  color: var(--muted-2);
}
.ui-search .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ui-count {
  font-size: 12.5px;
  color: var(--muted);
}
.ui-count b {
  color: var(--ink);
  font-weight: 700;
}
.ui-map {
  min-height: 180px;
  padding: 0;
  border-radius: var(--r-md);
  box-shadow: var(--ring);
}
.ui-map > :not(.map-art) {
  position: absolute;
  z-index: 3;
}
.ui-map .m1 {
  top: 18px;
  left: 16px;
}
.ui-map .m2 {
  top: 58px;
  right: 18px;
}
.ui-map .m3 {
  bottom: 20px;
  left: 20px;
}
.ui-map .m4 {
  bottom: 22px;
  right: 22px;
}
.ui-map .m5 {
  left: 52%;
  top: 48%;
  transform: translate(-50%, calc(-50% - 22px));
}
.ui-map .map-zoom {
  top: 10px;
  right: 10px;
  left: auto;
}
.ui-request {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
}
.ui-request.is-accepted {
  box-shadow: var(--shadow-xs), 0 0 0 1px rgb(21 154 106 / 0.35);
}
.ui-avatar {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 11px;
  font-weight: 700;
}
.ui-request-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}
.ui-request-body strong {
  font-size: 13px;
  font-weight: 600;
}
.ui-request-body span {
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-reveal {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 12.5px;
  font-weight: 500;
}
.ui-reveal .icon {
  width: 14px;
  height: 14px;
}
.ui-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 12.5px;
}
.ui-field span {
  color: var(--muted);
}
.ui-field b {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.ui-field .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* =============================================================
   Campuses
   ============================================================= */
.campus-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.campus-links a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  min-height: 108px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
  transition:
    box-shadow var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out),
    background-color var(--duration-quick) var(--ease-out);
}
.campus-links a:hover {
  background: var(--blue-soft);
  box-shadow: var(--shadow-md), 0 0 0 1px rgb(59 120 215 / 0.28);
  transform: translateY(-2px);
}
.campus-links strong {
  font-family: "Plus Jakarta Sans", Geist, sans-serif;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.campus-links span {
  font-size: 12.5px;
  color: var(--muted);
}
.campus-links .icon {
  margin-top: auto;
  color: var(--muted-2);
  transition:
    transform var(--duration-fast) var(--ease-smooth-out),
    color var(--duration-quick) var(--ease-out);
}
.campus-links a:hover .icon {
  color: var(--blue);
  transform: translate(2px, -2px);
}

/* =============================================================
   Why Handoff
   ============================================================= */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm), var(--ring);
  transition:
    box-shadow var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md), var(--ring);
  transform: translateY(-2px);
}
.benefit-visual {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  margin-bottom: 6px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
  box-shadow: var(--ring);
}
.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 13px;
  font-weight: 500;
}
.email-chip .icon {
  color: var(--muted);
}
.email-domain {
  color: var(--blue-ink);
  font-weight: 600;
}
.check-circle {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.check-circle .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.6;
}
.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--green-ink);
  font-weight: 500;
}
.verified-line .icon {
  width: 14px;
  height: 14px;
}
.fit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.privacy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-avatar {
  display: inline-grid;
  place-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-xs), var(--ring);
  font-size: 12px;
  font-weight: 600;
}
.connection-dashes {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(
    to right,
    var(--line-2) 0 6px,
    transparent 6px 12px
  );
  background-size: 12px 1px;
}
.privacy-row .icon {
  color: var(--blue);
}
.privacy-caption {
  font-size: 12.5px;
  color: var(--muted);
}
.benefit-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.feature-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--blue-ink);
}

/* =============================================================
   FAQ, accordion with a chevron flip
   ============================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 48px;
}
.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.faq-intro h2 {
  font-size: 32px;
}
.faq-intro p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list details {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs), var(--ring);
  transition: box-shadow var(--duration-fast) var(--ease-smooth-out);
}
.faq-list details[open] {
  box-shadow: var(--shadow-sm), var(--ring);
}
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  min-height: 54px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  margin-left: auto;
  color: var(--muted);
  transition:
    transform var(--duration-fast) var(--ease-smooth-out),
    color var(--duration-quick) var(--ease-out);
}
.faq-list details[open] summary .icon {
  transform: rotate(180deg);
  color: var(--blue);
}
.faq-body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .faq-body {
    animation: faq-open var(--duration-fast) var(--ease-smooth-out) both;
  }
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(calc(-1 * var(--distance-micro)));
    filter: blur(var(--blur-small));
  }
}

/* =============================================================
   Final CTA
   ============================================================= */
.final-section {
  position: relative;
  padding-block: 0 96px;
}
.final-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 64px 24px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md), var(--ring);
}
.final-card > *:not(.sky) {
  position: relative;
  z-index: 1;
}
.final-card .sky {
  background: linear-gradient(180deg, var(--sky-mid) 0%, #f3f8fe 55%, #fff 100%);
}
.final-card h2 {
  font-size: 38px;
}
.final-card p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 46ch;
}
.final-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--blue);
  box-shadow: var(--shadow-sm), var(--ring);
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  padding-block: 32px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.footer-top p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-footer nav a {
  font-size: 13.5px;
  color: var(--ink-2);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color var(--duration-quick) var(--ease-out);
}
.site-footer nav a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  transition: color var(--duration-quick) var(--ease-out);
}
.footer-bottom a:hover {
  color: var(--blue);
}
.footer-bottom .icon {
  width: 13px;
  height: 13px;
}

/* =============================================================
   Scroll reveal, rise plus fade plus a 2px blur on a 40ms stagger
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(var(--distance-medium));
  filter: blur(var(--blur-small));
  transition:
    opacity var(--duration-slow) var(--ease-smooth-out),
    transform var(--duration-slow) var(--ease-smooth-out),
    filter var(--duration-slow) var(--ease-smooth-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.stagger > * {
  opacity: 0;
  transform: translateY(var(--distance-medium));
  filter: blur(var(--blur-small));
  transition:
    opacity var(--duration-slow) var(--ease-smooth-out),
    transform var(--duration-slow) var(--ease-smooth-out),
    filter var(--duration-slow) var(--ease-smooth-out);
}
.stagger.is-in > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.stagger.is-in > *:nth-child(1) {
  transition-delay: calc(var(--duration-stagger) * 0);
}
.stagger.is-in > *:nth-child(2) {
  transition-delay: calc(var(--duration-stagger) * 1);
}
.stagger.is-in > *:nth-child(3) {
  transition-delay: calc(var(--duration-stagger) * 2);
}
.stagger.is-in > *:nth-child(4) {
  transition-delay: calc(var(--duration-stagger) * 3);
}
.stagger.is-in > *:nth-child(5) {
  transition-delay: calc(var(--duration-stagger) * 4);
}
.stagger.is-in > *:nth-child(n + 6) {
  transition-delay: calc(var(--duration-stagger) * 5);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1040px) {
  .win-grid,
  .how-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .win-copy {
    max-width: none;
  }
  .how-head,
  .faq-intro {
    position: static;
  }
  .benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .campus-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  .header-nav {
    display: none;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
@media (max-width: 760px) {
  :root {
    --page-x: 20px;
  }
  .section,
  .how-section {
    padding-block: 56px;
  }
  .hero {
    padding-block: 40px 44px;
  }
  .hero-inner {
    gap: 32px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button {
    flex: 1 1 160px;
  }
  .section-heading h2,
  .win-copy h2,
  .how-head h2,
  .faq-intro h2,
  .final-card h2 {
    font-size: 26px;
  }
  .final-card {
    padding: 44px 20px;
  }
  .final-section {
    padding-block: 0 56px;
  }
  .how-lanes {
    gap: 40px;
  }
  .cloud {
    filter: blur(20px);
  }
  .cloud.c1,
  .cloud.c3 {
    width: 300px;
  }
  .cloud.c2 {
    width: 320px;
  }

  /* Phone frame on mobile */
  .hero-stage {
    max-width: 380px;
    margin-inline: auto;
  }
  .device {
    border-radius: 30px;
    padding: 8px;
    background: #101720;
    box-shadow:
      var(--shadow-lg),
      inset 0 0 0 1px rgb(255 255 255 / 0.08);
  }
  .device-bar {
    display: none;
  }
  .device-notch {
    display: block;
    width: 96px;
    height: 5px;
    margin: 3px auto 9px;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.25);
  }
  .device-frame {
    border-radius: 22px;
    overflow: hidden;
  }
  .app-shot {
    height: 600px;
  }
  .shot-top {
    height: 48px;
    padding: 0 12px;
  }
  .shot-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 210px minmax(0, 1fr);
  }
  .shot-panel {
    border-right: 0;
    border-top: 1px solid var(--line);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    margin-top: -14px;
    z-index: 3;
  }
  .shot-map {
    grid-row: 1;
  }
  .shot-campus {
    font-size: 10px;
    height: 22px;
    padding: 0 8px 0 6px;
    transform: translate(-50%, calc(-50% - 26px));
  }
  .split-group {
    left: 56%;
    top: 74%;
  }
  .pin.p4,
  .map-key {
    display: none;
  }
}
@media (max-width: 440px) {
  .hero h1 {
    font-size: 30px;
  }
  .header-inner {
    gap: 8px;
  }
  .header-actions {
    gap: 4px;
  }
  .sign-in {
    padding: 8px 6px;
    font-size: 13.5px;
  }
  .header-actions .button.primary .icon {
    display: none;
  }
  .campus-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .campus-links a {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .campus-links a span {
    margin-right: auto;
  }
  .campus-links .icon {
    margin-top: 0;
  }
  .listing-card.compact {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .card-price strong {
    font-size: 16px;
  }
  .shot-list .card-topline {
    flex-wrap: wrap;
    gap: 2px 6px;
  }
  .shot-list .card-topline .savings-tag {
    margin-left: 0;
  }
}

/* =============================================================
   Reduced motion, everything visible and static
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .app-shot {
    --p: 1;
  }
  .reveal,
  .stagger > *,
  .step-text,
  .step-ui,
  .shot-list .listing-card,
  .pin,
  .split-pin,
  .demo-card .card-original,
  .demo-card .savings-tag {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .device {
    transform: none !important;
  }
  .split-bubble {
    opacity: 0 !important;
  }
  .cloud {
    transform: none !important;
  }
}
