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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(170 24 156 / 10%), transparent 55%),
    linear-gradient(180deg, var(--color-surface-muted) 0%, var(--color-surface) 40%);
}

main {
  flex: 1;
  width: min(100% - 2rem, var(--width-content));
  margin-inline: auto;
  padding-block: calc(var(--header-height) + var(--space-xl)) var(--space-2xl);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-plum-deep);
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: 1.05rem;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

a {
  color: var(--color-plum);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-magenta);
}

address {
  font-style: normal;
  color: var(--color-text-muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  width: min(100% - 2rem, var(--width-content));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-footer {
  background: var(--color-plum-deep);
  color: #f5eaf3;
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer a {
  color: #f5eaf3;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__top,
.site-footer__bottom {
  width: min(100% - 2rem, var(--width-content));
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
}

.site-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 0.35rem;
}

.copyright {
  margin: 0;
  color: rgb(245 234 243 / 80%);
  font-size: 0.9rem;
}

.hero {
  max-width: 40rem;
}

.hero p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.reveal {
  margin-top: var(--space-xl);
  max-width: 40rem;
}

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

@media (min-width: 48rem) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
