:root {
  --bg: #fbfaf7;
  --panel: #f4f1e8;
  --ink: #101418;
  --ink-2: #28313a;
  --muted: #61707a;
  --rule: #e3dfd3;
  --rule-2: #ece7db;
  --accent: #153f63;
  --green: #2f6b57;
  --white: #ffffff;
  --font-serif: "EB Garamond", "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --col: 760px;
  --wide: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wordmark,
.site-cta,
.kicker,
.button,
.meta,
.cards h3,
.list-panel,
.steps,
.small,
footer {
  font-family: var(--font-sans);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.wrap {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}

.wide {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(14px);
}

.site-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--muted);
  font-weight: 400;
}

.site-cta {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type {
  border-bottom: 0;
}

.hero {
  padding: 82px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 22px;
  color: var(--ink-2);
}

li {
  margin-bottom: 7px;
}

.lede {
  max-width: 58ch;
  font-size: 1.18rem;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.media {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 26px 70px -42px rgba(16, 20, 24, 0.34);
}

.media img {
  display: block;
  width: 100%;
  height: auto;
}

.media figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.45;
}

.band {
  background: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.card {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.card p {
  margin: 0;
  font-size: 0.97rem;
}

.list-panel {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--panel);
}

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

.list-panel li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 25px;
  border-top: 1px solid var(--rule-2);
  font-size: 0.95rem;
  line-height: 1.45;
}

.list-panel li:first-child {
  border-top: 0;
}

.list-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.steps {
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.step:last-child {
  border-bottom: 1px solid var(--rule);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.step p {
  margin: 0;
}

.table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule-2);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--muted);
  background: #faf8f1;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta {
  background: var(--ink);
}

.cta h2,
.cta p,
.cta a {
  color: var(--bg);
}

.cta .button {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ink);
}

footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

.foot-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 48px;
  align-items: start;
}

.foot-brand {
  display: grid;
  gap: 10px;
}

.foot-brand .wordmark {
  font-size: 18px;
}

.foot-tagline,
.foot-copy {
  margin: 0;
  color: var(--muted);
}

.foot-tagline {
  max-width: 28ch;
  font-size: 13.5px;
  line-height: 1.5;
}

.foot-copy { font-size: 13px; }

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

.foot-col h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-col a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.foot-col a:hover {
  color: var(--ink);
  border-bottom-color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  section {
    padding: 58px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .site-inner {
    padding: 14px 20px;
  }

  .site-cta {
    font-size: 13px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.04;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .step {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 36px;
    height: 36px;
  }

  .foot-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .foot-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
