:root {
  --him-bg: #080507;
  --him-bg-soft: #15070d;
  --him-burgundy: #2a0612;
  --him-wine: #5c1426;
  --him-amber: #d99a3d;
  --him-gold: #f0c56e;
  --him-cream: #f7efe2;
  --him-muted: #b9a99c;
  --him-border: rgba(240, 197, 110, 0.22);
  --him-danger: #d46a6a;
  --color-charcoal: #0f1116;
  --color-slate: #203a4a;
  --color-teal: #0d615e;
  --color-brass: #d4a24c;
  --color-ivory: #f3efe6;
  --color-warm-gray: #8d8b86;
  --color-panel: rgba(18, 23, 29, 0.86);
  --color-panel-strong: rgba(11, 14, 18, 0.94);
  --color-line: rgba(243, 239, 230, 0.13);
  --color-line-strong: rgba(212, 162, 76, 0.42);
  --shadow-panel: 0 22px 70px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 26px rgba(212, 162, 76, 0.26);
  --radius-large: 18px;
  --radius-medium: 12px;
  --radius-small: 8px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --landing-anchor-offset: 120px;
  --font-heading: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ivory);
  background: var(--color-charcoal);
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 6%, rgba(212, 162, 76, 0.13), transparent 29rem),
    radial-gradient(circle at 82% 22%, rgba(13, 97, 94, 0.24), transparent 34rem),
    linear-gradient(140deg, #090b0f 0%, var(--color-charcoal) 46%, #111820 100%);
}

a {
  color: inherit;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(243, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.landing-page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 44px;
}

.landing-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 10px 14px;
  border: 1px solid var(--him-border);
  border-radius: 18px;
  background: rgba(8, 5, 7, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.landing-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(240, 197, 110, 0.28);
  border-radius: 14px;
  background: #07070a;
}

.landing-brand span {
  display: grid;
  gap: 2px;
}

.landing-brand strong {
  color: var(--him-cream);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-brand small {
  color: var(--him-muted);
  font-size: 0.78rem;
}

.landing-nav nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.landing-nav nav a {
  padding: 10px 9px;
  color: rgba(247, 239, 226, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta,
.button-link,
.mailing-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--him-border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
}

.nav-cta,
.primary-link,
.mailing-card button {
  color: #100b06;
  background: linear-gradient(135deg, var(--him-gold), var(--him-amber));
  box-shadow: 0 18px 42px rgba(217, 154, 61, 0.22);
}

.ghost-link {
  color: var(--him-cream);
  background: rgba(247, 239, 226, 0.04);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 26px;
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: clamp(42px, 8vw, 92px) 0 54px;
}

.landing-hero-tight {
  padding-bottom: 18px;
}

.hero-copy-block,
.hero-product-card,
.landing-section {
  position: relative;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 17% 28%, rgba(217, 154, 61, 0.2), transparent 24rem),
    radial-gradient(circle at 80% 42%, rgba(92, 20, 38, 0.5), transparent 30rem);
}

.landing-eyebrow {
  margin-bottom: 12px;
  color: var(--him-amber);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2,
.final-cta h2 {
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.92;
}

.lead {
  color: rgba(247, 239, 226, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-punch {
  color: var(--him-gold);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 900;
}

.muted,
.fine-print,
.landing-section p,
.landing-section li {
  color: var(--him-muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 12px;
}

.landing-voice-compass-doorway {
  display: grid;
  gap: 8px;
  max-width: 650px;
  margin: 14px 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(240, 197, 110, 0.28);
  border-left: 3px solid var(--him-gold);
  border-radius: 10px;
  background: rgba(8, 5, 7, 0.48);
}

.landing-voice-compass-doorway p {
  margin: 0;
  color: var(--him-muted);
  line-height: 1.5;
}

.landing-voice-compass-doorway p strong {
  color: var(--him-cream);
}

.landing-voice-compass-doorway .button-link {
  justify-self: start;
  min-height: 40px;
  margin-top: 2px;
  padding: 9px 15px;
}

.landing-voice-navigator-doorway {
  display: grid;
  gap: 10px;
  max-width: 650px;
  margin: 14px 0 18px;
  padding: 18px;
  border: 1px solid rgba(240, 197, 110, 0.2);
  border-left: 3px solid var(--him-amber);
  border-radius: 10px;
  background: rgba(8, 5, 7, 0.48);
}

.landing-voice-navigator-doorway .landing-eyebrow,
.landing-voice-navigator-doorway h2,
.landing-voice-navigator-doorway p {
  margin: 0;
}

.landing-voice-navigator-doorway h2 {
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.landing-voice-navigator-doorway > p:not(.landing-eyebrow) {
  color: var(--him-muted);
  line-height: 1.5;
}

.landing-voice-navigator-doorway .button-link {
  justify-self: start;
  min-height: 40px;
  margin-top: 2px;
  padding: 9px 15px;
}

.landing-range-compass-link {
  margin: 0 16px 18px 0;
}

.hero-product-card {
  display: grid;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--him-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(217, 154, 61, 0.14), transparent 12rem),
    linear-gradient(145deg, rgba(21, 7, 13, 0.92), rgba(8, 5, 7, 0.86));
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.48);
}

.hero-logo-card {
  width: min(250px, 70vw);
  margin: 0 auto;
  border: 1px solid rgba(247, 239, 226, 0.12);
  border-radius: 32px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.4);
}

.piano-roll {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  min-height: 120px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(240, 197, 110, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.piano-roll span {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(to top, var(--him-wine), var(--him-amber));
}

.piano-roll span:nth-child(1) { height: 35%; }
.piano-roll span:nth-child(2) { height: 58%; }
.piano-roll span:nth-child(3) { height: 42%; }
.piano-roll span:nth-child(4) { height: 70%; }
.piano-roll span:nth-child(5) { height: 50%; }
.piano-roll span:nth-child(6) { height: 82%; }

.hero-product-card blockquote,
.quote-card,
.landing-section blockquote {
  margin: 0;
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.4;
}

.landing-section {
  margin: 22px 0;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--him-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 154, 61, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(21, 7, 13, 0.82), rgba(8, 5, 7, 0.72));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.landing-section[id] {
  scroll-margin-top: var(--landing-anchor-offset);
}

.landing-section.centered {
  text-align: center;
}

.training-reframe-section {
  margin-top: 0;
}

.landing-section h2 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1;
}

.centered h2,
.centered .stack-copy,
.centered .quote-card {
  margin-right: auto;
  margin-left: auto;
}

.stack-copy {
  max-width: 760px;
}

.quote-card {
  max-width: 820px;
  margin: 24px 0;
  padding: 22px;
  border-left: 2px solid var(--him-amber);
  border-radius: 16px;
  background: rgba(247, 239, 226, 0.045);
}

.courtroom-image-card {
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid rgba(240, 197, 110, 0.22);
  border-radius: 24px;
  background: #080507;
  box-shadow: 0 0 40px rgba(217, 154, 61, 0.12);
}

.courtroom-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.card-grid,
.feature-list,
.timeline {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid article,
.feature-list article,
.timeline article,
.pricing-card {
  padding: 22px;
  border: 1px solid rgba(240, 197, 110, 0.16);
  border-radius: 20px;
  background: rgba(5, 3, 5, 0.42);
}

.card-grid h3,
.feature-list h3,
.timeline h3,
.pricing-card h3,
.voice-review-card h3 {
  margin-top: 0;
  color: var(--him-gold);
  font-family: var(--font-heading);
}

.product-split,
.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.origin-section {
  padding: clamp(42px, 6vw, 76px);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.origin-portrait-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(240, 197, 110, 0.25);
  border-radius: 28px;
  background: var(--him-bg);
  box-shadow:
    0 0 50px rgba(217, 154, 61, 0.18),
    inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.origin-portrait-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.origin-copy {
  align-self: start;
}

.origin-centered-proof {
  max-width: 820px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
  text-align: center;
}

.origin-centered-proof .origin-quote,
.origin-quote {
  max-width: 720px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-align: center;
}

.origin-centered-proof p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.origin-punch {
  margin-top: 24px;
  color: var(--him-cream);
  font-family: var(--font-heading);
  font-weight: 900;
}

.origin-centered-proof .button-link {
  margin-top: 28px;
}

.safety-note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(212, 106, 106, 0.3);
  border-radius: 16px;
  color: #e2b3ad;
  background: rgba(92, 20, 38, 0.16);
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-utility-section .stack-copy {
  max-width: 860px;
}

.utility-benefits {
  margin-top: 24px;
}

.pricing-section {
  align-items: stretch;
}

.pricing-card.featured {
  border-color: rgba(240, 197, 110, 0.48);
  box-shadow: var(--shadow-glow);
}

.price {
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--him-border);
  border-radius: 999px;
  color: var(--him-gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.voice-review-card {
  border-color: rgba(240, 197, 110, 0.38);
}

.mailing-card,
.final-cta {
  text-align: center;
}

.mailing-card form {
  display: flex;
  max-width: 620px;
  gap: 10px;
  margin: 22px auto;
}

.mailing-card input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--him-border);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--him-cream);
  background: rgba(8, 5, 7, 0.72);
}

.final-cta .cta-row {
  justify-content: center;
}

.landing-footer {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 26px 4px 0;
  border-top: 1px solid var(--him-border);
}

.landing-footer blockquote {
  margin: 0;
  color: var(--him-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.landing-footer a {
  color: var(--him-muted);
  text-decoration: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 76px;
  padding: 12px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: rgba(10, 13, 17, 0.72);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.monogram {
  display: grid;
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 162, 76, 0.34);
  border-radius: 16px;
  background: rgba(9, 11, 15, 0.64);
  box-shadow: var(--shadow-glow);
}

svg {
  display: block;
}

.monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  max-width: 190px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--color-warm-gray);
  font-size: 0.76rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav a {
  min-width: 82px;
  padding: 11px 14px;
  border-bottom: 2px solid transparent;
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.topnav a.active {
  border-color: var(--color-brass);
  color: var(--color-brass);
}

.hero-panel {
  display: block;
  margin: 26px 0;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 8% 30%, rgba(212, 162, 76, 0.18), transparent 21rem),
    linear-gradient(135deg, rgba(21, 28, 35, 0.96), rgba(10, 13, 17, 0.88));
  box-shadow: var(--shadow-panel);
}

.hero-content {
  max-width: none;
}

.scale-builder-logo {
  display: block;
  width: clamp(120px, 18vw, 180px);
  height: auto;
  margin: 0 auto 20px;
  border: 1px solid rgba(243, 239, 230, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), var(--shadow-glow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-heading);
}

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(2.35rem, 6vw, 5.3rem);
  line-height: 0.96;
  color: var(--color-ivory);
}

h2 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  color: var(--color-ivory);
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(243, 239, 230, 0.75);
  font-size: 1.04rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.builder-card,
article {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background:
    linear-gradient(150deg, rgba(32, 58, 74, 0.32), transparent 48%),
    var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.builder-card {
  padding: var(--space-4);
}

.edition-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding: 14px;
  border: 1px solid rgba(212, 162, 76, 0.22);
  border-radius: var(--radius-medium);
  background: rgba(7, 9, 12, 0.36);
}

.edition-label {
  margin-bottom: 4px;
  color: var(--color-warm-gray);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edition-badge {
  margin-bottom: 0;
  color: var(--color-brass);
  font-weight: 900;
}

.upgrade-note {
  margin: 0 0 var(--space-3);
  padding: 12px 14px;
  border: 1px solid rgba(212, 162, 76, 0.28);
  border-radius: var(--radius-medium);
  color: rgba(243, 239, 230, 0.78);
  background: rgba(212, 162, 76, 0.08);
}

.voice-compass-handoff-notice {
  margin: 0 0 var(--space-3);
  padding: 12px 14px;
  border: 1px solid rgba(17, 142, 136, 0.46);
  border-radius: var(--radius-medium);
  color: rgba(243, 239, 230, 0.9);
  background: rgba(17, 142, 136, 0.12);
  line-height: 1.45;
}

.license-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: min(100%, 310px);
}

.license-link,
.license-text-button {
  color: var(--color-brass);
  font-weight: 800;
}

.license-link {
  text-decoration: none;
}

.license-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.license-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: end;
  gap: 8px;
  width: 100%;
}

.license-form input {
  min-height: 38px;
}

.license-message {
  max-width: 330px;
  margin: 0;
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.82rem;
  text-align: right;
}

.app-view-tabs {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(141, 139, 134, 0.25);
}

.app-view-tab,
.completed-difficulty-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--color-warm-gray);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.app-view-tab {
  padding: 0 22px;
}

.app-view-tab:hover,
.app-view-tab:focus-visible,
.completed-difficulty-tabs button:hover,
.completed-difficulty-tabs button:focus-visible,
.completed-text-button:hover,
.completed-text-button:focus-visible {
  color: var(--color-ivory);
}

.app-view-tab.is-selected,
.completed-difficulty-tabs button.is-selected {
  border-bottom-color: var(--color-brass);
  color: var(--color-ivory);
}

.app-view-tab:disabled,
.completed-difficulty-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.completed-text-button {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: var(--color-brass);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.completed-text-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.completed-library-view {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 48px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(141, 139, 134, 0.28);
  border-radius: 8px;
  background: rgba(15, 17, 22, 0.94);
}

.completed-library-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.completed-library-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.completed-library-disclosure {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--color-warm-gray);
  line-height: 1.6;
}

.completed-storage-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(141, 139, 134, 0.25);
  border-radius: var(--radius-small);
  background: rgba(32, 52, 74, 0.16);
}

.completed-storage-summary h3,
.completed-storage-summary p,
.completed-storage-note {
  margin: 0;
}

.completed-storage-summary h3 {
  color: var(--color-ivory);
  font-size: 0.95rem;
}

.completed-storage-summary p {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--color-warm-gray);
  font-size: 0.84rem;
  line-height: 1.45;
}

.completed-storage-summary button {
  flex: 0 0 auto;
  max-width: 240px;
}

.completed-storage-note {
  margin-top: 8px;
  color: rgba(243, 239, 230, 0.58);
  font-size: 0.78rem;
  line-height: 1.45;
}

.completed-difficulty-tabs {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  border-bottom: 1px solid rgba(141, 139, 134, 0.22);
}

.completed-difficulty-tabs button {
  padding: 0 4px;
}

.completed-library-message {
  min-height: 1.4em;
  margin: 16px 0 0;
  color: var(--color-brass);
}

.completed-library-empty {
  margin: 24px 0 0;
  padding: 28px 20px;
  border: 1px dashed rgba(141, 139, 134, 0.35);
  text-align: center;
  color: var(--color-warm-gray);
}

.completed-exercise-group {
  margin-top: 28px;
}

.completed-exercise-group h3 {
  margin: 0 0 12px;
  color: var(--color-ivory);
  font-size: 1.08rem;
}

.completed-track-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.45fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid rgba(141, 139, 134, 0.22);
  background: rgba(32, 52, 74, 0.14);
}

