:root {
  color-scheme: dark;
  --bg: #080604;
  --bg-warm: #0f0a05;
  --surface: rgb(255 255 255 / 0.075);
  --surface-strong: rgb(255 255 255 / 0.12);
  --line: rgb(255 255 255 / 0.16);
  --line-hot: rgb(255 137 23 / 0.6);
  --text: #fffaf2;
  --muted: rgb(255 250 242 / 0.68);
  --soft: rgb(255 250 242 / 0.46);
  --orange: #ff850d;
  --orange-2: #ffc15d;
  --green: #8bd84f;
  --radius: 24px;
  --shadow: 0 26px 80px rgb(0 0 0 / 0.54);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* Display: Anton (Google Fonts) — modern condensed grotesque, the canonical
     film-poster face. Loaded via <link> in index.html with display=swap. */
  --font-display: 'Anton', Impact, 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  /* Body: native system stack. SF Pro on Apple, Segoe UI on Windows. No
     external font payload, no FOUT, perfect rendering on each platform. */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', system-ui, ui-sans-serif, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: var(--font-body);
  font-feature-settings: 'kern' 1, 'ss01' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 8%, rgb(255 126 18 / 0.16), transparent 32rem),
    linear-gradient(180deg, #030303 0%, var(--bg) 44%, #060403 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(255 255 255 / 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.018) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  overflow: hidden;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 28px;
  right: clamp(18px, 5vw, 72px);
  left: clamp(18px, 5vw, 72px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 14px 0 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgb(18 17 15 / 0.78), rgb(10 9 8 / 0.6));
  box-shadow: 0 18px 60px rgb(0 0 0 / 0.44), inset 0 1px 0 rgb(255 255 255 / 0.08);
  backdrop-filter: blur(22px) saturate(135%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  white-space: nowrap;
  color: var(--text);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Topbar wordmark — the Drovie wordmark SVG (234×65, same file as the web app header).
   Sized by height to keep crisp on hi-DPI; width follows the natural ratio. */
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-links,
.footer nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 66px);
  color: rgb(255 250 242 / 0.86);
  font-size: 16px;
}

