/* A single visual rhythm from the opening message to the company information. */
.home-page { --journey-header: 78px; --scene-height: calc(76svh - var(--journey-header)); overflow-anchor: none; }
.home-page #main-content { padding-top: var(--journey-header); }
.home-page .page-scene, .home-page #trial, .home-page #purchase { position: relative; padding: 0; border: 0; overflow: visible; }
.home-page .page-scene { min-height: var(--scene-height); }
html:has(.home-page) { scroll-padding-top: 78px; scroll-behavior: smooth; }
.home-page .page-scene > .shell { padding-block: 60px; }
.scene-stage { position: relative; display: grid; align-items: center; min-height: var(--scene-height); padding: 64px 0; }
.scene-content { width: 100%; min-width: 0; }
/* Keep the next real heading in view, with motion on individual layers. */
.journey-ready .scene-layer { translate: 0 var(--layer-shift, 0px); opacity: var(--layer-opacity, 1); }
.journey-ready .is-in-view .scene-layer { will-change: translate, opacity; }
.journey-ready .scene-content :is(.year-graphic, .story-art, .partner-graphic, .trial-stat) {
  translate: 0 var(--art-shift, 0px);
  scale: var(--art-scale, 1);
  transform-origin: center;
}
.journey-ready .scene-content :is(.year-graphic__orbit, .story-clock__orbit, .partner-graphic__orbit) { rotate: var(--orbit-turn, 0deg); }
.journey-ready .scene-content .year-graphic > strong { translate: 0 calc(var(--float-shift, 0px) * -.5); }
.journey-ready .scene-content .story-browser { rotate: var(--art-tilt, 0deg); }
.journey-ready .scene-content :is(.story-app--search, .partner-graphic__tag:nth-of-type(2)) { translate: 0 var(--float-shift, 0px); }
.journey-ready .scene-content :is(.story-app--chat, .partner-graphic__tag:nth-of-type(3)) { translate: 0 calc(var(--float-shift, 0px) * -1); }
.journey-ready .scene-content .partner-graphic__tag:nth-of-type(4) { translate: 0 calc(var(--float-shift, 0px) * .6); }
.journey-ready .scene-content .partner-graphic { overflow: clip; }
.journey-ready .scene-content .story-network__hub { scale: var(--art-scale, 1); }
.journey-ready .scene-content .story-network__lines { scale: 1 var(--connection-draw, 1); transform-origin: top; }
.journey-ready .scene-content .story-network__servers > span:nth-child(1) { translate: 0 calc(var(--float-shift, 0px) * .7); }
.journey-ready .scene-content .story-network__servers > span:nth-child(2) { translate: 0 calc(var(--float-shift, 0px) * -.4); }
.journey-ready .scene-content .story-network__servers > span:nth-child(3) { translate: 0 calc(var(--float-shift, 0px) * -1); }
.journey-ready .scene-content .trial-stat strong { scale: var(--art-scale, 1); }
.journey-ready .home-hero .route-label--china { --label-shift: var(--float-shift); }
.journey-ready .home-hero .route-label--korea { --label-reverse: calc(var(--float-shift) * -1); }
.journey-ready .home-hero .connection-security { --badge-shift: calc(var(--float-shift) * -.4); }
/* Focus and open disclosures stay steady while someone reads or uses controls. */
.journey-ready .scene-layer:focus-within,
.journey-ready .scene-layer[open],
.journey-ready .scene-layer:has(details[open]) { translate: none !important; opacity: 1 !important; }
.home-page .page-scene + .page-scene { border-top: 1px solid rgba(111, 135, 184, .07); }
.home-page :is(#price, #purchase, .page-scene:has(#faq-heading)),
.home-page :is(#price, #purchase, .page-scene:has(#faq-heading)) > .scene-stage { min-height: 0; }
.home-page .section-heading { margin-bottom: 30px; }
.home-page .page-scene .section-heading h2, .scene-copy h2, .feature-scene h2 { margin: 0 0 24px; color: var(--text); font-size: clamp(42px, 4.7vw, 68px); line-height: 1.2; font-weight: 750; letter-spacing: -.06em; }
.scene-copy h2 span, .feature-scene h2 span, .page-scene .section-heading h2 span { color: var(--blue); }
.scene-copy p { margin: 0 0 26px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.feature-scene__inner, .trust-scene__inner, .partner-scene__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.feature-scene .story-art { height: 360px; }
.feature-scene .story-copy { min-width: 0; }
.feature-scene .story-copy p { font-size: 19px; }
.feature-scene .story-copy small { font-size: 14px; }
.home-page .feature-scene--1 { background: radial-gradient(ellipse at 78% 50%, #e7edff, #f7f8fb 62%); }
.home-page .feature-scene--2 { background: #eef3ff; }
.home-page .feature-scene--3 { background: radial-gradient(ellipse at 77% 50%, #e6edfd, #f7f8fb 62%); }
.trust-scene, .partner-scene { background: #fff; }
.home-page .partner-scene:has(#partner-heading) { padding: 0; }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #6c7c95; font-size: 15px; }
.trust-points > span::before { content: '✓'; margin-right: 7px; color: var(--blue); }
.home-page .home-hero__inner { min-height: 0; padding: 0; gap: 36px; }
.home-page .home-hero .scene-stage { padding-block: 32px; }
.home-page .home-hero { overflow-x: clip; }
.home-page .home-hero__copy { padding: 0; }
.home-page .home-hero h1 { font-size: clamp(52px, 5.7vw, 80px); }
.home-page .home-hero__lead { max-width: 540px; }
.home-page .connection-visual { max-width: 530px; justify-self: end; }
.home-page #trial { background: var(--blue); }
.home-page #trial .trial-card { padding: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; border: 0; border-radius: 0; background: transparent; }
.home-page #trial .trial-card::after { display: none; }
.home-page #trial .trial-card h2 { font-size: clamp(44px, 4.7vw, 68px); }
.home-page #trial .trial-card p { font-size: 19px; }
.home-page #trial .trial-card__list { display: grid; gap: 9px; margin-block: 24px; }
.home-page #price .section-heading h2 { font-size: clamp(40px, 4.2vw, 58px); }
.home-page #price .section-heading p { font-size: 17px; }
.home-page .price-card { min-height: 290px; padding-block: 22px; }
.home-page .price-card__top { min-height: 66px; }
.home-page .price-card__price { margin-block: 16px 20px; }
.home-page .price-card__rate { margin-bottom: 20px; }
.home-page .plan-inclusions { margin-top: 22px; padding-block: 17px; }
.home-page .plan-note { font-size: 14px; }
.home-page #purchase { background: #f4f7fd; }
.home-page #purchase .section-heading { display: block; margin-bottom: 25px; }
.home-page #purchase .section-heading > p { display: none; }
.home-page #purchase .section-heading h2 { font-size: clamp(36px, 4.2vw, 58px); margin: 0; }
.home-page .purchase-start { padding: 26px 30px; gap: 40px; background: #fff; grid-template-columns: minmax(0, 1fr) 200px; }
.home-page .purchase-start .section-kicker { display: none; }
.home-page .purchase-start__copy > h3 { font-size: 25px; margin-bottom: 8px; }
.home-page .purchase-start__copy > p { font-size: 17px; }
.home-page .purchase-start .purchase-contact { margin-top: 16px; padding-block: 12px; }
.home-page .purchase-start__qr { padding: 10px; box-shadow: none; }
.home-page .purchase-start__qr img { height: 195px; }
.home-page .purchase-start__qr .purchase-qr-card__image { min-height: 195px; }
.home-page .purchase-start__qr p { font-size: 14px; }
.home-page .purchase-hours { margin-top: 12px; }
.home-page .trial-message { margin-top: 12px; }
.start-details { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.start-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 12px 22px; cursor: pointer; font-size: 16px; color: #586b89; list-style: none; }
.start-details > summary::-webkit-details-marker { display: none; }
.start-details > summary > span { font-size: 20px; }
.start-details[open] > summary > span { transform: rotate(45deg); }
.start-details .purchase-steps { margin: 10px 20px 20px; }
.start-details .purchase-guide-link { margin: 20px; }
.home-page .payment-details { background: #fff; margin-top: 12px; }
.home-page .payment-details > summary { min-height: 66px; padding: 13px 22px; }
.home-page .payment-details > summary strong { font-size: 17px; }
.home-page .payment-details > summary div > span { font-size: 14px; }
.home-page .page-scene:has(#faq-heading) { background: #f7f8fc; }
.home-page .page-scene:has(#faq-heading) .scene-content > .shell { display: grid; grid-template-columns: .85fr 1.2fr; column-gap: 60px; align-items: start; }
.home-page .page-scene:has(#faq-heading) .section-heading { grid-row: 1 / 3; }
.home-page .page-scene:has(#faq-heading) .section-heading h2 { font-size: clamp(42px, 4.7vw, 68px); }
.home-page .page-scene:has(#faq-heading) .section-heading p { width: fit-content; margin-inline: auto; font-size: 18px; text-align: center; }
.home-page .faq-item summary { min-height: 80px; padding-block: 20px; }
.home-page .partner-scene p { max-width: 600px; }
.home-page .closing-scene { background: #edf2ff; }
.closing-scene__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 60px; }
.closing-scene h2 { font-size: clamp(42px, 4.5vw, 64px); }
.home-page .closing-scene .notice-panel { background: #fff; }
.home-page .closing-scene .notice-item { padding: 20px 25px; }
.home-page .closing-scene .notice-item__main strong { white-space: normal; }
.home-page .closing-scene .notice-item__views { display: none; }
.home-page .site-footer.page-scene { border: 0; background: #fff; }
.home-page .site-footer .site-footer__inner { padding-block: 0; }
.home-page .site-footer__brand > p { font-size: 28px; line-height: 1.5; color: var(--text); margin-top: 28px; }
.home-page .site-footer__main { padding-bottom: 40px; }
@media (max-width: 1100px) {
  .feature-scene__inner, .trust-scene__inner, .partner-scene__inner { gap: 28px; }
  .feature-scene h2, .scene-copy h2 { font-size: clamp(40px, 4.7vw, 54px); }
  .feature-scene .story-copy p { font-size: 18px; }
}
@media (max-width: 900px) {
  html:has(.home-page) { scroll-padding-top: 68px; }
  .home-page { --journey-header: 68px; }
  .scene-stage { padding-block: 52px; }
  .home-page .home-hero__inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .home-page .home-hero h1 { font-size: 50px; }
  .home-page .price-card { grid-template-columns: minmax(0, 1fr) 160px 130px; min-height: 106px; padding: 16px 22px; }
  .home-page .price-card__top { min-height: 0; }
  .home-page .price-card__price, .home-page .price-card__rate { margin: 0; }
  .home-page .price-card__price strong { font-size: 32px; }
  .home-page #trial .trial-card { gap: 30px; }
  .home-page #trial .trial-card h2 { font-size: 44px; }
  .home-page .page-scene:has(#faq-heading) .scene-content > .shell { gap: 30px; }
  .closing-scene__inner { gap: 30px; }
}
@media (max-width: 760px) {
  .scene-stage { padding-block: 48px; }
  .feature-scene__inner, .trust-scene__inner, .partner-scene__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; text-align: center; }
  .feature-scene .story-art { height: 180px; width: 280px; }
  .feature-scene .story-copy { max-width: 560px; }
  .feature-scene h2, .scene-copy h2 { font-size: clamp(34px, 9.4vw, 56px); margin-bottom: 20px; }
  .feature-scene .story-copy p, .scene-copy p { font-size: 17px; }
  .feature-scene .story-copy small { margin-inline: auto; }
  .trust-points { justify-content: center; gap: 6px 14px; font-size: 14px; }
  .home-page #trial .trial-card { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .home-page #trial .trial-card__aside { order: -1; padding: 0; }
  .home-page #trial .trial-card h2 { font-size: clamp(34px, 8.5vw, 50px); }
  .home-page #trial .trial-card p { font-size: 17px; margin-inline: auto; }
  .home-page #trial .trial-card__list { justify-content: center; text-align: left; gap: 5px; margin-block: 16px; }
  .home-page .closing-scene__inner { grid-template-columns: 1fr; gap: 34px; }
  .closing-scene .scene-copy { text-align: center; }
  .home-page .page-scene:has(#faq-heading) .scene-content > .shell { display: block; }
  .home-page .page-scene:has(#faq-heading) .section-heading h2 { font-size: 42px; }
}
@media (max-width: 640px) {
  .scene-stage { min-height: 0; padding: 44px 0 52px; }
  .home-page .page-scene { min-height: 0; }
  .home-page .home-hero__inner { grid-template-columns: 1fr; gap: 18px; }
  .home-page .home-hero h1 { font-size: clamp(44px, 11.5vw, 56px); }
  .home-page .home-hero__lead { font-size: 17px; margin-bottom: 20px; }
  .home-page .home-hero .connection-visual { margin: 0 auto; justify-self: center; height: 235px; }
  .home-page .hero-eyebrow { margin-bottom: 16px; }
  .home-page .connection-visual__globe { width: 285px; }
  .home-page .section-kicker { font-size: 12px; margin-bottom: 16px; }
  .home-page #price .section-heading { display: block; margin-bottom: 24px; }
  .home-page #price .section-heading h2 { font-size: 36px; margin-bottom: 10px; }
  .home-page #price .section-heading p { font-size: 16px; }
  .home-page #price .section-heading p br { display: none; }
  .home-page .price-grid { gap: 10px; }
  .home-page .price-card { grid-template-columns: minmax(0, 1fr) 90px 80px; grid-template-areas: 'top price button' 'top rate button'; gap: 0 8px; min-height: 89px; padding: 15px 13px; border-radius: 11px; }
  .home-page .price-card__top h3 { font-size: 17px; }
  .home-page .price-card__purpose { font-size: 13px; margin-top: 3px; }
  .home-page .price-card__price { justify-content: center; }
  .home-page .price-card__price strong { font-size: 26px; }
  .home-page .price-card__rate { text-align: center; font-size: 12px; line-height: 1.45; }
  .home-page .price-card__button { min-height: 44px; font-size: 14px; }
  .home-page .price-card__tag { top: -8px; right: 10px; padding: 1px 6px; font-size: 11px; }
  .home-page .plan-inclusions { padding: 16px; margin-top: 16px; font-size: 14px; }
  .home-page .plan-inclusions ul { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; font-size: 14px; }
  .home-page .plan-note { font-size: 13px; }
  .home-page #purchase .section-heading h2 { font-size: 38px; }
  .home-page .purchase-start { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .home-page .purchase-start__copy > h3 { font-size: 23px; }
  .home-page .purchase-start__qr { width: 225px; }
  .home-page .purchase-start__qr img { height: 210px; }
  .home-page .start-details > summary { font-size: 15px; padding-inline: 17px; gap: 10px; }
  .home-page .payment-details > summary { padding-inline: 17px; }
  .home-page .page-scene:has(#faq-heading) .section-heading h2 { font-size: 40px; }
  .home-page .faq-item h3 { font-size: 17px; }
  .home-page .site-footer__brand > p { font-size: 26px; }
}
@media (max-width: 380px) {
  .home-page .price-card { grid-template-columns: minmax(0, 1fr) 78px 68px; gap: 0 6px; padding-inline: 10px; }
  .home-page .price-card__top h3 { font-size: 16px; }
  .home-page .price-card__purpose { font-size: 12px; }
  .home-page .price-card__button { font-size: 13px; }
  .home-page .home-hero .connection-visual { height: 220px; }
}
@media print {
  .home-page #main-content { padding-top: 0; }
  .scene-stage, .home-page .page-scene { min-height: 0; }
  .scene-stage { padding-block: 30px; }
}

@media (prefers-reduced-motion: reduce), print {
  html:has(.home-page) { scroll-behavior: auto; }
  .journey-ready .scene-content .scene-layer { translate: none; opacity: 1; }
  .journey-ready .scene-content :is(.year-graphic, .story-art, .partner-graphic, .trial-stat,
    .year-graphic__orbit, .story-clock__orbit, .partner-graphic__orbit, .year-graphic > strong,
    .story-browser, .story-app, .partner-graphic__tag, .story-network__hub, .story-network__lines,
    .story-network__servers > span, .trial-stat strong) { translate: none; rotate: none; scale: none; }
  .journey-ready .home-hero :is(.connection-visual__globe, .route-label, .connection-security) { transform: none; }
}

/* Detailed conditions expand within the plan scene when needed. */
.plan-summary { margin: 18px 0 0; color: #6d7e96; font-size: 15px; }
.plan-details { margin-top: 8px; }
.plan-details > summary { display: flex; align-items: center; gap: 14px; width: fit-content; min-height: 44px; cursor: pointer; color: #49618a; font-size: 15px; list-style: none; }
.plan-details > summary::-webkit-details-marker { display: none; }
.plan-details[open] > summary > span { transform: rotate(45deg); }
@media (max-width: 640px) {
  .home-page .home-hero .scene-stage { padding-top: 25px; }
  .home-page .home-hero .connection-visual { height: 225px; }
  .home-page .price-card { min-height: 72px; grid-template-areas: 'top price button'; padding-block: 10px; }
  .home-page .price-card__rate { display: none; }
  .home-page .price-grid { gap: 8px; }
  .home-page #price .section-heading { margin-bottom: 20px; }
  .home-page #price .section-kicker { margin-bottom: 12px; }
  .plan-summary { font-size: 14px; margin-top: 14px; }
  .plan-details { margin-top: 2px; }
  .plan-details > summary { font-size: 14px; }
}
@media (max-width: 640px) {
  .home-page #price .scene-stage { padding-top: 24px; padding-bottom: 40px; }
  .home-page #price .section-heading { margin-bottom: 16px; }
  .home-page .price-card { min-height: 68px; }
  .home-page .price-card__top h3 { line-height: 1.35; }
  .home-page .price-card__purpose { line-height: 1.5; }
  .home-page #trial .trial-stat { min-height: 145px; }
  .home-page #trial .trial-stat::before { width: 140px; }
  .home-page #trial .trial-stat strong { font-size: 88px; }
  .home-page #trial .trial-card__aside > p { display: none; }
}
@media (min-width: 901px) {
  .home-page #purchase .scene-stage { padding-block: 40px; }
  .home-page #purchase .purchase-start { padding-block: 20px; }
  .home-page #purchase .section-heading { margin-bottom: 20px; }
}
