/* ==========================================================================
   케어온 · AI 데일리 스트레칭 (Care On · Daily Stretch)
   디자인 토큰 — 크림 종이 · 깊은 숲색 · 따뜻한 흙빛 · 금빛 도장
   어르신·직장인이 한 손으로 쓰는 화면. 글씨는 크게, 버튼은 크게.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --paper: #F8F4EA;
  --paper2: #F2ECDD;
  --card: #FFFDF8;
  --ink: #152A22;
  --ink2: #40574B;
  --ink3: #657A6E;
  --green: #0E5C43;
  --green-d: #0A4936;
  --green-l: #E7F1E9;
  --green-m: #CFE4D6;
  --terra: #BC5127;
  --terra-d: #9E3F1B;
  --terra-l: #FBEDE4;
  --gold: #A9791B;
  --gold-l: #F8E9BE;
  --line: #E1D9C6;
  --line2: #D2C7AC;
  --danger: #9B2C2C;
  --radius: 22px;
  --radius-s: 14px;
  --maxw: 1080px;
  --shadow: 0 1px 0 rgba(21, 42, 34, .05), 0 14px 34px -22px rgba(21, 42, 34, .45);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --fs-base: 18px;
}

html { font-size: var(--fs-base); -webkit-text-size-adjust: 100%; }
html[data-fs="l"]  { --fs-base: 20px; }
html[data-fs="xl"] { --fs-base: 22px; }

html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
b, strong { font-weight: 800; }
h1, h2, h3, h4 { margin: 0; line-height: 1.24; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #1F76B4; outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px;
  font-weight: 800; line-height: 1.2; text-decoration: none;
  padding: 15px 24px; min-height: 52px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: normal; text-align: center;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-sm { padding: 11px 18px; min-height: 44px; font-size: .92rem; white-space: nowrap; }
.btn-md { padding: 17px 26px; min-height: 58px; font-size: 1.06rem; }

.btn-start {
  background: linear-gradient(180deg, #86F2C3 0%, #5FE0A6 55%, #3CC98C 100%);
  color: #06251B;
  font-size: 1.42rem;
  min-height: 84px;
  padding: 0 40px;
  border-radius: 999px;
  box-shadow: 0 3px 0 #2A9A6B, 0 18px 34px -14px rgba(42, 154, 107, .5), inset 0 1px 0 rgba(255,255,255,.45);
  letter-spacing: -0.01em;
}
.btn-start:hover { background: linear-gradient(180deg, #9BF6CE, #6BE8B0 55%, #45D295); }
.btn-start:active { box-shadow: 0 1px 0 #2A9A6B, 0 8px 20px -12px rgba(42,154,107,.5); }
.start-ico { width: 34px; height: 34px; display: grid; place-items: center; }
.start-ico svg { width: 100%; height: 100%; }

.btn-green { background: var(--green); color: #F6FBF7; box-shadow: 0 2px 0 var(--green-d); }
.btn-green:hover { background: #0C6B4D; }
.btn-line { background: var(--card); color: var(--green); border: 1.6px solid var(--line2); }
.btn-line:hover { background: var(--green-l); border-color: var(--green-m); }
.btn-ghost { background: transparent; color: var(--ink2); border: 1.6px solid transparent; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; min-height: 48px; padding: 10px 14px; }
.btn-ghost:hover { color: var(--green); background: rgba(14,92,67,.06); }
.btn-danger { background: #FFF6F4; color: var(--danger); border: 1.6px solid #E7C7C1; }
.btn-kakao { background: #FEE500; color: #3A2C0B; border-radius: 14px; font-weight: 800; padding: 12px 16px; min-height: 48px; }
.btn-kakao:hover { background: #F6DC00; }
.btn-icon { width: 46px; height: 46px; padding: 0; font-size: 1.5rem; border-radius: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.pill {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: var(--green-l); color: var(--green-d);
  font-size: .82rem; font-weight: 800; border: 1px solid var(--green-m);
  white-space: nowrap;
}
.pill.paid { background: var(--gold-l); border-color: #E4C87A; color: #6C4C0C; }
.topbar .pill { background: rgba(95, 224, 166, .14); border-color: rgba(95, 224, 166, .34); color: #BDF3D8; cursor: pointer; }
.topbar .pill.paid { background: rgba(255, 198, 92, .18); border-color: rgba(255, 198, 92, .45); color: #FFD98A; }
.topbar .btn-line { background: rgba(95, 224, 166, .12); border-color: rgba(95, 224, 166, .48); color: #D8FFEC; }
.topbar .btn-line:hover { background: rgba(95, 224, 166, .22); color: #FFFFFF; }

/* ---------------------------------------------------------------- 상단바 */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: #08231B;
  border-bottom: 1.5px solid #143B2D;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #EAF7EF; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  background: #5FE0A6; color: #06251B;
  display: grid; place-items: center;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark.sm { width: 34px; height: 34px; border-radius: 10px; }
