/* 한동안 소개 페이지 — 뒤에는 늘 창밖 풍경이 있고, 글은 그 위의 유리에 쓴다.
   유리는 앱과 같다: 연기 같은 어두운 판(검정 32%) · 흰 글씨 · 강조는 흰 알약 하나. */
:root {
  --ink: #0b1020;
  --white: #ffffff;
  --white-2: rgba(255,255,255,.82);
  --white-3: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.22);
  --smoke: rgba(0,0,0,.32);
  --smoke-2: rgba(0,0,0,.46);
  --glow: #ffd49a;
  --serif: 'Noto Serif KR', 'AppleMyungjo', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #0e1b3a; color: var(--white);
  font: 17px/1.75 var(--sans); letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--white); }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* 창밖 풍경 — 페이지 내내 뒤에 머문다 */
.scene { position: fixed; inset: 0; z-index: -1; background: #0e1b3a; }
.scene canvas { width: 100%; height: 100%; display: block; }

/* 유리 */
.glass {
  background: var(--smoke);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.12), 0 24px 60px -24px rgba(0,0,0,.45);
}

/* 메뉴 막대 */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 24px;
  background: rgba(10,14,28,.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.bar__brand { font-family: var(--serif); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.bar__nav { display: flex; gap: 22px; }
.bar__nav a { color: var(--white-2); text-decoration: none; }
.bar__nav a:hover { color: var(--white); }
.bar__today { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; color: var(--white); }
.bar__today i { width: 14px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.bar__today i::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: 1px; height: 3px; background: currentColor; border-radius: 1px; opacity: .7; }
@media (max-width: 860px) { .bar__nav { display: none; } }

/* 첫 화면 */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; position: relative; }
.hero::before { /* 글 뒤에만 아주 옅은 그늘 — 하늘을 덮지 않게 */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 18% 50%, rgba(8,16,40,.38), transparent 70%);
}
.hero .wrap { width: 100%; }
.hero__name { font-size: 14px; letter-spacing: .14em; color: var(--white-2); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1.2; font-weight: 700; text-shadow: 0 2px 30px rgba(10,20,50,.35); }
.hero__lede { margin-top: 28px; max-width: 30em; font-size: 18px; color: var(--white); text-shadow: 0 1px 18px rgba(10,20,50,.5); }
.cta { display: flex; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.cta__meta { color: var(--white-2); font-size: 14px; text-shadow: 0 1px 12px rgba(10,20,50,.5); }
.hero__hint { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; font-size: 13px; color: var(--white-2); letter-spacing: .04em; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; transform: translateY(4px); } }

/* 흰 알약 — 강조는 이것 하나 */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: #111; text-decoration: none; font: 600 16px/1 var(--sans);
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill svg { width: 18px; height: 18px; }
.pill small { color: #666; font-weight: 500; margin-left: 2px; }
.pill.is-soon { cursor: default; }
.pill--sm { padding: 9px 16px; font-size: 14px; }
.pill[aria-pressed="true"] { background: var(--glow); }
.pill:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* 마디 */
.sec { padding: 120px 0; }
.kicker { font-size: 13px; letter-spacing: .16em; color: var(--white-2); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.28; margin-bottom: 24px; }
h3 { font-size: 18px; margin-bottom: 6px; }
.prose { padding: 40px 44px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--white-2); }
.muted { color: var(--white-3) !important; font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); }
.ticks b { font-weight: 600; }
.ticks span { color: var(--white-3); font-size: 14px; }

