/* finesse · register=brand · A=bright-warm-white+brand-coral · B=existing-Douyin-display
 * C=referenced-singer-split · D=existing-CSS-feedback · E=existing-photo-hero
 * SOUL=6 SPECTACLE=2 DENSITY=4 · local reference-led revision; identity locked. */
:root {
  --yc-bg: #fdfdfc;
  --voice-hero-border: #dcdad5;
  --voice-hero-focus: #9e280b;
}

html, body { overflow-x: clip; }
.site-header { background: var(--yc-bg); }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy { min-width: 0; }

/* The 先练准 reference uses this desktop scale and line height. */
.hero h1 {
  font-size: clamp(52px, 5.3vw, 74px);
  line-height: 1.26;
  letter-spacing: -.035em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-copy .hero-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 388px);
  gap: 12px;
}

.hero-copy .hero-choices .solid-button,
.hero-copy .hero-choices .secondary-button {
  min-width: 0;
  min-height: 52px;
  padding: 12px 15px;
  border-radius: 12px;
  font: 700 16px/1.5 var(--title);
  gap: 10px;
  white-space: nowrap;
}

.hero-copy .hero-choices .secondary-button { border: 1px solid var(--voice-hero-border); }
.hero-copy .hero-choices .icon { width: 18px; height: 18px; flex: 0 0 18px; }

.first-test-copy { bottom: 32px; }
.first-test-copy .first-test-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin-top: 24px;
  padding: 15px 52px;
  font: 700 22px/1.4 var(--title);
  text-align: center;
  white-space: nowrap;
}
.first-test-cta-label { min-width: 0; }
.first-test-cta-arrow { position: absolute; right: 22px; font-size: 24px; line-height: 1; }
.hero a:focus-visible,
.hero button:focus-visible { outline: 2px solid var(--voice-hero-focus); outline-offset: 4px; }

@media (min-width: 1600px) {
  .hero { width: min(1360px, calc(100% - 120px)); }
  .hero h1 { font-size: 82px; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .hero h1 { font-size: 60px; }
  .hero-copy .hero-choices .solid-button,
  .hero-copy .hero-choices .secondary-button { font-size: 14px; gap: 8px; padding-inline: 12px; }
  .first-test-copy .first-test-cta { font-size: 20px; padding-inline: 46px; }
}

@media (max-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    width: min(620px, calc(100% - 40px));
  }
  .hero h1 { font-size: 64px; }
  .first-test-hero { margin-top: 0; min-height: 530px; }
  .first-test-copy { left: 28px; right: 28px; bottom: 28px; }
  .first-test-copy h2 { font-size: 32px; }
  .first-test-copy > p { font-size: 12px; }
  .first-test-copy .first-test-cta { font-size: 22px; min-height: 60px; }
}

@media (max-width: 600px) {
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(34px, 10.8vw, 56px); line-height: 1.26; }
  .hero-desc { font-size: 14px; line-height: 1.9; }
  .hero-copy .hero-choices { width: 100%; gap: 10px; }
  .hero-copy .hero-choices .solid-button,
  .hero-copy .hero-choices .secondary-button { min-height: 48px; padding: 12px 10px; font-size: 14px; gap: 6px; }
  .hero-copy .hero-choices .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .first-test-hero { min-height: 430px; }
  .first-test-copy { left: 22px; right: 22px; bottom: 24px; }
  .first-test-copy h2 { font-size: 27px; }
  .first-test-copy > p { font-size: 11px; }
  .first-test-copy .first-test-cta { min-height: 56px; font-size: 18px; margin-top: 20px; padding: 14px 40px; }
  .first-test-cta-arrow { right: 16px; font-size: 22px; }
}

@media (max-width: 360px) {
  .hero { width: calc(100% - 32px); }
  .hero-copy .hero-choices .solid-button,
  .hero-copy .hero-choices .secondary-button { font-size: 12px; padding-inline: 8px; gap: 5px; }
  .first-test-copy { left: 18px; right: 18px; }
  .first-test-copy h2 { font-size: 24px; }
  .first-test-copy .first-test-cta { font-size: 17px; padding-inline: 36px; }
  .first-test-copy > p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero a,
  .hero button { transition: none; }
  .hero a:hover,
  .hero button:hover { transform: none; }
}