.completed-track-card:last-child {
  border-bottom: 1px solid rgba(141, 139, 134, 0.22);
}

.completed-track-card.is-unavailable {
  border-color: rgba(216, 104, 95, 0.32);
  background: rgba(216, 104, 95, 0.08);
}

.completed-unavailable-group {
  padding-top: 20px;
  border-top: 1px solid rgba(216, 104, 95, 0.28);
}

.completed-track-filename {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--color-ivory);
  font-weight: 700;
}

.completed-track-completion {
  margin: 8px 0 0;
  color: var(--color-warm-gray);
  font-size: 0.86rem;
  line-height: 1.45;
}

.completed-track-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 12px;
  margin: 0;
  font-size: 0.86rem;
}

.completed-track-details dt {
  color: var(--color-warm-gray);
}

.completed-track-details dd {
  margin: 0;
  color: var(--color-ivory);
}

.completed-track-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.completed-track-actions button {
  min-height: 42px;
  white-space: nowrap;
}

.danger-action {
  border-color: rgba(216, 104, 95, 0.5);
  color: #f0b1aa;
}

.danger-action:hover,
.danger-action:focus-visible {
  border-color: #e07d73;
  color: #fff;
}

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

.local-qa-edition-control {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 var(--space-3);
  padding: 10px 12px;
  border: 1px dashed rgba(240, 197, 110, 0.34);
  border-radius: 10px;
  background: rgba(8, 5, 7, 0.42);
}

.local-qa-edition-control p {
  margin: 0;
  color: rgba(247, 239, 226, 0.58);
  font-size: 0.78rem;
}

