/* ============================================================
   Monoprise — monoprise.dev
   두 페이지(index.html / developers.html)가 함께 쓰는 스타일.
   여기에만 스타일을 둔다. 페이지 안에 <style>을 만들지 않는다.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
}

:root {
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Pretendard Variable", Pretendard, "Segoe UI Variable",
    "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "PingFang SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Malgun Gothic",
    "Apple SD Gothic Neo", "Noto Sans", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --black: #000000;
  --ink: #1d1d1f;
  --paper: #ffffff;
  --paper2: #f5f5f7;
  --gray: #86868b;
  --amber: #e8a33d;
  --amber-d: #b8761a;

  --nav-h: 54px;

  --hair-d: rgba(255, 255, 255, 0.1);
  --hair-l: rgba(0, 0, 0, 0.09);

  --pad: clamp(20px, 5vw, 40px);
  --maxw: 1120px;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: #f5f5f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* 한국어는 어절 단위로 끊어야 단어 중간이 잘리지 않는다.
   중국어·일본어는 임의 위치 개행이 정상 조판이므로 적용하지 않는다. */
html[lang="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 라틴 소문자 캡션에 넉넉히 준 자간이 CJK 에서는 글자가 흩어져 보인다.
   CJK 세 언어에서만 눌러둔다. */
html[lang="ko"] .kicker,
html[lang="ja"] .kicker,
html[lang="zh"] .kicker,
html[lang="ko"] .mock-cap,
html[lang="ja"] .mock-cap,
html[lang="zh"] .mock-cap,
html[lang="ko"] .panel .cap,
html[lang="ja"] .panel .cap,
html[lang="zh"] .panel .cap,
html[lang="ko"] .step .role,
html[lang="ja"] .step .role,
html[lang="zh"] .step .role,
html[lang="ko"] .card .tag,
html[lang="ja"] .card .tag,
html[lang="zh"] .card .tag,
html[lang="ko"] .gotcap,
html[lang="ja"] .gotcap,
html[lang="zh"] .gotcap,
html[lang="ko"] .who .cap,
html[lang="ja"] .who .cap,
html[lang="zh"] .who .cap,
html[lang="ko"] .abox .cap,
html[lang="ja"] .abox .cap,
html[lang="zh"] .abox .cap,
html[lang="ko"] .rail .lk,
html[lang="ja"] .rail .lk,
html[lang="zh"] .rail .lk,
html[lang="ko"] .codecap,
html[lang="ja"] .codecap,
html[lang="zh"] .codecap,
html[lang="ko"] .diff .dhead,
html[lang="ja"] .diff .dhead,
html[lang="zh"] .diff .dhead,
html[lang="ko"] .t thead th,
html[lang="ja"] .t thead th,
html[lang="zh"] .t thead th,
html[lang="ko"] .arch-link,
html[lang="ja"] .arch-link,
html[lang="zh"] .arch-link,
html[lang="ko"] .f-follow,
html[lang="ja"] .f-follow,
html[lang="zh"] .f-follow {
  letter-spacing: 0.03em;
}

/* ---------- 섹션 톤 ---------- */
section {
  position: relative;
}
.tone-dark {
  background: var(--black);
  color: #f5f5f7;
  --sub: var(--gray);
  --hair: var(--hair-d);
}
.tone-light {
  background: var(--paper);
  color: var(--ink);
  --sub: var(--gray);
  --hair: var(--hair-l);
}
.tone-mist {
  background: var(--paper2);
  color: var(--ink);
  --sub: var(--gray);
  --hair: var(--hair-l);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.pad-y {
  padding-top: clamp(88px, 13vh, 150px);
  padding-bottom: clamp(88px, 13vh, 150px);
}

/* ---------- 타이포 ---------- */
.kicker {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber);
  margin: 0 0 18px;
}
.tone-light .kicker,
.tone-mist .kicker {
  color: var(--amber-d);
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
}
h1 {
  font-size: clamp(34px, 7.4vw, 82px);
  white-space: pre-line;
}
h2 {
  font-size: clamp(28px, 4.6vw, 56px);
  white-space: pre-line;
}
h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h4 {
  margin: 0;
  font-size: clamp(16.5px, 1.8vw, 19px);
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.3;
}
.lede {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.52;
  color: var(--sub);
  font-weight: 420;
  letter-spacing: -0.008em;
  margin: 22px 0 0;
  max-width: 40em;
}
.body {
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.6;
  color: var(--sub);
  margin: 14px 0 0;
}
.body.narrow {
  max-width: 42em;
}
.body b,
.lede b {
  color: inherit;
  font-weight: 650;
}
.tone-light .body b,
.tone-mist .body b,
.tone-light .lede b,
.tone-mist .lede b {
  color: var(--ink);
}
.tone-dark .body b,
.tone-dark .lede b {
  color: #f5f5f7;
}
em.am {
  font-style: normal;
  color: var(--amber);
}
.tone-light em.am,
.tone-mist em.am {
  color: var(--amber-d);
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 27px;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1),
    background 0.18s,
    opacity 0.18s,
    border-color 0.18s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--amber);
  color: #1a1207;
}
.btn-primary:hover {
  background: #f0b155;
}
.btn-ghost {
  border-color: currentColor;
  color: var(--amber);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(232, 163, 61, 0.12);
}
.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14.5px;
}