.brand-mark.sm svg { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 1.28rem; letter-spacing: -0.03em; }
.brand-txt i { font-style: normal; font-size: .74rem; color: #8FB3A3; font-weight: 700; letter-spacing: .04em; }
.topnav { display: flex; gap: 4px; margin-left: 10px; }
.topnav a {
  text-decoration: none; color: #C6E3D4; font-weight: 700; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px;
}
.topnav a:hover { background: rgba(95, 224, 166, .14); color: #E9FFF4; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------------ 히어로 */
.hero { padding: 54px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  color: var(--green); background: var(--green-l); border: 1px solid var(--green-m);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4rem); letter-spacing: -0.045em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--terra); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -4px; height: 10px;
  background: var(--gold-l); border-radius: 999px; z-index: -1; transform: rotate(-1deg);
}
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--ink2); max-width: 34ch; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-sub { display: flex; gap: 6px; flex-wrap: wrap; margin-left: -12px; }
.free-note { margin-top: 22px; font-size: .94rem; color: var(--ink3); line-height: 1.7; }
.free-note b { color: var(--ink2); }

/* 오늘 카드 */
.today {
  background: var(--card); border: 1.5px solid var(--line2); border-radius: 26px;
  padding: 24px 24px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.today::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--green-m) 18px 36px);
  opacity: .5;
}
.today-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 4px; }
.today-top h2 { font-size: 1rem; color: var(--ink2); letter-spacing: 0; }
.today-top span { font-size: .86rem; color: var(--ink3); font-weight: 700; }
.today-min { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.today-min b { font-size: 4.1rem; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.today-min span { font-size: 1.15rem; font-weight: 800; color: var(--ink2); }
.today-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .92rem; color: var(--ink3); }
.today-sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.goalbar { margin-top: 18px; height: 16px; border-radius: 999px; background: #EDE6D5; border: 1px solid var(--line2); overflow: hidden; }
.goalbar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2E8A65, var(--green)); transition: width .5s ease; }
.goalbar-txt { display: flex; justify-content: space-between; margin-top: 7px; font-size: .9rem; color: var(--ink3); font-weight: 700; }
.goalbar-txt b { color: var(--ink); font-variant-numeric: tabular-nums; }

