:root {
  --bg: #fffaf2;
  --panel: #ffffff;
  --text: #20302f;
  --muted: #5f706d;
  --brand: #1f8a70;
  --brand-dark: #11614e;
  --accent: #f9a826;
  --warning: #fff3d6;
  --danger: #a93622;
  --line: #e8dfd2;
  --shadow: 0 14px 35px rgba(32, 48, 47, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand-dark); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

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

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 8px;
}

nav a:hover {
  color: var(--brand-dark);
  background: #eaf8f3;
}

.hero {
  padding: 64px 0;
  background: linear-gradient(135deg, #e7fff5, #fff7e7);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  max-width: 820px;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin-top: 0; }

.hero-text {
  font-size: 1.2rem;
  max-width: 680px;
  color: var(--muted);
}

.hero-actions,
.signup-form,
.search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button,
button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  text-align: center;
}

.primary,
button {
  background: var(--brand);
  color: white;
}

.primary:hover,
button:hover { background: var(--brand-dark); }

.secondary {
  background: white;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
}

.hero-card,
.card,
.alert-card,
.email-card,
.page-card,
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding-top: 44px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  color: var(--text);
}

.search-box input,
.signup-form input { flex: 1 1 230px; }

section.wrap,
.feature-band { margin-top: 44px; }

.alert-card {
  background: var(--warning);
  border-color: #ffd889;
}

.alert-card h2 { color: var(--danger); }
.section-heading { margin-bottom: 20px; }

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

.page-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(32, 48, 47, 0.16);
}

.card span {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.card p,
.page-card p,
.form-card p { color: var(--muted); }

.card a { font-weight: 800; }

.check-list {
  margin: 0;
  padding-left: 1.2rem;
}

.check-list li + li { margin-top: 8px; }

.feature-band {
  padding: 52px 0;
  background: #eaf8f3;
}

.email-card {
  text-align: center;
  margin-bottom: 44px;
}

.site-footer {
  background: #20302f;
  color: white;
  padding: 32px 0;
  margin-top: 48px;
}

.site-footer a { color: white; }
.site-footer nav a:hover { background: rgba(255,255,255,0.12); color: white; }
.footer-grid { display: grid; gap: 16px; }
.footer-note {
  max-width: 880px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin: -4px 0 0;
}

@media (max-width: 900px) {
  .header-wrap,
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .header-wrap {
    display: grid;
    justify-items: start;
  }

  .card-grid,
  .page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .wrap { width: min(100% - 24px, 1120px); }

  .hero { padding: 44px 0; }

  .site-header { position: static; }

  nav {
    width: 100%;
    gap: 8px;
  }

  nav a {
    padding: 8px 10px;
    background: #f4fbf8;
  }

  .hero-actions,
  .search-box,
  .signup-form {
    display: grid;
  }

  .button,
  button {
    width: 100%;
  }

  .card-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card,
  .alert-card,
  .email-card,
  .page-card,
  .form-card {
    border-radius: 18px;
    padding: 20px;
  }
}
