/* Forkprint public pages: the app's cream paper and terracotta, system fonts (Pretendard on Android/Mac if present). */
:root {
  --paper: #fbf6f0;
  --ink: #1f1a17;
  --muted: #52443c;
  --accent: #bd4c19;
  --line: #d8c2b7;
  --card: #f7efe7;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #161210; --ink: #f1e7dd; --muted: #d7c2b8; --accent: #ffb597; --line: #52443c; --card: #1f1916; }
}
html { color-scheme: light dark; }
body {
  margin: 0;
  padding: 0 1rem 4rem;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Pretendard", "Pretendard Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
main { max-width: 42rem; margin: 0 auto; }
header.site { max-width: 42rem; margin: 1.25rem auto 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; }
header.site a.brand { color: var(--accent); font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
nav.lang { display: flex; gap: 0.25rem; }
nav.lang button { font: inherit; font-size: 0.9rem; min-height: 40px; padding: 0.25rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
nav.lang button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--paper); }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.25rem; text-wrap: balance; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, li { margin: 0.4rem 0; }
ul, ol { padding-left: 1.25rem; }
a { color: var(--accent); }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin: 1rem 0; }
.important { border-left: 4px solid var(--accent); padding-left: 0.9rem; }
strong.key { background: rgba(189, 76, 25, 0.14); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 0 0.15em; border-radius: 3px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0.75rem 0; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); overflow-wrap: normal; }
th:first-child, td:first-child { white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
.wrap { overflow-x: auto; }
footer.site { max-width: 42rem; margin: 3rem auto 0; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 1rem; }
footer.site a { color: var(--muted); }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }
/* Japanese breaks between any two characters (keep-all is for Korean words) and tightens its punctuation. */
[lang="ja"] { word-break: normal; overflow-wrap: break-word; line-break: strict; font-feature-settings: "palt" 1; }
/* Language sections: all are in the document; the script shows one. Without JavaScript all show, Korean first. */
html[data-lang] section[data-lang] { display: none; }
html[data-lang="ko"] section[data-lang="ko"], html[data-lang="en"] section[data-lang="en"], html[data-lang="ja"] section[data-lang="ja"] { display: block; }
@media print { nav.lang { display: none; } body { padding: 0; } }

/* The landing page, in the order most app sites use (researched 2026-10-25, docs/17 §10): the hero with two phone
   shots, a proof strip, three alternating feature rows, the promise card, the questions, a closing download button,
   and a small footer with the links and the company line. The display face is Bricolage pinned to the wordmark's
   instance (design/brand/web_font.py), Latin only: Korean and Japanese fall back to the text stack glyph by glyph. */
@font-face { font-family: "Forkprint Display"; src: url("/fonts/bricolage-display.woff2") format("woff2"); font-display: swap; }
header.site a.brand { display: inline-flex; align-items: center; gap: 0.4rem; font-family: "Forkprint Display", system-ui, sans-serif; font-size: 1.45rem; font-weight: 750; letter-spacing: -0.02em; }
header.site a.brand .mark { display: inline-block; width: 1.1em; height: 1.2em; background: currentColor; -webkit-mask: url("/img/mark.png") center / contain no-repeat; mask: url("/img/mark.png") center / contain no-repeat; }
body.landing [lang="en"] h1, body.landing [lang="en"] h2, body.landing [lang="en"] h3 { font-family: "Forkprint Display", system-ui, sans-serif; font-weight: 750; letter-spacing: -0.02em; }
body.landing main { max-width: 60rem; }
body.landing header.site, body.landing footer.site { max-width: 60rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin: 1rem 0 3rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0.25rem 0 1rem; }
.eyebrow { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.02em; margin: 0; }
.lead { font-size: 1.15rem; max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 1.5rem 0 0.5rem; }
a.store { display: inline-block; background: var(--accent); color: var(--paper); text-decoration: none; font-weight: 700; padding: 0.8rem 1.3rem; border-radius: 999px; min-height: 48px; box-sizing: border-box; line-height: 1.6; }
.fine { color: var(--muted); font-size: 0.9rem; }
.shots { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; }
.shots img { width: 46%; max-width: 230px; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(31, 26, 23, 0.14); }
.shots img:last-child { margin-top: 2.5rem; }
.promise { margin: 2.5rem 0; }
.promise h2 { margin-top: 0.25rem; }
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 3rem; }
.proof ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.proof li { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.proof strong { font-family: "Forkprint Display", system-ui, sans-serif; font-weight: 750; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.proof span { color: var(--muted); font-size: 0.92rem; line-height: 1.35; }
.rows { display: flex; flex-direction: column; gap: 3rem; margin: 3rem 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center; }
.row:nth-child(even) img { order: 2; }
.row img { display: block; width: 100%; max-width: 360px; height: auto; justify-self: center; border-radius: 18px; border: 1px solid var(--line); background: #fbf6f0; }
.row h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.15; margin: 0.2rem 0 0.6rem; }
.row p { color: var(--muted); font-size: 1.05rem; max-width: 30rem; }
.row .step { display: inline-block; margin: 0; color: var(--accent); font-weight: 700; font-size: 0.9rem; border: 1px solid var(--accent); border-radius: 999px; min-width: 1.9rem; text-align: center; line-height: 1.75; }
.final { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 2.25rem 1.25rem 1.75rem; margin: 3rem 0 0; }
.final h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.15; margin: 0; text-wrap: balance; }
.final .cta { justify-content: center; }
footer.legal { margin: 3rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
footer.legal p { margin: 0.35rem 0; }
footer.legal a { color: var(--muted); }
footer.legal .links a { color: var(--ink); text-decoration: none; }
footer.legal .links a:hover { text-decoration: underline; }
footer.legal .sep { color: var(--line); margin: 0 0.3rem; }
.faq { margin: 2.5rem 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 650; min-height: 32px; }
.faq details p { margin: 0.5rem 0 0; color: var(--muted); }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .row { grid-template-columns: 1fr; gap: 1.25rem; }
  .row:nth-child(even) img { order: 0; }
  .row img { max-width: 17rem; justify-self: start; }
  .shots img:last-child { margin-top: 1.5rem; }
}
