@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --bg: #12201c;
  --bg-2: #1a2c26;
  --text: #e8f0ec;
  --muted: #9bb0a6;
  --accent: #d4a017;
  --accent-2: #3d9a7a;
  --line: rgba(212, 160, 23, 0.28);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(61, 154, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 30%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(165deg, #12201c 0%, #1a2c26 45%, #0f1a16 100%);
  background-attachment: fixed;
}

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

a:hover {
  color: #f0c14d;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.hero h1,
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 14ch;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #1a1405;
}

.btn-primary:hover {
  background: #f0c14d;
  color: #1a1405;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #fff;
  margin: 0 0 0.6rem;
}

.section p {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1rem;
}

.page-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.prose p {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.post-list li {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.post-list a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}

.post-list a:hover {
  color: var(--accent);
}

.post-list .meta {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  margin-right: 1rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

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