:root {
  color-scheme: light;
  --ink: #20302b;
  --muted: #5c6d66;
  --line: #d7e1dc;
  --surface: #ffffff;
  --wash: #f4f7f5;
  --sage: #355f52;
  --sage-dark: #24483d;
  --peach: #f2d8c8;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--wash);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 2;
  padding: 0.65rem 0.8rem;
  color: var(--surface);
  background: var(--sage-dark);
  border-radius: 0.45rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: var(--surface);
  background: var(--sage);
  border-radius: 0.75rem;
  font-size: 1.25rem;
}

.brand-name {
  font-size: 1.05rem;
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  color: var(--sage-dark);
  font-weight: 700;
  border-radius: 0.45rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e4eee9;
}

.hero {
  max-width: 780px;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--surface);
  background: var(--sage);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sage-dark);
}

.button-secondary {
  color: var(--sage-dark);
  background: var(--surface);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--sage);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: 2.5rem 0 5rem;
  border-top: 1px solid var(--line);
}

h2 {
  max-width: 340px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

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

.welcome-points article {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.welcome-points p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

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

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 2rem, 1120px);
  }

  .welcome-grid,
  .welcome-points {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}
