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

/* 모모레테 MomoRete — 공식 안내 사이트
   공식적이고 신뢰감 있되 현대적으로 정돈된 톤 (타이포·여백·은은한 깊이) */

:root {
  --bg: #ffffff;
  --bg-soft: #f3faf8;
  --panel: #f6faf9;
  --ink: #0e2b27;
  --ink-2: #2f4b47;
  --muted: #5f7470;
  --line: #e7eeec;
  --line-2: #dde8e6;
  --mint: #14b0a3;
  --mint-strong: #0e8d83;
  --mint-tint: #e6f7f4;
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1040px;
  --shadow-sm: 0 1px 2px rgba(14, 43, 39, 0.05);
  --shadow: 0 1px 2px rgba(14, 43, 39, 0.04), 0 12px 30px -16px rgba(14, 43, 39, 0.18);
  --shadow-lg: 0 1px 2px rgba(14, 43, 39, 0.04), 0 28px 60px -28px rgba(14, 43, 39, 0.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--mint-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--mint-tint); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--mint); color: #fff; padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Header ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.brand { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.brand span { color: var(--mint); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a.section-current { color: var(--mint-strong); background: var(--mint-tint); }
.support-nav { background: var(--panel); border-bottom: 1px solid var(--line); }
.support-nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 24px;
  display: flex; justify-content: flex-end; gap: 4px;
}
.support-nav a {
  flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
}
.support-nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.support-nav a[aria-current="page"] { color: var(--mint-strong); background: var(--mint-tint); }

/* ── Hero ─────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(20, 176, 163, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 84px; padding-bottom: 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mint-tint); color: var(--mint-strong);
  font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  letter-spacing: 0; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.hero h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.22; margin: 0 0 20px;
  letter-spacing: -0.035em; font-weight: 800; color: var(--ink);
}
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 32px; max-width: 540px; line-height: 1.75; }

.btn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--mint); color: #fff; box-shadow: 0 8px 18px -8px rgba(20, 176, 163, 0.7); }
.btn-primary:hover { background: var(--mint-strong); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint-strong); transform: translateY(-1px); }
.play-badge-link {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  width: 188px; max-width: 100%; line-height: 0; border-radius: 10px;
  transition: transform .12s ease, filter .12s ease;
}
.play-badge-link:hover { transform: translateY(-1px); filter: drop-shadow(0 10px 16px rgba(14, 43, 39, 0.16)); text-decoration: none; }
.play-badge-link img { display: block; width: 100%; height: auto; }

.hero-phone {
  width: min(100%, 350px); height: 560px; margin: 0; justify-self: end;
  position: relative; overflow: hidden; border: 8px solid #17201f; border-radius: 38px;
  background: #fff; box-shadow: 0 34px 70px -34px rgba(14, 43, 39, 0.46);
}
.hero-phone::after {
  content: ""; position: absolute; inset: auto 0 0; height: 82px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96));
}
.hero-phone img { width: 100%; height: auto; display: block; }
.phone-top {
  position: absolute; top: 8px; left: 50%; translate: -50% 0; z-index: 2;
  width: 82px; height: 20px; border-radius: 999px; background: #17201f;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}

/* Hero visual — 가벼운 리포트 카드(과한 목업 아님) */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-card .hc-title { font-weight: 800; font-size: 15px; color: var(--ink); }
.hero-card .hc-tag { font-size: 12px; font-weight: 700; color: var(--mint-strong); background: var(--mint-tint); padding: 4px 10px; border-radius: 999px; }
.hero-card .hc-chart { width: 100%; height: 92px; display: block; margin-bottom: 16px; }
.hero-card .hc-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hero-card .hc-row span:first-child { color: var(--muted); }
.hero-card .hc-row span:last-child { font-weight: 700; color: var(--ink); }
.hero-card .hc-up { color: var(--mint-strong) !important; }

