:root {
  --bg: #f7f2e9;
  --card: #ffffff;
  --ink: #18211d;
  --muted: #65706a;
  --soft: #ebe3d6;
  --line: #ded4c4;
  --accent: #2f6b4f;
  --accent-dark: #24523d;
  --accent-soft: #e1efe8;
  --warning: #b76e2b;
  --shadow: 0 20px 60px rgba(24, 33, 29, 0.10);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff8ec 0, var(--bg) 36%, #f4efe5 100%);
  min-height: 100vh;
}

button, input, select { font: inherit; }

button { cursor: pointer; }

.hidden { display: none !important; }

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo {
  display: block;
  width: 250px;
  max-width: 70vw;
  height: auto;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 4px;
  font-weight: 700;
}

.link-button:hover { color: var(--ink); }

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-warning {
  background: #fff1df;
  color: #7c4517;
}

@media (max-width: 680px) {
  .site-header,
  main {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    padding-top: 14px;
  }

  .logo {
    width: 200px;
  }
}
