:root {
  --brand: #423873;
  --brand-strong: #2f2856;
  --brand-soft: #5a4c9c;
  --accent: #ebc596;
  --ink: #1d1e20;
  --muted: #56585e;
  --line: #e8e8e8;
  --surface: #f7f7f7;
  --white: #ffffff;
  --radius: 12px;
  --max: 1120px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--brand);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-header .logo img {
  height: 47px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hero */

.hero {
  position: relative;
  color: var(--white);
  background: var(--brand-strong) url("/img/background.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(47, 40, 86, 0.92) 30%, rgba(47, 40, 86, 0.55));
}

.hero .container {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 640px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  margin: 0 0 32px;
  max-width: 560px;
  font-size: 18px;
  opacity: 0.9;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-strong);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.05);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section--surface {
  background: var(--surface);
}

.section h2 {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.2;
}

.section .lead {
  margin: 0 0 48px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  color: var(--muted);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--brand-soft);
  font-size: 32px;
  font-weight: 700;
}

.steps strong {
  color: var(--ink);
}

.callout {
  margin-top: 56px;
  padding: 32px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.callout strong {
  color: var(--brand);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b8c0cc;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand-soft);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  font-size: 14px;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="ok"] {
  color: #067647;
}

/* Documents */

.doc-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.doc-list a:hover {
  border-color: var(--brand-soft);
  color: var(--brand);
}

.doc-list a::after {
  content: "PDF ↓";
  flex-shrink: 0;
  color: var(--brand-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Footer */

.site-footer {
  padding: 48px 0;
  background: var(--brand-strong);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer strong {
  color: var(--white);
}

.seals {
  display: flex;
  gap: 16px;
}

.seals img {
  height: 70px;
  width: auto;
  border-radius: 6px;
  background: var(--white);
  padding: 4px;
}

@media (max-width: 760px) {
  .site-header .container {
    min-height: 64px;
  }

  .site-header .logo img {
    height: 36px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .contact,
  .site-footer .container {
    grid-template-columns: 1fr;
  }
}