/* ── Sections ─────────────────────────── */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section h2 { font-size: clamp(22px, 3.4vw, 28px); margin: 0 0 12px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--mint-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature .ic svg { width: 22px; height: 22px; stroke: var(--mint-strong); }
.feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* App preview */
.app-showcase { scroll-margin-top: 88px; background: #fff; }
.showcase-head { max-width: 700px; }
.section-kicker {
  display: inline-block; margin-bottom: 10px; color: var(--mint-strong);
  font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .12em;
}
.screen-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  align-items: stretch;
}
.screen-card {
  min-width: 0; overflow: hidden; padding: 24px 22px 0;
  border: 1px solid var(--line); border-radius: 22px; background: var(--panel);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.screen-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.screen-card:nth-child(4), .screen-card:nth-child(5) { grid-column: span 1; }
.screen-copy { min-height: 142px; }
.screen-num { color: var(--mint-strong); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.screen-copy h3 { margin: 10px 0 7px; font-size: 18px; line-height: 1.35; letter-spacing: -0.025em; }
.screen-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.phone-shot {
  width: min(100%, 238px); height: 430px; display: block; position: relative; overflow: hidden;
  margin: 2px auto 0; border: 6px solid #1b2322; border-bottom: 0; border-radius: 28px 28px 0 0;
  background: #fff; box-shadow: 0 20px 40px -24px rgba(14,43,39,.4);
}
.phone-shot::after {
  content: "크게 보기 ↗"; position: absolute; left: 50%; bottom: 14px; translate: -50% 0;
  white-space: nowrap; padding: 7px 11px; border-radius: 999px;
  color: #fff; background: rgba(14,43,39,.78); font-size: 11px; font-weight: 700;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.phone-shot img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
.phone-shot:hover img { transform: scale(1.012); }
.showcase-banner {
  display: block; overflow: hidden; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--bg-soft);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.showcase-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.showcase-banner img { display: block; width: 100%; height: auto; }
.promo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.promo-card {
  flex: 0 1 calc((100% - 36px) / 3); min-width: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px; background: var(--panel);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.promo-card img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 26px; padding: 24px 26px;
  border: 1px solid rgba(20, 176, 163, 0.2); border-radius: 24px;
  background: linear-gradient(135deg, rgba(232,250,248,.96), rgba(255,255,255,.98));
  box-shadow: var(--shadow-sm);
}
.download-kicker {
  display: inline-block; margin-bottom: 7px;
  color: var(--mint-strong); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .12em;
}
.download-card h3 { margin: 0 0 7px; color: var(--ink); font-size: 20px; letter-spacing: -0.03em; }
.download-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.download-card .play-badge-link { width: 178px; }
.privacy-note { margin: 18px 0 0; text-align: right; color: var(--muted); font-size: 12px; }

/* Statement (philosophy) */
.statement { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement .container { padding: 78px 24px; text-align: center; }
.statement h2 { font-size: clamp(23px, 3.6vw, 30px); font-weight: 800; letter-spacing: -0.035em; margin: 0 0 18px; color: var(--ink); }
.statement p { max-width: 620px; margin: 0 auto; color: var(--ink-2); font-size: 17px; line-height: 1.85; }

/* Diagnostic preview */
.diagnostic-teaser-section { background: #fff; }
.diagnostic-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 42px 46px; border: 1px solid #c9ece7; border-radius: 24px;
  background: var(--mint-tint); box-shadow: var(--shadow);
}
.diagnostic-teaser h2 { margin: 8px 0 12px; }
.diagnostic-teaser p { max-width: 650px; margin: 0; color: var(--muted); }
.diagnostic-teaser-cta { flex: none; color: #fff; background: var(--mint-strong); }
.diagnostic-teaser-cta:hover { color: #fff; background: #0b7d75; transform: translateY(-1px); text-decoration: none; }

/* Blog */
.blog-section { background: var(--bg-soft); }
.blog-card {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 42px 46px; border: 1px solid #d8ece8; border-radius: 24px;
  background: rgba(255,255,255,.88); box-shadow: var(--shadow);
}
.blog-card h2 { margin-bottom: 12px; }
.blog-card p { max-width: 600px; margin: 0; color: var(--muted); }
.btn-blog { flex: none; color: #fff; background: #03c75a; box-shadow: 0 10px 24px -14px rgba(3,199,90,.8); }
.btn-blog:hover { color: #fff; background: #02b351; transform: translateY(-1px); text-decoration: none; }

/* Link list */
.cta-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cta-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 700; background: #fff; transition: border-color .14s, background .14s;
}
.cta-links a:hover { border-color: var(--mint); background: var(--bg-soft); text-decoration: none; }
.cta-links a::after { content: "→"; color: var(--muted); font-weight: 500; }

/* ── Legal / article pages ────────────── */
.page-head { background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.page-head .container { padding: 64px 24px 40px; }
.page-head h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; font-weight: 800; letter-spacing: -0.035em; }
.page-head .meta { color: var(--muted); font-size: 14px; margin: 0; }

.article { padding: 52px 0 72px; }
.article h2 { font-size: 19px; margin: 38px 0 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 15px; margin: 20px 0 6px; font-weight: 700; color: var(--ink-2); }
.article p { margin: 0 0 13px; color: var(--ink-2); }
.article ul { margin: 0 0 15px; padding-left: 20px; color: var(--ink-2); }
.article li { margin: 7px 0; }
.article strong { color: var(--ink); font-weight: 700; }

.info-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 13.5px; }
.info-table th, .info-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { color: var(--muted); font-weight: 600; width: 34%; padding-right: 14px; }
.info-table td { color: var(--ink-2); }

.callout { background: var(--mint-tint); border: 1px solid #c9ece7; border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.callout strong { color: var(--ink); }

.steps { margin: 0 0 15px; padding-left: 22px; color: var(--ink-2); }
.steps li { margin: 9px 0; }

/* Customer support hub */
.support-layout { max-width: 980px; }
.support-intro { max-width: 680px; margin-bottom: 30px; }
.article .support-intro h2 { margin: 8px 0 8px; font-size: clamp(24px, 3.4vw, 30px); color: var(--ink); }
.support-intro p { margin: 0; color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.support-card {
  position: relative; display: flex; min-height: 174px; flex-direction: column; align-items: flex-start;
  padding: 25px 26px; border: 1px solid var(--line); border-radius: 20px;
  color: var(--ink); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.support-card::after {
  content: "→"; position: absolute; top: 23px; right: 25px;
  color: var(--muted); font-size: 19px; font-weight: 500;
}
.support-card:hover {
  border-color: var(--mint); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none;
}
.support-card-primary { border-color: #c9ece7; background: var(--mint-tint); }
.support-card-kicker {
  margin-bottom: 20px; color: var(--mint-strong); font-size: 10px; line-height: 1;
  font-weight: 800; letter-spacing: .12em;
}
.support-card strong { margin-bottom: 8px; font-size: 19px; letter-spacing: -0.025em; }
.support-card > span:last-child { max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.support-faq { max-width: 760px; margin: 58px auto 0; }
.support-faq-head { margin-bottom: 16px; }
.article .support-faq h2 { margin: 8px 0 0; font-size: 24px; }
.support-faq details { border-bottom: 1px solid var(--line); }
.support-faq summary {
  position: relative; padding: 20px 38px 20px 0; cursor: pointer;
  color: var(--ink); font-size: 16px; font-weight: 700; list-style: none;
}
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary::after {
  content: "+"; position: absolute; top: 18px; right: 4px;
  color: var(--mint-strong); font-size: 22px; font-weight: 500;
}
.support-faq details[open] summary::after { content: "−"; }
.support-faq details p { padding: 0 38px 20px 0; color: var(--muted); line-height: 1.75; }

/* Grade diagnostic preview */
.diagnostic-head .section-kicker { display: inline-block; margin-bottom: 14px; }
.diagnostic-head .container { padding-bottom: 46px; }
.diagnostic-section {
  min-height: 680px; padding: 48px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.diagnostic-layout { max-width: 860px; }
.diagnostic-note {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
}
.diagnostic-note span {
  padding: 7px 11px; border-radius: 999px; color: var(--mint-strong);
  background: var(--mint-tint); font-size: 12px; font-weight: 700;
}
.diagnostic-panel {
  padding: 38px; border: 1px solid var(--line); border-radius: 26px;
  background: #fff; box-shadow: var(--shadow);
}
.diagnostic-panel [hidden] { display: none !important; }
.diagnostic-panel h2[tabindex="-1"]:focus { outline: none; }
.diagnostic-step-head { max-width: 620px; margin-bottom: 30px; }
.diagnostic-step {
  display: block; margin-bottom: 9px; color: var(--mint-strong);
  font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .12em;
}
.diagnostic-step-head h2,
.result-summary h2 {
  margin: 0 0 10px; color: var(--ink); font-size: clamp(24px, 3.6vw, 30px); letter-spacing: -0.035em;
}
.diagnostic-step-head p,
.result-summary > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.grade-groups { display: grid; gap: 20px; margin-bottom: 30px; }
.grade-group { margin: 0; padding: 0; border: 0; }
.grade-group legend { margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 750; }
.grade-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.grade-group:nth-child(n+2) .grade-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade-options button {
  min-height: 48px; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--ink-2); background: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  transition: border-color .14s ease, background .14s ease, color .14s ease, transform .14s ease;
}
.grade-options button:hover { border-color: var(--mint); background: var(--bg-soft); transform: translateY(-1px); }
.grade-options button.is-selected {
  border-color: var(--mint); color: var(--mint-strong); background: var(--mint-tint);
  box-shadow: inset 0 0 0 1px var(--mint);
}
.diagnostic-primary,
.diagnostic-secondary {
  min-height: 52px; padding: 13px 22px; border-radius: 13px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}
.diagnostic-primary {
  border: 0; color: #fff; background: linear-gradient(135deg, var(--mint), var(--mint-strong));
  box-shadow: 0 10px 22px -12px rgba(20,176,163,.8);
}
#grade-step > .diagnostic-primary { width: 100%; }
.diagnostic-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 13px 26px -13px rgba(20,176,163,.9); }
.diagnostic-primary:disabled { cursor: not-allowed; opacity: .42; box-shadow: none; }
.diagnostic-secondary {
  border: 1px solid var(--line-2); color: var(--ink); background: #fff;
}
.diagnostic-secondary:hover:not(:disabled) { border-color: var(--mint); background: var(--bg-soft); transform: translateY(-1px); }
.diagnostic-secondary:disabled { cursor: not-allowed; opacity: .38; }
.quiz-topline { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.quiz-topline span:first-child { color: var(--mint-strong); }
.quiz-progress { height: 6px; margin: 12px 0 34px; overflow: hidden; border-radius: 999px; background: var(--line); }
.quiz-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--mint); transition: width .2s ease; }
.question-block { min-height: 350px; }
.question-number { display: block; margin-bottom: 10px; color: var(--mint-strong); font-size: 12px; font-weight: 800; }
.question-block h2 { margin: 0 0 24px; color: var(--ink); font-size: clamp(21px, 3vw, 26px); line-height: 1.45; letter-spacing: -0.025em; }
.math-fraction {
  display: inline-grid; grid-template-rows: auto auto; align-items: center; justify-items: center;
  min-width: 1.15em; margin: 0 .12em; vertical-align: -.45em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.math-fraction-numerator,
.math-fraction-denominator { width: 100%; padding-right: .14em; padding-left: .14em; text-align: center; }
.math-fraction-numerator { padding-bottom: .09em; border-bottom: 1.5px solid currentColor; }
.math-fraction-denominator { padding-top: .1em; }
.question-block .math-fraction { font-size: .9em; }
.answer-option .math-fraction,
.review-item .math-fraction { font-size: .94em; }
.answer-options { display: grid; gap: 10px; }
.answer-option {
  display: flex; align-items: center; gap: 13px; min-height: 56px; padding: 11px 16px;
  border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink); background: #fff;
  cursor: pointer; font: inherit; text-align: left; transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.answer-option:hover { border-color: var(--mint); background: var(--bg-soft); transform: translateX(2px); }
.answer-option.is-selected { border-color: var(--mint); background: var(--mint-tint); box-shadow: inset 0 0 0 1px var(--mint); }
.answer-option > span {
  display: grid; width: 30px; height: 30px; flex: none; place-items: center;
  border-radius: 50%; color: var(--muted); background: var(--bg-soft); font-size: 12px; font-weight: 800;
}
.answer-option.is-selected > span { color: #fff; background: var(--mint); }
.answer-option strong { font-size: 15px; font-weight: 700; }
.quiz-actions { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin-top: 28px; }
.result-summary { padding: 6px 0 30px; text-align: center; }
.result-grade { margin: 0 0 10px; color: var(--mint-strong); font-size: 13px; font-weight: 750; }
.result-summary h2 strong { display: block; margin-bottom: 8px; color: var(--mint-strong); font-size: clamp(40px, 7vw, 56px); }
.result-summary > p:last-child { max-width: 600px; margin: 0 auto; }
.result-review { display: grid; gap: 10px; }
.review-item { position: relative; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.review-item.is-correct { border-color: #c9ece7; background: var(--mint-tint); }
.review-item.is-wrong { border-color: #f0d9d9; background: #fffafa; }
.review-status {
  display: inline-block; margin-bottom: 8px; padding: 4px 8px; border-radius: 999px;
  color: var(--mint-strong); background: #fff; font-size: 11px; font-weight: 800;
}
.review-item.is-wrong .review-status { color: #b64a4a; background: #fff0f0; }
.review-item h3 { margin: 0 0 10px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.review-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.review-item .review-answer { color: var(--ink-2); font-weight: 700; }
.diagnostic-disclaimer { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: center; }
.result-actions {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px;
}
.result-actions .play-badge-link { width: 184px; }
.result-actions .diagnostic-secondary { min-height: 50px; }

/* Contact form */
.contact-layout { max-width: 760px; }
.contact-form-section { margin-bottom: 58px; }
.contact-intro { margin-bottom: 26px; }
.article .contact-intro h2 { margin: 8px 0 8px; font-size: clamp(23px, 3.4vw, 29px); color: var(--ink); }
.contact-intro p { margin: 0; color: var(--muted); }
.inquiry-form {
  position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 24px; }
.form-field label, .field-heading label {
  display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 750;
}
.form-field label span, .field-heading label span { color: #e05252; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.field-heading > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px; outline: none;
  color: var(--ink); background: #fff; font: inherit; font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.inquiry-form input, .inquiry-form select { min-height: 52px; padding: 12px 14px; }
.inquiry-form textarea { min-height: 190px; padding: 14px; line-height: 1.7; resize: vertical; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #98a6a3; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  border-color: var(--mint); box-shadow: 0 0 0 3px rgba(20,176,163,.12);
}
.inquiry-form select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f7470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input-with-icon { position: relative; }
.input-with-icon svg {
  position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 21px; height: 21px;
  fill: none; stroke: var(--mint-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.input-with-icon input { padding-left: 46px; }
.email-composer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(148px, .9fr);
  align-items: center; gap: 9px;
}
.email-composer.is-direct { grid-template-columns: 1fr; }
.email-composer.is-direct .email-account-segment,
.email-composer.is-direct .email-at { display: none; }
.email-at { color: var(--muted); font-size: 15px; font-weight: 700; }
.email-direct-field { margin-top: 10px; }
.form-field-hint { margin: 7px 0 0 !important; color: var(--muted) !important; font-size: 12px; }
.honeypot-field {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.form-privacy-note {
  display: flex; align-items: flex-start; gap: 8px; margin: -3px 0 20px !important;
  color: var(--muted) !important; font-size: 13px;
}
.form-privacy-note svg {
  width: 18px; height: 18px; margin-top: 2px; flex: none; fill: none; stroke: var(--mint-strong);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.inquiry-submit {
  width: 100%; min-height: 54px; border: 0; border-radius: 12px; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--mint), var(--mint-strong));
  box-shadow: 0 10px 22px -12px rgba(20,176,163,.8); font: inherit; font-weight: 800;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.inquiry-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 13px 26px -13px rgba(20,176,163,.9); }
.inquiry-submit:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.inquiry-submit:disabled { cursor: wait; opacity: .72; }
.inquiry-submit.is-loading span::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
  vertical-align: -2px; animation: form-spin .7s linear infinite;
}
.form-message { min-height: 24px; margin-top: 12px; text-align: center; font-size: 13px; font-weight: 650; }
.form-message.is-success { color: var(--mint-strong); }
.form-message.is-error { color: #c44343; }
@keyframes form-spin { to { rotate: 360deg; } }

/* ── Footer ───────────────────────────── */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); }
.site-footer .container { padding: 48px 24px 56px; }
.site-footer .f-brand { font-weight: 800; color: var(--ink); font-size: 17px; margin-bottom: 16px; }
.site-footer .f-brand span { color: var(--mint); }
.site-footer .f-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.site-footer .f-nav a { color: var(--muted); font-size: 14px; font-weight: 600; padding: 5px 0; }
.site-footer .f-nav a:hover { color: var(--mint-strong); }
.site-footer .biz { color: var(--muted); font-size: 13px; line-height: 1.9; padding-top: 20px; border-top: 1px solid var(--line); }
.site-footer .biz a { color: var(--muted); text-decoration: underline; }
.site-footer .copy { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* ── Responsive ───────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 420px; }
  .hero-phone { justify-self: center; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-card { flex-basis: calc((100% - 18px) / 2); }
  .diagnostic-teaser { align-items: flex-start; flex-direction: column; gap: 24px; padding: 36px; }
  .blog-card { align-items: flex-start; flex-direction: column; gap: 24px; padding: 36px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .support-nav-inner { justify-content: flex-start; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; }
  .support-nav-inner::-webkit-scrollbar { display: none; }
  .support-nav a { padding: 6px; font-size: 12.5px; }
  .hero .container { padding-top: 60px; padding-bottom: 64px; }
  .section { padding: 56px 0; }
  .hero p.lead { font-size: 16.5px; }
  .site-header .container:has(.home-nav) { gap: 8px; }
  .home-nav { width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 5px; }
  .home-nav a { flex: 1; padding: 6px 8px; text-align: center; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-phone { width: min(100%, 310px); height: 500px; border-width: 7px; border-radius: 34px; }
  .screen-grid { grid-template-columns: 1fr; }
  .showcase-banner { margin-inline: -4px; border-radius: 18px; }
  .promo-grid { gap: 16px; }
  .promo-card { flex-basis: 100%; border-radius: 18px; }
  .download-card { align-items: stretch; flex-direction: column; padding: 22px; border-radius: 20px; }
  .download-card .play-badge-link { width: 188px; }
  .screen-copy { min-height: auto; margin-bottom: 20px; }
  .phone-shot { width: min(100%, 246px); height: 440px; }
  .privacy-note { text-align: left; line-height: 1.6; }
  .diagnostic-teaser { padding: 30px 24px; }
  .diagnostic-teaser-cta { width: 100%; }
  .blog-card { padding: 30px 24px; }
  .btn-blog { width: 100%; }
  .inquiry-form { padding: 22px 18px; border-radius: 16px; }
  .inquiry-form textarea { min-height: 210px; }
  .email-composer { grid-template-columns: minmax(0, 1fr) auto minmax(126px, .9fr); gap: 7px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 158px; padding: 22px; border-radius: 17px; }
  .support-card::after { top: 20px; right: 21px; }
  .support-faq { margin-top: 46px; }
  .diagnostic-head .container { padding-top: 52px; padding-bottom: 36px; }
  .diagnostic-section { padding: 34px 0 60px; }
  .diagnostic-panel { padding: 25px 20px; border-radius: 20px; }
  .grade-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .question-block { min-height: 390px; }
  .quiz-actions { grid-template-columns: 94px 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions .play-badge-link { width: 188px; align-self: center; }
  .result-actions .diagnostic-secondary { width: 100%; }
  .site-header .brand::before { width: 32px; height: 32px; border-radius: 10px; vertical-align: -10px; }
}

/* ── Enhancements: 로고 마크 · 모션 · 접근성 ─────────── */
.brand::before, .f-brand::before {
  content: ""; display: inline-block; vertical-align: -11px; width: 36px; height: 36px; margin-right: 10px;
  border-radius: 11px; background: url("/assets/brand/momorete-app-icon.png") center / cover no-repeat;
  box-shadow: 0 3px 10px -6px rgba(14, 43, 39, .5);
}
.f-brand::before { width: 28px; height: 28px; border-radius: 9px; vertical-align: -8px; margin-right: 8px; }

.hero-card .hc-row span:last-child { font-variant-numeric: tabular-nums; }

/* 헤더 스크롤 시 은은한 그림자 (JS가 .scrolled 토글) */
.site-header { transition: box-shadow .2s ease, background .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -16px rgba(14, 43, 39, 0.4); }

/* 포커스 접근성 */
a:focus-visible, .btn:focus-visible, .site-nav a:focus-visible, .support-nav a:focus-visible, .cta-links a:focus-visible,
.grade-options button:focus-visible, .answer-option:focus-visible, .diagnostic-primary:focus-visible, .diagnostic-secondary:focus-visible {
  outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px;
}

/* 스크롤 등장 모션 (.js 일 때만 — JS 없으면 항상 보임) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover, .grade-options button:hover, .answer-option:hover,
  .diagnostic-primary:hover, .diagnostic-secondary:hover { transform: none; }
  .inquiry-submit.is-loading span::before { animation: none; }
}
