/* FactCheck AI — site styles */
:root {
  --ink: #12332B;
  --ink-soft: #3D5A51;
  --emerald: #177E63;
  --emerald-deep: #0F5C48;
  --mist: #DCEAE4;
  --tint: #F4F9F7;
  --paper: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  font-weight: 400;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header ---- */
.site-header {
  padding: 40px 0 8px;
  text-align: center;
}
.site-header img { height: 34px; width: auto; }

/* ---- hero (top page) ---- */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(28px, 6.4vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.hero p.lead {
  margin: 28px auto 0;
  max-width: 34em;
  text-align: left;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---- divider: line — symbol — line ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--mist);
}
.divider img { height: 26px; width: auto; opacity: 0.9; }

/* ---- store section ---- */
.stores {
  padding: 36px 0 8px;
}
.stores-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.store {
  flex: 1 1 240px;
  max-width: 300px;
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 26px 20px 22px;
  text-align: center;
}
.store .qr {
  width: 128px;
  height: 128px;
  margin: 0 auto 14px;
}
.store h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.store .note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}
.pill {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--emerald-deep);
  font-size: 13px;
  font-weight: 700;
}
.stores .caption {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---- web section ---- */
.web {
  background: var(--tint);
  border-radius: 18px;
  padding: 40px 28px 44px;
  margin: 40px 0 8px;
  text-align: center;
}
.web h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.web p {
  margin: 14px auto 0;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 15px;
}
.btn {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 38px;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #1E9476 0%, var(--emerald) 55%, var(--emerald-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 6px 16px rgba(23, 126, 99, 0.28);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn:active { filter: brightness(0.97); transform: translateY(1px); }

/* ---- footer ---- */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--mist);
  padding: 30px 0 44px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer nav {
  display: flex;
  gap: 8px 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.site-footer nav a { color: var(--ink-soft); }
.site-footer .copyright { margin-top: 10px; }

/* ---- legal document pages ---- */
.doc {
  padding: 16px 0 8px;
}
.doc h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 28px 0 6px;
}
.doc .updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.doc h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--emerald);
  line-height: 1.6;
}
.doc p { margin: 12px 0; }
.doc ol, .doc ul { margin: 12px 0 12px 1.6em; }
.doc li { margin: 6px 0; }
.doc ol ol { list-style: none; margin-left: 0.4em; }
.doc .end { margin-top: 44px; text-align: right; color: var(--ink-soft); }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.doc th, .doc td {
  border: 1px solid var(--mist);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.doc th { background: var(--tint); font-weight: 700; white-space: nowrap; }

.sp-only { display: none; }

@media (max-width: 480px) {
  body { font-size: 15px; }
  .doc th { white-space: normal; }
  .sp-only { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
