:root {
  --bg: #f6f6f2;
  --ink: #0b1220;
  --slate: #3e4a5b;
  --muted: #6c7a8d;
  --line: #d9e0ea;
  --accent: #1c8b7a;
  --accent-2: #ef9b4e;
  --accent-3: #1f5e8a;
  --card: #ffffff;
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(130deg, #f7f5ef 0%, #eef2f6 45%, #f4efe4 100%);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.8;
  animation: float 16s ease-in-out infinite;
}

.orb--one {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at top, rgba(239, 155, 78, 0.35), transparent 70%);
  top: -160px;
  left: -120px;
}

.orb--two {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at top, rgba(28, 139, 122, 0.3), transparent 70%);
  bottom: -140px;
  right: -80px;
  animation-delay: 3s;
}

.orb--three {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at top, rgba(31, 94, 138, 0.25), transparent 70%);
  top: 30%;
  right: 12%;
  animation-delay: 6s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(247, 247, 244, 0.7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 48px;
  height: 48px;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--slate);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 14px 30px rgba(28, 139, 122, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(28, 139, 122, 0.3);
}

.cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.2);
  box-shadow: none;
}

main {
  padding: 0 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  padding: 80px 0 60px;
  align-items: center;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-3);
  margin-bottom: 12px;
  font-weight: 600;
}

.lede {
  font-size: 18px;
  color: var(--slate);
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.stat__value {
  font-weight: 700;
  display: block;
}

.stat__label {
  font-size: 12px;
  color: var(--muted);
}

.hero__visual {
  display: grid;
  gap: 18px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.hero__content .hero-card {
  margin-top: 24px;
}

.hero-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 139, 122, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

.hero-card__body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 94, 138, 0.08);
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 600;
}

.hero-card__footer {
  font-size: 13px;
  color: var(--muted);
}

.hero-preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow);
}

.section {
  padding: 70px 0 0;
}

.section__header {
  max-width: 680px;
  margin-bottom: 34px;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
}

.section__header p {
  color: var(--slate);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.demo {
  background: var(--card);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.demo img {
  border-radius: 12px;
  background: #0f172a;
}

.demo figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.workflow {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workflow__item,
.feature {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.workflow__item h3,
.feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.workflow__item p,
.feature p {
  font-size: 14px;
  color: var(--slate);
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cta-section {
  padding-top: 70px;
}

.cta-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--slate);
}

.cta-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 20px 8vw 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  background: var(--card);
  padding: 20px;
  border-radius: 18px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox__image {
  max-width: min(900px, 85vw);
  max-height: 70vh;
  border-radius: 14px;
}

.lightbox__caption {
  font-size: 14px;
  color: var(--slate);
}

.lightbox__close {
  align-self: flex-end;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0px);
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero__visual {
    order: -1;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  main {
    padding: 0 6vw 60px;
  }

  .site-header {
    padding: 18px 6vw;
  }

  .hero {
    padding-top: 40px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