.local-qa-edition-label {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--him-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.local-qa-edition-label select {
  min-height: 34px;
  padding: 6px 32px 6px 10px;
  border: 1px solid rgba(240, 197, 110, 0.28);
  border-radius: 8px;
  color: var(--him-cream);
  background: rgba(8, 5, 7, 0.82);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.owner-access-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(212, 162, 76, 0.24);
  border-radius: var(--radius-medium);
  background: rgba(10, 13, 17, 0.72);
  box-shadow: var(--shadow-panel);
}

.owner-access-panel .license-form {
  align-items: end;
}

.owner-access-panel .license-message {
  max-width: none;
  text-align: left;
}

.controls,
.actions,
.output {
  display: grid;
  gap: var(--space-3);
}

.controls {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  margin-bottom: var(--space-3);
}

.controls > label {
  min-width: 0;
}

.controls > label select {
  width: 100%;
  max-width: 100%;
}

.selector-region {
  display: contents;
}

.selector-region[hidden] {
  display: none;
}

.anchor-selector-group {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid rgba(243, 239, 230, 0.13);
  border-radius: var(--radius-small);
  background: rgba(7, 9, 12, 0.38);
}

.anchor-selector-group legend {
  padding: 0 5px;
  color: rgba(243, 239, 230, 0.84);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.anchor-selector-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(74px, 0.75fr);
  gap: 8px;
}

.anchor-selector-fields label {
  min-width: 0;
  color: var(--color-warm-gray);
  font-size: 0.72rem;
}

.anchor-selector-fields select {
  width: 100%;
}

.anchor-audition-button {
  width: 100%;
  min-height: 38px;
  margin-top: 9px;
  padding: 8px 10px;
  border-color: rgba(212, 162, 76, 0.34);
  color: rgba(243, 239, 230, 0.9);
  font-size: 0.76rem;
  white-space: normal;
}

.anchor-audition-button[aria-busy="true"] {
  border-color: rgba(212, 162, 76, 0.62);
  box-shadow: 0 0 15px rgba(212, 162, 76, 0.18);
}

.builder-voice-compass-helper {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(212, 162, 76, 0.3);
  border-radius: var(--radius-small);
  background: rgba(7, 9, 12, 0.5);
}

.builder-voice-compass-helper p {
  margin: 0;
  color: var(--color-warm-gray);
  font-size: 0.78rem;
  line-height: 1.45;
}

.builder-voice-compass-helper p strong {
  color: var(--color-ivory);
}

.builder-voice-compass-helper .text-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--color-brass);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.playback-summary {
  margin-bottom: var(--space-3);
  padding: var(--space-3);
  border: 1px solid rgba(212, 162, 76, 0.24);
  border-radius: var(--radius-medium);
  background: rgba(7, 10, 13, 0.78);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.22);
}

.playback-summary p {
  margin: 0;
}

.playback-summary .eyebrow {
  margin-bottom: 8px;
}

#playbackSummaryText {
  color: var(--color-ivory);
  font-weight: 700;
  line-height: 1.45;
}

.playback-capture-status {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.speed-control {
  --speed-stop-size: 46px;
  --speed-thumb-size: 16px;
  --speed-step: 2;
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
  padding: 10px 12px 8px;
  border: 1px solid rgba(243, 239, 230, 0.12);
  border-radius: var(--radius-small);
  background: rgba(7, 9, 12, 0.38);
}

.offset-notice {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(212, 162, 76, 0.24);
  border-radius: var(--radius-small);
  background: rgba(212, 162, 76, 0.08);
  color: rgba(243, 239, 230, 0.82);
  font-size: 0.82rem;
}

.speed-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(243, 239, 230, 0.84);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.speed-control-header output {
  color: var(--color-brass);
  font-size: 0.76rem;
}

.speed-slider-row {
  position: relative;
  min-height: 22px;
  touch-action: pan-y;
}

.speed-slider-track {
  position: absolute;
  top: 50%;
  right: 10%;
  left: 10%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d8dff, #31aaa1 35%, #d4a24c 62%, #e55a3c 100%);
  pointer-events: none;
  transform: translateY(-50%);
}

.speed-slider-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--speed-step) * 25%);
  width: var(--speed-thumb-size);
  height: var(--speed-thumb-size);
  border: 2px solid var(--color-ivory);
  border-radius: 50%;
  background: var(--color-brass);
  box-shadow: 0 0 16px rgba(212, 162, 76, 0.48);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.speed-control input[type="range"] {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  accent-color: var(--color-brass);
  background: transparent;
  pointer-events: none;
  opacity: 0;
  touch-action: pan-y;
}

.speed-control input[type="range"]::-webkit-slider-runnable-track {
  height: 22px;
  border-radius: 999px;
  background: transparent;
}

.speed-control input[type="range"]::-webkit-slider-thumb {
  width: var(--speed-thumb-size);
  height: var(--speed-thumb-size);
  margin-top: 3px;
  border: 2px solid var(--color-ivory);
  border-radius: 50%;
  background: var(--color-brass);
  box-shadow: 0 0 16px rgba(212, 162, 76, 0.48);
  -webkit-appearance: none;
}

.speed-control input[type="range"]::-moz-range-track {
  height: 22px;
  border-radius: 999px;
  background: transparent;
}

.speed-control input[type="range"]::-moz-range-thumb {
  width: var(--speed-thumb-size);
  height: var(--speed-thumb-size);
  border: 2px solid var(--color-ivory);
  border-radius: 50%;
  background: var(--color-brass);
  box-shadow: 0 0 16px rgba(212, 162, 76, 0.48);
}

.speed-stops {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  touch-action: pan-y;
}

.speed-stop {
  justify-self: center;
  width: var(--speed-stop-size);
  min-height: var(--speed-stop-size);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.speed-stop.is-selected {
  border-color: rgba(240, 197, 110, 0.56);
  background: rgba(212, 162, 76, 0.12);
  box-shadow: 0 0 18px rgba(212, 162, 76, 0.24);
}

.piano-roll-visual {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding: 9px 10px 10px;
  border: 1px solid rgba(240, 197, 110, 0.2);
  border-radius: var(--radius-small);
  background: rgba(0, 0, 0, 0.18);
}

.piano-roll-visual.is-success {
  border-color: rgba(240, 197, 110, 0.56);
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 197, 110, 0.18), transparent 8rem),
    rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 28px rgba(217, 154, 61, 0.18);
}

.piano-roll-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(243, 239, 230, 0.76);
  font-size: 0.74rem;
}

.piano-roll-header span:first-child {
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-weight: 800;
}

.piano-roll-keyboard {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 74px;
}

