:root {
  --paper: #fffaf5;
  --surface: #ffffff;
  --ink: #201b17;
  --muted: #6f655d;
  --line: #eadfd5;
  --coral: #e65f4d;
  --mint: #dff6ec;
  --teal: #0a6b4a;
  --gold: #c99b42;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(250, 246, 239, 0.98) 42%, #f7f3ec),
    var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.site-header {
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  font-size: 24px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a,
.nav-action,
.button {
  text-decoration: none;
}

.site-nav a {
  border-radius: 8px;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
}

.nav-action,
.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.nav-action:hover,
.button:hover,
.nav-action:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(10, 107, 74, 0.18);
  outline-offset: 2px;
}

.site-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 36px 0 72px;
}

.hero h1,
.page-title h1 {
  max-width: 820px;
  margin: 12px 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-trust span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  color: var(--teal);
  font-weight: 900;
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.hero-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(34, 29, 24, 0.15);
}

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

.hero-board div {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.hero-board strong {
  display: block;
  font-size: 34px;
}

.hero-board span {
  color: var(--muted);
}

.section,
.page-title,
.feature-band {
  padding: 58px 0;
}

.page-title {
  display: grid;
  gap: 4px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: 34px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-band article,
.post-card {
  border-top: 3px solid var(--coral);
  background: var(--surface);
  padding: 22px;
}

.site-footer {
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 42px;
  }

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

  .site-nav {
    gap: 10px 14px;
  }
}

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

  .hero {
    padding-top: 20px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 34px;
  }

  .hero p,
  .page-title p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button,
  .nav-action {
    width: 100%;
  }

  .site-nav {
    font-size: 14px;
  }
}
