/* ==========================================================================
   겨우뜨개 — 공개 웹사이트 스타일
   모바일 우선, 따뜻한 "코지 니팅" 브랜드
   ========================================================================== */

:root {
  --primary: #E47F93;
  --primary-dark: #C25E74;
  --primary-soft: #FDE8EC;
  --accent: #F4AE86;
  --accent-soft: #FEF0E6;
  --bg: #FFF8F7;
  --surface: #FFFFFF;
  --surface-alt: #FCF0F2;
  --text: #3A2D31;
  --text-sub: #7A666C;
  --text-muted: #A9969C;
  --border: #F5E3E7;
  --border-strong: #EBD2D8;
  --success: #52AE87;
  --success-soft: #E3F5EC;
  --danger: #E5707C;
  --danger-soft: #FDEAEC;
  --info: #6E9BD8;
  --info-soft: #E8F0FB;
  --warning: #F0B25C;
  --warning-soft: #FEF3E2;

  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(58, 45, 49, 0.04), 0 4px 12px rgba(58, 45, 49, 0.05);
  --shadow: 0 2px 4px rgba(58, 45, 49, 0.04), 0 12px 32px rgba(228, 127, 147, 0.12);
  --shadow-lg: 0 24px 64px rgba(228, 127, 147, 0.22);

  --header-h: 64px;
  --section-y: 64px;
  --container: 1120px;
  --gutter: 20px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

@media (min-width: 900px) {
  :root {
    --section-y: 96px;
    --header-h: 72px;
    --gutter: 32px;
  }
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--soft { background: var(--primary-soft); }
.section--surface { background: var(--surface); }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section--soft .eyebrow { background: var(--surface); }

.section-title {
  font-size: clamp(1.625rem, 2.5vw + 1rem, 2.375rem);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-sub);
  font-size: 1.0625rem;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left .section-desc { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(228, 127, 147, 0.28);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(228, 127, 147, 0.32); }

.btn-outline {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-soft); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text-muted); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* 스토어 버튼 (출시 준비 중 툴팁) */
.btn-store {
  position: relative;
  background: var(--text);
  color: #fff;
  min-height: 56px;
  padding: 0 20px 0 16px;
  text-align: left;
  gap: 10px;
}
.btn-store:hover { background: #4A3A3F; }
.btn-store svg { width: 26px; height: 26px; }
.btn-store .store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.btn-store .store-label small { font-size: 0.6875rem; font-weight: 500; opacity: 0.85; }
.btn-store .store-label span { font-size: 1.0625rem; font-weight: 700; }

.btn-store .tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 5;
}
.btn-store .tooltip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary-dark);
}
.btn-store:hover .tooltip,
.btn-store:focus-visible .tooltip,
.btn-store.is-showing .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 248, 247, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.brand .brand-tagline {
  display: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
@media (min-width: 600px) { .brand .brand-tagline { display: inline; } }

.nav { display: flex; align-items: center; gap: 8px; }

.nav-menu {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  list-style: none;
}
.nav-menu.is-open { display: flex; }
.nav-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.nav-menu a:hover { background: var(--primary-soft); color: var(--primary); }
.nav-menu li.nav-cta-mobile { margin-top: 8px; }
.nav-menu li.nav-cta-mobile .btn { width: 100%; }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-left: 4px;
}
.nav-toggle .bars {
  position: relative;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.15s ease;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .nav { gap: 24px; }
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-menu a { padding: 8px 14px; font-weight: 600; font-size: 0.9375rem; }
  .nav-menu li.nav-cta-mobile { display: none; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(244, 174, 134, 0.18) 0%, rgba(244, 174, 134, 0) 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(228, 127, 147, 0.12) 0%, rgba(228, 127, 147, 0) 70%),
    var(--bg);
}
.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy { text-align: center; }
.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.375rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.28em;
  background: rgba(244, 174, 134, 0.38);
  border-radius: 4px;
  z-index: -1;
}
.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-sub);
  max-width: 68ch;
  margin: 0 auto 28px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero .container { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .hero-desc { margin-left: 0; font-size: 1.125rem; }
  .hero-actions { flex-direction: row; max-width: none; margin: 0; }
  .hero-visual { justify-content: flex-end; }
}

