/* ─────────────────────────────────────────────
   Playground — PF
   Clay-style canvas + Aside-style product showcase
   ───────────────────────────────────────────── */

:root {
  --bg: #f5f6f8;
  --bg-soft: #e9ecf0;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #3b3a38;
  --muted: #76746f;
  --line: rgba(11, 11, 12, 0.09);
  --line-soft: rgba(11, 11, 12, 0.055);
  --violet: #8b5cf6;
  --violet-2: #d946ef;
  --ember: #ff5f1f;
  --sky: #e8ecfb;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shell: 1400px;
  --pad: clamp(20px, 4vw, 64px);

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ── Nav ─────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 246, 248, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}

.brand { display: flex; align-items: center; gap: 11px; }

.brand__mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink);
}

.brand__name {
  position: relative;
  display: inline-block;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  line-height: 1;
  padding-right: 4px;
  transform: skewX(-16deg) scaleX(0.94);
  transform-origin: left bottom;
}

/* 칼로 그은 자국 — 글자를 가로질러 얕게 파인 선 */
.brand__name::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 44%;
  width: 124%;
  height: 2.4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--bg) 11%,
    var(--bg) 72%,
    rgba(245, 246, 248, 0.35) 88%,
    transparent 100%
  );
  transform: rotate(-13deg) skewX(16deg);
  pointer-events: none;
}

.nav__links { display: flex; align-items: center; gap: 34px; }

.nav__links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #26262a; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(11, 11, 12, 0.18);
}
.btn--ghost:hover { border-color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
  content: "";
}
.nav__toggle span::before { transform: translateY(-5px); }
.nav__toggle span::after { transform: translateY(3.5px); }

/* ── Hero ────────────────────────────────── */

