/* yawp — shared by the landing page, privacy and support.
   The app's own sheet: warm paper, one ink, hairlines, nothing floats. */
:root {
  --paper: #e8e3da;
  --ink: #1b1a17;
  --ink-2: #5e5a52;
  --ink-3: #9a948a;
  --line: rgba(27, 26, 23, 0.16);
  --sans: "Geist", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] body { line-height: 1.9; word-break: auto-phrase; }
html[lang="ja"] .t-en, html[lang="en"] .t-ja { display: none !important; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* the bar: wordmark left, language and store right */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
}
.bar-name { font-family: var(--mono); font-size: 17px; font-weight: 500; text-decoration: none; }
.bar-right { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.lang { display: flex; gap: 2px; }
.lang button {
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: inherit;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* small print: mono, spaced, the app's labels */
.print { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }

/* privacy and support: one column of plain text */
.doc { max-width: 640px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.doc .mark { width: 72px; height: 72px; margin-bottom: 28px; }
.doc h1 { margin: 0 0 6px; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.doc h2 { margin: 40px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.doc h3 { margin: 24px 0 4px; font-size: 15px; font-weight: 500; }
.doc p { margin: 0 0 12px; color: var(--ink-2); }
.doc .lead { font-size: 17px; color: var(--ink); }
.doc .date { margin-bottom: 32px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* the foot of every page */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
