/* landing 의 모양 — 디자인 안을 따른다 (docs/design/decision-25-landing-design.md 2단계).
   값은 디자인 사이트에서 읽은 것이다(기준본 docs/landing-design/). 디자인이 바뀌면 아래 :root 의 값부터 맞춘다. */
@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 색 */
  --bg: #111813;            /* 바탕 */
  --card: #19231d;          /* 카드 */
  --field: #111813;         /* 입력 칸 바탕 */
  --line: #2a3830;          /* 테두리 · 구분선 */
  --text: #eff5ef;          /* 제목 */
  --body: #f4f7f5;          /* 본문 */
  --muted: #b3c1b7;         /* 보조 글 */
  --faint: #a5b3aa;         /* 발 영역의 글 */
  --accent: #32bd88;        /* 민트 — 단추 · 링크 · 강조 */
  --accent-ink: #111813;    /* 민트 단추 위의 글 */
  --error: #f08c8c;
  --ok: #32bd88;
  --warn: #e8c26a;          /* 기한 30일 안 */
  --late: #f0a35c;          /* 유예 중 */
  /* 크기 */
  --wrap: 1104px;           /* 내용 폭 */
  --head: 84px;             /* 머리 영역 높이 */
  --radius: 12px;           /* 카드 */
  --radius-s: 6px;          /* 단추 · 입력 칸 */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 500 14px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

