/* LapVoice site: one ground, one ink, one accent. */

:root {
  --bg: #0b0c0f;
  --surface: #121419;
  --raised: #191c22;
  --ink: #f2f4f7;
  --muted: #b3bbc6;
  --faint: #98a1ae;
  --accent: #f5a524;
  --accent-ink: #1a1204;
  --radius: 6px;
  --pad: clamp(20px, 4vw, 48px);
  --measure: 1240px;
  --fs-display: clamp(2.7rem, 6.2vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 3.3vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.7vw, 1.5rem);
  --fs-lead: clamp(1.15rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 1rem;
  --fs-tiny: 0.8125rem;
  --font: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; line-height: 1.15; }

p { margin: 0; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.wrap {
  width: min(var(--measure), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- header */

.site-header {
  padding-block: 22px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.125rem;
}

.brand img { width: 26px; height: 26px; border-radius: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  font-size: var(--fs-small);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-block: 6px;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: #ffb63a; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: var(--raised);
  color: var(--ink);
}
.btn-ghost:hover { background: #22262d; }

.btn-dark {
  background: var(--bg);
  color: var(--ink);
}
.btn-dark:hover { background: #1b1e24; }

.link {
  color: var(--ink);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.arrow::after { content: " \2192"; }

/* ---------------------------------------------------------------- hero */

.hero { padding-top: clamp(28px, 4vw, 56px); }

.hero-top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: end;
}

.hero-copy { grid-column: 1 / span 7; }

.hero h1 { max-width: 13ch; }

.hero-lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin-top: 34px;
}

.hero-fine {
  margin-top: 22px;
  max-width: 52ch;
  font-size: var(--fs-small);
  color: var(--faint);
}

.hero-facts {
  grid-column: 9 / span 4;
  display: grid;
  gap: 18px;
  padding-bottom: 6px;
}

.fact {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.fact b {
  min-width: 4.4ch;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-stage {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.hero-stage img { width: 100%; }

.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  font-size: var(--fs-tiny);
  color: var(--faint);
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(88px, 11vw, 150px); }

.section-alt { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section-head h2 { grid-column: 1 / span 7; }
.section-head p {
  grid-column: 9 / span 4;
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 40ch;
}

/* ---------------------------------------------------------------- live stage */

.live-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}

.live-stage-col {
  grid-column: 1 / span 7;
  position: sticky;
  top: 32px;
}

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.stage img {
  position: absolute;
  left: calc(var(--x, 0) * 1%);
  top: calc(var(--y, 0) * 1%);
  width: calc(var(--w, 10) * 1% * var(--scale, 1));
  max-width: none;
  height: auto;
  opacity: var(--panel-opacity, 1);
  transition: opacity .2s var(--ease);
}
.stage img.is-off { display: none; }

.stage-badge {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  color: var(--faint);
  background: rgba(11, 12, 15, .72);
  padding: 4px 8px;
  border-radius: 4px;
}

.live-copy { grid-column: 9 / span 4; }

.live-block {
  padding-block: clamp(32px, 4vw, 48px);
}
.live-block:first-child { padding-top: 0; }

.live-block h3 { max-width: 22ch; }

.live-block p {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 38ch;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--raised);
  font-size: var(--fs-tiny);
  cursor: pointer;
  user-select: none;
}
.check input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 3px;
  background: #2a2f37;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  transform: scale(.9);
  background: var(--accent-ink);
  transition: transform .12s var(--ease), opacity .12s var(--ease);
}
.check input:checked { background: var(--accent); }
.check input:checked::after { opacity: 1; transform: scale(1); }

.slider {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  max-width: 360px;
}
.slider label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-tiny);
  color: var(--muted);
}
.slider output { color: var(--ink); font-variant-numeric: tabular-nums; }

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: #2a2f37;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
}

/* ---------------------------------------------------------------- gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}

.gallery-list {
  grid-column: 1 / span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.gallery-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: var(--fs-small);
  text-align: left;
  cursor: pointer;
}
.gallery-btn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex: none;
}
.gallery-btn:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.gallery-btn[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.gallery-btn[aria-pressed="true"]::before { background: var(--accent); }

.gallery-view { grid-column: 6 / span 7; }

.gallery-shot {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 30vw, 400px);
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
}
.gallery-shot img {
  width: 100%;
  max-width: 560px;
  max-height: 360px;
  object-fit: contain;
  transition: opacity .18s var(--ease);
}
.gallery-shot img.is-fading { opacity: 0; }

.gallery-meta { margin-top: 22px; max-width: 52ch; }
.gallery-meta h3 { min-height: 1.2em; }
.gallery-meta p { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }

/* ---------------------------------------------------------------- steps */

.steps { display: grid; gap: clamp(40px, 6vw, 72px); }

.step {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.step:nth-child(even) .step-copy { grid-column: 7 / span 6; }
.step:nth-child(even) .step-shot { grid-column: 1 / span 5; grid-row: 1; }
.step-copy { grid-column: 1 / span 5; }
.step-shot { grid-column: 7 / span 6; }

.step-copy h3 { max-width: 18ch; }
.step-copy p { margin-top: 16px; color: var(--muted); font-size: var(--fs-small); max-width: 40ch; }
.step-copy .link { display: inline-block; margin-top: 18px; font-size: var(--fs-small); }

.step-shot {
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(12px, 2vw, 20px);
}
.step-shot img { width: 100%; border-radius: 3px; }

/* ---------------------------------------------------------------- numbers */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.number b {
  display: block;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.number span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 22ch;
}

/* ---------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}

.plans { grid-column: 1 / span 5; display: grid; gap: 6px; }

.plan-btn {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: left;
  cursor: pointer;
  transition: color .18s var(--ease);
}
.plan-btn::before {
  content: "";
  width: .32em;
  height: .32em;
  border-radius: 50%;
  background: transparent;
  flex: none;
  align-self: center;
}
.plan-btn:hover { color: var(--ink); }
.plan-btn[aria-pressed="true"] { color: var(--ink); }
.plan-btn[aria-pressed="true"]::before { background: var(--accent); }
.plan-btn small {
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}

.price-stage { grid-column: 7 / span 6; }

.price-now {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.price-now .per { font-size: var(--fs-small); font-weight: 400; color: var(--faint); letter-spacing: 0; }

.price-note {
  margin-top: 14px;
  font-size: var(--fs-tiny);
  color: var(--muted);
}

.price-copy { margin-top: 24px; max-width: 44ch; color: var(--muted); font-size: var(--fs-small); }

.price-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-small);
}
.price-list li { display: flex; gap: 10px; align-items: baseline; }
.price-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.price-stage .btn { margin-top: 28px; width: auto; }

/* ---------------------------------------------------------------- faq */

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: start;
}

details.tile {
  background: var(--raised);
  border-radius: var(--radius);
  overflow: hidden;
}
details.tile summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 16px 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
details.tile summary::-webkit-details-marker { display: none; }
details.tile summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}
details.tile[open] { background: var(--accent); color: var(--accent-ink); }
details.tile[open] summary::after { content: "\2212"; color: var(--accent-ink); }
details.tile .answer {
  padding: 0 22px 20px;
  max-width: 58ch;
  font-size: var(--fs-small);
  line-height: 1.55;
}
details.tile .answer a { color: inherit; }

/* ---------------------------------------------------------------- cta */

.cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: clamp(64px, 9vw, 120px);
}

