*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 480px at 0% 0%, #d9ebe0 0%, transparent 55%),
    radial-gradient(700px 420px at 100% 10%, #efe6cf 0%, transparent 50%),
    linear-gradient(180deg, var(--mist), var(--paper));
}

a { color: var(--accent-deep); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
ul { padding-left: 1.15em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 20;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 38rem; }
.muted { color: var(--mute); }
.section { padding: 3.5rem 0; }
.section--deep {
  background: linear-gradient(150deg, var(--ink), #1d3328);
  color: #e7f2eb;
}
.section--deep .eyebrow { color: #9fceb5; }
.section--deep .lede, .section--deep .muted { color: #c5d9cc; }
.section--deep a { color: #b6e3c8; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.2rem; border-radius: 999px;
  border: 1px solid transparent; background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 22px rgba(47, 125, 87, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.button:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.button--ghost {
  background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none;
}
.button--ghost:hover { background: #fff; color: var(--ink); }
.section--deep .button--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }

.notice {
  padding: 0.85rem 1rem; border-radius: 12px;
  background: #fff7ea; border: 1px solid #ead2a8; color: var(--warn); font-size: 0.95rem;
}
.legal-warning {
  padding: 1rem; border-radius: 12px; background: #fff4e8; border: 1px solid #efd2b0; color: var(--warn);
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 248, 0.9);
  border-bottom: 1px solid rgba(207, 220, 211, 0.8);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem;
}
.brand { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 2.3rem; height: 2.3rem; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), #184f35); color: #fff;
  font-family: var(--font-display); font-weight: 700;
}
.brand strong { display: block; }
.brand small { display: block; color: var(--mute); font-size: 0.72rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 650; font-size: 0.92rem; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent-deep); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0.45rem 0.7rem; font-weight: 700; }

.site-footer {
  margin-top: 1rem; padding: 2.5rem 0 1.75rem; background: var(--ink); color: #d5e5db;
}
.site-footer a { color: #b6e3c8; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-meta { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; font-size: 0.88rem; color: #9db3a6; }

.hero { padding: 4.5rem 0 3rem; position: relative; overflow: hidden; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 13ch; animation: rise 0.7s ease both; }
.hero .lede { animation: rise 0.75s 0.05s ease both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.35rem; animation: rise 0.8s 0.1s ease both; }
.research-note {
  margin-top: 1.75rem; max-width: 36rem; padding: 1rem 1.15rem;
  border-radius: var(--radius); background: rgba(255,255,255,0.78);
  border: 1px solid rgba(47,125,87,0.2); box-shadow: var(--shadow);
  animation: rise 0.85s 0.12s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.page-hero { padding: 3rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.steps { list-style: none; padding: 0; display: grid; gap: 0.85rem; counter-reset: s; }
.steps li {
  position: relative; padding: 1rem 1rem 1rem 3.8rem;
  background: rgba(255,255,255,0.8); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 1rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 750;
}

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem; box-shadow: var(--shadow); max-width: 34rem;
}
.field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
label { font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.8rem; font: inherit; background: #fff;
}
.checkbox { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; margin-bottom: 0.65rem; }
.checkbox input { width: auto; margin-top: 0.2rem; }
.form-status { display: none; margin-top: 0.85rem; padding: 0.8rem 1rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 650; }
.form-status.is-visible { display: block; }

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 720px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cookie-banner__inner {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 35, 28, 0.18);
  backdrop-filter: blur(10px);
}
.cookie-banner__copy strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}
.cookie-banner__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

@media (min-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.faq details {
  background: rgba(255,255,255,0.8); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.65rem;
}
.faq summary { cursor: pointer; font-weight: 700; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .site-header__inner { flex-wrap: wrap; }
  .nav.is-open { display: flex; }
}