/* ---------- Phone mockup (CSS only) ---------- */
.phone {
  --phone-w: 280px;
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: #2E2427;
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.07);
  flex: none;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 24px;
  background: #2E2427;
  border-radius: var(--pill);
  z-index: 3;
}
.phone-screen {
  height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
}
.phone-sm { --phone-w: 236px; }
.phone-sm .phone-screen { font-size: 11px; }

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
}
.app-status i {
  display: inline-block;
  width: 26px; height: 11px;
  border: 1.5px solid var(--text-muted);
  border-radius: 4px;
  position: relative;
}
.app-status i::after {
  content: "";
  position: absolute;
  inset: 2px;
  right: 6px;
  background: var(--success);
  border-radius: 2px;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 10px;
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -0.02em;
}
.app-bar .app-bar-sub {
  display: block;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--text-muted);
}
.app-bar .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.app-bar .back {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-right: 8px;
  font-size: 0.8em;
}

.app-tabs {
  display: flex;
  gap: 6px;
  padding: 0 18px 12px;
}
.app-tabs span {
  padding: 5px 11px;
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--text-sub);
  font-weight: 600;
  border: 1px solid var(--border);
}
.app-tabs span.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.app-body {
  flex: 1;
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.proj-card {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.proj-thumb {
  width: 52px; height: 52px;
  border-radius: 10px;
  flex: none;
  background-size: 8px 8px;
}
.thumb-1 { background-color: #E8A0AE; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 3px, transparent 3px 8px); }
.thumb-2 { background-color: #F4AE86; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 3px, transparent 3px 8px); }
.thumb-3 { background-color: #7E9C8B; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 3px, transparent 3px 8px); }
.thumb-4 { background-color: #C25E74; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 3px, transparent 3px 8px); }
.proj-body { flex: 1; min-width: 0; }
.proj-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 48px;
}
.proj-meta { color: var(--text-muted); font-size: 0.92em; margin-top: 1px; }
.progress {
  margin-top: 7px;
  height: 6px;
  background: var(--primary-soft);
  border-radius: var(--pill);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--pill);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--pill);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.proj-card .badge { position: absolute; top: 10px; right: 10px; }
.badge-wip { background: var(--accent-soft); color: #B0603A; }
.badge-done { background: rgba(82, 174, 135, 0.16); color: #2F7A58; }
.badge-wish { background: var(--primary-soft); color: var(--primary); }
.badge-paused { background: #F5ECEE; color: var(--text-sub); }

.app-fab {
  position: absolute;
  right: 22px; bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(228, 127, 147, 0.4);
}

.app-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 10px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.82em;
  color: var(--text-muted);
}
.app-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.app-tabbar span::before {
  content: "";
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--border);
}
.app-tabbar span.is-active { color: var(--primary); font-weight: 700; }
.app-tabbar span.is-active::before { background: var(--primary); }

/* 상세 화면 */
.app-hero-img {
  height: 92px;
  border-radius: 14px;
  background-color: #E8A0AE;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.16) 0 4px, transparent 4px 10px),
    linear-gradient(135deg, #F2B3BF, #D9667F);
}
.app-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.app-card-title { font-weight: 800; font-size: 1.1em; margin-bottom: 4px; }
.app-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-top: 6px;
}
.app-kv div { display: flex; flex-direction: column; }
.app-kv small { color: var(--text-muted); font-size: 0.85em; }
.app-kv b { font-weight: 700; }
.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.app-row:first-child { border-top: 0; padding-top: 0; }
.app-row .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex: none;
  margin-right: 8px;
}
.app-row .label { display: flex; align-items: center; flex: 1; font-weight: 600; min-width: 0; }
.app-row .label small { color: var(--text-muted); font-weight: 500; margin-left: 6px; }
.app-row .value { color: var(--text-sub); font-weight: 600; white-space: nowrap; }

.app-total {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}
.app-total small { opacity: 0.8; font-size: 0.9em; }
.app-total strong { display: block; font-size: 1.5em; font-weight: 800; letter-spacing: -0.02em; }

/* 카운터 화면 */
.counter-main {
  text-align: center;
  padding: 10px 0 6px;
}
.counter-main .num {
  font-size: 4.6em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.counter-main .unit { color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.counter-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.counter-btns span {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 600;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-sub);
}
.counter-btns span.plus { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(228, 127, 147, 0.35); }
.counter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.counter-chips span {
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-sub);
}
.counter-chips span b { color: var(--primary); margin-left: 4px; }
.counter-chips span.is-active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* ---------- Features ---------- */
.features {
  display: grid;
  gap: 16px;
  list-style: none;
}
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-sub); font-size: 0.9875rem; max-width: 68ch; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  list-style: none;
}
.feature-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--bg);
  color: var(--text-sub);
  border: 1px solid var(--border);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(228, 127, 147, 0.3);
}
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { color: var(--text-sub); max-width: 68ch; }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px; right: -24px;
    width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 4px, transparent 4px 8px);
    opacity: 0.6;
  }
}

