:root {
  --brand: #e8361a;
  --brand-deep: #c42c14;
  --brand-soft: #ff6a4d;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: rgba(20, 20, 20, 0.12);
  --paper: #ffffff;
  --fog: #f6f6f6;
  --hero-ink: #ffffff;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 2.25rem);
  animation: fadeDown 0.7s ease both;
}

.brand-link { display: inline-flex; align-items: center; }
.brand-logo { height: auto; object-fit: contain; }
.brand-logo--nav {
  width: clamp(72px, 12vw, 96px);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}
.brand-logo--hero {
  width: clamp(180px, 42vw, 280px);
  margin: 0 0 1rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}
.brand-logo--foot { width: 110px; }

.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hero-ink);
}

.nav a { opacity: 0.9; }
.nav a:hover { opacity: 1; }

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  opacity: 1 !important;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("/assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 8s ease-out both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.45) 0%, rgba(20, 20, 20, 0.25) 40%, rgba(20, 20, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(232, 54, 26, 0.28) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
  max-width: 40rem;
  color: var(--hero-ink);
  animation: fadeUp 0.95s 0.1s ease both;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.4rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 20, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
}

.section-how { background: var(--fog); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  border-top: 2px solid var(--brand);
  padding-top: 1.2rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.steps li.in {
  opacity: 1;
  transform: none;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 750;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-focus {
  background: linear-gradient(160deg, #fff 0%, #fff5f3 55%, #fff 100%);
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
}

.focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.focus-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 600;
}

.section-cta { background: var(--ink); color: #fff; }
.section-cta .cta-band { text-align: center; }
.section-cta p { color: rgba(255, 255, 255, 0.72); margin: 0.35rem 0 1.25rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.owner {
  margin: 0.5rem 0 0;
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover { color: var(--brand); }

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Legal pages */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-top .brand-logo--nav {
  filter: none;
  width: 64px;
}

.legal-top a.back {
  font-weight: 700;
  color: var(--brand);
}

.legal {
  padding: 2.5rem 0 4rem;
}

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

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

.legal h2 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.55rem;
}

.legal p, .legal li {
  color: #333;
  max-width: 48rem;
}

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

.cookie {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 50;
  max-width: 520px;
  margin-inline: auto;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie.is-hidden,
.cookie[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cookie p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  min-width: 220px;
}

.cookie a { color: var(--brand); font-weight: 700; }

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

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

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

@media (max-width: 800px) {
  .nav a:not(.nav-cta) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .site-header { background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-media { transform: none; }
}