.row3 { margin-top: 32px; padding: 30px 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.row3 p { color: var(--white-2); font-size: 15px; }
@media (max-width: 760px) { .row3 { grid-template-columns: 1fr; gap: 20px; } }

/* 맥 화면 모형 — 보는 창만 밝고, 그 뒤는 바탕화면째 어둡고 흐려진다 */
.desk { margin: 0; }
.desk__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #1b2440, #2c2a4e 55%, #3c2f4c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 30px 70px -30px rgba(0,0,0,.6);
}
.win {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  display: flex; flex-direction: column; padding: 0; border: 0; text-align: left; cursor: pointer;
  background: #f4f4f6; color: #333; border-radius: 10px; overflow: hidden; font: 11px/1 var(--sans);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6), 0 0 0 .5px rgba(0,0,0,.4);
  transition: filter .35s ease;
}
.desk__screen::before { /* 바탕화면 */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 20% 20%, #6aa8e8, transparent 70%), radial-gradient(60% 60% at 85% 80%, #f2a36a, transparent 70%), linear-gradient(160deg, #3b5fa8, #7a5a9a);
}
.desk__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: rgba(0,0,0,var(--dim));
  -webkit-backdrop-filter: blur(calc(var(--dim) * 14px)); backdrop-filter: blur(calc(var(--dim) * 14px));
  transition: background .35s ease;
}
.win { z-index: 1; }
.win.is-active { z-index: 3; }
.win__bar { display: flex; align-items: center; gap: 4px; padding: 7px 8px; background: #e6e6ea; color: #777; flex: none; }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.win__bar i:nth-child(2) { background: #febc2e; } .win__bar i:nth-child(3) { background: #28c840; margin-right: 6px; }
.win__body { flex: 1; margin: 10px; border-radius: 4px; }
.win__body--doc { background: repeating-linear-gradient(#fff 0 8px, #d8d8de 8px 10px, #fff 10px 16px); background-size: 100% 16px; mask: linear-gradient(90deg, #000 70%, transparent 95%); }
.win__body--web { background: linear-gradient(#cfd8e6, #cfd8e6) 0 0 / 100% 38% no-repeat, repeating-linear-gradient(#fff 0 8px, #dfe2e8 8px 10px) 0 44% / 60% 56% no-repeat, #fff; }
.win__body--music { background: linear-gradient(90deg, #ff9f6a 0 30%, transparent 30%), repeating-linear-gradient(#fff 0 6px, #e2e2e6 6px 8px); }
.win em { position: absolute; right: 6px; top: 5px; font-style: normal; font-size: 9px; background: #111; color: #fff; padding: 2px 6px; border-radius: 99px; z-index: 2; }
.pane { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 4; }
.pane__view { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 14px 34px -10px rgba(0,0,0,.6); }
.pane__pill { display: flex; justify-content: center; gap: 12px; width: max-content; margin: 8px auto 0; padding: 5px 14px; border-radius: 99px; font: 12px/1 var(--sans); background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.pane__pill i { font-style: normal; }
.desk figcaption { display: grid; gap: 10px; margin-top: 18px; padding: 18px 22px; border-radius: 20px; background: var(--smoke); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.desk figcaption p { color: var(--white-2); font-size: 14px; }

.slider { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--white-2); }
.slider span { flex: none; min-width: 5.2em; }
.slider input { flex: 1; min-width: 0; accent-color: #fff; }

/* 소리 */
.mixer { padding: 30px 32px; display: grid; gap: 20px; }
.mixer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mixer__head small { display: block; color: var(--white-3); font-size: 13px; }
.mixer__head b { font-family: var(--serif); font-size: 21px; }
.layers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.layers button {
  width: 100%; display: grid; gap: 12px; padding: 16px; border-radius: 18px; cursor: pointer; text-align: left;
  font: 600 16px/1 var(--sans); color: var(--white-2); background: rgba(255,255,255,.06); border: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s ease;
}
.layers button[aria-pressed="true"] { background: rgba(255,255,255,.2); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.meter { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.meter i { flex: 1; background: rgba(255,255,255,.75); border-radius: 2px; height: 8%; transition: height .12s linear; }
.layers button[aria-pressed="false"] .meter i { height: 8% !important; opacity: .35; }
.mixer__note { color: var(--white-3); font-size: 12px; }

/* 떠 있는 메시지 */
.chat { padding: 26px; display: grid; gap: 12px; font-size: 15px; }
.chat__float, .bubble, .float {
  background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 20px; padding: 12px 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.14);
}
.chat__float small, .float small { display: block; font-size: 11px; color: var(--white-3); margin-bottom: 2px; }
.chat__float { justify-self: start; max-width: 85%; }
.chat__me { justify-self: end; max-width: 80%; background: var(--white); color: #111; border-radius: 20px 20px 6px 20px; padding: 10px 15px; }
.chat__it { justify-self: start; max-width: 85%; background: rgba(255,255,255,.14); border-radius: 20px 20px 20px 6px; padding: 10px 15px; }
.chat__input { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 8px 8px 8px 16px; border-radius: 99px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: var(--white-3); font-size: 14px; }
.chat__input b { background: var(--white); color: #111; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 99px; }
.chat__foot { color: var(--white-3); font-size: 12px; text-align: center; }
.lines { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.bubble { font-family: var(--serif); font-size: 18px; padding: 14px 22px; }
.lines li:nth-child(2) { transform: translateY(14px); }

.float {
  position: fixed; z-index: 30; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(340px, calc(100vw - 40px)); font-size: 15px; cursor: pointer;
  animation: float-in .6s cubic-bezier(.2,.9,.3,1.2);
}
.float.is-out { opacity: 0; transform: translateY(10px); transition: .4s ease; }
@keyframes float-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* 하루의 끝 */
.day { margin: 0; padding: 40px 44px 34px; display: grid; gap: 18px; justify-items: start; min-height: 360px; align-content: start; }
.day__date { color: var(--white-3); font-size: 13px; letter-spacing: .08em; }
.day__lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }
.day__lines li { opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .9s ease, transform .9s ease, filter .9s ease; height: 0; overflow: hidden; }
.day.is-done .day__lines li { height: auto; }
.day__lines li.is-on { opacity: 1; transform: none; filter: none; }
.day__hint { font-family: var(--serif); font-size: 22px; color: var(--white-2); }
.day.is-done .day__hint { display: none; }
.day .pill { margin-top: auto; }
.quote { font-family: var(--serif); font-size: 19px; color: var(--white) !important; margin-top: 22px !important; }

/* 지난 기록 */
.trend { padding: 26px 28px 22px; }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.08); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { font: 500 13px/1 var(--sans); color: var(--white-2); background: none; border: 0; padding: 9px 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--white); color: #111; }
.chart { margin-top: 24px; min-height: 230px; }
.bars { list-style: none; padding: 0; margin: 0; height: 230px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; }
.bars li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bars li::before { content: ''; width: 100%; max-width: 44px; height: calc(var(--v) * 170px + 2px); border-radius: 8px 8px 3px 3px; background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.35)); order: 1; }
.bars li.is-today::before { background: linear-gradient(var(--glow), rgba(255,212,154,.4)); }
.bars b { order: 0; font-size: 11px; font-weight: 500; color: var(--white-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bars span { order: 2; font-size: 13px; color: var(--white-2); }
.apps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.apps li { display: grid; grid-template-columns: 5em minmax(0, 1fr) 6.5em; align-items: center; gap: 12px; font-size: 14px; }
.apps i { height: 12px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); width: calc(var(--v) * 100%); }
.apps b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--white-2); }
.chart__note { margin-top: 18px; font-size: 13px; color: var(--white-3); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 150px; align-items: end; }
.hours li { height: calc(var(--v) * 100% + 3px); border-radius: 3px; background: rgba(255,255,255, calc(.2 + var(--v) * .7)); }
.hours__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--white-3); }
.chart__eg { margin-top: 14px; font-size: 12px; color: var(--white-3); text-align: right; }

/* 개인정보 */
.privacy { padding: 48px 52px; }
.privacy__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 8px; }
.privacy ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.privacy li { padding-left: 22px; position: relative; color: var(--white); }
.privacy li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.privacy li small { display: block; color: var(--white-3); font-size: 13px; }
.privacy .no li { color: var(--white-2); }
.privacy .no li::before { background: none; box-shadow: inset 0 0 0 1.5px var(--white-3); }
.privacy__cols p { margin-top: 18px; color: var(--white-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.chips s { font-size: 13px; color: var(--white-3); padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); text-decoration-thickness: 1px; }
.facts { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px !important; margin-top: 36px !important; }
.facts li { padding: 18px !important; border-radius: 18px; background: rgba(255,255,255,.07); display: grid; gap: 4px; }
.facts li::before { display: none; }
.facts b { font-weight: 600; }
.facts span { font-size: 13px; color: var(--white-3); }
@media (max-width: 900px) { .privacy__cols { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .privacy { padding: 32px 22px; } .prose { padding: 30px 24px; } }

/* 질문 */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 20px 26px; border-radius: 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--white-3); font-weight: 400; font-size: 20px; line-height: 1.2; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--white-2); font-size: 15px; }

/* 받기 */
.sec--get { padding: 160px 0 140px; text-align: center; }
.get h2 { font-size: clamp(34px, 4.6vw, 60px); }
.get p { color: var(--white-2); }
.get__close { margin-top: 48px !important; font-family: var(--serif); font-size: 20px; color: var(--white) !important; opacity: .8; }

/* 바닥 */
.foot { background: rgba(4,8,18,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 48px 0 64px; font-size: 14px; }
.foot__box { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.foot__box .t { grid-column: 1 / -1; font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.foot dt { color: var(--white-3); }
.foot dd { margin: 0; }
.foot dd small { color: var(--white-3); margin-left: 6px; }
.maker { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 110px 0 90px; }
  .hero__lede { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero__hint, .float { animation: none; } }
@media (max-width: 860px) {
  .hero::before { background: linear-gradient(180deg, rgba(8,16,40,.1) 10%, rgba(8,16,40,.45) 40%, rgba(8,16,40,.35) 75%, transparent); }
  .mixer__head { align-items: flex-start; }
  .mixer__head .pill { white-space: nowrap; }
  .layers button { padding: 12px; }
  .float { font-size: 14px; padding: 10px 14px; }
}