/* ============================================================
   NAV
   ============================================================ */
/* 위 메뉴가 sticky 라, 앵커로 뛰면 제목이 그 **밑에 깔린다.** 뛰어간 자리에
   메뉴 높이만큼 여백을 둔다 — 링크를 눌렀는데 제목이 안 보이면 어디로 온
   것인지 알 수 없다. */
section[id],
header[id] {
  scroll-margin-top: 84px;
}
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s;
}
/* 배경이 밝은 페이지(약관·개인정보처리방침)용. 네비는 기본이 투명이고 글자가
   흰색이라, 흰 본문 위에 얹히면 스크롤하기 전까지 아무것도 안 보인다.
   .stuck 과 같은 모양을 처음부터 입혀 둔다. */
.nav.solid,
.nav.stuck {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.nav-in {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  flex: none;
}
.brand svg {
  width: 19px;
  height: 19px;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  color: rgba(245, 245, 247, 0.82);
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff;
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* 두 트랙을 오가는 링크 — 좁은 화면에서도 남긴다 */
.nav-swap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(232, 163, 61, 0.34);
  background: rgba(232, 163, 61, 0.08);
  color: var(--amber);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.nav-swap:hover {
  background: rgba(232, 163, 61, 0.16);
  border-color: rgba(232, 163, 61, 0.6);
}
.nav-swap span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 언어 선택 */
.lang {
  position: relative;
  flex: none;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(245, 245, 247, 0.9);
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.lang-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 40px;
  min-width: 156px;
  background: rgba(28, 28, 30, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.lang.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #f5f5f7;
  font-family: inherit;
  font-size: 14px;
  font-weight: 480;
  cursor: pointer;
  text-align: left;
}
.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.09);
}
.lang-menu button[aria-current="true"] {
  color: var(--amber);
  font-weight: 620;
}
.lang-menu button .tick {
  margin-left: auto;
  opacity: 0;
  font-size: 12px;
}
.lang-menu button[aria-current="true"] .tick {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 108px var(--pad) 0;
  background:
    radial-gradient(
      900px 620px at 50% 4%,
      rgba(232, 163, 61, 0.16) 0%,
      transparent 62%
    ),
    radial-gradient(
      700px 500px at 82% 78%,
      rgba(232, 163, 61, 0.07) 0%,
      transparent 60%
    ),
    #000;
  overflow: hidden;
}
/* 컬럼 플렉스 + align-items:center 는 자식이 컨테이너보다 넓어질 수 있다.
   좁은 화면에서 히어로가 가로로 넘치던 원인이므로 폭을 묶어둔다. */
.hero > * {
  max-width: 100%;
  min-width: 0;
}
.hero-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
}
.hero h1 {
  max-width: 16em;
  width: 100%;
}
.hero .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
  /* `.hero > *` 의 max-width:100% 가 `.lede` 의 40em 을 덮어써서 한 줄에
     80~103자가 들어갔다(러시아어가 103자). 읽기 편한 폭은 라틴 45~75자,
     CJK 35~45자다. 넘침 방지(100%)는 남기고 읽기 폭을 되살린다. */
  max-width: min(100%, 40em);
}
.hero-cta {
  display: flex;
  gap: 13px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: #6e6e73;
  letter-spacing: -0.005em;
}

/* 히어로 목업 */
.hero-stage {
  width: 100%;
  max-width: 940px;
  margin: clamp(44px, 7vh, 76px) auto 0;
  padding-bottom: 90px;
}

