:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #172033;
  background: #f5f7fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

body {
  line-height: 1.6;
}

a {
  color: #1746a2;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffcb00;
  outline-offset: 3px;
}

.site-header,
.site-main,
.site-footer {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.site-brand {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-main {
  padding-block: clamp(2rem, 7vw, 5.5rem);
}

.draft-banner,
.notice {
  border: 1px solid #d7a800;
  border-radius: 0.75rem;
  background: #fff8d6;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #46536d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 18ch;
  margin-block: 1rem;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.lede {
  max-width: 62ch;
  color: #46536d;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.actions,
.cards,
.price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-block;
  border-radius: 0.65rem;
  background: #1746a2;
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 750;
  text-decoration: none;
}

.button--secondary {
  border: 1px solid #aab3c4;
  background: #fff;
  color: #172033;
}

.section {
  margin-top: 3rem;
}

.card,
.content-panel {
  min-width: 0;
  border: 1px solid #d9dfeb;
  border-radius: 1rem;
  background: #fff;
  padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 0.7rem 2rem rgb(28 45 78 / 8%);
}

.card {
  flex: 1 1 15rem;
}

.price-card {
  flex: 1 1 18rem;
}

.price {
  margin: 0.5rem 0;
  font-size: 2rem;
  font-weight: 850;
}

code {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid #d9dfeb;
  padding-block: 1.5rem 3rem;
  color: #46536d;
}

.how-to-main {
  width: min(52rem, calc(100% - 1.5rem));
  margin-inline: auto;
  padding-block: 1.5rem 3rem;
}

.how-to-main h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

@media (max-width: 40rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 0.55rem 0.8rem;
  }
}
