:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #24221e;
  --muted: #69635b;
  --line: #ded7cb;
  --sage: #7f9464;
  --sage-dark: #566b42;
  --coral: #d86c50;
  --gold: #d99b30;
  --shadow: 0 18px 48px rgba(58, 48, 37, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(127, 148, 100, 0.12), rgba(251, 250, 246, 0) 360px),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--sage-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(58, 48, 37, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 660px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero p {
  max-width: 610px;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-art {
  justify-self: center;
}

.hero-art img {
  width: min(340px, 72vw);
  height: auto;
  border-radius: 64px;
  box-shadow: var(--shadow);
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.support-card {
  min-height: 152px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.feature-grid article:nth-child(2) {
  border-top-color: var(--gold);
}

.feature-grid article:nth-child(3) {
  border-top-color: var(--coral);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.split p {
  max-width: 720px;
}

.text-link {
  flex: 0 0 auto;
  font-weight: 800;
}

.document {
  max-width: 760px;
  padding: 72px 0;
}

.document h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.document h2 {
  margin-top: 34px;
  font-size: 23px;
}

.document ul {
  padding-left: 22px;
  color: var(--muted);
}

.support-card {
  min-height: 0;
  margin: 28px 0;
}

.support-card p {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 48px 0;
  }

  h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 18px;
  }

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

  .split,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 40px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
