.hero-intro {
  padding-top: 170px;
  padding-bottom: 80px;
  text-align: center;
  max-width: 1200px;
}
.hero-intro .eyebrow,
.hero-intro .hero-actions,
.hero-intro .scroll-cue {
  justify-content: center;
}
.hero-intro h1 {
  font-size: clamp(3.3rem, 5.5vw, 5.4rem);
  line-height: 1.2;
}
.hero-intro .hero-description {
  font-size: 18px;
}
.hero-intro .scroll-cue {
  margin-top: 40px;
}
.product-story {
  position: relative;
  height: calc(100svh + var(--story-distance, 3200px));
  border-top: 1px solid #ffffff0b;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.product-sticky {
  height: 100svh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(ellipse at 70% 55%, #a95c1c0b, transparent 55%), var(--bg);
}
.product-layout {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 45px;
}
.product-copy h2 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.25;
}
.product-copy h2 span {
  color: var(--orange);
}
#scene-body {
  font-size: 16px;
  color: var(--muted);
  max-width: 360px;
  min-height: 95px;
  margin-top: 25px;
  word-break: keep-all;
}
.product-copy .story-caption {
  margin-top: 35px;
  min-height: 66px;
}
.product-device {
  --phone-width: min(342px, calc((100svh - 110px) * 342/666));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-width: 0;
}
.product-device .phone-scene {
  padding: 0;
  width: var(--phone-width);
  flex-shrink: 0;
}
.phone {
  width: var(--phone-width);
  height: calc(var(--phone-width) * 666 / 342);
  flex-shrink: 0;
}
.phone-scene:before {
  width: 150%;
  inset: -5% -25%;
  height: 110%;
  background: radial-gradient(ellipse, #b3531c16, transparent 65%);
}
.phone-footnote {
  font-size: 10px;
  line-height: 1.5;
  max-width: 320px;
  min-height: 30px;
  margin-top: 14px;
}
.phone-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone > .home-indicator {
  flex-shrink: 0;
  margin: 8px auto 8px;
  width: 32%;
}
.statusbar {
  padding-left: 18px;
  padding-right: 18px;
}
.island {
  width: 32%;
  height: 22px;
}
.app-header {
  flex-shrink: 0;
  padding: 10px 13px;
}
.app-header small {
  font-size: 10px;
}
.call-time {
  font-size: 10px;
}
.gear {
  margin-left: 0;
  font-size: 16px;
}
.demo-toolbar {
  flex-shrink: 0;
  padding-left: 12px;
  padding-right: 12px;
  gap: 5px;
}
.demo-toolbar > span {
  font-size: 9px;
  line-height: 1.3;
  max-width: 70px;
}
.demo-toolbar button {
  font-size: 10px;
  padding: 4px 8px;
  min-height: 34px;
}
.demo-toolbar > div {
  gap: 4px;
}
.conversation {
  padding: 7px 11px 0;
  overflow-anchor: none;
}
.js .turn:not(.visible) {
  display: none;
}
.turn.visible {
  animation: message-enter 0.26s ease-out both;
}
.turn {
  transition: none;
}
.call-ready {
  min-height: 150px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--muted);
  padding: 15px 6px;
}
.ready-wave {
  color: var(--orange);
  letter-spacing: 5px;
  font-size: 24px;
  margin-bottom: 19px;
}
.call-ready p {
  font-size: 13px;
  line-height: 1.7;
  color: #d4ccc6;
  word-break: keep-all;
}
.call-ready small {
  font-size: 10px;
  line-height: 1.7;
  color: #777;
  margin-top: 8px;
}
.hint-block {
  margin-top: 12px;
}
.reading {
  padding-top: 12px;
  gap: 4px;
}
.reading > span {
  min-height: 45px;
}
.bubble {
  font-size: 14px;
}
.app-bottom {
  padding-top: 7px;
}
.app-bottom > p {
  margin: 3px 0 5px;
}
.call-controls {
  gap: 23px;
}
.call-controls > span {
  height: 34px;
  width: 34px;
}
.call-controls .mic {
  height: 40px;
  width: 40px;
}
.app-bottom .home-indicator {
  display: none;
}
.mode-tabs {
  width: 68px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mode-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 68px;
  min-height: 78px;
  padding: 12px 5px;
  border-radius: 15px;
  border: 1px solid #303032;
  background: #171719;
  color: #8b8a91;
  font-size: 12px;
  position: relative;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.mode-tabs button > span:first-child {
  font-size: 21px;
  height: 23px;
  line-height: 23px;
}
.mode-tabs button[aria-selected="true"] {
  color: var(--orange);
  background: #281e16;
  border-color: #885735;
}
.mode-tabs button:hover {
  color: #ffe2cc;
  border-color: #946440;
}
.mode-tabs i {
  position: absolute;
  width: 3px;
  height: 0;
  left: -12px;
  top: 50%;
  background: var(--orange);
  border-radius: 6px;
  transform: translateY(-50%);
  transition: height 0.2s;
}
.mode-tabs [aria-selected="true"] i {
  height: 22px;
}
.experience-progress {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: #27211d;
  left: 0;
  right: 0;
}
.experience-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(0);
}
.screen-header {
  padding: 12px 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #252525;
}
.screen-header > b {
  font-weight: 600;
  font-size: 14px;
}
.screen-header > span:first-child {
  font-size: 24px;
  line-height: 24px;
  color: #999;
}
.screen-badge {
  font-size: 9px;
  color: #777;
  margin-left: auto;
  max-width: 65px;
  text-align: right;
}
.study-scroll {
  flex: 1;
  overflow: auto;
  min-height: 0;
  scrollbar-width: none;
  overscroll-behavior: auto;
  padding: 20px 16px 14px;
  overflow-anchor: none;
}
.study-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa;
  font-size: 11px;
  gap: 5px;
}
.study-progress b {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}
.study-progress-track {
  height: 4px;
  background: #2b2622;
  border-radius: 4px;
  margin-top: 11px;
}
.study-progress-track i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 4px;
  background: var(--orange);
}
.study-origin {
  font-size: 10px;
  color: #999;
  margin: 25px 0 10px;
}
.study-scroll h3 {
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.study-answer {
  padding: 14px;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  margin-top: 22px;
  background: #151515;
}
.study-answer > span {
  color: #aaa;
  font-size: 10px;
}
.study-answer > p {
  font-size: 13px;
  color: #757575;
  line-height: 1.7;
  margin-top: 10px;
  word-break: keep-all;
}
.study-answer > div {
  font-size: 17px;
  color: #999;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.study-hint {
  border: 0;
  background: none;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-height: 44px;
  padding: 8px 2px;
}
.study-hint > span:first-child {
  font-size: 19px;
}
.study-hint-card {
  background: #1a1714;
  border: 1px solid #463221;
  border-radius: 9px;
  padding: 12px;
  color: #ffbb8a;
  font-size: 13px;
}
.study-hint-card p {
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
}
.study-result {
  border-top: 1px solid #3d2d21;
  padding-top: 14px;
  margin-top: 15px;
}
.study-result > span {
  font-size: 10px;
  color: var(--orange);
}
.study-result > p {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 6px;
}
.study-result > small {
  font-size: 11px;
  color: #aaa;
}
.study-action {
  background: var(--orange);
  color: #1a110b;
  border: 0;
  min-height: 43px;
  padding: 12px;
  margin: 8px 16px 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.screen-note {
  text-align: center;
  font-size: 9px;
  color: #888;
  line-height: 1.6;
  padding: 9px 12px 5px;
  flex-shrink: 0;
}
.grammar-topic {
  border-bottom: 1px solid #2b2b2b;
  padding-bottom: 22px;
}
.grammar-topic > span {
  font-size: 10px;
  color: var(--orange);
}
.grammar-topic h3 {
  font-size: 31px;
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.grammar-topic p {
  font-size: 13px;
  color: #aaa;
  margin-top: 8px;
}
.grammar-friend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 12px;
  color: #b4b0ad;
}
.grammar-friend .friend-avatar {
  width: 26px;
  height: 26px;
  font-size: 11px;
}
.grammar-explanation {
  margin: 12px 0 0 0;
  padding: 13px;
  border: 1px solid #303030;
  border-radius: 12px;
  background: #151515;
}
.grammar-explanation p {
  font-size: 12px;
  line-height: 1.9;
  color: #c1bcb8;
  word-break: keep-all;
}
.grammar-formula {
  padding: 15px 0 2px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.grammar-formula > span {
  color: #888;
}
.grammar-formula .accent {
  color: var(--orange);
}
.grammar-example {
  margin-top: 21px;
}
.grammar-example > span {
  font-size: 10px;
  color: #888;
}
.grammar-example > p {
  font-size: 17px;
  margin-top: 10px;
  line-height: 1.6;
}
.grammar-example > p > span {
  color: var(--orange);
}
.grammar-example > small {
  font-size: 11px;
  color: #999;
  display: block;
  margin-top: 5px;
}
.grammar-more {
  border-top: 1px solid #292929;
  margin-top: 20px;
  font-size: 12px;
}
.grammar-more summary {
  min-height: 44px;
  cursor: pointer;
  line-height: 1.8;
  padding: 13px 0;
  color: var(--orange);
}
.grammar-more p {
  font-size: 13px;
  line-height: 1.7;
}
.grammar-more small {
  color: #999;
  font-size: 11px;
  display: block;
  line-height: 1.6;
  margin-top: 6px;
}
.product-story.reduced-motion {
  height: auto;
}
.reduced-motion .product-sticky {
  position: relative;
  height: auto;
  min-height: 780px;
}
.reduced-motion .turn {
  animation: none;
}
.reduced-motion .experience-progress {
  display: none;
}
@keyframes message-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .phone {
    width: var(--phone-width);
    height: calc(var(--phone-width) * 666 / 342);
  }
  .product-device {
    --phone-width: min(365px, calc((100svh - 110px) * 342/666));
  }
  .product-layout {
    max-width: 1260px;
  }
}
@media (max-width: 1000px) {
  .product-layout {
    padding: 20px 35px;
    gap: 25px;
  }
  .product-device {
    --phone-width: min(320px, calc((100svh - 100px) * 342/666));
  }
  .mode-tabs {
    width: 55px;
  }
  .mode-tabs button {
    width: 55px;
    min-height: 70px;
    font-size: 11px;
  }
  .product-device {
    gap: 18px;
  }
  .product-copy h2 {
    font-size: 2.6rem;
  }
  #scene-body {
    font-size: 14px;
  }
  .product-copy .story-caption strong {
    font-size: 15px;
  }
  .product-copy .story-caption p {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .hero-intro {
    padding: 125px 24px 65px;
  }
  .hero-intro h1 {
    font-size: clamp(2.3rem, 7.8vw, 3.6rem);
  }
  .hero-intro .hero-description {
    font-size: 14px;
    max-width: 440px;
    margin: 23px auto 0;
    word-break: keep-all;
  }
  .hero-intro .scroll-cue {
    margin-top: 27px;
  }
  .hero-intro .hero-actions {
    gap: 18px;
  }
  .product-layout {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 8px;
    gap: 16px;
  }
  .product-copy {
    width: 100%;
    text-align: center;
  }
  .product-copy .section-kicker {
    font-size: 9px;
    margin: 0 0 8px;
  }
  .product-copy h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    min-height: 67px;
  }
  .product-copy h2 br {
    display: none;
  }
  .product-copy h2 span {
    display: block;
  }
  #scene-body {
    display: none;
  }
  .product-copy .story-caption {
    display: none;
  }
  .product-device {
    --phone-width: min(
      300px,
      calc(100vw - 110px),
      calc((100svh - 180px) * 342/666)
    );
    gap: 18px;
    width: 100%;
    justify-content: center;
  }
  .phone {
    border-radius: 36px;
    border-width: 4px;
  }
  .phone:after {
    border-radius: 31px;
  }
  .phone-footnote {
    font-size: 9px;
    margin-top: 10px;
    min-height: 25px;
    max-width: 260px;
  }
  .mode-tabs {
    width: 56px;
    gap: 12px;
  }
  .mode-tabs button {
    width: 56px;
    min-height: 65px;
    padding: 10px 3px;
    font-size: 10px;
    border-radius: 12px;
    gap: 6px;
  }
  .mode-tabs button > span:first-child {
    font-size: 19px;
  }
  .mode-tabs i {
    left: -10px;
  }
  .statusbar {
    height: 34px;
    font-size: 10px;
    padding: 0 14px;
  }
  .statusbar > span:last-child {
    font-size: 9px;
  }
  .island {
    height: 17px;
  }
  .app-header {
    padding: 7px 10px;
    gap: 7px;
  }
  .friend-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .app-header b {
    font-size: 12px;
  }
  .app-header small {
    font-size: 9px;
    max-width: 120px;
  }
  .call-time {
    font-size: 9px;
  }
  .demo-toolbar {
    padding: 7px 9px;
  }
  .demo-toolbar button {
    font-size: 9px;
    padding: 3px 6px;
    min-height: 30px;
  }
  .demo-toolbar > span {
    font-size: 8px;
    max-width: 65px;
  }
  .conversation {
    padding: 6px 9px 0;
  }
  .bubble {
    font-size: 13px;
    padding: 8px 10px;
    max-width: 92%;
  }
  .translation {
    font-size: 10px;
    margin: 5px 6px 0;
  }
  .speaker {
    font-size: 9px;
  }
  .hint-block {
    padding: 0 4px;
  }
  .hint-label {
    font-size: 9px;
  }
  .reading {
    font-size: 12px;
    gap: 4px;
  }
  .reading small {
    font-size: 9px;
  }
  .hint-block > p {
    font-size: 10px;
  }
  .turn {
    margin-bottom: 13px;
  }
  .improvement-toggle {
    font-size: 9px;
    min-height: 32px;
  }
  .app-bottom {
    padding-top: 6px;
  }
  .app-bottom > p {
    font-size: 9px;
    margin-bottom: 5px;
  }
  .waveform {
    height: 16px;
  }
  .call-controls {
    gap: 21px;
  }
  .call-controls > span {
    width: 31px;
    height: 31px;
  }
  .call-controls .mic {
    width: 36px;
    height: 36px;
  }
  .phone > .home-indicator {
    margin: 7px auto 7px;
    height: 3px;
  }
  .screen-header {
    padding: 9px 10px;
  }
  .screen-header b {
    font-size: 13px;
  }
  .study-scroll {
    padding: 15px 12px 10px;
  }
  .study-scroll h3 {
    font-size: 16px;
  }
  .study-origin {
    margin-top: 18px;
  }
  .study-answer {
    padding: 11px;
    margin-top: 17px;
  }
  .study-answer > p {
    font-size: 12px;
  }
  .study-action {
    margin: 6px 12px 0;
    font-size: 12px;
    min-height: 40px;
  }
  .screen-note {
    font-size: 8px;
    padding: 6px 10px 3px;
  }
  .grammar-topic {
    padding-bottom: 16px;
  }
  .grammar-topic h3 {
    font-size: 27px;
  }
  .grammar-explanation p {
    font-size: 11px;
  }
  .grammar-formula {
    font-size: 13px;
  }
  .grammar-example > p {
    font-size: 15px;
  }
  .grammar-more {
    font-size: 11px;
  }
  .product-story.reduced-motion .product-sticky {
    min-height: 0;
    padding: 20px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-story {
    height: auto;
  }
  .product-sticky {
    position: relative;
    height: auto;
    min-height: 780px;
  }
  .experience-progress {
    display: none;
  }
  .turn.visible {
    animation: none;
  }
}

/* 고정 구간에서 폰 위의 휠/터치도 페이지를 진행하며, 내용은 구간 진도에 맞춰 읽는다. */
.js .product-story:not(.reduced-motion) .conversation,
.js .product-story:not(.reduced-motion) .study-scroll {
  overflow-y: hidden;
}

.call-ready {
  display: none;
}
.js .call-ready {
  display: flex;
}

.mode-tabs svg {
  width: 20px;
  height: 23px;
  stroke-width: 1.5;
}

.demo-languages {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 4px 12px 9px;
  border-bottom: 1px solid #252525;
  flex-shrink: 0;
}
.demo-language-label {
  font-size: 10px;
  color: #929292;
  margin-right: auto;
  white-space: nowrap;
}
.demo-languages button {
  border: 1px solid #343434;
  background: #171717;
  border-radius: 7px;
  padding: 5px 9px;
  min-height: 34px;
  font-size: 11px;
  white-space: nowrap;
}
.demo-languages button[aria-pressed="true"] {
  border-color: #8b5a37;
  color: var(--orange);
  background: #281e16;
}
.reading.plain-hint {
  display: block;
  padding-top: 0;
  font-size: 14px;
  line-height: 1.6;
}
.reading-note {
  font-size: 9px !important;
  color: #88796e !important;
  line-height: 1.6 !important;
}
.grammar-formula {
  display: block;
  text-align: center;
  line-height: 1.8;
}
.grammar-formula .accent,
.grammar-example .accent {
  color: var(--orange);
}
@media (max-width: 760px) {
  .demo-languages {
    padding: 3px 8px 7px;
    gap: 4px;
  }
  .demo-language-label {
    font-size: 9px;
  }
  .demo-languages button {
    font-size: 9px;
    min-height: 30px;
    padding: 4px 6px;
  }
  .reading.plain-hint {
    font-size: 12px;
  }
}

.headline-window {
  position: relative;
  display: grid;
  align-items: center;
}
.hero-intro .headline-probe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}
.rotator-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted, #aaaab0);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rotator-controls[hidden] {
  display: none;
}
.rotator-controls button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.rotator-controls button:hover {
  color: var(--orange);
}

.hero-intro .hero-copy,
.headline-window,
.headline-window h1 {
  min-width: 0;
}
.headline-window h1 {
  width: 100%;
}
html[lang="ja"] .headline-window h1 {
  word-break: normal;
}

html[lang="ja"] p {
  word-break: normal;
  overflow-wrap: anywhere;
}
