/* ===================================================================
   ELANFIT 메인 랜딩 — home.css (2026-10-20 개편)
   index.html 전용. s/·challenge/ 는 기존 styles.css 를 계속 쓴다.
   모바일 우선 · 다크 기본 + 라이트 대응 · prefers-reduced-motion 존중.
   스크롤 연출은 home.js 가 움직이는 요소에 transform·opacity 를 직접 넣는다(장면 2개 + 시그니처 1개 — home.js 머리말).
   숨김 상태는 전부 .js:not(.rm) 아래 — JS 가 없거나 움직임 줄이기면 완성 상태 그대로다.
   =================================================================== */

:root {
  --bg: #07070D;
  --bg-2: #101018;
  --bg-3: #181822;
  --ink: #F5F5F7;
  --ink-2: #A5A5B8;
  --ink-3: #6F6F82;
  --accent: #8E7DFF;
  --accent-strong: #5B5BD6;
  --field: #4F4FC9;
  --field-ink: #FFFFFF;
  --card: rgba(22, 22, 32, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --ok: #34D399;

  --wrap: 1200px;
  --pad: 20px;
  --header-h: 56px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);   /* 600ms 미만 등장·누름 */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);   /* 800ms 이상 등장·화면 넘김 */
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #FBFBFD;
    --bg-2: #F1F1F6;
    --bg-3: #E7E7EF;
    --ink: #1D1D1F;
    --ink-2: #5C5C6B;
    --ink-3: #8A8A99;
    --accent: #5B5BD6;
    --accent-strong: #4A4AC4;
    --field: #4F4FC9;
    --card: rgba(255, 255, 255, 0.94);
    --line: rgba(0, 0, 0, 0.08);
    --ok: #059669;
  }
}

