/* Palette pulled from the app's Primary Colors asset catalog */
:root {
  --bg: #0D1B2A;          /* backgroundDarkBlack (dark) */
  --bg-raised: #14283A;
  --slate: #2E424F;       /* backgroundPrimary (dark) */
  --nardo: #A6B8C1;       /* nardoGray */
  --accent: #BDC5F0;      /* backgroundPrimary (default) */
  --text: #FEFFFF;        /* fontPrimary (dark) */
  --text-dim: #A6B8C1;
  --line: rgba(166, 184, 193, 0.16);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.04; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
p { margin: 0; }

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 34em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--small { padding: 9px 18px; font-size: 0.9rem; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; min-width: 0; font-size: 0.9rem; color: var(--text-dim); }
.nav__links > a, .nav__links > details { flex: 0 0 auto; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links .btn { color: var(--bg); }
.nav__links a[aria-current="page"]:not(.btn) { color: var(--text); }
.nav__dropdown { display: none; position: relative; }
.nav__links--compact > a:not(.btn) { display: none; }
.nav__links--compact .nav__dropdown { display: block; }
.nav__dropdown summary { list-style: none; cursor: pointer; color: var(--text); }
.nav__dropdown summary::-webkit-details-marker { display: none; }
.nav__dropdown summary::after { content: "⌄"; margin-left: 6px; }
.nav__dropdown[open] summary::after { content: "⌃"; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 180px;
  display: flex; flex-direction: column; gap: 0; padding: 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-raised); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.nav__dropdown-menu a { padding: 10px 12px; border-radius: 8px; color: var(--text-dim); }
.nav__dropdown-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nav__dropdown-menu a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero__glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(189, 197, 240, 0.22), rgba(46, 66, 79, 0.18) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 120px var(--gutter) 80px;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0) 25%, rgba(13, 27, 42, 0.6) 52%, rgba(13, 27, 42, 0.92) 78%),
    linear-gradient(180deg, rgba(13, 27, 42, 0.35) 0%, rgba(13, 27, 42, 0) 25%, rgba(13, 27, 42, 0) 75%, var(--bg) 100%),
    url("assets/hero-porsche.jpg") 22% center / cover no-repeat;
}
.hero__copy { width: min(540px, 100%); margin-right: clamp(0px, 4vw, 60px); text-align: left; }
.hero__copy h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.hero__copy .lede { margin-top: 28px; }

/* Phone frame */
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  background: linear-gradient(160deg, var(--slate), var(--bg-raised));
  box-shadow:
    0 0 0 8px #050c14,
    0 0 0 9px rgba(166, 184, 193, 0.28),
    0 50px 100px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone::before { /* dynamic island */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 28%;
  height: 24px;
  transform: translateX(-50%);
  background: #050c14;
  border-radius: 999px;
  z-index: 2;
}
.phone video, .phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__label { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--text-dim); }
.phone:not(.phone--hero):not(.phone--img):not(.has-video)::after { /* play glyph placeholder */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -64px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FEFFFF'%3E%3Cpath d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.phone:not(.phone--hero):not(.phone--img):not(.has-video) .phone__label { margin-top: 56px; }

/* Statement */
.statement {
  padding: 140px var(--gutter) 100px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.statement span { color: var(--nardo); }

/* How it works */
.how { padding: 0 var(--gutter) 80px; max-width: var(--max); margin: 0 auto; }
.how__head { text-align: center; margin-bottom: 56px; }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 8vw, 120px);
  padding: 36px 0;
}
.step__num { display: block; font-size: 0.9rem; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 20px; }
.step__copy p { margin-top: 22px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-dim); max-width: 26em; }
.step__media { display: flex; justify-content: center; }

/* left-aligned: text left, video right. right-aligned: swap sides and align text right */
.step--left .step__copy { grid-column: 1; text-align: left; }
.step--left .step__media { grid-column: 2; }
.step--right .step__copy { grid-column: 2; grid-row: 1; text-align: right; justify-self: end; }
.step--right .step__copy p { margin-left: auto; }
.step--right .step__media { grid-column: 1; grid-row: 1; }

/* stagger: step 2 rises so its frame overlaps step 1's, phones pulled toward the centre */
.step--left .step__media { justify-content: flex-start; }
.step--right .step__media { justify-content: flex-end; position: relative; z-index: 1; }
.step--right { margin-top: -220px; }
.step--left .step__copy { position: relative; top: -90px; }

