/* Homepage layout, kept separate from the language and support pages. */
.home-hero { padding: 64px 0 80px; overflow: hidden; }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.home-eyebrow { margin: 0; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1 { max-width: 600px; margin: 28px 0 0; color: var(--text); font-size: clamp(42px, 5vw, 64px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.home-lede { max-width: 480px; margin: 28px 0 36px; color: #c1b8ab; font-size: 18px; line-height: 1.6; }
.home-note { margin: 24px 0 0; font-size: 14px; }
.home-product { position: relative; width: min(100%, 560px); aspect-ratio: 560 / 650; margin: 0 auto; }
.home-phone { position: absolute; overflow: hidden; padding: 8px; border: 1px solid #40362f; border-radius: 36px; background: var(--surface); }
.home-phone img { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; }
.home-phone-lock { z-index: 2; width: 49%; left: 27%; top: 1%; }
.home-phone-quiz { z-index: 1; width: 36%; left: 5%; top: 15%; }
.home-phone-today { z-index: 1; width: 36%; right: 2%; top: 13%; }
.home-hoya { position: absolute; z-index: 3; width: 37%; height: auto; right: 0; bottom: 1%; pointer-events: none; }
.home-product-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 13px; }
.home-languages { padding: 80px 0 88px; background: var(--surface); }
.homepage h2 { margin: 18px 0 0; color: var(--text); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.02em; }
.home-section-intro { margin: 14px 0 40px; color: #c1b8ab; font-size: 16px; }
.homepage .cards { gap: 24px; }
.homepage .lang-card { border: 1px solid var(--border); box-shadow: none; }
.homepage .lang-card:hover { border-color: var(--accent); }
.homepage .lang-card .more { color: var(--accent-glow); font-weight: 700; }
.home-features { padding: 88px 0 16px; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-feature-grid article { padding: 28px 24px; min-height: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.home-feature-grid h3 { margin: 0; color: var(--text); font-size: 19px; }
.home-feature-grid h3 span { margin-left: 8px; }
.home-feature-grid p { margin: 16px 0 0; color: #c1b8ab; }
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .home-product { width: min(100%, 440px); }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature-grid article { min-height: 0; }
}
@media (max-width: 560px) {
  .home-hero { padding: 40px 0 56px; }
  .home-hero h1 { margin-top: 20px; font-size: clamp(36px, 10vw, 44px); }
  .home-lede { margin: 22px 0 28px; font-size: 16px; }
  .home-product { width: min(100%, 340px); }
  .home-phone-quiz { display: none; }
  .home-phone-today { left: 2%; right: auto; top: 15%; width: 44%; }
  .home-phone-lock { left: 22%; width: 58%; }
  .home-hoya { right: 0; width: 36%; }
  .home-languages, .home-features { padding-top: 64px; }
  .homepage .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .homepage .lang-card { padding-bottom: 18px; }
  .homepage .lang-card-scene { margin-bottom: 16px; }
  .homepage .lang-card h3, .homepage .lang-card p, .homepage .lang-card .more { margin-left: 14px; margin-right: 14px; }
  .homepage .lang-card p { font-size: 13px; }
}
