:root {
  --canvas: #f3f8f2;
  --canvas-deep: #e6f1e6;
  --surface: #ffffff;
  --ink: #243b53;
  --ink-soft: #5b7185;
  --leaf: #34a05a;
  --leaf-deep: #2e7d4f;
  --sky: #dbeafe;
  --accent: #ff9f1c;
  --border: #dfe9df;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(36, 59, 83, 0.08);
  --maxw: 860px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--canvas-deep), var(--canvas));
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--leaf-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 248, 242, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.brand .dot { font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
}
.nav a:hover, .nav a.active { color: var(--leaf-deep); background: var(--canvas-deep); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sr-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.lang-switch select {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}

/* Hero */
.hero { text-align: center; padding: 64px 0 40px; }
.hero .icon {
  width: 96px; height: 96px; border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 8px; }
.hero .tagline { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto 24px; }
.hero .rule { width: 84px; height: 6px; border-radius: 6px; background: var(--accent); margin: 0 auto 24px; }

.btn {
  display: inline-block;
  background: var(--leaf);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.btn.secondary { background: var(--surface); color: var(--leaf-deep); border: 1px solid var(--border); }

/* Cards / sections */
main { padding-bottom: 56px; }
.section-title { text-align: center; font-size: 1.5rem; margin: 40px 0 8px; }
.section-sub { text-align: center; color: var(--ink-soft); margin: 0 auto 28px; max-width: 560px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card .emoji { font-size: 1.8rem; }
.card h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* Doc pages */
.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 32px 0;
}
.doc h1 { margin-top: 0; }
.doc h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.doc p { color: var(--ink-soft); }
.doc .updated { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 24px; }
.doc a.email { font-weight: 700; }

.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 20px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋"; color: var(--leaf); margin-right: 10px; font-weight: 700; }
.faq details[open] summary::before { content: "－"; }
.faq p { margin: 0 0 14px; color: var(--ink-soft); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.site-footer .links { margin-bottom: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: var(--leaf-deep); }
