:root {
  --ink: #111827;
  --muted: #5b6676;
  --line: #d9e3dc;
  --paper: #f8faf7;
  --surface: #ffffff;
  --teal: #0f766e;
  --teal-soft: #e7f8f3;
  --coral: #fb8b5b;
  --amber-soft: #fff7ed;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.brand {
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero,
.content {
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 20px 64px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  min-height: calc(100vh - 80px);
}

.hero h1,
.content h1 {
  font-size: clamp(40px, 7vw, 82px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.hero p,
.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 640px;
}

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

.button {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  background: var(--ink);
}

.preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.preview img {
  display: block;
  height: auto;
  width: 100%;
}

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

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

.panel.accent {
  background: var(--amber-soft);
  border-color: #fed7aa;
}

.panel h2,
.panel h3 {
  margin: 0 0 10px;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.55;
}

.content {
  max-width: 860px;
}

.content section {
  margin-top: 26px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px 20px 40px;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 16px;
  }

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