:root {
  --brand-a: #1f3a5f;
  --brand-b: #c98a2e;
  --brand-c: #f3efe7;
  --ink-strong: #17202a;
  --ink-soft: #445166;
  --line: #d9dee6;
  --bg: #fffdf9;
  --focus: #0f5cc0;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--ink-strong);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", serif;
  color: var(--brand-a);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-top: 0;
}

a {
  color: var(--brand-a);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
summary:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: min(1060px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.6rem 0.8rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-wrap {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.top-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.top-nav a:hover {
  color: var(--brand-a);
  text-decoration: underline;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.hero-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  align-self: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: var(--brand-c);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.steps {
  margin: 1.2rem 0;
  padding-left: 1.2rem;
}

.checklist {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.article-list article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: #fff;
}

.quote p {
  margin: 0 0 0.4rem;
}

.author {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 0.8rem;
  padding: 0.7rem 0.9rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-block,
.mini-subscribe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

label {
  display: block;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b8c2d1;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
  background: #fff;
}

.consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.consent input {
  width: auto;
  margin-top: 0.2rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  border: 1px solid var(--brand-a);
  padding: 0.62rem 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid {
  background: var(--brand-a);
  color: #fff;
}

.btn-solid:hover {
  background: #152c49;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-a);
}

.btn-ghost:hover {
  background: #ecf1f8;
}

.notice p {
  max-width: 80ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 1rem;
}

.inline-sub {
  display: flex;
  gap: 0.5rem;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-links a {
  text-decoration: none;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(420px, 92%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.hidden {
  display: none;
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-grid,
  .footer-grid,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .inline-sub {
    flex-direction: column;
  }
}