/* ---------- Screens strip ---------- */
.screens {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px;
  margin: 0 calc(var(--gutter) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screen-item {
  scroll-snap-align: center;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screen-caption { text-align: center; }
.screen-caption h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.screen-caption p { color: var(--text-sub); font-size: 0.9375rem; max-width: 26ch; }
.screens-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
@media (min-width: 900px) {
  .screens {
    overflow: visible;
    justify-content: center;
    gap: 48px;
    margin: 0;
    padding: 8px 0 0;
  }
  .screens-hint { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  margin-right: 4px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-body {
  padding: 0 20px 20px;
  color: var(--text-sub);
}
.faq-body p { max-width: 68ch; }
.faq-body p + p { margin-top: 8px; }

/* ---------- Download CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cta-band::before { width: 260px; height: 260px; top: -120px; right: -80px; }
.cta-band::after { width: 180px; height: 180px; bottom: -90px; left: -60px; border-color: rgba(244, 174, 134, 0.25); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw + 1rem, 2.25rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 68ch; margin: 0 auto 28px; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-band .btn-store { background: #fff; color: var(--text); }
.cta-band .btn-store:hover { background: var(--primary-soft); }
.cta-band .btn-store .tooltip { background: var(--text); }
.cta-band .btn-store .tooltip::after { border-top-color: var(--text); }
.cta-sub { margin-top: 20px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.cta-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 600px) {
  .cta-band { padding: 64px 40px; }
  .cta-actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  color: var(--text-sub);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; max-width: 40ch; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
}
.footer-links a { color: var(--text-sub); font-weight: 600; }
.footer-links a:hover { color: var(--primary); }
/* 사업자 정보 (전자상거래법 표시) */
.footer-biz {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-sub);
}
.biz-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; line-height: 1.6; }
.biz-sep { color: var(--border-strong); }
.biz-toggle {
  font: inherit;
  color: var(--text-sub);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.biz-toggle:hover { color: var(--primary-dark); }
.biz-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.biz-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .2s; }
.biz-toggle[aria-expanded="true"] .biz-caret { transform: rotate(180deg); }
.biz-info { margin: 12px 0 0; padding: 14px 16px; background: var(--surface-alt); border-radius: 12px; display: grid; gap: 6px; }
.biz-info[hidden] { display: none; }
.biz-info > div { display: flex; gap: 12px; line-height: 1.6; }
.biz-info dt { flex: 0 0 52px; color: var(--text-muted); }
.biz-info dd { margin: 0; color: var(--text); word-break: keep-all; overflow-wrap: anywhere; }
.biz-info a { color: var(--primary-dark); }
.footer-biz + .footer-meta { margin-top: 14px; padding-top: 0; border-top: 0; }

.footer-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-meta a { color: var(--text-sub); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-meta { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Sub pages (약관 / 안내 / 공지) ---------- */
.page-hero {
  padding: 48px 0 32px;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(244, 174, 134, 0.14) 0%, rgba(244, 174, 134, 0) 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { max-width: 820px; }
.page-title { font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem); margin-bottom: 10px; }
.page-lead { color: var(--text-sub); font-size: 1.0625rem; max-width: 68ch; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta .chip {
  padding: 2px 10px;
  border-radius: var(--pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
@media (min-width: 900px) { .page-hero { padding: 72px 0 40px; } }

.page-body { padding: 40px 0 var(--section-y); }
.page-body .container { max-width: 820px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--text-sub); }

/* 긴 글 */
.prose { font-size: 1.0625rem; line-height: 1.85; }
.prose > * + * { margin-top: 14px; }
.prose h2 {
  font-size: 1.375rem;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.prose h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  color: var(--primary-dark);
}
.prose h2 + p, .prose h3 + p, .prose h3 + ul, .prose h3 + ol { margin-top: 10px; }
.prose p, .prose li { max-width: 68ch; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 6px; }
.prose small { color: var(--text-muted); }
.prose .muted { color: var(--text-sub); }

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) { .doc-card { padding: 40px 36px; } }

.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.callout > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.callout p { max-width: 68ch; }
.callout strong { display: block; margin-bottom: 4px; }
.callout--info { background: var(--primary-soft); border-color: rgba(228, 127, 147, 0.2); color: var(--primary-dark); }
.callout--info strong { color: var(--primary-dark); }
.callout--warn { background: var(--warning-soft); border-color: rgba(240, 178, 92, 0.45); }
.callout--warn > svg { color: #B47A1E; }
.callout--danger { background: var(--danger-soft); border-color: rgba(229, 112, 124, 0.35); }
.callout--danger > svg { color: var(--danger); }
.callout--danger strong { color: #B8475A; }

/* 로딩 / 상태 */
.state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 48px 20px;
  color: var(--text-sub);
}
.state[hidden] { display: none; }
.state svg { width: 48px; height: 48px; color: var(--text-muted); }
.state p { max-width: 48ch; }
.state .state-title { font-weight: 700; color: var(--text); font-size: 1.0625rem; }
.spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 4px solid var(--primary-soft);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  border: 1px solid rgba(240, 178, 92, 0.45);
  color: #7A5212;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.notice-banner[hidden] { display: none; }
.notice-banner svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* 탈퇴 안내 단계 */
.flow {
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: flow;
}
.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  counter-increment: flow;
}
.flow li::before {
  content: counter(flow);
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}
.flow li small { display: block; font-weight: 500; color: var(--text-muted); font-size: 0.875rem; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .flow li { flex-direction: column; text-align: center; align-items: center; padding: 18px 12px; }
  .flow li::after {
    content: "";
    position: absolute;
    top: 50%; right: -12px;
    width: 12px; height: 2px;
    background: var(--border);
  }
  .flow li:last-child::after { display: none; }
}

.delete-list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.delete-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.delete-list li svg { width: 20px; height: 20px; flex: none; color: var(--danger); margin-top: 3px; }
@media (min-width: 600px) { .delete-list { grid-template-columns: repeat(2, 1fr); } }

.mail-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.mail-box dl { margin: 0; display: grid; gap: 10px; }
.mail-box dt { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); }
.mail-box dd { margin: 2px 0 0; font-weight: 600; }
.mail-box code {
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.mail-box .btn { margin-top: 16px; }

/* 공지 목록 */
.notice-list { display: grid; gap: 12px; }
.notice-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.notice-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item .notice-title {
  flex: 1;
  font-weight: 700;
  font-size: 1.0625rem;
  min-width: 0;
}
.notice-item .notice-date {
  flex: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.notice-item summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}
.notice-item[open] summary::after { transform: rotate(-135deg); }
.notice-item[open] .notice-title { color: var(--primary); }
.notice-body {
  padding: 0 20px 20px;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin: 0 20px 0;
  padding-left: 0; padding-right: 0;
  color: var(--text-sub);
}
.notice-body p { max-width: 68ch; }
.notice-body p + p { margin-top: 8px; }
.notice-body a { word-break: break-all; }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: var(--section-y) 0;
}
.notfound .container { max-width: 560px; }
.notfound-art { width: 140px; height: 140px; margin: 0 auto 24px; }
.notfound-code {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.notfound h1 { font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem); margin-bottom: 12px; }
.notfound p { color: var(--text-sub); max-width: 48ch; margin: 0 auto 28px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sub { color: var(--text-sub); }