.mock {
  background: linear-gradient(180deg, #1c1a16 0%, #141210 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(232, 163, 61, 0.07);
}
.mock-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex: none;
}
.mock-bar span {
  margin-left: 10px;
  font-size: 11.5px;
  color: #8a8378;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 322px;
}
.mock-side {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 15px 14px;
  min-width: 0;
}
.mock-main {
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.mock-cap {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #6f6961;
  font-weight: 700;
  margin-bottom: 11px;
}
.agent {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    background 0.35s,
    border-color 0.35s;
}
.agent.hot {
  background: rgba(232, 163, 61, 0.1);
  border-color: rgba(232, 163, 61, 0.26);
}
.agent .ic {
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex: none;
}
.agent .nm {
  font-size: 12.5px;
  color: #e6e0d4;
  font-weight: 600;
  min-width: 0;
}
.agent .st {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
  transition:
    background 0.3s,
    color 0.3s;
}
.st-wait {
  background: rgba(255, 255, 255, 0.06);
  color: #837c70;
}
.st-work {
  background: rgba(232, 163, 61, 0.16);
  color: var(--amber);
}
.st-rev {
  background: rgba(90, 160, 220, 0.16);
  color: #7fb6e4;
}
.st-done {
  background: rgba(60, 180, 90, 0.15);
  color: #6dc97e;
}

.line {
  font-size: 12.5px;
  color: #948c80;
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-family: var(--mono);
  letter-spacing: -0.01em;
  flex-wrap: wrap;
  min-width: 0;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.line.show {
  opacity: 1;
  transform: none;
}
.line b {
  color: #d3cbbc;
  font-weight: 600;
}
.line .dot {
  color: var(--amber);
  flex: none;
}
.bubble {
  background: rgba(232, 163, 61, 0.09);
  border: 1px solid rgba(232, 163, 61, 0.2);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: #ded6c7;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.bubble.show {
  opacity: 1;
  transform: none;
}
.mock-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #6f6961;
  font-family: var(--mono);
  line-height: 1.5;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}

/* ============================================================
   카드 그리드
   ============================================================ */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(46px, 6vw, 74px);
  align-items: start;
}
.pcard {
  border-top: 1px solid var(--hair);
  padding-top: 22px;
  min-width: 0;
}
.pcard .no {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.tone-light .pcard .no,
.tone-mist .pcard .no {
  color: var(--amber-d);
}
.pcard h3 {
  margin-bottom: 10px;
}

/* 역할 카드의 "결과물" 미리보기 */
.peek {
  margin-top: 18px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(232, 163, 61, 0.07);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sub);
  overflow-wrap: anywhere;
}
.tone-light .peek,
.tone-mist .peek {
  border-color: rgba(232, 163, 61, 0.3);
  color: #7a6231;
}

/* ============================================================
   두 갈래 패널 (앱 고르기 / 지금 상태)
   ============================================================ */
.shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(44px, 6vw, 68px);
  align-items: start;
}
.panel {
  border-radius: 20px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--hair);
  min-width: 0;
}
.panel.old {
  background: rgba(255, 255, 255, 0.03);
}
.tone-light .panel.old,
.tone-mist .panel.old {
  background: rgba(0, 0, 0, 0.025);
}
.panel.pick {
  background: linear-gradient(
    180deg,
    rgba(232, 163, 61, 0.11) 0%,
    rgba(232, 163, 61, 0.03) 100%
  );
  border-color: rgba(232, 163, 61, 0.28);
}
.panel .cap {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--gray);
  line-height: 1.5;
}
.panel.pick .cap {
  color: var(--amber);
}
.tone-light .panel.pick .cap,
.tone-mist .panel.pick .cap {
  color: var(--amber-d);
}
.panel h3 {
  margin: 12px 0 0;
}
.panel .body {
  margin-bottom: 20px;
}
/* 권장 배지 */
.panel .rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1207;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.flow div {
  font-size: 14.5px;
  padding: 12px 15px;
  border-radius: 11px;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gray);
}
.tone-light .flow div,
.tone-mist .flow div {
  background: rgba(0, 0, 0, 0.035);
  border-color: rgba(0, 0, 0, 0.06);
}
.panel.pick .flow div {
  background: rgba(232, 163, 61, 0.1);
  border-color: rgba(232, 163, 61, 0.2);
  color: inherit;
}