@media (min-width: 768px) { :root { --pad: 40px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--accent-strong); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.h2 {
  font-size: clamp(34px, 8.4vw, 72px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-2); line-height: 1.6; max-width: 38em; }

/* ---------- 버튼·배지 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.btn-solid { background: var(--accent-strong); color: #fff; }
.btn-solid:hover { background: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores-center { justify-content: center; }
.store-badge { display: inline-block; border-radius: 12px; transition: transform .18s var(--ease-out); }
.store-badge img { height: 50px; width: auto; }
@media (hover: hover) { .store-badge:hover { transform: translateY(-2px); } }
.store-badge:active, .btn:active { transform: scale(.97); transition-duration: .14s; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; letter-spacing: 0.06em; font-size: 17px; text-decoration: none; }
.nav-desktop { display: none; gap: 28px; font-size: 14px; }
.nav-desktop a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-desktop a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile { padding: 8px var(--pad) 20px; display: grid; gap: 2px; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 12px 0; font-size: 22px; font-weight: 700; text-decoration: none; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* ---------- 폰 목업 (스크린샷에 상태 표시줄·아일랜드가 이미 있다) ---------- */
.phone {
  position: relative;
  aspect-ratio: 690 / 1499;
  padding: 2.4%;
  border-radius: 14% / 6.5%;
  background: #1B1B22;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    0 50px 90px -30px rgba(0, 0, 0, 0.55);
}
.phone > img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12% / 5.6%;
  background: #07070D;
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 72px;
  overflow: clip;
}
.hero-glow {
  position: absolute; z-index: -1;
  width: 120vmax; height: 120vmax; left: 50%; top: 30%;
  transform: translate(-50%, -50%); /* 스크롤 이동은 home.js(제 크기의 5% 이하, 터치 기기에선 없음) */
  background: radial-gradient(closest-side, rgba(110, 98, 229, 0.30), rgba(110, 98, 229, 0.08) 45%, transparent 70%);
  pointer-events: none;
}
@media (prefers-color-scheme: light) {
  .hero-glow { background: radial-gradient(closest-side, rgba(91, 91, 214, 0.18), rgba(91, 91, 214, 0.05) 45%, transparent 70%); }
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-call {
  display: flex; align-items: center; gap: 0.18em;
  font-size: clamp(84px, 26vw, 280px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-left: -0.04em;
}
.hero-word { display: inline-block; }
.wave { display: inline-flex; align-items: center; gap: 0.035em; height: 0.42em; }
.wave i {
  display: block; width: 0.045em; min-width: 3px; height: 100%; border-radius: 99px;
  background: var(--accent);
  transform: scaleY(0.25);
  transform-origin: center;
}
.js .wave.on i { animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -0.3s !important; }
.wave i:nth-child(3n) { animation-delay: -0.6s !important; }
.wave i:nth-child(4n+1) { animation-delay: -0.9s !important; }
.wave i:nth-child(5n) { animation-duration: 0.9s !important; }
@keyframes wave { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }

.hero-title {
  margin-top: 28px;
  font-size: clamp(30px, 6.4vw, 56px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero-sub { margin-top: 18px; font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); max-width: 32em; }
.hero-visual { display: flex; justify-content: center; }
.phone-hero { width: min(72vw, 330px); }

/* 첫 화면 등장(한 번) — 네 박자, 1.2초 안에 끝난다: 부름말 → 제목 → 설명·배지 → 폰.
   스크롤 연동은 transform, 등장은 translate 속성을 써서 서로 지우지 않는다. */
.js:not(.rm) .hero-call, .js:not(.rm) .hero-title, .js:not(.rm) .hero-sub, .js:not(.rm) .hero .stores { animation: rise .8s var(--ease-expo) both; }
.js:not(.rm) .hero-title { animation-delay: .08s; }
.js:not(.rm) .hero-sub, .js:not(.rm) .hero .stores { animation-delay: .16s; }
.js:not(.rm) .hero-visual { animation: rise-big 1s var(--ease-expo) .16s both; }
.js:not(.rm) .hero-copy, .js:not(.rm) .phone-hero { will-change: transform, opacity; }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise-big { from { opacity: 0; translate: 0 64px; } to { opacity: 1; translate: 0 0; } }

@media (min-width: 960px) {
  .hero { min-height: 100svh; display: flex; align-items: center; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 24px; }
  .hero-call { font-size: clamp(140px, 17vw, 260px); }
  .phone-hero { width: min(30vw, 360px); }
}

/* ---------- 2. Statement — 시그니처: 어절 차오름(home.js 가 어절마다 불투명도 0.4 → 1) ---------- */
.statement { padding: 14vh 0 16vh; }
.statement-text {
  font-size: clamp(30px, 6.6vw, 68px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 18em;
}
.statement-text .w.br { color: var(--accent); }
.js:not(.rm) .statement-text .w { opacity: .4; }

/* ---------- 3. 하루 (스티키 스토리) ---------- */
.day { padding: 4vh 0 10vh; }
.day-title { margin-bottom: 40px; }
.day-grid { position: relative; }
.day-stage { display: none; }
.day-steps { display: grid; gap: 56px; }
.day-card h3 { font-size: clamp(26px, 5.6vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; }
.day-card p:not(.day-when) { margin-top: 12px; color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); max-width: 30em; }
.day-when { font-size: 15px; font-weight: 700; color: var(--accent); }
.day-inline {
  margin-top: 24px; width: min(62vw, 280px); height: auto;
  border-radius: 28px; box-shadow: 0 0 0 1.5px var(--line);
}

/* JS + 움직임 허용: 폰이 붙어 있고 화면이 바뀐다 */
.js:not(.rm) .day-inline { display: none; }
.js:not(.rm) .day-grid { display: grid; }
.js:not(.rm) .day-stage,
.js:not(.rm) .day-steps { grid-area: 1 / 1; }
.js:not(.rm) .day-stage {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: sticky; top: calc(var(--header-h) + 12px);
  align-self: start;
  z-index: 0;
}
.phone-stage { height: min(58svh, 560px); width: auto; transform-origin: 50% 40%; }
.js:not(.rm) .phone-stage { will-change: transform, opacity; }
/* 화면 넘김 — 다음 화면은 아래에서, 지난 화면은 위로 빠진다(스크롤 방향을 따른다). 이동은 폰 테두리 안에서 끝난다 */
.phone-stage .screen {
  position: absolute; inset: 2.4%; width: 95.2%; height: 95.2%;
  opacity: 0; transform: translate3d(0, 2.5%, 0) scale(.965);
  transition: opacity .5s ease, transform .7s var(--ease-expo);
}
.phone-stage .screen.past { transform: translate3d(0, -2.5%, 0) scale(.965); }
.phone-stage .screen.is-on { opacity: 1; transform: none; }
.day-dots { display: flex; gap: 8px; }
.day-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--bg-3); transform-origin: 50% 50%; transition: transform .45s var(--ease-out), background .3s ease; }
.day-dots i.is-on { transform: scaleX(2.6); background: var(--accent); }
.day-dots { gap: 14px; }

.js:not(.rm) .day-steps { position: relative; z-index: 1; gap: 0; padding-top: min(52svh, 520px); }
.js:not(.rm) .day-step { min-height: 78svh; display: flex; align-items: flex-end; padding-bottom: 6svh; }
.js:not(.rm) .day-card {
  width: 100%; max-width: 560px; margin-inline: auto;
  padding: 22px 22px 24px; border-radius: 24px;
  background: var(--card);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(0, 0, 0, .45);
}

@media (min-width: 960px) {
  .day-title { margin-bottom: 0; }
  .js:not(.rm) .day-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .js:not(.rm) .day-stage { grid-area: 1 / 2; top: calc(50svh - min(39svh, 360px) + var(--header-h) / 2); }
  .js:not(.rm) .day-steps { grid-area: 1 / 1; padding-top: 0; }
  .phone-stage { height: min(74svh, 700px); }
  .js:not(.rm) .day-step { min-height: 90svh; align-items: center; padding-bottom: 0; }
  .js:not(.rm) .day-card {
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0; margin: 0; opacity: .4; transition: opacity .45s ease, transform .6s var(--ease-out);
    transform: translateY(12px);
  }
  .js:not(.rm) .day-step.is-on .day-card { opacity: 1; transform: none; }
}

/* ---------- 4. 숫자 (보라 면) ---------- */
.numbers { background: var(--field); color: var(--field-ink); padding: 96px 0 104px; }
.numbers-title { color: #fff; }
.num-list { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 20px; }
.num { font-size: clamp(64px, 17vw, 128px); line-height: 1; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.num small { font-size: 0.26em; font-weight: 700; letter-spacing: -0.01em; margin-left: 0.12em; }
.num-label { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .82); max-width: 14em; }
@media (min-width: 960px) { .num-list { grid-template-columns: repeat(4, 1fr); } .numbers { padding: 140px 0; } }

/* ---------- 5. 그 밖의 기능 ---------- */
.more { padding: 120px 0 100px; }
.more-grid { display: grid; gap: 48px; }
.more-head .lead { margin-top: 20px; }
.more-list { display: grid; gap: 36px; }
.more-list h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.more-list p { margin-top: 6px; color: var(--ink-2); }
.tag {
  font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--accent);
  padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent);
}
@media (min-width: 700px) { .more-list { grid-template-columns: 1fr 1fr; gap: 44px 40px; } }
@media (min-width: 1100px) {
  .more-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .more-head { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* ---------- 6. 영상 ---------- */
.demo { padding: 100px 0; background: var(--bg-2); }
.demo-grid { display: grid; gap: 44px; align-items: center; }
.demo-copy .lead { margin-top: 20px; }
.demo-transcript { margin-top: 24px; color: var(--ink-2); font-size: 15px; }
.demo-transcript summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.demo-transcript p { margin-top: 10px; }
.demo-media { margin: 0; justify-self: center; width: min(76vw, 340px); }
.demo-frame { border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); aspect-ratio: 9 / 16; }
.demo-frame video { width: 100%; height: 100%; object-fit: cover; }
.demo-caption { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: center; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } .demo { padding: 140px 0; } }
/* 장면 2 — 영상 오프닝. 넓고 충분히 높은 화면에서만 home.js 가 .is-held 를 붙인다:
   구역을 --hold 만큼 붙잡고(아래 여백이 붙잡는 길이), 그동안 영상 창이 0.84 → 1 로 열린다. 내레이션 전문을 펼치면 놓는다 */
.demo-frame { transform-origin: 50% 45%; }
.js:not(.rm) .demo-frame { will-change: transform, opacity; }
.js:not(.rm) .demo.is-held .demo-grid { position: sticky; top: var(--pin-top, 80px); }
/* 붙잡는 길이는 뒤따르는 빈 칸으로 준다(sticky 요소 자신의 margin 은 붙잡는 길이가 되지 않는다) */
.js:not(.rm) .demo.is-held::after { content: ""; display: block; height: var(--hold, 55vh); }

/* ---------- 7. 4.1.0 새 기능 ---------- */
.next { padding: 120px 0; overflow: clip; }
.next-head .lead { margin-top: 20px; }
.next-rail {
  margin-top: 48px;
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px max(var(--pad), calc((100vw - var(--wrap)) / 2)) 16px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin;
}
.next-card {
  position: relative;
  flex: 0 0 min(82vw, 360px);
  scroll-snap-align: start;
  background: var(--bg-2);
  border-radius: 28px;
  padding: 24px 24px 28px;
}
.next-card h3 { margin-top: 22px; font-size: 24px; font-weight: 800; letter-spacing: -0.025em; }
.next-card > p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.soon {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  font-size: 12px; font-weight: 800; color: var(--accent);
  padding: 4px 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.next-art {
  height: 190px; border-radius: 20px; background: var(--bg-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  position: relative; overflow: hidden; padding: 16px;
}
@media (min-width: 1100px) {
  .next-rail { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; padding-inline: 0; max-width: var(--wrap); margin-inline: auto; gap: 20px; }
  .next-card { grid-column: span 2; }
  .next-card:nth-child(n+4) { grid-column: span 3; }
}

/* 연속 기록 링 */
.streak { width: 150px; height: 150px; transform: rotate(-90deg); }
.streak circle { fill: none; stroke-width: 14; }
.streak-track { stroke: color-mix(in srgb, var(--accent) 18%, transparent); }
.streak-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.next-card--streak.on .streak-fill, .rm .streak-fill, html:not(.js) .streak-fill { stroke-dashoffset: 0; }
.streak-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.streak-num small { font-size: 16px; margin-left: 2px; font-weight: 700; }

/* 친구 파티 */
.party { display: flex; gap: 10px; }
.party li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.party b {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px;
  background: var(--bg-2); color: var(--ink-2); box-shadow: 0 0 0 2px var(--line);
}
.party li.ok b { background: var(--accent-strong); color: #fff; box-shadow: none; }
.party li.ok b::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 0 2px var(--bg-3);
}
.party i { font-style: normal; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.js:not(.rm) .party li { opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js:not(.rm) .next-card--party.on .party li { opacity: 1; translate: 0 0; }
.next-card--party.on .party li:nth-child(2) { transition-delay: .08s; }
.next-card--party.on .party li:nth-child(3) { transition-delay: .16s; }
.next-card--party.on .party li:nth-child(4) { transition-delay: .24s; }
.next-card--party.on .party li:nth-child(5) { transition-delay: .32s; }

/* 대화 말풍선 */
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.bubble-me { align-self: flex-end; background: var(--accent-strong); color: #fff; border-bottom-right-radius: 6px; }
.bubble-app { align-self: flex-start; background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 6px; }
.next-art .bubble { width: fit-content; }
.next-card--voice .next-art { align-items: stretch; }
.js:not(.rm) .next-card--voice .bubble { opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js:not(.rm) .next-card--voice.on .bubble { opacity: 1; translate: 0 0; }
.next-card--voice.on .bubble-app { transition-delay: .7s; }

/* 약 챙기기 */
.pills { width: 100%; display: grid; gap: 8px; }
.pills li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--bg-2); }
.pills b { font-variant-numeric: tabular-nums; font-size: 15px; }
.pills span { color: var(--ink-2); font-size: 15px; flex: 1; }
.pills li::after { content: ""; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); }
.pills li.done::after {
  box-shadow: none;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* 커뮤니티 탭 — 세그먼트 */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--bg-2); }
.seg span { padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: background .5s var(--ease), color .5s var(--ease); }
.seg span.on { background: var(--accent-strong); color: #fff; }
.seg-note { font-size: 13px; color: var(--ink-2); word-break: keep-all; }
.js:not(.rm) .next-card--community .seg span.on { background: transparent; color: var(--ink-2); }
.js:not(.rm) .next-card--community.on .seg span.on { background: var(--accent-strong); color: #fff; transition-delay: .4s; }

/* ---------- 8. CTA ---------- */
.cta { padding: 120px 0 140px; text-align: center; overflow: clip; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-word {
  font-size: clamp(96px, 30vw, 300px); line-height: .9; font-weight: 800; letter-spacing: -0.06em;
  color: var(--accent);
}
.js:not(.rm) .cta-word { will-change: transform, opacity; }
.cta .h2 { margin-top: 18px; }
.cta .lead { margin-top: 14px; }
.fine { margin-top: 28px; font-size: 14px; color: var(--ink-3); max-width: 34em; }
.fine a { color: var(--ink-2); }

/* ---------- 구역별 등장(한 번, 처음 화면 밖에 있던 것만) ----------
   제목·설명은 24px 떠오름, 숫자·기능 목록은 칸마다 70ms 씩 늦게 16px. 지연은 home.js 가 넣는다 */
.js:not(.rm) .rv { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease-expo), translate .8s var(--ease-expo); }
.js:not(.rm) .rv.rv-item { translate: 0 16px; transition-duration: .7s; }
.js:not(.rm) .rv.in { opacity: 1; translate: 0 0; }
.rm .rv { opacity: 1 !important; translate: none !important; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--bg-2); color: var(--ink-2); font-size: 14px; padding: 56px 0 32px; }
.footer-inner { display: grid; gap: 36px; }
.footer-brand .brand { color: var(--ink); }
.footer-tagline { margin-top: 6px; }
.footer-cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-col--biz { grid-column: 1 / -1; }
.footer-heading { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.nb { white-space: nowrap; }
.footer-bottom { margin-top: 36px; padding-top: 20px; box-shadow: 0 -1px 0 var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-2); }
@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 2fr; }
  .footer-cols { grid-template-columns: 1fr 1fr 1.4fr; }
  .footer-col--biz { grid-column: auto; }
}

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
