:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #211d24;
  background: #f4f1ec;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 32px 18px;
  background:
    radial-gradient(circle at top right, rgba(92, 48, 91, 0.14), transparent 38%),
    #f4f1ec;
}

a {
  color: #5c305b;
}

.card,
.document {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(26px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 48, 91, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(45, 31, 43, 0.09);
}

.card {
  margin-top: min(12vh, 100px);
  text-align: center;
}

.icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: #5c305b;
  font-size: 34px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: #765174;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

p,
li {
  line-height: 1.65;
}

.intro,
.updated {
  color: #686169;
}

.updated {
  margin-bottom: 36px;
  font-size: 14px;
}

nav {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: #5c305b;
  font-weight: 650;
  text-decoration: none;
}

.button.secondary {
  color: #5c305b;
  background: #eee5ed;
}

.back {
  display: inline-block;
  margin-bottom: 34px;
  font-weight: 650;
  text-decoration: none;
}

section {
  padding: 25px 0;
  border-top: 1px solid #e9e3e8;
}

section.contact {
  padding: 28px;
  border: 0;
  border-radius: 20px;
  background: #f5eef4;
}

footer {
  margin-top: 36px;
  color: #817981;
  font-size: 13px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #f4eff4;
    background: #161317;
  }

  body {
    background:
      radial-gradient(circle at top right, rgba(149, 91, 146, 0.24), transparent 38%),
      #161317;
  }

  .card,
  .document {
    background: rgba(35, 30, 36, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
  }

  a,
  .eyebrow {
    color: #d0a6ce;
  }

  .intro,
  .updated,
  footer {
    color: #b8afb8;
  }

  section {
    border-color: #413a42;
  }

  section.contact,
  .button.secondary {
    background: #352c35;
  }
}