/* ============================================================
   PINNED — 3단계
   ============================================================ */
.pin-outer {
  height: 320vh;
}
.pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pin-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step {
  padding: 17px 0 17px 20px;
  border-left: 2px solid var(--hair);
  transition:
    border-color 0.45s,
    opacity 0.45s;
  opacity: 0.34;
}
.step.on {
  opacity: 1;
  border-left-color: var(--amber);
}
.step .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 7px;
}
.tone-light .step .role,
.tone-mist .step .role {
  color: var(--amber-d);
}
.step h3 {
  margin-bottom: 7px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sub);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    margin 0.4s;
}
.step.on p {
  max-height: 240px;
  opacity: 1;
  margin-top: 2px;
}
.pin-progress {
  height: 2px;
  background: var(--hair);
  border-radius: 2px;
  margin-top: 26px;
  overflow: hidden;
}
.pin-progress i {
  display: block;
  height: 100%;
  background: var(--amber);
  width: 0;
  border-radius: 2px;
  transition: width 0.18s linear;
}

/* 라이트 섹션 위의 목업은 그림자를 눌러서 얼룩처럼 보이지 않게 */
.tone-light .mock,
.tone-mist .mock {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.16),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   칩
   ============================================================ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}
.chip {
  font-size: 13px;
  font-weight: 550;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  color: var(--sub);
  line-height: 1.4;
}
.tone-dark .chip {
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   3열 아이콘 블록
   ============================================================ */
.ctrl3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(46px, 6vw, 72px);
  align-items: start;
}
.ctrl3 > div {
  min-width: 0;
}
.ctrl3 .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(232, 163, 61, 0.13);
  color: var(--amber);
  font-size: 19px;
  margin-bottom: 18px;
}

/* ============================================================
   FAQ — 아코디언
   ============================================================ */
.faq {
  margin-top: clamp(40px, 5vw, 62px);
  border-top: 1px solid var(--hair);
}
.faq details {
  border-bottom: 1px solid var(--hair);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.42;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  color: var(--amber-d);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
}
.tone-dark .faq summary::after {
  color: var(--amber);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq summary:hover {
  color: var(--amber-d);
}
.tone-dark .faq summary:hover {
  color: var(--amber);
}
.faq .ans {
  margin: -4px 0 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--sub);
  max-width: 54em;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.wait {
  text-align: center;
}
.wait h2 {
  margin-bottom: 0;
}
.wait .lede {
  margin-left: auto;
  margin-right: auto;
}
.wform {
  display: flex;
  gap: 10px;
  max-width: 470px;
  margin: 34px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.wform input {
  flex: 1 1 250px;
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f7;
  font-family: inherit;
  font-size: 16px;
  min-width: 0;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.wform input::placeholder {
  color: #6e6e73;
}
.wform input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.08);
}
/* 어느 앱을 보낼지 고르는 자리. 두 칸이 나란히, 좁으면 아래로. */
.wpick {
  border: 0;
  margin: 0 auto 18px;
  padding: 0;
  max-width: 640px;
  text-align: left;
}
.wpick legend {
  padding: 0 0 10px;
  font-size: 0.95rem;
  opacity: 0.72;
  text-align: center;
  width: 100%;
}
.wpick-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line, #2a2a2d);
  border-radius: 12px;
  cursor: pointer;
}
.wpick-opt:has(input:checked) {
  border-color: #E8A33D;
  background: color-mix(in srgb, #E8A33D 8%, transparent);
}
.wpick-opt input {
  margin-top: 3px;
  accent-color: #E8A33D;
  flex: 0 0 auto;
}
.wpick-opt b {
  display: block;
  font-size: 1rem;
}
.wpick-opt em {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 2px;
}
.wpick-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
}