/* ── 머리 영역 ── */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { height: var(--head); display: flex; align-items: center; gap: 44px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { display: block; height: 50px; width: auto; }
.site-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.site-links { display: flex; align-items: center; gap: 26px; }
.site-links a, .foot-links a { color: var(--body); font-size: 14px; font-weight: 500; }
.site-links a.on, .foot-links a.on, .foot-links a.brand { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; min-width: 0; margin-left: auto; }
.site-nav > a:not(.btn) { color: var(--body); }
/* 회원 이름 단추와 뜨는 메뉴 (decision-26 M10) */
.user-menu { position: relative; min-width: 0; }
.user-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; background: transparent; color: var(--body); border: 1px solid var(--line); font-size: 14px; font-weight: 500; max-width: 280px; }
.user-btn:hover { filter: none; border-color: var(--accent); }
.user-btn [data-user-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-btn .icon { flex: 0 0 auto; width: 16px; height: 16px; }
.user-pop { position: absolute; z-index: 6; top: calc(100% + 6px); right: 0; min-width: 180px; display: flex; flex-direction: column; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.user-pop a { padding: 9px 12px; color: var(--body); border-radius: 4px; }
.user-pop a:hover, .user-pop a:focus-visible { background: rgba(50, 189, 136, 0.1); text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; height: 38px; padding: 0 16px; background: transparent; color: var(--body); border: 1px solid var(--line); }
.menu-toggle:hover { filter: none; border-color: var(--accent); }

/* 링크 모양의 단추 (Contact Sales · Contact Sales on Telegram) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--accent-ink); background: var(--accent);
  border-radius: var(--radius-s);
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }

/* ── 내용 ── */
.page { flex: 1; width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 72px 24px 56px; }

/* 소개 화면의 머리말 · 큰 카드 */
.center { text-align: center; }
.hero { max-width: 980px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 20px; font-weight: 600; }
h1.display { margin: 0 0 20px; font-size: 60px; line-height: 1.08; letter-spacing: -0.045em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.panel {
  margin: 64px 0 0; padding: 36px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.panel-note.first { margin-top: 0; }
.panel-note { margin: 22px 0 0; font-size: 16px; font-weight: 400; color: var(--muted); }

/* ── Home ── */
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-l { height: 64px; min-width: 248px; font-size: 16px; border-radius: 8px; }
.btn-ghost { background: transparent; color: var(--body); border: 1px solid var(--line); }
.btn-ghost:hover { filter: none; border-color: var(--accent); }

.home { padding-top: 64px; }
.home-hero { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: start; }
.home-hero .eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 600; }
.home-hero h1.display { margin: 0; }
.home-hero-actions { display: grid; gap: 12px; padding-top: 34px; }
.home-hero .lead { grid-column: 1 / -1; margin-top: 30px; max-width: 1000px; }

/* 화면 그림 */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0b100d; }
.shot img, .preview img { display: block; width: 100%; height: auto; }
.shot.glow { margin: 56px auto 0; max-width: 1000px; box-shadow: 0 0 120px rgba(50, 189, 136, 0.22); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 80px 0 0; scroll-margin-top: 24px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.feature p { margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }

.block { margin: 96px 0 0; }
.block > .eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 600; }
.block h2 { margin: 0 0 22px; font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.block > .lead { max-width: 1000px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 32px 0 0; }
.points h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.points p { margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0 0; align-items: start; }
.sample { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.sample-label { margin: 0 0 18px; font-size: 12px; font-weight: 500; color: var(--accent); }
.sample h3 { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--text); }
.sample-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.sample-list li { display: flex; gap: 14px; padding: 12px 16px; font-size: 14px; color: var(--body); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); }
.sample-list span { color: var(--accent); font-size: 12px; line-height: 22px; }
.sample-small { margin: 0 0 12px; font-size: 12px; font-weight: 400; color: var(--muted); }
.sample-value { margin: 0; font-size: 14px; color: var(--body); }
.preview { margin: 0; }
.preview .sample-label { display: block; margin-bottom: 12px; }
.preview img { border: 1px solid var(--line); border-radius: var(--radius); }

.kinds { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.kinds li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--body); }
.kinds .icon { color: var(--accent); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0 0; }
.tile { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.tile > .icon { color: var(--accent); margin-bottom: 22px; }
.tile h3 { margin: 0 0 22px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.tile p { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.chips span { padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-s); }
.chips .icon { color: var(--accent); }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; font-weight: 500; color: var(--accent); }
.feature .more { margin-top: 10px; }
.feature .more .icon { margin-bottom: 0; width: 16px; height: 16px; }
.block > .more { margin-top: 28px; }
/* 아직 제공하지 않는 것의 꼬리표 (Proxy) */
.tile .tag-note {
  margin-top: 22px; padding: 3px 10px;
  font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--faint);
  border: 1px solid var(--line); border-radius: var(--radius-s);
}

.screens { margin: 32px 0 0; }
.screen-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.screen-tabs button { padding: 0 8px; min-width: 0; }
.screen-tabs button { height: 44px; font-size: 13px; font-weight: 600; color: var(--body); background: var(--card); border: 1px solid var(--line); }
.screen-tabs button:hover { filter: none; border-color: var(--accent); }
.screen-tabs button[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.screen-notes { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 12px; font-weight: 400; color: var(--muted); }
.screen-foot { margin: 28px 0 0; font-size: 12px; font-weight: 400; color: var(--muted); }

.closing .btn { margin-top: 4px; }

/* ── Technology ── */
.caption { margin: 14px 0 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.label { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--accent); }
.strong { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--text); }
.box { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.box > .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; display: block; }
.box h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.box p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.icon.down { display: block; margin: 12px 0; color: var(--accent); }
button.ghost { height: 38px; padding: 0 18px; font-size: 13px; background: transparent; color: var(--body); border: 1px solid var(--line); }
button.ghost:hover { filter: none; border-color: var(--accent); }

/* 전체 흐름 그림 */
.overview { margin: 64px 0 0; padding: 44px 28px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ov-cms { width: max-content; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 46px 10px 26px; font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line); border-radius: 10px; }
.ov-cms img { display: block; width: 52px; height: auto; }
.ov-link { width: 50%; height: 24px; margin: 22px 0 14px 12.5%; border: 1px dashed var(--accent); border-bottom: 0; opacity: 0.8; }
.ov-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: start; }
.ov-node { position: relative; min-height: 136px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 10px; }
.ov-node > .icon { width: 26px; height: 26px; color: var(--accent); display: block; margin-bottom: 10px; }
.ov-node h2 { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: normal; color: var(--text); }
.ov-node p { margin: 0; max-width: 11em; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.ov-arrow { align-self: center; color: var(--accent); margin-top: 0; }
.ov-chip { position: absolute; left: 8px; top: calc(100% + 8px); display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; font-size: 11px; font-weight: 600; color: var(--accent); border: 1px solid var(--line); border-radius: 5px; background: var(--card); }
.ov-chip .icon { width: 12px; height: 12px; }
.ov-chip-note { position: absolute; left: 8px; top: calc(100% + 32px); font-size: 11px; white-space: nowrap; color: var(--muted); }
.overview .ov-row { padding-bottom: 46px; }

.anchors { display: flex; flex-wrap: wrap; gap: 12px; }
.anchors a { padding: 10px 12px; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-s); }
.anchors a:hover { text-decoration: none; border-color: var(--accent); }

