/* ================================================================
   SKILLFLO PRODUCT PAGES
   One visual system for Hire, Echo, Learn, and Coach.
   ================================================================ */

body.product-page {
  --product-accent: var(--cobalt);
  --product-deep: var(--cobalt-deep);
  --product-soft: rgba(30, 72, 194, .12);
  --product-faint: rgba(30, 72, 194, .045);
  --product-warm: var(--yellow);
  background: var(--paper);
}

body.product-page[data-product="echo"] {
  --product-soft: rgba(123, 115, 173, .16);
  --product-faint: rgba(123, 115, 173, .055);
  --product-warm: var(--lavender);
}

body.product-page[data-product="learn"] {
  --product-soft: rgba(212, 105, 74, .13);
  --product-faint: rgba(212, 105, 74, .045);
  --product-warm: var(--blush);
}

body.product-page[data-product="coach"] {
  --product-soft: rgba(154, 116, 7, .14);
  --product-faint: rgba(154, 116, 7, .055);
  --product-warm: var(--yellow);
}

.product-page main { overflow: clip; }

.product-page .nav { background: rgba(251, 250, 246, .72); }
.product-page .nav.is-scrolled { background: rgba(251, 250, 246, .88); }
.product-page .nav__brand-wrap { display: flex; align-items: center; gap: .72rem; min-width: 0; }
.product-page .nav__product { white-space: nowrap; }
.product-page .nav__links a[aria-current="page"] { color: var(--ink); }
.product-page .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Product hero ---------- */
.product-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(84px + clamp(3.2rem, 8vh, 6.5rem)) 0 clamp(4.5rem, 9vw, 8rem);
  isolation: isolate;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 79% 34%, var(--product-soft), transparent 26%),
    linear-gradient(90deg, transparent 0 49.95%, var(--hairline-soft) 49.95% 50.05%, transparent 50.05% 100%);
}

.product-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 15% 85%, transparent);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.product-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: 0 0 0 5px var(--product-soft);
}

.product-hero__title {
  max-width: 13ch;
  font-size: clamp(3.1rem, 5.2vw, 5.5rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.057em;
  text-wrap: balance;
}

.product-hero__title strong { color: var(--product-accent); font-weight: inherit; }

.product-hero__lede {
  max-width: 36em;
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--ink-55);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

.product-hero__note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  max-width: 35rem;
  margin-top: 1.5rem;
  color: var(--ink-38);
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.55;
  letter-spacing: .035em;
}

.product-hero__note::before {
  content: '';
  flex: 0 0 auto;
  width: 20px;
  height: 1px;
  margin-top: .72em;
  background: var(--product-accent);
}

.product-hero__visual {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.product-hero__visual::before {
  content: '';
  position: absolute;
  inset: 15% -8% -11% 13%;
  z-index: -1;
  background: var(--product-soft);
  filter: blur(42px);
  border-radius: 50%;
  opacity: .72;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 22, 17, .12);
  border-radius: 4px;
  background: var(--paper-2);
  box-shadow: 0 40px 90px -56px rgba(26, 22, 17, .56), 0 14px 34px -24px rgba(26, 22, 17, .3);
  transform-origin: center;
}

.product-window__bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(251, 250, 246, .92);
}

.product-window__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 22, 17, .16);
}

.product-window__bar i:first-child { background: var(--product-accent); opacity: .72; }
.product-window__bar em {
  margin-left: auto;
  color: var(--ink-38);
  font-family: var(--font-mono);
  font-size: .61rem;
  font-style: normal;
  letter-spacing: .08em;
}

.product-window__media {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--paper-2);
}

.product-window__media--fill { aspect-ratio: 16 / 10; }

.product-window__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .85rem 1rem 1rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-55);
  font-size: .82rem;
}

.product-window__caption b {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--product-accent);
}

.hero-signal {
  position: absolute;
  inset: -54px -40px auto auto;
  width: min(47%, 250px);
  aspect-ratio: 1;
  pointer-events: none;
}

.hero-signal__orbit {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(30, 72, 194, .17);
  border-radius: 50%;
}

.hero-signal__orbit:nth-child(2) { inset: 27%; border-color: rgba(212, 105, 74, .22); }
.hero-signal__node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: 0 0 0 6px var(--product-soft);
}
.hero-signal__node:nth-of-type(1) { top: 12%; left: 47%; }
.hero-signal__node:nth-of-type(2) { top: 54%; right: 5%; background: var(--coral); }
.hero-signal__node:nth-of-type(3) { bottom: 7%; left: 29%; background: var(--product-warm); }
.hero-signal__node:nth-of-type(4) { top: 42%; left: 19%; width: 13px; height: 13px; }

