:root {
  --ink: #1a2a30;
  --muted: #4d6168;
  --bay: #0c3d4a;
  --bay-2: #14586a;
  --teal: #1d7a86;
  --sand: #f4efe6;
  --paper: #fffcf8;
  --line: #e3d8c8;
  --lagoon: #e7f3f1;
  --clay: #a15a32;
  --shadow: 0 16px 36px rgba(12, 45, 56, 0.08);
  --max: 1120px;
  --prose: 42rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 320px at 100% -8%, rgba(29, 122, 134, 0.12), transparent 60%),
    linear-gradient(180deg, var(--sand) 0, var(--paper) 260px);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--bay-2); text-underline-offset: 0.16em; }
a:hover { color: var(--clay); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--bay);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--bay); text-decoration: none; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mark { width: 2.15rem; height: 2.15rem; flex: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 0.85rem; align-items: center; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }

.hero { padding: 2.3rem 0 1rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--clay); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.16; }
h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 560;
  max-width: 18ch;
  color: var(--bay);
}
.lede { max-width: 40rem; font-size: 1.16rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.3rem; }
.btn, .btn-quiet {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn { background: var(--bay); color: white; }
.btn:hover { background: var(--bay-2); color: white; }
.btn-quiet { border: 1px solid var(--line); background: white; color: var(--bay); }
.btn-quiet:hover { border-color: var(--bay); color: var(--bay); }

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.4rem 0 0.4rem;
}
.band article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem 1rem 0.9rem;
  min-height: 9rem;
}
.band h2 { margin: 0.15rem 0 0.4rem; font-size: 1.35rem; color: var(--bay); }
.band p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.kicker { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); font-weight: 600; }

.section { padding: 2.2rem 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 0.65rem; color: var(--bay); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.1rem;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.05rem 1.05rem 0.95rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 11rem;
}
.card:hover { border-color: #c5ddd8; color: inherit; }
.card strong { font-family: var(--serif); font-size: 1.22rem; color: var(--bay); font-weight: 560; }
.card p { color: var(--muted); margin: 0.4rem 0 0; flex: 1; }
.card em { font-style: normal; color: var(--teal); font-size: 0.88rem; font-weight: 600; margin-top: 0.75rem; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin: 1.3rem 0 0.3rem; font-size: 1.28rem; color: var(--bay); }
.prose p, .prose li { color: #243238; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.callout {
  border-left: 3px solid var(--clay);
  background: #fbf6ef;
  padding: 0.9rem 1rem;
  border-radius: 0 0.8rem 0.8rem 0;
  margin: 1.15rem 0;
}
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 0.2rem 0 0.35rem; }
.crumbs a { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.88rem; }

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem 0 1.3rem;
  font-size: 0.95rem;
}
th, td { text-align: left; vertical-align: top; padding: 0.72rem 0.8rem; border-bottom: 1px solid var(--line); }
th { background: var(--lagoon); color: var(--bay); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.faq h3 { font-size: 1.12rem; margin: 1.1rem 0 0.2rem; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.9rem; }
.related a {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
}
.related strong { display: block; font-family: var(--serif); color: var(--bay); font-weight: 560; margin-bottom: 0.25rem; }
.related span { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  margin-top: 2rem;
  background: var(--bay);
  color: #d5e4e6;
  padding: 2.1rem 0 1.3rem;
}
.site-footer a { color: white; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.3rem; }
.site-footer h2 { color: white; font-size: 1rem; margin: 0 0 0.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.fine {
  margin-top: 1.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.82rem;
  color: #c5d6da;
}

@media (max-width: 860px) {
  .band, .cards, .related, .foot-grid { grid-template-columns: 1fr; }
  .nav-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 0.35rem 0; }
  table { display: block; overflow-x: auto; }
}
