/* Tap-Tape — homepage prototype
   Retro hint: the four J-card stripes + wide cassette-label type.
   Physicality: flat paper, ink outlines, hard "printed" shadows, card-shaped corners. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("../fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --card: #fffdf8;
  --ink: #1b1a18;
  --ink-soft: #55514a;
  --pink: #f8509f;
  --teal: #22cfa6;
  --yellow: #ffd22e;
  --blue: #4a9df0;
  --stripes: linear-gradient(
    to bottom,
    var(--pink) 0 25%,
    var(--teal) 25% 50%,
    var(--yellow) 50% 75%,
    var(--blue) 75% 100%
  );
  --radius: 18px;
  --line: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }

h1, h2 {
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--paper-2); border-block: var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 58ch; }
.section--ink .lede { color: #cfc8ba; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }

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

/* Kicker: the song-title jokes live here, like a label-maker strip */
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
  transform: rotate(-1.2deg);
}
.section--ink .kicker { background: var(--yellow); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--sans);
  font-stretch: 110%;
  text-decoration: none;
  padding: 16px 24px;
  border: var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { background: var(--pink); }
.btn--small { padding: 11px 18px; font-size: 0.92rem; }
.section--ink .btn { box-shadow: 3px 3px 0 var(--paper); border-color: var(--paper); }
.section--ink .btn:hover { box-shadow: 5px 5px 0 var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.stripe-bar { height: 12px; background: linear-gradient(to right, var(--pink) 0 25%, var(--teal) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75% 100%); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav a, .nav .btn { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang { font-family: var(--mono); font-size: 0.85rem; display: flex; gap: 10px; }
.lang a { text-decoration: none; color: var(--ink-soft); }
.lang a:hover { color: var(--ink); text-decoration: underline; }
.lang [aria-current] { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: var(--line); border-radius: 10px; padding: 9px 12px; font: 600 0.9rem var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--paper); border-bottom: var(--line);
    padding: 22px var(--gutter) 26px;
  }
  .nav.is-open { display: flex; }
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
/* desktop: text and button on the left, photo on the right; phones: text, photo, button */
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; column-gap: clamp(32px, 5vw, 72px); row-gap: 32px;
  grid-template-areas: "text art" "cta art"; grid-template-rows: auto 1fr;
}
.hero-text { grid-area: text; align-self: end; }
.hero-art { grid-area: art; align-self: center; }
.hero-cta { grid-area: cta; align-self: start; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); }
.hero .lede { margin-bottom: 0; }
/* Key facts: a printed spec line, deliberately not button-shaped */
.facts {
  list-style: none; margin: 30px 0 0; padding: 20px 0 0;
  border-top: 1.5px dashed #b9b2a3;
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 40px;
  font: 500 0.8rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--pink); }
.facts li:nth-child(2)::before { background: var(--teal); }
.facts li:nth-child(3)::before { background: var(--yellow); }
.facts li:nth-child(4)::before { background: var(--blue); }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: 0.74rem; letter-spacing: 0.03em; } .facts li { align-items: flex-start; } .facts li::before { margin-top: 2px; } }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border: var(--line);
  border-radius: 28px;
  background: var(--stripes);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.hero-art img { position: absolute; left: 50%; bottom: 0; width: 132%; max-width: none; transform: translateX(-50%); }
.hero-art--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transform: none; }
.hero-art .sticker {
  position: absolute; top: 18px; left: 18px;
  font: 500 0.78rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 4px; padding: 5px 9px;
  transform: rotate(-3deg);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "text" "art" "cta"; grid-template-rows: auto; row-gap: 36px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .hero-art { max-width: 520px; transform: rotate(1deg); }
}

/* Generic two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Feature list */
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.features .dot { width: 44px; height: 44px; border: var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); display: grid; place-items: center; font: 500 0.85rem var(--mono); }
.features li:nth-child(1) .dot { background: var(--pink); }
.features li:nth-child(2) .dot { background: var(--teal); }
.features li:nth-child(3) .dot { background: var(--yellow); }
.features li:nth-child(4) .dot { background: var(--blue); }
.features strong { display: block; font-size: 1.1rem; }
.features span { color: var(--ink-soft); }

