/* 2026-09-22, 2026-10-14 (MIME 재업로드용 수정) */
/* 2026-10-14: 제목용 서체. Newsreader (SIL OFL), 가변 폰트 opsz 6-72, latin만 */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(newsreader-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(newsreader-italic.woff2) format("woff2");
}

:root {
  /* 앱 DESIGN.md 토큰과 같은 값. night = 밤(UI 전반), dawn = 깨우는 것에만 */
  --bg:      #000000;   /* 2026-10-13: 앱 코드 바탕(#000000, 09-20 결정)과 맞춤. 보라 틴트 제거 */
  --bg-soft: #0E0E10;
  --ink:     #EDE6E2;
  --muted:   #8E8A9A;
  --night:   #B4B1BC;   /* 2026-10-23 A안 (본인 "보라 빼고 핑크는 기상만"): 보라 #8E85C0 → 회색. 밤 쪽 UI(링크·테두리·슬라이더)는 무채색, 색은 기상(dawn)과 차트·레인의 제품 색에만 */
  --dawn:    #DFA3A8;
  --dim:     #585468;
  --line:    #1C1C20;
  --serif:   "Newsreader", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;  /* 2026-10-14: 셀프호스팅 (루트, 배포가 파일 단위라 폴더 없음), 구글 서버 호출 없음 */
  --sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- hero ---------- */

.hero {
  padding: 22vh 0 16vh;
}

.mark {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 2.2rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 1.6rem;
  max-width: 17ch;
}

/* 2026-11-09: 이탤릭 뺌 (본인 규칙). 강조는 색으로만 */
.lede em {
  font-style: normal;
  color: var(--night);
}

.sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

/* ---------- sections ---------- */

section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 2rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }

.big {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  line-height: 1.45;
  max-width: 26ch;
}

.items { display: grid; gap: 3rem; }

.items p { color: var(--muted); max-width: 44ch; }

/* ---------- footer ---------- */

