/* 24K Magic AI – video generator demo. Hull white, deep navy, teak. Gold only on the 24K mark. */

:root {
  --hull: #f4f1ea;
  --paper: #fbfaf6;
  --tint: #ebe6db;
  --ink: #0f1c2e;
  --ink-2: #3f4b5d;
  --navy: #13294b;
  --navy-deep: #0b1a33;
  --sea: #1f6fb2;
  --sea-light: #8cc4f0;
  --teak: #9c4a22;
  --teak-hover: #823b18;
  --teak-wash: #f3e3d6;
  --gold: #f0bf4c;
  --line: rgba(15, 28, 46, 0.14);
  --line-strong: rgba(15, 28, 46, 0.32);
  --on-navy: rgba(255, 255, 255, 0.84);
  --on-navy-line: rgba(255, 255, 255, 0.16);
  --ok: #1b6e44;
  --warn: #8a5300;
  --err: #b3261e;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: 1.125rem;
  --radius: 14px;
  --radius-sm: 9px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 760px) {
  :root { --gutter: 2rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  accent-color: var(--teak);
  scrollbar-color: rgba(15, 28, 46, 0.35) var(--hull);
}

body {
  margin: 0;
  background: var(--hull);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
  padding-bottom: var(--analytics-space, 0px);
}

.analytics-notice { position: fixed; inset: auto 0 0; z-index: 80; background: var(--paper); border-top: 1px solid var(--line-strong); padding-block: 1rem; }
.analytics-notice-inner { display: flex; align-items: center; gap: 1rem 2rem; }
.analytics-notice p { flex: 1; color: var(--ink-2); font-size: 0.875rem; max-width: 70ch; }
.analytics-notice p a { color: var(--teak); }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.analytics-settings { border: 0; padding: 0; min-height: 2.75rem; background: transparent; text-decoration: underline; text-underline-offset: 0.2em; font-size: 0.875rem; cursor: pointer; }
@media (max-width: 699px) { .analytics-notice-inner { display: grid; gap: 0.75rem; } }

::selection { background: var(--teak); color: #fff; }

img { display: block; max-width: 100%; }

[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 116;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { display: none; }

.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 1.75rem; height: 1.75rem; }

.skip-link {
  position: absolute;
  left: 0.75rem; top: -3rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.tag {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: 0.08em;
}
.tag-teak { background: var(--teak); color: #fff; }
.tag-light { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--hull) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 750;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.brand-mark-sm { font-size: 0.6875rem; padding: 0.1rem 0.35rem; }

.topnav {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topnav a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}
.topnav a:hover { color: var(--ink); background: var(--tint); }

/* ---------- Studio: input left, media right (stacked on phones, input first) ---------- */

.studio { padding-block: 1.1rem 3rem; }

.studio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "intro"
    "make"
    "media";
}

.studio-intro { grid-area: intro; }
.make { grid-area: make; }
.media-col { grid-area: media; }

.studio-intro h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.75rem);
  max-width: 15ch;
}

.lede {
  margin-top: 0.6rem;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

@media (min-width: 960px) {
  .studio { padding-block: 2rem 4.5rem; }
  .studio-grid {
    grid-template-columns: minmax(20rem, 24rem) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro media"
      "make media";
    column-gap: clamp(1.5rem, 3vw, 3rem);
    row-gap: 1.25rem;
    align-items: start;
  }
  .media-col {
    position: sticky;
    top: 4.5rem;
  }
}

/* ---------- Input panel ---------- */

.make {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 28, 46, 0.06), 0 6px 18px -8px rgba(15, 28, 46, 0.12);
}

.demo-note {
  font-size: 0.875rem;
  color: var(--ink-2);
}
.demo-note .tag { margin-right: 0.3rem; }

/* Dropzone */
.drop {
  position: relative;
  border-radius: 12px;
  border: 1.5px dashed var(--line-strong);
  transition: border-color 0.2s, background-color 0.2s;
}
.drop[data-state="filled"] { border-style: solid; border-color: var(--line); }
.drop.is-dragover { border-color: var(--teak); background: var(--teak-wash); }

.drop-empty {
  display: grid;
  justify-items: start;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 11px;
}
.drop-empty .icon-lg { grid-row: span 2; color: var(--teak); margin-top: 0.1rem; }
.drop-empty:hover { background: var(--tint); }
.drop[data-state="filled"] .drop-empty { display: none; }

.drop-title { font-weight: 750; font-size: 1.0625rem; color: var(--teak); text-decoration: underline; text-underline-offset: 0.2em; }
.drop-sub { color: var(--ink-2); font-size: 0.875rem; }

#photo-input:focus-visible + .drop-empty {
  outline: 2px solid var(--sea);
  outline-offset: 2px;
}

