:root {
  --ink: #142033;
  --muted: #5b6b7f;
  --paper: #f3efe6;
  --panel: rgba(255, 252, 246, 0.88);
  --line: rgba(20, 32, 51, 0.12);
  --accent: #0f6e56;
  --accent-ink: #f7fff9;
  --sky-1: #d7e8f5;
  --sky-2: #f4efe4;
  --shadow: 0 24px 60px rgba(20, 32, 51, 0.12);
  --radius: 22px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 42%, var(--paper) 100%);
  position: relative;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.7), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.45), transparent 22%);
  z-index: 0;
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 0.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3rem;
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: rise 900ms ease both;
}

.panel.muted {
  background: rgba(255, 252, 246, 0.66);
  box-shadow: none;
}

.panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.support {
  margin: 0.6rem 0 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.widget-slot {
  min-height: 320px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 110, 86, 0.35);
  background:
    linear-gradient(180deg, rgba(15, 110, 86, 0.04), transparent),
    #fff;
  padding: 1rem;
  overflow: auto;
}

.panel ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 2.5rem;
  }

  nav {
    gap: 0.75rem;
  }
}