/* 접수가 안 됐을 때 손에 쥐어 주는 줄 — 주소와 복사 버튼. */
.wfall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.wfall code {
  font-size: 0.95em;
  opacity: 0.92;
}
.wcopy {
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: 999px;
  padding: 2px 10px;
  font: inherit;
  font-size: 0.85em;
  cursor: pointer;
  opacity: 0.85;
}
.wcopy:hover {
  opacity: 1;
}
.wmsg {
  margin-top: 18px;
  font-size: 14.5px;
  min-height: 22px;
}
.wmsg.ok {
  color: #6dc97e;
}
.wmsg.err {
  color: #e88b7d;
}
.wnote {
  margin-top: 16px;
  font-size: 13.5px;
  color: #6e6e73;
  letter-spacing: -0.005em;
}
.wmail {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--gray);
}
.wmail a {
  color: var(--amber);
  border-bottom: 1px solid rgba(232, 163, 61, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.18s;
  overflow-wrap: anywhere;
}
.wmail a:hover {
  border-bottom-color: var(--amber);
}
.wpriv {
  margin-top: 12px;
  font-size: 12.5px;
  color: #6e6e73;
}

/* ============================================================
   LIVE 배지
   ============================================================ */
.livepill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(232, 163, 61, 0.34);
  background: rgba(232, 163, 61, 0.1);
  color: var(--amber);
  font-size: clamp(12.5px, 1.5vw, 14.5px);
  font-weight: 620;
  letter-spacing: -0.005em;
}
.livepill .blip {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
.livepill .blip::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: blip 2.2s ease-out infinite;
}
@keyframes blip {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ============================================================
   소셜
   ============================================================ */
.nav-social {
  display: flex;
  gap: 2px;
}
.nav-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(245, 245, 247, 0.72);
  transition:
    color 0.18s,
    background 0.18s;
}
.nav-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-social svg {
  width: 16.5px;
  height: 16.5px;
}
.social {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gray);
  font-size: 13.5px;
  font-weight: 550;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.social a:hover {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.social svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.f-follow {
  margin: 26px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5f5f66;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 54px 0 46px;
  color: #f5f5f7;
}
.f-top {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.f-tag {
  font-size: 14.5px;
  color: var(--gray);
  margin-top: 12px;
  max-width: 30em;
  line-height: 1.55;
}
.f-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.f-nav a {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 14px;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.f-nav a:hover {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.4);
}
.f-langs {
  margin-left: auto;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.f-langs button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--gray);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.f-langs button:hover {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.4);
}
.f-langs button[aria-current="true"] {
  color: var(--amber);
  border-color: rgba(232, 163, 61, 0.5);
}
.f-biz {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: #6e6e73;
  line-height: 1.9;
}

/* ============================================================
   ▼▼ 여기서부터 두 트랙에서 새로 쓰는 컴포넌트 ▼▼
   ============================================================ */

/* ---------- 2열 카드 (사용 예 / 대비) ---------- */
.cards2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
  margin-top: clamp(42px, 5.5vw, 66px);
  align-items: stretch;
}
.card {
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: clamp(22px, 2.8vw, 30px);
  min-width: 0;
}
.tone-dark .card {
  background: rgba(255, 255, 255, 0.028);
}
.tone-light .card,
.tone-mist .card {
  background: rgba(255, 255, 255, 0.7);
}
.card .tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin: 0 0 14px;
}
.tone-light .card .tag,
.tone-mist .card .tag {
  color: var(--amber-d);
}
.card h3 {
  margin-bottom: 12px;
}
.card h4 + .body {
  margin-top: 8px;
}

/* 사용 예: "이렇게 말해요 → 이런 게 나와요" */
.say {
  border-left: 2px solid var(--amber);
  padding: 2px 0 2px 15px;
  margin: 0 0 16px;
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.tone-light .say,
.tone-mist .say {
  border-left-color: var(--amber-d);
}
.gotcap {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sub);
  margin: 0 0 10px;
}
.got {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.got li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.55;
  color: var(--sub);
}
.got li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.tone-light .got li::before,
.tone-mist .got li::before {
  background: var(--amber-d);
}
.card .foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--sub);
}

/* ---------- 콜아웃 ---------- */
.callout {
  margin-top: clamp(34px, 4vw, 48px);
  border-left: 3px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 20px 22px;
  background: rgba(232, 163, 61, 0.08);
}
.callout p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.62;
  color: var(--sub);
}
.callout p + p {
  margin-top: 10px;
}
.callout b {
  color: inherit;
  font-weight: 650;
}
.tone-light .callout b,
.tone-mist .callout b {
  color: var(--ink);
}
.tone-dark .callout b {
  color: #f5f5f7;
}

