:root {
  --ink: #13201b;
  --muted: #52605a;
  --paper: #fbfaf4;
  --panel: #ffffff;
  --mint: #dff4e7;
  --sky: #d8ecff;
  --sun: #ffe49d;
  --coral: #ff8f70;
  --line: #d8ded6;
  --focus: #0c6b51;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(216, 236, 255, 0.75), transparent 34rem),
    linear-gradient(315deg, rgba(255, 228, 157, 0.6), transparent 28rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: #075f49;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 244, 0.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 68rem;
  padding: 1rem 1.25rem;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
  font-size: 0.92rem;
}

.hero,
.content {
  margin: 0 auto;
  max-width: 68rem;
  padding: 3rem 1.25rem;
}

.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.62fr);
}

.eyebrow {
  color: #8a3f2d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  max-width: 12ch;
}

h2 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 1.25rem 0 0;
  max-width: 42rem;
}

.pocket-note {
  align-self: end;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(33, 48, 40, 0.10);
  padding: 1.25rem;
}

.pocket-note strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}

.callout {
  background: var(--mint);
  border: 1px solid #badcc7;
  border-radius: 8px;
  padding: 1.1rem;
}

.warning {
  background: #fff2df;
  border-color: #f0c695;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 48rem;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(216, 236, 255, 0.65);
  font-size: 0.84rem;
  text-transform: uppercase;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 auto;
  max-width: 68rem;
  padding: 2rem 1.25rem 3rem;
}

@media (max-width: 760px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .content {
    padding: 2rem 1rem;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 761px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lede {
    font-size: 1.24rem;
  }
}
