:root {
  color-scheme: light;
  --paper: #fff8df;
  --ink: #083d3c;
  --muted: #4d6865;
  --line: #c9b98e;
  --accent: #e09a16;
  --card: #fffdf5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: #086b67; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.shell { width: min(760px, calc(100% - 36px)); margin: 0 auto; }

header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

nav { display: flex; flex-wrap: wrap; gap: 18px; }
.brand { color: var(--ink); font: 700 1.25rem Georgia, serif; text-decoration: none; }

main { padding: 56px 0 80px; }
h1, h2 { font-family: Georgia, serif; line-height: 1.14; }
h1 { max-width: 16ch; margin: 8px 0 20px; font-size: clamp(2.5rem, 8vw, 4.8rem); }
h2 { margin-top: 2rem; }
.eyebrow { color: var(--muted); font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.lede { max-width: 62ch; font-size: 1.15rem; }

.card {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 50px rgb(8 61 60 / 8%);
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #152a28;
  background: #f5bd4e;
  font-weight: 750;
  text-decoration: none;
}

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

@media (max-width: 560px) {
  header, footer { align-items: flex-start; flex-direction: column; }
  main { padding-top: 34px; }
}
