:root {
  --cream: #faf6f0;
  --coral: #f0503c;
  --coral-soft: #fbe3df;
  --ink: #1e1a17;
  --ink-soft: #8a8178;
  --line: #e5ddd2;
  --mint: #dff3ea;
  --mint-ink: #1f8a5b;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-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(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--coral-soft), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, var(--mint), transparent 50%),
    var(--cream);
}

a {
  color: var(--coral);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

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

/* —— Landing —— */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
}

.hero-copy {
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  max-width: 36rem;
  z-index: 1;
  animation: rise 0.9s ease-out both;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.brand span {
  color: var(--coral);
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  margin: 0;
  max-width: 18ch;
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: rise 1.05s ease-out 0.12s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px var(--shadow);
}

.btn-primary:hover {
  color: var(--white);
  background: #e04432;
}

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

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

.btn[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
  cursor: not-allowed;
}

.hero-media {
  position: relative;
  min-height: 48vh;
  background: linear-gradient(160deg, #2a221c 0%, #4a342c 45%, #f0503c 120%);
  animation: fade-in 1.2s ease-out both;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: luminosity;
  opacity: 0.92;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--cream) 0%, transparent 28%),
    linear-gradient(0deg, rgba(30, 26, 23, 0.25), transparent 40%);
  pointer-events: none;
}

@media (max-width: 899px) {
  .hero-media::after {
    background: linear-gradient(0deg, var(--cream) 0%, transparent 35%);
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 2;
    max-width: none;
    padding-bottom: 1rem;
  }

  .hero-media {
    order: 1;
    min-height: 52vh;
  }
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* —— Legal pages —— */
.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  animation: rise 0.7s ease-out both;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-nav .brand-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.legal-nav .brand-link span {
  color: var(--coral);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

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

.legal p,
.legal li {
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
}

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

.legal .note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: var(--mint);
  border-radius: 14px;
  color: var(--mint-ink);
  font-size: 0.95rem;
}
