:root {
  --ink: #1a1a18;
  --ink-muted: #5c5c56;
  --accent: #ff4c33;
  --accent-deep: #e03a24;
  --surface: #fafaf8;
  --mist: #e8f0ec;
  --border: rgba(26, 26, 24, 0.1);
  --max: 40rem;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(232, 240, 236, 0.95), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(255, 76, 51, 0.08), transparent 45%),
    linear-gradient(180deg, #f3f6f4 0%, var(--surface) 55%, #f0ebe4 100%);
}

a {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

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

.logo:hover {
  color: var(--accent);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 5rem);
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: rise 0.7s ease-out both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.hero p {
  margin: 0 0 2rem;
  max-width: 26rem;
  font-size: 1.2rem;
  color: var(--ink-muted);
  animation: rise 0.7s ease-out 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  animation: rise 0.7s ease-out 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--border);
}

.btn-ghost:hover {
  background: rgba(26, 26, 24, 0.04);
  color: var(--ink);
}

.site-footer {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.site-footer a {
  color: var(--ink-muted);
  font-weight: 500;
}

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  animation: rise 0.5s ease-out both;
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.legal ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .hero p,
  .cta-row,
  .legal {
    animation: none;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
