:root {
  --bg: #0e1410;
  --ink: #e8f0e4;
  --muted: #9aab9c;
  --line: rgba(180, 200, 170, 0.22);
  --accent: #c4e07a;
  --accent-ink: #13200c;
  --panel: rgba(18, 28, 20, 0.82);
  --font: "Manrope", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -8%, #2a3d24 0%, transparent 55%),
    radial-gradient(700px 420px at 92% 8%, #1a2e3a 0%, transparent 50%),
    linear-gradient(165deg, #0e1410 0%, #121a14 45%, #0c1218 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  pointer-events: none;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--ink);
}

main {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.hero {
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 0 36px;
  animation: rise 0.7s ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-hero {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  animation: rise 0.85s 0.08s ease both;
}

.lead {
  margin: 18px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.85s 0.16s ease both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  animation: rise 0.85s 0.24s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

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

.btn:hover {
  filter: brightness(1.05);
}

.block {
  margin-top: 36px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.block h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.block p,
.block li {
  color: var(--muted);
}

.block p strong,
.block li strong {
  color: var(--ink);
  font-weight: 600;
}

.block ul {
  margin: 10px 0 0;
  padding-left: 1.15rem;
}

.block li + li {
  margin-top: 6px;
}

code {
  font-size: 0.86em;
  color: var(--accent);
}

a {
  color: var(--accent);
}

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

.legal h1 {
  margin: 12px 0 6px;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--ink);
}

.legal ul {
  padding-left: 1.15rem;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0 20px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 20px clamp(16px, 4vw, 40px) 36px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 36px;
  }
}
