:root {
  --ink: #10231f;
  --muted: #3d534d;
  --paper: #e7efe9;
  --sand: #f3eee3;
  --teal: #1f6f5b;
  --deep: #0e3b45;
  --coral: #e4572e;
  --line: rgba(16, 35, 31, 0.12);
  --shadow: 0 30px 80px rgba(14, 59, 69, 0.18);
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(228, 87, 46, 0.22), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(31, 111, 91, 0.28), transparent 50%),
    linear-gradient(160deg, #f7f4ec 0%, #dfece4 45%, #c9ddd5 100%);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

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

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
  opacity: 0;
  animation: rise 0.8s ease 0.15s forwards;
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--deep);
  opacity: 0;
  animation: rise 0.9s ease 0.05s forwards;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: rise 0.9s ease 0.2s forwards;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.9s ease 0.35s forwards;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  opacity: 0;
  animation: rise 0.9s ease 0.5s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border-radius: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn.primary {
  background: var(--coral);
  color: #fff8f4;
}

.btn.primary:hover {
  background: #c94722;
}

.btn.ghost {
  color: var(--deep);
  border: 1px solid rgba(14, 59, 69, 0.28);
  background: rgba(243, 238, 227, 0.35);
}

.hero-visual {
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: drift-in 1.1s ease 0.25s forwards;
}

.mark {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(var(--shadow));
  animation: float 7s ease-in-out infinite;
}

.check {
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem) 5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 238, 227, 0.35), rgba(231, 239, 233, 0.8));
}

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

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

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
}

.meta div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.meta dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta dd {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  word-break: break-all;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

@keyframes drift-in {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    order: -1;
  }

  .mark {
    width: min(100%, 280px);
  }

  .brand {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }

  .meta {
    grid-template-columns: 1fr;
  }
}

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

  .badge,
  .brand,
  .hero h1,
  .lead,
  .cta,
  .hero-visual {
    opacity: 1;
  }
}