.stamp-slot { margin-top: 16px; min-height: 74px; display: flex; align-items: center; }
.stamp-mini {
  display: flex; align-items: center; gap: 14px;
  border: 1.6px dashed var(--line2); border-radius: 18px; padding: 12px 16px; width: 100%;
  background: #FCF9F1;
}
.stamp-mini .sm-ico { font-size: 1.7rem; }
.stamp-mini b { display: block; font-size: .98rem; }
.stamp-mini span { font-size: .84rem; color: var(--ink3); }
.stamp-mini.locked { color: var(--ink3); }
.stamp-mini.locked .sm-ico { filter: grayscale(1); opacity: .6; }
.stamp-big {
  display: flex; align-items: center; gap: 14px; width: 100%;
  border-radius: 18px; padding: 10px 14px;
  background: linear-gradient(135deg, #FBF0CE, #F7E3AC);
  border: 1.6px solid #E3C477;
}
.stamp-big .stamp-seal {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  border: 3px solid #B07D14; color: #8B600C;
  display: grid; place-items: center; font-weight: 900; font-size: .78rem; line-height: 1.1;
  text-align: center; transform: rotate(-8deg);
  background: radial-gradient(circle at 35% 30%, #FFF8E1, #F3D894);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
.stamp-big b { display: block; font-size: 1rem; color: #6B4B08; }
.stamp-big span { font-size: .84rem; color: #8A6A22; }
.streak-line { margin-top: 10px; font-size: .9rem; color: var(--ink3); font-weight: 700; }

.last-one { margin-top: 14px; border: 1.6px solid var(--green-m); background: var(--green-l); border-radius: 16px; padding: 12px 14px; }
.last-one p { font-size: .9rem; font-weight: 700; color: var(--green-d); }

.card-start { display: none; }

/* ------------------------------------------------------------------ 섹션 */
.sec { padding: 78px 0; }
.sec-alt { background: var(--paper2); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.04em; }
.sec-head > p:not(.eyebrow) { margin-top: 12px; color: var(--ink2); font-size: 1.02rem; }

/* ------------------------------------------------------------------ 컨디션 */
.cond-panel { padding-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #FCFAF3; border: 1.8px solid var(--line2); border-radius: 999px;
  padding: 12px 20px; min-height: 54px; font-weight: 800; font-size: 1rem;
  color: var(--ink2);
}
.chip-i { font-size: 1.15rem; line-height: 1; }
.chip[aria-pressed="true"] { background: var(--green-l); border-color: var(--green); color: var(--green-d); box-shadow: inset 0 0 0 1px var(--green); }
.chip[aria-pressed="true"] .chip-i { filter: saturate(1.2); }

.cond-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-btn {
  flex: 1 1 0; min-width: 92px; min-height: 56px; padding: 12px 14px;
  border: 1.8px solid var(--line2); border-radius: 14px; background: #FCFAF3;
  font-weight: 800; font-size: .98rem; color: var(--ink2);
}
.seg-btn[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 2px 0 var(--green-d); }

.cond-go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.cond-go .hint-sm { margin-top: 0; }

.cond-result { margin-top: 26px; border: 1.6px solid #E3C477; border-radius: 20px; background: linear-gradient(180deg, #FFFDF6, #FBF4DF); padding: 22px 22px 18px; }
.cond-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cond-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: #8A6A22; }
.cond-head h3 { font-size: 1.34rem; margin-top: 4px; color: #5C4306; }
.cond-head p { color: #7A5E1B; font-size: .92rem; margin-top: 4px; }
.cond-head .btn { flex: 0 0 auto; }

.step-list { margin-top: 18px; display: grid; gap: 2px; counter-reset: st; }
.step-list li {
  counter-increment: st; position: relative; padding: 10px 12px 10px 44px;
  border-bottom: 1px dashed var(--line2); font-size: .96rem; color: var(--ink2);
}
.step-list li:last-child { border-bottom: 0; }
.step-list li::before {
  content: counter(st); position: absolute; left: 6px; top: 10px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--green-l);
  border: 1px solid var(--green-m); color: var(--green-d);
  font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}
.step-list b { color: var(--ink); }
.step-list i { font-style: normal; color: var(--ink3); font-size: .84rem; font-weight: 700; }

/* ------------------------------------------------------------------ 루틴 카드 */
.routine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; align-items: stretch; }
@media (min-width: 981px) {
  .routine-card { min-height: 268px; }
  .routine-card .rc-btns { margin-top: auto; padding-top: 10px; }
}
.routine-card {
  position: relative; min-width: 0; text-align: left;
  background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--radius);
  padding: 24px 22px 20px; box-shadow: var(--shadow); color: var(--ink);
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.routine-card:hover { border-color: var(--green); transform: translateY(-2px); }
.rc-top { display: flex; align-items: center; gap: 12px; }
.rc-ico {
  width: 58px; height: 58px; border-radius: 16px; flex: 0 0 auto;
  background: var(--green-l); color: var(--green-d); border: 1px solid var(--green-m);
  display: grid; place-items: center;
}
.rc-ico svg { width: 40px; height: 40px; }
.rc-no { font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--ink3); }
.rc-top h3 { font-size: 1.18rem; letter-spacing: -0.03em; }
.routine-card > p { font-size: .92rem; color: var(--ink3); line-height: 1.55; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .84rem; color: var(--ink2); font-weight: 700; margin-top: 2px; }
.rc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rc-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rc-btns .btn { flex: 1 1 auto; }
.rc-free { position: absolute; right: 16px; top: 16px; font-size: .7rem; font-weight: 800; color: var(--green-d); background: #DFF3E8; border: 1px solid var(--green-m); border-radius: 999px; padding: 3px 9px; }
.routine-card.locked { background: #FCFAF3; }
.routine-card.locked .rc-ico { filter: grayscale(.55); opacity: .8; }

/* 데모 카드 */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-card {
  position: relative; min-width: 0; background: var(--card); border: 1.5px solid var(--line2);
  border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow);
}
.demo-tag {
  position: absolute; top: -12px; left: 22px;
  background: var(--ink); color: #F8F4EA; font-size: .74rem; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .06em;
}
.demo-card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.demo-card p { color: var(--ink2); font-size: .96rem; margin-bottom: 18px; }

/* ------------------------------------------------------------------ 패널 */
.panel {
  min-width: 0;
  background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: relative; margin-bottom: 22px;
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.16rem; }
.panel-head p { font-size: .9rem; color: var(--ink3); font-weight: 700; }
.blk-t { font-size: 1.06rem; margin-bottom: 14px; }
.hr { border: 0; border-top: 1.5px solid var(--line); margin: 26px 0; }
.hint-sm { font-size: .86rem; color: var(--ink3); line-height: 1.6; margin-top: 8px; }

/* 막대 그래프 */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 240px; padding: 26px 4px 0; position: relative; }
.chart::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 34px;
  border-top: 1.5px dashed var(--line2);
}
.chart .goal-flag {
  position: absolute; left: 0; right: 0; border-top: 1.5px solid #C9A227;
  font-size: .72rem; color: #8A6A22; font-weight: 800;
}
.chart .goal-flag span { position: absolute; right: 0; top: -18px; background: var(--card); padding: 0 6px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.bar-col .bar-v { font-size: .8rem; font-weight: 800; color: var(--ink2); font-variant-numeric: tabular-nums; }
.bar-col .bar-v.zero { color: #B3BDB4; }
.bar-col .bar {
  width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #5AA383, #0E5C43); min-height: 3px;
  transition: height .5s cubic-bezier(.2,.8,.2,1);
}
.bar-col.hit .bar { background: linear-gradient(180deg, #E4C36B, #B8860B); }
.bar-col.is-today .bar { outline: 2px solid var(--terra); outline-offset: 2px; }
.bar-col .bar-d { font-size: .82rem; font-weight: 800; color: var(--ink3); }
.bar-col.is-today .bar-d { color: var(--terra); }

/* 잠금 */
.lock {
  border: 1.6px dashed var(--line2); border-radius: 18px; background: #FBF8EF;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 22px 18px; gap: 4px;
}
.panel.locked .panel-head,
.panel.locked .chart,
.panel.locked .cal,
.panel.locked .cal-sum { display: none; }
.lock-ico { font-size: 1.9rem; }
.lock-t { font-size: 1.16rem; font-weight: 800; letter-spacing: -0.02em; }
.lock-d { font-size: .92rem; color: var(--ink2); max-width: 34ch; }
.lock-btns { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; }
.lock-btns .btn { max-width: 100%; white-space: nowrap; padding-left: 18px; padding-right: 18px; }

/* 달력 */
.cal-nav { display: flex; gap: 6px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; font-weight: 800; color: var(--ink3); padding: 2px 0 6px; }
.cal-dow.sun { color: #A9442A; }
.cal-dow.sat { color: #2C5C8A; }
.cal-cell {
  min-height: 66px; border-radius: 12px; border: 1.2px solid var(--line); overflow: hidden;
  background: #FCFAF3; padding: 5px 4px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px;
}
.cal-cell.empty { border-color: transparent; background: transparent; }
.cal-cell .cd { font-size: .84rem; font-weight: 800; color: var(--ink3); }
.cal-cell .cs { font-size: .8rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cal-cell.hit { background: linear-gradient(160deg, #FCF1CE, #F7E4B2); border-color: #E3C477; }
.cal-cell.hit .cs { color: #7A560B; }
.cal-cell.is-today { border-color: var(--terra); border-width: 2px; }
.cal-cell.future { opacity: .42; }
.cal-cell .cfoot { font-size: .68rem; color: #8A6A22; font-weight: 800; }
.cal-sum { margin-top: 14px; font-size: .92rem; color: var(--ink2); font-weight: 700; }

/* 리포트 줄 */
.report-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--green); color: #EEF6F0; border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.report-row h3 { font-size: 1.16rem; color: #fff; }
.report-row p { font-size: .92rem; color: #CFE4D6; margin-top: 6px; max-width: 46ch; }
.report-row .btn { background: #F8F4EA; color: var(--green-d); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.report-row .btn:hover { background: #fff; }

/* ------------------------------------------------------------------ 목표 */
.goal-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.goal-opt {
  background: #FCFAF3; border: 1.8px solid var(--line2); border-radius: 16px;
  padding: 16px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px;
  min-height: 86px; justify-content: center;
}
.goal-opt b { font-size: 1.34rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.goal-opt span { font-size: .8rem; color: var(--ink3); font-weight: 700; }
.goal-opt[aria-checked="true"] { border-color: var(--green); background: var(--green-l); box-shadow: inset 0 0 0 1px var(--green); }
.goal-opt[aria-checked="true"] b { color: var(--green-d); }
.goal-opt[aria-checked="true"] span { color: var(--green); }

.field-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1 1 180px; min-width: 0; }
.field > span { font-size: .88rem; font-weight: 800; color: var(--ink2); }
input[type="text"], input[type="number"] {
  width: 100%; min-height: 54px; border-radius: 14px; border: 1.6px solid var(--line2);
  background: #FFFEFB; padding: 12px 16px; font-size: 1.05rem; font-weight: 700;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
input[type="text"]:focus, input[type="number"]:focus {
  border-color: var(--green); outline: 3px solid rgba(14,92,67,.18); outline-offset: 0;
}
input::placeholder { color: #A9B4AC; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }

.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.switch-row:last-child { border-bottom: 0; }
.switch-row b { display: block; font-size: 1rem; }
.switch-row span { font-size: .86rem; color: var(--ink3); }
.switch {
  width: 72px; height: 46px; border-radius: 999px; border: 1.6px solid var(--line2);
  background: #E9E2D2; position: relative; flex: 0 0 auto; transition: background .18s ease;
}
.switch span {
  position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .18s ease;
}
.switch[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.switch[aria-pressed="true"] span { left: 33px; }
.fs-row { flex-wrap: wrap; }
.fs-btns { display: flex; gap: 6px; }
.fs-btn { border: 1.6px solid var(--line2); background: #FCFAF3; border-radius: 999px; padding: 9px 15px; font-weight: 800; font-size: .86rem; min-height: 44px; }
.fs-btn[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.file-btn { position: relative; cursor: pointer; }

/* ------------------------------------------------------------------ 요금 */
.price-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; margin-bottom: 22px; align-items: stretch; }
.price {
  background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--radius);
  padding: 26px 24px; position: relative; box-shadow: var(--shadow); min-width: 0;
}
.price h3 { font-size: 1.16rem; color: var(--ink2); }
.price-num { margin-top: 8px; font-size: clamp(2.2rem, 8.6vw, 2.9rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.price-num span { display: inline-block; font-size: .95rem; font-weight: 800; color: var(--ink3); margin-left: 6px; letter-spacing: 0; }
.price ul { margin-top: 18px; display: grid; gap: 9px; }
.price li { position: relative; padding-left: 26px; font-size: .97rem; color: var(--ink2); }
.price li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.price.free li::before { content: "·"; color: var(--ink3); font-size: 1.2rem; line-height: 1.2; }
.price.pro { border: 2px solid var(--green); background: linear-gradient(180deg, #FFFDF7, #F3F8F2); }
.price-badge {
  position: absolute; top: -14px; right: 22px; background: var(--green); color: #fff;
  font-size: .76rem; font-weight: 800; padding: 5px 13px; border-radius: 999px; letter-spacing: .04em;
}
.price.pro .btn { width: 100%; margin-top: 20px; }
.price-note { margin-top: 10px; text-align: center; font-size: .84rem; color: var(--ink3); }

.pay-panel { margin-top: 6px; }
.pay-grid { min-width: 0; }
.pay-grid > * { min-width: 0; }
.pay-form .field { min-width: 0; }
.pay-grid { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: start; }
.pay-grid.tight { grid-template-columns: 170px 1fr; gap: 18px; margin: 18px 0 6px; }
.pay-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pay-qr img { border: 1.5px solid var(--line2); border-radius: 14px; background: #fff; padding: 6px; }
.pay-steps p { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: flex-start; font-size: .97rem; color: var(--ink2); margin-bottom: 12px; }
.pay-steps p b:first-child { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: .86rem; display: grid; place-items: center; }
.pay-steps small { display: block; flex: 1 1 100%; padding-left: 36px; color: var(--ink3); font-size: .82rem; }
.pay-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pay-form .field { flex: 1 1 150px; }
.pay-small { margin-top: 8px; font-size: .82rem; color: var(--ink3); }
.code-details { margin-top: 14px; border-top: 1px dashed var(--line2); padding-top: 12px; }
.code-details summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--ink2); padding: 6px 0; }
.code-details p { font-size: .86rem; color: var(--ink3); margin: 6px 0; }
.paid-state { margin-top: 14px; background: var(--gold-l); border: 1.5px solid #E3C477; border-radius: 16px; padding: 16px 18px; }
.paid-state b { color: #6C4C0C; }

/* ------------------------------------------------------------------ 안전 */
.safety {
  background: var(--card); border: 1.5px solid var(--line2); border-left: 8px solid var(--green);
  border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow);
}
.safety-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.safety-ico { font-size: 2rem; line-height: 1; }
.safety-head h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.035em; }
.safety-head p { margin-top: 8px; color: var(--ink2); font-size: .98rem; max-width: 52ch; }
.safety ul { display: grid; gap: 10px; }
.safety li { position: relative; padding-left: 30px; font-size: .97rem; color: var(--ink2); }
.safety li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.safety li b { color: var(--ink); }

/* ------------------------------------------------------------------ 시리즈 */
.fam-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fam-card {
  position: relative; background: var(--card); border: 1.5px solid var(--line2);
  border-radius: 18px; padding: 18px 16px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 6px; min-height: 156px;
}
a.fam-card:hover { border-color: var(--green); background: #FBFDF9; }
.fam-card h3 { font-size: 1rem; }
.fam-card p { font-size: .84rem; color: var(--ink3); line-height: 1.5; }
.fam-no { font-size: .74rem; font-weight: 800; color: var(--ink3); letter-spacing: .06em; }
.fam-card.here { border-color: var(--green); border-width: 2px; background: var(--green-l); }
.here-b { display: inline-block; font-size: .68rem; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.fam-card.soon { opacity: .78; }
.soon-b { position: absolute; right: 12px; top: 12px; font-size: .7rem; font-weight: 800; color: var(--ink3); background: #EFE9DA; border-radius: 999px; padding: 3px 9px; }

/* ------------------------------------------------------------------ FAQ */
.faq details { background: var(--card); border: 1.5px solid var(--line2); border-radius: 16px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 800; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; color: var(--ink2); font-size: .96rem; }

/* ------------------------------------------------------------------ 푸터 */
.foot { background: #08231B; color: #DCE7DF; padding: 42px 0 38px; border-top: 1px solid #143B2D; }
.foot-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1rem; }
.foot-brand b { color: #fff; font-size: 1.1rem; }
.foot-brand span { color: #9FB5A8; font-size: .86rem; }
.foot-line { margin-top: 10px; font-size: .86rem; color: #A9BFB2; }
.foot-line a { color: #D9E6DC; }
.foot-c { margin-top: 16px; font-size: .8rem; color: #7E9488; }

/* ================================================================ 스트레칭 화면 */
.session {
  position: fixed; inset: 0; z-index: 120;
  background: radial-gradient(120% 80% at 50% 0%, #14503E 0%, #0A2E24 55%, #061C16 100%);
  color: #F2F7F2; overflow-y: auto;
  -webkit-tap-highlight-color: transparent;
}
.session.paused { background: radial-gradient(120% 80% at 50% 0%, #3C3A28 0%, #26251A 55%, #15140E 100%); }
.session-in {
  max-width: 680px; margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  min-height: 100%; display: flex; flex-direction: column; gap: 12px;
}
.s-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-badge {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.s-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7BE0A8; box-shadow: 0 0 0 4px rgba(123,224,168,.18); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(123,224,168,.05); } }
.session.paused .s-badge::before { background: #E7C46A; animation: none; }
.s-count { font-size: .84rem; color: #A9C8B8; font-weight: 800; font-variant-numeric: tabular-nums; }
.s-vbtn {
  margin-left: auto; background: rgba(255,255,255,.08); color: #DDEBE2; border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 800; min-height: 42px;
}
.s-vbtn[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }

.s-progress { display: flex; gap: 4px; }
.s-progress i { flex: 1; height: 7px; border-radius: 999px; background: rgba(255,255,255,.16); }
.s-progress i.done { background: #5FE0A6; }
.s-progress i.now { background: #E7C46A; }

.s-stage { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 0; }
.s-ring-wrap { position: relative; width: min(296px, 64vw); aspect-ratio: 1; flex: 0 0 auto; }
.s-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-ring circle { fill: none; stroke-linecap: round; }
.s-ring-bg { stroke: rgba(255,255,255,.12); stroke-width: 10; }
.s-ring-fill { stroke: #6BE8B0; stroke-width: 10; stroke-dasharray: 728.8; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.session.paused .s-ring-fill { stroke: #E7C46A; }
.s-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.s-pose { color: #9FE6C6; width: 56px; height: 56px; margin-bottom: 4px; opacity: .95; }
.s-pose svg { width: 100%; height: 100%; }
.s-ring-in b { font-size: clamp(3.4rem, 15vw, 4.8rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; font-weight: 800; color: #FFFFFF; }
.s-ring-in i { font-style: normal; font-size: .82rem; color: #9FBFB0; font-weight: 800; letter-spacing: .06em; margin-top: 2px; }

.s-copy { text-align: center; max-width: 34ch; display: flex; flex-direction: column; align-items: center; }
.s-side { display: inline-block; font-size: .78rem; font-weight: 800; color: #FFD98A; background: rgba(231,196,106,.16); border: 1px solid rgba(231,196,106,.4); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.s-copy h2 { font-size: clamp(1.4rem, 5.2vw, 1.9rem); letter-spacing: -0.035em; color: #fff; }
.s-how { margin-top: 8px; font-size: .98rem; color: #C8DDD1; line-height: 1.6; }
.s-tip { margin-top: 8px; font-size: .86rem; color: #9FBFB0; }

.s-next { margin-top: 12px; text-align: center; font-size: .84rem; color: #9FBFB0; font-weight: 700; }
.s-actions { display: grid; grid-template-columns: .9fr 1.1fr 1fr; gap: 8px; margin-top: 0; padding-top: 6px; }
.s-actions .btn { min-height: 62px; font-size: .98rem; border-radius: 16px; padding: 8px 10px; }
.s-pause { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.34); }
.s-pause:hover { background: rgba(255,255,255,.2); }
.s-skip { background: rgba(255,255,255,.06); color: #DDEBE2; border: 1.5px solid rgba(255,255,255,.2); }
.s-stop { background: #F3EEE2; color: #26362C; font-weight: 900; box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.s-demo { text-align: center; font-size: .78rem; color: #E7C46A; font-weight: 800; }

/* ================================================================ 모달 */
.modal { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.modal-mask { position: absolute; inset: 0; background: rgba(9, 24, 18, .62); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 26px 26px 0 0; padding: 28px 24px max(24px, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0,0,0,.3);
  animation: sheet .22s ease-out;
}
.modal-card.wide { max-width: 760px; }
@keyframes sheet { from { transform: translateY(18px); opacity: .6; } }
.modal-card h2 { font-size: 1.5rem; letter-spacing: -0.03em; }
.modal-lead { margin-top: 8px; color: var(--ink2); font-size: .98rem; }
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.3rem; color: var(--ink3); width: 44px; height: 44px; border-radius: 50%; }
.modal-x:hover { background: var(--paper2); }
.modal-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 22px; }
.modal-btns .btn { flex: 1 1 auto; }
.pw-list { margin: 16px 0 0; display: grid; gap: 8px; }
.pw-list li { padding-left: 26px; position: relative; color: var(--ink2); font-size: .96rem; }
.pw-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* 결과 */
.result-card { text-align: center; }
.result-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--terra); }
.result-card h2 { margin-top: 6px; font-size: 1.8rem; }
.result-stamp { min-height: 104px; display: grid; place-items: center; margin: 10px 0 6px; }
.seal {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 4px double #B07D14; color: #7A560B; font-weight: 900; font-size: .9rem; line-height: 1.25;
  background: radial-gradient(circle at 32% 26%, #FFF8DE, #F5DE9E 70%, #EFD28A);
  transform: rotate(-8deg); box-shadow: 0 6px 18px -8px rgba(122,86,11,.6);
  animation: stampIn .45s cubic-bezier(.2,.9,.25,1.2);
}
@keyframes stampIn { 0% { transform: scale(1.6) rotate(-16deg); opacity: 0; } 60% { transform: scale(.96) rotate(-7deg); opacity: 1; } 100% { transform: scale(1) rotate(-8deg); } }
.seal-lock { width: 112px; height: 112px; border-radius: 50%; border: 3px dashed var(--line2); display: grid; place-items: center; color: var(--ink3); font-size: 1.7rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.result-grid > div { background: var(--paper); border: 1.2px solid var(--line); border-radius: 14px; padding: 12px 10px; }
.result-grid span { display: block; font-size: .8rem; color: var(--ink3); font-weight: 700; }
.result-grid b { font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.result-grid small { font-size: .8rem; color: var(--ink3); margin-left: 3px; font-weight: 700; }
.result-name { margin-top: 12px; font-size: 1.02rem; font-weight: 800; color: var(--green-d); }
.result-note { margin-top: 8px; font-size: .9rem; color: var(--ink2); }
.result-btns { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.result-btns .btn { flex: 1 1 140px; }

.demo-note { margin-top: 14px; font-size: .84rem; color: var(--ink3); }

/* 리포트 */
.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.report-toolbar > div { display: flex; gap: 8px; }
.report-doc { border: 1.5px solid var(--line2); border-radius: 16px; padding: 22px; background: #FFFEF9; }
.report-doc h1 { font-size: 1.5rem; margin-bottom: 4px; }
.report-doc .rp-sub { font-size: .86rem; color: var(--ink3); margin-bottom: 16px; }
.report-doc .rp-hero { display: flex; gap: 18px; flex-wrap: wrap; background: var(--paper); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.report-doc .rp-hero div { flex: 1 1 100px; }
.report-doc .rp-hero span { display: block; font-size: .78rem; color: var(--ink3); font-weight: 700; }
.report-doc .rp-hero b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.report-doc table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.report-doc th, .report-doc td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.report-doc th { font-size: .78rem; color: var(--ink3); }
.report-doc td { font-variant-numeric: tabular-nums; }
.report-doc .rp-foot { margin-top: 16px; font-size: .78rem; color: var(--ink3); }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: rgba(17, 33, 26, .95); color: #F6FBF7; padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; z-index: 180; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: toastIn .2s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ------------------------------------------------------------------ 반응형 */
@media (max-width: 980px) {
  .routine-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .card-start { display: flex; width: 100%; margin-top: 16px; min-height: 68px; font-size: 1.2rem; }
  .hero-grid .today { order: -1; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .lead { max-width: none; font-size: 1.04rem; }
  .price-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-qr { flex-direction: row; justify-content: flex-start; gap: 16px; flex-wrap: wrap; }
  .pay-qr img { width: 120px; height: 120px; }
  .pay-qr .btn { flex: 1 1 150px; }
  .pay-form .btn { flex: 1 1 150px; }
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .goal-opts { grid-template-columns: 1fr 1fr; }
  .topnav { display: none; }
  .sec { padding: 58px 0; }
  .chart { height: 210px; }
  .cal-cell { min-height: 54px; }
  .cond-row { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
  .routine-grid { grid-template-columns: 1fr; }
  .rc-btns .btn { min-height: 50px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar-in { min-height: 66px; gap: 10px; }
  .brand-txt b { font-size: 1.12rem; }
  .brand-txt i { font-size: .68rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .topbar-right .pill { display: none; }
  .btn-start { width: 100%; font-size: 1.3rem; min-height: 80px; }
  .hero-sub { margin-left: 0; width: 100%; }
  .hero-sub .btn { flex: 1 1 auto; }
  .today-min b { font-size: 3.4rem; }
  .today { padding: 20px 18px; }
  .modal-card { padding: 24px 18px max(20px, env(safe-area-inset-bottom)); }
  .fam-grid { grid-template-columns: 1fr; }
  .fam-card { min-height: 0; }
  .result-grid b { font-size: 1.25rem; }
  .cal { gap: 4px; }
  .cal-cell { min-height: 50px; padding: 4px 2px; }
  .cal-cell .cd, .cal-cell .cs { font-size: .72rem; }
  .field-grid { grid-template-columns: 1fr; }
  .price-num { font-size: 2.35rem; }
  .price-num span { margin-left: 4px; }
  .report-row { padding: 20px 18px; }
  .report-row .btn { width: 100%; }
  .switch-row { gap: 12px; }
  .chips { gap: 8px; }
  .chip { padding: 10px 15px; min-height: 50px; font-size: .95rem; }
  .cond-result { padding: 18px 16px 14px; }
  .cond-head .btn { width: 100%; }
  .safety { padding: 22px 18px 18px; }
  .safety-head { gap: 12px; }
  .safety-ico { font-size: 1.7rem; }
  .s-actions { grid-template-columns: 1fr 1fr; }
  .s-stop { grid-column: 1 / -1; order: 3; min-height: 54px; }
  .s-actions .btn { min-height: 56px; font-size: .92rem; }
  .session-in { gap: 10px; }
}

@media (max-height: 700px) and (max-width: 560px) {
  .s-ring-wrap { width: min(200px, 52vw); }
  .s-copy h2 { font-size: 1.25rem; }
  .s-how { font-size: .9rem; }
  .s-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ 인쇄 */
@media print {
  body > *:not(#reportModal) { display: none !important; }
  #reportModal { position: static; display: block !important; }
  #reportModal .modal-mask, .report-toolbar { display: none !important; }
  #reportModal .modal-card { box-shadow: none; max-height: none; padding: 0; max-width: none; }
  .report-doc { border: 0; padding: 0; }
  .report-doc .rp-hero { background: #F4F1E8; }
  @page { margin: 16mm; }
}