.piano-roll-key {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 2px 7px;
  border: 1px solid rgba(243, 239, 230, 0.18);
  color: rgba(15, 17, 22, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transition: background 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

.piano-roll-key.white {
  min-height: 74px;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #f7efe2, #a9a49c);
}

.piano-roll-key.black {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 9.5%;
  min-height: 45px;
  border-color: rgba(240, 197, 110, 0.16);
  border-radius: 0 0 6px 6px;
  color: rgba(243, 239, 230, 0.88);
  background: linear-gradient(180deg, #15171d, #050506);
  transform: translateX(-50%);
}

.piano-roll-key.is-active {
  color: #100b06;
  background: linear-gradient(180deg, var(--him-gold), var(--him-amber));
  box-shadow:
    0 0 0 2px rgba(247, 239, 226, 0.28),
    0 0 22px rgba(217, 154, 61, 0.52);
}

.piano-roll-visual.is-success .piano-roll-key {
  animation: piano-roll-success-wave 1.45s ease-in-out infinite;
  animation-delay: calc(var(--success-index) * 70ms);
}

.piano-roll-visual.is-success .piano-roll-key.white,
.piano-roll-visual.is-success .piano-roll-key.black {
  color: #100b06;
}

@keyframes piano-roll-success-wave {
  0%,
  100% {
    background: linear-gradient(180deg, #f7efe2, #a9a49c);
    box-shadow: none;
    transform: translateY(0);
  }

  38% {
    color: #100b06;
    background: linear-gradient(180deg, var(--him-gold), var(--him-amber));
    box-shadow:
      0 0 0 2px rgba(247, 239, 226, 0.22),
      0 0 22px rgba(217, 154, 61, 0.5);
    transform: translateY(-4px);
  }
}

.piano-roll-visual.is-success .piano-roll-key.black {
  animation-name: piano-roll-success-wave-black;
}

@keyframes piano-roll-success-wave-black {
  0%,
  100% {
    background: linear-gradient(180deg, #15171d, #050506);
    box-shadow: none;
    transform: translateX(-50%) translateY(0);
  }

  38% {
    color: #100b06;
    background: linear-gradient(180deg, var(--him-gold), var(--him-amber));
    box-shadow:
      0 0 0 2px rgba(247, 239, 226, 0.22),
      0 0 22px rgba(217, 154, 61, 0.5);
    transform: translateX(-50%) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .piano-roll-visual.is-success .piano-roll-key {
    animation: none;
    color: #100b06;
    background: linear-gradient(180deg, var(--him-gold), var(--him-amber));
    box-shadow: 0 0 16px rgba(217, 154, 61, 0.28);
  }

  .piano-roll-visual.is-success .piano-roll-key.black {
    transform: translateX(-50%);
  }
}

.piano-roll-debug {
  margin: 0;
  color: rgba(243, 239, 230, 0.66);
  font-size: 0.72rem;
}

.playback-option-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.metronome-toggle,
.esteem-booster-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 34px;
  color: rgba(243, 239, 230, 0.84);
  font-size: 0.78rem;
}

.metronome-toggle {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.metronome-toggle input,
.esteem-booster-toggle input {
  width: 34px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border-radius: 999px;
  accent-color: var(--color-brass);
}

.metronome-toggle span,
.esteem-booster-toggle span {
  font-family: var(--font-heading);
  font-weight: 800;
}

.metronome-toggle small {
  color: var(--color-warm-gray);
  font-size: 0.72rem;
  text-align: right;
}

.esteem-booster-control {
  position: relative;
  min-width: 0;
}

.configuration-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: max-content;
  max-width: min(260px, calc(100vw - 48px));
  padding: 8px 10px;
  border: 1px solid rgba(212, 162, 76, 0.42);
  border-radius: var(--radius-small);
  background: #11151a;
  box-shadow: var(--shadow-soft);
  color: var(--color-ivory);
  font-size: 0.76rem;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

.esteem-booster-control:hover .configuration-tooltip,
.esteem-booster-control:focus-within .configuration-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(243, 239, 230, 0.84);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
}

select,
input,
button {
  min-height: 46px;
  border: 1px solid rgba(243, 239, 230, 0.13);
  border-radius: var(--radius-small);
  padding: 10px 12px;
  color: var(--color-ivory);
  font: inherit;
  background: rgba(7, 9, 12, 0.72);
}

select {
  color-scheme: dark;
}

button {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 800;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

button:hover:not(:disabled),
button:focus-visible {
  border-color: var(--color-brass);
  outline: 2px solid rgba(212, 162, 76, 0.25);
  outline-offset: 2px;
}

.actions {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.primary-action {
  border-color: rgba(212, 162, 76, 0.7);
  color: #101216;
  background: linear-gradient(135deg, #f0c36f, var(--color-brass));
  box-shadow: 0 12px 28px rgba(212, 162, 76, 0.2);
}

.teal-action {
  border-color: rgba(17, 142, 136, 0.72);
  background: linear-gradient(135deg, #11847f, var(--color-teal));
  box-shadow: 0 12px 28px rgba(13, 97, 94, 0.24);
}

.secondary-action,
.outline-action,
.log-toggle {
  color: rgba(243, 239, 230, 0.86);
  background: rgba(7, 9, 12, 0.42);
}

.outline-action,
.log-toggle {
  border-color: rgba(212, 162, 76, 0.27);
}

.output {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  margin-top: var(--space-3);
}

.audio-diagnostics {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: var(--space-4);
  border: 1px dashed rgba(212, 162, 76, 0.46);
  border-radius: var(--radius-card);
  background: rgba(7, 9, 12, 0.78);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: var(--space-3);
}

.diagnostic-playback-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: var(--space-3);
}

.diagnostic-bank-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 14px;
  padding: var(--space-3);
  border: 1px solid rgba(240, 197, 110, 0.22);
  border-radius: var(--radius-small);
  color: rgba(243, 239, 230, 0.82);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
}

.diagnostic-bank-info strong {
  color: var(--color-brass);
}

.diagnostic-grid label,
.diagnostic-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(243, 239, 230, 0.82);
}

.diagnostic-actions {
  flex-wrap: wrap;
}

.audio-diagnostics pre {
  max-height: 320px;
  overflow: auto;
  padding: var(--space-3);
  border: 1px solid rgba(243, 239, 230, 0.12);
  border-radius: var(--radius-small);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(243, 239, 230, 0.84);
  white-space: pre-wrap;
}

article {
  padding: 20px;
}

article h2 {
  margin-bottom: 8px;
}

dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 14px;
  margin: 12px 0 16px;
  padding: 16px;
  border: 1px solid rgba(243, 239, 230, 0.1);
  border-radius: var(--radius-medium);
  background: rgba(5, 7, 10, 0.38);
}

dt {
  color: var(--color-brass);
  font-weight: 800;
}

dd {
  margin: 0;
  color: rgba(243, 239, 230, 0.74);
}

ol {
  max-height: 420px;
  margin: 0;
  padding: 14px 14px 14px 38px;
  overflow: auto;
  border: 1px solid rgba(243, 239, 230, 0.1);
  border-radius: var(--radius-medium);
  color: rgba(243, 239, 230, 0.74);
  background: rgba(5, 7, 10, 0.48);
}

.log-toggle {
  min-height: 40px;
  margin: 4px 0 12px;
  padding-inline: 16px;
}

li {
  margin-bottom: 7px;
}

.error {
  color: #ffb5a8;
  font-weight: 800;
}

.validation {
  margin-bottom: 12px;
  color: rgba(243, 239, 230, 0.73);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--space-4);
  padding: 18px 4px 0;
  border-top: 1px solid var(--color-line);
  color: rgba(243, 239, 230, 0.55);
  font-size: 0.86rem;
}

footer span:first-child {
  color: var(--color-brass);
  font-weight: 800;
}

@media (max-width: 860px) {
  .landing-nav,
  .landing-hero,
  .product-split,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .landing-nav nav {
    order: 3;
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .feature-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .topbar,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .topnav a {
    min-width: 0;
  }

  .scale-builder-logo {
    width: 140px;
  }

  .completed-track-card {
    grid-template-columns: 1fr;
  }

  .completed-track-actions {
    grid-template-columns: 1fr 1fr;
  }

  .completed-storage-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .completed-storage-summary button {
    width: 100%;
    max-width: none;
  }
}

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

  .origin-portrait-frame {
    height: auto;
  }

  .origin-portrait-image {
    object-position: center;
  }

  .courtroom-image-card {
    max-width: 100%;
    margin: 20px auto 0;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {

  .playback-option-toggles {
    grid-template-columns: 1fr;
  }

  .app-view-tabs,
  .completed-library-view {
    width: min(100% - 24px, 1180px);
  }

  .app-view-tab {
    flex: 1;
    padding: 0 12px;
  }

  .completed-library-header {
    display: grid;
  }

  .completed-library-header .danger-action {
    width: 100%;
  }

  .completed-difficulty-tabs {
    gap: 6px;
    overflow-x: auto;
  }

  .completed-difficulty-tabs button {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
  }

  .completed-track-details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .completed-track-details dd {
    margin-bottom: 8px;
  }

  .completed-track-actions {
    grid-template-columns: 1fr;
  }
  .landing-page {
    width: min(100% - 18px, 1180px);
  }

  .landing-nav {
    top: 8px;
    gap: 10px;
  }

  .landing-nav nav a {
    padding: 8px 7px;
    font-size: 0.8rem;
  }

  .nav-cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .landing-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .mailing-card form {
    display: grid;
  }

  .app-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .controls,
  .actions,
  .output {
    grid-template-columns: 1fr;
  }

  .topnav {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-text span {
    display: none;
  }

  .hero-panel,
  .builder-card,
  article {
    padding: 16px;
  }

  .edition-panel {
    display: grid;
  }

  .edition-panel label {
    min-width: 0;
  }

  .local-qa-edition-control,
  .local-qa-edition-label {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}

/* Focused product landing page. Keep these rules scoped away from the app. */
body.landing-menu-open {
  overflow: hidden;
}

.landing-menu-backdrop {
  display: none;
}

.landing-menu-backdrop:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: block;
  width: 100vw;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  cursor: default;
}

.landing-page {
  width: min(1240px, calc(100% - 40px));
  padding: 18px 0 54px;
}

.product-shell .landing-nav {
  grid-template-columns: minmax(210px, 1fr) auto;
  min-height: 72px;
  gap: 18px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(7, 7, 10, 0.92);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.product-shell .landing-menu-toggle {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(240, 197, 110, 0.34);
  border-radius: 6px;
  color: var(--him-cream);
  background: rgba(8, 5, 7, 0.72);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.product-shell .landing-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 2;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  width: min(420px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid rgba(240, 197, 110, 0.25);
  border-radius: 8px;
  background: #07070a;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.58);
}

.product-shell .landing-menu.is-open {
  display: grid;
  gap: 12px;
}

.product-shell .landing-brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #07070a;
}

.product-shell .landing-nav nav {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-shell .landing-nav nav a {
  min-height: 44px;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
  font-size: 0.84rem;
  line-height: normal;
}

.product-shell .landing-menu .nav-cta {
  line-height: normal;
}

.product-shell .landing-menu-icon,
.product-shell .landing-menu-icon::before,
.product-shell .landing-menu-icon::after {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--him-gold);
  content: "";
}

.product-shell .landing-menu-icon {
  position: relative;
}

.product-shell .landing-menu-icon::before,
.product-shell .landing-menu-icon::after {
  position: absolute;
  left: 0;
}

.product-shell .landing-menu-icon::before {
  top: -5px;
}

.product-shell .landing-menu-icon::after {
  top: 5px;
}

.product-shell .landing-nav nav a[aria-current="page"] {
  color: var(--him-gold);
  box-shadow: inset 0 -2px 0 var(--him-gold);
}

.product-shell .landing-nav a:focus-visible,
.product-shell .landing-menu-toggle:focus-visible,
.landing-page .product-gallery-tab:focus-visible,
.landing-page .button-link:focus-visible,
.landing-page .text-link:focus-visible,
.product-shell .landing-footer a:focus-visible {
  outline: 3px solid var(--him-gold);
  outline-offset: 4px;
}

.landing-page .landing-hero {
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  min-height: 760px;
  gap: 54px;
  padding: 68px 0 60px;
}

.landing-page .product-hero {
  grid-template-columns: minmax(0, 920px);
  min-height: auto;
  padding: 96px 0 76px;
}

.landing-page .product-hero h1 {
  max-width: 920px;
}

.landing-page .landing-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(92, 20, 38, 0.42), transparent 30rem),
    radial-gradient(circle at 82% 28%, rgba(13, 97, 94, 0.17), transparent 28rem);
}

.landing-page .landing-hero h1 {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: 4.65rem;
  line-height: 0.98;
}

.landing-page .landing-eyebrow {
  color: var(--him-gold);
}

.landing-page .hero-copy-block .lead {
  max-width: 670px;
}

.landing-page .hero-philosophy {
  max-width: 620px;
  margin-top: 26px;
  color: var(--him-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.45;
}

.landing-page .button-link.is-static {
  cursor: default;
  user-select: none;
}

.landing-page .product-visual {
  margin: 0;
}

.landing-page .product-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 197, 110, 0.3);
  border-radius: 8px;
  background: #080a0d;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(217, 154, 61, 0.12);
}

.landing-page .product-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(243, 239, 230, 0.05);
}

.landing-page .product-screen img {
  display: block;
  width: 100%;
}

.landing-page .hero-screen {
  aspect-ratio: 16 / 10;
}

.landing-page .hero-screen img {
  height: 100%;
  object-fit: cover;
  object-position: center 59%;
}

.landing-page .product-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.landing-page .product-callouts span {
  min-width: 0;
  padding: 9px 10px;
  border-top: 1px solid rgba(240, 197, 110, 0.42);
  color: rgba(247, 239, 226, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.landing-page .landing-product-visual {
  max-width: 1040px;
  margin: 28px auto 34px;
}

.landing-page .feature-phoenix-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 26px auto 0;
  padding: 8px;
  object-fit: contain;
  border: 1px solid rgba(240, 197, 110, 0.28);
  border-radius: 8px;
  background: #07070a;
}

.landing-page .workflow-strip {
  margin: 0 0 30px;
  padding: 26px 0;
  border-top: 1px solid var(--him-border);
  border-bottom: 1px solid var(--him-border);
}

.landing-page .workflow-strip ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-page .workflow-strip li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 4px 28px;
  border-left: 1px solid rgba(240, 197, 110, 0.18);
}

.landing-page .workflow-strip li:first-child {
  padding-left: 0;
  border-left: 0;
}

.landing-page .workflow-strip li:last-child {
  padding-right: 0;
}

.landing-page .workflow-number {
  color: var(--him-amber);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
}

.landing-page .workflow-strip strong {
  display: block;
  margin-bottom: 7px;
  color: var(--him-cream);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.landing-page .workflow-strip p {
  margin: 0;
  color: var(--him-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.landing-page .landing-section {
  margin: 0;
  padding: 92px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-page .landing-section + .landing-section {
  border-top: 1px solid rgba(240, 197, 110, 0.15);
}

.landing-page .landing-section h2 {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: 4rem;
  line-height: 1;
}

.landing-page .section-intro {
  max-width: 780px;
}

.landing-page .section-intro > p:last-child {
  margin-bottom: 0;
}

.landing-page .product-demo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1.42fr);
  gap: 56px;
  align-items: center;
}

.landing-page .product-demo-section .button-link {
  margin-top: 18px;
}

.landing-page .product-gallery {
  min-width: 0;
}

.landing-page .product-gallery-stage {
  aspect-ratio: 16 / 10;
}

.landing-page .product-gallery-panel {
  position: relative;
  width: 100%;
  height: 100%;
}

.landing-page .product-gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.landing-page .product-gallery-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.landing-page .product-gallery-tab {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(240, 197, 110, 0.18);
  border-radius: 6px;
  color: rgba(247, 239, 226, 0.65);
  background: rgba(8, 5, 7, 0.42);
  font: inherit;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.landing-page .product-gallery-tab strong,
.landing-page .product-gallery-tab span {
  display: block;
}

.landing-page .product-gallery-tab strong {
  margin-bottom: 6px;
  color: var(--him-gold);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.landing-page .product-gallery-tab span {
  overflow-wrap: anywhere;
  font-size: 0.76rem;
}

.landing-page .product-gallery-tab:hover {
  border-color: rgba(240, 197, 110, 0.4);
  color: var(--him-cream);
}

.landing-page .product-gallery-tab.is-active {
  border-color: var(--him-gold);
  color: var(--him-cream);
  background: rgba(212, 162, 76, 0.1);
  box-shadow: inset 0 3px 0 var(--him-gold);
}

.landing-page .problem-section,
.landing-page .practical-origin-section,
.landing-page .feature-section,
.landing-page .safety-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.landing-page .problem-copy,
.landing-page .origin-practical-copy {
  max-width: 720px;
}

.landing-page .problem-copy p,
.landing-page .origin-practical-copy p,
.landing-page .safety-section p {
  font-size: 1.05rem;
}

.landing-page .problem-copy blockquote,
.landing-page .origin-practical-copy blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--him-amber);
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.45;
}

.landing-page .text-link {
  display: inline-flex;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--him-amber);
  color: var(--him-gold);
  font-weight: 800;
  text-decoration: none;
}

.landing-page .voice-review-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 100%;
  margin: 36px auto;
  padding: 64px;
  box-sizing: border-box;
  border: 1px solid rgba(240, 197, 110, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(42, 6, 18, 0.82), rgba(8, 5, 7, 0.88)),
    var(--him-bg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.landing-page .voice-review-section > *,
.landing-page .voice-review-copy,
.landing-page .voice-review-facts,
.landing-page .voice-review-facts > div {
  min-width: 0;
}

.landing-page .voice-review-section h2 {
  font-size: 3.65rem;
}

.landing-page .privacy-line {
  padding-left: 16px;
  border-left: 2px solid rgba(13, 97, 94, 0.9);
  color: rgba(247, 239, 226, 0.8);
}

.landing-page .voice-review-facts,
.landing-page .feature-definition-list {
  margin: 0;
}

.landing-page .voice-review-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  align-content: center;
}

.landing-page .voice-review-facts > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(240, 197, 110, 0.18);
}

.landing-page .voice-review-facts dt,
.landing-page .feature-definition-list dt {
  margin-bottom: 5px;
  color: var(--him-amber);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-page .voice-review-facts dd,
.landing-page .feature-definition-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--him-cream);
  line-height: 1.45;
}

.landing-page .feature-definition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
}

.landing-page .feature-definition-list > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(240, 197, 110, 0.16);
}

.landing-page .pricing-section {
  display: block;
}

.landing-page .pricing-intro {
  margin-bottom: 44px;
}

.landing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.landing-page .pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  border: 1px solid rgba(240, 197, 110, 0.2);
  border-radius: 8px;
  background: rgba(8, 5, 7, 0.5);
}

