/* Yapnest public site: white, quiet, readable Japanese. Matches the app's white theme. */
:root {
  --ink: #1f1a1d;
  --ink-soft: #6b6470;
  --line: #ecebef;
  --sunken: #f7f7f9;
  --brand: #ff5a1f;
  --brand-ink: #b3360c;
  --ai: #7c5cff;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: anywhere;
}
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav.langs { display: flex; gap: 4px; font-size: 13px; }
nav.langs a, nav.langs span { padding: 4px 8px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
nav.langs span[aria-current] { background: var(--sunken); color: var(--ink); font-weight: 700; }

main { padding: 36px 0 56px; }
h1 { font-size: 28px; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 12px; }
h2 { font-size: 20px; line-height: 1.4; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 1.4em; }
li { margin: 4px 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

.hero { text-align: center; padding: 28px 0 8px; }
.hero img.mark { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 8px 28px rgba(31, 26, 29, 0.08); }
.hero .lead { font-size: 18px; font-weight: 700; margin-top: 14px; }
.hero p.intro { max-width: 560px; margin: 0 auto 20px; color: var(--ink-soft); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; font-family: inherit;
}
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn small { font-weight: 600; opacity: 0.8; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; background: #fff; }
.card.sunken { background: var(--sunken); border-color: transparent; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.notes { list-style: none; padding: 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.ai { color: var(--ai); font-weight: 700; }

.code { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; }
.code strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 26px; letter-spacing: 0.12em; padding: 6px 14px; background: var(--sunken); border-radius: 12px; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14px; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; min-width: 120px; }
th { background: var(--sunken); }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: var(--ink-soft); }

.draft { font-size: 13px; color: var(--ink-soft); background: var(--sunken); border-radius: 10px; padding: 8px 12px; margin-bottom: 20px; }
.doc-list { list-style: none; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--line); margin: 0; }
.doc-list a { display: block; padding: 12px 2px; text-decoration: none; color: var(--ink); font-weight: 600; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--ink-soft); }
footer.site ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; }
footer.site a { color: var(--ink-soft); }

[hidden] { display: none !important; }
@media (max-width: 480px) { h1 { font-size: 24px; } main { padding-top: 24px; } }
