/*
 * 일본어 스프린트 release site.
 *
 * NO JAVASCRIPT, NO FONTS FROM ANYWHERE, NO COOKIES, NO ANALYTICS. Every byte a visitor
 * loads is one of the four files in this directory, which is the only way to be sure the
 * privacy page does not itself collect anything.
 *
 * Colours are the app's own tokens (src/ui/theme.ts) so the pages read as the same product.
 */

:root {
  --text: #101828;
  --body: #344054;
  --muted: #5f6a80;
  --ink: #111827;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --subtle: #eef2f6;
  --border: #e8ecf2;
  --accent: #2e5aac;
  --accent-text: #1b3b7a;
  --accent-surface: #e8eef9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* System stack only: no webfont request, so no third-party sees this page load. */
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
    "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  background: var(--canvas);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  /* 20px gutter so nothing touches the edge on a 320px phone. */
  padding: 40px 20px 72px;
}

header.site {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.promise {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
}

h1 {
  font-size: 27px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 26px 0 8px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

li {
  margin-bottom: 7px;
}

a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
}

.meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 8px;
  margin: 0 0 18px;
}

.card--accent {
  background: var(--accent-surface);
  border-color: #d5dce8;
}

.card h2:first-child,
.card h3:first-child {
  margin-top: 0;
}

/* Link buttons on the home page. 48px tall, so they clear the 44pt tap target. */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.btn--quiet {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.faq {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 18px;
}

.faq:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.q {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

dl.facts {
  margin: 0;
}

dl.facts dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
}

dl.facts dt:first-child {
  margin-top: 0;
}

dl.facts dd {
  margin: 4px 0 0;
}

code {
  background: var(--subtle);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

footer.site a {
  margin-right: 16px;
}

@media (max-width: 480px) {
  .wrap {
    padding: 28px 20px 56px;
  }
  h1 {
    font-size: 23px;
  }
  h2 {
    font-size: 18px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