.landing-page .pricing-card.featured {
  border-color: rgba(240, 197, 110, 0.5);
  background: linear-gradient(150deg, rgba(42, 6, 18, 0.75), rgba(8, 5, 7, 0.7));
  box-shadow: 0 0 30px rgba(217, 154, 61, 0.1);
}

.landing-page .pricing-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 18px 0 2px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(240, 197, 110, 0.24);
  border-radius: 6px;
  background: #07070a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.landing-page .pricing-card h3 {
  margin: 16px 0 6px;
  color: var(--him-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.landing-page .pricing-card .price {
  margin: 0 0 18px;
  color: var(--him-gold);
}

.landing-page .pricing-card .price small {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.landing-page .pricing-card ul {
  flex: 1;
  margin: 12px 0 28px;
  padding-left: 20px;
}

.landing-page .pricing-card > .button-link,
.landing-page .pricing-actions {
  align-self: flex-start;
  margin-top: auto;
}

.landing-page .pricing-actions {
  display: grid;
  gap: 10px;
  width: 100%;
}

.landing-page .pricing-actions .button-link {
  width: 100%;
  margin-top: 0;
}

.landing-page .demo-cta {
  display: block;
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(240, 197, 110, 0.16);
}

.landing-page .demo-cta p {
  margin: 0;
}

.landing-page .safety-section {
  margin: 26px 0 70px;
  padding: 34px;
  border: 1px solid rgba(212, 106, 106, 0.3);
  border-radius: 8px;
  background: rgba(92, 20, 38, 0.13);
}

.landing-page .safety-section h2 {
  font-size: 2.5rem;
}

.product-shell .landing-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: 48px;
  margin-top: 0;
  padding: 38px 0 0;
  border: 0;
  border-top: 1px solid rgba(240, 197, 110, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-shell .footer-brand {
  display: grid;
  gap: 6px;
}

.product-shell .footer-brand strong {
  color: var(--him-cream);
  font-family: var(--font-heading);
  line-height: normal;
}

.product-shell .footer-brand span {
  color: var(--him-muted);
  font-size: 0.85rem;
  line-height: normal;
}

.product-shell .landing-footer nav {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: space-between;
  gap: 12px 18px;
}

.product-shell .landing-footer a {
  color: rgba(247, 239, 226, 0.68);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.piano-attribution {
  margin: 28px 0 18px;
  color: var(--him-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .product-shell .landing-nav {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .product-shell .landing-menu {
    flex-wrap: wrap;
  }

  .landing-page .landing-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 36px;
  }

  .landing-page .product-hero {
    grid-template-columns: minmax(0, 780px);
  }

  .landing-page .landing-hero h1 {
    font-size: 3.75rem;
  }

  .landing-page .product-demo-section {
    grid-template-columns: minmax(260px, 0.7fr) minmax(440px, 1.3fr);
  }
}

@media (max-width: 860px) {
  .product-shell .landing-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px 24px;
  }

  .landing-page {
    width: min(100% - 28px, 760px);
    padding-top: calc(var(--landing-mobile-header-height, 72px) + 18px);
  }

  .product-shell:not(.landing-page) {
    padding-top: calc(var(--landing-mobile-header-height, 72px) + 18px);
  }

  .product-shell .landing-nav {
    position: fixed;
    top: var(--landing-visual-viewport-top, 0px);
    right: 0;
    left: 0;
    z-index: 50;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }

  .product-shell .landing-menu-toggle {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid rgba(240, 197, 110, 0.34);
    border-radius: 6px;
    color: var(--him-cream);
    background: rgba(8, 5, 7, 0.72);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
  }

  .product-shell .landing-menu-icon,
  .product-shell .landing-menu-icon::before,
  .product-shell .landing-menu-icon::after {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--him-gold);
    content: "";
  }

  .product-shell .landing-menu-icon {
    position: relative;
  }

  .product-shell .landing-menu-icon::before,
  .product-shell .landing-menu-icon::after {
    position: absolute;
    left: 0;
  }

  .product-shell .landing-menu-icon::before {
    top: -5px;
  }

  .product-shell .landing-menu-icon::after {
    top: 5px;
  }

  .product-shell .landing-menu {
    position: fixed;
    top: var(--landing-mobile-menu-top, 88px);
    right: 0;
    left: 0;
    z-index: 42;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: calc(100dvh - var(--landing-mobile-menu-top, 88px));
    margin: 0;
    margin-inline: 0;
    padding: 10px 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    flex: none;
    transform: none;
    border: 0;
    border-top: 1px solid rgba(240, 197, 110, 0.25);
    border-bottom: 1px solid rgba(240, 197, 110, 0.25);
    border-radius: 0;
    background: #07070a;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.58);
  }

  .product-shell .landing-menu.is-open {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .product-shell .landing-menu nav {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-column: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    gap: 0;
    flex: none;
    flex-basis: auto;
    flex-wrap: nowrap;
    transform: none;
  }

  .product-shell .landing-menu nav a {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 13px 6px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(243, 239, 230, 0.1);
    text-align: left;
    transform: none;
  }

  .product-shell .landing-menu .nav-cta {
    order: 1;
    grid-column: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 50px;
    margin: 0 0 10px;
    box-sizing: border-box;
    flex: none;
    flex-basis: auto;
    transform: none;
  }

  .landing-menu-backdrop:not([hidden]) {
    position: fixed;
    inset: var(--landing-mobile-menu-top, 88px) 0 0;
    z-index: 41;
    display: block;
    width: 100vw;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.28);
    cursor: default;
  }

  .landing-page .landing-hero,
  .landing-page .product-demo-section,
  .landing-page .problem-section,
  .landing-page .practical-origin-section,
  .landing-page .voice-review-section,
  .landing-page .feature-section,
  .landing-page .safety-section {
    grid-template-columns: 1fr;
  }

  .landing-page .landing-hero {
    min-height: auto;
    padding: 58px 0 50px;
  }

  .landing-page .hero-product-visual {
    max-width: 720px;
  }

  .landing-page .workflow-strip ol {
    grid-template-columns: 1fr;
  }

  .landing-page .workflow-strip li,
  .landing-page .workflow-strip li:first-child,
  .landing-page .workflow-strip li:last-child {
    padding: 18px 0;
    border-top: 1px solid rgba(240, 197, 110, 0.16);
    border-left: 0;
  }

  .landing-page .workflow-strip li:first-child {
    border-top: 0;
  }

  .landing-page .landing-section {
    padding: 68px 0;
  }

  .landing-page .landing-section h2 {
    font-size: 3.3rem;
  }

  .landing-page .voice-review-section {
    margin: 20px auto;
    padding: 40px;
  }

  .landing-page .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-shell .landing-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-page {
    width: min(100% - 20px, 520px);
    padding-top: calc(var(--landing-mobile-header-height, 64px) + 10px);
  }

  .product-shell .landing-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    gap: 8px;
    padding: 10px;
  }

  .product-shell .landing-brand img {
    width: 42px;
    height: 42px;
  }

  .product-shell .landing-brand span {
    min-width: 0;
  }

  .product-shell .landing-brand strong,
  .product-shell .landing-brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-shell .landing-menu {
    padding-inline: 14px;
  }

  .product-shell .landing-menu nav a {
    padding: 11px 10px;
  }

  .landing-page .landing-hero {
    gap: 30px;
    padding: 48px 0 38px;
  }

  .landing-page .landing-hero h1 {
    font-size: 2.75rem;
    line-height: 1.02;
  }

  .landing-page .landing-hero .lead {
    font-size: 1.02rem;
  }

  .landing-page .hero-philosophy {
    font-size: 1.08rem;
  }

  .landing-page .cta-row {
    display: grid;
  }

  .landing-page .cta-row .button-link {
    width: 100%;
  }

  .landing-page .product-callouts {
    grid-template-columns: 1fr;
  }

  .landing-page .product-callouts span {
    padding: 7px 4px;
  }

  .landing-page .landing-section {
    padding: 54px 0;
  }

  .landing-page .landing-section h2,
  .landing-page .voice-review-section h2 {
    font-size: 2.45rem;
  }

  .landing-page .product-gallery-tabs {
    grid-template-columns: 1fr;
  }

  .landing-page .product-gallery-tab {
    padding: 12px;
  }

  .landing-page .problem-section,
  .landing-page .practical-origin-section,
  .landing-page .feature-section,
  .landing-page .safety-section {
    gap: 20px;
  }

  .landing-page .problem-copy blockquote,
  .landing-page .origin-practical-copy blockquote {
    font-size: 1.24rem;
  }

  .landing-page .voice-review-section {
    gap: 36px;
    padding: 28px 20px;
  }

  .landing-page .voice-review-copy .cta-row,
  .landing-page .voice-review-copy .button-link,
  .landing-page .voice-review-facts {
    width: 100%;
    max-width: 100%;
  }

  .landing-page .voice-review-copy .button-link {
    min-width: 0;
    white-space: normal;
  }

  .landing-page .voice-review-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .landing-page .feature-definition-list {
    grid-template-columns: 1fr;
  }

  .landing-page .pricing-card {
    padding: 24px 20px;
  }

  .landing-page .pricing-card .button-link {
    width: 100%;
  }

  .landing-page .demo-cta {
    display: block;
  }

  .landing-page .safety-section {
    margin-bottom: 48px;
    padding: 26px 20px;
  }

  .landing-page .safety-section h2 {
    font-size: 2rem;
  }

  .landing-page .landing-hero::before {
    inset-inline: 0;
  }
}

.voice-compass-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.voice-compass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: rgba(10, 13, 17, 0.82);
  box-shadow: var(--shadow-panel);
}

.voice-compass-nav {
  flex-wrap: wrap;
}

.voice-compass-nav {
  display: flex;
  gap: 8px;
}

.voice-compass-nav a {
  padding: 10px 12px;
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.voice-compass-nav a[aria-current="page"] {
  color: var(--color-brass);
}

.voice-compass-intro {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 44px auto 30px;
  text-align: center;
}

.voice-compass-confidence,
.voice-compass-readiness,
.voice-compass-guidance-details {
  border: 1px solid rgba(212, 162, 76, 0.34);
  border-radius: var(--radius-large);
  color: rgba(243, 239, 230, 0.82);
  background: rgba(10, 13, 17, 0.82);
  text-align: left;
}

.voice-compass-confidence {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 20px;
}

.voice-compass-hero-visual,
.voice-compass-section-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 162, 76, 0.34);
  border-radius: var(--radius-large);
  background: #07090c;
  box-shadow: var(--shadow-panel);
}

