/* Shared sales and setup presentation, matched to relabdevelopment.com: black, white, Poppins.
   Poppins is self-hosted from /fonts (SIL OFL); no remote fonts, trackers or framework downloads. */
@import url('/setup.css');

@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #fff;
  --muted: #a8a8a8;
  --faint: #7d7d7d;
  --line: #2b2b2b;
  --film: #111;
  /* The single call-to-action colour: a brighter version of the site's Buy Now blue (#315ca8),
     lifted so it holds up on black. Primary button only, so it is the one thing in this colour. */
  --cta: #2c68fb;
  --cta-hover: #1f58e6;
  /* The orange-to-pink of the relabdevelopment.com announcement bar. Used once, as the top edge. */
  --brand-edge: linear-gradient(90deg, #ffb700 0%, #f1069c 100%);
  --sans: Poppins, "Helvetica Neue", Arial, sans-serif;
  /* Film width follows window height on desktop so film, button and price stay above the fold. */
  --film-w: min(1120px, max(560px, (86.6svh - 262px) * 16 / 9));
  --page: 1120px;
  --gutter: 24px;
  font-family: var(--sans);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body::before { content: ''; display: block; height: 3px; background: var(--brand-edge); }
::selection { background: var(--ink); color: var(--bg); }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(100% - var(--gutter) * 2, var(--page)); margin-inline: auto; }

/* Header: the site's white logo and uppercase nav */
.site-header { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: auto; height: 34px; }
.nav-link { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }

/* Hero */
.hero { text-align: center; padding-top: clamp(4px, 1.6vh, 32px); }
.hero-sub { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; }
h1 { font-weight: 600; font-size: clamp(34px, min(4.6vw, 6.2svh), 72px); line-height: 1.08; letter-spacing: -.035em; margin: 0 auto clamp(20px, 3vh, 32px); max-width: 15em; text-wrap: balance; }

/* Film retains the approved 16:9 frame for the poster and player. */
.film { position: relative; width: min(100%, var(--film-w)); margin-inline: auto; aspect-ratio: 16 / 9; background: var(--film); border: 1px solid #262626; border-radius: 2px; overflow: hidden; text-align: left; }
.film.has-video { border: 0; background: #000; }
.film iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: var(--film); cursor: pointer; display: grid; place-items: center; }
.film-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-poster .film-play { position: relative; background: #0009; }
.film-poster:focus-visible { outline-offset: -4px; }
.film video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.film-title { position: absolute; top: 20px; left: 24px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #cfcfcf; }
.film-note { position: absolute; left: 24px; bottom: 18px; font-size: 12px; color: var(--faint); }
.film-play { width: 78px; height: 78px; border: 2px solid #ffffff8c; border-radius: 50%; display: grid; place-items: center; }
.film-play::after { content: ''; margin-left: 6px; border-left: 18px solid #ffffffb3; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* Offer: one solid button, price written beside it */
.offer { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(20px, 3vh, 28px); text-align: left; }
.offer form { margin: 0; flex: none; }
.primary-button { border: 2px solid var(--cta); border-radius: 2px; background: var(--cta); color: #fff; min-height: 54px; padding: 0 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.primary-button:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.offer-terms { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); max-width: 25em; }
.offer-terms strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* Benefits */
.benefits { margin-top: clamp(72px, 11vh, 128px); }
.benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.benefits li { border-top: 1px solid var(--line); padding-top: 22px; }
.benefits h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 8px; }
.benefits p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 30ch; }

/* Questions */
.questions { margin-top: clamp(72px, 11vh, 120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.questions h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 0; padding-top: 12px; }
.question-list { grid-column: 2 / 4; border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { font-size: 16px; font-weight: 500; line-height: 1.45; padding: 18px 36px 18px 0; cursor: pointer; list-style: none; position: relative; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: '+'; position: absolute; right: 2px; top: 15px; font-size: 22px; font-weight: 400; }
.question-list details[open] summary::after { content: '–'; }
.question-list summary:hover { text-decoration: underline; }
.question-list details p { margin: 0 0 22px; max-width: 60ch; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Footer and local-only preview bar */
.site-footer { margin-top: clamp(80px, 12vh, 136px); padding: 22px 0 80px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }
.preview-bar { position: fixed; z-index: 10; left: 16px; bottom: 16px; display: flex; gap: 14px; align-items: baseline; padding: 9px 13px; background: #000; border: 1px solid #555; font-size: 12px; color: var(--muted); }
.preview-bar strong { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.skip-link { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--bg); z-index: 20; }
.skip-link:focus { top: 12px; }

@media (max-width: 760px) {
  .benefits ul { grid-template-columns: 1fr; gap: 28px; }
  .questions { grid-template-columns: 1fr; }
  .questions h2 { padding: 0 0 16px; }
  .question-list { grid-column: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header { height: 60px; }
  .logo img { height: 26px; }
  .hero { padding-top: 6px; }
  .hero-sub { font-size: 11px; letter-spacing: .12em; }
  h1 { font-size: clamp(30px, 8.4vw, 38px); margin-bottom: 20px; }
  /* Full-bleed film on phones. */
  .film { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); border-width: 1px 0; border-radius: 0; }
  .film-title { top: 14px; left: 16px; font-size: 10px; }
  .film-note { left: 16px; bottom: 12px; font-size: 10px; }
  .film-play { width: 58px; height: 58px; }
  .film-play::after { margin-left: 5px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .offer { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; text-align: center; }
  .primary-button { width: 100%; }
  .offer-terms { max-width: none; }
  .offer-terms strong { font-size: 17px; }
  .benefits, .questions { margin-top: 60px; }
  .site-footer { margin-top: 64px; padding-bottom: 88px; font-size: 12px; }
  .preview-bar { left: 10px; right: 10px; bottom: 10px; flex-wrap: wrap; gap: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
