:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5c6a61;
  --panel: #ffffff;
  --paper: #f7f4ed;
  --wash: #e9f2ec;
  --line: #cdd8cf;
  --accent: #0f6b4f;
  --accent-strong: #0a4d39;
  --gold: #d9a441;
  --shadow: 0 18px 42px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
}

.brand,
.site-header nav,
.actions,
.trust-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
}

.site-header nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-header nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 66px 22px 52px;
}

.hero-copy,
.section,
.quote-band {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: #fff;
}

.trust-list {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.trust-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  font-size: 0.92rem;
}

.hero-panel {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.panel-label {
  display: inline-block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-panel p,
.card p,
.quote-band p,
.site-footer {
  color: var(--muted);
}

code {
  font: inherit;
  font-weight: 800;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 22px;
}

.section-muted {
  max-width: none;
  background: var(--wash);
}

.section-muted .section-heading,
.section-muted .area-list {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.area-list {
  display: grid;
  gap: 10px;
}

.area-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
  text-decoration: none;
}

.area-row span {
  display: grid;
  gap: 3px;
}

.area-row small {
  color: var(--muted);
}

.area-row em {
  color: var(--accent);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 70px auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 34px;
}

.quote-band .eyebrow,
.quote-band p {
  color: #d6e5dc;
}

.area-hero {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 56px 22px 42px;
}

.area-hero .lede {
  margin-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px 70px;
}

.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}

.note-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 22px 42px;
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 800;
  color: var(--accent-strong);
}

@media (max-width: 820px) {
  .site-header,
  .site-header nav,
  .hero,
  .quote-band,
  .detail-grid,
  .site-footer {
    display: grid;
  }

  .site-header nav {
    grid-template-columns: repeat(3, max-content);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

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

  .quote-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }

  .button,
  .actions {
    width: 100%;
  }

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