.voice-compass-hero-visual {
  width: 100%;
  margin: 10px 0 6px;
  aspect-ratio: 4 / 3;
}

.voice-compass-section-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.voice-compass-hero-visual img,
.voice-compass-section-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-compass-hero-visual img {
  object-position: center 42%;
}

.voice-compass-confidence .voice-compass-section-visual {
  margin-bottom: 14px;
}
.voice-compass-safety .voice-compass-section-visual {
  margin-bottom: 18px;
}

.voice-compass-guidance-control {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.voice-compass-guidance-control > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(212, 162, 76, 0.3);
  border-radius: 999px;
  background: rgba(10, 13, 17, 0.78);
}

.voice-compass-guidance-control p {
  margin: 0;
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.82rem;
}

.voice-compass-guidance-control [role="group"] {
  display: flex;
  gap: 6px;
}

.voice-compass-guidance-control button {
  min-height: 38px;
  padding: 7px 12px;
}

.voice-compass-guidance-control button.is-selected,
.voice-compass-onboarding-guidance button.is-selected {
  border-color: var(--color-brass);
  color: var(--color-ivory);
  background: rgba(212, 162, 76, 0.14);
}

.voice-compass-confidence h2,
.voice-compass-confidence p,
.voice-compass-readiness p,
.voice-compass-readiness ul,
.voice-compass-readiness h3 {
  margin: 0;
}

