:root {
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #eef3f2;
  --text: #1d2422;
  --muted: #5f6b68;
  --border: #dde3e1;
  --primary: #01696f;
  --primary-soft: #d8eeec;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 32, 30, 0.05), 0 8px 24px rgba(16, 32, 30, 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1413;
    --surface: #161e1d;
    --surface-2: #1c2826;
    --text: #e5ecea;
    --muted: #93a19e;
    --border: #283432;
    --primary: #5cc6c0;
    --primary-soft: #173a38;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

a { color: var(--primary); text-underline-offset: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }

nav.site { display: flex; gap: 6px; flex-wrap: wrap; }
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
}
nav.site a:hover { background: var(--surface-2); color: var(--text); }
nav.site a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.hero { text-align: center; padding: 36px 0 28px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(1, 105, 111, 0.25); }
.hero h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.15; margin: 18px 0 8px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); margin: 0 auto; max-width: 520px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 16px 0;
}
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p:last-child { margin-bottom: 0; }

.contact {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.contact .text { flex: 1 1 280px; }

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .button { color: #062421; } }
.button:hover { filter: brightness(1.08); }

h2.section { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 10px 0;
  padding: 0 18px;
}
details[open] { padding-bottom: 14px; }
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ol, details ul { margin: 0 0 10px; color: var(--text); }
details li { margin: 4px 0; }

.policy h2 { font-size: 19px; margin: 30px 0 6px; }
.policy ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 15px; }

footer.site {
  color: var(--muted);
  font-size: 14px;
  padding: 36px 0 48px;
  text-align: center;
}
footer.site a { color: var(--muted); }

kbd {
  font: 600 14px/1 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 460px) {
  header.site { gap: 6px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  nav.site { gap: 2px; flex-wrap: nowrap; }
  nav.site a { font-size: 14px; padding: 6px 9px; }
}
