/* privacy.html・extension.html 共通のスタイル。
   本体(style.css)はアプリのレイアウト前提が強いため、
   ドキュメント的なページ用にトークンだけ流用した軽量な別ファイルにしている。 */
:root {
  --surface: #f4f5f7;
  --card: #ffffff;
  --border: #e3e6ea;
  --border-strong: #dcdfe4;
  --text: #171a1f;
  --muted: #6b7280;
  --action-accent: oklch(0.52 0.12 250);
  --action-accent-hover: oklch(0.42 0.14 250);
  --radius-s: 8px;
  --radius-m: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
  overflow-x: hidden; /* .screenshotsの100vwブレイクアウトでスクロールバー分はみ出すのを防ぐ */
}

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

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.page-header img {
  border-radius: 8px;
}
.page-header .brand {
  font-size: 16px;
  font-weight: 900;
}
.page-header .back-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.page-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: -20px 0 24px;
}

h1 {
  font-size: 24px;
  margin: 0 0 6px;
}
h2 {
  font-size: 16px;
  margin: 32px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
p {
  font-size: 14px;
  color: var(--text);
}
ul {
  font-size: 14px;
  padding-left: 20px;
}
li {
  margin-bottom: 6px;
}

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

.updated {
  font-size: 12px;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff3b30;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-s);
}
.cta:hover {
  background: #d8281c;
  color: #ffffff;
}
.cta.secondary {
  background: var(--action-accent);
}
.cta.secondary:hover {
  background: var(--action-accent-hover);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

/* スクリーンショットは文字部分(.page、720px幅)より広く使いたいので、
   ビューポート幅いっぱいまではみ出させてから中央寄せで最大幅を制限する
   (よくある「コンテンツ幅を超えて画像だけ広げる」実装)。UIのスクリーン
   ショットは文字が細かいため、小さいグリッドだと内容が見えない
   (実際に指摘を受けた)ので、1列でできるだけ大きく表示する。 */
.screenshots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
  width: 100vw;
  max-width: 1040px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.screenshots img {
  width: 100%;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  display: block;
  cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* クリックで拡大表示するライトボックス */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999999;
  cursor: zoom-out;
}
.lightbox.hidden {
  display: none;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-s);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 13.5px;
}
.feature-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

footer {
  margin-top: 48px;
  font-size: 12px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
}
