:root {
  --bg: #f7f4ed;
  --paper: #fffdf7;
  --paper-soft: #f1ebe0;
  --ink: #29241d;
  --ink-soft: #554b3d;
  --ink-muted: #817466;
  --line: #ded4c4;
  --green: #263f30;
  --green-soft: #dfe9dd;
  --accent: #d97745;
  --accent-soft: #f8dfca;
  --shadow: 0 18px 50px rgba(41, 36, 29, 0.08);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "palt";
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 40px, 1040px); margin: 0 auto; }
.narrow { width: min(100% - 40px, 760px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 212, 196, 0.7);
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-links a:hover { background: var(--paper-soft); }

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.25;
}
h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.button.primary {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.button.accent {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.signal {
  display: grid;
  gap: 14px;
}

.signal-row {
  padding: 14px;
  border-radius: 8px;
  background: var(--bg);
}

.signal-label {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
}

.signal-text {
  display: block;
  font-weight: 800;
}

.section {
  padding: 76px 0;
  border-top: 1px solid rgba(222, 212, 196, 0.65);
}

.section.alt {
  background: var(--paper-soft);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card p, .legal-card p { color: var(--ink-soft); }

.legal-list {
  display: grid;
  gap: 10px;
}

.legal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}

.legal-link span {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
}

.page-head {
  padding: 72px 0 42px;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-card + .legal-card { margin-top: 14px; }
.legal-card ul { padding-left: 1.2em; }
.legal-card li { margin: 6px 0; color: var(--ink-soft); }

.meta-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.meta-table th,
.meta-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.meta-table th {
  width: 28%;
  color: var(--ink-muted);
  font-size: 13px;
}

.meta-table tr:last-child th,
.meta-table tr:last-child td { border-bottom: 0; }

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .hero-grid, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; }
  .footer-row { flex-direction: column; }
  .meta-table th, .meta-table td { display: block; width: 100%; }
  .meta-table th { padding-bottom: 0; border-bottom: 0; }
}
