:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #17140f;
  --ink-dim: #55503f;
  --ink-faint: #948c76;
  --accent: #b5792a;
  --accent-deep: #8a5a1c;
  --accent-tint: rgba(181, 121, 42, 0.1);
  --border: rgba(23, 20, 15, 0.1);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.field span {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.field .blob-a {
  width: 34rem;
  height: 34rem;
  top: -12rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(181, 121, 42, 0.22), transparent 70%);
}

.field .blob-b {
  width: 30rem;
  height: 30rem;
  bottom: -14rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(94, 130, 110, 0.16), transparent 70%);
}

.field .grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 20, 15, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(60% 55% at 50% 38%, #000 0%, transparent 78%);
  opacity: 0.55;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 2rem;
}

.hero {
  max-width: 40rem;
  text-align: center;
}

.demo {
  width: 100%;
  max-width: 50rem;
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.55s forwards;
}

.demo video {
  width: 100%;
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -24px rgba(23, 20, 15, 0.28);
  background: var(--surface);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(181, 121, 42, 0.28);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(23, 20, 15, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-dim);
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.05s forwards;
}

h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.6vw + 1rem, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.15s forwards;
}

h1 .accent-text {
  color: var(--accent-deep);
}

.subhead {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink-dim);
  max-width: 32rem;
  margin: 0 auto 2.25rem;
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.25s forwards;
}

.cta-wrap {
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.35s forwards;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem 0.95rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 1px 2px rgba(23, 20, 15, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  background: #000;
  box-shadow: 0 16px 32px -14px rgba(23, 20, 15, 0.45);
}

.cta svg {
  flex-shrink: 0;
}

.cta .stars {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta .stars.is-visible {
  opacity: 1;
}

.cta .stars svg {
  width: 12px;
  height: 12px;
  color: #f2c675;
}

.trust {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-faint);
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.45s forwards;
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
}

footer a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent-deep);
  text-decoration-color: var(--accent);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge, h1, .subhead, .cta-wrap, .trust, .demo {
    animation: none;
    opacity: 1;
  }
  .cta {
    transition: none;
  }
}