.drop-filled {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.4rem 0.85rem;
  align-items: center;
  padding: 0.75rem;
}
.thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  object-fit: cover;
  grid-row: span 2;
  background: var(--tint);
}
.file-name {
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-spec { color: var(--ink-2); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.file-actions { grid-column: 2; display: flex; gap: 0.4rem; flex-wrap: wrap; }

.error {
  color: var(--err);
  font-size: 0.875rem;
  font-weight: 550;
}
.error:empty { display: none; }

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.875rem;
}
.checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
}
.checks .icon { margin-top: 0.15rem; }
.checks [data-level="ok"] .icon { color: var(--ok); }
.checks [data-level="warn"] .icon { color: var(--warn); }
.checks strong { font-weight: 650; }
.checks span { color: var(--ink-2); }

.go { display: grid; gap: 0.45rem; }

/* Desktop: the input card ends level with the media column. The card stretches down its grid row;
   the empty dropzone takes up the extra height (all of it still clickable) and Generate stays at the
   bottom. Filled content stays compact. Nothing is stretched when the media column is shorter. */
@media (min-width: 960px) {
  .make {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .drop[data-state="empty"] {
    flex: 1 1 auto;
    display: flex;
  }
  .drop[data-state="empty"] .drop-empty {
    flex: 1 1 auto;
    align-content: center;
  }
  .go { margin-top: auto; }
}
.go-hint { color: var(--ink-2); font-size: 0.8125rem; }
.go-hint:empty { display: none; }

/* ---------- Media column: references, or the run ---------- */

.media-col {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.media-switch {
  justify-self: start;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--tint);
}
.media-switch button {
  min-height: 2.25rem;
  padding: 0.3rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.media-switch button:hover { color: var(--ink); }
.media-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.panel {
  display: grid;
  gap: 0.75rem;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}
.panel :focus-visible { outline-color: var(--sea-light); }
.panel ::selection { background: var(--sea-light); color: var(--navy-deep); }
.panel h2 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }

/* The one authored moment: the incoming media panel opens from the centre outward. */
.js .panel.is-revealing { animation: open-center 0.75s var(--ease-out); }

@keyframes open-center {
  from { clip-path: inset(0 34% 0 34% round 18px); }
  to { clip-path: inset(0 0 0 0 round 18px); }
}

/* Trend references: TikTok's player at the posts' native 16:9 */
.ref-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.ref-sources {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.ref-sources button {
  min-height: 2.25rem;
  padding: 0.3rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy);
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.ref-sources button:hover { color: #fff; }
.ref-sources button[aria-pressed="true"] { background: #fff; color: var(--navy); }

.ref-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy-deep);
}
.ref-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ref-facade,
.ref-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem;
  text-align: center;
}
.ref-by { font-weight: 700; font-size: 0.9375rem; }
.ref-error p { color: var(--on-navy); font-size: 0.9375rem; max-width: 30ch; }

.ref-desc { color: var(--on-navy); font-size: 0.9375rem; max-width: 60ch; }

.ref-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.8125rem;
}
.ref-credit { color: var(--on-navy); }
.ref-meta .link-light { font-size: 0.875rem; }

