:root {
  color-scheme: light;
  --ink: #2f2b2b;
  --muted: #706866;
  --red: #b91f2b;
  --red-dark: #941722;
  --cream: #fffaf5;
  --warm: #f8eee2;
  --gold: #c59046;
  --line: rgba(75, 55, 49, 0.13);
  --white: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(91, 52, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(235, 192, 130, 0.2), transparent 27rem),
    radial-gradient(circle at 88% 23%, rgba(185, 31, 43, 0.06), transparent 23rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--red);
  text-underline-offset: 0.22em;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand img {
  display: block;
  width: 148px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--red);
  background: rgba(185, 31, 43, 0.07);
}

.hero {
  min-height: 590px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 88px clamp(28px, 7vw, 88px);
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 245, 0.87) 58%, rgba(248, 225, 200, 0.66) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 310px;
  aspect-ratio: 1;
  right: -70px;
  bottom: -92px;
  border: 1px solid rgba(185, 31, 43, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(185, 31, 43, 0.03), 0 0 0 88px rgba(197, 144, 70, 0.03);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.13;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.5rem;
}

.lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  color: white;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(185, 31, 43, 0.2);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.section {
  padding: 116px 0 78px;
}

.section-heading {
  max-width: 600px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.document-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 15px 50px rgba(82, 55, 47, 0.06);
}

.card p,
.document-card p,
.document-card li,
.document-summary p,
.contact-panel p {
  color: var(--muted);
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(185, 31, 43, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-panel {
  margin: 20px 0 96px;
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 30px;
  background: var(--warm);
}

.contact-panel p {
  max-width: 650px;
  margin-bottom: 0;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.5fr);
  gap: 42px;
  align-items: start;
  padding: 74px 0 108px;
}

.document-summary {
  position: sticky;
  top: 32px;
}

.document-summary h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.document-card h2 {
  margin-top: 44px;
  font-size: 1.65rem;
}

.document-card h2:first-of-type {
  margin-top: 8px;
}

.notice {
  margin-bottom: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  color: #5f4b37;
  background: #fff4df;
}

footer {
  min-height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 22px 0;
    align-items: flex-start;
  }

  .brand img {
    width: 120px;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
  }

  nav a {
    min-height: 40px;
    justify-content: flex-end;
  }

  .hero {
    min-height: 540px;
    border-radius: 28px;
  }

  .card-grid,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .document-summary {
    position: static;
  }

  .contact-panel,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    justify-content: center;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
