/* ==========================================================
   리브리드(REBREATHE) — 브랜드 사이트
   흰 바탕 · 짙은 글자 · 포인트 색 하나. 색은 강조가 필요한 곳에만 쓴다.
   (브랜드 색은 IR 자료에서 가져왔다)
   ========================================================== */

:root {
  /* 브랜드 */
  --navy:        #232c5c;
  --navy-deep:   #161c3a;
  --indigo:      #3b4a97;
  --peri:        #6b7fd7;
  --peri-soft:   #97a7e6;
  --sky:         #2f97e0;
  --sky-soft:    #6fc3ec;
  --coral:       #f08c78;
  --sand:        #d3a179;

  /* 포인트 — 글자에 쓸 때는 대비가 충분한 짙은 하늘색 */
  --accent:      #1f78c8;
  --accent-soft: #ebf4fc;

  /* 바탕 · 선 */
  --bg:          #ffffff;
  --bg-soft:     #f6f7fa;
  --line:        #e8ebf0;
  --line-strong: #d6dae2;

  /* 글자 */
  --ink:         #1b2033;
  --ink-2:       #4b5163;
  --ink-3:       #6f7588;

  /* 예전 이름 (3D·2D 체험 화면이 쓴다) */
  --bg-tint:     var(--bg-soft);
  --bg-deep:     #eceff4;
  --line-soft:   var(--line);

  --radius:      20px;
  --radius-sm:   12px;
  --shadow:      0 1px 2px rgba(20, 26, 50, .04);
  --shadow-hover: 0 14px 32px rgba(20, 26, 50, .07);
  --shadow-lg:   0 20px 50px rgba(20, 26, 50, .12);
  --ease:        cubic-bezier(.22, 1, .36, 1);

  --wrap:        1200px;
  --nav-h:       72px;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
  --display: "Poppins", var(--sans);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.011em;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.32; margin: 0; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.mt { margin-top: clamp(72px, 8vw, 112px); }
.gap-lg { gap: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 등장 애니메이션 (JS가 있을 때만) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   NAV — 맨 위에서는 투명, 내려가면 흰 유리
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; }
.brand__mark img { width: 34px; height: 34px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.brand__text i {
  font-style: normal; font-family: var(--display); font-size: 9.5px; font-weight: 600;
  letter-spacing: .2em; color: var(--ink-3); margin-top: 2px;
}

/* 영문에서는 브랜드명 자체가 REBREATHE 이므로 아래 보조 표기를 지운다 */
html[lang="en"] .brand__text i { display: none; }
html[lang="en"] .brand__text b { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-3);
  padding: 8px 13px; border-radius: 999px; transition: color .2s ease;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active { font-weight: 600; }
.nav__cta {
  background: var(--navy) !important; color: #fff !important; font-weight: 600 !important;
  margin-left: 10px; padding: 9px 20px !important;
  transition: background .2s ease !important;
}
.nav__cta:hover { background: var(--indigo) !important; }

/* 한국어 / English 전환 탭 */
.langtabs {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  flex: none;
}
.langtabs__btn {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1;
  color: var(--ink-3); padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.langtabs__btn:hover { color: var(--ink); }
.langtabs__btn.is-on { color: #fff; background: var(--ink); }
.langtabs__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 영문일 때는 메뉴 글자가 길어지므로 조금 좁게 */
html[lang="en"] .nav__links a { font-size: 14px; padding: 8px 10px; }
html[lang="en"] .nav__cta { padding: 9px 16px !important; }
html[lang="en"] body { word-break: normal; overflow-wrap: break-word; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; border-radius: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: 0 18px 40px rgba(20, 26, 50, .08);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 12px; border-radius: 10px; font-size: 16px; color: var(--ink-2); }
  .nav__cta { margin: 10px 0 0; text-align: center; }
}

/* ==========================================================
   HERO — 가운데 큰 제목, 그 아래 장면이 스크롤하면 화면 끝까지 넓어진다
   ========================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 11vh, 128px)) 0 0;
  text-align: center;
  overflow: hidden;
}
.hero__eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  color: var(--accent); margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(30px, 5.4vw, 70px); font-weight: 700;
  line-height: 1.24; letter-spacing: -.045em; color: var(--ink);
}
html[lang="en"] .hero__title { font-size: clamp(30px, 4.6vw, 60px); letter-spacing: -.035em; }
/* 좁은 화면에서만 줄을 바꾼다 (낱말 중간에서 끊기지 않도록) */
.br-mo { display: none; }
@media (max-width: 720px) { .br-mo { display: inline; } }

/* 줄마다 아래에서 위로 올라온다 (--d: 줄별 지연) */
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }

.hero__actions { margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.js .hero__line > span {
  transform: translateY(110%); opacity: 0;
  transition: transform .95s var(--ease) var(--d, 0s), opacity .95s ease var(--d, 0s);
}
.js .hero__eyebrow,
.js .hero__actions {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s ease, transform .9s var(--ease);
}
.js .hero__actions { transition-delay: .45s; }
.js .hero.is-in .hero__line > span,
.js .hero.is-in .hero__eyebrow,
.js .hero.is-in .hero__actions { transform: none; opacity: 1; }

/* 장면 — 폭과 모서리는 --p(0~1, main.js가 스크롤에 맞춰 넣는다)로 정해진다 */
.hero__visual {
  --p: 0;
  position: relative; overflow: hidden;
  margin: clamp(56px, 7vw, 96px) auto 0;
  width: calc(min(var(--wrap), 100% - 48px) + (100% - min(var(--wrap), 100% - 48px)) * var(--p));
  height: clamp(300px, 46vw, 680px);
  border-radius: calc(28px * (1 - var(--p)));
  background: #dfe8e0;
}
.hero__visual img, .hero__visual video {
  display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  transform: scale(calc(1.08 - .08 * var(--p)));
  transform-origin: center 60%;
}
.js .hero__visual { opacity: 0; translate: 0 40px; transition: opacity 1.1s ease .55s, translate 1.1s var(--ease) .55s; }
.js .hero.is-in .hero__visual { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .js .hero__line > span, .js .hero__eyebrow, .js .hero__actions, .js .hero__visual {
    opacity: 1; transform: none; translate: none; transition: none;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  border: 1px solid transparent;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--indigo); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__tag {
  margin-left: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  background: rgba(255,255,255,.18); padding: 3px 9px; border-radius: 999px;
}
.btn--ghost .btn__tag { background: var(--bg-soft); }

.br-pc { display: inline; }
@media (max-width: 720px) {
  .br-pc { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__actions { margin-top: 34px; }
  .hero__visual { height: 320px; border-radius: calc(18px * (1 - var(--p))); }
}

/* ==========================================================
   STATEMENT — 한 줄 선언. 스크롤하면 영문 제목이 왼쪽부터 칠해진다
   ========================================================== */
.statement { padding-top: clamp(104px, 12vw, 176px); text-align: center; }
.statement__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 8.6vw, 124px); line-height: 1.04; letter-spacing: -.035em;
}
/* 글자 한 벌에 그라데이션을 입혀 --frac 지점에서 진한색/연한색이 칼같이 갈린다.
   JS가 없으면 --frac 기본값 1 → 처음부터 진하게 보인다. */
.statement__line {
  display: block; width: fit-content; margin: 0 auto -.08em;
  padding-bottom: .12em;
  background-image: linear-gradient(90deg,
    var(--ink) 0, var(--ink) calc(var(--frac, 1) * 100%),
    #e3e6ec calc(var(--frac, 1) * 100%), #e3e6ec 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.statement__desc {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.8; color: var(--ink-3);
}
.statement__desc p:last-child { color: var(--ink); font-weight: 700; }

.stats {
  margin: clamp(64px, 7vw, 104px) auto 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats li { padding: 6px 24px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.03em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }

.line-divider {
  width: 1px; height: clamp(72px, 9vw, 128px);
  margin: clamp(80px, 9vw, 128px) auto 0;
  background: var(--line-strong);
}

@media (max-width: 720px) {
  .statement__desc p { display: inline; }
  .statement__desc p:last-child { display: block; margin-top: 12px; }
  .stats { grid-template-columns: 1fr; max-width: 360px; }
  .stats li { padding: 22px 0; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================
   SECTION SHELL
   ========================================================== */
.section { padding: clamp(88px, 9vw, 136px) 0; }
.section--tint { background: var(--bg-soft); }

.sec-head { margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head--sub { margin-top: clamp(80px, 9vw, 120px); margin-bottom: 32px; }
.sec-head__tag {
  display: inline-block;
  font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  color: var(--accent); margin-bottom: 14px;
}
.sec-head__title {
  font-size: clamp(30px, 3.9vw, 48px); font-weight: 700; color: var(--ink);
  letter-spacing: -.04em; line-height: 1.28;
}
.sec-head__title--sm { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.36; letter-spacing: -.035em; }
.sec-head__desc {
  margin-top: 18px; font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.8;
  color: var(--ink-3);
}
.sec-head__desc b { color: var(--ink); font-weight: 600; }

/* 넓은 화면: 제목은 왼쪽, 설명은 오른쪽 아래에 맞춘다 */
@media (min-width: 960px) {
  .sec-head:not(.sec-head--center):not(.sec-head--sub) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 72px; align-items: end;
  }
  .sec-head:not(.sec-head--center):not(.sec-head--sub) .sec-head__tag,
  .sec-head:not(.sec-head--center):not(.sec-head--sub) .sec-head__title { grid-column: 1; }
  .sec-head:not(.sec-head--center):not(.sec-head--sub) .sec-head__tag { justify-self: start; }
  .sec-head:not(.sec-head--center):not(.sec-head--sub) .sec-head__desc {
    grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-bottom: 6px;
  }
}

.sec-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.sec-head--center .sec-head__desc { max-width: 640px; margin-inline: auto; }
@media (max-width: 520px) { .sec-head__title br { display: none; } }

/* ==========================================================
   ABOUT US / TRUSTED BY — 기관 로고 띠
   ========================================================== */
.logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.logos--lead {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px; margin-inline: auto;
}
.logos li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 112px; padding: 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.logos img {
  height: 42px; width: auto; max-width: 100%; object-fit: contain;
  filter: saturate(.9);
}
/* 원본 이미지마다 여백이 달라, 눈으로 같은 크기가 되도록 개별 보정 */
.logos img.is-tall { height: 26px; }
.logos img.is-lg { height: 54px; }
.logos__cap { font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-3); }
.logos__item--captioned { gap: 10px; }

@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos img { height: 36px; }
  .logos img.is-lg { height: 46px; }
  .logos img.is-tall { height: 22px; }
}
@media (max-width: 560px) {
  .logos, .logos--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { min-height: 92px; padding: 16px 12px; }
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* 카드 — 그림자 없이 얇은 선만. 마우스를 올리면 살짝 떠오른다 */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s ease;
}
.tagline {
  display: block; font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .03em; color: var(--accent); margin-bottom: 12px;
}

.banner {
  margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: center; font-weight: 500; color: var(--ink-2); font-size: 16px;
}
.section--tint .banner { background: #fff; border: 1px solid var(--line); }
.banner b { color: var(--ink); font-weight: 700; }
.banner--dark,
.section--tint .banner--dark {
  background: var(--navy); border: 0; color: rgba(255,255,255,.82);
  font-size: 18px; padding: 30px 32px;
}
.banner--dark b { color: #fff; }

.src { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ==========================================================
   PROBLEM — 작은 그래프
   ========================================================== */
.problem-stats .card { display: flex; flex-direction: column; }
.card--stat__label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
.card--stat__note { margin-top: auto; padding-top: 22px; font-size: 15px; color: var(--ink-3); }
.card--stat__note b { color: var(--accent); font-weight: 700; font-size: 17px; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 168px; }
.bars__item { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.bars__item span { font-size: 12px; font-weight: 700; color: var(--ink-2); height: 18px; }
.bars__item i {
  display: block; height: var(--h); background: #dfe5ee;
  border-radius: 6px 6px 0 0; transform-origin: bottom; animation: grow .9s var(--ease) both;
}
.bars__item--hi i { background: var(--sky); }
.bars__item em { font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.rank { display: flex; flex-direction: column; gap: 10px; }
.rank li {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-radius: 10px; overflow: hidden;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--bg-soft);
}
.rank li::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w);
  background: #e4e9f1; z-index: 0;
}
.rank li > * { position: relative; z-index: 1; }
.rank li b { font-size: 12px; color: var(--ink-3); }
.rank--hi::before { background: rgba(240,140,120,.28) !important; }
.rank--hi b { color: #c4553a; font-weight: 700; }

.course svg { width: 100%; height: 168px; display: block; }
.course svg path { vector-effect: non-scaling-stroke; }
.course__grid { stroke: var(--line); stroke-width: 1; fill: none; }
.course__good { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }
.course__bad  { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 6; }
.course__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.course__legend li { display: flex; align-items: center; gap: 6px; }
.course__legend i { width: 14px; height: 3px; border-radius: 2px; }
.course__legend .is-good { background: var(--sky); }
.course__legend .is-bad { background: var(--coral); }

.card--prob h4 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.card--prob p { font-size: 15px; color: var(--ink-3); }
.card--prob b { color: var(--ink); font-weight: 600; }

/* ==========================================================
   SOLUTION
   ========================================================== */
.solution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
@media (max-width: 940px) { .solution { grid-template-columns: 1fr; gap: 40px; } }

.solution__media { display: grid; gap: 24px; grid-template-columns: 1fr; }
.shot { margin: 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }
.shot--wide img { width: 100%; }
.shot--phone { max-width: 268px; margin-inline: auto; }
.shot--phone img { border-radius: 24px; }

.solution__body { min-width: 0; }
.flow { display: grid; }
.flow li {
  position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--line);
}
.flow li:first-child { border-top: 0; padding-top: 4px; }
.flow__num {
  position: absolute; left: 0; top: 29px;
  font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent);
  letter-spacing: .02em;
}
.flow li:first-child .flow__num { top: 7px; }
.flow h4 { font-size: 20px; color: var(--ink); }
.flow p { margin-top: 6px; font-size: 15.5px; color: var(--ink-3); }
.flow b { color: var(--ink); font-weight: 600; }

.quote {
  margin-top: 28px; padding: 6px 0 6px 24px;
  border-left: 2px solid var(--accent);
  font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.75;
}

/* ==========================================================
   FEATURES
   ========================================================== */
.feat + .feat { margin-top: clamp(80px, 9vw, 120px); }
.feat__title {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong);
  font-size: clamp(21px, 2.3vw, 27px); font-weight: 700; color: var(--ink); letter-spacing: -.035em;
}
.feat__title span {
  flex: none; font-family: var(--display); font-size: 15px; font-weight: 600;
  color: var(--accent); letter-spacing: .02em;
}

.card--convo { display: flex; flex-direction: column; padding: 24px; }
.card--convo h4 { font-size: 16.5px; color: var(--ink); text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.convo__situation { margin-top: 14px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); text-align: center; }
.chat { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.chat p { font-size: 13.5px; line-height: 1.62; padding: 11px 14px; border-radius: 16px; max-width: 92%; }
.chat i { font-style: normal; color: var(--ink-3); font-size: 12.5px; display: block; margin-bottom: 3px; }
.chat__me { align-self: flex-end; background: var(--sky); color: #fff; border-bottom-right-radius: 4px; }
.chat__ai { align-self: flex-start; background: #eff2f6; color: var(--ink); border-bottom-left-radius: 4px; }
.chat__ai i { color: var(--ink-3); }
.convo__note {
  margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--accent); text-align: center;
}

.card--feat h4 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.card--feat p { font-size: 15px; color: var(--ink-3); }
.card--feat b { color: var(--ink); font-weight: 600; }
.card--feat { display: flex; flex-direction: column; }
.card--feat-img > p { margin-bottom: 22px; }
/* 세 카드의 이미지 높이를 맞춰 카드가 나란히 정렬되도록 */
.card--feat-img img {
  margin-top: auto;
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
  border-radius: var(--radius-sm);
}
/* 배경이 비치는 일러스트는 잘라내지 않고 그대로 담는다 */
.card--feat-img img.is-plain { object-fit: contain; border-radius: 0; }
/* 화면 캡처·도식은 잘리면 읽을 수 없으므로 전체를 보여준다 */
.card--feat-img img.is-shot {
  aspect-ratio: 5 / 4; object-fit: contain;
  background: #fff; border: 1px solid var(--line);
}

.chainflow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; margin-bottom: 18px; }
.chainflow li {
  position: relative; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-soft); padding: 6px 12px; border-radius: 8px;
}
.chainflow li:not(:last-child)::after { content: "→"; margin-left: 8px; color: var(--ink-3); font-weight: 400; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr; } }
.timeline li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.timeline__year {
  display: block; font-family: var(--display); font-size: 15px; font-weight: 600;
  color: var(--accent); letter-spacing: .01em; margin-bottom: 10px;
}
.timeline h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.timeline p { font-size: 14.5px; color: var(--ink-3); }

/* ==========================================================
   MARKET
   ========================================================== */
.market { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
@media (max-width: 940px) { .market { grid-template-columns: 1fr; } }

.card--market h3 { font-size: 20px; color: var(--ink); }
.card--market__sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

.funnel { margin-top: 28px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.funnel__small, .funnel__big {
  display: grid; place-content: center; border-radius: 50%; line-height: 1.25;
}
.funnel__small { width: 132px; height: 132px; background: var(--bg-soft); color: var(--ink-2); }
.funnel__big { width: 212px; height: 212px; background: var(--sky); color: #fff; }
.funnel em { font-style: normal; display: block; font-size: 12.5px; opacity: .85; }
.funnel b { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; }
.funnel__small b { font-size: 24px; }
.funnel__big b { font-size: 40px; }
.funnel__cagr { font-size: 14px; font-weight: 600; color: var(--ink-3); padding: 8px 0; }
.funnel__cagr b { font-family: var(--sans); color: var(--ink); font-weight: 700; }

.segments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.segments li {
  flex: 1 1 96px; text-align: center; padding: 18px 12px; border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.segments li b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.segments li span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

.segments__result { margin-top: 22px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; }
.segments__result p { font-size: 17px; font-weight: 700; }
.segments__result b { color: var(--sky-soft); }
.segments__note { margin-top: 10px !important; font-size: 14px !important; font-weight: 400 !important; opacity: .82; line-height: 1.7; }

/* 비교표 */
.table-scroll {
  position: relative;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff;
  scrollbar-width: thin;
}
.table-hint {
  display: none; margin: 10px 0 0; text-align: center;
  font-size: 12.5px; color: var(--ink-3); font-weight: 500;
}
.table-hint span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (max-width: 900px) { .table-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { .table-hint span { animation: none; } }
.compare { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 14.5px; }
.compare tbody th { text-align: left; color: var(--ink-2); font-weight: 600; background: #fff; white-space: nowrap; }
.compare td { color: var(--ink-3); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .is-us { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.compare thead .is-us { background: var(--sky); color: #fff; }

.card--insight { display: flex; flex-direction: column; gap: 10px; }
.card--insight--gap { justify-content: flex-start; }
.pill { padding: 13px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-align: center; }
.pill--gray { background: var(--bg-soft); color: var(--ink-2); }
.pill--blue { background: var(--accent-soft); color: #175f9f; font-weight: 600; }
.pill--sand {
  background: #f8efe6; color: #94602f; display: inline-block; align-self: flex-start;
  padding: 6px 16px; font-size: 13px; font-weight: 600;
}
.card--mkt .pill--blue { display: inline-block; padding: 6px 16px; font-size: 13px; }
.card--insight__punch { margin-top: auto; padding-top: 18px; text-align: center; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.is-warn { color: #c94545; }
.is-good { color: var(--accent); }

/* ==========================================================
   BUSINESS
   ========================================================== */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

.plan { display: flex; flex-direction: column; height: 100%; padding: 30px 28px; }
.plan--hi { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan--hi::after {
  content: "추천"; position: absolute; top: -12px; right: 22px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
html[lang="en"] .plan--hi::after { content: "Recommended"; }
.plan__badge {
  display: inline-block; align-self: flex-start; font-family: var(--display);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.plan__badge--b2c { background: var(--accent-soft); color: #175f9f; }
.plan__badge--b2g { background: #f8efe6; color: #94602f; }
.plan__badge--b2b { background: #fdeeea; color: #b4513b; }
.plan h3 { font-size: 22px; color: var(--ink); }
.plan__price { margin-top: 8px; font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.plan__price em { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.plan__for { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.plan ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan ul li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: #c3c9d5; }
.plan__addon { margin-top: auto; padding-top: 20px; margin-bottom: 0; font-size: 13px; color: var(--ink-3); }
.plan__addon b { display: block; color: var(--accent); font-size: 12px; letter-spacing: .06em; margin-bottom: 4px; }

.card--mkt h4 { font-size: 20px; color: var(--ink); margin: 14px 0 18px; }
.card--mkt dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; }
.card--mkt dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.card--mkt dd { margin: 0; color: var(--ink-3); }
.steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.steps li {
  font-size: 12.5px; font-weight: 600; color: #175f9f; background: var(--accent-soft);
  padding: 7px 12px; border-radius: 8px;
}
.steps li:not(:last-child)::after { content: " →"; opacity: .6; }
.steps--sand li { background: #f8efe6; color: #94602f; }

/* 로드맵 */
.roadmap { padding: 40px; }
.roadmap__chart { position: relative; }
.roadmap__unit { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }

/* 선(SVG)과 점·값(HTML)이 같은 백분율 좌표계를 쓰므로 폭이 변해도 어긋나지 않는다 */
.roadmap__plot { position: relative; height: clamp(190px, 22vw, 250px); }
.roadmap__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.roadmap__grid { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.roadmap__area { pointer-events: none; }
.roadmap__line {
  fill: none; stroke: var(--sky); stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.roadmap__points { position: absolute; inset: 0; pointer-events: none; }
.roadmap__points li {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 0; height: 0;
}
.roadmap__points li::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: #fff;
  border: 2.5px solid var(--sky);
}
.roadmap__points b {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  font-family: var(--display); font-size: clamp(12px, 1.4vw, 16px); font-weight: 600;
  color: var(--ink); letter-spacing: -.02em; white-space: nowrap;
}

.roadmap__years {
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.roadmap__years li { font-family: var(--display); font-size: 13px; font-weight: 500; color: var(--ink-3); }

.roadmap__phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 1020px) { .roadmap__phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .roadmap__phases { grid-template-columns: 1fr; } .roadmap { padding: 24px; } }
.roadmap__phases article { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.roadmap__when { font-family: var(--display); font-size: 13px; color: var(--accent); font-weight: 600; }
.roadmap__phases h4 { font-size: 18px; color: var(--ink); margin-top: 4px; }
.roadmap__rev { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.04em; margin: 6px 0 12px; }
.roadmap__phases ul { display: grid; gap: 7px; }
.roadmap__phases li { position: relative; padding-left: 14px; font-size: 13.5px; color: var(--ink-3); }
.roadmap__phases li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: #b9c0ce; }

/* ==========================================================
   TEAM / COMPANY
   ========================================================== */
.person {
  display: grid; grid-template-columns: auto 1fr;
  column-gap: 22px; align-items: center;
  align-content: start;
  grid-template-rows: auto auto 1fr;
}
.person__photo { grid-row: span 2; margin: 0; overflow: hidden; border-radius: 16px; }
.person__photo img {
  width: 104px; height: 116px; object-fit: cover; object-position: center 18%;
  transition: transform .5s var(--ease);
}
.person:hover .person__photo img { transform: scale(1.04); }
.person__photo--adv img { width: 88px; height: 98px; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent); align-self: end; }
.person h3 { font-size: 24px; color: var(--ink); margin: 2px 0 0; align-self: start; }
.person ul {
  grid-column: 1 / -1; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; gap: 8px;
  align-self: start; align-content: start;
}
.person li { position: relative; padding-left: 14px; font-size: 14.5px; color: var(--ink-3); }
.person li::before { content: ""; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: #b9c0ce; }
.person li b { color: var(--ink); font-weight: 600; }

.origin { margin-top: clamp(56px, 6vw, 80px); padding: clamp(32px, 4vw, 48px); }
.origin__photo {
  float: right; width: 220px; margin: 0 0 20px 36px; text-align: center;
  shape-outside: margin-box;
}
.origin__photo img {
  width: 100%; border-radius: 16px;
  filter: saturate(.9);
  transition: filter .4s ease;
}
.origin__photo:hover img { filter: saturate(1); }
.origin__photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.origin h3 { font-size: clamp(24px, 2.6vw, 30px); color: var(--ink); margin-bottom: 22px; }
.origin > ul { display: grid; gap: 12px; }
.origin > ul li { position: relative; padding-left: 16px; font-size: 15.5px; color: var(--ink-2); line-height: 1.8; }
.origin > ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: #b9c0ce; }
.origin b { color: var(--ink); }
.origin__quote {
  clear: both;
  margin-top: 28px; padding: 24px 28px; border-radius: 16px;
  background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 18px; text-align: center;
}
.origin__help {
  margin-top: 12px; padding: 14px 18px; border-radius: 12px;
  background: #fff6f3; color: #a4503b;
  font-size: 13.5px; text-align: center;
}
.origin__help b { color: #c4553a; }

.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 940px) { .company { grid-template-columns: 1fr; } }

.info { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info th, .info td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info th { width: 96px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.info td { color: var(--ink); }
.info tr:first-child th, .info tr:first-child td { padding-top: 0; }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.info a { color: var(--accent); text-decoration: none; font-weight: 600; }
.info a:hover { text-decoration: underline; }

.history { display: grid; gap: 22px; }
.history > li { position: relative; padding-left: 80px; }
.history > li > b {
  position: absolute; left: 0; top: 0; width: 60px;
  font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--accent); letter-spacing: -.01em;
}
.history > li::after {
  content: ""; position: absolute; left: 62px; top: 10px; bottom: -22px; width: 1px; background: var(--line-strong);
}
.history > li::before {
  content: ""; position: absolute; left: 59px; top: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--accent); z-index: 1;
}
.history > li:last-child::after { display: none; }
.history ul { display: grid; gap: 6px; }
.history ul li { position: relative; font-size: 14.5px; color: var(--ink-2); }

/* ==========================================================
   CLOSING — 장면 위에 흰 글자 / FOOTER
   ========================================================== */
.closing {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; padding: clamp(112px, 13vw, 192px) 0;
  background: var(--navy-deep);
}
.closing__bg { position: absolute; inset: 0; z-index: -1; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.closing__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 19, 40, .84) 0%, rgba(14, 19, 40, .78) 45%, rgba(14, 19, 40, .9) 100%);
}
.closing__inner { text-align: center; max-width: 800px; }
.closing__quote { margin: 0 0 44px; }
.closing__quote p:first-child {
  font-family: var(--display); font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25;
}
.closing__quote p:nth-child(2) { margin-top: 12px; font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: rgba(255,255,255,.78); }
.closing__quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; opacity: .6; }
.closing__body p { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.82); }
.closing__body p + p { margin-top: 24px; }
.closing__punch { font-size: 20px !important; font-weight: 600; color: #fff !important; }
.closing__punch b { font-size: 24px; }
.closing__contact { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.closing .btn--primary { background: #fff; color: var(--ink); }
.closing .btn--primary:hover { background: rgba(255,255,255,.86); }
.closing .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.closing .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.foot { background: #fff; border-top: 1px solid var(--line); color: var(--ink-3); padding: 40px 0 48px; font-size: 14px; }
.foot__inner { display: grid; gap: 4px; }
.foot b { color: var(--ink); font-weight: 600; }

/* 맨 위로 */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 26, 50, .10);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
}
.totop.is-show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--ink); }

/* ==========================================================
   PLAY — 3D 음성 상담 데모
   ========================================================== */
.section--play { background: var(--bg-soft); }

.game {
  position: relative; isolation: isolate;
  width: 100%; max-width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border-radius: 24px; overflow: hidden;
  background: #b9cfe0;
  box-shadow: var(--shadow-lg);
}
.game canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.game.is-playing { cursor: default; }

/* --- 3D 체험 (Pixel Streaming 데모를 iframe 으로) --- */
.stage3d {
  position: relative; isolation: isolate;
  width: 100%; aspect-ratio: 16 / 9; min-height: 460px;
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #34477f 0%, var(--navy-deep) 72%);
  box-shadow: var(--shadow-lg);
}
.stage3d[hidden], .stage3d__frame[hidden], .stage3d__panel[hidden], .stage3d__bar[hidden],
.stage3d__tool[hidden], .stage3d__note[hidden], .game[hidden], .game__disclaimer[hidden] { display: none !important; }
.stage3d__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block; background: var(--navy-deep);
}
.stage3d__panel {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; padding: 24px;
  text-align: center; color: #fff; overflow-y: auto;
}
.stage3d__card { width: min(100%, 560px); }
.stage3d__card h3 { font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 12px; }
.stage3d__msg { margin: 0 auto 22px; line-height: 1.75; color: rgba(255,255,255,.82); }
.stage3d__msg:empty { display: none; }
.stage3d__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stage3d[data-state="checking"] .stage3d__card h3 { animation: stage3dPulse 1.4s ease-in-out infinite; }
@keyframes stage3dPulse { 50% { opacity: .45; } }

.stage3d__bar {
  display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap;
  margin-top: 14px; font-size: 13.5px; color: var(--ink-2);
}
.stage3d__live { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; }
.stage3d__live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.18);
}
.stage3d__tool {
  appearance: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--ink); background: #fff; border: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}
.stage3d__tool:hover { border-color: var(--ink); }

/* Phones: nearly the whole screen, so the 3D scene inside is big enough to play with. */
@media (max-width: 720px) {
  .stage3d { aspect-ratio: auto; height: 86vh; height: 86svh; min-height: 520px; border-radius: 18px; }
  .stage3d__live { flex-basis: 100%; }
}
/* Phones held sideways */
@media (orientation: landscape) and (max-height: 560px) {
  .stage3d { aspect-ratio: auto; height: 92vh; height: 92svh; min-height: 300px; border-radius: 14px; }
}
/* 짧고 넓은 화면(노트북 가로) — 화면을 벗어나지 않도록 */
@media (min-width: 900px) and (max-height: 760px) {
  .stage3d { aspect-ratio: auto; height: 74vh; min-height: 400px; }
}

/* --- 오버레이 공통 --- */
.game__overlay {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; padding: 24px;
  background: linear-gradient(180deg, rgba(20,28,54,.55), rgba(20,28,54,.78));
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  overflow-y: auto;
}
.game__overlay[hidden] { display: none; }
.game__panel {
  width: min(100%, 560px); text-align: center; color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px; padding: 32px 30px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.game__panel--wide { width: min(100%, 880px); }
.game__overlay--start {
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(16,22,44,.72), rgba(16,22,44,.30) 70%),
    linear-gradient(180deg, rgba(20,28,54,.12), rgba(20,28,54,.46));
  backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
}
.game__overlay--start .game__panel {
  background: rgba(14,20,40,.52);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 24px 60px rgba(10,16,34,.45);
}
.game__overlay--end { background: linear-gradient(180deg, rgba(20,28,54,.72), rgba(16,22,44,.90)); }

/* 리포트는 내용이 길어 박스를 늘려 전체를 보여준다 */
.game.is-ended { aspect-ratio: auto; height: auto; }
.game.is-ended .game__overlay--end {
  position: relative; inset: auto; min-height: 460px;
  align-items: start; padding-block: 32px;
}
.game__kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky-soft); margin-bottom: 10px;
}
.game__panel h3 { font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 14px; }
.game__start-msg { font-size: 15px; line-height: 1.75; opacity: .92; }
.game__start-msg b { color: var(--sky-soft); }

.game__steps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 22px 0 26px;
}
.game__steps li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 13px; border-radius: 999px;
}
.game__steps b {
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky); font-size: 10.5px;
}
.game__fineprint { margin-top: 16px; font-size: 12px; opacity: .7; line-height: 1.7; }

/* --- HUD --- */
.game__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.game__hud[hidden] { display: none; }
.game__hud > * { pointer-events: auto; }

.game__chips {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.chip {
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(18,26,48,.46); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip--stage { background: rgba(47,151,224,.7); border-color: rgba(255,255,255,.35); }
.chip--mood::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 7px; vertical-align: 1px;
  background: hsl(calc(200 + var(--mood, .5) * 40), calc(30% + var(--mood, .5) * 60%), calc(45% + var(--mood, .5) * 20%));
  box-shadow: 0 0 8px currentColor;
}
.chip--quit { margin-left: auto; cursor: pointer; font-family: inherit; }
.chip--quit:hover { background: rgba(214,69,69,.75); }

.game__notice {
  position: absolute; top: 62px; left: 16px; right: 16px;
  background: rgba(214,69,69,.92); color: #fff;
  border-radius: 12px; padding: 12px 16px; font-size: 13px; line-height: 1.6;
}
.game__notice[hidden] { display: none; }

.game__bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(14,20,40,.30) 34%, rgba(14,20,40,.74));
  display: grid; gap: 12px; justify-items: center;
}

/* 넓은 화면에서는 대화 UI를 오른쪽 패널로 옮겨, 왼쪽을 온전한 놀이 공간으로 둔다 */
@media (min-width: 900px) {
  .game__bottom {
    left: auto; top: 0; right: 0; bottom: 0;
    width: min(360px, 34%);
    padding: 62px 18px 18px;
    background: linear-gradient(270deg, rgba(14,20,40,.80) 62%, rgba(14,20,40,.44) 88%, transparent);
    align-content: end; justify-items: stretch;
    gap: 14px;
  }
  .game__bubble { justify-self: stretch; margin-left: 0; width: 100%; }
  .game__say { width: 100%; }
  .game__quick { justify-content: flex-start; }
  .game__pad { display: none !important; }
}

.game__bubble {
  /* 캐릭터가 서 있는 오른쪽 공간을 가리지 않도록 왼쪽에 붙인다 */
  justify-self: start; margin-left: 1.5%;
  width: min(100%, 640px);
  background: rgba(255,255,255,.94); color: var(--ink);
  border-radius: 18px; padding: 14px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  border-bottom-left-radius: 6px;
  transition: background .3s ease;
}
.game__bubble.is-child {
  background: var(--sky); color: #fff;
  border-bottom-left-radius: 18px; border-bottom-right-radius: 6px;
}
.game__who {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--sky); margin-bottom: 4px;
}
.game__bubble.is-child .game__who { color: rgba(255,255,255,.85); }
.game__sub { font-size: 15.5px; line-height: 1.7; font-weight: 500; }

/* --- 텍스트 입력 --- */
.game__say {
  display: flex; gap: 8px; width: min(100%, 660px);
}
.game__say input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 2px solid transparent; border-radius: 12px; padding: 12px 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.game__say input::placeholder { color: #9aa3ba; }
.game__say input:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(47,151,224,.28);
}
.game__say button {
  flex: none; font-family: inherit; font-size: 14.5px; font-weight: 700; color: #fff;
  background: var(--sky); border: 0; border-radius: 12px; padding: 0 22px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(47,151,224,.35);
  transition: background .18s ease, transform .18s ease;
}
.game__say button:hover { background: var(--indigo); transform: translateY(-1px); }

.game__hint {
  font-size: 12.5px; color: rgba(255,255,255,.82); text-align: center;
  min-height: 17px; margin: 0;
}

/* 빠른 답변 칩 */
.game__quick { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.game__quick button {
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .18s ease, transform .18s ease;
}
.game__quick button:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }

/* 조작 안내 키 목록 (시작 화면) */
.game__keys {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px; margin: 20px auto 4px; max-width: 420px; text-align: left;
}
.game__keys li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; opacity: .92; }
.game__keys span { margin-left: 4px; }
kbd {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px;
  font-family: inherit; font-size: 11.5px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  border-bottom-width: 2px; border-radius: 7px;
}

/* 모바일 방향 패드 */
.game__pad {
  position: absolute; left: 14px; bottom: 132px; z-index: 3;
  display: none; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px);
  gap: 6px;
}
.game__pad button {
  font-size: 15px; color: #fff; cursor: pointer;
  background: rgba(18,26,48,.5); border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.game__pad button:active { background: rgba(47,151,224,.7); }
.game__pad [data-dir="up"]    { grid-area: 1 / 2; }
.game__pad [data-dir="left"]  { grid-area: 2 / 1; }
.game__pad [data-dir="down"]  { grid-area: 2 / 2; }
.game__pad [data-dir="right"] { grid-area: 2 / 3; }
@media (hover: none) and (pointer: coarse) {
  .game__pad { display: grid; }
}

.chip--shell { background: rgba(240,140,120,.62); }
.chip--voice { cursor: pointer; font-family: inherit; }
.chip--voice[aria-pressed="true"] { background: rgba(47,151,224,.72); }

.game__endActions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.game__endActions .btn--primary { background: var(--sky); color: #fff; box-shadow: 0 10px 26px rgba(47,151,224,.4); }
.game__endActions .btn--primary:hover { background: var(--sky-soft); color: var(--navy); }
.game__endActions .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.game__endActions .btn--ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.game__disclaimer {
  margin-top: 20px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
}
.game__disclaimer b { color: var(--ink-2); }

/* --- 리포트 --- */
.report__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; text-align: left; }
.report__card {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 18px;
}
.report__card--wide { grid-column: 1 / -1; }
.report__label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--sky-soft); margin-bottom: 14px; }
.report__donut {
  width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; position: relative;
}
.report__donut::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #1e2547;
}
.report__donut span { position: relative; z-index: 1; font-size: 15px; font-weight: 800; }
.report__legend { display: grid; gap: 7px; }
.report__legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.report__legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.report__legend span { flex: 1; opacity: .88; }
.report__legend b { font-weight: 800; }
.report__score { font-size: 46px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.report__score em { font-style: normal; font-size: 16px; font-weight: 600; opacity: .6; }
.report__delta { margin-top: 8px; font-size: 13.5px; font-weight: 700; }
.report__delta.is-up { color: #7ee0a8; }
.report__delta.is-down { color: #f5a3a3; }
.report__meta { margin-top: 12px; font-size: 12.5px; opacity: .72; }
.report__keyword { margin-top: 6px; font-size: 13px; opacity: .85; }
.report__keyword b { color: var(--sky-soft); }
.report__tips { display: grid; gap: 10px; }
.report__tips li {
  font-size: 13.5px; line-height: 1.7; padding: 11px 14px;
  background: rgba(255,255,255,.08); border-radius: 10px;
}
.report__tips b { color: var(--sky-soft); }

@media (max-width: 720px) {
  .game { aspect-ratio: 3 / 4; min-height: 520px; }
  .game__panel { padding: 24px 20px; }
  .game__steps { gap: 6px; }
  .game__steps li { font-size: 11.5px; padding: 6px 10px; }
  .game__keys { grid-template-columns: 1fr; gap: 6px; max-width: 260px; margin-inline: auto; }
  .game__bottom { padding: 34px 12px 14px; }
  .game__bubble { justify-self: stretch; margin-left: 0; width: 100%; }
  .game__sub { font-size: 14.5px; }
  .game__quick button { font-size: 11.5px; padding: 6px 11px; }
  .game__pad { bottom: 176px; left: 10px; }
  .report__grid { grid-template-columns: 1fr; }
  .chip { font-size: 11.5px; padding: 6px 11px; }
  .chip--step { display: none; }
}

/* ==========================================================
   움직임 — 꼭 필요한 만큼만
   ========================================================== */

/* 카드: 마우스를 올리면 살짝 떠오른다 */
.card--prob:hover, .card--feat:hover, .card--convo:hover,
.plan:hover, .person:hover, .timeline li:hover, .logos li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* 비교표: 행 강조 */
.compare tbody tr { transition: background .18s ease; }
.compare tbody tr:hover { background: #fafbfc; }

/* 막대 그래프: 화면에 들어올 때 자란다 */
.bars__item i { animation-play-state: paused; }
.card--stat.is-in .bars__item i { animation-play-state: running; }
.card--stat.is-in .bars__item:nth-child(2) i { animation-delay: .08s; }
.card--stat.is-in .bars__item:nth-child(3) i { animation-delay: .16s; }
.card--stat.is-in .bars__item:nth-child(4) i { animation-delay: .24s; }
.card--stat.is-in .bars__item:nth-child(5) i { animation-delay: .32s; }

/* 랭킹 바: 폭이 차오른다 */
.rank li::before { width: 0; transition: width 1s var(--ease); }
.card--stat.is-in .rank li::before { width: var(--w); }
.card--stat.is-in .rank li:nth-child(2)::before { transition-delay: .1s; }
.card--stat.is-in .rank li:nth-child(3)::before { transition-delay: .2s; }
.card--stat.is-in .rank li:nth-child(4)::before { transition-delay: .3s; }

/* 경과 그래프: 선이 그려진다 */
.course__good, .course__bad { stroke-dasharray: 600; stroke-dashoffset: 600; }
.card--stat.is-in .course__good { animation: draw 1.6s ease forwards .2s; }
.card--stat.is-in .course__bad  { animation: draw 1.6s ease forwards .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 로드맵 라인도 그려지게 */
.roadmap__line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.roadmap.is-in .roadmap__line { animation: draw 1.8s ease forwards .2s; }
.roadmap__points li { opacity: 0; }
.roadmap.is-in .roadmap__points li { animation: pop .45s var(--ease) forwards; }
.roadmap.is-in .roadmap__points li:nth-child(1) { animation-delay: .45s; }
.roadmap.is-in .roadmap__points li:nth-child(2) { animation-delay: .70s; }
.roadmap.is-in .roadmap__points li:nth-child(3) { animation-delay: .95s; }
.roadmap.is-in .roadmap__points li:nth-child(4) { animation-delay: 1.20s; }
.roadmap.is-in .roadmap__points li:nth-child(5) { animation-delay: 1.45s; }
.roadmap.is-in .roadmap__points li:nth-child(6) { animation-delay: 1.70s; }
@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.roadmap__area { opacity: 0; transition: opacity 1s ease .9s; }
.roadmap.is-in .roadmap__area { opacity: 1; }

/* 시장 원: 부드럽게 나타난다 */
.funnel__big, .funnel__small { transform: scale(.8); opacity: 0; transition: transform .9s var(--ease), opacity .7s ease; }
.card--market.is-in .funnel__small { transform: none; opacity: 1; }
.card--market.is-in .funnel__big { transform: none; opacity: 1; transition-delay: .18s; }

/* 이미지: 살짝 확대 */
.shot img, .card--feat-img img { transition: transform .7s var(--ease); }
.shot:hover img, .card--feat-img:hover img { transform: scale(1.025); }

/* 채팅 말풍선: 순서대로 나타난다 */
.chat p { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s var(--ease); }
.card--convo.is-in .chat p { opacity: 1; transform: none; }
.card--convo.is-in .chat p:nth-child(2) { transition-delay: .18s; }
.card--convo.is-in .chat p:nth-child(3) { transition-delay: .36s; }

/* 방향성 있는 등장 */
.js .reveal--left  { transform: translateX(-28px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal--left.is-in, .js .reveal--right.is-in { transform: none; }

@media (hover: none) {
  .card:hover, .card--prob:hover, .card--feat:hover, .card--convo:hover,
  .plan:hover, .person:hover, .timeline li:hover, .logos li:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bars__item i, .course__good, .course__bad, .roadmap__line,
  .funnel__big, .funnel__small, .chat p, .roadmap__area {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important;
  }
  .roadmap__points li {
    animation: none !important; opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
  }
  .rank li::before { transition: none; width: var(--w); }
}

/* ==========================================================
   추가 브레이크포인트 — 화면 폭에 따라 더 촘촘하게
   ========================================================== */
@media (max-width: 1280px) {
  :root { --wrap: 1100px; }
  .nav__links a { padding: 8px 10px; font-size: 14.5px; }
}
@media (max-width: 1120px) {
  .solution { gap: 40px; }
  .compare { min-width: 720px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .solution__media { grid-template-columns: 1fr 1fr; align-items: start; }
  .shot--phone { max-width: 100%; }
  .origin__photo { width: 180px; margin-left: 24px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .card { padding: 24px; }
  .person { grid-template-columns: 84px 1fr; column-gap: 16px; }
  .person__photo img, .person__photo--adv img { width: 84px; height: 94px; }
  .person h3 { font-size: 21px; }
  .origin__photo { float: none; width: 100%; max-width: 260px; margin: 0 auto 24px; }
  .solution__media { grid-template-columns: 1fr; }
  .shot--phone { max-width: 240px; }
  .flow li { padding-left: 48px; }
}
@media (max-width: 560px) {
  :root { --radius: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .banner, .banner--dark, .section--tint .banner--dark { padding: 20px; font-size: 15px; }
  .segments li { flex-basis: calc(50% - 5px); }
  .plan { padding: 26px 22px; }
}
@media (max-width: 400px) {
  .game { min-height: 460px; }
  .game__say input { font-size: 14px; padding: 11px 13px; }
  .game__say button { padding: 0 16px; font-size: 13.5px; }
}

/* 짧고 넓은 화면(노트북 가로) — 게임이 화면을 벗어나지 않도록 */
@media (min-width: 900px) and (max-height: 760px) {
  .game { aspect-ratio: auto; height: 74vh; min-height: 380px; }
}

/* ==========================================================
   첫 화면: 리브리드 / 스타그라운드 고르기
   왼쪽은 리브리드(밝은 바다빛), 오른쪽은 스타그라운드(그 사이트의 어두운 바탕과 주황 궤도).
   JS가 있을 때, <head> 스크립트가 html.gate-open 을 붙인 경우에만 보인다.
   ========================================================== */
.gate { display: none; }
html.js.gate-open .gate,
.gate.is-leaving {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-columns: 1fr 1fr;
}
html.js.gate-open, html.js.gate-open body { overflow: hidden; }
.gate:focus { outline: none; }
.gate.is-leaving { opacity: 0; pointer-events: none; transition: opacity .45s ease; }

.gate__side {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  margin: 0; padding: 56px 28px; border: 0; border-radius: 0;
  font: inherit; text-align: center; text-decoration: none; cursor: pointer;
}
.gate__side--rebreathe {
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--bg-tint) 58%, var(--bg-deep) 100%);
  color: var(--navy);
}
.gate__side--starground {
  background: radial-gradient(circle at 50% 40%, #162127 0%, #10171b 45%, #0a0f12 100%);
  color: #e8f0f2;
}
.gate__side:focus-visible { outline: 3px solid var(--sky); outline-offset: -12px; }
.gate__side--starground:focus-visible { outline-color: #e8913c; }

.gate__logo {
  display: grid; place-items: center;
  width: clamp(104px, 13vw, 168px); aspect-ratio: 1; margin-bottom: 10px;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.gate__logo img, .gate__logo svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.gate__side--starground .gate__logo svg { filter: drop-shadow(0 0 22px rgba(232, 145, 60, .35)); }
.gate__side:hover .gate__logo, .gate__side:focus-visible .gate__logo { transform: scale(1.07); }

.gate__name { font-size: clamp(24px, 2.7vw, 36px); font-weight: 900; letter-spacing: .06em; line-height: 1.1; }
.gate__side--starground .gate__name {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700; font-style: italic; letter-spacing: .14em;
}
.gate__desc { font-size: 15px; font-weight: 500; opacity: .72; }
.gate__side--starground .gate__desc { opacity: .62; }

.gate__go {
  margin-top: 14px; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
.gate__side--rebreathe .gate__go { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.gate__side--rebreathe:hover .gate__go { background: var(--sky); border-color: var(--sky); }
.gate__side--starground .gate__go { color: #e8913c; border: 1px solid rgba(232, 145, 60, .7); }
.gate__side--starground:hover .gate__go { background: #e8913c; color: #0a0f12; border-color: #e8913c; }

.gate__or {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(10, 15, 18, .28); pointer-events: none;
}

.gate__lang {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(10, 15, 18, .18);
}
.gate__lang button {
  border: 0; border-radius: 999px; padding: 5px 11px; background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-2, #4a5374);
}
.gate__lang button.is-on { background: var(--navy); color: #fff; }
.gate__lang button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

@media (max-width: 720px) {
  html.js.gate-open .gate, .gate.is-leaving { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate__side { padding: 36px 20px; gap: 8px; }
  .gate__logo { width: 92px; margin-bottom: 4px; }
  .gate__go { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gate.is-leaving, .gate__logo, .gate__go { transition: none; }
}

@media print {
  .gate { display: none !important; }
  .nav, .totop, .skip-link, .section--play { display: none !important; }
  .js .hero__line > span, .js .hero__eyebrow, .js .hero__actions, .js .hero__visual { opacity: 1 !important; transform: none !important; translate: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 24px 0; }
}