.ref-status { font-size: 0.8125rem; color: #fff; font-weight: 600; }
.ref-status:empty { display: none; }
.ref-fine { font-size: 0.75rem; color: rgba(255, 255, 255, 0.74); }

.ref-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  margin-top: 0.1rem;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 650;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.ref-back:hover { text-decoration-thickness: 2px; }

/* The run */
.job-head {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}
.job-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  object-fit: cover;
  background: var(--navy-deep);
}
.job-heading { display: grid; gap: 0.35rem; }
.job-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}
.job-title-row h2:focus { outline: none; }
.job-title-row h2:focus-visible { outline: 2px solid var(--sea-light); }
.job-text { color: var(--on-navy); font-size: 0.9375rem; max-width: 52ch; }

/* The result takes the shape of its media; the placeholder claims no shape. */
.result {
  position: relative;
  display: grid;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-deep);
}
.result-video {
  display: block;
  width: 100%;
  max-height: min(70vh, 40rem);
  background: #000;
}
.placeholder {
  display: grid;
  place-content: center;
  gap: 0.4rem;
  min-height: clamp(11rem, 28vh, 16rem);
  margin: 0.75rem;
  padding: 1rem;
  text-align: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}
.placeholder-title {
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.2;
  font-variation-settings: "wdth" 112;
}
.placeholder-sub { font-size: 0.8125rem; color: var(--on-navy); }

.job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.action-note {
  flex-basis: 100%;
  font-size: 0.8125rem;
  color: var(--on-navy);
}
.caption-row {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--on-navy-line);
}
.caption-status { font-size: 0.8125rem; color: var(--on-navy); }
.caption-status:empty { display: none; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding-block: 0.6rem;
  border-top: 1px solid var(--on-navy-line);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}
.steps li:last-child { border-bottom: 1px solid var(--on-navy-line); }
.steps li[data-state="active"] { color: #fff; font-weight: 700; }
.steps li[data-state="done"] { color: var(--on-navy); }
.step-mark {
  display: grid;
  place-items: center;
  width: 1.5rem; height: 1.5rem;
}
.step-mark .icon { color: var(--sea-light); }
.step-ring,
.step-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
}
.step-ring { border: 1.5px solid rgba(255, 255, 255, 0.5); }
.step-dot {
  background: var(--sea-light);
  animation: step-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes step-pulse {
  from { opacity: 1; }
  to { opacity: 0.35; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.25rem; padding: 0.35rem 0.7rem; font-size: 0.875rem; border-radius: 8px; }
.btn-block { width: 100%; min-height: 3.25rem; font-size: 1.0625rem; }

.btn-primary { background: var(--teak); color: #fff; box-shadow: 0 6px 16px -8px rgba(156, 74, 34, 0.6); }
.btn-primary:hover { background: var(--teak-hover); }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink-2); }

.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold); }

.btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.make .btn:disabled { background: var(--tint); color: var(--ink-2); }
.panel .btn:disabled { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.72); }

.link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---------- Bands ---------- */

.band { padding-block: clamp(3rem, 7vw, 5rem); }
.band h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.band-tint { background: var(--tint); }

/* FAQ */
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
}
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem; height: 0.6rem;
  margin-top: 0.35rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 1rem; color: var(--ink-2); max-width: 62ch; }

/* Footer */
.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.footer-inner { display: grid; gap: 0.5rem; }
.footer-inner p:first-child { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.footer-fine { color: var(--ink-2); max-width: 75ch; }

/* ---------- Landing sections below the studio (lp-) ---------- */

.lp-scenes h2,
.lp-guide h2,
.lp-end h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }

/* The cut: two staggered concept stills beside two beats */
.lp-scenes { padding-block: clamp(3.5rem, 8vw, 6rem); }
.lp-scenes-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .lp-scenes-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}
.lp-scenes-media { display: grid; gap: 1.25rem; }
.lp-shot { margin: 0; display: grid; gap: 0.45rem; }
.lp-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--tint);
}
.lp-shot figcaption { font-size: 0.8125rem; color: var(--ink-2); }
@media (min-width: 560px) {
  .lp-shot-cabin { width: 86%; }
  .lp-shot-deck { width: 74%; justify-self: end; }
}
.lp-lede {
  margin-top: 0.75rem;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.lp-beats {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.lp-beats li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.lp-beats li:last-child { border-bottom: 1px solid var(--line); }
.lp-beats strong {
  display: block;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 750;
}
.lp-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--teak);
  font-weight: 650;
}
.lp-link:hover { color: var(--teak-hover); }
.lp-sources { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.875rem; }
.lp-sources a { color: var(--teak); }