.voice-compass-confidence h2 {
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.voice-compass-confidence-lead,
.voice-compass-confidence-close {
  color: var(--color-brass);
  line-height: 1.45;
}

.voice-compass-guidance-details {
  background: rgba(7, 9, 12, 0.3);
}

.voice-compass-confidence .voice-compass-guidance-details {
  border: 0;
  background: transparent;
}

.voice-compass-guidance-details summary,
.voice-compass-safety summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.voice-compass-confidence .voice-compass-guidance-details summary {
  padding-inline: 0;
}

.voice-compass-guidance-details summary::-webkit-details-marker,
.voice-compass-safety summary::-webkit-details-marker {
  display: none;
}

.voice-compass-guidance-details summary::after,
.voice-compass-safety summary::after {
  color: var(--color-brass);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.voice-compass-guidance-details[open] summary::after,
.voice-compass-safety[open] summary::after {
  content: "−";
}

.voice-compass-guidance-details summary:focus-visible,
.voice-compass-safety summary:focus-visible {
  outline: 3px solid var(--color-brass);
  outline-offset: -3px;
}

.voice-compass-guidance-details > div {
  display: grid;
  gap: 10px;
  padding: 4px 14px 14px;
}

.voice-compass-confidence .voice-compass-guidance-details > div {
  padding: 0;
}

.voice-compass-confidence-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.voice-compass-confidence-copy p {
  line-height: 1.5;
}

.voice-compass-confidence-close {
  padding-left: 12px;
  border-left: 2px solid var(--color-teal);
}

:is(
  .voice-compass-confidence,
  .voice-compass-readiness,
  .voice-compass-onboarding,
  .voice-compass-panel
) .voice-compass-teal-divider {
  margin-block-start: max(
    0px,
    calc(16px - var(--voice-compass-teal-divider-parent-gap, 0px))
  );
  margin-block-end: 0;
}

.voice-compass-readiness {
  overflow: clip;
}

.voice-compass-readiness summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.voice-compass-readiness summary::-webkit-details-marker {
  display: none;
}

.voice-compass-readiness summary::after {
  color: var(--color-brass);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.voice-compass-readiness[open] summary::after {
  content: "−";
}

.voice-compass-readiness summary:focus-visible {
  outline: 3px solid var(--color-brass);
  outline-offset: -4px;
}

.voice-compass-readiness-content {
  display: grid;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(212, 162, 76, 0.24);
  line-height: 1.55;
  --voice-compass-teal-divider-parent-gap: 12px;
}

.voice-compass-readiness-content h3 {
  margin-top: 4px;
  color: var(--color-brass);
  font-family: var(--font-heading);
}

.voice-compass-readiness-content ul {
  display: grid;
  gap: 6px;
  padding-left: 22px;
}

.voice-compass-readiness-close {
  padding-left: 12px;
  border-left: 2px solid var(--color-teal);
  color: var(--color-ivory);
}

.voice-compass-onboarding {
  width: min(680px, calc(100% - 32px));
  height: min(80dvh, 760px);
  max-height: min(80dvh, 760px);
  padding: 0;
  border: 1px solid rgba(212, 162, 76, 0.7);
  border-radius: var(--radius-large);
  color: var(--color-ivory);
  background: #0c0f13;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.voice-compass-onboarding::backdrop {
  background: rgba(3, 4, 6, 0.82);
  backdrop-filter: blur(5px);
}

.voice-compass-onboarding-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.voice-compass-onboarding h2,
.voice-compass-onboarding p {
  margin: 0;
}

.voice-compass-onboarding-header {
  display: grid;
  gap: 10px;
  margin: 3px;
  padding: 25px 25px 12px;
  border-radius: calc(var(--radius-large) - 3px);
}

.voice-compass-onboarding-header:focus-visible {
  outline: 3px solid var(--color-brass);
  outline-offset: -3px;
}

.voice-compass-onboarding h2 {
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.08;
}

.voice-compass-onboarding-body {
  display: grid;
  gap: 16px;
  min-height: 0;
  padding: 0 28px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  --voice-compass-teal-divider-parent-gap: 14px;
}

.voice-compass-onboarding-copy {
  display: grid;
  gap: 10px;
  color: rgba(243, 239, 230, 0.84);
  line-height: 1.55;
}

.voice-compass-onboarding-steps {
  display: grid;
  gap: 8px;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
}

.voice-compass-onboarding-steps li {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(212, 162, 76, 0.22);
  border-radius: var(--radius-small);
  background: rgba(7, 9, 12, 0.62);
}

.voice-compass-onboarding-steps strong {
  color: var(--color-brass);
}

.voice-compass-onboarding-steps span {
  color: rgba(243, 239, 230, 0.78);
}

.voice-compass-onboarding-finish {
  padding-left: 14px;
  border-left: 3px solid var(--color-teal);
  color: var(--color-ivory);
  font-weight: 700;
  line-height: 1.55;
}

.voice-compass-onboarding-readiness {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(17, 142, 136, 0.38);
  border-radius: var(--radius-small);
  background: rgba(7, 9, 12, 0.5);
  color: rgba(243, 239, 230, 0.8);
  font-size: 0.88rem;
  line-height: 1.5;
}

.voice-compass-onboarding-guidance {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(212, 162, 76, 0.36);
  border-radius: var(--radius-small);
}

.voice-compass-onboarding-guidance legend {
  padding: 0 6px;
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-weight: 800;
}

.voice-compass-onboarding-guidance button {
  display: grid;
  justify-items: start;
  gap: 3px;
  text-align: left;
}

.voice-compass-onboarding-guidance button span {
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
}

.voice-compass-onboarding-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, 0.7fr);
  gap: 10px;
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(212, 162, 76, 0.26);
  background: #0c0f13;
  box-shadow: 0 -12px 30px rgba(3, 4, 6, 0.32);
}

.voice-compass-onboarding button:focus-visible,
.voice-compass-help-link:focus-visible {
  outline: 3px solid var(--color-brass);
  outline-offset: 3px;
}

.voice-compass-guidance-confirmation {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(212, 162, 76, 0.7);
  border-radius: var(--radius-large);
  color: var(--color-ivory);
  background: #0c0f13;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.72);
}

.voice-compass-guidance-confirmation::backdrop {
  background: rgba(3, 4, 6, 0.82);
  backdrop-filter: blur(5px);
}

.voice-compass-guidance-confirmation > div {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.voice-compass-guidance-confirmation h2,
.voice-compass-guidance-confirmation p {
  margin: 0;
}

.voice-compass-guidance-confirmation h2 {
  font-family: var(--font-heading);
}

.voice-compass-guidance-confirmation p {
  color: rgba(243, 239, 230, 0.8);
  line-height: 1.55;
}

.voice-compass-guidance-confirmation-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.voice-compass-intro h1 {
  width: 100%;
  max-width: none;
  justify-self: center;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1;
}

.voice-compass-lead {
  margin: 0;
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}

.voice-compass-critical-safety,
.voice-compass-safety,
.voice-compass-cooldown {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(212, 162, 76, 0.4);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top, rgba(212, 162, 76, 0.12), transparent 70%),
    rgba(10, 13, 17, 0.9);
  text-align: left;
}

.voice-compass-critical-safety {
  border-color: rgba(212, 106, 106, 0.72);
  color: #fff0f0;
  background: rgba(108, 27, 38, 0.5);
  line-height: 1.55;
  text-align: left;
}

.voice-compass-safety {
  padding: 0;
}

.voice-compass-safety > div {
  padding: 0 24px 24px;
}

.voice-compass-cooldown h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
}

.voice-compass-related-reading {
  margin: 0 0 18px;
}

.voice-compass-related-reading a {
  color: var(--him-gold);
  font-weight: 800;
  text-underline-offset: 4px;
}

.voice-compass-related-reading a:hover,
.voice-compass-related-reading a:focus-visible {
  color: var(--color-ivory);
}