/* ---------- Chapter rhythm ---------- */
.product-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}

.product-marquee__track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem var(--gutter);
  font-family: var(--font-mono);
  font-size: .71rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.product-marquee__track span { display: flex; align-items: center; gap: 2rem; }
.product-marquee__track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--product-accent); }

.product-statement {
  padding-block: var(--section);
  background: var(--white);
}

.product-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.product-statement__title {
  max-width: 18ch;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.product-statement__aside {
  display: grid;
  gap: 1.15rem;
  color: var(--ink-55);
  font-size: 1.04rem;
}

.product-statement__aside strong { color: var(--ink); font-weight: 600; }

.product-section { padding-block: var(--section); }
.product-section--paper { background: var(--paper); }
.product-section--soft { background: var(--paper-2); }
.product-section--white { background: var(--white); }

.product-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.product-section__head .section-sub { justify-self: end; }

/* ---------- Process rail ---------- */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--rail-count, 3), minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
}

.process-rail::before,
.process-rail__fill {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
}

.process-rail__fill {
  right: auto;
  width: 100%;
  background: var(--product-accent);
  transform: scaleX(0);
  transform-origin: left;
}

.process-rail__step {
  position: relative;
  padding: 2.25rem clamp(1rem, 3vw, 2.5rem) 0 0;
}

.process-rail__step::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--hairline);
  box-shadow: 0 0 0 1px var(--hairline);
}

.product-section--white .process-rail__step::before { border-color: var(--white); }
.product-section--soft .process-rail__step::before { border-color: var(--paper-2); }

.process-rail__step.is-active::before {
  background: var(--product-accent);
  box-shadow: 0 0 0 5px var(--product-soft);
}

.process-rail__step em {
  display: block;
  margin-bottom: .65rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-style: normal;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--product-accent);
}

.process-rail__step h3 {
  max-width: 16ch;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.process-rail__step p { max-width: 28em; margin-top: .8rem; color: var(--ink-55); }

/* ---------- Scroll-led sequence ---------- */
.product-sequence { padding-block: var(--section); background: var(--paper); }
.product-sequence__grid {
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(320px, .75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.product-sequence__visual {
  position: sticky;
  top: clamp(92px, 13vh, 132px);
  height: min(68vh, 650px);
  min-height: 470px;
}

.sequence-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
}

.sequence-panel .product-window { max-height: 100%; }
.sequence-panel .product-window__media { max-height: calc(min(68vh, 650px) - 38px); object-fit: contain; }

.product-sequence__steps { display: grid; }
.sequence-step {
  min-height: min(74vh, 720px);
  display: grid;
  align-content: center;
  padding-block: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid var(--hairline);
  opacity: .38;
  transition: opacity .5s var(--ease-soft);
}

.sequence-step:first-child { border-top: 0; }
.sequence-step.is-active { opacity: 1; }
.sequence-step__index {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--product-accent);
}

.sequence-step h3 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.sequence-step p { max-width: 34em; margin-top: 1.2rem; color: var(--ink-55); font-size: 1.04rem; }
.sequence-step ul { display: grid; gap: .55rem; margin-top: 1.4rem; }
.sequence-step li { position: relative; padding-left: 1.1rem; color: var(--ink-70); font-size: .94rem; }
.sequence-step li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--product-accent); }

/* ---------- Media narratives ---------- */
.product-story { padding-block: var(--section); }
.product-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.product-story__row + .product-story__row { margin-top: clamp(5.5rem, 12vw, 11rem); }
.product-story__row:nth-child(even) { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.05fr); }
.product-story__row:nth-child(even) .product-story__media { order: 2; }
.product-story__copy { max-width: 35rem; }
.product-story__copy .product-kicker { margin-bottom: 1.25rem; }
.product-story__copy h3 {
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.042em;
}
.product-story__copy > p { margin-top: 1.2rem; color: var(--ink-55); font-size: 1.06rem; }
.product-story__copy .textlink { margin-top: 1.6rem; }

.product-story__list { margin-top: 1.7rem; border-top: 1px solid var(--hairline); }
.product-story__list li {
  display: grid;
  grid-template-columns: minmax(110px, .36fr) 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-55);
  font-size: .93rem;
}
.product-story__list strong { color: var(--ink); font-weight: 600; }

