:root {
  --bg: #ffffff;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.12);
  --accent: #66b929;
  --accent-ink: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(102, 185, 41, 0.18), rgba(255, 255, 255, 0) 260px),
    radial-gradient(1200px 500px at 20% 0%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 60%),
    var(--bg);
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 12px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  z-index: 10;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 40px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #0e0e0e;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #1e1e1e;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-link:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.nav-link.is-active {
  background: rgba(102, 185, 41, 0.16);
  border-color: rgba(102, 185, 41, 0.55);
}

main {
  flex: 1;
  padding: 18px 0 34px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.headline {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.button:hover {
  filter: brightness(0.98);
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: #1e1e1e;
  border-color: rgba(0, 0, 0, 0.18);
}

.button-secondary:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

.prose h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 32px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.prose h2 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.prose p {
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  padding: 18px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.sep {
  display: inline-block;
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.35);
}

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

  .brand {
    font-size: 34px;
  }

  .headline {
    font-size: 26px;
  }
}
