:root {
  color-scheme: light;
  --bg: #f6f7f2;
  --surface: #ffffff;
  --ink: #1d2528;
  --muted: #5d6a70;
  --line: #d9ded8;
  --accent: #1f7a5a;
  --accent-strong: #155d45;
  --warm: #f4b942;
  --soft: #e8f2ed;
  --shadow: 0 18px 45px rgba(20, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(11, 42, 35, 0.88), rgba(18, 76, 61, 0.7)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='720' viewBox='0 0 1200 720'%3E%3Crect width='1200' height='720' fill='%23dbe7df'/%3E%3Cg fill='none' stroke='%239db7aa' stroke-width='2' opacity='.45'%3E%3Cpath d='M0 120h1200M0 240h1200M0 360h1200M0 480h1200M0 600h1200M160 0v720M320 0v720M480 0v720M640 0v720M800 0v720M960 0v720M1120 0v720'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.65'%3E%3Crect x='135' y='132' width='150' height='96' rx='6'/%3E%3Crect x='318' y='282' width='190' height='110' rx='6'/%3E%3Crect x='680' y='176' width='210' height='120' rx='6'/%3E%3Crect x='836' y='438' width='180' height='100' rx='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  color: #ffffff;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--warm);
  color: #17221f;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 82px 24px 104px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header .eyebrow {
  color: #f9d47a;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  background: var(--warm);
  color: #17221f;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.alt {
  max-width: none;
  background: #ffffff;
}

.section.alt > * {
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 28px;
}

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

.content-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.example-panel,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card {
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.example-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--soft);
}

code {
  display: block;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  border: 1px solid #c8d8cf;
  border-radius: 6px;
  background: #ffffff;
  color: #24312d;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.notice {
  padding: 20px;
  background: #fff8e5;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
  background: #17221f;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .content-grid,
  .content-grid.two,
  .split,
  .check-list.columns {
    grid-template-columns: 1fr;
  }

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