/* SU-Guide 소개 사이트 — 한 파일로 랜딩·문서 페이지 공용
   색과 폰 테두리는 스토어 이미지(store-assets/2026-refresh)와 같은 값을 쓴다: 밝은 라벤더 배경, 남색 글씨, 얇은 다크 베젤. */
:root {
  color-scheme: light;
  --canvas: #f6f8fe;
  --surface: #ffffff;
  --ink: #0f1d4f;
  --sub: #4a5578;
  --line: rgba(15, 29, 79, .1);
  --accent: #4f46e5;
  --glow: rgba(214, 205, 252, .75);
  --night: #16194d;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --gut: 24px;
  --fold: 100vh; /* 첫 화면 높이: 하늘 색이 바뀌는 자리의 기준 */
}
@supports (height: 100svh) { :root { --fold: 100svh; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
/* 랜딩은 새벽에서 시작해 밤으로 끝난다. 화면 위아래 바깥(상태바·당김 영역)도 같은 남색으로 이어진다 */
body.landing { background: var(--night); }
.is-day body.landing { background: var(--canvas); }
.landing main { background: var(--canvas); overflow-x: hidden; overflow-x: clip; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── 상단 바 ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1240px; margin: 0 auto; padding: 14px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.topnav { display: flex; align-items: center; gap: 2px; }
.topnav a { color: inherit; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 10px; white-space: nowrap; opacity: .82; }
.topnav a:hover, .topnav a[aria-current="page"] { opacity: 1; text-decoration: underline; }
@media (max-width: 479px) { .topnav__wide { display: none; } }

/* 랜딩의 상단 바: 첫 화면 위에서는 투명, 지나가면 반투명 바로 따라온다. 아래 선은 페이지를 읽은 만큼 셔틀이 달리는 노선 */
.topbar--over {
  position: fixed; inset: 0 0 auto; z-index: 10; max-width: none; padding: 10px max(var(--gut), calc(50vw - 560px)); color: #fff;
  transition: background-color .3s, color .3s, padding-bottom .3s;
}
.topbar--over.is-stuck { background: rgba(22, 25, 77, .7); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.topbar--over.is-light { padding-bottom: 22px; color: var(--ink); background: rgba(246, 248, 254, .84); box-shadow: 0 1px 0 var(--line); }
.topnav .topnav__get { margin-left: 6px; padding: 6px 16px; border-radius: 999px; background: #fff; color: var(--night); font-weight: 700; opacity: 1; text-decoration: none; }
.is-light .topnav__get { background: var(--ink); color: #fff; }
.route { position: absolute; left: max(var(--gut), calc(50vw - 560px)); right: max(var(--gut), calc(50vw - 560px)); bottom: 9px; height: 2px; border-radius: 1px; background: var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; }
.is-light .route { opacity: 1; }
.route::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 1px; background: var(--accent); }
.route__bus {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); translate: -50% -50%;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff;
}
[id] { scroll-margin-top: 76px; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .15s;
}
.btn:active { transform: scale(.97); }
.btn--sky { background: #fff; color: var(--night); }
.btn--sky-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
.btn--ink { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 폰: 스토어 이미지와 같은 얇은 다크 베젤. 화면은 상태바를 잘라낸 실제 캡처 ── */
.phone {
  position: relative; flex: none; width: var(--w); margin: 0; padding: calc(var(--w) * .022); border-radius: calc(var(--w) * .135); background: #1b1f2c;
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--w) * .004)) #3b4152, 0 calc(var(--w) * .06) calc(var(--w) * .16) rgba(15, 29, 79, .2), 0 calc(var(--w) * .012) calc(var(--w) * .035) rgba(15, 29, 79, .1);
}
.screen {
  position: relative; overflow: hidden; isolation: isolate; transform: translateZ(0);
  aspect-ratio: 900 / 1837; border-radius: calc(var(--w) * .113); background: #fff;
}
.screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* 폰 안에서 실제 화면이 넘어간다. 폰이 화면에 들어오면 처음부터 바로 돌고(.is-live), 완전히 나가면 처음으로 돌아간다. 누르면 멈춘다(.is-paused) */
.seq img { animation: 6s cubic-bezier(.32, .72, 0, 1) infinite paused; }
.is-live:not(.is-paused) .seq img { animation-play-state: running; }
/* 밀려나는 전환: 다음 화면이 오른쪽에서 들어오고 지금 화면은 살짝 물러난다 */
.seq--push img:nth-child(2) { translate: 101% 0; box-shadow: -14px 0 34px rgba(15, 29, 79, .16); }
/* 같은 지도 위에서 화면이 바뀐다 */
.seq--fade img:nth-child(2) { opacity: 0; }
/* 한 화면을 아래로 내려 본다: 탭바는 제자리, 내용만 움직인다 */
.seq--scroll .seq__long { bottom: auto; height: auto; animation-duration: 8s; }
.seq--scroll .seq__bar { top: auto; height: 9.951%; object-position: bottom; animation: none; }
/* 움직임은 '동작 줄이기'가 꺼져 있을 때만 건다 */
@media (prefers-reduced-motion: no-preference) {
  .is-live .seq--push img:nth-child(1) { animation-name: push-a; }
  .is-live .seq--push img:nth-child(2) { animation-name: push-b; }
  .is-live .seq--fade img:nth-child(2) { animation-name: fade-b; }
  .is-live .seq--scroll .seq__long { animation-name: scroll-long; }
}
/* 한 바퀴 6초: 0.3초 뒤에 넘어가기 시작해 0.5초 만에 끝난다. 다음 화면에서 2.8초, 돌아와서 2.2초 */
@keyframes push-a { 0%, 5% { translate: 0 0; filter: none; } 13.5%, 60% { translate: -26% 0; filter: brightness(.9); } 68.5%, 100% { translate: 0 0; filter: none; } }
@keyframes push-b { 0%, 5% { translate: 101% 0; } 13.5%, 60% { translate: 0 0; } 68.5%, 100% { translate: 101% 0; } }
@keyframes fade-b { 0%, 5% { opacity: 0; } 12.5%, 60% { opacity: 1; } 67.5%, 100% { opacity: 0; } }
/* 한 바퀴 8초: 0.3초 뒤에 손가락으로 튕기듯 두 번 내려가고(멈출 자리는 사진마다 --s1, --s2), 맨 위로 돌아온다 */
@keyframes scroll-long {
  0% { translate: 0 0; }
  3.75% { translate: 0 0; animation-timing-function: cubic-bezier(.2, .75, .25, 1); }
  14.4% { translate: 0 var(--s1); }
  31.9% { translate: 0 var(--s1); animation-timing-function: cubic-bezier(.2, .75, .25, 1); }
  43.1%, 68.1% { translate: 0 var(--s2); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  78.1%, 100% { translate: 0 0; }
}

/* ── 첫 화면: 새벽 하늘. 아래로 내려가면 해가 뜨면서 밝은 본문으로 이어진다(스크롤을 붙잡지 않는다) ── */
.hero {
  --sun-a: 54vw; --sun-m: 22vw; --sun-y: 58vw; --sun-w: 120vw; --sun-h: 82vw;
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 0 0 clamp(40px, 9vw, 72px);
  background:
    radial-gradient(var(--sun-w) var(--sun-h) at 50% calc(100% - var(--sun-y)), rgba(255, 244, 232, .96) 0%, rgba(255, 224, 216, .5) 38%, rgba(255, 214, 222, 0) 72%),
    linear-gradient(180deg, #16194d 0, #3c2f74 calc(var(--fold) * .5), #9a4f78 calc(var(--fold) * .96), #e6a7b6 calc(100% - var(--sun-a)), #f8e4e7 calc(100% - var(--sun-m)), var(--canvas) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--fold) * .72); z-index: -1; pointer-events: none; animation: twinkle 4s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
  background-image:
    radial-gradient(1.5px 1.5px at 7% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 15% 41%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 23% 8%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 31% 30%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 38% 16%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 44% 52%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 52% 6%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 58% 36%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 64% 20%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 71% 58%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 76% 10%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 83% 40%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 90% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 95% 50%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 4% 66%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 19% 78%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 61% 74%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 87% 70%, #fff 50%, transparent 52%);
}
@keyframes twinkle { to { opacity: .5; } }
.hero__copy { padding: clamp(104px, calc(var(--fold) * .17), 150px) var(--gut) 0; text-align: center; }
.hero__title { margin: 0; font-size: clamp(50px, 15.2vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -0.055em; }
.hero__title span { display: block; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero__title span + span { animation-delay: .06s; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
.hero__lede { margin: 18px auto 26px; max-width: 17em; font-size: 18px; line-height: 1.5; font-weight: 500; opacity: .92; text-wrap: balance; animation: rise .7s .12s cubic-bezier(.2, .8, .2, 1) both; }
.hero .btn-row { justify-content: center; animation: rise .7s .18s cubic-bezier(.2, .8, .2, 1) both; }
.hero__note { display: none; margin: 16px 0 0; font-size: 14px; opacity: .8; }

/* 폰 세 대: 가운데 홈, 뒤 양옆으로 시간표와 셔틀이 펼쳐진다 (스토어 대표 이미지와 같은 배치 비율) */
.trio { --tw: min(100vw, 460px); position: relative; width: var(--tw); height: calc(var(--tw) * 1.4); margin: clamp(40px, 11vw, 56px) auto 0; }
.trio .phone { position: absolute; top: 0; left: calc(var(--tw) * .1775); --w: calc(var(--tw) * .645); animation: rise .8s .22s cubic-bezier(.2, .8, .2, 1) both; }
.trio .phone--back { top: calc(var(--tw) * .11); --w: calc(var(--tw) * .526); box-shadow: 0 calc(var(--w) * .05) calc(var(--w) * .13) rgba(15, 29, 79, .16); }
.trio .trio__l { left: calc(var(--tw) * -.1697); rotate: -4deg; animation: spread-l .9s .4s cubic-bezier(.2, .8, .2, 1) both; }
.trio .trio__r { left: calc(var(--tw) * .6437); rotate: 4deg; animation: spread-r .9s .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes spread-l { from { opacity: 0; translate: 42% 6%; rotate: 0deg; } }
@keyframes spread-r { from { opacity: 0; translate: -42% 6%; rotate: 0deg; } }
@media (max-width: 479px) {
  .hero .btn-row { gap: 8px; }
  .hero .btn { padding: 0 20px; }
  .hero .btn__more { display: none; }
}
@media (min-width: 900px) {
  .hero { --sun-a: 150px; --sun-m: 64px; --sun-y: 30px; --sun-w: 64vw; --sun-h: 320px; padding-bottom: 170px; }
  .hero__inner { max-width: 1168px; min-height: var(--fold); margin: 0 auto; padding: 72px var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .hero__copy { padding: 0; text-align: left; }
  .hero__title { font-size: clamp(64px, 6.4vw, 100px); }
  .hero__lede { margin: 26px 0 32px; max-width: none; font-size: 22px; }
  .hero .btn-row { justify-content: flex-start; }
  .hero__note { display: block; }
  .trio { --tw: min(38vw, 460px, calc((var(--fold) - 150px) / 1.4)); margin: 0 3vw 0 calc(var(--tw) * .2); }
}

/* ── 본문 공통 ── */
.section { max-width: 1168px; margin: 0 auto; padding: clamp(104px, 14vw, 160px) var(--gut) 0; }
.section__title { margin: 0; font-size: clamp(34px, 9.4vw, 60px); line-height: 1.14; font-weight: 800; letter-spacing: -0.045em; }
.section__intro { margin: 18px 0 0; color: var(--sub); max-width: 30em; font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ── 기능 소개: 작은 기능 이름 → 큰 편익 → 한두 줄 설명 → 통째로 보이는 폰 ── */
.feat { position: relative; max-width: 1168px; margin: 0 auto; padding: clamp(104px, 15vw, 176px) var(--gut) 0; }
.feat__name { margin: 0 0 10px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.01em; color: var(--accent); }
.feat__title { margin: 0; font-size: clamp(34px, 9.4vw, 60px); line-height: 1.14; font-weight: 800; letter-spacing: -0.045em; }
.feat__body { margin: 18px 0 0; max-width: 22em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; font-weight: 500; color: var(--sub); }
.feat__body b { color: var(--ink); font-weight: 700; }
.feat__visual { position: relative; z-index: 0; margin: 44px 0 0; display: grid; justify-items: center; gap: 22px; }
.feat__visual::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(150vw, 760px); aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), rgba(214, 205, 252, 0));
}
.feat__visual .phone { --w: min(74vw, 310px); }
.stats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.stats li { display: grid; }
.stats b { font-size: clamp(44px, 12vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stats span { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--sub); }
/* 사용 데이터로 붙이는 작은 표시 */
.feat__tag { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(79, 70, 229, .1); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; vertical-align: 2px; }
.feat__extra { margin-top: clamp(56px, 8vw, 88px); }
.feat__sub { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 800; letter-spacing: -0.035em; }
@media (min-width: 960px) {
  .feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .feat__visual { margin: 0; }
  .feat__visual .phone { --w: min(25vw, 330px); }
  .feat--flip .feat__copy { order: 2; }
  .feat--flip .feat__extra { order: 3; }
  .feat__extra { grid-column: 1 / -1; }
}
/* 폰은 화면에 들어올 때 한 번만 자리를 잡는다. 글은 움직이지 않는다 */
.settle { opacity: 0; translate: 0 24px; transition: opacity .5s cubic-bezier(.2, .8, .2, 1), translate .5s cubic-bezier(.2, .8, .2, 1); }
.settle.is-in { opacity: 1; translate: none; }

/* ── 작은 기능들: 상자 없이 줄로만 ── */
.minis { list-style: none; margin: 40px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.minis li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.minis b { font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; letter-spacing: -0.03em; }
.minis span { color: var(--sub); font-size: 16px; line-height: 1.55; font-weight: 500; }
@media (min-width: 820px) {
  .minis { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .minis li { border-top: 1px solid var(--line); border-bottom: 0; padding: 24px 0; }
}

/* ── 부채꼴로 펼친 실제 화면(스토어 헤더 이미지와 같은 구성): 화면에 들어오면 한 번 펼쳐진다 ── */
.fan-band { --spread: .15; overflow: hidden; background: radial-gradient(120% 70% at 50% 100%, var(--glow), rgba(214, 205, 252, 0) 70%); }
.fan-band.is-in { --spread: 1; }
.fan-band__inner { text-align: center; }
.fan-band .section__intro { margin-inline: auto; }
.fan-band .btn { margin-top: 28px; }
.fan { --step: 13deg; list-style: none; margin: clamp(44px, 6vw, 72px) auto 0; padding: 0; position: relative; height: clamp(300px, 46vw, 620px); max-width: 1400px; }
.fan__item {
  --w: clamp(132px, 16.5vw, 236px);
  position: absolute; left: 50%; top: 9%; width: var(--w);
  transform-origin: 50% 230%;
  transform: translateX(-50%) rotate(calc(var(--i) * var(--step) * var(--spread))) translateY(calc((1 - var(--spread)) * 48px));
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.fan__label { display: block; text-align: center; font-size: clamp(13px, 1.4vw, 18px); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.03em; opacity: var(--spread); transition: opacity .5s .25s; }
@media (max-width: 759px) {
  .fan { --step: 5.6deg; }
  .fan__item--far { display: none; }
  .fan__label { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero__title span, .hero__lede, .hero .btn-row, .trio .phone, .block, .block--clash, .course.is-shake, .guest-card.is-new { animation: none; }
  .settle, .fan__item, .fan__label, .btn { transition: none; }
}

/* 시간표 데모 */
.demo { margin-top: 24px; display: grid; gap: 24px; }
@media (min-width: 900px) { .demo { grid-template-columns: minmax(280px, 380px) 1fr; gap: 40px; align-items: start; } }
.demo__courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.course {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "dot name act" "dot time act"; column-gap: 12px;
  align-items: center; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px;
  transition: border-color .2s, transform .15s;
}
.course:hover { border-color: var(--ink); }
.course:active { transform: scale(.98); }
.course__dot { grid-area: dot; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.course__name { grid-area: name; font-weight: 800; font-size: 17px; }
.course__time { grid-area: time; font-size: 13px; color: var(--sub); }
.course__act { grid-area: act; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--canvas); white-space: nowrap; }
.course[aria-pressed="true"] { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
.course[aria-pressed="true"] .course__act { background: var(--ink); color: #fff; }
.course.is-clash .course__act { background: #fde3e1; color: #b42318; }
.course.is-shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { translate: -5px 0; } 40%, 80% { translate: 5px 0; } }

.demo__board { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 18px; }
.demo__sum { margin: 0 0 12px; font-weight: 800; font-size: 15px; }
.demo__days { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: 34px; font-size: 13px; font-weight: 700; color: var(--sub); text-align: center; padding-bottom: 6px; }
.demo__body {
  position: relative; margin-left: 34px; height: clamp(340px, 42vw, 480px); border-radius: 12px;
  background:
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px calc(100% / 8)),
    linear-gradient(90deg, transparent calc(20% - .5px), var(--line) 0 calc(20% + .5px), transparent 0 calc(40% - .5px), var(--line) 0 calc(40% + .5px), transparent 0 calc(60% - .5px), var(--line) 0 calc(60% + .5px), transparent 0 calc(80% - .5px), var(--line) 0 calc(80% + .5px), transparent 0);
}
.demo__hour { position: absolute; left: -34px; width: 28px; text-align: right; font-size: 11px; color: var(--sub); translate: 0 -50%; }
.block {
  position: absolute; border-radius: 8px; padding: 5px 6px; overflow: hidden;
  background: var(--c); color: #1b2140; font-size: clamp(10px, 1vw, 12px); font-weight: 800; line-height: 1.25;
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.3) both;
}
.block--ghost { background: transparent; border: 2px dashed var(--c); color: var(--ink); animation: none; opacity: .9; }
.block--clash { background: rgba(240, 68, 56, .16); border: 2px solid #f04438; color: #b42318; animation: shake .4s; }
@keyframes pop { from { opacity: 0; scale: .85; } }
.demo__msg { margin: 12px 0 0; min-height: 1.5em; font-size: 15px; font-weight: 700; }
.demo__msg.is-bad { color: #d92d20; }
.demo__note { margin: 16px 0 0; color: var(--sub); font-size: 14px; }
/* 모바일: 시간표를 위에, 과목은 그 아래 한 줄로 넘기는 칩. 누르면 바로 위 시간표가 바뀌는 게 한 화면에 보인다 */
@media (max-width: 899px) {
  .demo { gap: 14px; }
  .demo__board { order: -1; padding: 14px 14px 12px; }
  .demo__body { height: 264px; }
  .demo__msg { margin-top: 10px; font-size: 14px; }
  .demo__courses { display: flex; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; scrollbar-width: none; }
  .demo__courses::-webkit-scrollbar { display: none; }
  .demo__courses li { flex: none; scroll-snap-align: start; }
  .course { width: 172px; grid-template-columns: auto 1fr; grid-template-areas: "dot name" "time time" "act act"; row-gap: 3px; padding: 12px 14px; }
  .course__name { font-size: 15px; white-space: nowrap; }
  .course__time { font-size: 12px; white-space: nowrap; }
  .course__act { justify-self: start; margin-top: 7px; }
}

/* 받기 */
.stores { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 960px) { .stores { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.store { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.store .btn { align-self: flex-start; margin-top: 8px; }
.store--beta { border: 2px solid var(--accent); }
.store__os { margin: 0; font-size: 14px; font-weight: 800; color: var(--accent); }
.store__name { margin: 0; font-size: 30px; letter-spacing: -0.035em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store__badge { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: 0; }
.store__desc { margin: 0; color: var(--sub); }
.beta-count { margin: 4px 0 0; font-weight: 800; }
.beta-form { display: grid; gap: 12px; margin-top: 6px; }
.beta-form__field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.beta-form input[type="email"] { font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.beta-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.beta-form__terms { margin: 0; padding: 12px 14px 12px 30px; border-radius: 14px; background: var(--canvas); color: var(--sub); font-size: 13px; line-height: 1.6; }
.beta-form__consent { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.beta-form__consent input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.beta-form__status { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 700; }
.beta-form__status.is-bad { color: #d92d20; }
.beta-form .btn { border: 0; cursor: pointer; font-family: inherit; margin-top: 0; }
.beta-form .btn:disabled { opacity: .55; cursor: default; }

/* 자주 묻는 질문 */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -0.025em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; translate: 0 -70%;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; rotate: 45deg; transition: rotate .2s, translate .2s;
}
.faq__item[open] summary::after { rotate: 225deg; translate: 0 -30%; }
.faq__item p { margin: 0 0 24px; max-width: 46em; color: var(--sub); }

/* 방명록 */
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.round-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.guest-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) { .guest-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .guest-list { grid-template-columns: repeat(3, 1fr); } }
.guest-card {
  display: flex; flex-direction: column; min-height: 260px; padding: 34px 30px 28px;
  border-radius: 30px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(10, 20, 60, .35);
}
.guest-card h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.35; letter-spacing: -0.03em; }
.guest-card p { margin: 0; color: var(--sub); white-space: pre-line; }
.guest-card footer { margin-top: auto; padding-top: 24px; color: var(--sub); font-size: 14px; opacity: .85; }
.guest-card.is-new { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.guest-empty { margin: 36px 0 0; padding: 40px 24px; border-radius: 30px; text-align: center; color: var(--sub); background: var(--surface); }

.guest-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5);
}
.guest-dialog::backdrop { background: rgba(6, 10, 34, .55); backdrop-filter: blur(4px); }
.guest-form { display: grid; gap: 16px; padding: 26px 24px 24px; }
.guest-form__head { display: flex; align-items: center; justify-content: space-between; }
.guest-form h3 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.guest-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.guest-form label span { color: var(--sub); font-weight: 500; }
.guest-form input, .guest-form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--canvas);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; resize: vertical;
}
.guest-form input:focus, .guest-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.guest-form__pair { display: grid; gap: 16px; }
@media (min-width: 520px) { .guest-form__pair { grid-template-columns: 1fr 1fr; } }
.guest-form__trap { position: absolute; left: -9999px; }
.guest-form__note { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.6; }
.guest-form__status { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 700; color: #c2410c; }
.guest-form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.guest-form .btn:disabled { opacity: .55; cursor: default; }

/* 밤 밴드: 만든 사람 + 마무리 */
.night {
  margin-top: 140px; color: #eef1ff;
  background:
    radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 46% 26%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 80% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 92% 6%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 6% 60%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 88% 58%, #fff 50%, transparent 52%),
    linear-gradient(180deg, #121540 0%, #070a24 100%);
}
.night__inner { padding-bottom: 120px; }
.night a:not(.btn) { color: #b9cbff; }
.maker { display: grid; gap: 28px; align-items: center; margin-top: 48px; }
@media (min-width: 820px) { .maker { grid-template-columns: auto 1fr; gap: 56px; } }
.maker__avatar {
  width: clamp(132px, 24vw, 220px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-size: clamp(60px, 10vw, 100px); font-weight: 800; color: #fff; letter-spacing: -0.04em;
  background: linear-gradient(165deg, #8db8ff 0%, #5a63b8 48%, #e7735b 100%);
  box-shadow: 0 0 90px 10px rgba(141, 184, 255, .25);
}
.maker__role { margin: 0; font-size: 15px; font-weight: 700; color: #b9cbff; }
.maker__role span { color: #9aa6c8; font-weight: 500; }
.maker__name { margin: 6px 0 2px; font-size: clamp(52px, 9vw, 96px); line-height: 1.05; font-weight: 800; letter-spacing: -0.05em; }
.maker__aff { margin: 0 0 18px; color: #9aa6c8; }
.maker p.maker__desc { margin: 0 0 8px; max-width: 32em; color: #d6dcf3; }
.maker__mail { font-weight: 700; }
.closing { text-align: center; margin-top: 140px; }
.closing .section__title { font-size: clamp(32px, 5.6vw, 58px); }
.closing .btn-row { justify-content: center; margin-top: 34px; }
.btn--moon { background: #eef1ff; color: var(--night); }
.btn--moon-line { color: #eef1ff; box-shadow: inset 0 0 0 1.5px #eef1ff; }
.disclaimer { margin: 44px auto 0; max-width: 40em; color: #9aa6c8; font-size: 15px; }

/* ── 문서 페이지(/privacy, /support, 404) ── */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 20px 72px; }
.doc h1 { margin: 0; font-size: clamp(32px, 7vw, 44px); line-height: 1.2; letter-spacing: -0.035em; }
.doc__meta { margin: 8px 0 0; color: var(--sub); font-size: 15px; }
.doc section { border-top: 1px solid var(--line); padding: 26px 0 0; margin-top: 26px; }
.doc h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.02em; }
.doc h3 { margin: 18px 0 6px; font-size: 16px; }
.doc p { margin: 0 0 10px; }
.doc ul, .doc ol { margin: 0 0 10px; padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc :is(p, ul, ol):last-child { margin-bottom: 0; }
.doc .lead-box { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); color: var(--sub); font-size: 14px; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; padding: 28px 20px 44px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }
.site-footer nav a { color: var(--ink); font-weight: 600; }
.site-footer p { margin: 4px 0; }
/* 랜딩의 맨 아래는 밤하늘로 끝난다 */
.landing .site-footer { border-top-color: rgba(255, 255, 255, .1); color: #9aa6c8; background: linear-gradient(180deg, #070a24, var(--night)); }
.landing .site-footer nav a { color: #eef1ff; }
.landing .site-footer a { color: #b9cbff; }
