/*
  style.css
  Midnight: a near-black page, heavy white headlines, one electric blue accent, glass cards and
  thin rings behind the video. Phone first. No external fonts, no images, no framework.
  Every glow, ring and icon is drawn here in CSS (gradients and small inline SVG shapes).

  COLORS YOU MAY CHANGE (all in :root, directly below)
  --paper          page background
  --band           the tinted bands: who this is for, the call, the calendar
  --card           glass cards and boxes (white with very little opacity)
  --line           thin lines and card borders
  --ink            headlines and strong text
  --text           running text
  --muted          secondary text
  --accent         highlighted words, links, check marks, labels and icons
  --accent-fill    the play button and the round icon on the buttons
  --button         button color
  --button-ink     text on the buttons
  --warm           the card "This is not for you": its top border, heading and crosses
  --poster-top     video poster, top color
  --poster-bottom  video poster, bottom color (the play button text is white on these two)
  --glow           the soft blue light behind the top of the page
  --calendar       the calendar area while the calendar loads (Calendly's own calendar is white)
  Contrast rule: every text color needs at least 4.5 to 1 against the background it sits on,
  and so does --button-ink against --button. Check every change with a contrast checker.
*/

:root {
  color-scheme: dark;
  --paper: #0a0b10;
  --band: #0e1016;
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #f5f7fb;
  --text: #c8cdd8;
  --muted: #979fb0;
  --accent: #4d8eff;
  --accent-hover: #8db6ff;
  --accent-soft: rgba(77, 142, 255, 0.13);
  --accent-line: rgba(77, 142, 255, 0.42);
  --accent-fill: #2563eb;
  --button: #ffffff;
  --button-hover: #dce7ff;
  --button-ink: #0a0b10;
  --warm: #e59a62;
  --warm-soft: rgba(229, 154, 98, 0.1);
  --poster-top: #16255a;
  --poster-bottom: #070a16;
  --glow: rgba(37, 99, 235, 0.34);
  --calendar: #f7f8fb;
  --fill-bg: #fff1b8;
  --fill-ink: #2b2100;
  --fill-line: #e0a412;
  --focus: #9cc0ff;
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1.5rem 3rem -1.75rem rgba(0, 0, 0, 0.85);
  --display: "Segoe UI Variable Display", "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --column: 45rem;
  --wide: 53.75rem;
  --gutter: 1.25rem;
  --radius: 1.25rem;
  /* Icon shapes, used as masks so they take the color variables. */
  --i-ring-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.6'/%3E%3Cpath d='M8 12.3l2.7 2.7 5.3-5.4'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.85 6 6.55.75-4.85 4.5 1.3 6.5L12 17.1l-5.85 3.25 1.3-6.5L2.6 9.35l6.55-.75z'/%3E%3C/svg%3E");
  --i-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='a'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cpath d='M7 12h9.6M12.6 7.8l4.2 4.2-4.2 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' mask='url(%23a)'/%3E%3C/svg%3E");
  --i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='a'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cpath d='M8.6 15.4l6.4-6.4M10 8.6h5.4V14' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' mask='url(%23a)'/%3E%3C/svg%3E");
  --i-yes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M1 12a11 11 0 1 0 22 0a11 11 0 1 0-22 0zM6.2 12.3l1.7-1.7 2.5 2.5 5.7-5.7 1.7 1.7-7.4 7.4z'/%3E%3C/svg%3E");
  --i-no: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M1 12a11 11 0 1 0 22 0a11 11 0 1 0-22 0zM14.83 7.47l1.7 1.7-2.83 2.83 2.83 2.83-1.7 1.7-2.83-2.83-2.83 2.83-1.7-1.7 2.83-2.83-2.83-2.83 1.7-1.7 2.83 2.83z'/%3E%3C/svg%3E");
  --i-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M0 24V13.7C0 6.2 4.4 1.4 12 0l1.3 3.4C8.8 5 6.6 7.8 6.4 11.4H12V24zM18.7 24V13.7c0-7.5 4.4-12.3 12-13.7L32 3.4c-4.5 1.6-6.7 4.4-6.9 8h5.6V24z'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h14M12.5 5.5l6.5 6.5-6.5 6.5'/%3E%3C/svg%3E");
  /* A quiet sketch of a month, shown in the calendar area until the calendar itself is there. */
  --i-month: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 294 262' fill='%232563eb'%3E%3Cdefs%3E%3Cpattern id='w' y='34' width='42' height='6' patternUnits='userSpaceOnUse'%3E%3Crect x='13' width='16' height='6' rx='3'/%3E%3C/pattern%3E%3Cpattern id='d' y='52' width='42' height='42' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='21' cy='21' r='13'/%3E%3C/pattern%3E%3C/defs%3E%3Cg fill-opacity='.1'%3E%3Crect x='97' width='100' height='12' rx='6'/%3E%3Crect y='34' width='294' height='6' fill='url(%23w)'/%3E%3Crect y='52' width='294' height='210' fill='url(%23d)'/%3E%3C/g%3E%3Cg fill-opacity='.22'%3E%3Ccircle cx='105' cy='115' r='13'/%3E%3Ccircle cx='189' cy='115' r='13'/%3E%3Ccircle cx='63' cy='157' r='13'/%3E%3Ccircle cx='147' cy='157' r='13'/%3E%3Ccircle cx='105' cy='199' r='13'/%3E%3Ccircle cx='231' cy='199' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(64rem 38rem at 50% -8rem, var(--glow), transparent 72%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.97rem + 0.45vw, 1.1875rem);
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.1rem + 3.9vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 1.05rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.25em; line-height: 1.25; letter-spacing: -0.015em; }

