/* ==========================================================================
   Legacy Creators — stylesheet
   Plain CSS. No build step, no framework. Edit this file directly.

   Written mobile first: the base rules are for a phone (360–414px wide), and
   the @media (min-width: …) blocks further down add the desktop layout.

   The colours, fonts and spacing all come from the variables in :root below.
   Change a value there and it updates everywhere on the site.

   CACHING: _headers tells browsers to keep /assets/* for a year. Every page
   links this file as styles.css?v=YYYY-MM-DD. After editing this file, bump
   that date in every HTML file, or returning visitors keep the old version.
   ========================================================================== */

:root {
  /* --- Brand colours ---------------------------------------------------- */
  --bg:            #242424;  /* dark charcoal page background */
  --bg-raised:     #2e2e2e;  /* slightly lighter, used for cards */
  --bg-deep:       #1b1b1b;  /* darker, used for the footer */
  --gold:          #d2ac50;  /* brand gold accent */
  --gold-bright:   #e5c274;  /* lighter gold, used for hover states */
  --text:          #ececec;  /* main body text */
  --text-muted:    #b4b4b4;  /* secondary text, captions */
  --border:        #3d3d3d;  /* hairline borders */

  /* --- Type ------------------------------------------------------------- */
  /* System fonts: they load instantly because they are already on the
     visitor's device. No Google Fonts request, so nothing blocks rendering. */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;

  /* --- Layout ----------------------------------------------------------- */
  --measure: 68rem;   /* maximum width of the page content */
  --narrow:  44rem;   /* maximum width of long text, for readability */
  --gap:     clamp(3rem, 8vw, 6rem);  /* vertical space between sections */
  --radius:  10px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Stops iOS bumping up font sizes when the phone is turned sideways. */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;   /* 17px. Nothing a visitor reads goes below 16px. */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  /* Room at the bottom so the sticky action bar never covers the footer. */
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-bright); }

/* Visible keyboard focus ring — important for accessibility. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hidden visually but still read out by screen readers. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — appears when tabbed to, lets keyboard users jump the header. */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--bg);
  padding: 0.75rem 1.25rem; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Headings and text
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 650; }

/* Gold underline on one key word or phrase in a heading, e.g. "free up" in
   the H1. Thicker than a link underline and on white text (links are gold
   text), so it doesn't read as a link. Use it once per heading at most. */
.hl {
  text-decoration-line: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}

/* The one-sentence summary that sits under a section heading. */
.lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: var(--narrow);
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

section { padding-block: var(--gap); }

