/* Hallmark · redesign: hero only · genre modern-minimal · keeps the page's own tokens (--nm-*) and copy
   critique: the fake OS window and the decorative washes are gone; the hero now shows the product's one job, voice becoming notes
   waive 46a: social count, rating and testimonial figures are the owner's, kept as found, pending verification */

html, body { overflow-x: clip; }
.home-redesign {
  overflow-x: clip;
  --nm-ink-muted: #5f5a52;          /* 6.2:1 on --nm-bg, replaces --nm-ink3 for text */
  --nm-star: #a1580a;
  --nm-focus: #3730a3;
  --nm-card: #ffffff;
  --nm-ink-soft: rgba(26, 24, 20, .38);
  --nm-av1: #2563eb; --nm-av2: #db2777; --nm-av3: #ea580c; --nm-av4: #15803d; --nm-av5: #7c3aed;
  --nm-av-ink: #ffffff;
  --nm-who-b: #b4531f;
  --nm-rec-ink: #b42318;            /* --nm-rec darkened to 5.9:1 on the white card */
}

/* Hero frame: copy left, stage right; fills the first screen at 1280x800 and 1440x900 */
.home-redesign .nm-hero { min-height: calc(100svh - 136px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; }
.home-redesign .nm-h1 { overflow-wrap: break-word; min-width: 0; }
.home-redesign .nm-h1 .nm-grad { font-style: normal; font-weight: 600; }
.home-redesign .nm-kicker { margin: 0; font-size: 15px; color: var(--nm-ink-muted); }
.home-redesign .nm-cta-meta { display: block; margin: 14px 0 0; font-family: inherit; font-size: 14px; color: var(--nm-ink-muted); }
.home-redesign .nm-btn { min-height: 46px; padding-left: 22px; padding-right: 22px; white-space: nowrap; }
.home-redesign .nm-btn:focus-visible,
.home-redesign a:focus-visible { outline: 3px solid var(--nm-focus); outline-offset: 3px; }
.home-redesign .nm-social { margin-top: 32px; }
.home-redesign .nm-social b { color: var(--nm-ink); font-weight: 600; }
.home-redesign .nm-rating .nm-stars { color: var(--nm-star); }
.home-redesign .nm-av { color: var(--nm-av-ink); }
.home-redesign .nm-av1 { background: var(--nm-av1); }
.home-redesign .nm-av2 { background: var(--nm-av2); }
.home-redesign .nm-av3 { background: var(--nm-av3); }
.home-redesign .nm-av4 { background: var(--nm-av4); }
.home-redesign .nm-av5 { background: var(--nm-av5); }

/* Stage: wave band on top, transcript card in the middle, recap card overlapping bottom right */
.nm-stage { position: relative; height: 580px; min-width: 0; }
.nm-stage-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.nm-stage.is-live .nm-stage-gl { opacity: 1; }
.nm-wave-static { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 160px; transition: opacity .6s ease; }
.nm-stage.is-live .nm-wave-static { opacity: 0; }
.nm-listen { position: absolute; left: 0; top: 0; margin: 0; font-size: 14px; color: var(--nm-ink-muted); }

.nm-card { position: absolute; background: var(--nm-card); border: 1px solid var(--nm-line); border-radius: 16px; box-shadow: var(--nm-shadow-lg); z-index: 1; }
.nm-card-tx { left: 0; right: 56px; top: 210px; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.nm-card-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 13px; color: var(--nm-ink-muted); }
.nm-rec { color: var(--nm-rec-ink);font-weight: 600; font-variant-numeric: tabular-nums; }
.nm-card-meta { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
.nm-line { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.5; }
.nm-who { font-weight: 600; font-size: 14px; }
.nm-who-a { color: var(--nm-accent); }
.nm-who-b { color: var(--nm-who-b); }
.nm-said { color: var(--nm-ink); background: linear-gradient(var(--nm-accent-soft), var(--nm-accent-soft)) no-repeat 0 100% / 0% 100%; transition: background-size .9s cubic-bezier(.2,.7,.2,1); border-radius: 4px; }
.nm-line.is-inked .nm-said { background-size: 100% 100%; }

.nm-card-recap { right: 0; bottom: 0; width: min(340px, 78%); padding: 18px 20px; }
.nm-recap-title { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--nm-accent-ink); }
.nm-card-recap ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nm-card-recap li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--nm-ink); }
.nm-ck { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: rgba(21,128,61,.12); color: var(--nm-ok); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background-color .35s ease; }
.nm-ck svg { width: 9px; height: 9px; }
.nm-card-recap li.is-ticked .nm-ck { transform: scale(1.25); background-color: rgba(21,128,61,.22); }

@media (max-width: 1279px) {
  .home-redesign .nm-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .nm-stage { width: 100%; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .nm-stage { height: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
  .nm-wave-static { position: relative; top: 0; height: 96px; }
  .nm-card { position: relative; inset: auto; width: auto; }
  .nm-card-recap { width: auto; margin-left: 28px; margin-top: -24px; }
  .nm-stage-gl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-stage-gl { display: none; }
  .nm-said, .nm-ck, .nm-wave-static { transition: none; }
}