/* One or two words of a headline between em tags take the accent color. */
h1 em, h2 em { font-style: normal; color: var(--accent); }

/* Long words break cleanly instead of pushing the page wider. */
h1, h2, h3, li, dd, summary, blockquote, figcaption, .cta, .button-link {
  overflow-wrap: anywhere;
  hyphens: auto;
}

p { margin: 1rem 0 0; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

strong { font-weight: 700; color: var(--ink); }

/* ---------- Focus: always visible. --focus switches per surface. ---------- */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Elements that only receive focus from the script show no ring. */
#booking-title:focus,
main:focus,
#consent:focus { outline: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Containers ---------- */

.wide,
.column {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.column { max-width: calc(var(--column) + 2 * var(--gutter)); }

/* main holds the decoration of the first screen; it never makes the page wider. */
main {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  overflow-x: clip;
}

main > section { padding-top: clamp(3.75rem, 8vw, 5.75rem); padding-bottom: clamp(3.75rem, 8vw, 5.75rem); }

/* Bands: a slightly lighter surface, lit from the top, with a thin line of light along its edge. */
.band {
  position: relative;
  background-color: var(--band);
  background-image: radial-gradient(50rem 22rem at 50% 0%, rgba(37, 99, 235, 0.1), transparent 70%);
  background-repeat: no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(44rem, 86%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  pointer-events: none;
}

/* Between the bands, a soft light that changes sides from block to block, and a hairline where two
   of these blocks meet. */
main > #problem,
main > #proof { background: radial-gradient(42rem 26rem at 100% 18%, rgba(37, 99, 235, 0.1), transparent 70%) no-repeat; }
main > #usps,
main > #faq { background: radial-gradient(42rem 26rem at 0% 24%, rgba(37, 99, 235, 0.1), transparent 70%) no-repeat; }
main > #usps,
main > #proof { position: relative; }
main > #usps::before,
main > #proof::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(44rem, 86%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

/* Every block below the first screen opens on the same centered axis as the hero:
   a blue point on a short line of light, the heading, the introduction. Running text stays left. */
main > section > .wide > h2,
main > section > .column > h2 { text-align: center; }
main > section > .wide > h2::before,
main > section > .column > h2::before {
  content: "";
  display: block;
  width: 5.5rem;
  height: 0.5rem;
  margin: 0 auto 1rem;
  background:
    radial-gradient(circle, var(--accent) 0 0.1875rem, transparent 0.25rem) center / 0.5rem 0.5rem no-repeat,
    linear-gradient(90deg, transparent, var(--accent-line), transparent) center / 100% 1px no-repeat;
}

.intro { max-width: 40rem; margin: 1rem auto 0; color: var(--muted); text-align: center; }

/* ---------- Text still to fill in ----------
   Every span with class fill-in is an instruction for the owner. Replace the whole span with your own text. */

.fill-in {
  background: var(--fill-bg);
  color: var(--fill-ink);
  outline: 2px dashed var(--fill-line);
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 0.2em;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* A long instruction inside a heading is easier to read at text size. */
h1 > .fill-in,
h2 > .fill-in,
h3 > .fill-in {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

/* Instructions in centered lines are tidy blocks, so the first screen stays compact. */
.wordmark > .fill-in,
.rating-line > .fill-in,
.subtitle > .fill-in,
.intro > .fill-in,
.booking .column > p > .fill-in,
.site-footer p > .fill-in {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}
.subtitle > .fill-in { font-size: 0.9375rem; }

/* Links whose address is not filled in yet (class set by app.js). */
.is-unfinished {
  outline: 2px dashed var(--fill-line);
  outline-offset: 2px;
}
/* Links with padding keep the marking inside their own box, clear of the line above. */
.text-link.is-unfinished,
#booking-link.is-unfinished { outline-offset: 0; }
.is-unfinished:focus-visible,
.text-link.is-unfinished:focus-visible,
#booking-link.is-unfinished:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Header and hero: one centered column ---------- */

.masthead {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.wordmark {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.wordmark > .fill-in { font-size: 0.8125rem; }

/* Optional review line next to the name, with one small decorative star. */
.rating-line {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.4375rem;
  min-width: 0;
  max-width: 36rem;
  margin: 0;
  padding: 0.3125rem 0.875rem 0.3125rem 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 1.125rem;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
}
.rating-line:empty { display: none; }
.rating-line::before {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background-color: var(--accent);
  -webkit-mask: var(--i-star) center / contain no-repeat;
  mask: var(--i-star) center / contain no-repeat;
}
.rating-line > .fill-in { margin: 0; }

main > .hero { padding-top: 1.75rem; padding-bottom: 1.5rem; text-align: center; }
.hero h1 > .fill-in { max-width: 45rem; margin-left: auto; margin-right: auto; font-size: 0.9375rem; line-height: 1.45; }

.subtitle {
  max-width: 38rem;
  margin: 1.125rem auto 0;
  color: var(--text);
  font-size: 1.0625em;
  line-height: 1.6;
}

/* Three fixed facts, each with a circled check. */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.375rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--accent);
  -webkit-mask: var(--i-ring-check) center / contain no-repeat;
  mask: var(--i-ring-check) center / contain no-repeat;
}
/* On a narrow phone the facts stack: one column, centered as a group, checks in one line. */
@media (max-width: 22.5em) {
  .hero-facts { display: grid; justify-content: center; justify-items: start; }
}

.hero .cta-row { margin-top: 1.5rem; }

@media (min-width: 45em) {
  .masthead { padding-top: 1rem; padding-bottom: 1rem; }
  .rating-line { font-size: 0.875rem; }
  .rating-line::before { width: 1rem; height: 1rem; }
  main > .hero { padding-top: 3.25rem; padding-bottom: 2.25rem; }
  .hero .wide { max-width: calc(65rem + 2 * var(--gutter)); }
  .subtitle { margin-top: 1.375rem; }
  .hero-facts { gap: 0.5rem 2rem; margin-top: 1.5rem; }
  .hero .cta-row { margin-top: 1.75rem; }
  h1 > .fill-in, h2 > .fill-in, h3 > .fill-in, .hero h1 > .fill-in { font-size: 1.0625rem; line-height: 1.5; }
}

/* ---------- Buttons ----------
   One recipe. .cta jumps to the calendar; .button-link looks the same and leaves the page.
   The round icon is drawn with a mask, so it follows --accent-fill. */

.cta-row { margin: 1.25rem 0 0; }

.cta,
.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.625rem 1rem;
  background: var(--button);
  color: var(--button-ink);
  border: 2px solid var(--button);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2.25rem -0.75rem rgba(77, 142, 255, 0.55);
  font-family: var(--sans);
  font-size: clamp(0.9375rem, 4.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cta::after,
.button-link::after {
  content: "";
  flex: none;
  width: 1.625rem;
  height: 1.625rem;
  background-color: var(--accent-fill);
  -webkit-mask: var(--i-go) center / contain no-repeat;
  mask: var(--i-go) center / contain no-repeat;
}
/* A link that opens a new tab gets an arrow that points out. */
.button-link::after {
  -webkit-mask-image: var(--i-out);
  mask-image: var(--i-out);
}
.cta:hover,
.button-link:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  color: var(--button-ink);
  box-shadow: 0 0.875rem 2.75rem -0.625rem rgba(77, 142, 255, 0.75);
}
.cta:active,
.button-link:active { transform: translateY(1px); }

@media (min-width: 35em) {
  .cta,
  .button-link { display: inline-flex; width: auto; padding-left: 1.5rem; padding-right: 0.875rem; }
}

.cta-note { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--muted); }

/* A long address used as link text breaks instead of running off the screen. */
.text-link { display: inline-block; max-width: 100%; padding-top: 0.75rem; padding-bottom: 0.75rem; font-weight: 600; overflow-wrap: anywhere; }

/* A closing question with a button: a glass panel with a soft light at the top. */
.cta-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem 1.375rem;
  background: radial-gradient(120% 90% at 50% 0%, var(--accent-soft), transparent 70%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  text-align: center;
}
.cta-lead {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.cta-block .cta-row { margin-top: 1.125rem; }

@media (min-width: 45em) {
  .cta-block { padding: 2rem 2rem 1.875rem; }
}

/* ---------- Video ----------
   Full width on a phone, at most 860 pixels on a large screen, centered under the headline.
   The 16 to 9 space is reserved in advance, so nothing moves when the player arrives.
   Thin rings sit behind the player; they never catch a click. */

main > .video { padding-top: 0.75rem; }

.player-wrap { position: relative; max-width: var(--wide); margin-left: auto; margin-right: auto; }
.player-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 300%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none'%3E%3Ccircle cx='150' cy='150' r='58' stroke='%236c9cff' stroke-opacity='.26' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='150' cy='150' r='74' stroke='%23fff' stroke-opacity='.09' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='150' cy='150' r='94' stroke='%23fff' stroke-opacity='.07' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='150' cy='150' r='118' stroke='%23fff' stroke-opacity='.055' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='150' cy='150' r='146' stroke='%23fff' stroke-opacity='.04' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg fill='%234d8eff'%3E%3Ccircle cx='210.6' cy='107.5' r='.6'/%3E%3Ccircle cx='61.7' cy='117.9' r='.5'/%3E%3Ccircle cx='260.9' cy='190.4' r='.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 52%, transparent 68%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 52%, transparent 68%);
  pointer-events: none;
}

.player {
  --focus: #ffffff;
  position: relative;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  background-color: var(--poster-bottom);
  background-image:
    radial-gradient(circle at 50% 47%, rgba(77, 142, 255, 0.4), transparent 38%),
    radial-gradient(130% 90% at 50% 0%, rgba(37, 99, 235, 0.32), transparent 62%),
    linear-gradient(160deg, var(--poster-top) 0%, var(--poster-bottom) 100%);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2rem 6rem -2rem rgba(37, 99, 235, 0.55);
}
/* A fine grid of dots on the poster, fading out toward the edges. */
.player::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.17) 1px, transparent 1.6px);
  background-position: center;
  background-size: 1.375rem 1.375rem;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 10%, transparent 78%);
  pointer-events: none;
}
/* With a still image from the owner: the image covers the frame, a dark veil keeps the button readable. */
.player.has-poster { background-size: cover; background-position: center; background-repeat: no-repeat; }
.player.has-poster::before {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(5, 8, 20, 0.5), transparent 45%),
    linear-gradient(to top, rgba(5, 8, 20, 0.8) 0%, rgba(5, 8, 20, 0.2) 50%, rgba(5, 8, 20, 0.35) 100%);
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
}