/* ---------- 사람이 하는 일 / 기계가 하는 일 ---------- */
.split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(42px, 5vw, 62px);
  align-items: start;
}
.who {
  border-radius: 20px;
  border: 1px solid var(--hair);
  padding: clamp(24px, 3vw, 34px);
  min-width: 0;
}
.who .cap {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--sub);
  margin: 0 0 16px;
}
.who.human {
  border-color: rgba(232, 163, 61, 0.32);
  background: linear-gradient(
    180deg,
    rgba(232, 163, 61, 0.1) 0%,
    rgba(232, 163, 61, 0.02) 100%
  );
}
.who.human .cap {
  color: var(--amber);
}
.tone-light .who.human .cap,
.tone-mist .who.human .cap {
  color: var(--amber-d);
}
.tone-dark .who.robot {
  background: rgba(255, 255, 255, 0.03);
}
.tone-light .who.robot,
.tone-mist .who.robot {
  background: rgba(0, 0, 0, 0.025);
}
.who ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who li {
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
  color: var(--sub);
}
.who li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-weight: 700;
}
.tone-light .who li::before,
.tone-mist .who li::before {
  color: var(--amber-d);
}

/* ---------- diff 미리보기 ---------- */
.diff {
  margin-top: 26px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}
.diff .dhead {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--hair);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sub);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tone-light .diff .dhead,
.tone-mist .diff .dhead {
  background: rgba(0, 0, 0, 0.035);
}
.diff .dl {
  padding: 5px 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--sub);
}
.diff .del {
  background: rgba(220, 80, 70, 0.12);
  color: #d4736a;
}
.diff .add {
  background: rgba(60, 180, 90, 0.13);
  color: #4fa365;
}
.tone-dark .diff .add {
  color: #6dc97e;
}
.diff .dfoot {
  padding: 11px 14px;
  border-top: 1px solid var(--hair);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font);
  font-size: 12.5px;
  color: var(--sub);
}
.diff .dfoot .k {
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 12px;
  background: rgba(232, 163, 61, 0.16);
  color: var(--amber-d);
}
.tone-dark .diff .dfoot .k {
  color: var(--amber);
}
.diff .dfoot .k2 {
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 550;
  font-size: 12px;
  border: 1px solid var(--hair);
}

/* ---------- 표 ---------- */
.tblwrap {
  margin-top: clamp(34px, 4.5vw, 54px);
  border: 1px solid var(--hair);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.t {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}
table.t.wide {
  min-width: 760px;
}
.t th,
.t td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  line-height: 1.55;
  color: var(--sub);
}
.t thead th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sub);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
.tone-light .t thead th,
.tone-mist .t thead th {
  background: rgba(0, 0, 0, 0.03);
}
.t tbody tr:last-child td {
  border-bottom: 0;
}
.t td.head,
.t th[scope="row"] {
  font-weight: 650;
  color: inherit;
  white-space: nowrap;
}
.t .yes {
  color: #4fa365;
  font-weight: 650;
}
.tone-dark .t .yes {
  color: #6dc97e;
}
.t .no {
  color: #c26d63;
  font-weight: 650;
}
.t .mono,
code {
  font-family: var(--mono);
  font-size: 0.92em;
}
code {
  background: rgba(232, 163, 61, 0.13);
  color: var(--amber-d);
  padding: 1.5px 6px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.tone-dark code {
  color: var(--amber);
  background: rgba(232, 163, 61, 0.14);
}
.tblnote {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sub);
}

/* ---------- 코드 블록 ---------- */
.code {
  margin-top: clamp(26px, 3vw, 34px);
  background: #121110;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.8;
  color: #c9c2b6;
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}
.code .c {
  color: #6f6961;
}
.code .k {
  color: var(--amber);
}
.code .s {
  color: #9fc48a;
}
.code .g {
  color: #6dc97e;
}
.code .r {
  color: #e08b80;
}
.codecap {
  margin: 26px 0 -12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sub);
}

/* ---------- 번호 붙은 흐름 ---------- */
.nsteps {
  display: grid;
  gap: 16px;
  margin-top: clamp(38px, 4.5vw, 56px);
}
.nstep {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.nsteps .nstep:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.nstep .n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(232, 163, 61, 0.14);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}
.tone-light .nstep .n,
.tone-mist .nstep .n {
  color: var(--amber-d);
}
.nstep .tx {
  min-width: 0;
  padding-top: 3px;
}
.nstep .tx p {
  margin: 7px 0 0;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.6;
  color: var(--sub);
}