/* CMS 구조의 줄: 왼쪽 글, 오른쪽 그림 */
.arch { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin: 36px 0 0; padding: 44px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.arch.wide { grid-template-columns: 1fr; gap: 0; }
.arch-text .eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 500; }
.arch-text h2 { margin: 0 0 24px; font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.step { align-self: stretch; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step > .icon { width: 26px; height: 26px; color: var(--accent); display: block; margin-bottom: 20px; }
.step h3 { margin: 0 0 12px; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--text); }
.step p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.step-arrow, .config-arrow { color: var(--accent); }
.config { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 44px; }
.config-right img { display: block; width: 100%; height: auto; margin-bottom: 14px; border-radius: 6px; }
.roles-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* 기술 구획 (P2P Streaming · Proxy) */
.topic { margin: 64px 0 0; padding: 44px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.topic > .eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 500; }
.topic > h2 { margin: 0 0 24px; font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--text); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topic > h2 .tag-note { padding: 3px 10px; font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: normal; color: var(--faint); border: 1px solid var(--line); border-radius: var(--radius-s); }
.topic.closing { padding-top: 36px; }
.p2p { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin: 28px 0 0; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.p2p-col h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.p2p-col p { margin: 0; min-height: 3.2em; font-size: 14px; font-weight: 400; color: var(--muted); }
/* 디자인 팀이 준 SVG 를 끼워 넣는다 — 움직임(선의 점선이 흐른다)은 여기서 준다. Pause 로 멈춘다 */
.p2p-col svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 18px auto 0; font-family: "Inter", Arial, sans-serif; }
.p2p-col svg .flow { animation: p2pflow 3s linear infinite; }
.p2p.paused .p2p-col svg .flow { animation-play-state: paused !important; }
@keyframes p2pflow { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .p2p-col svg .flow { animation: none; } }
.p2p-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legend { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; color: var(--muted); }
.lg { display: inline-block; width: 20px; height: 2px; border-radius: 2px; }
.lg.server { background: #e3b565; }
.lg.peer { background: var(--accent); margin-left: 12px; }
.benefits { display: grid; gap: 22px; margin: 28px 0 0; }
.benefits.three { grid-template-columns: repeat(3, 1fr); }
.benefits.two, .routes { grid-template-columns: 1fr 1fr; }
.benefits .box { padding: 28px; }
.benefits .box > .icon { width: 22px; height: 22px; }
.routes { display: grid; gap: 22px; margin: 14px 0 0; }
.route { display: flex; align-items: flex-start; justify-content: space-around; gap: 12px; padding: 26px 0 8px; text-align: center; }
.route > div { display: grid; justify-items: center; gap: 10px; }
.route > .icon { margin-top: 12px; color: var(--accent); }
.route .icon.big { width: 36px; height: 36px; color: var(--accent); }
.route b { font-size: 14px; font-weight: 600; color: var(--text); }
.route small { font-size: 13px; color: var(--muted); }

/* ── Product ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 64px 0 0; }
.duo-card { display: flex; flex-direction: column; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.duo-card h2 { margin: 0 0 22px; font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.duo-card p:last-child { margin-bottom: 0; }
.duo-card p:has(+ .more) { margin-bottom: 0; }
.duo-card .more { margin-top: 22px; align-self: flex-start; }
.duo-card p { margin: 0 0 40px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.duo-card img { display: block; width: 100%; height: auto; margin-top: auto; border-radius: 8px; border: 1px solid var(--line); }
.topic > .lead { max-width: 1000px; }
.opflow { margin: 28px 0 0; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.node { padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.node h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.node p { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.via { display: flex; align-items: center; gap: 12px; margin: 14px 0 14px 8px; font-size: 13px; font-weight: 500; color: var(--accent); }
.opflow .label { margin: 26px 0 14px; }
.opflow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.opflow-sales { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.opflow-sales .via:first-child { margin-top: 0; min-height: 3em; }
.bullets { margin: 36px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 36px 0 0; }
.shots img, .wide-shot { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 0 60px rgba(50, 189, 136, 0.16); }
.wide-shot { margin: 28px 0 0; }
.numbered { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; }
.numbered .option-no { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--accent); }
.numbered + .bullets { margin-top: 28px; }
.product .split { margin-top: 28px; }
.box.note { margin-top: 28px; }
.roles-table { margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.roles-table > div { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
.roles-table > div + div { border-top: 1px solid var(--line); }
.roles-table dt { font-size: 14px; font-weight: 600; color: var(--text); }
.roles-table dd { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.faq { margin: 28px 0 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; font-size: 16px; font-weight: 400; color: var(--muted); }

/* 기술 상세 (technology/p2p · technology/proxy) */
.howto { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 26px; }
.howto li { display: flex; gap: 22px; font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.howto span { font-size: 13px; font-weight: 600; color: var(--accent); line-height: 26px; }
.box.plain { background: transparent; }
.fine.after-lead { margin: 26px 0 0; }
.faq.boxed { border-top: 0; display: grid; gap: 28px; }
.faq.boxed details { padding: 0 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.faq.boxed summary { font-size: 14px; padding: 22px 0; }
.btn.cta { margin-top: 28px; }
.topic > h2 + .btn.cta { margin-top: 4px; }
.hero.left { margin: 0; max-width: none; }
.topic.center > h2 { justify-content: center; }
.hero-tag { margin: 22px 0 0; }
.hero-tag .tag-note { display: inline-block; padding: 3px 10px; font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--faint); border: 1px solid var(--line); border-radius: var(--radius-s); }
.topic.plain-top { border-top: 0; padding-top: 0; }

/* 선택지 카드 줄 (Deployment 의 셋) */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 64px 0 0; }
.option {
  display: flex; flex-direction: column;
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.option .option-no { margin: 0 0 22px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--accent); }
.option h2 { margin: 0 0 22px; max-width: 9em; font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.option p { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--muted); }
/* 아직 제공하지 않는 선택지의 꼬리표 */
.option .option-note {
  align-self: flex-start; margin-top: auto; padding: 3px 10px;
  font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--faint);
  border: 1px solid var(--line); border-radius: var(--radius-s);
}
.option p:has(+ .option-note) { margin-bottom: 22px; }
.after { margin: 64px 0 0; }
.after .lead { margin-bottom: 26px; }
.fine { margin: 0 0 26px; font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--muted); }