/* Earn more: a hand-lettered cardboard price sign from a real merch stand */
.price-sign { margin: 0; max-width: 440px; justify-self: center; }
.sign {
  position: relative; text-align: center; color: #2b2118;
  padding: 40px 28px 30px; border-radius: 4px 6px 3px 5px;
  background:
    radial-gradient(120% 80% at 20% 10%, rgb(255 255 255 / 0.16), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgb(80 50 20 / 0.18), transparent 70%),
    #c89c62;
  box-shadow: 6px 8px 0 rgb(0 0 0 / 0.35);
  transform: rotate(-2deg);
}
.sign p { margin: 0; font-family: "Permanent Marker", var(--sans); line-height: 1.1; }
.sign-title { font-size: clamp(2.2rem, 5vw, 2.9rem); letter-spacing: 0.02em; }
.sign-sub { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin-top: 6px !important; }
.sign-prices { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 26px); margin-top: 22px !important; font-size: clamp(1.6rem, 3.6vw, 2.1rem); white-space: nowrap; }
.sign-prices .is-circled { position: relative; }
.sign-circle { position: absolute; left: -18%; top: -24%; width: 136%; height: 150%; overflow: visible; }
.sign-circle path { fill: none; stroke: var(--pink); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sign-tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; margin-left: -60px;
  background: rgb(240 232 210 / 0.72); transform: rotate(4deg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
  clip-path: polygon(2% 0, 98% 6%, 100% 50%, 97% 100%, 1% 94%, 0 45%);
}
.sign-quote { margin: 36px 0 0; font-size: 1.08rem; line-height: 1.55; color: var(--paper); }
.sign-quote p { margin: 0; }
.price-sign figcaption { margin-top: 12px; font: 500 0.8rem/1.4 var(--mono); letter-spacing: 0.04em; color: #cfc8ba; }
.price-sign figcaption strong { color: var(--paper); font-weight: 500; }

/* What's on a tape: real player pages in a phone, with a scroll-synced feature list */
.demo--pink { --demo: var(--pink); } .demo--yellow { --demo: var(--yellow); } .demo--blue { --demo: var(--blue); }
.demo-sticky { background: var(--paper-2); }
.demo-panel .section-head { grid-area: head; margin-bottom: 28px; }
.demo.is-pinned .demo-sticky { position: sticky; top: var(--pin-top, 100px); }
/* while pinned the page scroll drives the phone: the phone is not a scroll area
   (overflow: clip), the screenshot is shifted with a transform, swipes go to the page */
.demo.is-pinned .phone-screen { overflow: hidden; overflow: clip; overscroll-behavior: auto; }
.demo.is-pinned .phone-content { will-change: transform; }
.phone-content { position: relative; }
.phone-screen { min-height: 0; } /* keep the phone ratio even when not a scroll area */

/* desktop: heading, feature list and extras on the left, a tall phone on the right */
.demo-panel {
  display: grid; grid-template-columns: minmax(0, 450px) minmax(348px, 1fr); grid-template-areas: "head phone" "side phone";
  grid-template-rows: auto 1fr; column-gap: 0; align-items: start;
}
.demo-panel .demo-side { grid-area: side; width: 100%; max-width: 480px; }
.demo-panel .phone { grid-area: phone; align-self: center; justify-self: center; }
.phone {
  width: 300px; padding: 10px; background: var(--ink); border-radius: 42px;
  box-shadow: 10px 10px 0 var(--demo);
}
.phone-screen {
  height: clamp(380px, calc(100svh - 150px), 600px); overflow-y: auto; border-radius: 32px; background: #fff;
  scrollbar-width: none; overscroll-behavior-y: contain;
}
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen { position: relative; }
.phone-screen img { display: block; width: 100%; height: auto; }
/* player chrome: the title bar stays at the top, the action bar sticks below it once the banner has scrolled away */
.phone-bar { position: sticky; top: 0; z-index: 3; }
.phone-actions { position: absolute; left: 0; top: 0; z-index: 2; }
.phone-screen:focus-visible { outline-offset: 6px; }

.demo-list { list-style: none; margin: 0; padding: 0; counter-reset: feat; display: grid; gap: 4px; max-width: 440px; }
.demo-list li { counter-increment: feat; }
.demo-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  font: 500 1.1rem/1.3 var(--sans); color: var(--ink-soft);
  padding: 10px 14px; border: 0; border-radius: 8px; background: transparent;
  transition: background-color .2s, color .2s;
}
.demo-list button::before {
  content: counter(feat, decimal-leading-zero); font: 500 0.78rem var(--mono); color: var(--ink-soft); flex: none; width: 1.6em;
}
.demo-list button:hover { color: var(--ink); background: color-mix(in srgb, var(--demo) 18%, transparent); }
.demo-list button[aria-current] { color: var(--ink); font-weight: 700; background: color-mix(in srgb, var(--demo) 45%, transparent); }
.demo-list button[aria-current]::before { color: var(--ink); }
.demo-more { margin: 24px 0 0; padding-top: 16px; border-top: 1.5px dashed #b9b2a3; color: var(--ink-soft); max-width: 46ch; }

/* short desktop screens: tighten the left column so the pinned section fits */
@media (min-width: 761px) and (max-height: 820px) {
  .demo-panel .section-head { margin-bottom: 14px; }
  .demo-panel .section-head .lede { font-size: 1.02rem; }
  .demo-list { gap: 2px; }
  .demo-list button { font-size: 1rem; padding: 7px 14px; }
  .demo-more { margin-top: 14px; padding-top: 12px; font-size: 0.92rem; }
}

@media (max-width: 760px) {
  /* side by side: compact list left, half-width phone right */
  .demo-panel { grid-template-columns: minmax(0, 1fr) 46%; grid-template-areas: "head head" "side phone"; column-gap: 16px; }
  .demo-panel .phone { align-self: start; }
  .demo-panel .demo-side { justify-self: stretch; }
  .phone { width: 100%; padding: 6px; border-radius: 24px; box-shadow: 5px 5px 0 var(--demo); }
  .phone-screen { height: auto; aspect-ratio: 9 / 19; border-radius: 18px; }
  .demo-list { gap: 2px; }
  .demo-list button { font-size: 0.88rem; padding: 7px 8px; gap: 8px; }
  .demo-list button::before { font-size: 0.68rem; width: 1.5em; }
  .demo-more { font-size: 0.85rem; margin-top: 18px; padding-top: 12px; }
  .demo-panel .section-head { margin-bottom: 16px; }
  .demo-panel .section-head .lede { font-size: 1rem; }
}
/* short phones: tighter type so the pinned demo fits the screen */
@media (max-width: 760px) and (max-height: 760px) {
  .demo-panel .section-head { margin-bottom: 10px; }
  .demo-panel .section-head h2 { font-size: 1.75rem; }
  .demo-panel .section-head .lede { font-size: 0.9rem; line-height: 1.45; }
  .demo-panel .section-head .kicker { margin-bottom: 8px; }
  .demo-list button { font-size: 0.84rem; padding: 5px 8px; }
}

/* Cards (formats, stories) */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card .media { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; border-bottom: var(--line); background: var(--paper-2); }
.card .media { overflow: hidden; }
.card .media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.card .media--cover { padding: 0; }
.card .media--cover img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.tag { align-self: flex-start; font: 500 0.72rem var(--mono); letter-spacing: 0.07em; text-transform: uppercase; border: 1.5px solid var(--ink); border-radius: 4px; padding: 3px 8px; }
.tag--pink { background: var(--pink); } .tag--teal { background: var(--teal); } .tag--yellow { background: var(--yellow); } .tag--blue { background: var(--blue); }
/* The tape: one photo per part; the section pins and steps through them on scroll */
/* a wide photo on top, the three parts side by side below it */
.anatomy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.anatomy-sticky { background: var(--paper); }
.anatomy-sticky .section-head { margin-bottom: 28px; }
/* keep heading, photo and parts inside one screen on shorter laptops */
@media (min-width: 901px) {
  .anatomy-sticky .section-head { max-width: none; margin-bottom: 20px; }
  .anatomy-sticky .section-head .lede { max-width: 62ch; }
  .anatomy-photo { width: min(100%, calc((100svh - 500px) * 5 / 2)); justify-self: center; }
}
.anatomy.is-pinned .anatomy-sticky { position: sticky; top: var(--pin-top, 100px); }
.anatomy-photo { margin: 0; position: relative; aspect-ratio: 5 / 2; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.anatomy-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.anatomy-photo img.is-active, .anatomy:not(.is-ready) .anatomy-photo img:first-child { opacity: 1; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.parts li { --c: var(--pink); border-radius: 10px; transition: background-color .3s; }
.parts li:nth-child(2) { --c: var(--teal); } .parts li:nth-child(3) { --c: var(--yellow); }
.parts li:hover { background: color-mix(in srgb, var(--c) 14%, transparent); }
.parts li[aria-current] { background: color-mix(in srgb, var(--c) 30%, transparent); }
/* the whole component (title + description) is one button */
.part {
  display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: inherit; background: none;
  cursor: pointer; text-align: left; font: inherit; color: var(--ink-soft);
}
.parts li[aria-current] .part { color: var(--ink); }
.part-title { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.3 var(--sans); color: var(--ink); }
.part-title::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); flex: none; }
.part-desc { display: block; margin: 6px 0 0 22px; }
.anatomy-note { margin: 28px 0 0; padding-top: 16px; border-top: 1.5px dashed #b9b2a3; font-size: 0.95rem; color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 900px) {
  /* header, then landscape image, then the parts */
  .anatomy-grid { gap: 12px; }
  .anatomy-sticky .section-head { margin-bottom: 16px; }
  .anatomy-sticky .section-head .lede { font-size: 1rem; }
  .parts { grid-template-columns: 1fr; gap: 2px; }
  .part { padding: 8px 12px; }
  .part-title { font-size: 1.05rem; }
  .part-desc { font-size: 0.92rem; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .anatomy-photo img, .parts li { transition: none; } }

/* Stories: no outline card. A flat colour panel like a record sleeve, the
   cut-out photo standing on its bottom edge, text set straight on the page. */
.story { display: flex; flex-direction: column; }
.story-media {
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: var(--story-bg, var(--paper));
}
.story-media img { width: 100%; height: 100%; object-fit: contain; }
.story-media--bottom { align-items: flex-end; padding: 16px 10px 0; }
.story-media--bottom img { object-position: center bottom; }
.story-media--roomy { padding: 18px 8% 0; }
.story-media--roomy img { transform: translateY(7%); }
.story-media--tight { padding: 7px 22px; }
.story--pink { --story-bg: var(--pink); }
.story--teal { --story-bg: var(--teal); }
.story--yellow { --story-bg: var(--yellow); }
.story--blue { --story-bg: var(--blue); }
.story .body { padding: 22px 2px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; max-width: 62ch; }
.story .result { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed #b9b2a3; font-weight: 600; color: var(--ink); }
.story .tag { background: transparent; }
@media (min-width: 640px) and (max-width: 1000px) {
  .stories { grid-template-columns: repeat(2, 1fr); }
}

.card .result { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed #b9b2a3; font-weight: 600; color: var(--ink); }

/* Steps: a tracklist */
.tracklist { list-style: none; margin: 0; padding: 0; border-top: var(--line); counter-reset: track; }
.tracklist li { counter-increment: track; display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 26px 0; border-bottom: var(--line); align-items: start; }
.tracklist li::before { content: "0" counter(track); font: 800 2.6rem/1 var(--sans); font-stretch: 125%; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.tracklist li:nth-child(1)::before { color: var(--pink); }
.tracklist li:nth-child(2)::before { color: var(--teal); }
.tracklist li:nth-child(3)::before { color: var(--yellow); }
.tracklist li:nth-child(4)::before { color: var(--blue); }
.tracklist h3 { margin-bottom: 6px; font-size: 1.3rem; }
.tracklist p { margin: 0; color: var(--ink-soft); }
/* Steps side by side on wider screens, like three tracks on a sleeve */
@media (min-width: 861px) {
  .tracklist--row { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; border-bottom: var(--line); }
  .tracklist--row li { grid-template-columns: 1fr; gap: 16px; padding: 30px 0 34px; border-bottom: 0; align-content: start; }
  .tracklist--row p { max-width: 34ch; }
}
.steps-cta { margin: 28px 0 0; font-weight: 600; }
.steps-cta a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.steps-cta a:hover { text-decoration-color: var(--pink); }
@media (max-width: 520px) { .tracklist li { grid-template-columns: 60px 1fr; } .tracklist li::before { font-size: 2rem; } }

.framed { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); overflow: hidden; }
.framed--tilt { transform: rotate(-1.5deg); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.stat { border: 2px solid var(--paper); border-radius: var(--radius); padding: 26px; }
.stat b { display: block; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-stretch: 118%; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.stat:nth-child(1) b { color: var(--yellow); } .stat:nth-child(2) b { color: var(--teal); } .stat:nth-child(3) b { color: var(--pink); }
.stat span { color: #cfc8ba; }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--card); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote:nth-child(odd) { transform: rotate(-0.7deg); } .quote:nth-child(even) { transform: rotate(0.7deg); }
.quote blockquote { margin: 0; font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote img { width: 52px; height: 52px; border-radius: 50%; border: var(--line); object-fit: cover; }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote small { font: 400 0.8rem var(--mono); color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 1040px; display: grid; gap: 44px; }
/* grouped questions: group name in a narrow column, questions indented beside it */
.faq-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; align-items: start; }
.faq-title { margin: 0; padding-top: 20px; font: 500 0.82rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) {
  .faq { gap: 32px; }
  .faq-group { grid-template-columns: 1fr; }
  .faq-title { padding-top: 0; margin-bottom: 8px; }
}
/* light list: dashed rules between the questions instead of cards */
.faq details { border-top: 1.5px dashed #b9b2a3; }
.faq-list details:last-child { border-bottom: 1.5px dashed #b9b2a3; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 0; font-weight: 600; font-size: 1.1rem; position: relative; border-radius: 6px; }
.faq summary:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 1.5rem/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 48px 22px 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }
.draft { display: inline-block; font: 500 0.68rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; }
.cta-final .panel { background: var(--card); border: var(--line); border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; }
.cta-final .copy { padding: clamp(28px, 5vw, 56px); }
.cta-final h2 { margin-bottom: 16px; }
.cta-final .photo { border-left: var(--line); min-height: 280px; }
.cta-final .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .cta-final .panel { grid-template-columns: 1fr; } .cta-final .photo { border-left: 0; border-top: var(--line); } }

/* Footer */
.site-footer { border-top: var(--line); padding-block: 40px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.site-footer img { height: 44px; width: auto; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; }
.site-footer a { text-underline-offset: 4px; }
.site-footer .copy { margin-left: auto; color: var(--ink-soft); font: 400 0.8rem var(--mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Subpages: contact, demo package, legal texts */
.page-wrap { max-width: 860px; }
.page .page-title { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 18px 0 18px; }
.page .lede { max-width: 60ch; }
.contact-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  background: var(--card); border: var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.25rem; line-height: 1.2; }
.contact-card p { margin: 0; color: var(--ink-soft); flex: 1; }
.contact-card .btn { align-self: flex-start; }
.contact-link { font-weight: 600; color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.quote-form { margin-top: 56px; padding-top: 32px; border-top: 1.5px dashed #b9b2a3; }
.quote-form h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 10px; }
.quote-form > p { color: var(--ink-soft); margin: 0 0 20px; }
.demo-order { margin-top: 36px; display: grid; gap: 14px; justify-items: start; }
.demo-price { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.demo-price strong { font-size: 2.4rem; line-height: 1; }
.demo-price span { color: var(--ink-soft); }
.demo-note { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.prose { margin-top: 32px; max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.25; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.12rem; line-height: 1.3; margin: 1.8em 0 0.5em; }
.prose h4, .prose h5, .prose h6 { font-size: 1rem; margin: 1.5em 0 0.4em; }
.prose p, .prose li { color: var(--ink-soft); overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--ink); text-decoration-color: var(--pink); text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.prose td, .prose th { border-bottom: 1.5px dashed #b9b2a3; padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/* Quote request form (sent to HubSpot by assets/js/quote-form.js) */
.qf { max-width: 640px; display: grid; gap: 16px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.qf-opt { font-weight: 400; color: var(--ink-soft); }
.qf input:not([type=checkbox]), .qf textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--card); border: var(--line); border-radius: 10px;
}
.qf textarea { resize: vertical; min-height: 140px; }
.qf input:focus-visible, .qf textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--pink) 55%, transparent); outline-offset: 1px; }
.qf .qf-check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.qf-check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.qf-privacy { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.qf-privacy a { color: var(--ink); }
.qf .btn { justify-self: start; }
.qf .btn:disabled { opacity: 0.6; cursor: wait; }
.qf-status:empty { display: none; }
.qf-error { margin: 0; color: #b3261e; }
.qf-error a { color: inherit; }
.qf-done { padding: 20px 22px; background: var(--card); border: var(--line); border-radius: 14px; box-shadow: 4px 4px 0 var(--teal); font-weight: 600; max-width: 640px; }
@media (max-width: 760px) { .qf-row { grid-template-columns: 1fr; } }
