/* Factorlet WWW. 토큰과 규칙은 DESIGN.md를 따른다. */

:root {
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --surface-white: #ffffff;
  --surface-dark: #12302a;
  --ink: #1b2420;
  --body: #3d4540;
  --muted: #5c655f;
  --hairline: #e4dfd0;
  --hairline-strong: #cfc9b8;
  --control-border: #8c8676; /* 눌러야 하는 것의 테두리(크림 위 3.5:1) */
  --primary: #183e36;
  --primary-active: #0f2b25;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #b9cbc4;
  --accent: #b4441f;
  --stage: #e5eee8;
  --stage-active-border: #183e36;
  --focus: #1d5fd1;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --section-mid: clamp(48px, 6vw, 72px);
  --section-near: clamp(32px, 4vw, 48px);
  --shadow: 0 8px 24px rgba(27, 36, 32, 0.08);
  --header-h: 64px;
}

/* 포트폴리오 표지 색: 표지와 그 상세의 번호 표식에만 쓴다 */
.cover-media { background-color: #f3ae94; }
.cover-interview { background-color: #d4c3e8; }
.cover-community { background-color: #b9d8c9; }
.cover-print { background-color: #eac77b; }
.cover-model { background-color: #bed6ec; }
.cover-crew { background-color: #9acac8; }
.cover-hardware { background-color: #e0cfb7; }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p, li, dt, dd, figcaption { text-wrap: pretty; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }
summary { cursor: pointer; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- 글자 ---------- */
.display-xl { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; line-height: 1.22; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.display-md { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.title-lg { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.title-md { font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -0.005em; }
.title-sm { font-size: 17px; font-weight: 650; line-height: 1.45; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--body); max-width: 36em; }
.eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--accent); }
.label { margin-bottom: 10px; font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--muted); }

/* ---------- 건너뛰기 링크 ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); }
.btn-secondary { background: var(--canvas); color: var(--ink); border-color: var(--control-border); }
.btn-secondary:hover { background: var(--surface-soft); border-color: var(--ink); }
.btn-light { background: var(--surface-white); color: var(--primary); }
.btn-light:hover { background: var(--surface-card); }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-dark:hover { border-color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 상단 메뉴 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--canvas); }
.nav { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.wordmark-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; text-decoration: none; }
.wordmark { width: 112px; height: auto; }
.wordmark text { font-family: var(--font); font-size: 28px; font-weight: 760; fill: var(--ink); }
.wordmark .wm-let { fill: var(--accent); }

.nav-links, .nav-cta { display: none; }
.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--control-border);
  border-radius: var(--r-md);
  color: var(--ink);
  font-weight: 650;
  list-style: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 8px var(--gutter) 24px;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  box-shadow: var(--shadow);
}
.nav-panel li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
}
.nav-panel li a[aria-current="page"]::after { content: "현재"; margin-left: 10px; font-size: 13px; color: var(--muted); }
.nav-panel .btn { width: 100%; margin-top: 20px; }

@media (min-width: 768px) {
  .nav { gap: 24px; }
  .wordmark-link { margin-right: 0; }
  .nav-links { display: block; margin-inline: auto; }
  .nav-links ul { display: flex; gap: 4px; }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--r-sm);
    color: var(--ink);
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
  }
  .nav-links a:hover { background: var(--surface-card); }
  .nav-links a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
  }
  .nav-cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 15px; }
  .nav-mobile { display: none; }
}

/* ---------- 구역 ---------- */
.section { padding-top: var(--section); }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }
.section-mid { padding-top: var(--section-mid); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .lead { margin-top: 14px; }
.more-link { margin-top: 28px; }
.more-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.page-head { padding-top: clamp(28px, 5vw, 64px); }
.page-head .lead { margin-top: 16px; }

/* ---------- 첫 화면 ---------- */
.hero { padding-top: clamp(20px, 5vw, 64px); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-text .lead { margin-top: 20px; }
.hero-text .actions { margin-top: 32px; }
.cta-note { margin-top: 14px; color: var(--muted); }
.hero-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.hero-art img, .hero-art video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) {
  .hero-art { aspect-ratio: 2 / 1; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .hero-art { aspect-ratio: 4 / 3; }
}

/* 영상: 줄어든 동작이면 포스터 이미지만 보인다 */
.motion-poster { display: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-video { display: none; }
  .motion-poster { display: block; }
}

/* ---------- 단계 선택기 ---------- */
/* 모바일: 2열 격자, 알약 안에 번호·이름과 그 아래 창업가의 말. 768px 이상: 알약 아래에 말. */
.stage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
.stage-item-all { grid-column: 1 / -1; }
.stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "no name" "voice voice";
  align-items: center;
  gap: 4px 8px;
  height: 100%;
  min-height: 44px;
  padding: 8px 12px 10px 8px;
  border: 1px solid var(--control-border);
  border-radius: 18px;
  background: var(--stage);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.stage-pill { display: contents; }
.stage-item-all .stage { display: inline-flex; align-items: center; height: auto; padding: 0 18px; border-radius: var(--r-pill); }
.stage:hover { border-color: var(--ink); }
.stage-no {
  display: inline-grid;
  grid-area: no;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-white);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stage-name { grid-area: name; font-size: 15px; font-weight: 650; line-height: 1.3; }
.stage-voice { grid-area: voice; font-size: 13px; line-height: 1.45; color: var(--muted); }
.stage-check {
  display: none;
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
}
.stage[aria-current] {
  border-color: var(--stage-active-border);
  background: var(--surface-white);
  box-shadow: inset 0 0 0 1px var(--stage-active-border);
}
.stage[aria-current] .stage-no { background: var(--stage); }
.stage[aria-current] .stage-voice { color: var(--ink); }
.stage[aria-current] .stage-check { display: block; }

.filter-status { margin: 22px 0 20px; padding-left: 12px; border-left: 3px solid var(--primary); }
.filter-count { color: var(--ink); font-weight: 600; }
.filter-hint { margin-top: 4px; color: var(--body); }
.filter-hint a { font-weight: 600; }

@media (min-width: 768px) {
  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
  .stage, .stage-item-all .stage, .stage[aria-current] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: var(--r-lg);
    background: none;
    box-shadow: none;
  }
  .stage-item-all .stage { align-items: flex-start; }
  .stage:focus-visible { outline: none; }
  .stage:focus-visible .stage-pill { outline: 3px solid var(--focus); outline-offset: 2px; }
  .stage-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 7px 16px 7px 7px;
    border: 1px solid var(--control-border);
    border-radius: var(--r-pill);
    background: var(--stage);
    transition: background-color 0.15s, border-color 0.15s;
  }
  .stage-item-all .stage-pill { padding-left: 16px; }
  .stage-no { width: 26px; height: 26px; }
  .stage:hover .stage-pill { border-color: var(--ink); }
  .stage[aria-current] .stage-pill {
    border-color: var(--stage-active-border);
    background: var(--surface-white);
    box-shadow: inset 0 0 0 1px var(--stage-active-border);
  }
  .stage-voice { padding-inline: 10px; font-size: 15px; line-height: 1.5; }
}
@media (min-width: 1200px) {
  .stage-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stage-item { position: relative; }
  .stage-item:not(.stage-item-all):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    right: -14px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--hairline-strong);
  }
}

/* ---------- 포트폴리오 카드 ---------- */
/* 읽는 순서: 결과 제목 → 받는 것 → 예시 한 줄 → 필요한 상황 → (작게) 도구 이름·단계 */
.pf-grid { display: grid; gap: 14px; }
.pf-item, .pf-cta { display: flex; }
.pf-card {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "cover title"
    "outputs outputs"
    "sample sample"
    "when when"
    "meta meta";
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 14px;
  align-content: start;
  padding: 12px 14px 14px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pf-card:hover { border-color: var(--hairline-strong); box-shadow: var(--shadow); }
.pf-cover {
  grid-area: cover;
  align-self: start;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
}
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-title { grid-area: title; align-self: center; font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -0.005em; }
.pf-link { color: var(--ink); text-decoration: none; }
.pf-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); }
.pf-link:focus-visible { outline: none; }
.pf-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.pf-card:hover .pf-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.pf-label { font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--muted); }
.pf-outputs { grid-area: outputs; margin-top: 14px; }
.pf-outputs .pf-label { margin-bottom: 6px; }
.pf-outputs ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-outputs li {
  padding: 3px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--surface-soft);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink);
}
.pf-sample {
  grid-area: sample;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-card);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.pf-sample .pf-label { display: block; margin-bottom: 2px; }