/* 계정 카드 (로그인 · 가입 · 이메일 확인 · 로그인한 뒤) */
.card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 500; }
h1 { margin: 0 0 12px; font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.sub { margin: 0 0 28px; font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.sub b { color: var(--body); font-weight: 500; }

form { display: grid; gap: 20px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--body); }
input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  outline: none;
}
input::placeholder { color: #7f8f85; }
input:focus { border-color: var(--accent); }

button {
  height: 48px;
  padding: 0 22px;
  font: inherit;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-s);
  cursor: pointer;
}
button:hover { filter: brightness(1.06); }
button:disabled { opacity: 0.6; cursor: default; filter: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── 접근성 (decision-25 5단계) ── */
/* 화면 읽기 프로그램에만 들리는 글 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 키보드로 처음 Tab 을 누르면 보이는 "Skip to content" */
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-s); }
.skip:focus { top: 12px; text-decoration: none; }
/* 글 속의 링크는 색만이 아니라 밑줄로도 알아보게 */
.alt a, .fineprint a, .sub a { text-decoration: underline; text-underline-offset: 3px; }
/* 누를 곳은 24px 이상 */
.foot-links a { display: inline-block; padding: 4px 0; }
.more, .ov-chip { min-height: 24px; }
textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  outline: none;
  resize: vertical;
}
textarea:focus { border-color: var(--accent); }