.cta .wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: end;
}

.cta h2 { grid-column: 1 / span 7; max-width: 16ch; }
.cta-side { grid-column: 9 / span 4; }
.cta p { font-size: var(--fs-small); max-width: 36ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.cta .btn { background: var(--bg); color: var(--ink); }
.cta .btn:hover { background: #1b1e24; }
.cta .link { color: var(--accent-ink); }
.cta .link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- footer */

.site-footer { padding-block: 56px 40px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
  align-items: baseline;
  font-size: var(--fs-tiny);
  color: var(--faint);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .disclaimer { width: 100%; max-width: 54ch; }

/* ---------------------------------------------------------------- prose (docs, legal) */

.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: var(--fs-display); max-width: 16ch; }
.page-head p { margin-top: 20px; max-width: 52ch; color: var(--muted); font-size: var(--fs-lead); }

.prose {
  max-width: 780px;
  padding-bottom: clamp(72px, 10vw, 120px);
}

.prose > p,
.prose > ul,
.prose > ol,
.prose > table,
.prose > .callout {
  max-width: 58ch;
}
.prose h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-top: 56px;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.prose h3 { margin-top: 34px; margin-bottom: 10px; }
.prose p { margin-top: 14px; color: var(--muted); }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(245, 165, 36, .55); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .btn {
  color: var(--accent-ink);
  text-decoration: none;
}
.prose code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--raised);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: var(--fs-small);
}

