:root {
  --primary: #ff6b1f;
  --primary-deep: #e2550c;
  --green: #0f5132;
  --ink: #202a25;
  --muted: #5c6862;
  --paper: #fff8f1;
  --surface: #ffffff;
  --line: #f0e3d8;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

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

.top-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.top-nav a[aria-current="page"] {
  color: var(--primary-deep);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.hero-copy {
  padding: 6.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  animation: rise 700ms ease both;
}

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

@keyframes wash {
  from {
    opacity: 0.55;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--primary);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

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

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta.primary {
  background: var(--primary);
  color: #fff;
}

.cta.primary:hover {
  background: var(--primary-deep);
}

.cta.ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.hero-visual {
  min-height: 42vh;
  background:
    linear-gradient(160deg, rgba(15, 81, 50, 0.35), rgba(255, 107, 31, 0.55)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  transform-origin: center;
  animation: wash 1.1s ease both;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(22rem, 0.95fr) 1.05fr;
  }

  .hero-copy {
    padding: 0 3rem 0 4rem;
  }

  .hero-visual {
    min-height: 100vh;
  }

  .top {
    padding: 1.5rem 2.5rem;
  }
}

.band {
  padding: 3.5rem 1.5rem 4rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.band p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

body.legal .top {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.legal-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.legal-body h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal-body .meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-body h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-body p {
  margin: 0 0 0.75rem;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .hero-copy,
  .hero-visual {
    transition: none;
    animation: none;
  }
}
