:root {
  --charcoal: #1f2933;
  --blue: #344b5c;
  --gold: #d1ac58;
  --gold-dark: #9c762b;
  --ivory: #f6f0e3;
  --paper: #fffdf8;
  --ink: #202a34;
  --muted: #61707c;
  --line: #d9cfbd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--ivory);
}

a { color: inherit; }

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  text-decoration: none;
}

.brand img { border-radius: 12px; }

nav,
.footer div {
  display: flex;
  gap: 22px;
}

nav a,
.footer a {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 18%, rgba(209, 172, 88, .17), transparent 22rem),
    linear-gradient(135deg, var(--charcoal), #111a23);
  border-bottom: 4px solid var(--gold);
}

.hero .wrap {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding-block: 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.05em;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #d8e0e5;
  font-size: 1.12rem;
}

.content {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 64px;
  padding-block: 66px 90px;
}

.aside {
  align-self: start;
  padding: 22px;
  color: var(--muted);
  background: #eee5d3;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.aside strong {
  display: block;
  color: var(--ink);
}

.article { max-width: 740px; }

.article section + section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.02rem;
}

.article li + li { margin-top: 9px; }

.notice {
  padding: 20px 22px;
  color: var(--ink) !important;
  background: #dff4e9;
  border: 1px solid #b9decf;
  border-radius: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 72px;
}

.card {
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(31, 41, 51, .07);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  margin-top: 16px;
  padding: 0 22px;
  color: var(--charcoal);
  font-weight: 850;
  text-decoration: none;
  background: var(--gold);
  border-radius: 999px;
}

.mail {
  color: var(--gold-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }

@media (max-width: 700px) {
  .header,
  .footer,
  .wrap {
    width: min(calc(100% - 28px), 1040px);
  }

  .header { min-height: 70px; }
  nav { gap: 14px; }

  .content,
  .cards {
    grid-template-columns: 1fr;
  }

  .content { gap: 26px; padding-block: 46px 66px; }
  .cards { padding-block: 50px; }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
