/* 앱 소개 페이지(/<앱>/) 공용 — 밝은 흑백 바탕에 앱 화면을 주인공으로 둔다. 마스코트(소리)는 Pitch Academy 페이지에만.
   색은 앱에서 온 것만 쓴다: 남색(앱 d1), 동작 타일의 카테고리 색. 그라데이션·블러는 쓰지 않는다. */
:root {
  --bg: #fafafa;
  --band: #f2f2f2;
  --card: #ffffff;
  --ink: #191919;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --btn: #222222;
  --d1: #2c3048;
  --wrap: 1160px;
  --nav-h: 64px;
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-std: cubic-bezier(.4,0,.2,1);

  /* 앱 카테고리 색 (absolute_ear/lib/core/ui/category_colors.dart) */
  --c-interval-l: #b6c6d8; --c-interval-d: #3b5572;
  --c-chord-l: #b6d8cf;    --c-chord-d: #3b7264;
  --c-scale-l: #d8ceb6;    --c-scale-d: #72633b;
  --c-melody-l: #d8b6b8;   --c-melody-d: #723b3e;
  --c-prog-l: #beb6d8;     --c-prog-d: #483b72;
  --c-rhythm-l: #d8c3b6;   --c-rhythm-d: #724f3b;
}
.c-interval { --cat-l: var(--c-interval-l); --cat-d: var(--c-interval-d); }
.c-chord    { --cat-l: var(--c-chord-l);    --cat-d: var(--c-chord-d); }
.c-scale    { --cat-l: var(--c-scale-l);    --cat-d: var(--c-scale-d); }
.c-melody   { --cat-l: var(--c-melody-l);   --cat-d: var(--c-melody-d); }
.c-prog     { --cat-l: var(--c-prog-l);     --cat-d: var(--c-prog-d); }
.c-rhythm   { --cat-l: var(--c-rhythm-l);   --cat-d: var(--c-rhythm-d); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
/* keep-all 은 띄어쓰기 없는 중국어 문장의 줄바꿈을 막는다 */
html[lang^="zh"] body { word-break: normal; overflow-wrap: break-word; }

::selection { background: var(--ink); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* 좌우 여백만 준다 — 구역의 위아래 여백(main > section)을 덮지 않도록 */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.nw { white-space: nowrap; }

/* ---------- 언어 안내 띠 ---------- */
.lang-banner { display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--ink); color: #fff; font-size: 0.95rem; }
.lang-banner[hidden] { display: none; }
.lang-banner p { display: none; margin: 0; flex: 1; }
.lang-banner[data-suggest="en"] p[data-for="en"],
.lang-banner[data-suggest="zh"] p[data-for="zh"] { display: block; }
.lang-banner a { font-weight: 700; white-space: nowrap; }
.lang-banner-close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* ---------- 상단 내비 ---------- */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand img { border-radius: 8px; }
.topnav-right { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav-link { display: none; text-decoration: none; font-weight: 600; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-langs { display: none; gap: 10px; }
.nav-langs a { text-decoration: none; color: var(--muted); }
.nav-langs a:hover, .nav-langs a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.nav-cta { text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 9px 18px; border-radius: 999px; background: var(--btn); color: #fff; transition: background .2s var(--ease-std); }
.nav-cta:hover { background: #000; }

/* ---------- 스토어 버튼 ---------- */
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* 굴러가는 알약 버튼 (MotionSites text-roll): 글자 두 벌이 20px 창 안에서 위로 구르고, 화살표 칩이 −45° 돈다 */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: var(--btn); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  transition: background .3s var(--ease-std);
}
.store-btn:hover { background: #000; }
/* 아직 스토어에 없는 앱: 링크 없는 알약 하나(버튼처럼 보이지 않게 테두리만) */
.store-soon { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
              box-shadow: inset 0 0 0 1.5px #cfcfcf; color: var(--ink); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.btn-roll__label { display: block; height: 22px; line-height: 22px; overflow: hidden; }
.btn-roll__inner { display: flex; flex-direction: column; transition: transform .5s var(--ease-std); }
.btn-roll__inner > span { display: block; height: 22px; white-space: nowrap; }
.btn-roll:hover .btn-roll__inner, .btn-roll:focus-visible .btn-roll__inner { transform: translateY(-50%); }
.btn-roll__chip { width: 34px; height: 34px; border-radius: 999px; background: #fff; color: var(--btn); display: grid; place-items: center; flex: none; }
.btn-roll__chip svg { transition: transform .5s var(--ease-std); }
.btn-roll:hover .btn-roll__chip svg, .btn-roll:focus-visible .btn-roll__chip svg { transform: rotate(-45deg); }
.store-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }
/* 기기에 맞는 스토어를 앞세운다 (head 의 #os-detect 가 <html> 에 os-ios / os-android 를 단다) */
/* 중국어 페이지는 기기와 상관없이 App Store 먼저(본토에서 Google Play 접속 불가) — 강조 규칙에서 뺀다 */
html:not([lang^="zh"]).os-android .store-btn--play { order: -1; }
html:not([lang^="zh"]).os-ios .store-btn--play, html:not([lang^="zh"]).os-android .store-btn--apple { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfcfcf; }
html:not([lang^="zh"]).os-ios .store-btn--play .btn-roll__chip, html:not([lang^="zh"]).os-android .store-btn--apple .btn-roll__chip { background: var(--btn); color: #fff; }
html:not([lang^="zh"]).os-ios .store-btn--play:hover, html:not([lang^="zh"]).os-android .store-btn--apple:hover { background: #ececec; }

/* ---------- 히어로: 화면 폭을 채우는 워드마크 위에 폰과 소리가 선다 (MotionSites ghost-word) ---------- */
.hero { position: relative; }
.hero-stage { position: relative; overflow: hidden; padding-top: 40px; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 36px; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { margin: 0; font-size: clamp(2rem, 8.6vw, 4.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.05em; }
.h1-line { display: block; }
.hero-sub { margin: 24px 0 32px; max-width: 28em; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.12rem); line-height: 1.6; }
.hero-visual { position: relative; display: grid; width: min(440px, 100%); margin: 0 auto; padding-bottom: clamp(56px, 9vw, 120px); }
.hero-visual > .phone { grid-area: 1 / 1; }
.phone { position: relative; box-sizing: content-box; border-radius: 32px; border: 5px solid #161616; background: #161616; }
.phone-front { width: min(220px, 52vw); justify-self: start; margin-left: 6%; transform: translateX(calc(var(--cam, 0) * -5vw + var(--front-x, 0px))) rotate(var(--front-r, -4deg)) scale(var(--front-s, 1)); z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .12); }
.phone-back { width: min(176px, 41vw); justify-self: end; margin-right: 2%; margin-top: 64px; transform: translate(calc(var(--cam, 0) * -5vw + var(--back-x, 0px)), var(--back-y, 0px)) rotate(var(--back-r, 6deg)); z-index: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.hero-sori { position: absolute; z-index: 3; width: min(150px, 34vw); left: -4%; bottom: 0; transform-origin: 50% 100%; transform: translateX(calc(var(--cam, 0) * -5vw + var(--sori-x, 0px))) scale(var(--sori-s, 1)); }
.hero-copy { opacity: var(--copy-o, 1); transform: translateY(var(--copy-y, 0px)); }
/* 시그니처: 아래쪽에 깔린 거대한 앱 이름 — 폰과 소리가 글자 위에 서서 포스터 같은 깊이를 만든다 */
.hero-wordmark {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: -0.16em;
  font-size: calc(var(--word-vw, 19.5) * 1vw); font-weight: 700; line-height: .85; letter-spacing: -0.075em;  /* 앱 이름 길이에 맞춘 값(build.py wordmark_vw) */
  white-space: nowrap; text-align: center; color: #d6d4cd; pointer-events: none; user-select: none;
}
/* 스크롤 연출 값은 의사 요소에 건다 — 본체는 등장 애니메이션(fill both)이 transform 을 붙잡고 있다 */
.hero-wordmark::before { content: attr(data-text); display: inline-block; opacity: var(--word-o, .55); transform: translateY(var(--word-y, 0vh)) scale(var(--word-s, 1)); transform-origin: 50% 100%; }
/* 연출 자막: 문구가 빠진 자리에 한 줄 (연출이 켜졌을 때만) */
.hero-caption { display: none; }

/* ---------- 공통 구역 ---------- */
/* 장식(연한 원·별)이 화면 밖으로 넘쳐도 가로 스크롤이 생기지 않게 자른다 (clip 은 스크롤 영역을 만들지 않음) */
main { overflow-x: clip; }
main > section { padding-top: 72px; padding-bottom: 72px; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.section-head.center .eyebrow { justify-content: center; }
h2 { margin: 0; font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.05em; }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.38; font-weight: 750; letter-spacing: -0.02em; }
.lead { color: var(--muted); margin: 14px 0 0; }

/* 청음 맛보기: 왼쪽 설명, 오른쪽 소리 반응 + 문제 카드 */
.try-inner { display: grid; gap: 8px; }
.try-sound { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 0.88rem; color: var(--muted); }
.icon-sm { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.try-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 18px; display: grid; gap: 18px; }
.try-stage { display: flex; justify-content: center; }
.try-stage img { width: min(100%, 300px); height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--c-interval-l); }
/* 마스코트 없는 앱: 건반. 문제 음이 울릴 때 그 건반이 켜지고(.on), 답을 고르면 두 음이 남는다(.held) */
.try-keys { position: relative; display: flex; width: min(100%, 360px); height: 148px; padding: 14px 14px 18px; border-radius: 18px; background: var(--d1); }
.key--w { flex: 1; margin: 0 1.5px; border-radius: 0 0 6px 6px; background: #fff; transition: background .12s var(--ease-std); }
.key--b { position: absolute; top: 14px; left: calc(14px + (100% - 28px) * var(--x)); width: calc((100% - 28px) / var(--n) * .62);
          height: 62%; transform: translateX(-50%); border-radius: 0 0 5px 5px; background: #151826; transition: background .12s var(--ease-std); }
.try-keys .key.on, .try-keys .key.held { background: var(--c-interval-l); }
.try-keys .key--b.on, .try-keys .key--b.held { background: var(--c-interval-d); }
/* 체험은 eartest.js 가 Web Audio 를 확인하고 try-ready 를 달 때만 보인다. 아니면 안내 문구 */
.try-live { display: none; }
.try-ready .try-live { display: block; }
.try-ready .try-fallback { display: none; }
.try-progress { margin: 0 0 12px; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.try-play {
  width: 100%; padding: 14px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--btn); color: #fff; font: inherit; font-weight: 700; font-size: 1.02rem;
}
.try-play:hover { background: #000; }
.try-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.try-options button {
  padding: 14px 4px; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.92rem;
  overflow-wrap: normal; word-break: keep-all; line-height: 1.3;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.try-options button:not(:disabled):hover { border-color: var(--ink); }
/* 듣기 전 잠긴 보기: 글자는 읽히게(대비 4.5 이상) 두고 점선 테두리로 잠김을 표시 */
.try-options button:disabled { cursor: default; color: var(--muted); border-style: dashed; }
.try-options button.is-right:disabled, .try-options button.is-wrong:disabled { border-style: solid; }
.try-options button.is-right { border-color: var(--c-chord-d); background: color-mix(in srgb, var(--c-chord-l) 45%, #fff); color: var(--c-chord-d); }
.try-options button.is-wrong { border-color: var(--c-melody-d); background: color-mix(in srgb, var(--c-melody-l) 45%, #fff); color: var(--c-melody-d); }
.try-feedback { min-height: 1.6em; margin: 12px 0 0; font-weight: 700; }
.try-next, .try-retry {
  margin-top: 4px; padding: 10px 16px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.try-next:hover, .try-retry:hover { border-color: var(--ink); }
.try-done { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.try-done-text { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.try-more { margin: 6px 0 14px; color: var(--muted); font-size: 0.92rem; }
.try-done .store-btns { margin-bottom: 12px; }
.try-fallback { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* 기능 카드 4개: 번호 → 제목 → 설명 → 아래로 잘려 나가는 폰 */
/* 기능 4개: 스크롤하면 카드가 위에 차례로 쌓이고, 아래 카드는 살짝 작아진다 (MotionSites sticky stacking cards) */
.stack { position: relative; }
.stack-slot { position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 24px); margin-bottom: 18px; }
.fcard {
  position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 4vw, 48px) clamp(22px, 4vw, 56px) 0; transform-origin: top center; will-change: transform;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.fcard-num { margin: 0 0 18px; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.fcard h3 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.18; letter-spacing: -0.045em; font-weight: 700; }
.fcard-desc { margin: 14px 0 28px; max-width: 26em; color: var(--muted); font-size: 1rem; }
.fcard-shot { height: clamp(240px, 42vw, 360px); overflow: hidden; display: flex; justify-content: center; }
.fcard-shot img { width: min(250px, 62%); height: auto; align-self: flex-start; border: 5px solid #161616; border-bottom: 0; border-radius: 30px 30px 0 0; background: #161616; }

/* 이런 분께: 3열 텍스트, 위 테두리 */
.aud { display: grid; gap: 28px; }
.aud article { border-top: 1px solid var(--ink); padding-top: 18px; }
.aud-num { margin: 0 0 12px; font-size: 0.82rem; color: var(--muted); }
.aud p { color: var(--muted); margin: 8px 0 0; }
.aud .aud-num { margin: 0 0 12px; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq-mail { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: none; }
.faq-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; position: relative; padding-right: 36px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: -3px; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* 마지막 설치: 얇은 테두리의 흰 카드 */
.cta-card { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 52px 24px 48px; }
.cta-sori { width: 110px; margin: 0 auto 18px; }
.cta-card h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
.cta-card .store-btns { justify-content: center; margin-top: 28px; }
.cta-qr { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .cta-qr { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 18px; text-align: left; }
  .cta-qr img { width: 88px; height: 88px; border-radius: 8px; }
  .cta-qr p { margin: 0; max-width: 13em; font-size: 0.88rem; color: var(--muted); }
}

/* ---------- 첫 화면 등장 (MotionSites blur-rise). fill-mode both 라 애니메이션이 안 돌면 처음부터 보인다 ---------- */
@keyframes blurRise { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
/* 첫 화면 폰은 가장 큰 요소(LCP)라 투명도는 두고 위치·크기만 움직인다 */
@keyframes riseIn { from { transform: translateY(40px) scale(.97); } to { transform: none; } }
.in-blur { animation: blurRise 1.05s var(--ease-out-expo) var(--d, 0ms) both; }
.in-fade { animation: fadeRise .9s var(--ease-out-expo) var(--d, 0ms) both; }
.in-down { animation: fadeDown .8s var(--ease-out-expo) both; }
.in-rise { animation: riseIn 1.2s var(--ease-out-expo) var(--d, 0ms) both; }
.hero-wordmark { animation: fadeRise 1.6s var(--ease-out-expo) .5s both; }
@media (prefers-reduced-motion: reduce) { .in-blur, .in-fade, .in-down, .in-rise, .hero-wordmark { animation: none; } }

/* 아주 옅은 종이 질감 (MotionSites page grain, 실효 약 3%) — 평평한 디지털 느낌을 지운다 */
.page-grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .45; background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

/* ---------- 스크롤 등장 (JS 있을 때만 숨긴다) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 푸터 ---------- */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 36px; padding-bottom: 40px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 700; color: var(--ink); }
.lang-switch { display: flex; gap: 14px; }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.trademark { margin: 0; max-width: 46em; font-size: 0.78rem; line-height: 1.5; }
.copyright { margin: 0; }

/* ---------- 반응형 ---------- */
@media (min-width: 560px) {
  .nav-langs { display: flex; }
}

@media (min-width: 768px) {
  .wrap { padding-left: 36px; padding-right: 36px; }
  .nav-link { display: inline; }
  .hero { padding-top: 64px; }
  .hero-visual { width: 440px; }
  .phone-front { width: 236px; }
  .phone-back { width: 190px; }
  .fcard { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 40px; padding-bottom: 0; }
  .fcard-copy { align-self: center; padding-bottom: 48px; }
  main > section { padding-top: 104px; padding-bottom: 104px; }
  .aud { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .try-inner { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .try-card { grid-template-columns: 1fr; padding: 22px; }
  .cta-card { padding: 64px 40px 56px; }
}

/* 큰 제목과 폰 두 대가 한 줄에 들어가는 폭부터 좌우 배치 (1024px 에서는 폰이 잘려서 1100px 부터) */
@media (min-width: 1100px) {
  .hero-stage { min-height: min(calc(100vh - var(--nav-h)), 900px); min-height: min(calc(100dvh - var(--nav-h)), 900px); display: flex; align-items: center; padding-top: 32px; }
  .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .hero-copy { flex: 1 1 56%; padding-bottom: 10vw; }
  .h1-line { white-space: nowrap; }
  /* 영·중 첫 줄은 한 줄로 두면 폰 자리를 밀어내므로 .nw 덩어리 사이에서 나뉘게 둔다. */
  html:not([lang="ko"]) .hero-copy { min-width: 0; }
  html:not([lang="ko"]) .h1-line { white-space: normal; }
  .hero-visual { flex: 0 0 auto; margin: 0; }
}

@media (min-width: 1100px) {
  .hero-visual { width: 500px; }
  .phone-front { width: 270px; }
  .phone-back { width: 220px; }
  .hero-sori { width: 190px; left: -30%; }
}

/* ---------- 첫 화면 스크롤 연출 (cine.js 가 넓은 화면·마우스·동작 줄이기 아님일 때만 html.cine-on 을 단다) ---------- */
/* 대본은 1000px 에서 끝나고, 200px 더 끝 장면을 붙잡아 둔다. 공통 구역 여백은 빼야 무대가 바로 고정된다 */
html.cine-on .hero { --runway: 1200px; height: calc(min(calc(100dvh - var(--nav-h)), 900px) + var(--runway)); padding-top: 0; padding-bottom: 0; }
html.cine-on .hero-stage { position: sticky; top: var(--nav-h); height: min(calc(100dvh - var(--nav-h)), 900px); }
html.cine-on .hero-caption {
  display: block; position: absolute; z-index: 4; top: 38%; margin: 0;
  left: max(36px, calc((100vw - var(--wrap)) / 2 + 36px)); white-space: nowrap;
  font-size: clamp(2.4rem, 3.9vw, 3.6rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.08;
  opacity: var(--cap-o, 0); transform: translateY(calc(-50% + var(--cap-y, 24px))); pointer-events: none;
}
