:root {
  --tone-900: #1f2633;
  --tone-600: #566077;
  --line-250: #d8dfec;
  --base-050: #f6f8fd;
  --brand-700: #246a66;
  --brand-500: #2f8a84;
  --accent-500: #c98f3d;
  --radius-md: 10px;
  --radius-xl: 20px;
  --shell: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.66;
  color: var(--tone-900);
  background: #fff;
}

a { color: var(--brand-700); }
a:hover,
a:focus-visible { color: #1a4f4c; }

.shell {
  width: min(var(--shell), calc(100% - 42px));
  margin: 0 auto;
}

.narrow { max-width: 860px; }

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--brand-700);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  z-index: 99;
}

.site-header {
  border-bottom: 1px solid var(--line-250);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 25;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.tagline {
  margin: 4px 0 0;
  color: var(--tone-600);
  font-size: 0.93rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  font-weight: 700;
  text-decoration: none;
}

.hero {
  background: linear-gradient(180deg, var(--base-050), #fff);
  border-bottom: 1px solid var(--line-250);
}

.compact { padding: 56px 0 44px; }

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.18;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.cta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  border: 2px solid var(--brand-700);
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-700);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-700);
}

.section { padding: 50px 0; }

.alt {
  background: #fbfcff;
  border-top: 1px solid var(--line-250);
  border-bottom: 1px solid var(--line-250);
}

.grid {
  display: grid;
  gap: 14px;
}

.cards,
.quotes,
.steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.step,
.resource,
.quotes blockquote,
details {
  margin: 0;
  border: 1px solid var(--line-250);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.step {
  border-left: 5px solid var(--accent-500);
}

details { margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }

.quotes footer { color: var(--tone-600); }

.form {
  display: grid;
  gap: 10px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

input,
textarea,
button { font: inherit; }

input,
textarea {
  width: 100%;
  border: 1px solid #aeb8cb;
  border-radius: var(--radius-md);
  padding: 10px 11px;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border: 1px solid var(--line-250);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 16px;
}

.site-footer {
  padding: 28px 0;
  background: var(--base-050);
  border-top: 1px solid var(--line-250);
}

.footer-grid {
  display: grid;
  gap: 11px;
}

.legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  border: 1px solid var(--line-250);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(37, 44, 66, 0.15);
}

.cookie button {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--brand-700);
  color: #fff;
  padding: 9px 12px;
  font-weight: 700;
}

.hidden { display: none; }

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9ccdc9;
  outline-offset: 1px;
}

@media (max-width: 900px) {
  .header-grid { grid-template-columns: 1fr; }
}