.player video,
.player iframe,
.player .player-target {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player video { background: #000000; }

/* Without the script, a plain link to a YouTube or Vimeo video in the noscript block fills the poster. */
.player noscript a {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-weight: 600;
}
.player noscript a:focus-visible { outline-offset: -5px; }

/* The play button only exists with the script running. */
.player-start { display: none; }
.js .player-start {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1rem;
  background: transparent;
  border: 0;
  border-radius: inherit;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

/* The disc stays round: on a narrow or zoomed phone it scales with the screen width instead of flattening. */
.player-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: min(4.5rem, 22vw);
  height: min(4.5rem, 22vw);
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--accent-fill);
  color: #ffffff;
  box-shadow: 0 0 0 0.5rem rgba(37, 99, 235, 0.22), 0 0 3rem 0.25rem rgba(59, 130, 246, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.player-icon svg { width: 36%; height: 36%; margin-left: 6%; }
.player-start:hover .player-icon { transform: scale(1.06); box-shadow: 0 0 0 0.625rem rgba(37, 99, 235, 0.28), 0 0 3.5rem 0.5rem rgba(59, 130, 246, 0.7); }

.player-label {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.player.has-poster .player-label {
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: rgba(5, 8, 20, 0.78);
}

/* Inside the player an outer ring would be cut off: a white ring on the inside instead. */
.player .player-start:focus-visible,
.player video:focus-visible,
.player iframe:focus-visible,
.player:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -5px;
}
.player video:focus-visible,
.player iframe:focus-visible { border-radius: 0; }
/* On a light still image of the owner's own, the white ring sits between two dark bands. */
.player.has-poster .player-start:focus-visible,
.player.has-poster:focus-visible { box-shadow: inset 0 0 0 8px rgba(5, 8, 20, 0.9); }

.player-loading {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0;
  padding: 0 1rem;
  transform: translateY(-50%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}
/* On a still image the loading line gets the same dark pill as the play label. */
.player.has-poster .player-loading {
  right: auto;
  left: 50%;
  width: -moz-max-content;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: rgba(5, 8, 20, 0.78);
  transform: translate(-50%, -50%);
}

.player-message {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(7, 10, 22, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-align: center;
}
.player-message:empty { padding: 0; border: 0; }
/* While a message shows (class set by app.js), the play button moves up, clear of the message strip.
   The tag for an unset video then gives way: the message says the same and the tag would touch the button. */
.player.has-message .player-start { padding-bottom: 3.5rem; }
.player.has-message .unset-tag { display: none; }

/* Tag on the poster while no video is set (added by app.js). */
.unset-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.125rem 0.5rem;
  background: var(--fill-bg);
  color: var(--fill-ink);
  outline: 2px dashed var(--fill-line);
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: none;
}
/* With very large text on a small screen the tag would cover the play button: it gives way. */
@media (max-width: 19.99em) {
  .unset-tag { display: none; }
}

/* Positioned, so the text sits above the light of the player and of the calendar frame, not under it. */
.below-video,
.booking-frame + .column { position: relative; }
.below-video { padding-top: 1.25rem; text-align: center; }
.video-length { max-width: 38rem; margin: 0 auto; font-size: 0.9375rem; color: var(--muted); }
.below-video .cta-row { margin-top: 1.25rem; }

@media (min-width: 48em) {
  .player-wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .player { border-radius: 1.25rem; }
  .player-icon { width: min(5.25rem, 22vw); height: min(5.25rem, 22vw); }
  .below-video { padding-top: 1.75rem; }
}

/* ---------- Who this is for, and who it's not for ----------
   Two glass cards of equal weight. Stacked on a phone, side by side from 45em, each point on a row of its own. */

.fit-grid { display: grid; gap: 1rem; margin-top: 2rem; }

@media (min-width: 45em) {
  #who-its-for > .wide { max-width: calc(65rem + 2 * var(--gutter)); }
  .fit-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.fit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.375rem 0.875rem 1.25rem;
  background: radial-gradient(130% 60% at 50% 0%, var(--accent-soft), transparent 70%), var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.fit-yes h3 { color: var(--accent); }
.fit-no {
  background: radial-gradient(130% 60% at 50% 0%, var(--warm-soft), transparent 70%), var(--card);
  border-top-color: var(--warm);
}
.fit-no h3 { color: var(--warm); }

.fit-card .marks li {
  margin-top: 0.625rem;
  padding: 0.75rem 0.75rem 0.75rem 2.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  color: var(--ink);
}
.fit-card .marks li::before { top: calc(0.0625rem + 0.825em); left: 0.6875rem; }

@media (min-width: 30em) {
  .fit-card { padding: 1.5rem 1.25rem 1.375rem; }
  .fit-card .marks li { padding: 0.875rem 1rem 0.875rem 3rem; }
  .fit-card .marks li::before { top: calc(0.1875rem + 0.825em); left: 1rem; }
}

@media (min-width: 45em) {
  .fit-card { padding: 1.75rem 1.625rem 1.625rem; }
}

/* The endings sit at the bottom of each card. */
.card-end { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.card-end > p:first-child { margin-top: 0; color: var(--ink); }
.card-end .cta-row { margin-top: 1.125rem; }
.alt-route { margin-top: 0.75rem; }

/* Check marks and crosses: SVG shapes through a mask, so they follow the color variables. */
.marks { margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.marks li { position: relative; margin-top: 0.875rem; padding-left: 2.125rem; }
.marks li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.375rem;
  height: 1.375rem;
  background-color: var(--accent);
  -webkit-mask: var(--i-yes) center / contain no-repeat;
  mask: var(--i-yes) center / contain no-repeat;
}
.marks-no li::before {
  background-color: var(--warm);
  -webkit-mask-image: var(--i-no);
  mask-image: var(--i-no);
}

/* ---------- The problem, reframed ---------- */

.reframe { display: grid; gap: 1rem; margin: 2rem 0 0; }

@media (min-width: 40em) {
  .reframe { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.reframe-box {
  position: relative;
  min-width: 0;
  padding: 1.25rem 1.375rem 1.375rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.reframe dt {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.reframe dd {
  margin: 0.625rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.4;
}
.reframe-think dt { color: var(--muted); }
.reframe-real {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.04) 70%), var(--card);
  border-color: var(--accent-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1.5rem 3.5rem -2rem rgba(37, 99, 235, 0.6);
}
.reframe-real dt { color: var(--accent); }

/* A round arrow between the two boxes: down on a phone, to the right from 40em. */
.reframe-real::before,
.reframe-real::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  pointer-events: none;
}
.reframe-real::before {
  top: -1.8125rem;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -1.25rem;
  background: #12141c;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.25rem -0.375rem rgba(0, 0, 0, 0.9);
}
.reframe-real::after {
  top: -1.1875rem;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: -0.625rem;
  background-color: var(--accent);
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
  transform: rotate(90deg);
}

@media (min-width: 40em) {
  .reframe-real::before { top: 50%; left: -1.9375rem; margin: -1.25rem 0 0; }
  .reframe-real::after { top: 50%; left: -1.3125rem; margin: -0.625rem 0 0; transform: none; }
}

.why-title { margin-top: 2.5rem; }
.why-title + p { margin-top: 0.625rem; }

/* ---------- Four differences: the two strongest are large and on top ---------- */

.usp-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.usp {
  min-width: 0;
  padding: 1.375rem 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.usp p { margin-top: 0.625rem; }

.usp-major {
  background: radial-gradient(90% 130% at 0% 0%, rgba(37, 99, 235, 0.22), transparent 60%), var(--card);
  border-color: rgba(77, 142, 255, 0.3);
}
/* On a phone the large cards keep a heading below the size of the section heading above them. */
.usp-major h3 { font-size: 1.25em; }

.usp-minor { font-size: 0.95em; }
.usp-minor h3 { font-size: 1.15em; }

@media (min-width: 40em) {
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .usp-major { grid-column: 1 / -1; padding: 1.75rem 2rem 1.875rem; }
  .usp-major h3 { font-size: 1.45em; }
  .usp-minor { padding: 1.5rem 1.5rem 1.625rem; }
}

/* ---------- Proof: facts, then quotes in one column at every width ---------- */

.facts { margin: 1.75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { position: relative; padding: 0.875rem 0 0.875rem 1.625rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.facts li::before {
  content: "";
  position: absolute;
  top: calc(0.875rem + 0.55em);
  left: 0.125rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background-color: var(--accent);
  transform: rotate(45deg);
}

.quotes { display: grid; gap: 1rem; margin-top: 2rem; }

.quote {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 1.375rem 1.375rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.quote::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.3125rem;
  margin-bottom: 0.875rem;
  background-color: var(--accent);
  -webkit-mask: var(--i-quote) center / contain no-repeat;
  mask: var(--i-quote) center / contain no-repeat;
}
.quote blockquote { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.125em; font-weight: 400; line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 0.875rem; font-size: 0.9375rem; color: var(--muted); }

@media (min-width: 45em) {
  .quote { padding: 1.75rem 1.875rem 1.625rem; }
}

.caveat { max-width: 40rem; margin: 1.75rem auto 0; font-size: 0.9375rem; color: var(--muted); text-align: center; }

/* ---------- What happens in the intro call: four glass tiles, two by two from 40em ---------- */

.call-list { display: grid; gap: 0.875rem; margin: 2rem 0 0; }
.call-list li {
  margin: 0;
  padding: 1.25rem 1.25rem 1.375rem 3.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.call-list li::before { top: calc(1.25rem + 0.2em); left: 1.25rem; }
.call-list strong { display: block; margin-bottom: 0.25rem; font-family: var(--display); font-size: 1.06em; line-height: 1.35; }

@media (min-width: 40em) {
  .call-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ---------- Questions: flat rows with hairlines ---------- */

.faq-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: block;
  min-height: 3.5rem;
  padding: 1.125rem 3.5rem 1.125rem 0;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-hover); }

/* Chevron in a soft circle on the right; it turns when the question is open. */
.faq-list summary::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -1.125rem;
  border-radius: 50%;
  background: rgba(77, 142, 255, 0.1);
  transition: background-color 0.15s ease;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8125rem;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: -0.4375rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq-list summary:hover::before,
.faq-list details[open] > summary::before { background: rgba(77, 142, 255, 0.2); }
.faq-list details[open] > summary::after { transform: translateY(0.3rem) rotate(-135deg); }

.answer { margin: 0; padding: 0 0 1.375rem; }

.price-line { max-width: 40rem; margin: 1.75rem auto 0; color: var(--muted); text-align: center; }

/* ---------- Calendar ----------
   Without the script: no frame, the link is a clear button.
   With the script: a reserved glass frame around Calendly's white calendar. Until the calendar is
   there, its area is light and shows a quiet sketch of a month; while it loads, a ring turns at the top.
   The status line always keeps room for its text, so the frame never moves. */

main > .booking { background-image: radial-gradient(50rem 22rem at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%); }
/* A button jump lands one pixel below the edge, so the line of light on top of the band stays in view. */
#booking { scroll-margin-top: 1px; }

.booking .column > p { text-align: center; }

.gate { font-size: 0.9375rem; color: var(--muted); }

.booking-status { display: none; }
.js .booking-status {
  display: block;
  min-height: 4.5em;
  margin: 1rem 0 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.booking-frame { display: none; }
.js .booking-frame {
  display: block;
  position: relative;
  max-width: 65rem;
  margin: 0.75rem 0.5rem 0;
  padding: 0.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--lift);
}
.js .booking.is-unset .booking-frame,
.js .booking.is-failed .booking-frame { display: none; }

#booking-widget {
  position: relative;
  height: 43.75rem;
  overflow: hidden;
  background-color: var(--calendar);
  border-radius: 0.75rem;
}
#booking-widget iframe { display: block; width: 100%; height: 100%; border: 0; }
/* When the calendar takes over from the early link, the script hands focus to the calendar frame.
   A browser draws no ring on the frame itself, so the ring goes around the calendar area, on the dark frame. */
#booking-widget:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

.js .booking.is-waiting #booking-widget,
.js .booking.is-loading #booking-widget,
.js .booking.is-slow #booking-widget {
  background-image: var(--i-month);
  background-position: 50% 6.5rem;
  background-size: min(19rem, 84%) auto;
  background-repeat: no-repeat;
}

/* While the calendar loads: a quiet turning ring at the top of the frame. Decoration only, the status
   line says it in words; it stands still for visitors who asked for less motion. */
.js .booking.is-loading #booking-widget::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 50%;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: -1.125rem;
  border: 3px solid rgba(37, 99, 235, 0.18);
  border-top-color: var(--accent-fill);
  border-radius: 50%;
  animation: calendar-turn 0.9s linear infinite;
  pointer-events: none;
}
@keyframes calendar-turn { to { transform: rotate(1turn); } }

/* The early link of the slow state, inside the top of the empty frame. On the light calendar area
   it is blue, and its focus ring has a light and a dark band. */
.early-link {
  position: absolute;
  top: 1.25rem;
  right: var(--gutter);
  left: var(--gutter);
  z-index: 1;
  display: flex;
  width: auto;
  max-width: 26rem;
  margin: 0 auto;
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: #ffffff;
}
.early-link::after { background-color: #ffffff; }
.early-link:hover { background: #1d4ed8; border-color: #1d4ed8; color: #ffffff; }
.early-link:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; box-shadow: 0 0 0 5px #ffffff; }

.booking-after { margin: 1rem 0 0; color: var(--ink); }

.fallback { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--muted); }

.fallback-question { display: none; }
.js .fallback-question { display: inline; }
.js .booking.is-failed .fallback-question { display: none; }
/* After a confirmed booking the line would only invite a second booking that is never measured. */
.js .booking.is-booked .fallback { display: none; }

/* Without the script and when the calendar fails, the link is a full-width button directly under the status. */
#booking-link { display: flex; width: 100%; }

/* With the script it is a quiet link under the calendar. */
.js .booking:not(.is-failed) #booking-link {
  display: inline-block;
  width: auto;
  min-height: 0;
  padding: 0.75rem 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--accent);
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.js .booking:not(.is-failed) #booking-link::after { content: none; }
.js .booking:not(.is-failed) #booking-link:hover { background: none; color: var(--accent-hover); }

@media (min-width: 45em) {
  .js .booking-status { min-height: 3em; }
}

@media (min-width: 48em) {
  .js .booking-frame {
    width: calc(100% - 2 * var(--gutter));
    margin: 1rem auto 0;
    padding: 0.75rem;
    border-radius: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2.5rem 6rem -2.5rem rgba(37, 99, 235, 0.5);
  }
  #booking-widget { border-radius: 1rem; }
  .js .booking.is-waiting #booking-widget,
  .js .booking.is-loading #booking-widget,
  .js .booking.is-slow #booking-widget { background-size: min(23rem, 84%) auto; }
  .early-link { top: 1.75rem; }
}

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

.site-footer { padding: 2.5rem 0 3rem; font-size: 0.875rem; color: var(--muted); text-align: center; }
.site-footer p { margin-top: 0.75rem; }
.site-footer p:first-child { margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 1.5rem; }

.text-button {
  min-height: 2.75rem;
  padding: 0.625rem 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.text-button:hover { color: var(--accent-hover); }

/* ---------- Consent bar (only when askConsent is true in app.js) ---------- */

.consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 0.75rem var(--gutter) max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(17, 19, 27, 0.97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -0.75rem 2.5rem rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 0.875rem;
}
.consent-inner { display: grid; gap: 0.625rem; max-width: var(--column); margin-left: auto; margin-right: auto; }
.consent p { margin: 0; line-height: 1.45; }
.consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }

/* Two equal buttons: the same size, weight and colors. */
.choice {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.625rem;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.choice:hover { background: rgba(255, 255, 255, 0.08); }

@media (min-width: 45em) {
  .consent-inner { grid-template-columns: 1fr auto; align-items: center; gap: 1.25rem; }
  .consent-buttons { grid-template-columns: 8.5rem 8.5rem; }
}

/* ---------- Sticky button on phones (app.js decides when it shows) ---------- */

.sticky-cta { display: none; }

@media (max-width: 43.99em) {
  html { scroll-padding-bottom: 6rem; }

  .js .sticky-cta {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 0.625rem var(--gutter) max(0.625rem, env(safe-area-inset-bottom));
    background: rgba(10, 11, 16, 0.86);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    /* From 35em the button has its own width: it sits on the same centered axis as the other buttons. */
    text-align: center;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .js .sticky-cta.is-visible { visibility: visible; transform: none; transition: transform 0.2s ease; }
}

/* ---------- Owner check panel (only with ?check in the address) ---------- */

.fill-check {
  position: relative;
  z-index: 2;
  padding: 1rem var(--gutter) 1.25rem;
  background: var(--fill-bg);
  border-bottom: 2px dashed var(--fill-line);
  color: var(--fill-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fill-check-inner { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.fill-check h2 { color: var(--fill-ink); font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
.fill-check p { margin: 0.5rem 0 0; }
.fill-check ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.fill-check li { margin-top: 0.125rem; }
.fill-check .fill-check-info { font-style: italic; }

/* ---------- Low screens: fixed bars give way ---------- */

@media (max-height: 30em) {
  .js .sticky-cta { display: none; }
  .consent { position: static; box-shadow: none; }
}

/* ---------- Forced colors (Windows contrast themes) ---------- */

@media (forced-colors: active) {
  .player { border: 1px solid CanvasText; }
  .player-icon { border-color: ButtonText; }
  .player-wrap::before { display: none; }
  .marks li::before,
  .hero-facts li::before,
  .rating-line::before,
  .facts li::before,
  .quote::before,
  .reframe-real::after { forced-color-adjust: none; background-color: CanvasText; }
  .cta::after,
  .button-link::after { forced-color-adjust: none; background-color: LinkText; }
  .unset-tag { outline-color: CanvasText; }
}

/* ---------- Motion: only for visitors who have not asked for less ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .player-start:hover .player-icon { transform: none; }
  .cta:active, .button-link:active { transform: none; }
}

/* ---------- Print: dark text on white paper, no bars ---------- */

@media print {
  :root {
    --paper: #ffffff;
    --band: #ffffff;
    --card: #ffffff;
    --line: #bbbbbb;
    --ink: #000000;
    --text: #1a1a1a;
    --muted: #444444;
    --accent: #1e429f;
    --warm: #8a4b1f;
    --button: #ffffff;
    --button-ink: #000000;
  }
  .sticky-cta, .consent, .fill-check, .player-start { display: none !important; }
  html, body { background: #ffffff; }
  .cta, .button-link { border-color: #000000; box-shadow: none; }
}