/* A hairline rule between sections. */
section + section { border-top: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   Header — logo only on a phone, logo plus one button on a wide screen.
   There is deliberately no navigation menu: this is one page with one job.
   -------------------------------------------------------------------------- */

.site-header {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-height: 44px;
}

.site-header__logo img { height: 34px; width: auto; }

/* The wordmark is an image (logo-text.svg), not text, because the script
   font it uses is not licensed for delivery on the web. This has to beat
   ".site-header__logo img" on specificity (class+element vs. class alone),
   or the icon height wins and the wordmark never actually shrinks. */
.site-header__logo img.site-header__wordmark { height: 25px; width: auto; }

/* The header button duplicates the sticky bar, so it only shows on screens
   wide enough that the sticky bar is hidden. */
.btn.site-header__cta { display: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;             /* 52px: comfortably above the 44px tap target */
  background: var(--gold);
  color: #1b1b1b;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #1b1b1b; }

.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: rgba(210, 172, 80, 0.12); color: var(--gold-bright); }

/* Full width on a phone, natural width from tablet up. */
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   Hero — kicker, headline, sub-line, button, then the video slot.
   Sized so all of that, plus the top of the video, fits on a 375×812 phone
   above the sticky bar.
   -------------------------------------------------------------------------- */

.hero { padding-block: 1.5rem 2.5rem; }

.kicker {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero h1 { max-width: 18ch; margin-bottom: 0.9rem; }

.hero__sub {
  max-width: var(--narrow);
  margin-bottom: 1.4rem;
}

.hero__sub strong { color: var(--gold-bright); }

/* The guarantee, as one plain sentence under the sub-line. Its conditions
   are linked from the "Two stages" section, not from here. */
.guarantee {
  max-width: var(--narrow);
  border-left: 3px solid var(--gold);
  padding: 0.1rem 0 0.1rem 1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.35;
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   Video slot
   Holds a short self-recorded intro video. Until it exists, a placeholder
   of the same shape keeps the layout stable.
   -------------------------------------------------------------------------- */

.video {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  overflow: hidden;
}

.video video { width: 100%; height: 100%; object-fit: cover; }

.video[hidden] { display: none; }

.video__placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  background:
    radial-gradient(ellipse at center, rgba(210, 172, 80, 0.10), transparent 70%),
    var(--bg-raised);
}

.video__placeholder svg { width: 3.25rem; height: 3.25rem; color: var(--gold); }
.video__placeholder p { margin: 0; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Bullet points with a bold lead-in (proof, and the "why now" section)
   -------------------------------------------------------------------------- */

.points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: var(--narrow);
}

.points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
}

/* The short problems list: problems only, so they read in full white. */
.points--problems li { color: var(--text); }

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* The "founding clients" note under the proof points. */
.note {
  margin-top: 2rem;
  max-width: var(--narrow);
  border-left: 3px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Founder: a short strip in the trust section, the full bio in #about
   -------------------------------------------------------------------------- */

.founder-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: var(--narrow);
}

.founder-strip picture { flex: none; }

.founder-strip__photo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.founder-strip p { margin: 0; color: var(--text-muted); }

.about {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.about__photo {
  width: 100%;
  max-width: 13rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about__text { max-width: var(--narrow); }
.about p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Two stages — the money-back structure
   -------------------------------------------------------------------------- */

.stages {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.stage {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.stage__when {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.stage h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  margin-bottom: 0.6rem;
}

.stage p { color: var(--text-muted); }

.stage__promise {
  color: var(--text) !important;
  font-weight: 650;
}

/* The methodology steps inside each stage. Native numbering, so Stage 2's
   list carries on from 3 via start="3". */
.stage__steps {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
}

.stage__steps li { padding-left: 0.3rem; }
.stage__steps li::marker { color: var(--gold); font-weight: 700; }

.stage__get { font-size: 1rem; }

/* "After that": ownership and optional ongoing support, under the stages. */
.after { margin-top: 2rem; }
.after h3 { color: var(--gold); margin-bottom: 0; }
.after .points { margin-top: 1rem; }

/* Small print under a section: timings, links to conditions. */
.small {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 1.25rem 0 1.5rem;
  max-width: var(--narrow);
}

/* --------------------------------------------------------------------------
   Payback calculator
   Sliders rather than typed numbers: on a phone, a thumb drag beats a
   keyboard. The thumb is 32px and the touch area 44px tall.
   -------------------------------------------------------------------------- */

.calc-section h2 { margin-bottom: 1rem; }

.calc {
  margin-top: 0;
  max-width: var(--narrow);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.calc__intro { color: var(--text-muted); margin-bottom: 1.25rem; }

.calc__inputs {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.calc__inputs:disabled { opacity: 0.7; }

.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.calc__row label { font-size: 1rem; color: var(--text); }

.calc__value {
  flex: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.calc__hint { font-size: 0.9rem; color: var(--text-muted); margin: 0.1rem 0 0; }

/* The slider itself. --fill is set by site.js to colour the track up to the
   thumb; the fallback matches the default values. */
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0.15rem 0 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;   /* a sideways drag moves the slider, not the page */
}

.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--gold) var(--fill, 30%), var(--border) var(--fill, 30%));
}
.calc input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}
.calc input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
}

.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 3px solid var(--bg-raised);
  box-shadow: 0 0 0 1px var(--gold);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 3px solid var(--bg-raised);
  box-shadow: 0 0 0 1px var(--gold);
}

.calc input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.calc__results { display: grid; gap: 0.75rem; margin-bottom: 1rem; }

.calc__result {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: var(--bg);
}

.calc__result[hidden] { display: none; }

.calc__result--gain { border-color: var(--gold); }

.calc__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.calc__big {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.calc__result--gain .calc__big { color: var(--gold-bright); }

.calc__result p { color: var(--text-muted); }
.calc__result strong { color: var(--text); }

.calc__gains {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.calc__gains li { padding-left: 1.6rem; position: relative; }
.calc__gains li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}


.calc__message { color: var(--text); margin: 0; }
.calc__message[hidden] { display: none; }

.calc__caveat { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

/* Answers are always visible — never collapsed. Hidden text is skipped by
   reader modes and is harder to reach with a screen reader, and this is the
   section most likely to be quoted by an AI assistant. */

.faq { max-width: var(--narrow); margin-top: 1.5rem; }

.faq__item {
  border-bottom: 1px solid var(--border);
  padding-block: 1.4rem;
}
.faq__item:last-child { border-bottom: none; }

.faq__item h3 { margin: 0; }

/* The gold rule under each question is the visual separator between
   question and answer. */
.faq__item h3::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold);
  margin-top: 0.7rem;
}

.faq__item p {
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* A bulleted answer (the "What problems do you solve?" question). */
.faq__list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.6rem;
  color: var(--text-muted);
}
.faq__list li::marker { color: var(--gold); }

/* --------------------------------------------------------------------------
   Final call to action
   -------------------------------------------------------------------------- */

.final {
  background: var(--bg-raised);
  text-align: center;
}

.final h2 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.5rem; }