.prose pre {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--raised);
  overflow-x: auto;
}
.prose pre code {
  background: transparent;
  padding: 0;
  font-size: 0.9rem;
  white-space: pre;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
}
.prose th { color: var(--ink); font-weight: 600; }

.callout {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-small);
  color: var(--muted);
}
.callout strong { color: var(--ink); }

.wrap > .prose {
  margin-inline: auto;
}

.docs-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 24px;
  font-size: var(--fs-small);
}
.docs-toc a { color: var(--muted); text-decoration: none; }
.docs-toc a:hover { color: var(--ink); }

.page-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.docs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.docs-rail {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 11px;
  font-size: var(--fs-small);
  text-align: right;
}
.docs-rail-title {
  color: var(--faint);
  font-size: var(--fs-tiny);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.docs-rail a { color: var(--muted); text-decoration: none; }
.docs-rail a:hover { color: var(--ink); }

/* Docs: text never hides while it settles, so reading and deep links are safe. */
.docs-body .reveal { opacity: 1; transform: translateY(14px); }

@media (max-width: 980px) {
  .page-split { grid-template-columns: 1fr; }
  .docs-body { grid-template-columns: 1fr; }
  .docs-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    order: -1;
    padding-bottom: 8px;
  }
  .docs-rail-title { grid-column: 1 / -1; }
}

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

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--delay, 0ms);
}