/* Supporting information pages use the same type and surfaces as the demo. */
.info-page { max-width: 49rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.info-page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.info-page h2 { margin-block: 2rem 0.65rem; font-size: 1.5rem; }
.info-page p { margin-top: 1rem; color: var(--ink-2); }
.info-page .info-date { font-size: 0.875rem; }
.info-page .btn { margin-top: 2rem; }
.info-page a:not(.btn) { color: var(--teak); }

/* Steps: one thin ruled strip */
.lp-steps {
  padding-block: clamp(2rem, 4vw, 2.75rem);
  background: var(--tint);
}
.lp-steps-inner { display: grid; gap: 1rem; }
@media (min-width: 860px) {
  .lp-steps-inner { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; }
}
.lp-steps-title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.lp-steps-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-steps-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 700px) {
  .lp-steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-steps-list li {
    padding: 0.25rem 1.25rem;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }
}
.lp-step-num {
  color: var(--teak);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  font-variation-settings: "wdth" 116;
  font-variant-numeric: tabular-nums;
}
.lp-steps-list h3 { font-size: 1.0625rem; letter-spacing: -0.015em; }
.lp-steps-list p { margin-top: 0.2rem; color: var(--ink-2); font-size: 0.9375rem; }
.lp-steps-note {
  color: var(--ink-2);
  font-size: 0.875rem;
}
@media (min-width: 860px) {
  .lp-steps-note { grid-column: 2; padding-inline: 1.25rem; }
}
@media (min-width: 700px) and (max-width: 859px) {
  .lp-steps-note { padding-inline: 1.25rem; }
}

/* Photo guide: the densest band, on navy */
.lp-guide {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--navy);
  color: #fff;
}
.lp-guide :focus-visible { outline-color: var(--sea-light); }
.lp-guide ::selection { background: var(--sea-light); color: var(--navy-deep); }
.lp-guide-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .lp-guide-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}
.lp-guide-copy > p:first-of-type {
  margin-top: 0.75rem;
  max-width: 40ch;
  color: var(--on-navy);
}
.lp-checklist {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.lp-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}
.lp-checklist .icon { margin-top: 0.2rem; color: var(--sea-light); }
.lp-fine {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.74);
}
.lp-guide-copy .btn { margin-top: 1.25rem; }

.lp-guide-media { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 560px) {
  .lp-guide-media {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}
.lp-sample-good { margin: 0; display: grid; gap: 0.6rem; }
.lp-sample-good img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--navy-deep);
}
.lp-sample-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  font-size: 0.875rem;
  color: var(--on-navy);
}
.lp-sample-cap .icon { margin-top: 0.15rem; color: var(--sea-light); }
.lp-sample-cap strong,
.lp-harder strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
}

.lp-harder {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-harder li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--on-navy-line);
}
.lp-harder li:last-child { padding-bottom: 0; border-bottom: 0; }
/* Whole images, never cropped: the faults they teach sit at the edges. */
.lp-harder img {
  width: 6rem;
  height: auto;
  border-radius: 8px;
  background: var(--navy-deep);
}
.lp-harder p { font-size: 0.875rem; color: var(--on-navy); }
.lp-samples-note {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
}

/* FAQ sits on cream here; the closing strip takes the tint */
.lp-faq { background: var(--hull); }

.lp-end {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--tint);
}
.lp-end-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

/* ---------- Review controls (?review only; tooling, not product) ---------- */

.review {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 40;
  max-width: min(19rem, calc(100vw - 1.5rem));
  border: 1.5px dashed var(--ink-2);
  border-radius: 10px;
  background: #fff;
  font-size: 0.8125rem;
}
.review summary {
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.review-body {
  display: grid;
  gap: 0.6rem;
  padding: 0 0.75rem 0.75rem;
}
.review fieldset {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.review legend { margin-bottom: 0.25rem; font-weight: 650; }
.review label { display: flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.review-note { color: var(--ink-2); }

/* ---------- Reduced motion ---------- */

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