.pf-when { grid-area: when; margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--body); }
.pf-when .pf-label { margin-right: 4px; }
.pf-meta {
  display: flex;
  flex-wrap: wrap;
  grid-area: meta;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.pf-tool { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.pf-meta .stage-tag { font-size: 13px; }

/* 단계 표식(작은 알약) */
.stage-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: var(--r-pill);
  background: var(--stage);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.stage-tag-no {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* 격자 끝의 상담 타일. data-count(보이는 카드 수)에 맞춰 마지막 줄의 빈칸을 채운다. */
.pf-cta-card {
  display: grid;
  flex: 1;
  gap: 16px;
  align-content: center;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.pf-cta-art { width: 96px; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); }
.pf-cta-art img { width: 100%; height: 100%; object-fit: cover; }
.pf-cta-text p { margin-top: 8px; }
.pf-cta-text .btn { margin-top: 18px; }

@media (min-width: 768px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .pf-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "cover" "title" "outputs" "sample" "when" "meta";
    grid-template-rows: auto auto auto auto 1fr auto;
    padding: 12px 12px 18px;
  }
  .pf-card > :not(.pf-cover) { margin-inline: 12px; }
  .pf-cover { border-radius: var(--r-lg); }
  .pf-title { align-self: start; margin-top: 18px; font-size: 20px; }
  .pf-cta-art { width: 120px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pf-grid:is([data-count="2"], [data-count="4"], [data-count="6"]) .pf-cta { grid-column: 1 / -1; }
  .pf-grid:is([data-count="2"], [data-count="4"], [data-count="6"]) .pf-cta-card { grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
  .pf-grid:is([data-count="2"], [data-count="4"], [data-count="6"]) .pf-cta-art { order: 2; width: 100%; }
}
@media (min-width: 1024px) {
  .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; }
  .pf-grid:is([data-count="1"], [data-count="4"], [data-count="7"]) .pf-cta { grid-column: span 2; }
  .pf-grid:is([data-count="3"], [data-count="6"]) .pf-cta { grid-column: 1 / -1; }
  .pf-grid:is([data-count="1"], [data-count="3"], [data-count="4"], [data-count="6"], [data-count="7"]) .pf-cta-card {
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    padding: 32px 36px;
  }
  .pf-grid:is([data-count="1"], [data-count="3"], [data-count="4"], [data-count="6"], [data-count="7"]) .pf-cta-art { order: 2; width: 100%; }
}

/* ---------- 걸음 도식 (홈 함께 일하는 방식, 소개 일하는 순서, 상담 절차) ---------- */
.method { display: grid; gap: 28px; }
.method-step {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--surface-card);
}
.method-step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--hairline-strong);
  border-bottom: 2px solid var(--hairline-strong);
  transform: translateX(-50%) rotate(45deg);
}
.method-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-white);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.method-key { margin-top: 18px; font-size: clamp(28px, 3vw, 36px); font-weight: 750; line-height: 1.1; letter-spacing: -0.02em; color: var(--primary); }
.method-step h3 { margin-top: 10px; }
.method-step h3 + p { margin-top: 8px; }
.method-no + h3 { margin-top: 18px; }
@media (min-width: 768px) {
  .method { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .method-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .method-step:not(:last-child)::after {
    top: 50%;
    right: -23px;
    bottom: auto;
    left: auto;
    border-right: 2px solid var(--hairline-strong);
    border-bottom: 0;
    border-top: 2px solid var(--hairline-strong);
    transform: translateY(-50%) rotate(45deg);
  }
}

/* ---------- 대표 역량 ---------- */
/* 핵심어(크게) → 사실 → 이 경험이 쓰이는 곳. 홈은 작은 4열, 소개는 큰 2열(.comp-grid-lg). */
.comp-grid { display: grid; gap: 12px; }
.comp-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface-white);
}
.comp-art { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--surface-card); }
.comp-art img { width: 100%; height: 100%; object-fit: cover; }
.comp-text { padding-top: 2px; }
.comp-axis { font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--accent); }
.comp-key { margin-top: 2px; color: var(--ink); font-size: 22px; font-weight: 750; line-height: 1.25; letter-spacing: -0.01em; }
.comp-fact { margin-top: 6px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.comp-mean { margin-top: 8px; font-size: 15px; line-height: 1.65; }
.comp-grid-lg { gap: 16px; }
.comp-grid-lg .comp-card { padding: 16px; }
.comp-grid-lg .comp-key { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.015em; }
.comp-grid-lg .comp-fact { margin-top: 10px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 650; line-height: 1.5; }
.comp-grid-lg .comp-mean { margin-top: 10px; font-size: 16px; }
.leader-closing {
  max-width: 40em;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 650;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .comp-card { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 22px; }
  .comp-text { padding: 6px 10px 0; }
  .comp-grid-lg .comp-card { grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 20px; padding: 16px 20px 16px 16px; }
  .comp-grid-lg .comp-text { padding: 0; }
}
@media (min-width: 1024px) {
  .comp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .comp-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .comp-grid-lg .comp-card { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 20px 24px 20px 20px; }
}

/* ---------- 프로그램 카드 (홈) ---------- */
.prog-grid { display: grid; gap: 16px; }
.prog-card {
  position: relative;
  padding: 12px 12px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface-white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.prog-card:hover { border-color: var(--hairline-strong); box-shadow: var(--shadow); }
.prog-art { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--surface-card); }
.prog-art img { width: 100%; height: 100%; object-fit: cover; }
.prog-card h3 { margin: 18px 10px 0; }
.prog-link { color: var(--ink); text-decoration: none; }
.prog-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.prog-link:focus-visible { outline: none; }
.prog-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.prog-card:hover .prog-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.prog-who { margin: 6px 10px 0; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.prog-summary { margin: 10px 10px 0; font-size: 15px; line-height: 1.65; }
@media (min-width: 768px) {
  .prog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- 상담 유도 띠 ---------- */
.cta-band {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--surface-dark);
  color: var(--on-dark);
}
.cta-band h2 { color: var(--on-dark); }
.cta-band p { margin-top: 12px; font-size: 17px; color: var(--on-dark-soft); }
.cta-band .actions { margin-top: 28px; }
.cta-band :focus-visible { outline-color: var(--on-dark); }
.cta-art { display: none; }
@media (min-width: 768px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) 220px; }
  .cta-art { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-card); }
  .cta-art img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- 바닥글 ---------- */