footer {
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

a { color: var(--night); text-decoration: none; }
a:hover { text-decoration: underline; }

.status {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ---------- long-form pages ---------- */

.doc { padding: 8rem 28px 6rem; }  /* 2026-10-14: 좌우 28px은 .wrap과 같은 값. 0이면 폰에서 글자가 화면 끝에 붙음 */

.doc h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.doc .date { color: var(--muted); font-size: 0.9rem; margin-bottom: 3.5rem; }

.doc h2 {
  font-size: 1.25rem;
  color: var(--ink);
  margin: 3rem 0 1rem;
}

.doc p, .doc li { color: rgba(237, 230, 226, 0.82); }

.doc ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.doc li { margin-bottom: 0.5rem; }

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin: 0 0 2rem;
}

.callout p { margin: 0; color: var(--ink); }

.back {
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

/* ---------- utilities ---------- */

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

.muted-p { color: var(--muted); max-width: 46ch; }
.muted-p strong { color: var(--ink); font-weight: 400; }

/* ---------- hero cta ---------- */

.cta-line { margin: 2.4rem 0 0; }

.cta {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
}

.cta:hover {
  text-decoration: none;
  background: var(--night);
  border-color: var(--night);
  color: var(--bg);
}

/* ---------- night chart ---------- */

.night {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.wrap.wide { max-width: 980px; }

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.plot { position: relative; }

.wake-label {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;  /* 2026-11-09: 양끝 Bedtime·Morning(.axis-ends)과 같은 줄에 */
  margin: 0;
  pointer-events: none;
}

.wake-label span {
  display: inline-block;
  background: var(--bg);
  padding: 0 0.6rem;
  font-size: 0.82rem;
  color: var(--dawn);
}

/* 2026-11-09: Bedtime·Morning을 SVG 글자에서 HTML로. 폰에서 viewBox 축소로 4px까지 작아졌음 */
.axis-ends {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  pointer-events: none;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.legend li { display: flex; align-items: center; gap: 0.5rem; }

.legend i {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  flex: none;
}

/* ---------- phases ---------- */

.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  list-style: none;
  margin: 3.2rem 0 0;
  padding: 0;
  counter-reset: none;
}

.phases li { border-top: 1px solid var(--line); padding-top: 1.1rem; }

.phases .when {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
.phases li.w .when { color: var(--dawn); }   /* 기상 시각만 핑크 */

.phases h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

.phases p:last-child {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.phases sup { font-size: 0.7em; }
.phases sup a { text-decoration: none; }

.notes {
  margin: 3.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.notes li { margin-bottom: 0.7rem; }
.notes em { font-style: italic; }

@media (max-width: 760px) {
  .phases { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- signup ---------- */

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
  max-width: 30rem;
}

.signup input {
  flex: 1 1 14rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.signup input::placeholder { color: var(--muted); }  /* 2026-11-09: dim은 2.6:1이라 대비 부족 */

.signup input:focus {
  outline: none;
  border-color: var(--night);
}

.signup button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.signup button:hover { background: var(--night); border-color: var(--night); }

.fineprint {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 40ch;
}

/* ---------- wake demo player ---------- */

.listen {
  --wake: 40%;
  margin: 3rem 0 0;
  max-width: 30rem;
}

.player {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--night);
  border-radius: 50%;
  background: transparent;
  color: var(--night);
  cursor: pointer;
}

.play:hover { background: var(--night); color: var(--bg); }

.play svg { width: 14px; height: 14px; fill: currentColor; }

.play .i-pause,
.playing .play .i-play { display: none; }
.playing .play .i-pause { display: block; }

.scrub {
  position: relative;
  flex: 1;
  height: 44px;
  cursor: pointer;
  touch-action: none;
}

.scrub:focus-visible {
  outline: 1px solid var(--night);
  outline-offset: 4px;
  border-radius: 4px;
}

.track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.fill { width: 0; height: 100%; background: var(--night); }

.wake-line {
  position: absolute;
  left: var(--wake);
  top: 4px;
  width: 2px;
  height: 36px;
  margin-left: -1px;
  pointer-events: none;
}

.wake-tag {
  position: absolute;
  left: var(--wake);
  bottom: 100%;
  transform: translateX(-50%);
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
  color: var(--dawn);
  pointer-events: none;
}

.time {
  flex: none;
  min-width: 2.4em;
  text-align: right;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.listen-note {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- 2026-10-23 home redesign: nav, two-column hero, interactive demo console ---------- */

/* A안: 글로우 없음. 바탕은 검정 한 톤 */
.home { background: var(--bg); }

nav.top {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.3rem 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

nav.top .links { display: flex; gap: 1.6rem; font-size: 0.9rem; }
nav.top .links a { color: var(--muted); }
nav.top .links a:hover { color: var(--ink); text-decoration: none; }

.pill {
  margin-left: auto;
  border: 1px solid var(--night);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--night);
  white-space: nowrap;
}
.pill:hover { background: var(--night); color: var(--bg); text-decoration: none; }

@media (max-width: 640px) {
  nav.top .links { display: none; }
}

.hero2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: center;
  padding: 7vh 0 5rem;
}

.hero2 .status { margin-bottom: 1.8rem; }

.hero2 .lede {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 13ch;
  margin-bottom: 1.4rem;
}

.hero2 .sub { font-size: 1.05rem; }

.hero2 .cta-line { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }

.cta.ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.cta.ghost:hover { background: transparent; border-color: var(--night); color: var(--night); }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; padding-top: 3rem; }
  .hero2 .lede { max-width: 16ch; }
}

/* ---------- demo console ---------- */

.console {
  --wake: 50%;
  padding: 1.5rem 1.5rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 14, 16, 0.82);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.con-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.3rem; }
.con-head h2 { margin: 0; color: var(--ink); font-size: 1.2rem; white-space: nowrap; flex: none; }
.con-head p { margin: 0; font-size: 0.84rem; color: var(--muted); }

/* 2026-10-23 (본인 "재생 바 게이지와 아래 게이지들이 같은 세로선상에"): 재생 바와 레인이 같은 3열 그리드를 쓴다.
   1열 = 재생 버튼 / 레인 이름, 2열 = 바, 3열 = 시각. 그래서 재생 헤드·기상선이 위아래로 한 줄이다 */
.console .player, .lanes {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) 2.6rem;
  column-gap: 1rem;
  align-items: center;
}
.console .player { margin-top: 1.6rem; }
.console .play { justify-self: start; }
.console .time { min-width: 0; }
.console .play { color: var(--ink); border-color: var(--night); }
.console .play:hover { color: var(--bg); }
.console.playing .play { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.console.busy .play { opacity: 0.45; cursor: progress; }
.console .time { color: var(--ink); }
.console.awake .time { color: var(--dawn); }

/* lanes: which sounds are in the room, over the thirty seconds */
.lanes {
  --t: 0%;
  margin: 0.9rem 0 1.4rem;
}
.lane-bars { grid-column: 2; position: relative; }

.lane {
  position: relative;
  height: 15px;
  display: flex;
  align-items: center;
}
.lane[hidden] { display: none; }

.lane span {
  position: absolute;
  left: -5.2rem;
  width: 4.2rem;
  text-align: right;
  font-size: 0.68rem;
  line-height: 1;
  color: var(--dim);
  white-space: nowrap;
}

.lane i {
  position: absolute;
  top: 5px;
  height: 5px;
  left: calc(var(--a) * 1%);
  width: calc((var(--b) - var(--a)) * 1%);
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--c) 32px);
  opacity: 0.95;
}
.lane[data-lane="noise"] i, .lane i.out { background: linear-gradient(90deg, transparent, var(--c) 32px, var(--c) 55%, transparent); }  /* fades out at wake time */

.lanes .head {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--t);
  width: 1px;
  background: var(--ink);
  opacity: 0.7;
}
.lanes .ahead {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  left: var(--t);
  background: rgba(14, 14, 16, 0.66);
}

/* controls */
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.grp {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.grp legend { padding: 0 0.4rem; font-size: 0.8rem; color: var(--muted); }
.grp.wake legend { color: var(--dawn); }

.range {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.range input {
  width: 100%;
  margin: 0;
  accent-color: var(--night);
  cursor: pointer;
}
.grp.wake .range input { accent-color: var(--dawn); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  font: inherit;
  font-size: 0.8rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  cursor: pointer;
}
.chip:hover { color: var(--ink); border-color: var(--dim); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--night); background: rgba(237, 230, 226, 0.08); }
.grp.wake .chip[aria-pressed="true"] { border-color: var(--dawn); background: rgba(223, 163, 168, 0.16); }
.chip.busy { opacity: 0.5; cursor: progress; }
.chip:focus-visible, .range input:focus-visible, .console .play:focus-visible {
  outline: 1px solid var(--night);
  outline-offset: 3px;
}

.con-note { margin: 1.1rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.console.fixed .lanes, .console.fixed .groups, .console.fixed .con-note:not(.fallback) { display: none; }

@media (max-width: 560px) {
  .console { padding: 1.2rem 1.1rem 1.1rem; }
  .con-head { flex-direction: column; gap: 0.2rem; }
  .groups { grid-template-columns: 1fr; }
}

/* ---------- two-column text sections ---------- */

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* ---------- 2026-10-23 layout v2: product page (본인 "문서 같다, 홈피가 아니다") ---------- */
/* 가운데 정렬 히어로 → 폰 목업 + 데모 콘솔 무대 → 차트 + 캡션 셋 → 카드 셋 → 가입 → 푸터. 긴 글 단은 없앴다 */

.hero3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6vh 0 3.2rem;
}
.hero3 .status { margin-bottom: 1.6rem; }
.hero3 .lede {
  font-size: clamp(2.6rem, 6.8vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 1.2rem;
  text-wrap: balance;
}
.hero3 .sub { font-size: 1.08rem; max-width: 44ch; text-wrap: balance; }
.hero3 .cta-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.8rem; }

/* stage: phone + console */
.stage {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 0 5rem;
}
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .stage .console { width: 100%; }
}

.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 640;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #26252c, #0c0c0f 40%, #18171c);
  box-shadow: 0 0 0 1px #2c2b32, 0 40px 100px rgba(0, 0, 0, 0.6);
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #000;
}
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.island {
  position: absolute;
  top: 11px; left: 50%;
  width: 92px; height: 26px;
  margin-left: -46px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}
.phone .ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 92px 22px 46px;
  text-align: center;
}
.phone .ui[hidden] { display: none; }
.phone .k { font-size: 0.74rem; color: var(--muted); margin: 0 0 6px; }
.phone .clock {
  font-weight: 200;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.phone .clock.dimmed { color: rgba(237, 230, 226, 0.55); }
.phone .clock small { font-size: 1.1rem; font-weight: 300; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.phone .clock + .k { margin-top: 10px; }
.phone .gm { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; margin: 0 0 4px; }
.phone .spacer { flex: 1; }
.phone .btn {
  font: inherit;
  background: transparent;
  border: 1px solid var(--night);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 34px;
  font-size: 0.9rem;
  cursor: pointer;
}
.phone .btn:hover { background: rgba(237, 230, 226, 0.08); }
.phone .btn:active { transform: translateY(1px); }
/* 2026-10-24 앱 기상 슬라이드 A안: 동그라미와 가로선만, 이름은 선 끝 아래 작은 대문자. 캡슐 폐기 */
.phone .slide {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 46px;
  --pl: 0; --pr: 0;
}
.phone .slide:focus-visible { outline: 1px solid var(--muted); outline-offset: 6px; border-radius: 4px; }
.phone .slide .track {
  position: absolute; left: 0; right: 0; top: 12px; height: 1.5px;
  background: linear-gradient(to right, rgba(180, 177, 188, 0.7), var(--dim), rgba(223, 163, 168, 0.7));
}
.phone .slide .fill { position: absolute; top: 11.5px; height: 2.5px; width: 0; left: 50%; }
.phone .slide .fill.to-r { background: linear-gradient(to right, rgba(223, 163, 168, 0), rgba(223, 163, 168, 0.35) 50%, var(--dawn)); }
.phone .slide .fill.to-l { background: linear-gradient(to left, rgba(180, 177, 188, 0), rgba(180, 177, 188, 0.35) 50%, var(--night)); }
.phone .slide .knob {
  position: absolute; top: 0; left: 50%;
  width: 26px; height: 26px; margin-left: -13px;   /* 손 닿는 칸. 보이는 점은 ::after 14px */
  cursor: grab; touch-action: none;
  animation: knob-sway 3.8s ease-in-out infinite;
}
.phone .slide .knob::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--dawn);
}
.phone .slide.held .knob { cursor: grabbing; animation: none; }
.phone .slide .lab {
  position: absolute; top: 30px;
  font-size: 0.56rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.phone .slide .lab.l { left: 0; color: var(--night); opacity: calc(0.8 + 0.2 * var(--pl) - 0.45 * var(--pr)); }
.phone .slide .lab.r { right: 0; color: var(--dawn); opacity: calc(0.8 + 0.2 * var(--pr) - 0.45 * var(--pl)); }
/* 앱과 같은 대기 흔들림: 2.2 s 한 번 좌우로, 1.6 s 쉼 (3 px = 앱 4pt를 목업 축척으로) */
@keyframes knob-sway {
  0%, 58%, 100% { translate: 0; }
  14.5% { translate: 3px; }
  43.5% { translate: -3px; }
}
@media (prefers-reduced-motion: reduce) { .phone .slide .knob { animation: none; } }
.phone .moon {
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: inset -3px -1px 0 0 var(--ink);
  transform: rotate(-20deg);
  margin: 0 0 18px;
}

/* bands */
.band { padding: 5.5rem 0; border-top: 1px solid var(--line); }
.sec-h {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  margin: 0 0 0.8rem;
  text-wrap: balance;
}
.sec-p {
  text-align: center;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 3rem;
  text-wrap: balance;
}

.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}
.caps li { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.caps .when { font-size: 0.84rem; color: var(--muted); margin: 0 0 0.6rem; }
.caps li.w .when { color: var(--dawn); }
.caps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.caps p:last-child { color: var(--muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; gap: 1.6rem; } }

.sources { margin-top: 2.6rem; color: var(--muted); font-size: 0.82rem; }
.sources summary { cursor: pointer; }
.sources .notes { margin-top: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.6rem 1.7rem;
}
.cards h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.cards p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.cards strong { color: var(--ink); font-weight: 400; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.launch { text-align: center; }
.launch .signup { justify-content: center; margin: 0 auto; }
.launch .fineprint { margin: 1rem auto 0; }

.foot {
  border-top: 1px solid var(--line);
  padding: 3rem 0 5rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.6rem; margin-bottom: 1.2rem; }
.foot p { margin: 0; }

/* ---------- 2026-10-23 console v2 (본인 "클로드 티 안 나게. 게이지 바·엑스트라 버튼") ----------
   Noisli·Brain.fm식 아이콘 타일, iOS식 세그먼트, 레인 자체가 재생 바. 카드 제목·설명문 없음 */
.console {
  padding: 1.3rem 1.3rem 1.1rem;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: none;
}
.lanes {
  grid-template-columns: 44px 3.6rem minmax(0, 1fr) 2.6rem;
  column-gap: 0.6rem;
  margin: 0.2rem 0 1.4rem;
}
.lanes .play { grid-column: 1; align-self: center; }
.lane-bars { grid-column: 3; height: auto; cursor: pointer; touch-action: none; }   /* 옛 .scrub의 height 44px를 지운다 */
.lane-bars:focus-visible { outline: 1px solid var(--night); outline-offset: 6px; border-radius: 4px; }
.lanes .time { grid-column: 4; align-self: center; }
.lane span { left: -4.2rem; width: 3.6rem; }
.lane-bars .wake-line {
  position: absolute;
  top: -4px; bottom: -4px;
  left: var(--wake);
  width: 0;
  height: auto;
  border-left: 1.5px dashed rgba(223, 163, 168, 0.55);
  margin-left: -1px;
  pointer-events: none;
}
.lane-bars .wake-tag {
  position: absolute;
  left: var(--wake);
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  font-size: 0.68rem;
  line-height: 1;
  color: var(--dawn);
  pointer-events: none;
}
.lane-bars { margin-top: 0.9rem; }   /* room for the wake tag */
.lane { height: 18px; }
.lane i { top: 6px; height: 6px; }
.console { padding: 1.6rem 1.5rem 1.3rem; }

/* rows: label / tone / extras */
.row {
  display: grid;
  grid-template-columns: 4.2rem auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.row-k { font-size: 0.82rem; color: var(--muted); }
.row.wake .row-k { color: var(--dawn); }

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(237, 230, 226, 0.06);
}
.seg button {
  font: inherit;
  font-size: 0.8rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0.38rem 0.8rem;
  cursor: pointer;
}
.seg button[aria-checked="true"] { background: rgba(237, 230, 226, 0.14); color: var(--ink); }
.seg button:focus-visible { outline: 1px solid var(--night); outline-offset: 2px; }

.chips { gap: 0.5rem; justify-content: flex-end; }
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 4.2rem;
  padding: 0.55rem 0.2rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1;
}
.chip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover { color: var(--ink); border-color: var(--dim); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: rgba(237, 230, 226, 0.06); }
.grp.wake .chip[aria-pressed="true"], .row.wake .chip[aria-pressed="true"] { border-color: var(--dawn); color: var(--ink); background: rgba(223, 163, 168, 0.1); }

.con-note { margin: 0.9rem 0 0; }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: 0.7rem; }
  .chips { justify-content: flex-start; }
}
