:root {
  --bg: #1a2e1f;
  --bg-mid: #243828;
  --fg: #f3f0e8;
  --fg-muted: rgba(243, 240, 232, 0.72);
  --accent: #c8e06a;
  --accent-deep: #8fad3a;
  --line: rgba(243, 240, 232, 0.14);
  --panel: rgba(15, 28, 18, 0.55);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #dff09a;
}

img {
  max-width: 100%;
  display: block;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 80% 10%, rgba(200, 224, 106, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(70, 110, 60, 0.45), transparent 50%),
    linear-gradient(165deg, #152418 0%, #1f3324 45%, #16261b 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: repeating-linear-gradient(
    98deg,
    transparent 0,
    transparent 28px,
    rgba(200, 224, 106, 0.07) 28px,
    rgba(200, 224, 106, 0.07) 36px
  );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--fg-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--fg);
}

.hero {
  min-height: calc(100svh - 5.5rem);
  display: grid;
  align-content: center;
  padding: 3.5rem 0 4rem;
  gap: 1.25rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg-muted);
}

.hero p {
  margin: 0;
  max-width: 38ch;
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.55rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #152418;
}

.btn-primary:hover {
  background: #dff09a;
  color: #152418;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--panel);
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(243, 240, 232, 0.35);
}

.stripes {
  margin-top: 2.5rem;
  height: clamp(7rem, 18vw, 11rem);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg,
      #355c2e 0 12%,
      #6f8f3d 12% 22%,
      #2f4f2a 22% 34%,
      #a8c45a 34% 44%,
      #3d6234 44% 56%,
      #7ea046 56% 68%,
      #294626 68% 80%,
      #b7d06a 80% 90%,
      #355c2e 90% 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: drift 18s linear infinite;
  background-size: 200% 100%;
}

@keyframes drift {
  from { background-position: 0% 0; }
  to { background-position: -100% 0; }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.legal {
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.legal .meta {
  color: var(--fg-muted);
  margin: 0 0 2rem;
  max-width: 42rem;
}

.legal article {
  max-width: 42rem;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
}

.legal p,
.legal li {
  color: var(--fg-muted);
}

.legal ul {
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .wrap {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .hero {
    padding-top: 2.5rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stripes {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