.nav-links a,
.footer a {
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.footer a:hover {
  color: var(--orange-2);
}

.tmdb-attribution {
  flex-basis: 100%;
  margin-top: 8px;
  font-size: 12px;
  color: rgb(255 250 242 / 0.5);
  line-height: 1.5;
}

.copyright {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  color: rgb(255 250 242 / 0.5);
}

.tmdb-attribution a {
  color: rgb(255 250 242 / 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topbar-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.button svg {
  width: 21px;
  height: 21px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff9a19 0%, #fa7304 100%);
  box-shadow: 0 18px 52px rgb(255 114 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.32);
}

.button-secondary {
  color: var(--text);
  border-color: rgb(255 255 255 / 0.36);
  background: rgb(255 255 255 / 0.045);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.button:hover {
  transform: translateY(-2px);
}

.section-pad {
  position: relative;
  padding-right: clamp(24px, 5vw, 80px);
  padding-left: clamp(24px, 5vw, 80px);
  scroll-margin-top: 118px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(20px, 3vw, 56px);
  min-height: 960px;
  padding-top: 134px;
  padding-bottom: 138px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.2) 44%, rgb(0 0 0 / 0.58) 100%),
    radial-gradient(circle at 55% 42%, rgb(255 138 20 / 0.16), transparent 23rem);
}

.screen-wall {
  position: absolute;
  top: 20%;
  left: 29%;
  display: flex;
  gap: 28px;
  opacity: 0.72;
  filter: drop-shadow(0 32px 50px rgb(0 0 0 / 0.9));
  perspective: 720px;
}

.screen-wall span {
  width: 86px;
  height: 150px;
  border: 1px solid rgb(255 255 255 / 0.11);
  background: var(--poster);
  box-shadow: inset 0 -50px 60px rgb(0 0 0 / 0.42), 0 0 40px rgb(255 133 13 / 0.09);
  transform: rotateY(-18deg);
}

.theater-seats {
  position: absolute;
  right: -4%;
  bottom: -5%;
  left: -4%;
  height: 190px;
  background:
    radial-gradient(ellipse at 11% 90%, #1d1712 0 21%, transparent 22%),
    radial-gradient(ellipse at 28% 92%, #1b1511 0 21%, transparent 22%),
    radial-gradient(ellipse at 45% 90%, #1f1812 0 21%, transparent 22%),
    radial-gradient(ellipse at 62% 92%, #1a1410 0 21%, transparent 22%),
    radial-gradient(ellipse at 79% 90%, #1d1712 0 21%, transparent 22%),
    linear-gradient(180deg, transparent, #050403 56%);
  opacity: 0.82;
  filter: blur(0.2px);
}

.hero-copy {
  width: min(760px, 100%);
  padding-top: 20px;
}

h1,
h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 400; /* Anton ships as a single weight; this prevents synthetic bolding. */
  line-height: 0.96;
  /* Anton runs naturally tight; a hair of negative tracking sharpens display headings. */
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(70px, 7.2vw, 110px);
}

h2 {
  font-size: clamp(60px, 6.2vw, 92px);
}

h1 span,
h2 span {
  color: var(--orange);
}

.hero-copy p,
.section-copy p,
.taste-copy > p,
.closing-copy p {
  margin: 26px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.48;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.hero-device {
  display: grid;
  place-items: center;
  min-height: 650px;
}

.phone {
  position: relative;
  width: var(--phone-width);
  border: 2px solid #242424;
  border-radius: calc(var(--phone-width) * 0.118);
  background: linear-gradient(135deg, #292929, #080808 42%, #414141);
  box-shadow: var(--shadow), inset 0 0 0 2px rgb(255 255 255 / 0.08);
  padding: calc(var(--phone-width) * 0.033);
}

.phone::before {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 29%;
  height: 30px;
  border-radius: 0 0 16px 16px;
  background: #050505;
  transform: translateX(-50%);
  content: "";
}

.phone-large {
  --phone-width: min(390px, 82vw);
}

.hero .phone-large {
  --phone-width: min(370px, 78vw);
}

.taste .phone-large {
  --phone-width: min(410px, 82vw);
}

.phone-medium {
  --phone-width: min(330px, 43vw);
}

.tilt-right {
  transform: rotate(7deg);
}

.raised {
  margin-top: 70px;
  margin-left: -50px;
}

.phone-content {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.4;
  border-radius: calc(var(--phone-width) * 0.09);
  background:
    radial-gradient(circle at 80% 10%, rgb(255 132 14 / 0.16), transparent 9rem),
    linear-gradient(180deg, #11100e 0%, #050505 100%);
  padding: calc(var(--phone-width) * 0.08) calc(var(--phone-width) * 0.06) calc(var(--phone-width) * 0.055);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.phone-bar {
  position: absolute;
  top: 52%;
  right: -4px;
  width: 4px;
  height: 88px;
  border-radius: 4px;
  background: #777;
}

.app-head,
.shelf-title,
.tabbar,
.app-summary,
.store-actions a {
  display: flex;
  align-items: center;
}

.app-head {
  justify-content: space-between;
  margin-top: 10px;
}

.mini-mark {
  width: 28px;
  height: 28px;
}

.avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, #f3bf78 0 19%, transparent 20%),
    radial-gradient(circle at 50% 95%, #34513d 0 38%, transparent 39%),
    #171717;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 13px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  color: var(--soft);
  background: rgb(255 255 255 / 0.055);
  font-size: 13px;
}

.search-field svg {
  width: 18px;
  height: 18px;
}

.shelf-title {
  justify-content: space-between;
  margin-top: 18px;
  color: var(--text);
  font-size: 13px;
}

.shelf-title span {
  color: var(--orange);
  font-size: 11px;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.poster {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Real movie posters are 2:3 — let width drive height so the artwork
     stays uncropped regardless of column width. */
  aspect-ratio: 2 / 3;
  padding: 10px 5px;
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 8px;
  color: #fff;
  background-color: #0a0a0a;
  background-image: var(--poster-bg);
  background-size: cover;
  background-position: center;
  /* Empty hint shown only when the real poster image fails to load. */
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  overflow: hidden;
}

/* Hide the text label that was meant for the gradient placeholder, now that
   real poster artwork is loaded. Kept in the markup for accessibility / fallback. */
.poster > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* .small-posters used to shrink min-height; with aspect-ratio: 2/3 the
   posters auto-size from column width, so the override is no longer needed. */

/* Real TMDB poster artwork — TMDB attribution in footer. */
.poster-dune        { --poster-bg: url('./assets/posters/dune.jpg'); }
.poster-oppenheimer { --poster-bg: url('./assets/posters/oppenheimer.jpg'); }
.poster-batman      { --poster-bg: url('./assets/posters/batman.jpg'); }
.poster-arrival     { --poster-bg: url('./assets/posters/arrival.jpg'); }
.poster-runner      { --poster-bg: url('./assets/posters/runner.jpg'); }
.poster-martian     { --poster-bg: url('./assets/posters/martian.jpg'); }
.poster-dark        { --poster-bg: url('./assets/posters/dark.jpg'); }

.request-card,
.result-card,
.timeline article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
}

.request-card {
  margin-top: 18px;
  padding: 10px;
  border-radius: 14px;
}

.thumb,
.mini-poster {
  width: 47px;
  /* Real movie posters are 2:3 — derive height from width so they don't
     look squat (was 47×58, ≈0.81 aspect). */
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  background-color: #0a0a0a;
  background-image: var(--poster-bg);
  background-size: cover;
  background-position: center;
}

.request-card strong,
.result-card strong,
.timeline strong {
  display: block;
  font-size: 13px;
}

small {
  display: block;
  color: var(--soft);
  line-height: 1.35;
}

.request-card button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  color: var(--orange-2);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.tabbar {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  justify-content: space-around;
  color: var(--soft);
  font-size: 10px;
}

.tabbar .active {
  color: var(--orange);
}

.hero-preview {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 36px;
  left: clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 112px;
  padding: 26px 44px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.035));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 70px rgb(0 0 0 / 0.36);
  backdrop-filter: blur(18px);
}

.hero-preview strong {
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.1;
}

.hero-preview span {
  color: var(--orange);
}

.workflow,
.taste,
.closing {
  min-height: 900px;
  padding-top: 116px;
  padding-bottom: 108px;
}

.workflow {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.86), transparent 52%, rgb(0 0 0 / 0.52)),
    linear-gradient(180deg, #080604, #0c0703 54%, #070504);
}

.workflow::after,
.closing::before {
  position: absolute;
  right: -10%;
  bottom: 0;
  left: -10%;
  height: 160px;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, transparent 0 86px, rgb(255 129 15 / 0.12) 87px 90px, transparent 91px 170px),
    linear-gradient(180deg, transparent, rgb(24 12 4 / 0.86));
  opacity: 0.52;
}

.section-copy {
  max-width: 720px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(560px, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  margin-top: 54px;
}

.step-rail {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-left-color: var(--line-hot);
  border-radius: 28px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.035));
  box-shadow: 0 0 70px rgb(255 128 16 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.09);
  backdrop-filter: blur(20px);
}

.step {
  display: grid;
  grid-template-columns: 72px 54px 1fr;
  gap: 22px;
  width: 100%;
  min-height: 136px;
  padding: 28px 34px;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.step:last-child {
  border-bottom: 0;
}

.step.active {
  background: linear-gradient(90deg, rgb(255 133 13 / 0.13), transparent 74%);
}

.step-icon,
.line-icon,
.store-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgb(255 132 13 / 0.48);
  color: var(--orange-2);
  background: rgb(255 132 13 / 0.11);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.step-icon {
  width: 66px;
  height: 66px;
  border-radius: 999px;
}

.step-icon svg {
  width: 34px;
  height: 34px;
}

.step-index {
  color: rgb(255 255 255 / 0.28);
  font-size: 25px;
  font-weight: 900;
}

.step strong {
  display: block;
  font-size: 24px;
}

.step small {
  margin-top: 8px;
  max-width: 280px;
  font-size: 17px;
}

.phone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-screen,
.requests-screen {
  padding-top: 58px;
}

.active-field {
  margin-top: 0;
  color: var(--text);
}

.filter-tabs {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  color: var(--soft);
  font-size: 12px;
}

.filter-tabs span {
  padding-bottom: 10px;
}

.filter-tabs .active {
  color: var(--orange);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.filter-tabs.compact {
  justify-content: space-around;
  gap: 0;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 9px;
  background: rgb(255 255 255 / 0.06);
}

.filter-tabs.compact span {
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: none;
}

.filter-tabs.compact .active {
  background: rgb(255 132 13 / 0.12);
}

.screen-label {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.result-card {
  min-height: 84px;
  margin-top: 9px;
  padding: 9px;
  border-radius: 11px;
}

.result-card.highlighted {
  border-color: rgb(255 132 13 / 0.28);
}

.result-card button {
  width: 28px;
  height: 28px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}

.requests-screen h3,
.taste-screen h3 {
  margin: 0;
  font-size: 30px;
}

.timeline {
  position: relative;
  margin-top: 12px;
  padding-left: 20px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 28px;
  left: 8px;
  width: 2px;
  background: linear-gradient(var(--soft), var(--green));
  content: "";
}

.timeline article {
  position: relative;
  grid-template-columns: 1fr auto;
  min-height: 76px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
}

.timeline article::before {
  position: absolute;
  top: 26px;
  left: -20px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--soft);
  border-radius: 999px;
  background: #101010;
  content: "";
}

.timeline article.ready::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 20px rgb(139 216 79 / 0.4);
}

.timeline span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.timeline .pending {
  color: var(--orange-2);
}

.add-request {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
  font-weight: 800;
}

.taste {
  display: grid;
  grid-template-columns: minmax(460px, 0.9fr) minmax(460px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 8vw, 116px);
  background: #050403;
}

.taste-media {
  position: relative;
  min-height: 720px;
}

.cinema-band {
  position: absolute;
  top: 20%;
  right: -10%;
  left: -18%;
  height: 405px;
  border: 1px solid rgb(255 255 255 / 0.08);
  background:
    linear-gradient(90deg, rgb(4 4 4 / 0.98), rgb(4 4 4 / 0.22) 35%, #050403 89%),
    radial-gradient(circle at 78% 58%, rgb(255 134 24 / 0.21), transparent 12rem),
    linear-gradient(145deg, #0b1114, #0b0805 45%, #261108);
  box-shadow: inset 0 -100px 90px rgb(0 0 0 / 0.7), 0 32px 100px rgb(0 0 0 / 0.62);
}

.cinema-band::before {
  position: absolute;
  top: 18%;
  left: 5%;
  width: 210px;
  height: 260px;
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgb(192 213 208 / 0.42), rgb(22 34 36 / 0.74)),
    linear-gradient(180deg, transparent, rgb(0 0 0 / 0.7));
  box-shadow: 0 28px 65px rgb(0 0 0 / 0.72);
  content: "";
}

.taste-media .phone {
  margin-left: clamp(0px, 6vw, 120px);
}

.taste-screen > p {
  margin: 4px 0 18px;
  color: var(--muted);
}

.taste-card {
  padding: 18px;
  border: 1px solid rgb(255 132 13 / 0.42);
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.06)),
    linear-gradient(145deg, rgb(108 55 18 / 0.58), rgb(14 9 6 / 0.9));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1);
}

.taste-card small {
  color: var(--orange-2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.taste-card strong {
  display: block;
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.08;
}

.taste-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.taste-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
}

.taste-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 13px;
  background: rgb(255 255 255 / 0.04);
}

.taste-metrics span {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.taste-metrics b {
  display: block;
  margin-bottom: 4px;
  color: var(--orange-2);
  font-size: 17px;
}

.mini-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 16px;
}

/* .mini-strip used to override min-height; aspect-ratio: 2/3 on .poster
   now handles sizing from the strip's column width. */

.taste-copy {
  max-width: 650px;
}

.feature-list {
  margin-top: 52px;
}

.feature-list article {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 118px;
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.line-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
}

.line-icon svg {
  width: 34px;
  height: 34px;
}

.feature-list strong {
  display: block;
  font-size: 26px;
}

.feature-list small {
  margin-top: 8px;
  font-size: 17px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(500px, 0.85fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.18) 52%, rgb(0 0 0 / 0.58)),
    radial-gradient(circle at 74% 10%, rgb(255 132 13 / 0.15), transparent 30rem),
    #090604;
}

.closing-copy {
  max-width: 700px;
}

.store-panel {
  padding: 42px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 0.11);
  backdrop-filter: blur(24px);
}

.app-summary {
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.app-summary img {
  width: 118px;
  height: 118px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.42);
}

.app-summary h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
}

.app-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.app-summary .rating {
  color: var(--orange-2);
  font-weight: 800;
}

.store-actions a {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  min-height: 128px;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
  color: var(--text);
}

.store-actions a:last-child {
  border-bottom: 0;
}

.store-icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

.store-icon svg {
  width: 34px;
  height: 34px;
}

.store-actions strong {
  display: block;
  font-size: 25px;
}

.store-actions small {
  margin-top: 7px;
  font-size: 17px;
}

.store-actions > a > svg {
  width: 28px;
  height: 28px;
  color: var(--soft);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  min-height: 106px;
  padding: 28px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgb(255 255 255 / 0.13);
  background: #050403;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .workflow-grid,
  .taste,
  .closing {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 142px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-device {
    min-height: 560px;
  }

  .tilt-right {
    transform: rotate(3deg);
  }

  .hero-preview {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 20px;
  }

  .workflow,
  .taste,
  .closing {
    min-height: auto;
  }

  .taste-media {
    order: 2;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 14px;
    right: 12px;
    left: 12px;
    height: 62px;
    padding: 0 8px 0 15px;
    border-radius: 20px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-logo {
    height: 26px;
  }

  .topbar-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .topbar-cta svg {
    display: none;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 54px;
  }

  h1,
  h2 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .button {
    width: 100%;
  }

  .phone-large,
  .phone-medium {
    --phone-width: min(355px, 88vw);
  }

  .phone-pair {
    flex-direction: column;
    gap: 28px;
  }

  .raised {
    margin: 0;
  }

  .hero-preview,
  .step,
  .store-actions a {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    display: block;
    padding: 24px;
  }

  .workflow,
  .taste,
  .closing {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .workflow-grid,
  .taste,
  .closing {
    gap: 38px;
  }

  .step {
    grid-template-columns: 56px 1fr;
    min-height: 120px;
    padding: 22px;
  }

  .step-index {
    display: none;
  }

  .step-icon {
    width: 52px;
    height: 52px;
  }

  .step strong {
    font-size: 21px;
  }

  .taste-media {
    min-height: 580px;
  }

  .taste-media .phone {
    margin: 0 auto;
  }

  .cinema-band {
    top: 17%;
    right: -30%;
    left: -30%;
  }

  .feature-list article {
    gap: 18px;
  }

  .line-icon {
    width: 56px;
    height: 56px;
  }

  .feature-list strong,
  .store-actions strong {
    font-size: 22px;
  }

  .store-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .app-summary {
    align-items: flex-start;
    gap: 18px;
  }

  .app-summary img {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }

  .store-actions a {
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    min-height: 112px;
  }

  .store-icon {
    width: 52px;
    height: 52px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* =========================================================================
   MOTION
   One signature hero load + understated scroll reveals. All motion respects
   prefers-reduced-motion via the block below (which strips animations and
   transitions entirely; initial-state classes also shed their hidden state
   immediately via a no-transition fallback).
   ========================================================================= */

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hero load choreography. CSS-only (no JS dependency) so the hero is never
   blank if scripts are slow/blocked. Each child fades up with a stagger,
   landing on its natural position. */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .hero-backdrop,
.hero .hero-copy,
.hero .hero-device {
  /* transform + opacity are already GPU-composited in modern engines; will-change
     would keep the compositor layer pinned for the page's lifetime — avoid. */
  animation: hero-rise 700ms var(--ease-out-expo) both;
}
.hero .hero-backdrop { animation-delay: 80ms; }
.hero .hero-copy     { animation-delay: 220ms; }
.hero .hero-device   { animation-delay: 360ms; }

/* Hero phone: subtle hover lift to reinforce "tactile device". */
.hero-device .phone {
  transition:
    transform 280ms var(--ease-out-quart),
    box-shadow 280ms var(--ease-out-quart);
}
@media (hover: hover) {
  .hero-device .phone:hover {
    transform: translateY(-4px);
  }
}

/* Scroll reveals: workflow, taste, closing. Progressive enhancement: sections
   are visible by default; only when JS adds .js-reveal-ready to <html> do they
   start hidden and wait for IntersectionObserver to set .is-in-view. This way
   a JS failure or NoScript user still sees everything. */
.js-reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease-out-expo),
    transform 600ms var(--ease-out-expo);
}
.js-reveal-ready .reveal-on-scroll.is-in-view {
  opacity: 1;
  transform: none;
}

/* Workflow: smooth crossfade for the text fields that swap when a step is clicked. */
#workflow-query,
#workflow-title-card,
.add-request {
  transition: opacity 200ms var(--ease-out-quart);
}
.workflow-text-leaving {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  /* Make sure hidden initial states do NOT remain hidden when motion is off. */
  .hero .hero-backdrop,
  .hero .hero-copy,
  .hero .hero-device,
  .js-reveal-ready .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------------
   Product site sections (PLX-282): the page grew from the iPhone
   landing page into the site for Drovie as a whole. New sections reuse
   the tokens above; nothing here changes the original sections.
   ------------------------------------------------------------------ */

.eyebrow {
  margin: 0 0 22px;
  color: var(--orange-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.taste-copy .eyebrow {
  margin: 0 0 22px;
  color: var(--orange-2);
  font-size: 14px;
  line-height: 1.4;
}

/* Journey: the five stages a request goes through */
.journey,
.admin,
.install,
.faq {
  padding-top: 116px;
  padding-bottom: 116px;
}

.journey {
  background: linear-gradient(180deg, #050403, #0b0703 60%, #080604);
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.journey-track::before {
  position: absolute;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--line) 50% 100%);
}

.stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 6px;
  text-align: center;
}

.stage strong {
  margin-top: 14px;
  font-size: 19px;
}

.stage small {
  max-width: 220px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.stage-dot {
  width: 64px;
  height: 64px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #0b0906 radial-gradient(circle, rgb(255 255 255 / 0.18) 0 6px, transparent 7px);
}

.stage.done .stage-dot {
  border-color: var(--orange);
  background:
    #0b0906
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff850d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
    center / 26px no-repeat;
}

.stage-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #0b0906 calc(100% - 5px), transparent calc(100% - 4px)),
    conic-gradient(var(--orange) calc(var(--p) * 1%), rgb(255 255 255 / 0.14) 0);
  box-shadow: 0 0 40px rgb(255 133 13 / 0.35);
}

.stage-ring b {
  font-size: 15px;
}

.stage.live strong {
  color: var(--orange-2);
}

/* Admin grid */
.admin {
  background: linear-gradient(180deg, #080604, #050403);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.admin-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-grid h3 {
  margin: 0;
  font-size: 21px;
}

.admin-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Install */
.install {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
  background:
    radial-gradient(circle at 85% 30%, rgb(255 126 18 / 0.12), transparent 30rem),
    #050403;
}

.install-copy p {
  margin: 26px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.5;
}

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

.install-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  counter-increment: step;
}

.install-steps li::before {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-hot);
  border-radius: 50%;
  color: var(--orange-2);
  font-weight: 800;
  content: counter(step);
}

.install-steps strong {
  font-size: 18px;
}

.install-steps span {
  color: var(--muted);
  line-height: 1.5;
}

.install-steps code,
.faq code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-strong);
  font-size: 0.92em;
  white-space: nowrap;
}

.terminal-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.terminal-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.terminal-bar > .terminal-label {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d0b09;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar > span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
}

.copy-button {
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--line-hot);
}

.terminal pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #f4ece0;
  font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal .c {
  color: var(--orange-2);
}

.works-with {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.works-with h3 {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  font-weight: 700;
}

.works-with ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.works-with li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
}

.works-with p {
  margin: 16px 0 0;
  color: var(--soft);
}

/* FAQ */
.faq {
  background: #080604;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 48px;
}

.faq details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::after {
  float: right;
  color: var(--orange);
  content: "+";
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq details a {
  color: var(--orange-2);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .install,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
  }

  .journey-track::before {
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--orange) 0 50%, var(--line) 50% 100%);
  }

  .stage {
    grid-template-columns: 64px 1fr;
    justify-items: start;
    column-gap: 20px;
    padding: 0 0 26px;
    text-align: left;
  }

  .stage > :first-child {
    grid-row: span 2;
  }

  .stage strong {
    margin-top: 8px;
  }

  .stage small {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .journey,
  .admin,
  .install,
  .faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .terminal pre {
    padding: 16px;
    font-size: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