/* ---------- 구조 다이어그램 ---------- */
.arch {
  margin-top: clamp(40px, 5vw, 60px);
}
.arch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.abox {
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  min-width: 0;
}
.tone-dark .abox {
  background: rgba(255, 255, 255, 0.03);
}
.tone-light .abox,
.tone-mist .abox {
  background: rgba(255, 255, 255, 0.75);
}
.abox .cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--sub);
  margin: 0 0 9px;
}
.abox .nm {
  font-size: clamp(16px, 1.8vw, 18.5px);
  font-weight: 650;
  letter-spacing: -0.018em;
  margin: 0;
}
.abox p.body {
  margin-top: 9px;
  font-size: 14px;
}
.abox.core {
  border-color: rgba(232, 163, 61, 0.34);
  background: linear-gradient(
    180deg,
    rgba(232, 163, 61, 0.11) 0%,
    rgba(232, 163, 61, 0.03) 100%
  );
}
.arch-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  color: var(--sub);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-align: center;
}
.arch-link::before,
.arch-link::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: var(--hair);
  max-width: 120px;
}

/* ---------- 라벨 줄 (키:값) ---------- */
.kv {
  margin-top: clamp(34px, 4vw, 48px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.kv > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
}
.kv dt,
.kv .k {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.012em;
  min-width: 0;
}
.kv dd,
.kv .v {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--sub);
  min-width: 0;
}

/* ---------- 하드레일 배지 ---------- */
.rails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 3.5vw, 42px);
}
.rail {
  border: 1px solid rgba(232, 163, 61, 0.3);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(232, 163, 61, 0.06);
  min-width: 0;
}
.rail .lk {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--amber);
  margin: 0 0 8px;
}
.tone-light .rail .lk,
.tone-mist .rail .lk {
  color: var(--amber-d);
}
.rail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
}

/* ---------- 상태 리스트 (된다/아직) ---------- */
.statusgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(40px, 5vw, 60px);
  align-items: start;
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 980px) {
  .kv > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .grid3,
  .ctrl3,
  .rails {
    grid-template-columns: 1fr 1fr;
  }
  .shift,
  .cards2,
  .split2,
  .statusgrid,
  .arch-row {
    grid-template-columns: 1fr;
  }
  .pin-outer {
    height: auto;
  }
  .pin {
    position: static;
    height: auto;
    padding: clamp(70px, 10vh, 110px) 0;
  }
  .pin-grid {
    grid-template-columns: 1fr;
  }
  .step {
    opacity: 1;
    border-left-color: var(--amber);
  }
  .step p {
    max-height: none;
    opacity: 1;
    margin-top: 2px;
  }
  .pin-progress {
    display: none;
  }
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-side {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}
@media (max-width: 640px) {
  .rails {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid3,
  .ctrl3 {
    grid-template-columns: 1fr;
  }
  .nav-cta,
  .nav-social {
    display: none;
  }
  .nav-in {
    gap: 10px;
  }
  .nav-swap {
    padding: 0 11px;
    font-size: 12.5px;
  }
  .hero {
    padding-top: 92px;
  }
  .livepill {
    min-height: 0;
    padding: 7px 14px;
    line-height: 1.35;
  }
  .btn {
    height: 46px;
    font-size: 15.5px;
  }
  .mock-foot,
  .peek {
    overflow-wrap: anywhere;
  }
  .nstep {
    grid-template-columns: 26px 1fr;
    gap: 12px;
  }
  .nstep .n {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .nav-swap {
    max-width: 118px;
  }
}

/* 어떤 자식도 가로 스크롤을 만들지 못하게 하는 마지막 안전망.
   ⚠️ 여기에 `.wrap > * { max-width:100% }` 를 쓰면 안 된다 — 같은 특이도라
   나중에 오는 이 규칙이 .lede(40em)·.wform(470px) 의 의도한 폭을 덮어버린다.
   넘침은 min-width 를 푸는 것과 상자 자체를 묶는 것으로 막는다. */
.wrap > *,
.hero > * {
  min-width: 0;
}
.mock,
.peek,
.panel,
.card,
.abox,
.who,
.tblwrap,
.code {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .line,
  .bubble {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* 무한 반복이라 duration만 줄이면 오히려 깜빡인다. 아예 끈다. */
  .livepill .blip::after {
    animation: none !important;
    opacity: 0 !important;
  }
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ============================================================
   법률 문서 (terms.html / privacy.html)
   한 칼럼, 긴 글. 홈페이지의 시선 유도 장치는 여기서 전부 방해가 된다 —
   읽는 사람은 대개 특정 조항 하나를 찾으러 온다.
   ============================================================ */
.legal {
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--nav-h) + 56px) var(--pad) 96px;
}
.legal .wrap {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 680;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
}
.legal .l-meta {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0 0 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hair-l);
}
.legal .l-meta b {
  color: var(--ink);
  font-weight: 550;
}
/* 요약 상자. 약관을 끝까지 읽는 사람은 드물다는 사실을 부정하는 대신,
   가장 중요한 것을 맨 위에 둔다. 이것이 조항을 대체하지는 않는다. */
.legal .l-tldr {
  background: var(--paper2);
  border: 1px solid var(--hair-l);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0 0 40px;
}
.legal .l-tldr p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-d);
}
.legal .l-tldr ul {
  margin: 0;
  padding-left: 19px;
}
.legal .l-tldr li {
  font-size: 14.5px;
  line-height: 1.72;
  margin: 0 0 5px;
}
.legal h2 {
  font-size: 19px;
  font-weight: 640;
  letter-spacing: -0.012em;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--hair-l);
}
.legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.legal h3 {
  font-size: 15.5px;
  font-weight: 620;
  margin: 26px 0 9px;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.78;
  color: #333336;
}
.legal p {
  margin: 0 0 13px;
}
.legal ul,
.legal ol {
  margin: 0 0 15px;
  padding-left: 21px;
}
.legal li {
  margin: 0 0 6px;
}
.legal a {
  color: var(--amber-d);
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 14px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 11px 13px;
  border: 1px solid var(--hair-l);
  line-height: 1.62;
}
.legal th {
  background: var(--paper2);
  font-weight: 600;
  color: var(--ink);
}
/* 넓은 표는 페이지가 아니라 표가 스크롤해야 한다. */
.legal .tblwrap {
  overflow-x: auto;
  margin: 0 0 18px;
}
.legal .tblwrap table {
  min-width: 460px;
  margin: 0;
}
/* 아직 시행되지 않은 조항(유료 서비스 등)을 시각적으로 구분한다.
   "지금은 해당 없음"을 본문에 섞어 두면 읽는 사람이 오해한다. */