.site-footer { margin-top: var(--section); padding-block: 48px 32px; background: var(--surface-soft); color: var(--body); }
.footer-grid { display: grid; gap: 24px; }
.footer-brand .wordmark-link { margin-left: -2px; }
.footer-slogan { margin-top: 12px; color: var(--ink); font-weight: 550; }
.footer-sub { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -10px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.footer-bottom a { color: var(--accent); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .footer-nav ul { margin: 0; }
}

/* ---------- 포트폴리오 상세 ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--hairline-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.detail-head { padding-top: 8px; }
.detail-head-grid { display: grid; gap: 32px; margin-top: 8px; }
.badge-internal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: var(--surface-white);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}
.badge-internal::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; }
.detail-head h1 { margin-top: 12px; }
.detail-tool { font-size: 15px; font-weight: 650; color: var(--muted); }
.gist { display: grid; gap: 10px; margin-top: 20px; }
.gist-item { padding: 14px 16px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface-white); }
.gist-check { border-color: transparent; background: var(--surface-card); }
.gist-item dt { margin-bottom: 4px; font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--muted); }
.gist-item dd { color: var(--ink); font-weight: 600; line-height: 1.55; }
@media (min-width: 640px) {
  .gist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.detail-head .lead { margin-top: 18px; }
.for-whom { margin-top: 28px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li + li { margin-top: 8px; }
.checklist li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 4px;
  width: 13px;
  height: 7px;
  border-bottom: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.internal-note {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  color: var(--body);
}
.detail-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .detail-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
}

/* 왼쪽 제목, 오른쪽 본문 */
.split { display: grid; gap: 24px; padding-top: var(--section); }
.split-head p { margin-top: 12px; max-width: 30em; color: var(--muted); }
.split-body { min-width: 0; max-width: 760px; }
.split-mid { padding-top: var(--section-mid); }
.split-near { padding-top: var(--section-near); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .split-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

.outputs-panel { padding: 20px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.output-tiles { display: grid; gap: 10px; }
.output-tiles li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.45;
}
.output-no {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .output-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}
.first-note {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.gains-title { margin-top: 36px; }
.gains { margin-top: 10px; border-top: 1px solid var(--hairline); }
.gains > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.gains dt { color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.45; }
@media (min-width: 768px) {
  .gains > div { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
}
.points { display: grid; gap: 10px; }
.points li {
  position: relative;
  padding: 16px 18px 16px 50px;
  border-radius: var(--r-md);
  background: var(--surface-card);
  color: var(--ink);
}
.points li::before {
  content: "";
  position: absolute;
  top: 1.45em;
  left: 20px;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* 생성 예시 */
.gen-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  vertical-align: middle;
}
.example-group { margin-top: 40px; }
.example-images { display: grid; gap: 14px; margin-top: 14px; }
.example-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 640px) {
  .example-images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.example-video { margin-top: 14px; }
.media-frame { overflow: hidden; border-radius: var(--r-lg); background: var(--surface-card); }
.media-frame video, .media-frame img { width: 100%; }
.example-audio { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 768px) {
  .example-audio { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.audio-card { padding: 16px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface-white); }
.audio-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 16px; font-weight: 650; }
.audio-card audio { width: 100%; margin-top: 12px; }
.transcript { margin-top: 6px; }
.transcript summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; }
.transcript p { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-soft); color: var(--ink); }

/* 솔직한 한계 */
.limits-note { padding: 24px; border-radius: var(--r-lg); background: var(--surface-card); }
.limits-note .eyebrow { margin-bottom: 6px; }
.limits-list li { position: relative; padding: 14px 0 14px 30px; color: var(--ink); }
.limits-list li + li { border-top: 1px solid var(--hairline-strong); }
.limits-list li::before {
  content: "";
  position: absolute;
  top: calc(14px + 0.5em);
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}
.limits-list li::after {
  content: "";
  position: absolute;
  top: calc(14px + 0.5em + 6px);
  left: 6px;
  width: 6px;
  height: 2px;
  background: var(--muted);
}
.compare-note { margin-top: 16px; padding: 16px 18px; border: 1px dashed var(--hairline-strong); border-radius: var(--r-md); color: var(--ink); }
.compare-note a { font-weight: 650; white-space: nowrap; }

/* 진행 과정 */
.steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 4px;
  left: 19px;
  width: 2px;
  border-radius: 2px;
  background: var(--hairline-strong);
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface-white);
}
.step-body p { color: var(--ink); }
.human-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 8px;
  border: 1px solid var(--primary);
  border-radius: var(--r-pill);
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}
.human-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.human-tag-inline { vertical-align: 1px; }

