/* =========================================
   Base (Design Tokens)
   寺院・神社向けなので、Discord系（Blurple）とは切り離した
   墨色＋金の落ち着いた配色にする
========================================= */
:root {
  --ink: #23262E;
  --ink-rgb: 35, 38, 46;
  --gold: #A9834A;
  --gold-dark: #7C5F35;
  --gold-light: #F4EEE2;

  --bg: #FBFAF7;
  --bg-dark: #1B1D22;
  --bg-card: #F3EEE3;

  --glass-border: rgba(var(--ink-rgb), 0.1);

  --text-main: #23262E;
  --text-sub: #5C5A54;

  --radius: 14px;
  --radius-lg: 20px;

  --shadow-soft: 0 8px 26px rgba(var(--ink-rgb), 0.08);
  --shadow-card: 0 12px 38px rgba(var(--ink-rgb), 0.14);

  --border-soft: rgba(var(--ink-rgb), 0.1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "Helvetica Neue",
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none !important; color: inherit; }

.container { width: 90%; max-width: 1100px; margin: auto; }

h1, h2, h3 { font-weight: 800; color: var(--text-main); line-height: 1.4; letter-spacing: 0.01em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 30px); margin-bottom: 20px; position: relative; padding-bottom: 18px; }
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 44px; height: 4px;
  border-radius: 2px;
  background: var(--gold);
}
.on-dark h2 { color: #fff; }
.on-dark h2::after { background: var(--gold); }
h3 { font-size: 19px; margin-bottom: 10px; }
p { margin-bottom: 18px; color: var(--text-sub); font-size: 16.5px; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-eyebrow-on-dark { color: var(--gold); }

section { padding: 84px 0; }
.section-bg-1 { background: #fff; }

/* fade-up scroll reveal */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out-expo); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Header
========================================= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 16px 0;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 900; }
.logo-link { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 26px; height: 26px; flex-shrink: 0; }

header nav { display: flex; align-items: center; }
header nav a { margin-left: 24px; font-size: 15px; color: var(--text-sub); font-weight: 600; transition: 0.2s; }
header nav a:hover { color: var(--gold-dark); }

@media (max-width: 700px) {
  header nav a:not(.nav-cta) { display: none; }
}

.nav-cta {
  margin-left: 24px;
  background: var(--ink);
  padding: 9px 20px;
  border-radius: 999px;
  color: #fff !important;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 15px;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* =========================================
   Hero
========================================= */
.hero { position: relative; text-align: center; padding: 56px 0 64px; overflow: hidden; }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(var(--ink-rgb), 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 90%);
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { max-width: 760px; margin: 0 auto 22px; }
.hero h1 .highlight { color: var(--gold-dark); }

.hero-sub { max-width: 560px; margin: 0 auto 32px; font-size: 17.5px; color: var(--text-sub); line-height: 1.85; }

.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  background: var(--ink);
  border: 2px solid transparent;
  color: white;
  box-shadow: 0 10px 28px rgba(var(--ink-rgb), 0.25);
  transition: 0.25s ease;
}
.cta-button:hover { background: #000; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(var(--ink-rgb), 0.35); }

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1.5px solid transparent;
  transition: 0.2s ease;
}
.hero-secondary-link:hover { border-bottom-color: var(--text-main); }
.hero-secondary-link svg { transition: transform 0.2s var(--ease-out-expo); }
.hero-secondary-link:hover svg { transform: translateX(3px); }

/* =========================================
   Problems
========================================= */
.problems { position: relative; overflow: hidden; }
.problems .container { position: relative; z-index: 1; }

.problems-header { margin-bottom: 44px; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.problem-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 26px 26px;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.problem-card:hover { background: #fff; box-shadow: var(--shadow-card); transform: translateY(-4px); }

.problem-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.problem-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--gold-dark); }
.problem-heading h3 { margin: 0; font-size: 17px; }
.problem-card p { margin: 0; font-size: 15px; }
.problem-card .stat {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 3px 10px;
  border-radius: 999px;
}

/* =========================================
   Incident callout
========================================= */
.incident {
  background: var(--bg-dark);
  color: #fff;
}
.incident .container { max-width: 760px; text-align: center; }
.incident .section-eyebrow { color: var(--gold); }
.incident blockquote {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.7;
  margin: 24px 0;
  color: #fff;
}
.incident .source { font-size: 14px; color: #ADA79A; }

/* =========================================
   Features (roadmap) — 投票機能なし、シンプルな一覧
========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.feature-block {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, background-color 0.3s ease;
}
.feature-block:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-card); }

.feature-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.feature-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--gold-dark); }
.feature-icon svg { width: 20px; height: 20px; }
.feature-heading h3 { margin: 0; font-size: 18px; }
.feature-block p { margin: 0; font-size: 15px; }
.roadmap-intro { max-width: 560px; margin-top: -6px; }

@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FAQ
========================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius); padding: 6px 22px; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question h3 { margin: 0; font-size: 16px; font-weight: 700; }
.faq-toggle-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-toggle-icon::before { width: 16px; height: 2px; top: 7px; left: 0; }
.faq-toggle-icon::after { width: 2px; height: 16px; top: 0; left: 7px; }
.faq-item[open] .faq-toggle-icon::after { transform: rotate(90deg); }
.faq-answer { padding: 0 0 20px; font-size: 15px; color: var(--text-sub); }

/* =========================================
   Request (dark CTA band)
========================================= */
.request-dark { background: var(--bg-dark); color: #fff; text-align: center; }
.request-dark p { color: #C9C4B8; }

/* =========================================
   Footer
========================================= */
footer { padding: 40px 0; text-align: center; color: var(--text-sub); font-size: 13px; border-top: 1px solid var(--border-soft); }

.mt-40 { margin-top: 40px; }