/* Slow drift on the product stills: the one moving picture on the page. */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage img,
  .page-shot img,
  .shot-band img,
  .shot-pair img,
  .buy-shot img,
  .buy-strip img {
    animation: drift 26s ease-in-out infinite alternate;
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

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

/* ---------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .fact { display: block; }
  .fact b { display: block; min-width: 0; }
  .section-head h2 { grid-column: 1 / span 7; }
  .section-head p { grid-column: 8 / span 5; }

  .live-stage-col { grid-column: 1 / -1; position: static; }
  .live-copy { grid-column: 1 / -1; }
  .live-grid { gap: 44px; }

  .gallery-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .gallery-view { grid-column: 1 / -1; }

  .nav { gap: 18px; font-size: var(--fs-tiny); }

  .step-copy, .step:nth-child(even) .step-copy { grid-column: 1 / -1; }
  .step-shot, .step:nth-child(even) .step-shot { grid-column: 1 / -1; grid-row: auto; }
  .step { gap: 22px; }

  .numbers { grid-template-columns: 1fr 1fr; gap: 40px 24px; }

  .plans { grid-column: 1 / -1; }
  .price-stage { grid-column: 1 / -1; }

  .faq-list { grid-template-columns: 1fr; }

  .cta h2 { grid-column: 1 / span 6; }
  .cta-side { grid-column: 7 / span 6; margin-top: 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .header-actions .link { display: none; }
  .hero-top,
  .section-head,
  .live-grid,
  .gallery-grid,
  .step,
  .pricing-grid,
  .cta .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .section-head h2, .section-head p { grid-column: 1 / -1; }
  .section-head p { margin-top: 14px; }
  .stage-caption { flex-wrap: wrap; gap: 2px 18px; }
  .gallery-list { grid-template-columns: 1fr 1fr; }
  .gallery-shot { min-height: 240px; }
  .gallery-shot img { max-height: 240px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .number b { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .stage-badge { display: none; }
  .cta h2 { grid-column: 1 / -1; }
  .cta-side { grid-column: 1 / -1; margin-top: 24px; }
  .site-footer .wrap { display: grid; gap: 16px; }
  .site-footer nav { gap: 16px; }
}

/* ---------------------------------------------------------------- subpages */

.plan-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan-card.featured { background: var(--raised); }
.plan-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.plan-card .amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.plan-card .amount span { font-size: var(--fs-small); font-weight: 400; color: var(--faint); letter-spacing: 0; }
.plan-card .plan-for { margin-top: 14px; color: var(--muted); font-size: var(--fs-small); }
.plan-card ul {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.plan-card li { display: flex; gap: 10px; align-items: baseline; }
.plan-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.plan-card .btn { margin-top: auto; width: 100%; }

.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .shot-pair { grid-template-columns: 1fr; }
}

.shot-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.page-shot {
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(12px, 2vw, 24px);
  overflow: hidden;
}

.page-shot img {
  width: 100%;
  border-radius: 3px;
}

.page-shot.narrow {
  max-width: 520px;
}

.page-shot figcaption {
  margin-top: 14px;
  max-width: 60ch;
  font-size: var(--fs-tiny);
  color: var(--faint);
}

.shot-band figure {
  display: grid;
  gap: 12px;
  place-items: center;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius);
  background: var(--surface);
}

.shot-band img {
  width: 100%;
  max-width: 300px;
}

.shot-band.two { grid-template-columns: 1fr 1fr; }
.shot-band.two img { max-width: 100%; }

.shot-band figcaption {
  font-size: var(--fs-tiny);
  color: var(--faint);
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
}
.download-panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.download-panel p { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.download-panel .btn { min-height: 56px; padding-inline: 30px; }
.download-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: var(--fs-tiny);
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; color: var(--muted); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.notice {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--raised);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: var(--muted);
}
.notice strong { color: var(--ink); }

@media (max-width: 860px) {
  .plan-pair { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .download-panel .btn { width: 100%; }
  .shot-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .shot-band { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- checkout */

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.buy-summary {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
}

.buy-summary h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.buy-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.buy-list li { display: flex; gap: 10px; align-items: baseline; }
.buy-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.buy-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.buy-per {
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}

.buy-fine {
  margin-top: 14px;
  max-width: 60ch;
  font-size: var(--fs-small);
  color: var(--faint);
}

.buy-panel p { max-width: 60ch; }

.buy-shot {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.buy-shot img { width: 100%; }

.buy-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}
.buy-strip figure {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius);
  background: var(--surface);
}
.buy-strip img { width: 100%; max-width: 300px; }
.buy-strip figcaption { font-size: var(--fs-tiny); color: var(--faint); }

.buy-panel { display: grid; gap: 18px; }

.code-field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-tiny);
  color: var(--muted);
}

.code-row { display: flex; gap: 10px; }
.code-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-small);
}

.paypal-slot { min-height: 48px; max-width: 420px; }

.buy-status {
  min-height: 1.2em;
  font-size: var(--fs-small);
  color: var(--muted);
}
.buy-status[data-state="ok"] { color: var(--ink); }
.buy-status[data-state="warn"] { color: var(--accent); }

.buy-fallback {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-small);
  color: var(--muted);
}
.buy-fallback .btn { justify-self: start; }

.buy-done {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
}
.buy-done h2 { margin-top: 8px; }

.key-value {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--raised);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; /* taste-skill-ignore: licence key is literal code */
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.buy-done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .buy-strip { grid-template-columns: 1fr; }
}


@media (max-width: 420px) {
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .gallery-list { grid-template-columns: 1fr; }
}