.voice-compass-safety blockquote,
.voice-compass-cooldown blockquote {
  margin: 18px 0;
  padding-left: 18px;
  border-left: 3px solid var(--color-brass);
  color: var(--him-gold);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.voice-compass-cooldown {
  max-width: 820px;
  margin: 32px auto;
  border-color: rgba(212, 106, 106, 0.58);
  box-shadow: 0 22px 70px rgba(80, 9, 20, 0.32);
}

.voice-compass-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 1.08fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.voice-compass-panel,
.voice-compass-result {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.voice-compass-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  --voice-compass-teal-divider-parent-gap: 14px;
}

.voice-compass-panel h2,
.voice-compass-panel p,
.voice-compass-result h2,
.voice-compass-result p {
  margin: 0;
}

.voice-compass-home-panel {
  border-color: rgba(212, 162, 76, 0.48);
  background:
    radial-gradient(circle at 50% 10%, rgba(212, 162, 76, 0.16), transparent 18rem),
    var(--color-panel-strong);
}

.voice-compass-side-panel.is-locked {
  border-style: dashed;
  background: rgba(18, 23, 29, 0.5);
}

.voice-compass-panel-status {
  min-height: 48px;
  color: var(--color-warm-gray);
  line-height: 1.45;
}

.voice-compass-home-controls,
.voice-compass-home-stepper,
.voice-compass-home-actions,
.voice-compass-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.voice-compass-buoys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.voice-compass-buoys button {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: rgba(243, 239, 230, 0.82);
  background: rgba(7, 9, 12, 0.52);
}

.voice-compass-buoys button strong {
  color: var(--him-gold);
  font-size: 1.12rem;
}

.voice-compass-buoys button.is-selected {
  border-color: var(--color-brass);
  background: rgba(212, 162, 76, 0.14);
  box-shadow: 0 0 0 1px rgba(212, 162, 76, 0.18);
}

.voice-compass-recovery-gate {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(212, 162, 76, 0.4);
  border-radius: var(--radius-medium);
  background: rgba(7, 9, 12, 0.54);
}

.voice-compass-recovery-gate h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
}

.voice-compass-recovery-gate > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.voice-compass-home-note {
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.voice-compass-match-help {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-left: 2px solid rgba(17, 142, 136, 0.72);
  background: rgba(7, 9, 12, 0.3);
}

.voice-compass-match-help p {
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
}

.voice-compass-help-link {
  justify-self: start;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--color-brass);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.voice-compass-help-link:hover {
  color: var(--color-ivory);
  background: transparent;
}

.voice-compass-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice-compass-steps li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
  color: var(--color-warm-gray);
  background: rgba(7, 9, 12, 0.36);
}

.voice-compass-steps li > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.08);
  font-size: 0.75rem;
}

.voice-compass-steps li small {
  font-size: 0.68rem;
  text-transform: uppercase;
}

.voice-compass-steps li.is-current {
  border-color: var(--color-brass);
  color: var(--color-ivory);
}

.voice-compass-steps li.is-accepted {
  border-color: rgba(17, 142, 136, 0.72);
  color: var(--color-ivory);
}

.voice-compass-candidate {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid rgba(212, 162, 76, 0.34);
  border-radius: var(--radius-medium);
  background: rgba(7, 9, 12, 0.6);
  text-align: center;
}

.voice-compass-candidate-note {
  color: var(--him-gold);
  font-family: var(--font-heading);
  font-size: 2.4rem;
}

.voice-compass-outcomes {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

.voice-compass-hear-again {
  margin-top: 4px;
  opacity: 0.88;
}

.voice-compass-pain-action {
  border-color: rgba(212, 106, 106, 0.72);
  color: #fff0f0;
  background: rgba(108, 27, 38, 0.72);
}

.voice-compass-result {
  max-width: 820px;
  margin: 24px auto 0;
  border-color: rgba(17, 142, 136, 0.72);
  text-align: center;
}

.voice-compass-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.voice-compass-result dl > div {
  padding: 14px 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
}

.voice-compass-result dt {
  color: var(--color-warm-gray);
  font-size: 0.78rem;
}

.voice-compass-result dd {
  margin: 8px 0 0;
  color: var(--him-gold);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.voice-compass-result-range {
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
}

.voice-compass-result-player {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 18px auto 20px;
  padding: 16px;
  border: 1px solid rgba(240, 197, 110, 0.28);
  border-radius: var(--radius-medium);
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
}

.voice-compass-result-player-header {
  display: grid;
  gap: 4px;
}

.voice-compass-result-player h3,
.voice-compass-result-player p {
  margin: 0;
}

.voice-compass-result-player h3 {
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.voice-compass-result-player p {
  min-height: 1.4em;
  color: rgba(243, 239, 230, 0.82);
  font-size: 0.85rem;
}

.voice-compass-result-keyboard {
  width: 100%;
}

.voice-compass-result-actions {
  grid-template-columns: 1fr;
  margin-top: 20px;
}

.voice-compass-result-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.voice-compass-result-primary-actions > * {
  min-width: 0;
}

.voice-compass-result-actions .button-link {
  display: inline-grid;
  min-height: 46px;
  place-items: center;
}

.voice-compass-dev-reset {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .voice-compass-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .voice-compass-grid {
    grid-template-columns: 1fr;
  }

  .voice-compass-home-panel {
    order: -1;
  }
}

@media (max-width: 560px) {
  .voice-compass-page {
    width: min(100% - 20px, 520px);
    padding-top: 10px;
  }

  .voice-compass-header .monogram {
    width: 54px;
    height: 54px;
  }

  .voice-compass-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .voice-compass-nav a {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding: 6px 3px;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
  }

  .voice-compass-intro {
    gap: 8px;
    margin: 18px auto 18px;
  }

  .voice-compass-safety,
  .voice-compass-critical-safety,
  .voice-compass-cooldown,
  .voice-compass-panel,
  .voice-compass-result {
    padding: 20px;
  }

  .voice-compass-safety {
    margin-top: 8px;
    padding: 0;
  }

  .voice-compass-safety > div {
    padding: 0 18px 18px;
  }

  .voice-compass-critical-safety {
    margin-top: 8px;
    padding: 16px;
  }

  .voice-compass-safety p {
    margin: 0 0 10px;
  }

  .voice-compass-safety p:last-child {
    margin-bottom: 0;
  }

  .voice-compass-safety blockquote {
    margin: 12px 0;
  }

  .voice-compass-home-actions,
  .voice-compass-buoys,
  .voice-compass-recovery-gate > div,
  .voice-compass-result-actions,
  .voice-compass-result dl {
    grid-template-columns: 1fr;
  }

  .voice-compass-result-player {
    width: 100%;
    padding: 14px;
  }

  .voice-compass-result-keyboard {
    min-height: 68px;
  }

  .voice-compass-result-keyboard .piano-roll-key.white {
    min-height: 68px;
  }

  .voice-compass-onboarding {
    width: min(100% - 20px, 520px);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .voice-compass-onboarding-content {
    height: 100%;
  }

  .voice-compass-onboarding-header {
    gap: 7px;
    padding: 17px 17px 10px;
  }

  .voice-compass-onboarding-body {
    gap: 14px;
    padding: 0 20px 18px;
  }

  .voice-compass-onboarding-actions {
    padding: 14px 20px 18px;
  }

  .voice-compass-onboarding-steps li,
  .voice-compass-onboarding-actions,
  .voice-compass-guidance-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .voice-compass-guidance-control > div {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius-medium);
  }

  .voice-compass-guidance-control [role="group"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-compass-hero-visual {
    margin-top: 6px;
    border-radius: var(--radius-medium);
  }

  .voice-compass-section-visual {
    border-radius: var(--radius-medium);
  }

  .voice-compass-confidence {
    gap: 7px;
    margin-top: 4px;
    padding: 14px;
  }

  .voice-compass-confidence-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .voice-compass-confidence-copy p {
    line-height: 1.45;
  }

  .voice-compass-readiness-content {
    padding: 14px 16px 18px;
  }

}

@media (max-width: 620px) {
  .builder-voice-compass-helper {
    grid-template-columns: 1fr;
  }

  .builder-voice-compass-helper .text-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: 4px;
  }

  .landing-voice-compass-doorway .button-link {
    width: 100%;
    justify-self: stretch;
  }
}

/* final QA asset polish: black phoenix feature icon */
.feature-phoenix-icon {
  display: block;
  width: min(140px, 36vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.25rem;
}
/* end final QA asset polish */

/* final landing Black Phoenix size correction */
.landing-page .feature-phoenix-icon {
  width: min(160px, 44vw);
  height: auto;
  margin: 26px auto 0;
  padding: 0;
  object-fit: contain;
}

/* desktop landing composition correction */
@media (min-width: 861px) {
  .landing-page .product-hero {
    grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
    min-height: 760px;
    gap: 54px;
    padding: 68px 0 60px;
  }

  .landing-page .product-hero > .hero-copy-block {
    grid-column: 1;
    align-self: center;
  }

  .landing-page .product-hero > .landing-product-visual {
    grid-column: 2;
    align-self: center;
    max-width: none;
    margin: 0;
  }

  .landing-page .landing-voice-compass-doorway {
    margin: 14px auto 18px;
  }

  .landing-page .feature-section {
    column-gap: 72px;
    row-gap: 0;
  }

  .landing-page .feature-section .section-intro {
    display: contents;
  }

  .landing-page .feature-section .section-intro > .landing-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .landing-page .feature-section .section-intro > h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .landing-page .feature-section .section-intro > p:not(.landing-eyebrow) {
    grid-column: 1;
    grid-row: 3;
  }

  .landing-page .feature-section .feature-definition-list {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .landing-page .feature-section .feature-phoenix-icon {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: center;
    width: 160px;
    margin: 42px auto 0;
  }
}
