/* ============================================================
   AI 냄새 안 나는 디자인 만들기 — 랜딩페이지 v2
   초안(design_camp_landing) 아이덴티티 유지 + AI 티 체크리스트 대응
   금지: 그라데이션 버튼 / 주황 글로우 섀도 / glassmorphism /
         전 섹션 일괄 페이드업 / 999px 알약 / 자간 0.15em 키커 / 마키 / 이모지
   ============================================================ */

:root {
  --bg: #08080a;
  --bg-soft: #0f0f13;
  --panel: #131317;
  --paper: #ffffff;
  --ink: #f5f2ee;
  --ink-strong: #ffffff;
  --muted: #a8a29a;
  --dim: #6e6a64;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --line-dark: #e2e0dc;
  --orange: #ff5b1a;
  --orange-ink: #120600;

  --wrap: 1180px;
  --pad-section: clamp(72px, 9vw, 124px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 20px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.dim { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- 타이포 스케일 ---------- */
h1 {
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 800;
}
h1 em, h2 em { font-style: normal; color: var(--orange); }

.kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.kicker.orange { color: var(--orange); }

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  color: #d9d3cb;
  max-width: 34em;
}
.lead b { color: var(--ink-strong); font-weight: 700; }

.section { padding: var(--pad-section) 0; }
.section-head { max-width: 46em; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head .dim { max-width: 40em; }

/* ---------- 내비게이션 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 clamp(18px, 3vw, 34px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled { border-bottom-color: var(--line-strong); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 17px; }
.logo span { width: 14px; height: 14px; border: 3px solid var(--orange); }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: #cec8c0; }
.nav-links a:hover { color: var(--ink-strong); }
.nav-cta {
  background: var(--paper);
  color: #0b0b0b;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
}
.nav-toggle { display: none; }

/* ---------- 히어로 ---------- */
.hero {
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 7vw, 108px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(255, 91, 26, 0.14), transparent 58%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 24px; }
.hero-statement { margin-bottom: 20px; }
.taste-plot { position: relative; width: min(100%, 570px); margin: 26px 0 28px; padding: 22px 18px 14px; color: #171717; background: #faf9f3; border: 1px solid rgba(255,255,255,.38); box-shadow: 0 18px 42px rgba(0,0,0,.35); transform: rotate(-.6deg); }
.taste-plot::after { content: ""; position: absolute; left: 8%; right: 7%; bottom: -9px; height: 10px; background: #a26a3f; opacity: .65; z-index: -1; }
.taste-chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-axes path { fill: none; stroke: #171717; stroke-width: 3; stroke-linecap: round; }
.chart-axes .baseline { stroke-width: 5; }
.average-dots circle { fill: #858585; opacity: .7; }
.taste-dot { fill: #777; }
.taste-ring { fill: none; stroke: #dc3f35; stroke-width: 3; }
.chart-labels text { fill: #171717; font-size: 19px; font-weight: 800; }
.chart-labels .taste-label { font-size: 22px; }
.chart-labels .taste-arrow { fill: none; stroke: #dc3f35; stroke-width: 3; stroke-linecap: round; }
.plot-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 6px 0; font-size: 12px; }
.plot-caption span { color: #777; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.plot-caption b { font-size: 13px; }
.tape { position: absolute; z-index: 2; background: rgba(225,213,166,.72); }
.tape-top { width: 116px; height: 27px; top: -14px; left: 39%; transform: rotate(2deg); }
.pin { position: absolute; z-index: 3; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: #d8d8d5; box-shadow: inset -3px -3px 4px rgba(0,0,0,.18), 0 3px 4px rgba(0,0,0,.28); }
.pin-left { left: 14px; }
.pin-right { right: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.hero-meta li {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #d3cdc5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 16px 26px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn.primary { background: var(--orange); color: var(--orange-ink); }
.btn.primary:hover { background: #ff6f37; }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wide { width: min(420px, 100%); padding: 19px 26px; font-size: 16px; }

.hero-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.hero-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-card figcaption { padding: 20px 22px; border-top: 1px solid var(--line); }
.hero-card small { display: block; color: var(--orange); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.hero-card strong { font-size: 17px; letter-spacing: -0.03em; }

/* ---------- 숫자 바 ---------- */
.bar-section { background: var(--paper); color: #101010; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 34px 26px; border-right: 1px solid var(--line-dark); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.stats span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #5c5c5c; }

/* ---------- 문제 ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 76px); }
.section-copy .dim { max-width: 32em; }
.pain-list { display: grid; gap: 12px; align-content: start; }
.pain-list article { border: 1px solid var(--line); background: var(--bg-soft); padding: clamp(24px, 3vw, 32px); }
.pain-list b { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.pain-list h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.035em; margin: 8px 0 10px; }
.pain-list p { margin: 0; color: var(--muted); }

/* ---------- 풀블리드 이미지 ---------- */
.full-visual { background: #000; }
.full-visual img { width: 100%; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; }

/* ---------- 취향 전달 5가지 ---------- */
.method-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.method-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.method-list .idx { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.05em; color: var(--orange); line-height: 1; }
.method-list h3 { font-size: clamp(21px, 2.3vw, 28px); letter-spacing: -0.035em; margin-bottom: 10px; }
.method-list h3 em {
  font-style: normal;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 8px;
  vertical-align: 4px;
}
.method-list p { margin: 0; color: var(--muted); max-width: 46em; }

/* ---------- 결과물 밴드 ---------- */
.dark-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.band-grid img { border: 1px solid var(--line); }

.checks { margin-top: 24px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: #d6d0c8; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 10px; height: 2px; background: var(--orange); }

/* ---------- 커리큘럼 ---------- */
.loop-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.loop-strip li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #d3cdc5;
  white-space: nowrap;
}
.loop-strip li:not(:last-child) { margin-right: 22px; }
.loop-strip li:not(:last-child)::after {
  content: "→";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 7px;
  color: var(--orange);
  font-weight: 400;
}

.lectures { border-top: 1px solid var(--line); }
.lectures > li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.lec-idx { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--dim); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--orange); margin-bottom: 10px; }
.lec-body h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.04em; margin-bottom: 16px; }
.lec-body ul { display: grid; gap: 9px; }
.lec-body ul li { position: relative; padding-left: 16px; color: #cfc9c1; }
.lec-body ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 1px; background: var(--line-strong); }
.lec-out { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--muted); }
.lec-out b { color: var(--ink-strong); font-weight: 700; margin-right: 6px; }
.lec-out span { color: var(--dim); margin: 0 8px; }

.flow { margin-top: clamp(40px, 5vw, 68px); }
.flow-title { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.03em; margin-bottom: 16px; }
.flow-scroll { overflow-x: auto; border: 1px solid var(--line); }
.flow table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.flow th, .flow td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.flow thead th { background: var(--panel); color: var(--ink-strong); font-weight: 700; }
.flow tbody tr:last-child td { border-bottom: 0; }
.flow td:first-child { color: var(--orange); font-weight: 700; white-space: nowrap; }
.flow td { color: var(--muted); }

/* ---------- 대상 / 준비물 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.prep { margin-top: 24px; border-top: 1px solid var(--line); }
.prep li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prep b { font-weight: 700; }
.prep span { color: var(--muted); font-size: 14px; }
.audience .small { margin-top: 18px; }

/* ---------- 강사 ---------- */
.mentor-grid { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.mentor-photo {
  margin: 0;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; }
.mentor-copy .role { color: var(--ink-strong); font-weight: 700; margin-bottom: 14px; }
.mentor-copy .dim { max-width: 40em; }
.mentor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mentor-tags li { border: 1px solid var(--line); border-radius: 2px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #d3cdc5; }

/* ---------- 가격 ---------- */
.pricing { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-top: 1px solid var(--line); }
.apply-box { max-width: 900px; text-align: center; }
.apply-box .kicker { text-align: center; }
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0 12px; }
.schedule div { border: 1px solid var(--line); padding: 18px; }
.schedule span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.schedule strong { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.03em; }

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tier { background: var(--paper); color: #101010; padding: 26px 22px; text-align: left; border: 1px solid var(--paper); }
.tier.featured { border-color: var(--orange); box-shadow: inset 0 0 0 3px var(--orange); }
.tier-name { display: block; font-size: 12px; font-weight: 700; color: #5c5c5c; margin-bottom: 12px; }
.tier-price { margin: 0 0 8px; }
.tier-price del { display: block; color: #8a8a8a; font-size: 14px; text-decoration-thickness: 1px; }
.tier-price strong { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.045em; }
.tier-note { margin: 0 0 6px; font-size: 13px; color: #5c5c5c; }
.tier-note b { color: var(--orange); font-weight: 700; }
.tier-desc { margin: 0; font-size: 13px; color: #767676; }

.price-note { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; text-align: left; }
.price-note p { margin: 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.price-note b { color: var(--orange); margin-right: 8px; }
.fine { margin: 16px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq .wrap { max-width: 880px; }
.faq-list { border-top: 1px solid var(--line); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.03em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 20px;
  font-weight: 400;
  color: var(--orange);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 22px; color: var(--muted); max-width: 52em; }

/* ---------- 푸터 ---------- */
footer { border-top: 1px solid var(--line); padding: clamp(44px, 5vw, 64px) 0 120px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.foot-mark { font-weight: 800; font-size: 17px; color: var(--ink-strong); letter-spacing: -0.03em; margin-bottom: 12px; }
.foot-grid p { margin: 0 0 6px; }
.foot-grid nav { display: grid; gap: 10px; align-content: start; }
.foot-grid nav a:hover { color: var(--ink-strong); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- 플로팅 CTA ---------- */
.fbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: #0b0b0e;
  border-top: 1px solid var(--line-strong);
}
.fbar[hidden] { display: none; }
.fbar-inner {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}
.fbar-msg { display: grid; gap: 2px; min-width: 0; }
.fbar-msg b { font-size: 15px; letter-spacing: -0.03em; }
.fbar-msg span { font-size: 12px; color: var(--muted); }
.fbar-count { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fbar-count .clabel { font-size: 12px; color: var(--muted); }
.fbar-count .clock { display: flex; gap: 8px; font-size: 12px; color: var(--muted); }
.fbar-count .clock i { font-style: normal; font-weight: 800; font-size: 16px; color: var(--ink-strong); margin-right: 2px; font-variant-numeric: tabular-nums; }
.fbar-cta { background: var(--orange); color: var(--orange-ink); font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 2px; white-space: nowrap; }
.fbar-cta:hover { background: #ff6f37; }

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .band-grid, .two-col, .mentor-grid { grid-template-columns: 1fr; }
  .band-grid img { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .mentor-photo { width: min(240px, 100%); }
}

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 40px; height: 40px;
    align-content: center; justify-items: center;
    background: none; border: 1px solid var(--line); border-radius: 2px;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a:last-child { border-bottom: 0; color: var(--orange); font-weight: 700; }

  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .stats div:last-child { border-bottom: 0; }

  .method-list li, .lectures > li { grid-template-columns: 1fr; gap: 10px; }
  .schedule, .tiers, .price-note, .foot-grid { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; gap: 6px; }

  .fbar-inner { flex-wrap: wrap; gap: 10px 14px; padding: 10px 0; }
  .fbar-count { margin-left: 0; order: 3; width: 100%; }
  .fbar-cta { margin-left: auto; }
  footer { padding-bottom: 170px; }
  .taste-plot { padding: 18px 10px 10px; margin-top: 22px; }
  .chart-labels text { font-size: 17px; }
  .chart-labels .taste-label { font-size: 19px; }
  .plot-caption b { font-size: 12px; }
}

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