/* ---------- 프로그램 페이지 ---------- */
.page-toc ul { display: grid; gap: 12px; margin-top: 28px; }
.toc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 16px 18px 18px;
  border: 1px solid var(--control-border);
  border-radius: var(--r-lg);
  background: var(--surface-white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s;
}
.toc-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.toc-head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.toc-no { display: inline-grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--stage); font-size: 13px; font-weight: 700; }
.toc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-left: 36px; color: var(--body); font-size: 15px; line-height: 1.5; }
.toc-arrow { width: 8px; height: 8px; border-top: 2px solid var(--control-border); border-right: 2px solid var(--control-border); transform: rotate(45deg); }
.toc-leaves { color: var(--ink); font-weight: 650; }
@media (min-width: 768px) {
  .page-toc ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.program-ask { margin-top: 28px; }
.program { display: grid; gap: 28px; padding-top: var(--section); }
.program-art { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-card); }
.program-art img { width: 100%; height: 100%; object-fit: cover; }
.program-body .lead { margin-top: 12px; }
.program-who { margin-top: 24px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-card); color: var(--ink); }
.program-who .label { margin-bottom: 4px; }
.program-sub { margin-top: 32px; }
/* 걸음: 모바일은 위에서 아래로, 넓은 화면은 왼쪽에서 오른쪽으로 */
.flow-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; }
.flow-chips li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.flow-chips li:not(:last-child)::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 0 4px 16px;
  border-right: 2px solid var(--hairline-strong);
  border-bottom: 2px solid var(--hairline-strong);
  transform: rotate(45deg);
}
@media (min-width: 768px) {
  .flow-chips { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
  .flow-chips li { flex-direction: row; align-items: center; gap: 10px; }
  .flow-chips li:not(:last-child)::after { margin: 0 4px 0 0; transform: rotate(-45deg); }
}
.flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-white);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.flow-no { display: inline-grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--stage); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-list li { padding: 6px 12px; border-radius: var(--r-sm); background: var(--surface-card); color: var(--ink); font-size: 15px; font-weight: 550; line-height: 1.5; }
.course-grid { display: grid; gap: 12px; margin-top: 14px; }
.course-card { padding: 20px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.course-card p { margin-top: 6px; }
.program-method { margin-top: 10px; }
.tool-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin-top: 20px; font-size: 15px; }
.tool-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.tool-links-label { margin-right: 2px; font-size: 13px; font-weight: 650; color: var(--muted); }
.course-card .tool-links { margin-top: 8px; }
@media (min-width: 768px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .program { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .program-art { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 소개 페이지 ---------- */
.about-head { display: grid; gap: 32px; }
.en-sub { margin-top: 12px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; color: var(--muted); }
.vision-text { margin-top: 24px; max-width: 36em; font-size: clamp(17px, 1.5vw, 19px); }
.vision-text p + p { margin-top: 12px; }
.listen-card { align-self: start; padding: 20px; border-radius: var(--r-lg); background: var(--surface-card); }
.listen-card .audio-card { margin-top: 12px; }
.listen-note { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 1024px) {
  .about-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
  .listen-card { margin-top: 36px; }
}
.goals { display: grid; gap: 12px; }
.goal { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.goal p { padding-top: 6px; color: var(--ink); font-size: 17px; font-weight: 550; }
.goal-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--stage); color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .goals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .goal { grid-template-columns: minmax(0, 1fr); }
}
.name-section { display: grid; gap: 28px; align-items: center; }
.name-art { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-card); }
.name-art img { width: 100%; height: 100%; object-fit: cover; }
.name-eq { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
.name-part { flex: 1 1 0; padding: 18px 22px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.name-op { align-self: center; }
@media (min-width: 560px) {
  .name-eq { flex-direction: row; align-items: center; gap: 12px; }
}
.name-word { color: var(--ink); font-size: clamp(30px, 4vw, 40px); font-weight: 760; line-height: 1.15; letter-spacing: -0.02em; }
.name-word.is-let { color: var(--accent); }
.name-meaning { margin-top: 6px; color: var(--muted); font-weight: 550; }
.name-op { color: var(--muted); font-size: 28px; font-weight: 500; }
.name-result { margin-top: 20px; max-width: 36em; color: var(--ink); }
@media (min-width: 1024px) {
  .name-section { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
.keo { display: grid; gap: 12px; }
.keo-card { padding: 24px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.keo-letter { display: block; color: var(--primary); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.keo-card h3 { margin-top: 16px; }
.keo-card p { margin-top: 8px; }
@media (min-width: 768px) {
  .keo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.all-list { display: grid; gap: 12px; }
.all-list li { padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface-card); }
.all-word { color: var(--primary); font-size: 24px; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; }
.all-list li p + p { margin-top: 6px; color: var(--ink); }
.all-closing { margin-top: 24px; max-width: 40em; padding-left: 16px; border-left: 3px solid var(--accent); }
.all-closing p { color: var(--ink); font-size: 17px; font-weight: 550; }
@media (min-width: 768px) {
  .all-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- 상담 페이지 ---------- */
.contact-top { display: grid; gap: 16px; margin-top: 28px; }
.topic-card { padding: 24px; border-radius: var(--r-xl); background: var(--surface-card); }
.topic-label { color: var(--muted); font-size: 15px; }
.topic-label strong { color: var(--ink); font-weight: 700; }
.topic-question { margin-top: 10px; color: var(--ink); font-size: clamp(18px, 1.8vw, 21px); font-weight: 650; line-height: 1.55; }
.channel-card { align-self: start; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-white); }
.channel-text { margin-top: 8px; }
.channel-actions { display: grid; gap: 12px; margin-top: 20px; }
.channel-email { font-size: 15px; color: var(--muted); }
.channel-address { color: var(--ink); font-weight: 600; user-select: all; }
.channel-pending { margin-top: 12px; padding: 16px; border-radius: var(--r-md); background: var(--surface-card); color: var(--ink); }
@media (min-width: 1024px) {
  .contact-top { grid-template-columns: minmax(0, 560px); }
  .contact-top.has-topic { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; }
}
.prepare { display: grid; gap: 12px; }
.prepare-card { padding: 22px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-white); }
.prepare-card p { margin-top: 6px; }
@media (min-width: 768px) {
  .prepare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) {
  .prepare { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 404 ---------- */
.not-found .actions { margin-top: 28px; }