.product-photo {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 3px;
  background: var(--paper-2);
}
.product-photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.product-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(26, 22, 17, .76));
  color: rgba(251, 250, 246, .86);
  font-size: .78rem;
}

/* ---------- Ink proof chapter ---------- */
.product-ink {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5.5rem, 9vw, 8rem);
  background: var(--ink);
  color: var(--paper);
}

.product-ink::before {
  content: '';
  position: absolute;
  width: min(66vw, 860px);
  aspect-ratio: 1;
  top: 50%;
  right: -22%;
  transform: translateY(-50%);
  border: 1px solid rgba(200, 195, 230, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 72px rgba(200, 195, 230, .025), inset 0 0 0 144px rgba(212, 105, 74, .02);
}

.product-ink__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .55fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.product-ink .product-kicker { color: rgba(251, 250, 246, .6); }
.product-ink__title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.05em;
}
.product-ink__lede { max-width: 34em; margin-top: 1.8rem; color: rgba(251, 250, 246, .68); font-size: 1.08rem; }
.product-ink__ledger { display: grid; border-top: 1px solid rgba(251, 250, 246, .15); }
.product-ink__item { padding: 1.3rem 0 1.4rem; border-bottom: 1px solid rgba(251, 250, 246, .15); }
.product-ink__item dt { color: var(--product-warm); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.product-ink__item dd { margin-top: .55rem; color: rgba(251, 250, 246, .82); font-size: 1rem; }
.product-ink__item dd strong { display: block; color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; }

/* ---------- Capability ledger ---------- */
.capability-ledger { border-top: 1px solid var(--hairline); }
.capability-row {
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: baseline;
  padding: clamp(1.25rem, 2.8vw, 2rem) 0;
  border-bottom: 1px solid var(--hairline);
}
.capability-row__label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--product-accent); }
.capability-row h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.02em; }
.capability-row p { max-width: 42em; color: var(--ink-55); font-size: .94rem; }
.capability-row__mark { color: var(--ink-38); font-family: var(--font-mono); font-size: .72rem; }

/* ---------- Product switcher ---------- */
.product-switcher { padding-block: var(--section); background: var(--paper-2); }
.product-switcher__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.product-switcher__head h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }

/* Product pages sit one type step below the homepage scale. */
[data-product-page] .section-title { font-size: clamp(2.3rem, 3.8vw, 3.8rem); }
.product-switcher__list { border-top: 1px solid var(--hairline); }
.product-switcher__item {
  display: grid;
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid var(--hairline);
  transition: color .3s, padding .45s var(--ease-out);
}
.product-switcher__item:hover { color: var(--cobalt); padding-left: .45rem; }
.product-switcher__item[aria-current="page"] { color: var(--ink-38); pointer-events: none; }
.product-switcher__name { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 600; letter-spacing: -.03em; }
.product-switcher__desc { max-width: 38em; color: var(--ink-55); font-size: .94rem; }
.product-switcher__arrow { font-size: 1.25rem; transition: transform .35s var(--ease-out); }
.product-switcher__item:hover .product-switcher__arrow { transform: translateX(5px); }

/* ---------- Product finale ---------- */
.product-finale {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 9.5vw, 8.5rem);
  text-align: center;
  background: var(--white);
}
.product-finale::before {
  content: '';
  position: absolute;
  inset: 22% 10% auto;
  height: 75%;
  background: radial-gradient(ellipse at center, var(--product-soft), transparent 66%);
  filter: blur(20px);
}
.product-finale__strand { position: absolute; inset: auto 0 2%; width: 100%; height: 44%; pointer-events: none; opacity: .85; }
.product-finale__path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.product-finale__inner { position: relative; display: grid; justify-items: center; }
.product-finale__title {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
  font-weight: 600;
  line-height: .97;
  letter-spacing: -.053em;
  text-wrap: balance;
}
.product-finale__sub { max-width: 35em; margin-top: 1.5rem; color: var(--ink-55); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.product-finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.5rem; }

/* ---------- Small helpers ---------- */
.product-meta-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.product-meta-list span {
  padding: .48rem .72rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-55);
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(251, 250, 246, .62);
}

