/*
  Linen のページ（/linen, /linen/en, /linen/privacy, /linen/en/privacy）
  色は MeetingReader の App/Sources/Theme.swift の Palette と、ストアのスクリーンショットの地（Shots/StoreShots.swift）から取る。
  見出しは明朝（英語はセリフ）、本文はゴシック。外部のフォント・スクリプト・解析は読み込まない。
*/
:root {
  color-scheme: light dark;
  --ground: #EEE9DE;      /* StoreShots の地 238,233,222 */
  --paper: #FBF9F4;       /* Palette.paper 251,249,244 */
  --ink: #211F1C;         /* Palette.ink 33,31,28 */
  --ink2: #6C6760;        /* Palette.ink2 108,103,96 */
  --rule: #E2DCD1;        /* Palette.rule 226,220,209 */
  --accent: #315086;      /* Palette.accent 49,80,134 */
  --tbd: #9A3412;         /* 【要確認】の印。公開の前に消える */
  --serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "Yu Mincho", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Helvetica Neue", sans-serif;
}
html[lang="en"] { --serif: ui-serif, "New York", Georgia, "Times New Roman", serif; }

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #161514;    /* StoreShots の地（ダーク） 22,21,20 */
    --paper: #1E1D1B;     /* Palette.paper 30,29,27 */
    --ink: #E9E4DA;       /* Palette.ink 233,228,218 */
    --ink2: #A49E94;      /* Palette.ink2 164,158,148 */
    --rule: #3C3935;      /* Palette.rule 60,57,53 */
    --accent: #8AA6DC;    /* Palette.accent 138,166,220 */
    --tbd: #F0A078;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 上の帯：トップへの戻りと言語切替 */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 44rem;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.bar .home {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.bar .home:hover { text-decoration: underline; }
.lang { margin-left: auto; }
.lang ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lang a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink2);
}
.lang a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

/* 紙面 */
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 20px;
}
.sheet {
  margin: 8px 0 48px;
  padding: 36px 24px 44px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.sheet h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.625rem, 6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.4;
}
.sheet .lead {
  margin: 16px 0 0;
  color: var(--ink2);
  font-size: 1.0625rem;
}
.sheet h2 {
  margin: 40px 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}
.sheet h1 + h2,
.sheet .lead + h2 { margin-top: 32px; }
.sheet h3 {
  margin: 24px 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}
.sheet p { margin: 0 0 12px; }
.sheet ul { margin: 0 0 12px; padding-left: 1.4em; }
.sheet li { margin: 2px 0; }
.sheet address { font-style: normal; }
.sheet .date {
  margin: 24px 0 0;
  color: var(--ink2);
  font-size: 0.9375rem;
}

/* まだ決まっていない値。公開の前に埋める */
.tbd {
  color: var(--tbd);
  font-weight: 600;
}

.foot {
  max-width: 44rem;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--rule);
  color: var(--ink2);
  font-size: 0.875rem;
}
.foot p { margin: 0; }
.foot p + p { margin-top: 4px; }
.foot a { color: var(--ink2); }

@media (min-width: 640px) {
  .sheet { padding: 48px 48px 56px; }
}