.final__guarantee {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Sticky action bar — phones and small tablets only
   One full-width Book button, always in reach of the thumb.
   -------------------------------------------------------------------------- */

.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  padding: 0.6rem clamp(1.25rem, 5vw, 2.5rem) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.action-bar .btn { min-height: 3rem; padding: 0.6rem 1rem; }

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

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.site-footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.site-footer__logo img { height: 110px; width: auto; }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin-bottom: 2.5rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }

.acknowledgement {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: var(--narrow);
  font-style: italic;
}

.colophon {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 2rem;
}

/* --------------------------------------------------------------------------
   Cookie consent banner
   On a phone it sits just above the sticky action bar rather than on top
   of it, so both stay usable.
   -------------------------------------------------------------------------- */

.consent {
  position: fixed;
  inset-inline: 0;
  bottom: calc(4.2rem + env(safe-area-inset-bottom));
  z-index: 100;
  background: var(--bg-deep);
  border-top: 1px solid var(--gold);
  padding: 0.75rem 1.25rem;
}

.consent[hidden] { display: none; }

.consent__inner {
  max-width: var(--measure);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.consent p { font-size: 1rem; max-width: 46rem; color: var(--text-muted); margin: 0; }

.consent__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.consent .btn { min-height: 2.75rem; padding: 0.4rem 1.25rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal { max-width: var(--narrow); }
.legal h1 { margin-top: 0.5rem; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.75rem; }
.legal h3 { margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.5rem; }
.legal__updated { color: var(--text-muted); }

/* Plain-English summary at the top of each legal page. It is a genuine
   summary, not a substitute — the policy itself is what applies. */
.legal__summary {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.25rem 1.25rem;
  margin: 2rem 0 1rem;
  background: rgba(210, 172, 80, 0.04);
}
.legal__summary h2 {
  margin-top: 0;
  font-size: 1rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal__summary ul { margin-bottom: 0; }
.legal__summary li { color: var(--text-muted); }

/* Contents list, so long policies stay navigable. */
.legal__toc { margin: 2rem 0; }
.legal__toc ol { padding-left: 1.3rem; color: var(--text-muted); }
.legal__toc li { margin-bottom: 0.15rem; }
.legal__toc a { display: inline-block; padding-block: 0.3rem; }

/* Tables carry the detail that regulators expect to see itemised. They
   scroll sideways inside their own box on a phone, never the whole page. */
.legal__table-wrap { overflow-x: auto; margin: 1.5rem 0; }

.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 1rem;
}
.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--text);
}
.legal td { color: var(--text-muted); }

.legal__note {
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.2rem;
}

/* --------------------------------------------------------------------------
   Tablet and desktop
   -------------------------------------------------------------------------- */

@media (min-width: 48rem) {
  /* Wide enough for the header button, so the sticky bar goes away. */
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .consent { bottom: 0; }

  .site-header { padding-block: 1.25rem; }
  .site-header__logo img { height: 44px; }
  .site-header__logo img.site-header__wordmark { height: 32px; }
  .btn.site-header__cta { display: inline-flex; min-height: 2.9rem; padding: 0.55rem 1.3rem; }

  .btn--block { display: inline-flex; width: auto; }

  .hero { padding-block: clamp(3rem, 7vw, 5.5rem); }


  .about { grid-template-columns: 13rem minmax(0, 1fr); gap: 2.5rem; }
  .about__photo { max-width: none; }

  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .calc { padding: 2rem; }
  .calc__results { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .calc__message { grid-column: 2; align-self: center; }
}

@media (min-width: 64rem) {
  /* Headline on the left, video on the right — only while the video slot
     is showing. With it hidden, the headline keeps the full width. */
  .hero .wrap:has(> .video:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
  }
  .hero h1 { max-width: none; font-size: 2.6rem; }
  .video { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   Respect the visitor's reduced-motion setting
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
