:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef3f2;
  --text: #101417;
  --muted: #58636b;
  --line: #d8e0df;
  --accent: #0e7c66;
  --accent-strong: #095947;
  --accent-soft: #dff3ee;
  --warning-soft: #fff3d6;
  --shadow: 0 18px 60px rgba(16, 20, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(223, 243, 238, 0.65), rgba(247, 248, 250, 0) 420px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.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: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(9, 89, 71, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 8px 12px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  text-decoration: none;
}

.hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  min-height: min(680px, calc(100vh - 92px));
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

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

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

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

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 22px;
}

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

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

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 780px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

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

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

.button:hover {
  text-decoration: none;
}

.hero-art {
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 124, 102, 0.14), transparent 28%),
    linear-gradient(145deg, #ffffff, #eaf3f1);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
}

.hero-art img {
  width: min(72%, 360px);
  height: auto;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.feature,
.callout,
.request-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16, 20, 23, 0.04);
  padding: 22px;
}

.feature p,
.document li,
.document p {
  color: var(--muted);
}

.thanks {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.thanks-copy {
  max-width: 760px;
}

.thanks-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.thanks-copy .button {
  margin-top: 8px;
}

.credit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding-left: 0;
}

.credit-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.credit-list small {
  color: var(--muted);
  display: inline;
  margin-left: 6px;
}

.split {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  padding: 18px;
}

.link-list a:hover {
  border-color: rgba(14, 124, 102, 0.45);
  text-decoration: none;
}

.link-list span {
  font-weight: 800;
}

.link-list small {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.download-card {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16, 20, 23, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 300px;
  padding: 22px;
}

.download-card h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.download-card p:last-child {
  margin-bottom: 0;
}

.download-platform {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.document {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 84px;
}

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

.document h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.document h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.document ul,
.document ol {
  padding-left: 1.35rem;
}

.callout {
  background: var(--accent-soft);
}

.request-box {
  background: var(--warning-soft);
  margin-top: 16px;
}

.request-box p:last-child,
.feature p:last-child,
.document section p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-art {
    min-height: 260px;
  }

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

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

  .site-footer {
    flex-direction: column;
  }
}
