/* signalsagent.app/ — 랜딩 B안("이제 누구나 보안 전문팀을 가질 수 있어요").
   A안(/a/, landing.css)의 무채색 규칙을 흰 바탕으로 뒤집어 쓴다. 새 강조색은 넣지 않고, 색은 상태 표시에만.
   제품 화면 조각은 실제 앱처럼 검정으로 둔다. 기획: docs/landing-b-plan-v2.md */
:root {
  --bg: #ffffff;
  --tile: #f1f1f1;
  --panel: #e4e4e4;
  --fg: #121212;
  --body: #3d3d3d;
  --muted: #5c5c5c;
  --faint: #6b6b6b;
  --line: #d9d9d9;
  --dash: #b3b3b3;
  /* 제품 화면(검정) */
  --d-bg: #121212;
  --d-panel: #1f1f1f;
  --d-line: #262626;
  --d-fg: #ededed;
  --d-body: #cfcfcf;
  --d-muted: #a1a1a1;
  /* 상태 색 — 꾸밈에는 쓰지 않는다 */
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: var(--fg); }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
[id] { scroll-margin-top: 92px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.band { padding-block: 104px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.3; letter-spacing: -0.04em; font-weight: 800; }
.center { text-align: center; }
.intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.intro p { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 600px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--dash); }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.danger { background: var(--danger); }