.signal-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}
.signal-map__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--product-accent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 0 18px var(--product-soft), 0 20px 54px -28px rgba(30, 72, 194, .7);
}
.signal-map__item {
  position: absolute;
  min-width: 128px;
  padding: .72rem .85rem;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: rgba(251, 250, 246, .94);
  box-shadow: 0 12px 28px -24px rgba(26, 22, 17, .4);
  color: var(--ink-70);
  font-size: .82rem;
}
.signal-map__item::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: 0 0 0 4px var(--product-soft);
}
.signal-map__item:nth-child(2) { left: 4%; top: 16%; }
.signal-map__item:nth-child(3) { right: 5%; top: 13%; }
.signal-map__item:nth-child(4) { left: 8%; bottom: 12%; }
.signal-map__item:nth-child(5) { right: 8%; bottom: 11%; }
.signal-map__item:nth-child(2)::after,
.signal-map__item:nth-child(4)::after { right: -4px; top: calc(50% - 3px); }
.signal-map__item:nth-child(3)::after,
.signal-map__item:nth-child(5)::after { left: -4px; top: calc(50% - 3px); }
.signal-map__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.signal-map__line path { fill: none; stroke: rgba(30, 72, 194, .32); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Coach: faithful code-native session schematic ---------- */
.coach-room {
  min-height: 480px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background: #EEECE7;
  color: var(--ink);
}
.coach-room__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-38);
}
.coach-room__status { display: inline-flex; align-items: center; gap: .5rem; color: var(--cobalt); }
.coach-room__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(30, 72, 194, .11); }
.coach-room__panels { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; min-height: 0; }
.coach-room__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid rgba(26, 22, 17, .1);
  border-radius: 3px;
  background: var(--paper);
}
.coach-room__panel--interviewer { background: linear-gradient(145deg, #E7E9F1, #D9DCE8); }
.coach-room__avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--paper);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 14px rgba(30, 72, 194, .09);
}
.coach-room__wave { position: absolute; bottom: 24px; display: flex; align-items: center; gap: 4px; height: 34px; }
.coach-room__wave i { width: 3px; height: calc(8px + var(--wave, 1) * 4px); border-radius: 99px; background: var(--cobalt); opacity: .72; }
.coach-room__wave i:nth-child(2) { --wave: 4; }
.coach-room__wave i:nth-child(3) { --wave: 6; }
.coach-room__wave i:nth-child(4) { --wave: 3; }
.coach-room__wave i:nth-child(5) { --wave: 5; }
.coach-room__user {
  width: 64%;
  height: 68%;
  align-self: end;
  border-radius: 45% 45% 4px 4px;
  background: linear-gradient(180deg, #CFC9C0 0 34%, #33466E 34% 100%);
  opacity: .92;
}
.coach-room__name { position: absolute; left: 12px; bottom: 10px; padding: .28rem .48rem; border-radius: 2px; background: rgba(26, 22, 17, .72); color: var(--paper); font-size: .67rem; }
.coach-room__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.coach-room__controls { display: flex; gap: .5rem; }
.coach-room__control { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--hairline); border-radius: 50%; background: var(--paper); font-size: .7rem; }
.coach-room__toggle { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .65rem; border: 1px solid rgba(30, 72, 194, .22); border-radius: 999px; background: rgba(30, 72, 194, .06); color: var(--cobalt); font-family: var(--font-mono); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }
.coach-room__toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(30, 72, 194, .1); }

