/* ChunkCanvas 홈페이지: 앱과 같은 색 (밝은 테마 · 어두운 테마), 버튼 · 칩은 모서리 8px, 아이콘은 한 가지 색 */

:root {
  --bg: #e9ebee;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --border: #dde1e6;
  --text: #252930;
  --muted: #5b6270;
  --faint: #868d98;
  --accent: #5ca845;
  --accent-hover: #4f963a;
  --accent-ink: #3f8730;
  --accent-soft: rgba(92, 168, 69, 0.13);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.1);
  --radius: 8px;
  --radius-card: 14px;
  --header: rgba(233, 235, 238, 0.82);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171b;
    --surface: #1f2227;
    --surface-2: #23272d;
    --border: #30353d;
    --text: #e9ebee;
    --muted: #a6adb8;
    --faint: #7c838e;
    --accent: #62b04a;
    --accent-hover: #559e3f;
    --accent-ink: #86cb6c;
    --accent-soft: rgba(98, 176, 74, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.4);
    --header: rgba(21, 23, 27, 0.82);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--radius);
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 24px;
  }
}

/* ───────── 위 ───────── */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-lg {
  width: 26px;
  height: 26px;
  color: var(--accent-ink);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.soon-small {
  margin-left: auto;
  padding: 7px 12px;
  font-size: 14px;
}

@media (min-width: 900px) {
  .soon-small {
    margin-left: 8px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

/* ───────── 첫 화면 ───────── */

.hero {
  padding: 56px 0 24px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7.2vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.lead {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 19px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 14px;
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--accent);
  vertical-align: middle;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.shot figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-size: 14px;
  text-align: center;
}

.hero-shot {
  margin-top: 44px;
}

/* ───────── 섹션 ───────── */

.section {
  padding: 72px 0;
}

.spotlight {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.label {
  margin: 0 0 10px;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.more {
  margin: 22px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 6fr;
    gap: 56px;
  }

  .split.reverse .copy {
    order: 2;
  }
}

.copy p {
  color: var(--muted);
}

.steps,
.checks {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
}

.checks li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.2px solid var(--accent-ink);
  border-bottom: 2.2px solid var(--accent-ink);
  transform: rotate(-45deg);
}

.note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 15px;
}

.spotlight .note {
  background: var(--bg);
}

.center {
  text-align: center;
}

.lead-small {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.narrow {
  max-width: 760px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  margin-top: 10px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--faint);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.closing {
  padding-top: 24px;
}

.closing .soon {
  margin-top: 22px;
}

/* ───────── 아래 ───────── */

.foot {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  color: var(--faint);
  font-size: 14px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-small {
  color: var(--text);
  font-size: 16px;
}

.brand-small .mark {
  width: 22px;
  height: 22px;
}

.disclaimer {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