.hero {
  --hero-bg: #202d35;
  --hero-text: #f5f8fa;
  position: relative;
  margin: 0 20px 24px;
  border-radius: 24px;
  background: var(--hero-bg);
  color: var(--hero-text);
  padding-block: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 68px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero__copy { padding-left: 12px; }
.hero h1 { font-size: clamp(34px, 4.1vw, 60px); font-weight: 850; letter-spacing: -.035em; line-height: 1.22; }
.hero h1 em { display: inline-block; padding-right: .16em; color: #b9e8da; font-style: normal; transform: skewX(-12deg); transform-origin: left bottom; }
.hero__sub { margin-top: 28px; max-width: 42ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.8; color: #c4cfd6; word-break: keep-all; }
.hero__break { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 34px; }
.hero .btn--dark { height: 52px; background: #b9e8da; color: #202d35; border-radius: 8px; font-weight: 650; padding-inline: 22px; gap: 20px; }
.hero .btn--dark:hover { background: #d2f2e8; }
.hero__link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #edf3f6; text-underline-offset: 6px; }
.hero__link:hover { text-decoration: underline; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 42px; font-size: 12px; color: #aebfc9; }
.hero__meta span + span { position: relative; }
.hero__meta span + span::before { content: '/'; position: absolute; left: -12px; color: #718b9a; }
.hero a:focus-visible { outline: 2px solid #b9e8da; outline-offset: 5px; }
.hero ::selection { color: #202d35; background: #b9e8da; }
.brand:focus-visible { outline: 2px solid #7250bc; outline-offset: 5px; }
.field { min-width: 0; margin: 0; }
.field__heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 4px 12px; font-size: 13px; color: #d2dfe5; }
.field__prompt { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid #526773; border-radius: 12px 12px 12px 2px; color: #edf3f6; font-size: 15px; line-height: 1.6; word-break: keep-all; }
.field__prompt svg { flex: none; color: #b9e8da; }
.field__example { font-size: 10px; letter-spacing: .1em; color: #aebfc9; }
.field__graphic { display: block; width: 100%; height: auto; overflow: visible; }
.field__lines { color: #b2c6d0; opacity: .3; }
.field__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #41535f; margin-top: 14px; padding-top: 18px; font-size: 12px; color: #aebfc9; }
.field__caption span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #d2dfe5; }
.field__caption i { display: inline-block; width: 5px; height: 5px; background: #b9e8da; border-radius: 50%; }

.strip {
  background: #e8e5ee;
  color: #514a60;
  overflow: hidden;
  padding-block: 23px;
}
.strip__inner { display: flex; width: max-content; animation: strip-slide 38s linear infinite; }
.strip__group { display: flex; align-items: center; justify-content: space-around; min-width: 100vw; flex-shrink: 0; }
.strip__group span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; white-space: nowrap; font-size: 13px; font-weight: 500; letter-spacing: -.015em; }
.strip__group span::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #aaa1b9; }
.strip:hover .strip__inner, .strip:focus-within .strip__inner { animation-play-state: paused; }
.strip:focus-visible { outline: 2px solid #7250bc; outline-offset: -3px; }
@keyframes strip-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip__inner { animation: none; }
  .strip__group[aria-hidden] { display: none; }
}

/* ── Section scaffolding ─────────────────── */

.section { padding-block: clamp(76px, 9vw, 136px); }

.section--sky { background: var(--sky); }

.section__head { max-width: 760px; }

.section__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section__title {
  /* vw 를 함께 둬서 360px 급 화면에서도 한 줄이 가장자리를 넘지 않게 한다 */
  font-size: clamp(25px, 7vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  word-break: keep-all;
}
.section__title .dim { color: rgba(11, 11, 12, 0.32); }

.section__lede {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  color: var(--ink-2);
}

/* ── Product showcase (Aside-style) ──────── */

.showcase { position: relative; }

.showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.app {
  position: relative;
  border-radius: var(--r-lg);
  background: #fbfbfa;
  border: 1px solid rgba(11, 11, 12, 0.1);
  box-shadow: 0 2px 4px rgba(16, 14, 30, 0.04),
    0 24px 50px rgba(16, 14, 30, 0.09),
    0 70px 120px rgba(16, 14, 30, 0.1);
  overflow: hidden;
}

.app__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding-inline: 18px;
  background: #f3f2f0;
  border-bottom: 1px solid var(--line-soft);
}

.app__dots { display: flex; gap: 7px; }
.app__dots i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.14);
}

.app__url {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
  /* 좁은 폭에서 줄바꿈되면 알약 밖으로 넘쳐 크롬 전체가 깨진다 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__url::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--violet-2), var(--violet));
}

.app__tabs { display: flex; gap: 6px; margin-left: auto; }
.app__tabs i {
  width: 26px; height: 8px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.1);
}

.app__body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 364px;
  min-height: 560px;
}

/* sidebar */
.app__side {
  border-right: 1px solid var(--line-soft);
  padding: 20px 16px;
  background: #f7f6f5;
}
.app__side h5 {
  margin: 0 0 14px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9793;
  font-weight: 500;
}
.app__nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--ink-2);
}
.app__nav li.is-active { background: #fff; color: var(--ink); font-weight: 500;
  box-shadow: 0 1px 2px rgba(16, 14, 30, 0.06); }
.app__nav li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(11, 11, 12, 0.12);
}
.app__nav li.is-active::before { background: linear-gradient(140deg, var(--violet-2), var(--violet)); }

.app__side-foot {
  margin-top: 26px;
  padding: 14px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line-soft);
}
.app__side-foot b { display: block; font-size: 12.5px; font-weight: 600; }
.app__side-foot p { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* main */
.app__main { padding: 24px 26px 26px; min-width: 0; }

@keyframes blink { 50% { opacity: 0; } }

.app__h5 {
  margin: 22px 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9793;
  font-weight: 500;
}

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9793;
  margin-right: 2px;
}
.chip {
  font-size: 12px;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-soft);
}
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 전술판 — 히어로 전술 그래픽과 같은 팔레트 */
.pitchbox {
  margin-top: 14px;
  border-radius: var(--r-md);
  border: 1px solid #2d3d47;
  background: #202d35;
  overflow: hidden;
}
.pitchbox__lines { color: #b2c6d0; opacity: 0.3; }
.pitchbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #2d3d47;
  font-size: 12.5px;
  color: #aebfc9;
}
.pitchbox__bar b { color: #eaf1f5; font-weight: 600; font-size: 13px; }
.pitchbox svg { display: block; width: 100%; height: auto; }

.timeline { display: flex; gap: 8px; margin-top: 16px; }
.timeline div {
  flex: 1;
  height: 54px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.timeline div::after {
  content: attr(data-t);
  position: absolute;
  left: 8px; bottom: 6px;
  font-size: 10px;
  color: var(--muted);
}
.timeline div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: rgba(11, 11, 12, 0.1);
}
/* 전술판 범례와 같은 의미 색 — 민트=지지, 앰버=반례 */
.timeline div.is-hit::before { background: #3f9d82; }
.timeline div.is-counter::before { background: #d9823c; }

/* 검증 결과 — 센터 하단 가로 3카드 */
.verdicts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.verdict {
  padding: 14px 15px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line-soft);
}
.verdict--hold {
  background: transparent;
  border-style: dashed;
  border-color: rgba(11, 11, 12, 0.2);
}
.verdict__row { display: flex; align-items: baseline; justify-content: space-between; }
.verdict__row b { font-size: 22px; letter-spacing: -0.03em; }
.verdict__row span { font-size: 11.5px; color: var(--muted); }
.verdict__bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.08);
  overflow: hidden;
}
.verdict__bar i { display: block; height: 100%; border-radius: 999px; }
.verdict__bar i.v { background: #3f9d82; }
.verdict__bar i.e { background: #d9823c; }
.verdict__bar i.h { background: rgba(11, 11, 12, 0.28); }
.verdict p { margin-top: 9px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* ── 대화 패널 (우측) ─────────────────────── */

.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--line-soft);
  background: #f7f6f5;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.chat__head b { font-size: 13px; font-weight: 600; letter-spacing: -0.015em; }
.chat__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--violet-2), var(--violet));
}
.chat__ctx { margin-left: auto; font-size: 11px; color: var(--muted); }

.chat__thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
}

.msg {
  font-size: 12.5px;
  line-height: 1.62;
  padding: 11px 13px;
  border-radius: 14px;
  max-width: 92%;
  letter-spacing: -0.008em;
}
.msg b { font-weight: 600; color: var(--ink); }

.msg--me {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg--me b { color: #fff; }

.msg--ai {
  align-self: flex-start;
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
}

.msg--hold {
  background: transparent;
  border-style: dashed;
  border-color: rgba(11, 11, 12, 0.22);
}

.msg__clips { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.msg__clips li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f7f6f5;
  font-size: 11px;
}
.msg__clips i {
  width: 26px; height: 19px;
  flex: none;
  border-radius: 4px;
  background: linear-gradient(145deg, #dcdae4, #c6c3d2);
}
.msg__clips b { font-weight: 500; }
.msg__clips span { margin-left: auto; color: var(--muted); }

.chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 11, 12, 0.1);
  box-shadow: 0 1px 2px rgba(16, 14, 30, 0.05);
}
.chat__ph { font-size: 12px; color: #a3a09b; }
.chat__caret {
  width: 1.5px; height: 14px;
  background: var(--ink);
  animation: blink 1.15s steps(1) infinite;
}
.chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

/* callouts under the app */
.callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.callout {
  padding: 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 11, 12, 0.07);
}
.callout b { display: block; font-size: 16px; letter-spacing: -0.02em; margin-bottom: 8px; }
.callout p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ── Feature rows ────────────────────────── */

.features { display: grid; gap: 18px; margin-top: 56px; }

.feature {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }

.feature__no { font-size: 13px; color: var(--muted); padding-top: 5px; }
.feature h3 { font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.03em; }
.feature p { font-size: 15.5px; color: var(--ink-2); }
.feature__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.feature__tags span {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ── Principles ──────────────────────────── */

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.principle {
  padding: 28px 24px 26px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
.principle__mark {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--bg-soft);
  margin-bottom: 20px;
  position: relative;
}
.principle__mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 4px;
  background: linear-gradient(140deg, var(--violet-2), var(--violet));
  opacity: 0.85;
}
.principle:nth-child(2) .principle__mark::after { background: var(--ember); }
.principle:nth-child(3) .principle__mark::after { background: var(--ink); }
.principle:nth-child(4) .principle__mark::after { background: #9ca3af; }
.principle b { font-size: 16.5px; letter-spacing: -0.02em; }
.principle p { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ── Pilot / steps ───────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; }
.step { padding: 30px 26px 30px 0; border-top: 1px solid var(--line); }
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.step b { display: block; font-size: 17px; letter-spacing: -0.025em; }
.step p { margin-top: 9px; font-size: 14px; color: var(--ink-2); }

/* ── CTA ─────────────────────────────────── */

.cta {
  margin-block: clamp(60px, 7vw, 100px);
  border-radius: var(--r-xl);
  /* 히어로와 같은 계열의 더 깊은 톤 — 페이지 끝을 닫는 면 */
  background: #1b2831;
  color: var(--hero-text, #f5f8fa);
  padding: clamp(44px, 6vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -120px; top: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(185, 232, 218, 0.22), transparent 70%);
  filter: blur(10px);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 50px); letter-spacing: -0.04em; position: relative; z-index: 1;
  color: #f5f8fa; }
.cta p { margin-top: 20px; color: #c4cfd6; font-size: 16px; max-width: 46ch;
  position: relative; z-index: 1; line-height: 1.75; word-break: keep-all; }
.cta__actions { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }

/* ── 문의 폼 ─────────────────────────────── */

.form { display: flex; flex-direction: column; gap: 14px; }
/* display:flex 가 [hidden] 의 display:none 을 이기므로 명시적으로 꺼준다 */
.form[hidden] { display: none; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.field-row { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-row > span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: -0.005em;
}
.field-row > span i { color: #b9e8da; font-style: normal; }

.field-row input,
.field-row textarea {
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field-row textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field-row input::placeholder,
.field-row textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.field-row input:hover,
.field-row textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field-row input:focus,
.field-row textarea:focus {
  outline: none;
  border-color: #b9e8da;
  background: rgba(255, 255, 255, 0.1);
}

.field-row__err { font-size: 11.5px; color: #ffb4a0; font-style: normal; min-height: 0; }
.field-row.is-bad input,
.field-row.is-bad textarea { border-color: #ff8f73; }

/* 허니팟 — 화면에서 치우되 디스플레이로 숨기지 않는다. 일부 봇은 숨김을 감지한다 */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 사이트 키가 없으면 위젯이 렌더되지 않는다 — 빈 칸이 여백을 먹지 않게 */
.turnstile-slot:empty { display: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form__submit { border: none; cursor: pointer; font: inherit; font-size: 15.5px; font-weight: 500; }
.form__submit[disabled] { opacity: 0.55; cursor: progress; }
.form__note { font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.form__note.is-ok { color: #b9e8da; }
.form__note.is-bad { color: #ffb4a0; }

.form__done {
  padding: 24px 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid rgba(185, 232, 218, 0.35);
  background: rgba(185, 232, 218, 0.08);
}
.form__done b { display: block; font-size: 17px; letter-spacing: -0.02em; color: #b9e8da; }
.form__done p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.form__done a { color: #b9e8da; text-decoration: underline; text-underline-offset: 3px; }

.cta__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* 주소 복사 — mailto 가 열리지 않는 환경을 위한 대체 경로 */
.copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.copy:hover { border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.copy:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.copy__icon { flex: none; opacity: 0.7; }
.copy__status { font-size: 12px; color: #b9e8da; }
.copy.is-done .copy__icon { display: none; }
/* 어두운 면 위의 주 버튼 — 히어로의 주 버튼과 같은 민트 */
.btn--light { background: #b9e8da; color: #202d35; font-weight: 650; }
.btn--light:hover { background: #d2f2e8; }

/* ── Footer ──────────────────────────────── */

.footer { padding-bottom: 60px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.footer h6 { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; }
.footer li { font-size: 14.5px; color: var(--ink-2); padding-block: 5px; }
.footer li a:hover { color: var(--ink); }
.footer__note { margin-top: 44px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ── Reveal ──────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ask__caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 1180px) {
  .app__body { grid-template-columns: 172px minmax(0, 1fr) 316px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { margin-inline: 14px; }
  .hero__copy { padding-left: 0; }
  .field { width: 100%; max-width: 620px; margin: 16px auto 0; }
  .hero h1 { font-size: clamp(30px, 7.6vw, 58px); }
  .feature { grid-template-columns: 1fr; gap: 14px; }
  .feature__no { padding-top: 0; }
  .callouts { grid-template-columns: 1fr; }
  /* 좁은 화면은 데스크톱 3단을 줄이는 대신 전용 레이아웃으로 바꾼다.
     축소하면 본문이 4px 가 되고, 쌓기만 하면 2000px 짜리 문서가 된다.
     항목을 덜어내고 한 창 안에 정상 크기로 담는다. */
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .chat { border: none; border-top: 1px solid var(--line-soft); }
  .chat__thread { overflow: visible; }
  /* 길이를 만드는 메시지는 덜어내고 질문·결론만 남긴다 */
  .msg--full { display: none; }
  .cta { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .hero { margin: 0 10px 18px; border-radius: 18px; padding-block: 42px 28px; }
  .hero .shell { padding-inline: 24px; }
  .hero__grid { gap: 32px; }
  .hero__sub { font-size: 15px; margin-top: 24px; }
  .hero__break { display: inline; }
  .hero__meta { margin-top: 30px; font-size: 11px; gap: 8px 16px; }
  .hero__actions { gap: 18px; }
  .hero .btn--dark { font-size: 14px; padding-inline: 16px; gap: 12px; }
  .hero__link { font-size: 13px; }
  .field__heading { font-size: 12px; }
  .field__example { font-size: 9px; }
  .field__caption { font-size: 11px; }
  .nav__cta .btn--ghost { display: none; }
  .principles, .steps { grid-template-columns: 1fr; }

  /* 앱 크롬: 탭 자리를 빼 URL 알약에 폭을 몰아준다 */
  .app__tabs { display: none; }
  .app__chrome { gap: 12px; }
  .app__main { padding: 18px 16px 20px; }

  /* 전술판 헤더는 좌우 배치로는 양쪽 다 줄이 끊긴다 */
  .pitchbox__bar { flex-direction: column; align-items: flex-start; gap: 5px; }

  /* SVG 는 폭에 맞춰 0.46배로 줄어든다. 라벨 user unit 을 키워야 읽힌다 */
  .pitchbox .p-label { font-size: 24px; }
  .pitchbox .p-note { display: none; }
  .pitchbox .p-route { stroke-width: 3.5; }

  /* 검증 카드는 숫자·라벨만 남겨 한 줄에 셋을 넣는다.
     설명 문장은 바로 아래 대화가 대신한다 */
  .verdicts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .verdict { padding: 11px 10px; }
  .verdict p { display: none; }
  .verdict__row { flex-direction: column; align-items: flex-start; gap: 1px; }
  .verdict__row b { font-size: 20px; }
  .verdict__row span { font-size: 10.5px; }
  .verdict__bar { margin-top: 8px; }

  /* 타임라인은 flex 줄바꿈이면 3+3+1 로 떨어진다 */
  .timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }
  .timeline div { height: 38px; min-width: 0; border-radius: 8px; }
  .timeline div::after { left: 4px; bottom: 4px; font-size: 9px; }

  /* 390px 화면에서 좌우 패딩 44px 는 본문 폭을 260px 대로 떨어뜨린다 */
  .cta { padding: 32px 24px 34px; border-radius: 26px; }

  /* iOS Safari 는 16px 미만 입력에 포커스하면 화면을 확대한다 */
  .field-row input,
  .field-row textarea { font-size: 16px; }

  .form__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .form__submit { width: 100%; }
  .form__note { text-align: center; }
  .cta__alt { flex-direction: column; align-items: flex-start; }
  .copy { max-width: 100%; }
  .copy__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .step { padding-right: 0; }
}
