:root {
  color-scheme: dark;
  --bg-top: #332a5c;
  --bg-mid: #241d40;
  --bg-edge: #1b1535;
  --ink: #ece7fa;
  --ink-soft: rgba(236, 231, 250, 0.72);
  --ink-faint: rgba(236, 231, 250, 0.46);
  --cream: #f3eede;
  --teal: #7fcabf;
  --gold: #efdcae;
  --orchid: #c6a7d8;
  --line: rgba(236, 231, 250, 0.14);
  --panel: rgba(27, 21, 53, 0.54);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-edge);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(127, 202, 191, 0.16), transparent 72%),
    radial-gradient(130% 100% at 50% 0%, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-edge) 100%);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 76px;
}

.site-footer {
  padding: 32px 0 40px;
  color: var(--ink-faint);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.site-header nav,
.site-footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a,
.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 11%, transparent 12%),
    conic-gradient(from 0deg, var(--teal), var(--orchid), var(--gold), var(--teal));
  box-shadow: 0 0 22px rgba(127, 202, 191, 0.28);
}

.hero {
  width: min(920px, calc(100% - 40px));
  min-height: calc(100vh - 188px);
  margin: 0 auto;
  padding: 92px 0 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 13vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 0 44px rgba(127, 202, 191, 0.42),
    0 0 34px rgba(239, 220, 174, 0.24);
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4.5vw, 34px);
  line-height: 1.28;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(239, 220, 174, 0.42);
  background: rgba(239, 220, 174, 0.1);
  color: var(--cream);
  font-weight: 720;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(236, 231, 250, 0.06);
  color: var(--ink-soft);
}

.details {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.details article {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

h2 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 22px;
  line-height: 1.2;
}

.details p,
.document p {
  color: var(--ink-soft);
}

.details p {
  margin: 0;
  line-height: 1.55;
}

.document {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.document h1 {
  font-size: clamp(44px, 10vw, 78px);
}

.document h2 {
  margin-top: 42px;
}

.document p {
  font-size: 17px;
  line-height: 1.7;
}

.document a {
  color: var(--gold);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    min-height: 68px;
  }

  .hero,
  .details,
  .document {
    width: min(100% - 28px, 920px);
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .details {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }
}