.feedback-sheet { display: grid; gap: 0; padding: clamp(1rem, 2.4vw, 1.6rem); background: var(--paper); }
.feedback-sheet__summary { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hairline); }
.feedback-sheet__score { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; border: 7px solid rgba(30, 72, 194, .16); color: var(--cobalt); font-size: 1.5rem; font-weight: 600; }
.feedback-sheet__summary h4 { font-size: 1.05rem; font-weight: 600; }
.feedback-sheet__summary p { margin-top: .25rem; color: var(--ink-55); font-size: .8rem; }
.feedback-sheet__row { display: grid; grid-template-columns: minmax(110px, .35fr) 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.feedback-sheet__row:last-child { border-bottom: 0; }
.feedback-sheet__row strong { font-size: .85rem; font-weight: 600; }
.feedback-sheet__bar { height: 4px; overflow: hidden; border-radius: 99px; background: var(--hairline); }
.feedback-sheet__bar i { display: block; width: var(--score, 70%); height: 100%; border-radius: inherit; background: var(--cobalt); }
.feedback-sheet__row span { color: var(--ink-38); font-family: var(--font-mono); font-size: .65rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-hero__grid { grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: 3rem; }
  .product-hero__title { font-size: clamp(3.05rem, 5.4vw, 4.8rem); }
}

@media (max-width: 900px) {
  .product-page .nav__product { display: none; }
  .product-hero { min-height: auto; padding-top: calc(76px + 4.2rem); }
  .product-hero__grid,
  .product-statement__grid,
  .product-section__head,
  .product-sequence__grid,
  .product-story__row,
  .product-story__row:nth-child(even),
  .product-ink__grid { grid-template-columns: 1fr; }
  .product-hero__visual { width: min(100%, 760px); }
  .product-hero__title { max-width: 11ch; font-size: clamp(3rem, 8.6vw, 4.6rem); }
  .product-section__head .section-sub { justify-self: start; }
  .process-rail { grid-template-columns: 1fr; margin-left: 5px; }
  .process-rail::before { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; }
  .process-rail__fill { top: 0; bottom: auto; left: 0; right: auto; width: 1px; height: 100%; transform: scaleY(0); transform-origin: top; }
  .process-rail__step { padding: 0 0 2.2rem 2rem; }
  .process-rail__step::before { top: 2px; left: -5px; }
  .product-sequence__visual { position: relative; top: auto; height: auto; min-height: 0; display: grid; gap: 1.2rem; }
  .sequence-panel { position: relative; inset: auto; display: block; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .product-sequence__steps { margin-top: 2rem; }
  .sequence-step { min-height: auto; opacity: 1; padding-block: 2.6rem; }
  .product-story__row:nth-child(even) .product-story__media { order: 0; }
  .product-story__copy { max-width: 42rem; }
  .product-ink__ledger { margin-top: 1.5rem; }
  .hero-signal { inset: -40px -18px auto auto; }
}

@media (max-width: 720px) {
  .product-hero { padding-top: calc(70px + 3.2rem); }
  .product-hero__title { font-size: clamp(2.8rem, 12vw, 4rem); line-height: .95; }
  .product-hero__actions,
  .product-finale__actions { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
  .product-hero__actions .btn,
  .product-finale__actions .btn { justify-content: center; white-space: normal; text-align: center; line-height: 1.22; }
  .product-window__caption { grid-template-columns: 1fr; gap: .25rem; }
  .product-statement__title { font-size: clamp(2.2rem, 9.6vw, 3.3rem); }
  .product-story__list li { grid-template-columns: 1fr; gap: .2rem; }
  .product-photo { min-height: 360px; }
  .capability-row,
  .product-switcher__item { grid-template-columns: 1fr; gap: .45rem; }
  .capability-row__mark,
  .product-switcher__arrow { display: none; }
  .product-switcher__head { align-items: start; flex-direction: column; }
  .signal-map { min-height: 560px; }
  .signal-map__hub { width: 106px; height: 106px; }
  .signal-map__item { min-width: 112px; max-width: 130px; font-size: .75rem; }
  .signal-map__item:nth-child(2) { left: 4%; top: 8%; }
  .signal-map__item:nth-child(3) { right: 4%; top: 23%; }
  .signal-map__item:nth-child(4) { left: 4%; bottom: 23%; }
  .signal-map__item:nth-child(5) { right: 4%; bottom: 7%; }
  .coach-room { min-height: 420px; }
  .coach-room__panels { grid-template-columns: 1fr 1fr; }
  .coach-room__panel { min-height: 260px; }
  .coach-room__avatar { width: 82px; height: 82px; font-size: 1.7rem; }
  .feedback-sheet__summary { grid-template-columns: 1fr; }
  .feedback-sheet__row { grid-template-columns: 1fr auto; }
  .feedback-sheet__bar { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 420px) {
  .product-page .nav__divider { display: none; }
  .product-hero__title { font-size: clamp(2.55rem, 12.6vw, 3.3rem); }
  .hero-signal { display: none; }
}

/* ---------- Reduced motion / no JS ---------- */
.product-page.no-motion [data-reveal],
.product-page.no-motion [data-hero-reveal],
.product-page.no-motion .sequence-panel,
.product-page.no-motion .sequence-step,
.no-js .product-page [data-reveal],
.no-js .product-page [data-hero-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.no-js .product-sequence__visual {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  display: grid;
  gap: 1.2rem;
}

.no-js .sequence-panel {
  position: relative;
  inset: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.no-js .sequence-step {
  min-height: auto;
  opacity: 1;
  padding-block: 2.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .product-marquee__track { transform: none !important; }
  .product-sequence__visual { position: relative; top: auto; height: auto; min-height: 0; display: grid; gap: 1.2rem; }
  .sequence-panel { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .sequence-step { min-height: auto; opacity: 1; padding-block: 2.6rem; }
  .product-finale__path,
  .signal-map__line path { stroke-dashoffset: 0 !important; }
}
