:root {
  --cream: #fbf6ec;
  --cream-deep: #f3ead8;
  --paper: #ffffff;
  --teal: #0f4c5c;
  --teal-dark: #0a3540;
  --teal-soft: #e3eef0;
  --amber: #c8841f;
  --amber-soft: #fbecd2;
  --ink: #1f2a2e;
  --ink-soft: #4a585d;
  --line: #e2d8c4;
  --radius: 14px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--teal-dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff; padding: 12px 18px; z-index: 10;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--teal-dark); text-decoration: none; }
.brand svg { width: 44px; height: 24px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { display: inline-block; padding: 6px 2px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--amber); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 40em; }
.bridge { display: block; width: 100%; max-width: 560px; height: auto; margin: 28px 0 8px; color: var(--teal); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1.05rem;
  border: 2px solid var(--teal); line-height: 1.2;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal-dark); }

/* Sections */
section { padding: 48px 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 44em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band .card { background: var(--cream); }
.card .icon { width: 56px; height: 56px; color: var(--teal); margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

.status {
  display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
  background: var(--amber-soft); color: #6b4510; border: 1px solid #ecc888;
}

.goal {
  background: var(--teal); color: #fff; border-radius: var(--radius);
  padding: 32px; display: grid; gap: 8px;
}
.goal h2 { color: #fff; margin: 0; }
.goal .figure { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 700; line-height: 1.1; }
.goal p { margin: 0; color: #e7f1f3; }

.note {
  border-left: 4px solid var(--amber); background: var(--paper);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
}
.placeholder {
  background: var(--amber-soft); border: 1px dashed var(--amber);
  padding: 2px 8px; border-radius: 6px; font-style: italic;
}

/* Form */
form { display: grid; gap: 18px; max-width: 36em; }
label { font-weight: 700; display: block; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid #b9ae98; border-radius: 10px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(200, 132, 31, 0.35); }
textarea { min-height: 140px; resize: vertical; }
button[type="submit"] { justify-self: start; cursor: pointer; font: inherit; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #8a2d12; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--teal-dark); color: #dfeaec; padding: 36px 0; margin-top: 24px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.5em; }
.site-footer .small { font-size: 0.95rem; color: #bcd2d6; }

@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .hero { padding: 40px 0 28px; }
  section { padding: 36px 0; }
  .goal { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