/* 버튼 */
.btn { display: inline-block; font-size: 17px; font-weight: 700; padding: 16px 26px; border-radius: 999px; background: var(--fg); color: #ffffff; border: 1.5px solid var(--fg); text-decoration: none; transition: background-color .12s, color .12s; }
.btn:hover { background: #000000; }
.btn-line { font-weight: 600; background: #ffffff; color: var(--fg); }
.btn-line:hover { background: var(--tile); }
.btn-small { font-size: 14px; padding: 11px 18px; }
.btn-invert { background: #ffffff; color: var(--fg); border-color: #ffffff; }
.btn-invert:hover { background: #e6e6e6; }

/* 머리: 스크롤해도 위에 붙는다 */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-nav { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.brand { display: flex; align-items: center; margin-right: auto; color: var(--fg); }
.site-nav .link { font-size: 15px; font-weight: 500; color: var(--body); text-decoration: none; }
.site-nav .link:hover { color: var(--fg); }

/* 히어로 */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 56px 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.24; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 span { display: block; }
.lead { font-size: 20px; line-height: 1.6; color: var(--body); max-width: 520px; }
.lead span { display: block; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; line-height: 1.6; color: var(--faint); }

/* 히어로 그림: 제품 화면 조각을 겹쳐 놓는다 */
.collage { flex: 1 1 460px; min-width: 0; padding: 36px 32px 32px; border-radius: 36px; background: var(--tile); display: flex; flex-direction: column; }
.chip { position: relative; padding: 12px 16px; border-radius: 14px; background: #ffffff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.3); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.chip-top { align-self: flex-end; z-index: 2; margin: 0 4px -16px 0; }
.chip-bottom { align-self: flex-start; z-index: 3; margin-top: -20px; }
.shot { width: 90%; background: var(--d-bg); color: var(--d-fg); border-radius: 18px; padding: 20px 22px 64px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.6); }
.shot-path { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--d-muted); }
.shot-path b { color: var(--d-fg); }
.shot-path i { font-style: normal; color: #4a4a4a; }
.shot-title { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.shot-title .dot { transform: translateY(-2px); }
.shot-label { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--d-muted); }
.shot p { font-size: 14.5px; line-height: 1.65; color: var(--d-body); }
.ask { background: #1b1b1b; color: var(--d-fg); border: 1px solid rgba(245, 158, 11, 0.35); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6); }
.ask-float { align-self: flex-end; position: relative; z-index: 2; width: 74%; margin-top: -44px; }
.ask-label { font-size: 12px; font-weight: 600; color: var(--d-muted); }
.ask p { font-size: 14px; line-height: 1.5; }
.ask-actions { display: flex; gap: 8px; }
.ask-actions span { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 600; background: #262626; border: 1px solid #3a3a3a; }
.ask-actions .allow { font-weight: 700; background: var(--d-fg); color: var(--d-bg); border-color: var(--d-fg); }
.note { font-size: 12.5px; color: var(--faint); text-align: right; }
.collage .note { margin-top: 18px; }

/* 한눈에 보기: 여러 곳의 경고 → Signals가 내 코드 기준으로 분석 → 결과 */
.glance { padding-block: 8px 40px; display: flex; flex-direction: column; gap: 28px; }
.glance-title { text-align: center; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 800; }
.flow-box { border-radius: 36px; background: var(--tile); padding: 40px 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 84px 116px 84px minmax(0, 1fr); align-items: start; max-width: 1040px; width: 100%; margin: 0 auto; }
.flow-col { display: flex; flex-direction: column; gap: 12px; }
.flow-panel { position: relative; background: var(--panel); border-radius: 20px; padding: 12px; display: grid; gap: 12px; }
.flow-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 38px; }
.flow-tile { height: 122px; background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.flow-tile svg { flex-shrink: 0; }
.flow-more { position: absolute; left: 0; right: 0; bottom: 15px; display: flex; justify-content: center; gap: 7px; }
.flow-more i { width: 6px; height: 6px; border-radius: 50%; background: #a3a3a3; }
.flow-out .flow-tile { justify-content: flex-start; gap: 14px; padding: 0 28px; font-size: 14.5px; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--body); }
.flow-out .flow-tile b { display: block; font-size: 22px; letter-spacing: -0.03em; line-height: 1.35; color: var(--fg); }
.flow-out .flow-tile.is-quiet { background: rgba(255, 255, 255, 0.5); color: var(--muted); }
.flow-out .flow-tile.is-quiet b { color: var(--muted); }
.flow-cap { text-align: center; font-size: 13.5px; color: var(--faint); }
.flow-link { width: 84px; height: 280px; fill: none; stroke: #cfcfcf; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-link .run { stroke: #a3a3a3; stroke-dasharray: 8 24; animation: sg-flow 1.6s linear infinite; }
.flow-core { position: relative; width: 116px; margin-top: 82px; display: flex; flex-direction: column; align-items: center; }
.flow-halo { position: absolute; left: 0; top: 0; width: 116px; height: 116px; border-radius: 32px; background: #d9d9d9; animation: sg-pulse 1.8s ease-in-out infinite; }
.flow-mark { position: relative; width: 92px; height: 92px; margin: 12px; border-radius: 24px; background: var(--fg); color: #ffffff; display: flex; align-items: center; justify-content: center; }
.flow-stem { width: 2px; height: 22px; background: #cfcfcf; }
.flow-status { position: absolute; top: 138px; left: 50%; transform: translateX(-50%); white-space: nowrap; height: 44px; padding: 0 18px; border-radius: 999px; background: #ffffff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.3); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d4d4d4; border-top-color: var(--fg); flex-shrink: 0; animation: sg-spin .9s linear infinite; }
@keyframes sg-flow { to { stroke-dashoffset: -32; } }
@keyframes sg-spin { to { transform: rotate(360deg); } }
@keyframes sg-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .55; } }

/* 타일 */
.tile { border-radius: 32px; background: var(--tile); padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.tile-text { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.tile-text h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.tile-text p { font-size: 17px; line-height: 1.6; color: var(--body); }
.num { font-size: 15px; font-weight: 800; color: var(--faint); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.rows { display: flex; flex-direction: column; gap: 20px; }

/* 제품 화면 조각(검정) */
.frag { background: var(--d-bg); color: var(--d-fg); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.6); }
.frag-label { font-size: 12px; color: var(--d-muted); padding-bottom: 8px; }
.frag-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--d-line); font-size: 14px; }
.frag-row span:last-child { margin-left: auto; font-size: 12.5px; color: var(--d-muted); }
.frag-row.is-hit { font-weight: 700; }
.frag-row.is-hit span:last-child { color: var(--d-fg); }
.frag-steps { gap: 10px; }
.frag-steps li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.5; }
.frag-steps li i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #4a4a4a; font-style: normal; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; color: var(--d-muted); }
.frag-done { display: flex; align-items: center; gap: 10px; padding: 6px 0 12px; font-size: 14px; font-weight: 700; }
.frag-foot { padding: 12px 0 4px; border-top: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-muted); }

/* 문제 */
.who { padding: 40px; gap: 16px; }
.tag { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--fg); color: #ffffff; font-size: 13px; font-weight: 700; }
.who h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.who p { font-size: 18px; line-height: 1.65; color: var(--body); }
.undone { padding: 40px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; }
.hunt { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hunt > b { font-size: 14px; font-weight: 700; color: var(--muted); }
.hunt ul { display: flex; flex-direction: column; gap: 10px; }
.hunt li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #ffffff; font-size: 17px; font-weight: 600; }
.hunt li svg { color: var(--faint); }
.hunt-more { display: flex; justify-content: center; gap: 7px; padding-top: 4px; }
.hunt-more i { width: 6px; height: 6px; border-radius: 50%; background: #a3a3a3; }
.undone p { flex: 1 1 320px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.36; font-weight: 800; letter-spacing: -0.035em; }
.undone p span { display: block; }
.undone p small { display: block; margin-top: 18px; font-size: 17px; line-height: 1.6; font-weight: 400; letter-spacing: 0; color: var(--body); }

/* 일하는 방식 */
.step-row { display: flex; flex-wrap: wrap; gap: 20px; }
.step-row > .tile:first-child { flex: 1 1 320px; min-width: 0; }
.tile-dark { flex: 2 1 560px; min-width: 0; background: var(--d-bg); color: var(--d-fg); }
.tile-dark .num { color: var(--d-muted); }
.tile-dark .tile-text h3 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.035em; }
.tile-dark .tile-text p { font-size: 19px; color: var(--d-body); max-width: 620px; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.compare > div { padding: 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 12px; }
.compare b { font-size: 12.5px; }
.compare .usual { background: var(--d-panel); border: 1px dashed #4a4a4a; }
.compare .usual b { font-weight: 600; color: var(--d-muted); }
.compare .usual code { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--d-body); }
.compare .usual p { margin-top: auto; font-size: 14px; line-height: 1.6; color: var(--d-muted); }
.compare .ours { background: #ffffff; color: var(--fg); }
.compare .ours b { color: var(--muted); }
.compare .ours p { font-size: 16px; line-height: 1.6; font-weight: 600; }
.seen { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid #e6e6e6; font-size: 12.5px; color: var(--muted); }
.seen span { padding: 5px 10px; border-radius: 999px; background: var(--tile); }
.seen .mono { font-family: var(--mono); }
.extra { padding: 36px; flex-direction: row; flex-wrap: wrap; align-items: center; }
.extra > div { flex: 1 1 200px; min-width: 0; }
.extra h3 span { display: block; }
.talk { display: flex; flex-direction: column; gap: 10px; }
.talk p { max-width: 92%; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; }
.talk .me { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: #ffffff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.3); }
.talk .agent { align-self: flex-start; border-radius: 18px 18px 18px 4px; background: var(--d-bg); color: var(--d-fg); }
.mail { padding: 18px 20px; border-radius: 18px; background: #ffffff; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.3); }
.mail small { font-size: 12.5px; color: var(--faint); }
.mail b { font-size: 16px; }
.mail span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); }

/* 믿을 수 있는 이유 */
.trust-pic { min-height: 150px; border-radius: 18px; padding: 20px; }
.pic-servers { background: #ffffff; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pic-servers i { border-radius: 12px; border: 1.5px dashed var(--dash); }
.pic-servers b { border-radius: 12px; background: var(--fg); color: var(--d-fg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; font-size: 13px; }
.pic-key { background: var(--d-bg); color: var(--d-fg); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.pic-key span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--d-muted); }
.pic-key code { font-family: var(--mono); font-size: 18px; letter-spacing: 0.08em; }
.pic-approve { background: #ffffff; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pic-approve span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.pic-approve .yes { background: var(--fg); color: var(--d-fg); font-weight: 700; }
.pic-approve .no { border: 1.5px dashed var(--dash); color: var(--faint); }
.trust .tile-text h3 { font-size: 26px; }
.trust .btn { align-self: center; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* 시작 */
.need { padding: 32px; gap: 12px; }
.need .big { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.need h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.need p { font-size: 16px; line-height: 1.6; color: var(--body); }
.need.is-later { background: none; border: 2px dashed var(--dash); justify-content: flex-end; }
.need.is-later h3 { font-size: 22px; }

/* 만든 이유 */
.why { padding-block: 40px 104px; }
.why-box { border-radius: 36px; background: var(--tile); padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.why-box h2 { font-size: 16px; font-weight: 700; color: var(--muted); }
.why-box blockquote { position: relative; isolation: isolate; margin: 0; font-size: clamp(21px, 2.6vw, 32px); line-height: 1.5; letter-spacing: -0.03em; font-weight: 800; max-width: 900px; }
/* 말하는 사람의 목소리라는 표시: 글 뒤에 큰따옴표를 흐리게 깐다 */
.why-box blockquote::before { content: "\201C"; position: absolute; z-index: -1; left: -0.3em; top: -0.16em; font-family: Georgia, 'Times New Roman', serif; font-size: 6em; line-height: 1; font-weight: 700; color: #d4d4d4; }
.why-box footer { font-size: 17px; font-weight: 600; color: var(--body); }

/* 자주 묻는 질문 */
.faq { padding-block: 40px 104px; display: flex; flex-wrap: wrap; gap: 48px; }
.faq .h2 { flex: 1 1 280px; }
.faq .h2 span { display: block; }
.faq dl { flex: 2 1 520px; min-width: 0; margin: 0; border-top: 2px solid var(--fg); }
.faq dl > div { padding: 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.faq dt { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.faq dd { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); }

/* 마지막 */
.close-box { border-radius: 36px; background: var(--fg); color: #ffffff; padding: clamp(56px, 9vw, 120px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.close-box h2 { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.3; letter-spacing: -0.04em; font-weight: 800; }
.close-box h2 span { display: block; }
.site-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 28px 40px; font-size: 14px; color: var(--faint); }
.site-foot a { color: var(--body); text-decoration: none; padding: 12px 0; }
.site-foot a:hover { color: var(--fg); }

@media (max-width: 900px) {
  .band { padding-block: 72px; }
  .site-nav .link { display: none; }
  .flow-box { padding: 24px 16px 20px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-link { display: none; }
  .flow-core { margin: 30px auto 92px; }
  .flow-core::before { content: ""; position: absolute; left: 50%; top: -24px; width: 2px; height: 18px; margin-left: -1px; background: #cfcfcf; }
  .flow-tile { height: 96px; font-size: 18px; }
  .who, .undone, .extra { padding: 28px; }
  .collage { padding: 28px 20px 24px; }
}
@media (max-width: 480px) {
  .flow-out .flow-tile { padding: 0 18px; }
  .flow-out .flow-tile b { font-size: 19px; }
  .btn { font-size: 16px; padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-link .run, .flow-halo, .spin { animation: none; }
}
