/* 랜딩·도움말. 앱과 같은 글꼴(Noto Sans KR, Space Grotesk — 페이지에 쓰는 글자만 남긴 서브셋, OFL) */
@font-face { font-family: "Nod Sans"; src: url("/fonts/nsk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nod Sans"; src: url("/fonts/nsk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nod Sans"; src: url("/fonts/nsk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nod Mono"; src: url("/fonts/sg-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

body.landing, body.help {
  font-family: "Nod Sans", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

/* 상단 */
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.bar-link { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 0; }
.bar-link:hover { color: var(--text); }

/* 첫 화면: 두 원이 다가와 겹친다. 겹친 자리는 어둡게(둘만의 자리) */
.intro { position: relative; padding-top: 24px; padding-bottom: 56px; }
.pair { position: relative; height: clamp(220px, 52vw, 340px); margin: 8px 0 32px; }
.c {
  position: absolute; top: 0; width: clamp(220px, 52vw, 340px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); mix-blend-mode: difference;
}
.c1 { left: 0; animation: c1 1.6s cubic-bezier(.2, .7, .1, 1) both .2s; }
.c2 { left: clamp(110px, 26vw, 170px); animation: c2 1.6s cubic-bezier(.2, .7, .1, 1) both .2s; }
@keyframes c1 { from { transform: translateX(-34%); } to { transform: none; } }
@keyframes c2 { from { transform: translateX(34%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .c1, .c2 { animation: none; } }

.intro h1 {
  margin: 0; font-size: clamp(40px, 10.5vw, 76px); line-height: 1.12; letter-spacing: -0.045em; font-weight: 800;
  max-width: 11em;
}
.lede { margin: 20px 0 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.6; max-width: 30em; }
.soon {
  display: inline-block; margin: 32px 0 0; padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 700;
}

@media (min-width: 900px) {
  .intro { display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 96px; }
  .intro .pair { order: 2; margin: 0; height: 340px; }
  .intro .c { width: 300px; }
  .intro .c2 { left: 130px; }
}

/* 본문 블록 */
.landing .wrap { max-width: 1040px; }
.block { padding-top: 64px; padding-bottom: 8px; border-top: 1px solid var(--line); }
.block.last { padding-bottom: 32px; }
.block h2 { margin: 0; font-size: clamp(26px, 4.4vw, 36px); letter-spacing: -0.035em; line-height: 1.25; font-weight: 800; }
.sub { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 34em; }
.sub a { color: var(--text); }

.ways { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; gap: 48px; } }
.way h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.way p { margin: 10px 0 0; color: #D6D6DA; font-size: 16px; line-height: 1.65; max-width: 28em; }
.way .fine { color: var(--dim); font-size: 14px; margin-top: 12px; }
.mock-link {
  margin-top: 20px; height: 56px; display: flex; align-items: center; padding: 0 18px; border-radius: 18px; background: var(--surface);
  font-family: "Nod Mono", ui-monospace, monospace; font-weight: 700; color: var(--muted); font-size: 15px; overflow: hidden; white-space: nowrap;
}
.mock-pin {
  margin-top: 14px; font-family: "Nod Mono", ui-monospace, monospace; font-weight: 700; font-size: clamp(48px, 9vw, 64px);
  letter-spacing: 0.1em; color: var(--text); line-height: 1.1;
}

.what { margin: 36px 0 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .what { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.what dt { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.what dd { margin: 8px 0 0; color: #D6D6DA; font-size: 16px; line-height: 1.65; }
.none { margin: 32px 0 0; color: var(--dim); font-size: 15px; }

.keep { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; max-width: 40em; }
.keep li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: #E4E4E7; }
.keep li:last-child { border-bottom: 0; }

/* 도움말 */
.help .doc details { border-bottom: 1px solid var(--line); }
.help .doc summary { cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.help .doc summary::-webkit-details-marker { display: none; }
.help .doc summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.help .doc details[open] summary::after { content: "−"; }
.help .doc details p { margin: 0 0 18px; }

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