:root {
  --ink: #061a2d;
  --navy: #071523;
  --paper: #f4f1eb;
  --paper-2: #e7e1d6;
  --line: rgba(6, 26, 45, 0.16);
  --gold-soft: #e0bc71;
  --muted: #66727d;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy);
  color: var(--white);
}

.nav__inner,
.wrap,
.footer__inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
}

.nav__links,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav__links a,
.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero {
  padding: clamp(72px, 10vw, 124px) 0;
  color: var(--white);
  background: var(--navy);
}

.eyebrow {
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  text-wrap: balance;
}

.hero__intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.meta {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 9vw, 104px) 0;
}

.intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.card h2 {
  margin: 22px 0 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
}

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

.card a {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 800;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(44px, 8vw, 100px);
  align-items: start;
}

.article__body {
  max-width: 760px;
}

.article__body h2 {
  margin: 54px 0 16px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
}

.article__body p,
.article__body li {
  color: #334250;
  font-size: 18px;
  line-height: 1.72;
}

.article__body li + li {
  margin-top: 10px;
}

.aside {
  position: sticky;
  top: 24px;
  padding: 26px;
  border-top: 3px solid var(--gold-soft);
  background: var(--paper-2);
}

.aside strong {
  display: block;
  margin-bottom: 12px;
}

.aside a {
  display: block;
  margin-top: 12px;
}

.note {
  margin-top: 52px;
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding: 40px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

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

@media (max-width: 820px) {
  .cards,
  .article {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav__inner {
    min-height: 68px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .nav__links {
    display: none;
  }

  h1 {
    font-size: clamp(39px, 12vw, 56px);
  }
}
