/* 새겨 소개 페이지 — 앱 화면 개편 4안(확정)과 같은 규칙.
   글꼴 하나(Pretendard 를 잘라 이름을 바꾼 Saegyeo Sans), 강조색 초록 하나(#1B7F4F, 아이콘 초록),
   연회색 바탕 위 흰 묶음(모서리 14), 자동으로 쓴 글은 회색 #55555B · 직접 쓴 글은 검정,
   13px 소제목·날짜는 보조색(#6C6C70 — 4.5:1), 경고는 갈색 글자만, 알약 태그·번짐·장식 없음. */
@font-face { font-family: "Saegyeo Sans"; font-weight: 400; font-display: swap; src: url(fonts/saegyeo-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Saegyeo Sans"; font-weight: 600; font-display: swap; src: url(fonts/saegyeo-sans-600.woff2) format("woff2"); }
@font-face { font-family: "Saegyeo Sans"; font-weight: 700; font-display: swap; src: url(fonts/saegyeo-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --ground: #f2f2f4; --cell: #fff; --sep: #ececef; --fill: #e9e9ec; --line: #d9d9de;
  --text: #1c1c1e; --text-2: #6c6c70; --auto: #55555b; --chev: #c4c4c8;
  --accent: #1b7f4f; --accent-hover: #15663f; --on-accent: #fff;
  --warn: #b25e00;
  --pill: #1c1c1e; --pill-ink: #fff; --bar: #4ade80;
  --font: "Saegyeo Sans", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000; --cell: #1c1c1e; --sep: #38383a; --fill: #2c2c2e; --line: #48484a;
    --text: #f2f2f7; --text-2: #98989f; --auto: #aeaeb2; --chev: #48484a;
    --accent: #3ccf85; --accent-hover: #5bdc9a; --on-accent: #062614;
    --warn: #ffb35c;
    --pill: #2c2c2e; --pill-ink: #f2f2f7;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.55 var(--font);
  letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
p, h1, h2, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

/* 머리줄 */
.nav { padding-top: env(safe-area-inset-top); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { display: block; border-radius: 8px; }
.nav-links { display: flex; gap: 16px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 17px; text-decoration: none; }

/* 첫 화면 */
.hero { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 72px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 390px; gap: 64px; padding-top: 64px; padding-bottom: 96px; } }
h1 { font-weight: 700; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.2; letter-spacing: -.035em; }
.nowrap { white-space: nowrap; }
.lead { margin-top: 16px; font-size: clamp(17px, 2vw, 19px); color: var(--text-2); max-width: 27em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; margin-top: 28px;
  border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 17px; text-decoration: none; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.note { margin-top: 14px; font-size: 14px; color: var(--text-2); }

/* 휴대폰 화면 예시 — 4안 회의 요약 화면 */
.phone { margin: 0 auto; width: 100%; max-width: 390px; border-radius: 44px; padding: 10px; background: var(--pill);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); }
.screen { position: relative; background: var(--cell); border-radius: 34px; overflow: hidden; padding: 22px 20px 88px; }
.back { color: var(--accent); font-size: 16px; margin-bottom: 6px; }
.scr-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.scr-meta { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.consent { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.consent svg { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.people { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.people .scr-meta { margin: 0; }
.av { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
  font-size: 12px; font-weight: 600; background: var(--fill); color: var(--text); }
.av + .av { margin-left: -10px; border: 2px solid var(--cell); }
.av-on { background: var(--accent); color: var(--on-accent); }
.seg { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--fill); border-radius: 9px; padding: 2px; }
.seg span { height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 14px; }
.seg .on { background: var(--cell); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.doc { margin-top: 18px; }
.doc .label { margin: 14px 0 4px; }
.doc .label:first-child { margin-top: 0; }
.auto { color: var(--auto); font-size: 16px; line-height: 1.55; }
.at { color: var(--accent); font-size: 13px; white-space: nowrap; }
.dim { color: var(--text-2); }
.todo { display: flex; gap: 10px; align-items: flex-start; }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--chev); flex: none; margin-top: 2px; }
.warn { color: var(--warn); font-weight: 600; }
.doc .warn { font-size: 13px; }

/* 받아쓰는 중 → 다 되면 요약이 한 줄씩 생긴다. 10초마다 다시 — 휴대폰은 예시가 첫 화면 아래라
   한 번만 돌리면 내려왔을 때 이미 끝나 있다 */
.k { animation: 10s ease-out infinite both; }
.k1 { animation-name: show1; } .k2 { animation-name: show2; } .k3 { animation-name: show3; } .k4 { animation-name: show4; }
@keyframes show1 { 0%, 22% { opacity: 0; transform: translateY(6px); } 27%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes show2 { 0%, 27% { opacity: 0; transform: translateY(6px); } 32%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes show3 { 0%, 32% { opacity: 0; transform: translateY(6px); } 37%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes show4 { 0%, 37% { opacity: 0; transform: translateY(6px); } 42%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

.pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); height: 40px; min-width: 228px;
  border-radius: 20px; background: var(--pill); color: var(--pill-ink); font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); display: grid; }
@media (prefers-color-scheme: dark) { .pill { background: #3a3a3c; } }
.pill > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; animation: 10s ease-out infinite both; }
.pill > .pill-a { animation-name: pill-a; }
.pill > .pill-b { animation-name: pill-b; }
.pill-b svg { fill: var(--bar); }
@keyframes pill-a { 0%, 18% { opacity: 1; } 22%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes pill-b { 0%, 18% { opacity: 0; } 22%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; height: 14px; background: var(--bar); border-radius: 1px; transform-origin: bottom; animation: bar 1.1s ease-in-out infinite; }
.bars i:nth-child(1) { animation-delay: -.2s; } .bars i:nth-child(2) { animation-delay: -.7s; }
.bars i:nth-child(3) { animation-delay: -.4s; } .bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes bar { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* 근거 — 전사 줄과 Claude 회의록 줄을 나란히. 인용이 원문에 없는 줄은 줄을 긋고 "버림" */
.proof { padding-bottom: 88px; }
.proof-lead { margin-top: 12px; font-size: clamp(17px, 2vw, 19px); color: var(--text-2); max-width: 36em; }
.proof-grid { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.lines .cell { grid-template-columns: 44px 1fr; gap: 10px; align-items: baseline; }
.lines .sep { padding-left: 0; }
.ts { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.lines b { font-weight: 600; margin-right: 6px; }
.items .cell { gap: 2px; }
.quote { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.quote .at, .quote .warn { margin-left: 4px; font-size: 13px; }
.dropped .strong, .dropped .quote { color: var(--text-2); }
.dropped s { text-decoration-thickness: 1.5px; }
.proof-notes { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 900px) { .proof-notes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.proof-notes li { padding-top: 12px; border-top: 1px solid var(--line); }
.proof-notes .sub { margin-top: 2px; }

/* 아래 띠 — 앱처럼 연회색 위 흰 묶음 */
.band { padding: 8px 0 0; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.label { font-size: 13px; font-weight: 600; color: var(--text-2); margin: 0 0 8px 4px; }
.cols { margin-top: 24px; display: grid; gap: 32px; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
.cols article { display: flex; flex-direction: column; }
.group { margin: 0; padding: 0; background: var(--cell); border-radius: 14px; overflow: hidden; }
.cell { padding: 13px 16px; display: grid; gap: 3px; align-content: start; }
.sep { border-top: 1px solid var(--sep); margin-left: 16px; padding-left: 0; }
.strong { font-weight: 600; }
.sub { font-size: 15px; color: var(--text-2); }
.accent-sm { font-size: 13px; font-weight: 600; color: var(--accent); }
.warn-sm { font-size: 13px; font-weight: 600; color: var(--warn); }
.check { grid-template-columns: 22px 1fr; gap: 12px; align-items: center; }
.tick { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--chev); }
.person { grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.person .av { width: 36px; height: 36px; font-size: 15px; }
.desc { margin-top: 12px; padding: 0 2px; font-size: 15px; color: var(--text-2); }

/* 쟁점이 회의를 따라 이어지는 줄 */
.trail { padding: 0 16px 4px; }
.trail li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; position: relative; }
.trail li::before { content: ""; position: absolute; left: 6.5px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.trail li:first-child::before { top: 50%; }
.trail li:last-child::before { bottom: 50%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text); align-self: center; margin-left: 2px; position: relative; }
.dot-warn { background: var(--warn); }
.trail p { padding: 9px 0; font-size: 15px; border-top: 1px solid var(--sep); }
.trail .sub { font-size: 13px; }
.trail b { font-weight: 600; }

.h-more { margin-top: 72px; }
.steps, .promises { margin-top: 24px; }
.steps .cell { grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding-top: 14px; padding-bottom: 14px; }
.num { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--accent); color: var(--on-accent);
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; justify-self: start; }
.num-off { background: var(--fill); color: var(--text); }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); }
  .promises { display: grid; grid-template-columns: repeat(3, 1fr); }
  .steps .cell { grid-template-columns: 1fr; padding: 18px 16px; }
  .steps .sep, .promises .sep { border-top: 0; border-left: 1px solid var(--sep); margin-left: 0; padding-left: 16px; }
  .promises .cell { padding: 18px 16px; }
}

.closing { margin-top: 72px; background: var(--cell); border-radius: 14px; padding: 40px 24px; text-align: center; }
.closing .sub { margin: 12px auto 0; max-width: 30em; }
/* 만든 사람 — 성 한 글자 동그라미(앱의 사람 표시와 같음) */
.founder { margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--sep); max-width: 30em;
  display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.founder .av { width: 36px; height: 36px; font-size: 15px; }
.founder .sub { display: inline-block; margin-top: 2px; }

.foot { padding: 40px 2px calc(48px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--text-2); display: grid; gap: 12px; }

/* 개인정보 처리방침 · 없는 페이지 — 글 읽기용 한 단 */
.doc-page { max-width: 720px; padding-top: 32px; }
.doc-page h1 { font-size: clamp(30px, 5vw, 40px); }
.doc-page > .sub { margin-top: 8px; }
.doc-page section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-page h2 { font-size: 20px; margin-bottom: 8px; }
.doc-page section p + p { margin-top: 8px; }
.doc-list { display: grid; gap: 6px; }
.doc-list b { font-weight: 600; }
.doc-list + p { margin-top: 12px; }
.notfound { text-align: center; padding-top: 18vh; display: grid; gap: 12px; justify-items: center; }
.notfound .btn { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .k, .pill > span, .bars i { animation: none; }
  .pill > .pill-a { opacity: 0; }
}
