@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hairline: #d2d2d7;
  --accent: #0071e3;
  --now: #bf4800;
  --phone: #ffffff;
  --phone-frame: #1d1d1f;
  --max: 980px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --ink: #f5f5f7;
    --muted: #86868b;
    --hairline: #424245;
    --accent: #2997ff;
    --now: #ff9f0a;
    --phone: #000000;
    --phone-frame: #424245;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.brand { color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.2px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; font-size: 13px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding-top: 88px; padding-bottom: 40px; }
.eyebrow { color: var(--now); font-weight: 600; font-size: 17px; margin: 0 0 10px; }
.hero h1 {
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
  margin: 0 0 16px;
}
.hero .sub {
  font-size: clamp(19px, 2.4vw, 24px); color: var(--muted);
  max-width: 640px; margin: 0 auto 28px; line-height: 1.4;
}
.ko { font-weight: 700; color: var(--ink); }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-size: 17px;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }
.link-more::after { content: " ›"; }

/* Phone mock with the real card layout */
.phone-stage { display: flex; justify-content: center; padding: 40px 0 96px; }
.phone {
  width: 320px; border-radius: 48px; padding: 12px;
  background: var(--phone-frame);
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.screen {
  background: var(--phone); border-radius: 38px;
  padding: 64px 26px 40px; text-align: left; min-height: 560px;
}
.card .k { color: var(--now); font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.card h3 { font-size: 30px; line-height: 1.1; letter-spacing: -0.8px; margin: 0 0 8px; }
.card .s { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 0.5px solid var(--hairline); }
.facts li {
  display: flex; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 0.5px solid var(--hairline);
}
.facts .i { width: 22px; text-align: center; color: var(--muted); font-size: 18px; }
.facts .l { color: var(--muted); font-size: 12px; display: block; }
.facts .v { font-size: 16px; font-weight: 500; }
.badge {
  display: inline-block; background: #81bf48; color: #fff; font-size: 12px;
  font-weight: 600; padding: 1px 9px; border-radius: 999px;
}
.card .upd { color: var(--accent); font-size: 15px; margin-top: 18px; display: block; }

/* Feature tiles */
.tiles { background: var(--bg-alt); padding: 96px 0; }
.tiles h2, .section h2 {
  font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 48px; text-align: center;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--bg); border-radius: 18px; padding: 32px 28px; }
.tile .k { font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.tile h3 { font-size: 24px; letter-spacing: -0.4px; line-height: 1.2; margin: 0 0 10px; }
.tile p { color: var(--muted); margin: 0; }
.k-now { color: var(--now); }
.k-care { color: var(--accent); }
.k-warm { color: #b4235a; }
@media (prefers-color-scheme: dark) { .k-warm { color: #ff6482; } }

.section { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.section p.lead { color: var(--muted); font-size: 21px; max-width: 620px; margin: -28px auto 28px; }

/* Docs pages */
.doc { max-width: 692px; margin: 0 auto; padding: 64px 22px 96px; }
.doc h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.3px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc .summary {
  background: var(--bg-alt); border-radius: 18px; padding: 24px 26px; margin: 0 0 8px;
}
.doc .summary ul { margin: 8px 0 0; }

/* Footer */
footer { border-top: 0.5px solid var(--hairline); color: var(--muted); font-size: 12px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; padding-bottom: 28px; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .tiles, .section { padding-top: 72px; padding-bottom: 72px; }
}

/* 404 */
.notfound { min-height: calc(100vh - 48px - 64px); padding-bottom: 96px; }
.notfound h1 { font-size: clamp(36px, 6vw, 64px); }

/* Launch list form */
.sr-only, .hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.join[hidden] { display: none; }
.join { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; }
.join input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--bg-alt); border: 0; border-radius: 999px; padding: 12px 20px;
}
.join input[type="email"]::placeholder { color: var(--muted); }
.join input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.join .pill { border: 0; font: inherit; font-size: 17px; cursor: pointer; white-space: nowrap; }
.join .pill:disabled { opacity: .6; cursor: default; }
.join-note { color: var(--muted); font-size: 14px; max-width: 460px; margin: 14px auto 0; }
.join-note a::after { content: " ›"; }
.join-note.done { color: var(--ink); font-size: 17px; font-weight: 500; }
@media (max-width: 520px) {
  .join { flex-direction: column; }
}

/* Policy subsections and Korean text */
.doc h3 { font-size: 19px; letter-spacing: -0.2px; margin: 28px 0 6px; }
.doc li + li { margin-top: 6px; }
:lang(ko) .doc { word-break: keep-all; }