.legal .l-soon {
  border-left: 3px solid var(--amber);
  background: #fdf8f0;
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin: 0 0 18px;
}
.legal .l-soon p:last-child {
  margin-bottom: 0;
}
.legal .l-updated {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--hair-l);
  font-size: 13.5px;
  color: var(--gray);
}
/* 법률 페이지 사이를 오가는 링크. 한쪽만 보고 나가는 일이 많다. */
.legal .l-also {
  margin-top: 14px;
  font-size: 14px;
}

/* ── 설치 안내 (install.html) ────────────────────────────────────────────────
 *
 * 서명 없는 파일이라 크롬과 윈도우가 한 번씩 막아선다. 그 화면을 **그대로
 * 보여 주는 것**이 이 페이지의 일이다 — 글로만 "무시하고 진행하세요" 라고 하면
 * 사람은 진짜로 위험한 것인지 우리가 원래 그런 것인지 구분할 수 없다.
 */
.legal .g-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 30px;
}
.legal .g-step {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--hair-l);
}
.legal .g-step:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.legal .g-num {
  display: inline-block;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: 2px;
}
/* 화면 사진. 어두운 바탕의 대화상자라 흰 종이 위에서 떠 보이게 테두리를 준다. */
.legal figure {
  margin: 16px 0 0;
}
.legal figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hair-l);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.legal figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray);
}
/* 눌러야 하는 것의 이름. 본문 속에서 버튼처럼 보이게. */
.legal kbd {
  font-family: inherit;
  font-size: 0.92em;
  font-weight: 600;
  padding: 2px 7px;
  border: 1px solid var(--hair-l);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--paper2);
  color: var(--ink);
  white-space: nowrap;
}
/* "왜 이렇게까지 하나" 를 답하는 상자. 숨기지 않는다. */
.legal .g-why {
  margin: 30px 0 0;
  padding: 18px 20px;
  background: var(--paper2);
  border-radius: 12px;
  font-size: 14.5px;
}
.legal .g-why p:last-child {
  margin-bottom: 0;
}
