:root {
  color-scheme: light;
  --ink: #493a46;
  --muted: #746672;
  --cream: #fff5e6;
  --paper: #fffaf2;
  --pink: #e78fa5;
  --mint: #8fc9aa;
  --lilac: #a98ad8;
  --gold: #e5af4d;
  --line: rgba(73, 58, 70, 0.16);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(231, 143, 165, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(143, 201, 170, 0.2), transparent 26rem),
    var(--cream);
  line-height: 1.65;
}

.shell {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0;
}

.brand-logo {
  display: inline-block;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 86px;
  height: 52px;
  image-rendering: pixelated;
}

main {
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  overflow: hidden;
  text-align: center;
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 1.25rem 3.5rem rgba(73, 58, 70, 0.09);
}

.hero img {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin: -1.5rem auto -0.25rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: #9a5368;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 10vw, 4.4rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.08rem;
}

p,
ul,
ol {
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: #6b4d99;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #4f347c;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.lede {
  max-width: 36rem;
  margin: 0.8rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 1.05rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  background: #f7d878;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 0.22rem 0 var(--ink);
}

.button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.button.secondary {
  background: #d9f5de;
}

.document {
  padding: clamp(1.35rem, 5vw, 3rem);
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: 0 1rem 3rem rgba(73, 58, 70, 0.07);
}

.document h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
}

.document h2 {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.meta,
.note {
  color: var(--muted);
}

.note {
  padding: 0.85rem 1rem;
  background: rgba(169, 138, 216, 0.1);
  border-left: 0.3rem solid var(--lilac);
  border-radius: 0.35rem;
}

.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 32rem) {
  .shell {
    width: min(100% - 1.2rem, 48rem);
  }

  main {
    padding-top: 0.6rem;
  }

  .hero,
  .document {
    border-radius: 1.25rem;
  }

  .actions {
    display: grid;
    width: 100%;
  }

  .button {
    justify-content: center;
  }
}