/* 비밀번호 칸과 Show · Hide */
.pw { position: relative; display: block; }
.pw input { padding-right: 68px; }
.pw button { position: absolute; top: 0; right: 0; height: 48px; padding: 0 16px; font-size: 13px; background: transparent; color: var(--accent); }
.pw button:hover { filter: none; text-decoration: underline; }
.fineprint { margin: 20px 0 0; font-size: 13px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.alt { margin: 24px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.msg {
  margin: 0 0 20px;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
}
.msg.error { color: var(--error); border-color: rgba(240, 140, 140, 0.4); background: rgba(240, 140, 140, 0.07); }
.msg.info { color: var(--ok); border-color: rgba(50, 189, 136, 0.4); background: rgba(50, 189, 136, 0.07); }

/* ── 회원 영역 (decision-26-member-area): 탭 넷 ── */
.member { width: 100%; max-width: 820px; margin: 0 auto; }
.tabs { display: flex; gap: 6px; margin: 0 0 40px; padding-bottom: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { flex: 0 0 auto; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { text-decoration: none; color: var(--body); }
.tabs a.on { color: var(--accent); border-bottom-color: var(--accent); }
.member h2 { margin: 36px 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.member [data-tab] > .more { margin-top: 24px; }
.member .btn { margin-top: 4px; }
/* 진행 단계 */
.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.progress li { display: flex; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.progress li.current { background: var(--card); border-color: rgba(50, 189, 136, 0.5); }
.progress li.todo { opacity: 0.55; }
.progress-no { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--body); border: 1px solid var(--line); }
.progress li.done .progress-no { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.progress li.current .progress-no { color: var(--accent); border-color: var(--accent); }
.progress-body { min-width: 0; flex: 1; }
.progress h3 { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: var(--text); }
.progress p { margin: 8px 0 0; font-size: 14px; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.progress .order-pay, .progress .btn { flex: none; width: auto; height: 40px; margin-top: 14px; padding: 0 18px; }
/* 요약 두 줄 */
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); }
.summary-row:hover { text-decoration: none; border-color: var(--accent); }
.summary-row b { color: var(--text); font-weight: 600; text-align: right; }
/* Server 탭의 두 구역 (decision-26 M11): 설치 · 운영. 지금 상태의 구역(.lead)을 위에 펼치고 민트 테두리, 다른 구역은 한 줄로 접는다 */
.server-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.server-strip b { font-size: 16px; color: var(--text); }
.server-strip .strip-next { color: var(--muted); font-size: 13px; }
.server-strip .strip-warn { color: var(--warn); border-color: rgba(232, 194, 106, 0.45); }
.server-strip .strip-late { color: var(--late); border-color: rgba(240, 163, 92, 0.45); }
.server-strip .strip-stop { color: var(--error); border-color: rgba(240, 140, 140, 0.45); }
.server-strip .strip-ok { color: var(--muted); }
.zones { display: flex; flex-direction: column; gap: 16px; }
.zone { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(25, 35, 29, 0.55); }
.zone > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; }
.zone > summary::-webkit-details-marker { display: none; }
.zone > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.zone-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.zone-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; }
.zone-head h2 { margin: 0; font-size: 18px; color: var(--muted); }
.zone-sum { color: var(--muted); font-size: 13px; }
.zone-chev { color: var(--faint); font-size: 18px; transition: transform 0.15s; }
.zone[open] .zone-chev { transform: rotate(90deg); }
.zone.lead { border-color: rgba(50, 189, 136, 0.55); }
.zone.lead .zone-tag { color: var(--accent); }
.zone.lead .zone-head h2 { font-size: 22px; color: var(--text); }
.zone-body { display: flex; flex-direction: column; gap: 20px; padding: 0 20px 20px; }
.zone-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--text); }
.zone-step small { font-size: 12px; font-weight: 400; color: var(--faint); }
.zone-step .order-status { margin-left: auto; }
.zone-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.zone-empty { margin: 0; color: var(--muted); font-size: 14px; }
.zone-req { margin-left: auto; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.zone-req-choice { color: var(--warn); border-color: rgba(232, 194, 106, 0.45); }
.zone-lead { margin: -4px 0 12px; color: var(--muted); font-size: 14px; }

/* 메일 고르기 (decision-36): 카드 둘 — 같은 장면 셋, 누가 일하나(You 노랑 · Automatic 민트), 드는 시간 */
.email-choice { display: flex; flex-direction: column; gap: 12px; }
.email-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* 카드는 <button> 이다 — 공통 button 규칙(높이 48px · 민트 바탕 · 굵은 글씨)을 풀어 준다 */
.email-opt { height: auto; min-width: 0; text-align: left; cursor: pointer; display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 400; white-space: normal; transition: border-color 0.15s, background 0.15s; }
.email-opt:hover { border-color: #3d5246; filter: none; }
.email-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.email-opt[aria-checked="true"] { border-color: var(--accent); background: #1b2a22; box-shadow: 0 0 0 3px rgba(50, 189, 136, 0.15); }
.email-opt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.email-opt-head h4 { margin: 0; font-size: 18px; line-height: 1.25; }
.email-cost { flex: 0 0 auto; text-align: right; }
.email-cost b { display: block; font-size: 20px; }
.email-cost span { font-size: 11px; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; }
.email-badge { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; background: rgba(50, 189, 136, 0.14); color: var(--accent); }
.email-badge-warm { background: rgba(232, 194, 106, 0.12); color: var(--warn); }
.email-sum { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.email-scenes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.email-scene { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; padding: 9px 10px; border-radius: var(--radius-s); background: rgba(255, 255, 255, 0.03); }
.email-scene p { margin: 0; font-size: 13px; }
.email-scene small { display: block; color: var(--faint); font-size: 12px; }
.email-who { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 0; text-align: center; border-radius: 4px; }
.email-who-you { color: var(--warn); background: rgba(232, 194, 106, 0.12); }
.email-who-auto { color: var(--accent); background: rgba(50, 189, 136, 0.12); }
.email-needs { margin: 0; padding: 10px 12px; border-radius: var(--radius-s); border: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.email-needs b { color: var(--text); }
.email-foot { margin: 0; font-size: 12px; color: var(--faint); }
.email-hint { padding: 10px 14px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.email-hint b { color: var(--text); }
.email-guide { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius-s); background: rgba(50, 189, 136, 0.08); border: 1px solid rgba(50, 189, 136, 0.35); }
.email-guide p { margin: 0; font-size: 13px; color: var(--muted); }
.email-guide p b { color: var(--text); }
@media (max-width: 720px) { .email-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .zone-chev { transition: none; } }
@media (max-width: 640px) {
  .zone > summary { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .zone-tag { grid-column: 1 / -1; }
  .zone-body { padding: 0 16px 16px; }
}
.alt.forgot { margin-top: 16px; }
.profile-form { max-width: 460px; }
.profile-form input[readonly] { color: var(--muted); cursor: default; }
.profile-form .fineprint { margin: -8px 0 0; text-align: left; }
.profile-form button[type="submit"] { width: auto; justify-self: start; padding: 0 22px; }
.profile-form .msg { margin: 0; }

/* ── 구획 (상품 · 초기 설정 · 내 서버 · 내 주문) ── */
.plans, .orders { width: 100%; max-width: 820px; margin: 56px auto 0; }
.plans h2, .orders h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }

/* Plans 화면 */
.plan-page { max-width: 900px; margin: 64px auto 0; }
.plan-page .fineprint { margin-top: 28px; }
.plan-page .plan { padding: 28px; }
.plan-page .plan h3 { font-size: 24px; letter-spacing: -0.03em; }

/* 파는 상품 (decision-11-plans) */
.plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.plan h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.plan-period { color: var(--muted); font-size: 14px; }
.plan-price { margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.plan-desc { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.plan-tag {
  display: inline-block; margin-top: 12px; padding: 2px 10px;
  font-size: 12px; border-radius: var(--radius-s);
  color: var(--body); border: 1px solid var(--line);
}
.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan-order { margin-top: auto; width: 100%; }
.plan > :nth-last-child(2) { margin-bottom: 18px; }

/* 내 주문 (decision-12-orders) · 초기 설정 · 내 서버 — 카드 한 줄 */
.order-list { display: grid; gap: 12px; }
.order {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-name { font-size: 16px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.order-meta { color: var(--muted); font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; }
.order-status { font-size: 12px; padding: 2px 10px; border-radius: var(--radius-s); border: 1px solid var(--line); white-space: nowrap; color: var(--body); }
.order-status.order-paid { color: var(--ok); border-color: rgba(50, 189, 136, 0.45); }
.order-status.order-cancelled { color: var(--faint); }
.order-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.order-actions button, .setup-form button { height: 40px; padding: 0 18px; }
.order-pay { flex: 1; }
.order-cancel {
  flex: 0 0 auto; background: transparent; color: var(--body);
  border: 1px solid var(--line);
}
.order-cancel:hover { border-color: var(--accent); filter: none; }

/* 초기 설정 (decision-21-customer-keys) */
.setup-form { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.setup-form input { flex: 1 1 220px; min-width: 0; margin: 0; height: 40px; font-size: 14px; }
.setup-form button { flex: 0 0 auto; width: auto; margin: 0; }
.order .msg { margin: 12px 0 0; }

/* 라이선스 기한 한 줄 (decision-32): 서버 카드 · Overview 맨 위 */
.license { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 14px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-s); }
.license-warn { color: var(--warn); border-color: rgba(232, 194, 106, 0.45); background: rgba(232, 194, 106, 0.07); }
.license-late { color: var(--late); border-color: rgba(240, 163, 92, 0.45); background: rgba(240, 163, 92, 0.08); }
.license-stop { color: var(--error); border-color: rgba(240, 140, 140, 0.45); background: rgba(240, 140, 140, 0.08); }
.license .license-act { flex: 0 0 auto; }
[data-license-alert] .license { margin: 0 0 20px; }
/* 러너의 공개 키 (decision-22 U-e) — 한 줄 명령. 길어서 줄을 바꿔 보인다 */
.setup-key {
  margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--field); color: var(--body);
  font: 400 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere; user-select: all;
}

/* ── 발 영역 ── */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 28px 0 40px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 13px; }
.foot-links a { font-size: 13px; }
.disclaimer { padding: 20px 48px 0; }
.disclaimer p { margin: 0; font-size: 14px; line-height: 1.65; font-weight: 400; color: var(--faint); }
.disclaimer .foot-title { margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ── 좁은 화면 ── */
/* 메뉴를 Menu 단추 아래로 접는다 — 디자인과 같은 폭(1200 미만)에서 */
@media (max-width: 1199px) {
  .site-head .wrap { position: relative; gap: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-menu {
    display: none; position: absolute; z-index: 5; top: calc(var(--head) - 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-menu.open { display: flex; }
  .site-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-nav { flex-direction: column; align-items: flex-start; gap: 16px; margin-left: 0; }
  .user-btn { max-width: 70vw; }
  .user-pop { position: static; margin-top: 8px; box-shadow: none; }
}
@media (max-width: 860px) {
  h1.display { font-size: 40px; }
  .disclaimer { padding: 20px 24px 0; }
  .options { grid-template-columns: 1fr; gap: 16px; }
  .screen-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .duo, .opflow-cols, .shots, .roles-table > div { grid-template-columns: 1fr; }
  .roles-table > div { gap: 8px; }
  .numbered { grid-template-columns: 1fr 1fr; }
  .duo-card h2 { font-size: 30px; }
  .ov-row, .steps, .config { grid-template-columns: 1fr; }
  .ov-arrow, .step-arrow, .config-arrow { justify-self: center; transform: rotate(90deg); }
  .ov-node { min-height: 0; }
  .ov-node p { max-width: none; }
  .ov-chip, .ov-chip-note { position: static; margin-top: 12px; }
  .ov-chip-note { display: block; margin-top: 6px; white-space: normal; }
  .overview { padding: 28px 18px; }
  .overview .ov-row { padding-bottom: 0; }
  .ov-link { display: none; }
  .ov-cms { margin-bottom: 18px; }
  .arch { grid-template-columns: 1fr; gap: 28px; }
  .arch-text h2, .topic > h2 { font-size: 30px; }
  .p2p, .benefits.three, .benefits.two, .routes { grid-template-columns: 1fr; }
  .p2p-col p { min-height: 0; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-actions { padding-top: 26px; }
  .home-hero .lead { margin-top: 26px; }
  .btn-l { height: 54px; min-width: 0; }
  .features { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .points, .split, .pair { grid-template-columns: 1fr; gap: 20px; }
  .block { margin-top: 72px; }
  .block h2 { font-size: 30px; }
  .option h2 { max-width: none; font-size: 30px; }
}
@media (max-width: 640px) {
  :root { --head: 64px; }
  .logo img { height: 40px; }
  .page { padding: 48px 16px 40px; }
  .wrap { padding: 0 16px; }
  .site-menu { padding: 16px 16px 20px; }
  .card { padding: 24px; }
  h1 { font-size: 30px; }
  h1.display { font-size: 36px; }
  .sub { font-size: 16px; margin-bottom: 22px; }
  .lead { font-size: 16px; }
  .panel, .options, .after { margin-top: 44px; }
  .option { padding: 22px; }
  .arch-text h2, .topic > h2 { font-size: 26px; }
  .roles-pair, .opflow-sales, .numbered { grid-template-columns: 1fr; }
  .opflow-sales .via:first-child { min-height: 0; }
  .opflow, .duo-card { padding: 18px; }
  .duo-card h2 { font-size: 26px; }
  .p2p { padding: 18px; }
  .home { padding-top: 40px; }
  .features { grid-template-columns: 1fr; }
  .block { margin-top: 56px; }
  .block h2 { font-size: 26px; }
  .tile { padding: 22px; }
  .tile h3 { font-size: 20px; }
  .shot.glow { margin-top: 36px; box-shadow: 0 0 60px rgba(50, 189, 136, 0.2); }
  .option p { font-size: 16px; }
  .plans, .orders { margin-top: 40px; }
  .summary { grid-template-columns: 1fr; }
  .tabs { margin-bottom: 28px; }
  .plans h2, .orders h2 { font-size: 20px; }
  .order { padding: 16px; }
  .disclaimer { padding: 20px 16px 0; }
}

/* 아주 좁은 휴대폰(≤380px): 회원 영역의 탭 넷이 한 줄에 들게 */
@media (max-width: 380px) {
  .tabs { gap: 0; }
  .tabs a { padding: 12px 10px; }
}

/* ── 없는 주소 (404) ── */
.notfound { max-width: 620px; margin: 40px auto; text-align: center; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── flash paper (landing-api 가 그린다 — decision-18) ── */
.fp-head .wrap { justify-content: flex-start; }
.fp textarea { min-height: 180px; }
.fp .copy { margin-top: 4px; font-size: 14px; overflow-wrap: anywhere; }
.fp input[readonly] { cursor: pointer; }   /* 누르면 복사된다 (flashpaper genfire) */
.fp .msg { margin-top: 12px; }
.fp .meta { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.fp form button { justify-self: start; }

/* ── Admin Access Protection (decision-31): 설치된 서버 카드 안의 허용 IP 목록 ── */
.admin-ips { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.admin-ips-title { font-size: 15px; font-weight: 600; color: var(--text); }
.admin-ips-list { display: grid; gap: 6px; }
.admin-ip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.admin-ip-cidr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--text); }
.admin-ip-note { font-size: 13px; color: var(--muted); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.admin-ip .order-cancel { margin-left: auto; height: 32px; padding: 0 12px; }
.admin-ips .setup-form { margin-top: 4px; }

/* 서버 요건 (decision-37 G1) · 이미 rexuser 가 있는 회원의 명령 (G2) */
.setup-req { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--field); font-size: 14px; }
.setup-req b { display: block; margin-bottom: 4px; color: var(--text); }
.setup-req ul { margin: 0; padding-left: 18px; color: var(--muted); }
.setup-alt { margin-top: 14px; }
.setup-alt summary { cursor: pointer; color: var(--muted); font-size: 14px; }

/* DNS 점검 (decision-37 G6 가) */
.order-status.order-warn { color: var(--late); border-color: rgba(240, 163, 92, 0.45); }
.dns-list { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.dns-list li { display: grid; grid-template-columns: 18px minmax(0, 220px) 1fr; gap: 8px; align-items: baseline; }
.dns-list b { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.dns-mark { font-weight: 700; color: var(--late); }
.dns-ok .dns-mark { color: var(--ok); }
.dns-text { color: var(--muted); }
.dns-ok .dns-text { color: var(--ok); }
@media (max-width: 720px) { .dns-list li { grid-template-columns: 18px 1fr; row-gap: 2px; } .dns-text { grid-column: 2; } }
/* 서버 점검 (decision-37 G6 나) — 항목 이름이 짧다 */
.check-list li { grid-template-columns: 18px 72px 1fr; }
@media (max-width: 720px) { .check-list li { grid-template-columns: 18px 1fr; } }

/* 지원 세션 띠 (decision-39) */
.member-view-banner { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-s); border: 1px solid rgba(240, 163, 92, 0.55); background: rgba(240, 163, 92, 0.1); color: var(--late); font-size: 14px; }
.member-view-banner b { color: var(--text); margin-right: 4px; }
/* 설치 요청 (decision-37 H4) — 권하는 것은 흐리게 */
.request-list li { grid-template-columns: 18px 104px 1fr; }
.dns-soft .dns-mark, .dns-soft .dns-text { color: var(--muted); }
@media (max-width: 720px) { .request-list li { grid-template-columns: 18px 1fr; } }