/* Custom finishes */
.finishes { padding: 50px var(--gutter); background: linear-gradient(180deg, transparent, rgba(46, 66, 79, 0.28) 50%, transparent); }
.finishes__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 8vw, 120px);
}
.finishes__media { display: flex; justify-content: center; }
.finishes__media--pair { gap: clamp(14px, 2.4vw, 28px); align-items: flex-start; }
.finishes__media--pair .phone { width: min(230px, 40vw); border-radius: 36px; box-shadow: 0 0 0 6px #050c14, 0 0 0 7px rgba(166, 184, 193, 0.28), 0 40px 80px -20px rgba(0, 0, 0, 0.7); }
.finishes__media--pair .phone::before { height: 20px; top: 10px; }
.phone--img { aspect-ratio: 9 / 19.5; }
.phone--img img { object-fit: contain; background: var(--bg); }
.finishes__media--pair .phone + .phone { margin-top: 64px; }
.finishes__copy .lede { margin-top: 24px; }

/* Inner pages */
.page-hero { position: relative; padding: 200px var(--gutter) 100px; text-align: center; overflow: hidden; }
.page-hero__copy { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.page-hero__copy .lede { margin-top: 28px; }
.fine { margin-top: 18px; font-size: 0.85rem; color: var(--text-dim); }
.reqs { padding: 40px var(--gutter) 160px; }
.reqs__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reqs__grid > div { padding: 32px; border-radius: 24px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.reqs__grid h3 { font-size: 1.4rem; }
.reqs__grid p { margin-top: 12px; color: var(--text-dim); }

.pricing { padding: 0 var(--gutter) 140px; }
.pricing__list { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.tier {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 48px 0;
}
.tier__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.tier__pill { padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.tier__badge { padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bg); background: var(--accent); }
.tier h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.2; font-weight: 600; }
.tier__desc { margin-top: 14px; color: var(--text-dim); font-size: 1rem; }
.tier__list { list-style: none; margin: 0; padding: 0 0 0 clamp(28px, 4vw, 56px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tier__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; line-height: 1.4; }
.tier__list svg { flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; color: var(--accent); background: rgba(189, 197, 240, 0.14); }
.pricing__cta { text-align: center; margin-top: 120px; }
.pricing__cta .lede { margin: 20px auto 36px; }

/* Download */
.download {
  position: relative;
  padding: 160px var(--gutter);
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(189, 197, 240, 0.16), transparent 60%);
  border-top: 1px solid var(--line);
}
.download .lede { margin: 20px auto 40px; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer img { height: 20px; width: auto; opacity: 0.8; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.step__media.reveal { transition-delay: 0.12s; }

@media (max-width: 760px) {
  .nav__links { gap: 18px; }
  .step { grid-template-columns: 1fr; gap: 36px; padding: 36px 0; }
  .step--right { margin-top: 0; }
  .step--left .step__copy { top: 0; }
  .step--left .step__media, .step--right .step__media { justify-content: center; }
  .step .step__copy, .step .step__media { grid-column: 1 !important; grid-row: auto !important; text-align: left !important; justify-self: stretch !important; }
  .step--right .step__copy p { margin-left: 0; }
  .how__head { margin-bottom: 32px; }
  .finishes__inner { grid-template-columns: 1fr; }
  .finishes__media { order: 2; }
  .reqs__grid { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .tier__list { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .page-hero { padding-top: 150px; }
  .statement { padding: 100px var(--gutter) 70px; }
  .hero {
    align-items: flex-end; justify-content: flex-start; padding-top: 38vh;
    background:
      linear-gradient(180deg, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0) 20%, rgba(13, 27, 42, 0.55) 45%, var(--bg) 70%),
      url("assets/hero-porsche.jpg") 30% top / auto 62vh no-repeat, var(--bg);
  }
  .hero__copy { margin-right: 0; }
  .footer { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}


/* Waitlist */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.waitlist { padding: 0 var(--gutter) 140px; }
.waitlist__card {
  max-width: 760px; margin: 0 auto; padding: 56px 40px; text-align: center;
  border-radius: 28px; background: linear-gradient(170deg, #1d3248, var(--bg-raised));
  box-shadow: inset 0 0 0 1px rgba(189, 197, 240, 0.28);
  display: flex; flex-direction: column; align-items: center;
}
.waitlist__card .lede { margin-top: 18px; }
.waitlist__form { display: flex; gap: 12px; width: 100%; max-width: 480px; margin-top: 36px; }
.waitlist__form input {
  flex: 1; min-width: 0; padding: 15px 22px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.06); color: var(--text); font: inherit; font-size: 1rem;
  box-shadow: inset 0 0 0 1px var(--line);
}
.waitlist__form input::placeholder { color: var(--text-dim); }
.waitlist__form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist__form .btn { border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
@media (max-width: 560px) {
  .waitlist__card { padding: 40px 24px; }
  .waitlist__form { flex-direction: column; }
}

/* Partnerships hero: photo with text overlay, text on the right */
.page-hero--image {
  min-height: 85vh; min-height: 85svh;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 120px var(--gutter) 80px; text-align: left;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0) 28%, rgba(13, 27, 42, 0.62) 55%, rgba(13, 27, 42, 0.93) 80%),
    linear-gradient(180deg, rgba(13, 27, 42, 0.4) 0%, rgba(13, 27, 42, 0) 25%, rgba(13, 27, 42, 0) 70%, var(--bg) 100%),
    url("assets/partnerships-hero-web.jpg") 20% 40% / cover no-repeat;
}
.page-hero--image .page-hero__copy { width: min(540px, 100%); margin: 0 clamp(0px, 4vw, 60px) 0 0; align-items: flex-start; }
.page-hero--image h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
@media (max-width: 760px) {
  .page-hero--image {
    align-items: flex-end; justify-content: flex-start; padding-top: 38vh;
    background:
      linear-gradient(180deg, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0) 20%, rgba(13, 27, 42, 0.55) 45%, var(--bg) 70%),
      url("assets/partnerships-hero-web.jpg") 30% top / auto 62vh no-repeat, var(--bg);
  }
  .page-hero--image .page-hero__copy { margin: 0; }
}

/* Tiers with an image: text and checklist stacked on one side, image on the other */
.tier--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.tier--media .tier__body { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.tier--media .tier__list { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
.tier__media { display: flex; align-items: center; justify-content: center; }
.tier__media img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line); }
.tier__media--tall { align-items: flex-start; }
.tier__media--tall img {
  height: 560px; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  box-shadow: 0 0 0 1px var(--line);
}
.tier--flip .tier__media { order: -1; }
@media (max-width: 760px) {
  .tier--media { grid-template-columns: 1fr; }
  .tier--flip .tier__media { order: 0; }
  .tier__media--tall img { height: 380px; }
}

/* Small numbered headers, matching the home page steps */
.tier__num { display: block; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.tier__num span { margin-left: 12px; color: var(--text-dim); letter-spacing: 0.1em; }
.tier__num span::before { content: "\00B7"; margin-right: 12px; }

/* Cardless tiers: give the image the bigger share of the row */
.tier--media { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.tier--media.tier--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.tier--media .tier__body { gap: 28px; }
@media (max-width: 760px) {
  .tier { padding: 36px 0; }
  .tier--media, .tier--media.tier--flip { grid-template-columns: 1fr; }
  .tier--media .tier__body { display: contents; }
  .tier--media .tier__main { order: 0; }
  .tier--media .tier__media { order: 1; padding-top: 24px; border-top: 1px solid var(--line); }
  .tier--media .tier__list { order: 2; padding: 0; border: 0; }
  .tier--media .tier__ideal { order: 3; }
}

/* Dividers between tiers */
.tier + .tier { border-top: 1px solid var(--line); }

/* Section header above the tiers */
.pricing__head { max-width: 760px; margin: 0 auto; padding: 40px 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pricing__head .lede { margin-top: 22px; }

/* Storefront tier: two full app screens side by side */
.tier__media--pair { gap: clamp(14px, 2.4vw, 28px); align-items: flex-start; }
.tier__media--pair .phone { width: min(250px, 42%); border-radius: 36px; box-shadow: 0 0 0 6px #050c14, 0 0 0 7px rgba(166, 184, 193, 0.28), 0 40px 80px -20px rgba(0, 0, 0, 0.7); }
.tier__media--pair .phone + .phone { margin-top: 64px; }
.phone--full::before { display: none; }
.phone--full { aspect-ratio: auto; display: block; }
.phone--full img { position: static; height: auto; object-fit: fill; display: block; background: none; }
@media (max-width: 760px) { .tier__media--pair .phone { width: min(200px, 44%); } }

/* "Ideal for" line under each tier's checklist */
.tier__ideal { font-size: 0.95rem; line-height: 1.5; color: var(--text-dim); }
.tier__ideal strong { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Footer legal links */
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--text); }

/* Legal pages */
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal__updated { margin-top: 14px; color: var(--text-dim); font-size: 0.95rem; }
.legal__body { margin-top: 48px; color: var(--text-dim); font-size: 1.05rem; line-height: 1.75; }
.legal__body h2 { margin: 48px 0 14px; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); }
.legal__body h3 { margin: 32px 0 10px; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); }
.legal__body p + p, .legal__body ul, .legal__body ol { margin-top: 16px; }
.legal__body ul, .legal__body ol { padding-left: 1.4em; }
.legal__body li + li { margin-top: 8px; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__todo { padding: 20px 24px; border-radius: 16px; border: 1px dashed var(--line); }

/* Waitlist consent */
.waitlist__consent { margin-top: 16px; font-size: 0.85rem; color: var(--text-dim); }
.waitlist__consent a { text-decoration: underline; text-underline-offset: 3px; }
.waitlist__consent a:hover { color: var(--text); }

/* Imported policy text */
.legal__body p, .legal__body ul, .legal__body ol { margin-top: 16px; }
.legal__body h2 + p, .legal__body h2 + ul, .legal__body h3 + p, .legal__body h3 + ul { margin-top: 0; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__section { scroll-margin-top: 100px; }
.legal__section:first-of-type h2 { margin-top: 0; }
.legal__toc { padding: 28px 32px; border-radius: 20px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.legal__toc h2 { margin: 0 0 14px; font-size: 1.1rem; }
.legal__toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; font-size: 0.95rem; line-height: 1.5; }
.legal__toc li { break-inside: avoid; margin-top: 6px; }
.legal__toc a { color: var(--text-dim); text-decoration: none; }
.legal__toc a:hover { color: var(--accent); }
.legal__contact { margin-top: 18px; padding: 20px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.legal__contact p { margin-top: 6px; }
.legal__contact p:first-child { margin-top: 0; }
@media (max-width: 760px) { .legal__toc ol { columns: 1; } }

/* Legal layout: sticky sidebar (documents + sections) beside the text */
.legal { max-width: 1120px; margin: 0 auto; padding: 140px var(--gutter) 120px; display: flex; flex-direction: column; gap: 48px; align-items: center; }
.legal__main { width: min(720px, 100%); min-width: 0; }
.legal__side { width: 100%; }
.legal__side ul, .legal__side ol { list-style: none; margin: 0; padding: 0; }
.legal__side-label { margin-bottom: 18px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.legal__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border-bottom: 1px solid var(--line); }
.legal__doc { display: block; padding: 10px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 0.95rem; font-weight: 600; color: var(--text-dim); transition: color 0.2s; }
.legal__doc:hover { color: var(--text); }
.legal__doc[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.legal__contents > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--text); font-size: 0.9rem; cursor: pointer; }
.legal__contents > summary::-webkit-details-marker { display: none; }
.legal__contents > summary::after { content: "⌄"; color: var(--text-dim); font-size: 1.1rem; }
.legal__contents[open] > summary::after { content: "⌃"; }
.legal__contents > .legal__sections { display: none; margin: 0 0 0 4px; border-left: 1px solid var(--line); }
.legal__contents[open] > .legal__sections { display: block; }
.legal__sections a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 1px solid transparent; font-size: 0.85rem; line-height: 1.4; color: var(--text-dim); transition: color 0.2s, border-color 0.2s; }
.legal__sections a:hover { color: var(--text); }
.legal__sections a.is-active { color: var(--accent); border-left-color: var(--accent); }
.legal__toc { display: none; }
@media (max-width: 960px) {
  .legal { gap: 32px; padding-top: 120px; }
}
@media (max-width: 560px) { .legal__tabs { gap: 16px; } }

/* Contact page */
.contact { max-width: 640px; margin: 0 auto; padding: 150px var(--gutter) 120px; }
.contact__head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; }
.contact__head .lede { margin-top: 18px; }
.contact__card { padding: 36px; border-radius: 28px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23A6B8C1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-raised); color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(166, 184, 193, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.parts-request-fields, .wheel-details { display: none; }
.parts-request-fields.is-visible, .wheel-details.is-visible { display: block; }
.parts-request-fields { margin-bottom: 4px; padding: 20px 20px 4px; border-radius: 18px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.parts-request-title { margin-bottom: 16px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
#support-submit { width: 100%; margin-top: 8px; border: 0; cursor: pointer; font-family: inherit; }
#support-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.contact__backup { margin-top: 24px; text-align: center; font-size: 0.9rem; color: var(--text-dim); }
.contact__backup a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .contact__card { padding: 24px 20px; } .field-grid { grid-template-columns: 1fr; gap: 0; } }
.contact__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.pricing__cta { display: flex; flex-direction: column; align-items: center; }

/* App Store button with Apple logo */
.btn--store { display: inline-flex; align-items: center; gap: 10px; padding-left: 24px; }
.btn--store svg { width: 20px; height: 20px; margin-top: -2px; }

/* Android waitlist: no card, a divider separates it from the download hero */
.waitlist__card { background: none; box-shadow: none; border-radius: 0; padding: 72px 0 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .waitlist__card { padding: 56px 0 0; } }

/* a little more room between each checklist and its "Ideal for" line */
.tier__ideal { margin-top: 16px; }
