/* Hallmark · Split Studio · 앱 토큰 유지 · pre-emit critique: P5 H5 E4 S5 R5 V4
   홈 전용. 문서·듣기 평가 페이지의 스타일과 다크 모드는 변경하지 않는다. */
.landing-root {
  color-scheme: light;
  overflow-x: clip;
  --fg: #1a1c22;
  --muted: #6b7080;
  --bg: #fafbff;
  --line: #e4e8f3;
  --accent: #455fee;
  --on-accent: #fff;
  --soft: #f0f3fa;
  --accent-soft: #eef1ff;
  --card: #fff;
  --home-primary: #4f6bff;
  --home-hover: #394fd1;
  --home-radius: 18px;
  --home-ease: cubic-bezier(.16,1,.3,1);
  --home-font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans", sans-serif;
}
.landing { overflow-x: clip; font-family: var(--home-font); line-height: 1.65; }
.landing .wrap.wide { max-width: 1160px; padding-inline: clamp(20px,4vw,40px); }
.landing a,.landing button,.landing summary { -webkit-tap-highlight-color: transparent; }
.landing :is(a,button,summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.landing header.site { border: 0; }
.landing header.site .wrap { min-height: 88px; gap: 16px; flex-wrap: nowrap; }
.landing .brand { font-size: 25px; letter-spacing: -.045em; gap: 8px; white-space: nowrap; min-height: 44px; }
.landing .brand img { width: 37px; height: 37px; border-radius: 0; }
.home-nav { display: flex; gap: 30px; margin-right: 24px; }
.home-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.home-language { position: relative; z-index: 5; font-size: 13px; }
.home-language summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; white-space: nowrap; list-style: none; }
.home-language summary::-webkit-details-marker { display: none; }
.home-language summary > span:first-child { color: var(--accent); font-size: 20px; }
.home-language nav { position: absolute; top: calc(100% + 8px); right: 0; width: 174px; padding: 6px; border: 1px solid var(--line); border-radius: var(--home-radius); background: var(--card); }
.home-language nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 12px; text-decoration: none; color: var(--fg); }
.home-language a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.landing-main { padding-top: 0; }
.home-hero { display: flex; flex-direction: column; padding: 26px 0 44px; }
.home-stage { display: grid; min-width: 0; touch-action: pan-y; }
.home-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; gap: 32px; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.home-slide[data-active="true"] { opacity: 1; visibility: visible; pointer-events: auto; }
.home-slide[data-active="true"] :is(.home-copy,.home-portrait) { animation: home-arrive 380ms var(--home-ease); }
.home-copy { padding-block: 24px; min-width: 0; }
.home-eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 0 20px; }
.landing .home-copy h2 { border: 0; padding: 0; margin: 0 0 22px; font-size: clamp(36px,4.3vw,54px); line-height: 1.22; letter-spacing: -.055em; font-weight: 750; overflow-wrap: anywhere; }
.home-lead { font-size: clamp(16px,1.7vw,19px); line-height: 1.75; color: var(--muted); margin: 0 0 28px; max-width: 29em; white-space: pre-line; }
.landing .store { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.landing .store .btn { font-size: 15px; min-height: 54px; border-radius: var(--home-radius); padding: 12px 25px; font-weight: 650; white-space: nowrap; max-width: 100%; }
.landing .store .btn.primary::before { content: "▶"; margin-right: 6px; font-size: 17px; }
.landing .store .btn.secondary { min-height: 28px; padding: 0 4px; border: 0; font-size: 12px; opacity: 1; color: var(--muted); }
.landing .store .note { font-size: 11px; margin: 2px 0 0; color: var(--muted); }
.home-portrait { position: relative; isolation: isolate; margin: 0; width: 100%; height: 470px; display: flex; justify-content: center; align-items: flex-end; }
.home-halo { position: absolute; z-index: -1; inset: 38px 0 0; background: var(--accent-soft); border-radius: 50% 50% 35% 35%; }
.home-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.home-portrait figcaption { position: absolute; right: 0; bottom: 52px; display: grid; padding: 10px 20px; background: var(--card); border-radius: var(--home-radius); text-align: center; line-height: 1.4; }
.home-portrait figcaption span { font-size: 11px; color: var(--muted); }
.home-portrait figcaption strong { font-size: 18px; letter-spacing: -.025em; }
.home-controls { order: 1; display: flex; align-items: center; justify-content: center; margin-top: 14px; }
.home-controls button { display: grid; place-items: center; padding: 0; min-width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.home-tabs { display: flex; }
.home-tabs button { min-width: 44px; border-radius: 10px; }
.home-tabs button span { display: block; width: 6px; height: 6px; border-radius: 99px; background: var(--muted); }
.home-tabs [aria-selected="true"] span { width: 22px; background: var(--home-primary); }
.home-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; border-top: 1px solid var(--line); padding: 38px 0; }
.landing .home-overview h2 { margin: 0; border: 0; padding: 0; font-size: 27px; line-height: 1.5; letter-spacing: -.045em; }
.home-overview ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.home-overview li { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 15px; color: var(--muted); }
.home-overview li > span { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 16px; }
/* Component-scope · 기존 토큰 유지 · pre-emit critique: P5 H5 E4 S5 R5 V4 */
.home-learning { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding: 38px 0; }
.landing .home-learning > h2 { margin: 0 0 24px; padding: 0; border: 0; font-size: 27px; line-height: 1.4; letter-spacing: -.045em; }
.home-learning-slide { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 40px; padding: 24px 40px 0 24px; border: 1px solid var(--line); border-radius: var(--home-radius); background: var(--card); overflow: clip; }
.home-learning-portrait { position: relative; isolation: isolate; align-self: end; margin: 0; height: 300px; min-width: 0; }
.home-learning-portrait::before { content: ""; position: absolute; z-index: -1; inset: 24px 0 0; border-radius: 50% 50% 0 0; background: var(--accent-soft); }
.home-learning-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.home-learning-portrait figcaption { position: absolute; left: 12px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 11px; }
.home-learning-portrait strong { margin-left: 4px; color: var(--fg); font-size: 13px; }
.home-learning-copy { min-width: 0; padding: 24px 0 48px; }
.home-learning-number { display: block; margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.home-learning-copy h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.4; letter-spacing: -.035em; overflow-wrap: anywhere; }
.home-learning-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 35em; }
.home-learning .home-controls { justify-content: center; margin-top: 18px; }
.home-learning-slide[data-active="true"] :is(.home-learning-copy,.home-learning-portrait) { animation: home-arrive 380ms var(--home-ease); }
.home-learning:not([data-carousel-ready]) .home-slide { grid-area: auto; visibility: visible; opacity: 1; pointer-events: auto; }
.home-learning:not([data-carousel-ready]) .home-stage { gap: 18px; }
.home-controls button:active { background: var(--accent-soft); color: var(--accent); }
.home-information { border-top: 1px solid var(--line); }
.home-info { border-bottom: 1px solid var(--line); padding-block: 4px; }
.home-info summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.home-info summary::-webkit-details-marker { display: none; }
.home-info summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; }
.home-info[open] summary::after { content: "−"; }
.home-info :is(dl,ul,p) { font-size: 14px; color: var(--muted); }
.home-info dt { margin-top: 20px; color: var(--fg); font-weight: 600; }
.home-info dd { margin: 4px 0 20px; max-width: 72ch; }
.home-listening { padding-top: 24px; color: var(--muted); font-size: 13px; }
.home-listening > div { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.home-listening a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-decoration: none; white-space: nowrap; font-weight: 600; }
.home-listening details { margin-top: 4px; font-size: 12px; }
.home-listening summary { cursor: pointer; min-height: 44px; align-content: center; }
.landing footer.site { background: var(--bg); }
.landing footer.site nav.docs { gap: 4px 24px; font-size: 12px; }
.landing footer.site nav.docs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.landing footer.site .biz,.landing footer.site .copy { font-size: 11px; line-height: 1.9; }
@media (hover: hover) {
  .landing .store .btn.primary:hover { background: var(--home-hover); }
  .home-controls button:hover,.home-language nav a:hover { background: var(--accent-soft); color: var(--accent); }
  .home-nav a:hover,.landing footer.site a:hover { color: var(--accent); }
}
.landing .store .btn.primary:active { transform: translateY(1px); background: var(--home-hover); }
@keyframes home-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .home-learning-slide { gap: 24px; padding-inline: 20px; }
  .home-learning-copy h3 { font-size: 24px; }
  .home-learning-copy p { font-size: 15px; }
  .home-learning-portrait { height: 270px; }
  .landing header.site .wrap { min-height: 76px; }
  .home-nav { gap: 18px; margin-right: 0; }
  .home-slide { gap: 10px; }
  .home-portrait { height: 380px; }
  .home-copy { padding-block: 16px; }
  .landing .home-copy h2 { font-size: 36px; }
  .landing .store .btn { padding-inline: 18px; font-size: 14px; }
}
@media (max-width: 620px) {
  .home-learning { padding-block: 28px; }
  .landing .home-learning > h2 { font-size: 24px; margin-bottom: 18px; }
  .home-learning-slide { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(220px,auto) 180px; align-items: start; gap: 0; padding: 22px 20px 0; }
  .home-learning-copy { grid-row: 1; padding: 0 0 24px; }
  .home-learning-number { margin-bottom: 8px; font-size: 12px; }
  .home-learning-copy h3 { font-size: 22px; margin-bottom: 12px; }
  .home-learning-copy p { font-size: 14px; line-height: 1.8; }
  .home-learning-portrait { grid-row: 2; height: 180px; width: min(100%,240px); justify-self: center; }
  .home-learning .home-controls { margin-top: 10px; }
  .landing header.site .wrap { gap: 12px; min-height: 68px; }
  .landing .brand { font-size: 22px; }
  .landing .brand img { width: 31px; height: 31px; }
  .home-nav { display: none; }
  .home-language summary { padding-inline: 11px; }
  .home-hero { padding: 10px 0 28px; }
  .home-slide { grid-template-columns: minmax(0,1fr); gap: 0; }
  .home-copy { display: contents; text-align: center; }
  .home-eyebrow { grid-row: 1; margin: 8px 0 10px; font-size: 11px; }
  .landing .home-copy h2 { grid-row: 2; font-size: 32px; line-height: 1.28; margin: 0 0 12px; }
  .home-lead { grid-row: 3; font-size: 14px; line-height: 1.65; margin: 0 auto 10px; white-space: normal; max-width: 28em; }
  .home-portrait { grid-row: 4; height: 228px; width: min(100%,300px); justify-self: center; }
  .home-halo { inset: 12px 8px 0; }
  .home-portrait figcaption { right: 0; bottom: 27px; padding: 6px 14px; border-radius: 14px; }
  .home-portrait figcaption strong { font-size: 15px; }
  .home-portrait figcaption span { font-size: 10px; }
  .landing .store { grid-row: 5; gap: 4px; align-items: center; margin-top: 8px; }
  .landing .store .btn { min-height: 50px; width: 100%; max-width: 360px; font-size: 14px; padding-inline: 10px; }
  .landing .store .btn.secondary { min-height: 25px; font-size: 11px; width: auto; }
  .landing .store .note { font-size: 10px; margin-top: 0; }
  .home-controls { margin-top: 8px; }
  .home-overview { grid-template-columns: minmax(0,1fr); padding-block: 28px; gap: 22px; }
  .landing .home-overview h2 { font-size: 24px; }
  .home-overview li { font-size: 14px; gap: 10px; }
  .home-info summary { font-size: 13px; }
  .home-listening { padding-top: 18px; }
  .landing footer.site nav.docs { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-learning-slide[data-active="true"] :is(.home-learning-copy,.home-learning-portrait) { animation: none; }
  .home-slide[data-active="true"] :is(.home-copy,.home-portrait) { animation: none; }
  .landing .store .btn.primary:active { transform: none; }
}
