/* 모닝모닝클럽 web — Notion 풍 구성
   흰 캔버스, 굵은 헤드라인, 회색 카드, 작은 사각 버튼. 색은 모모(제품 비주얼)와 하이라이트 필에만. */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #ffffff;
  --card: #f6f5f4;
  --card-2: #efeeec;
  --line: #e9e9e7;
  --ink: #191918;
  --ink-2: #37352f;
  --muted: #787774;
  --faint: #a8a5a0;
  --highlight: #fdefc3;
  --highlight-dot: #f5c431;
  --page: 1180px;
  --gutter: 48px;
  --article: 720px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Inter", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; word-break: keep-all; font-feature-settings: "tnum";
}
a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; }
strong { font-weight: 600; color: var(--ink); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.shell { width: min(calc(100% - 2 * var(--gutter)), var(--page)); margin-inline: auto; }
.article-shell { width: min(calc(100% - 2 * var(--gutter)), var(--article)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.3; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 500; }
.lead { color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.muted { color: var(--muted); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons: small, 8px radius ---------- */
.button, .button-outline, .button-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 120ms, filter 120ms;
}
.button { background: var(--ink); color: #fff; }
.button:hover { background: #333; }
.button-outline { background: var(--card); color: var(--ink); border-color: transparent; }
.button-outline:hover { background: var(--card-2); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--card); }
.button-lg { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.button svg, .button-outline svg { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 6px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { background: var(--card); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: 8px; background: var(--ink); color: #fff !important; }
.nav-cta:hover { background: #333 !important; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-title { margin-bottom: 28px; }
.section-title p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Hero (centered) ---------- */
.hero { padding: 64px 0 40px; text-align: center; }
.faces { display: flex; justify-content: center; margin-bottom: 28px; }
.faces span { width: 60px; height: 60px; margin: 0 -6px; border-radius: 50%; border: 3px solid #fff; background: var(--card); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.faces span img { width: 84%; height: 84%; object-fit: contain; }
.hero h1 { max-width: 900px; margin: 0 auto; }
.hl { display: inline-flex; align-items: center; gap: 0.18em; padding: 0.02em 0.28em 0.06em; border-radius: 0.6em; background: var(--highlight); line-height: 1.05; }
.hl::before { content: ""; width: 0.36em; height: 0.36em; border-radius: 50%; background: var(--highlight-dot); flex: 0 0 auto; }
.hero .lead { max-width: 640px; margin: 20px auto 0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-note { margin-top: 14px; color: var(--faint); font-size: 13px; }

/* 히어로 비주얼: 큰 스테이지 프레임 */
.stage-wrap { position: relative; margin-top: 44px; }
.stage {
  position: relative; overflow: hidden;
  border-radius: 16px; background: linear-gradient(180deg, #fbf7ee 0%, #f6f5f4 100%);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  padding: 56px 40px 0; min-height: 520px;
}
.stage-row { display: flex; justify-content: center; align-items: flex-end; gap: 32px; }
.stage .phone { margin: 0; }
.stage .phone.lg { width: 300px; }
.stage .phone.sm { width: 250px; margin-bottom: -20px; }
.doodle { position: absolute; width: 96px; pointer-events: none; }
.doodle.a { left: 4%; top: 22%; transform: rotate(-8deg); }
.doodle.b { right: 4%; top: 12%; width: 120px; transform: rotate(6deg); }
.doodle.c { left: 8%; bottom: 8%; width: 72px; transform: rotate(10deg); }
.stage-caption { margin-top: 20px; color: var(--faint); font-size: 13px; text-align: center; }

/* 폰 프레임 */
.phone { position: relative; width: min(100%, 300px); margin-inline: auto; aspect-ratio: 9 / 19.4; padding: 10px; border-radius: 44px; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: #f7f7f7; }
.phone-screen .shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; border-radius: 9999px; background: #111; transform: translateX(-50%); z-index: 2; }
.call { display: flex; height: 100%; flex-direction: column; align-items: center; padding: 60px 20px 28px; text-align: center; }
.call-kicker { color: var(--muted); font-size: 12px; font-weight: 500; }
.call-name { margin-top: 2px; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.call-sub { margin-top: 2px; color: var(--faint); font-size: 12px; }
.call-momo { width: 66%; margin: auto 0; animation: momo-breathe 3.6s ease-in-out infinite; }
.call-actions { display: flex; width: 100%; justify-content: space-between; align-items: flex-end; padding: 0 8px; }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 500; }
.call-btn i { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.call-btn i svg { width: 22px; height: 22px; stroke: var(--ink); }
.call-btn.answer i { background: #34c759; border-color: #34c759; }
.call-btn.answer i svg { stroke: #fff; }
@keyframes momo-breathe { 0%,100% { transform: translateY(0) scale(1);} 50% { transform: translateY(-4px) scale(1.015);} }

/* ---------- Feature cards (2-col) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 460px; padding: 28px 28px 0; border-radius: 16px; background: var(--card); }
.feature.wide { grid-column: 1 / -1; min-height: 380px; flex-direction: row; align-items: center; gap: 40px; padding: 28px 40px 0 28px; }
.feature.wide .feature-copy { flex: 0 0 380px; }
.feature.wide .feature-visual { flex: 1; align-self: stretch; margin-top: 0; align-items: center; }
.feature-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.feature h3 { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; max-width: 420px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 420px; }
.arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: 14px; border-radius: 50%; background: var(--ink); color: #fff; }
.arrow svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-visual { margin-top: 24px; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.feature .phone { width: 240px; margin-bottom: -60px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature.wide .phone { margin-bottom: -110px; width: 230px; }
/* 대본 카드 (피처 안) */
.transcript { display: grid; gap: 8px; width: 100%; max-width: 440px; padding: 16px; margin-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; border: 1px solid var(--line); border-bottom: 0; }
.transcript-meta { display: flex; justify-content: space-between; color: var(--faint); font-size: 11px; font-weight: 500; }
.line { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.line img { width: 26px; height: 26px; }
.line .who { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--card); color: var(--muted); font-size: 10px; font-weight: 600; }
.line p { padding: 8px 12px; border-radius: 4px 12px 12px 12px; background: var(--card); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: none; }
.line.me { grid-template-columns: 1fr 26px; }
.line.me .who { order: 2; }
.line.me p { order: 1; border-radius: 12px 4px 12px 12px; background: var(--highlight); }
.transcript-end { padding-top: 8px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; text-align: center; }

/* 작은 카드 열 */
.mini-label { margin: 40px 0 10px; color: var(--muted); font-size: 13px; font-weight: 500; }
.mini-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.mini-card { min-height: 128px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.mini-card i { display: block; width: 24px; height: 24px; border-radius: 50%; margin-bottom: 18px; }
.mini-card p { font-size: 14px; font-weight: 600; line-height: 1.4; }
.mini-card p span { color: var(--muted); font-weight: 400; }

/* ---------- Colour cards (앱 화면 3종) ---------- */
.color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.color-card { position: relative; overflow: hidden; min-height: 560px; padding: 32px 28px 0; border-radius: 16px; display: flex; flex-direction: column; }
.color-card.c1 { background: linear-gradient(180deg, #fff2cf 0%, #f6c655 100%); }
.color-card.c2 { background: linear-gradient(180deg, #ffe4d3 0%, #f2825f 100%); }
.color-card.c3 { background: linear-gradient(180deg, #e9ecf5 0%, #8b90ad 100%); }
.color-card h3 { font-size: 26px; font-weight: 700; }
.color-card p { margin-top: 8px; color: rgba(25,25,24,0.72); font-size: 15px; max-width: 320px; }
.color-card .phone { width: 250px; margin: 28px auto -70px; }

/* ---------- Ticker ---------- */
.ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ticker span { display: inline-flex; align-items: center; gap: 8px; }
.ticker span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight-dot); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 18px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--faint); font-size: 22px; font-weight: 300; transition: transform 180ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 640px; }

/* ---------- Gray CTA band ---------- */
.band { padding: 96px 0; background: var(--card); text-align: center; }
.band h2 { font-size: clamp(30px, 3.6vw, 44px); }
.band .lead { max-width: 520px; margin: 12px auto 0; color: var(--muted); }
.band .hero-actions { margin-top: 24px; }
.band-momo { width: 96px; margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 64px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 500; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); font-size: 14px; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { margin-top: 12px; font-size: 13px; color: var(--faint); max-width: 320px; }

/* ---------- Article pages ---------- */
.page-hero { padding: 40px 0 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; color: var(--faint); font-size: 13px; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: var(--line); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.page-hero h1 { max-width: 820px; font-size: clamp(32px, 4.4vw, 52px); }
.page-lead { max-width: 720px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: var(--faint); font-size: 13px; }
.answer-box { margin: 8px 0 36px; padding: 24px 28px; border-radius: 12px; background: var(--card); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.answer-box strong { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.prose { padding-bottom: 80px; }
.prose h2 { margin: 56px 0 16px; font-size: 28px; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { display: grid; gap: 8px; margin: 14px 0 22px; padding-left: 22px; }
.prose a:not(.button):not(.text-link) { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.toc { margin: 0 0 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; }
.toc strong { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.toc ol { margin: 0; padding-left: 20px; gap: 4px; }
.toc li, .toc a { font-size: 15px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { text-decoration: underline; }
.step-list { display: grid; gap: 10px; margin: 20px 0 28px; }
.article-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px; border-radius: 12px; background: var(--card); }
.article-step b { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
.article-step h3 { margin: 4px 0 4px; }
.article-step p { margin: 0; font-size: 15px; }
.example-card, .note, .medical-note { margin: 22px 0; padding: 22px 24px; border-radius: 12px; }
.example-card { background: var(--card); }
.note { border: 1px solid var(--line); }
.medical-note { background: var(--card); }
.note p:last-child, .medical-note p:last-child, .example-card p:last-child { margin-bottom: 0; }
.comparison-wrap { margin: 22px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.comparison { width: 100%; min-width: 620px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.comparison td { font-size: 15px; color: var(--ink-2); }
.comparison tr:last-child td { border-bottom: 0; }
.sources { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.sources h2 { margin-top: 0; font-size: 20px; }
.sources li, .sources a { font-size: 14px; }
.article-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 56px; padding: 32px 36px; border-radius: 16px; background: var(--card); }
.article-cta h2 { margin: 0 0 8px; font-size: 26px; }
.article-cta p { margin: 0 0 18px; }
.article-cta img { width: 88px; }
.history-line { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.history-line:last-child { border-bottom: 1px solid var(--line); }
.history-year { font-weight: 600; font-variant-numeric: tabular-nums; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; min-height: 220px; padding: 24px; border-radius: 12px; background: var(--card); }
.guide-tag { margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 500; }
.guide-card h2, .guide-card h3 { font-size: 20px; margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.guide-card .text-link { margin-top: auto; padding-top: 20px; font-size: 14px; }
.guide-title { font-size: 20px; }
.section-link { margin-top: 24px; }
.info-card { padding: 24px 28px; border-radius: 12px; background: var(--card); }
.info-card p { color: var(--muted); }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.three-grid.single-grid { grid-template-columns: 1fr; }
.section-tint { background: var(--card); }
.clean-list { display: grid; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; }
.clean-list li { position: relative; padding-left: 20px; }
.clean-list li::before { content: ""; position: absolute; top: 0.72em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature.wide { flex-direction: column; align-items: flex-start; padding: 28px 28px 0; }
  .feature.wide .feature-copy { flex: none; }
  .feature.wide .feature-visual { margin-top: 24px; align-items: flex-end; }
  .feature.wide .phone { margin-bottom: -60px; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .color-grid { grid-template-columns: 1fr; }
  .color-card { min-height: 0; }
  .stage { padding: 40px 20px 0; min-height: 0; }
  .stage .phone.sm { display: none; }
  .doodle { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid, .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  body { word-break: normal; }
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding: 40px 0 24px; }
  .faces span { width: 40px; height: 40px; }
  .hero-actions .button, .hero-actions .button-outline { width: 100%; }
  .section { padding: 64px 0; }
  .band { padding: 64px 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-cta { grid-template-columns: 1fr; padding: 24px; }
  .article-cta img { display: none; }
  .article-step { grid-template-columns: 1fr; }
  .history-line { grid-template-columns: 1fr; gap: 4px; }
  .guide-grid, .three-grid { grid-template-columns: 1fr; }
  .prose h2 { margin-top: 44px; font-size: 24px; }
  .answer-box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .call-momo { animation: none; }
  .faq summary::after { transition: none; }
}
@media print {
  .site-header, .site-footer, .article-cta, .hero-actions { display: none; }
}

/* ---------- Guide thumbnails ---------- */
.guide-card > a:first-child { display: block; margin: -24px -24px 18px; }
.guide-card .thumb { width: 100%; height: auto; max-width: none; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px 12px 0 0; }
.guide-card { overflow: hidden; }
.guides-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-bottom: 16px; }
.hero-thumb { width: 100%; height: auto; aspect-ratio: 3 / 1.4; object-fit: cover; border-radius: 16px; margin: 28px 0 0; }
.page-hero.with-thumb { padding-bottom: 8px; }
@media (max-width: 680px) { .hero-thumb { aspect-ratio: 3 / 2; border-radius: 12px; } }
