/* Tokens follow the product's demo M style so the site and the app look like one brand. */
:root {
  --bg: #fafafa;
  --card: #fff;
  --ink: #17181c;
  --sub: #70747f;
  --faint: #9a9da6;
  --line: #e7e8ea;
  --line2: #d7d8dc;
  --acc: #2563eb;
  --acc-hover: #1d4fd8;
  --tint: #eef3fe;
  --ok: #15803d;
  --ok-tint: #ecfdf3;
  --warn: #b45309;
  --warn-tint: #fff7ed;
  --bad: #b91c1c;
  --bad-tint: #fef2f2;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--tint); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── header ── */
.hdr {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { font-size: 13px; font-weight: 700; letter-spacing: .24em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--sub); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.hdr-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.lang { font-size: 13px; color: var(--sub); text-decoration: none; margin-right: 4px; }
.lang:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line2); border-radius: 8px;
  padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--ink); background: var(--card);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--ink); }
.btn.pri { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.pri:hover { background: var(--acc-hover); border-color: var(--acc-hover); }
.btn.lg { padding: 12px 22px; font-size: 16px; border-radius: 9px; }
.link { color: var(--sub); text-decoration: none; font-size: 15px; }
.link:hover { color: var(--ink); }

/* ── sections ── */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--bg); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--sub); text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: 52px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: 34px; line-height: 1.35; letter-spacing: -.015em; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 19px; color: #3a3d45; max-width: 640px; }
.muted { color: var(--sub); }
.small { font-size: 13px; color: var(--faint); }

/* ── hero ── */
.hero { padding: 88px 0 96px; }
.hero h1 { max-width: 760px; margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero .pw { margin-top: 56px; }

/* ── grids ── */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.grid2 > *, .grid3 > *, .steps li > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card p { color: #3a3d45; font-size: 15px; }

.points { list-style: none; display: grid; gap: 14px; }
.points li { padding-left: 22px; position: relative; color: #3a3d45; }
.points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); }

/* ── status list ── */
.status { list-style: none; display: grid; gap: 12px; margin-top: 36px; max-width: 760px; }
.status li { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.status li > span:last-child { color: #3a3d45; }
.status li > :first-child { min-width: 112px; text-align: center; }

/* product components: see assets/product.css */
.shot-cap { font-size: 12px; color: var(--faint); text-align: right; margin-top: 10px; }

/* ── steps ── */
.steps { list-style: none; counter-reset: s; display: grid; gap: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.steps li::before { content: counter(s); font-family: var(--mono); font-weight: 700; color: var(--acc); background: var(--tint); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.steps p { color: #3a3d45; font-size: 15px; }

.example { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.example h3 { margin-bottom: 14px; }
.example ul { list-style: none; display: grid; gap: 10px; }
.example li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #3a3d45; }
.example li > :first-child { min-width: 64px; text-align: center; }

/* ── vision ── */
.vision { background: var(--ink); color: #fff; border-bottom: 0; }
.vision .eyebrow { color: #9a9da6; }
.vision h2 { font-size: 40px; max-width: 760px; }
.vision p { color: #c9cbd1; font-size: 18px; max-width: 680px; }

/* ── faq ── */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sub); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 10px; color: #3a3d45; }

/* ── closing ── */
.closing { text-align: center; }
.closing h2 { margin-bottom: 28px; }

footer { padding: 40px 0 56px; font-size: 13px; color: var(--sub); }
footer .wrap { display: grid; gap: 20px; }
.biz { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.biz div { display: flex; gap: 8px; }
.biz dt { color: var(--faint); }
.foot-end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
footer a { color: var(--sub); }

/* ── responsive ── */
@media (max-width: 900px) {
  .nav { display: none; }
  h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  .vision h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hdr .lang { display: none; }
  .hdr .btn:not(.pri) { display: none; }
  .status li { flex-direction: column; gap: 6px; }
}

/* ── small helpers (no inline styles: CSP blocks them) ── */
.points-wide { margin-top: 32px; max-width: 760px; }
.hero.nf { border-bottom: 0; }
.nf-cta { margin-top: 28px; }

/* ── flow sections: text, then the product view ── */
.flow .lead { margin-top: 4px; }
.flow .pw { margin-top: 36px; }
.flow .points { margin-top: 24px; max-width: 760px; }
.flow h3.sub { font-size: 22px; margin: 56px 0 8px; }
.flow .sublead { color: #3a3d45; max-width: 680px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.promise > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.promise h3 { font-size: 17px; }
.promise p { color: #3a3d45; font-size: 15px; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }

/* natural line breaks: balanced headings, no orphan words in paragraphs */
h1, h2, h3, .faq summary { text-wrap: balance; }
p, li, .card p, .faq details p { text-wrap: pretty; }
.promise-lg { margin-top: 48px; }

/* ── legal documents (privacy, terms) ── */
.doc { padding: 56px 0 80px; border-bottom: 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: 34px; margin-bottom: 8px; }
.doc .meta { color: var(--sub); font-size: 14px; margin-bottom: 32px; }
.doc .note { background: var(--warn-tint); border: 1px solid #fbd5a5; color: #7c4a03; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { color: #2f3239; font-size: 15.5px; }
.doc p + p { margin-top: 8px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 4px; margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line2); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg); font-weight: 600; }
.doc .blank { background: #fff1bf; padding: 0 4px; border-radius: 3px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; margin-bottom: 8px; }
.doc .toc a { color: var(--sub); }
footer .legal { display: flex; gap: 16px; }
footer .legal a { color: var(--sub); }

/* ── emphasis (experiment): one accent colour, used only on pinpoint phrases ── */
.hl { color: var(--acc); }
h1 .hl { background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk { background: linear-gradient(transparent 62%, #dbe6ff 62%); padding: 0 2px; font-weight: 600; color: var(--ink); }
.vision .mk { background: linear-gradient(transparent 62%, rgba(37, 99, 235, .45) 62%); color: #fff; }
.eyebrow.acc { color: var(--acc); font-weight: 600; letter-spacing: .14em; }
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.02em; }
.grid3 .card { position: relative; }
.grid3 .card .num { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--acc); letter-spacing: .08em; margin-bottom: 10px; }
.promise > div { border-top-color: var(--acc); }
.promise h3 .num { color: var(--acc); font-family: var(--mono); font-size: 13px; margin-right: 8px; }
.closing { background: linear-gradient(180deg, #fff 0%, #eef3fe 100%); }
.hero { background: radial-gradient(1200px 420px at 85% -10%, #eef3fe 0%, rgba(238,243,254,0) 60%); }
@media (max-width: 700px) { .doc table { display: block; overflow-x: auto; } .doc th, .doc td { min-width: 120px; } }
.doc a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
