:root {
  color-scheme: dark;
  --bg: #06101a;
  --bg-deep: #02070c;
  --panel: #0b1723;
  --panel-soft: #101d2b;
  --panel-strong: #142338;
  --line: rgba(137, 160, 188, 0.18);
  --line-strong: rgba(82, 211, 83, 0.48);
  --text: #f7fafc;
  --muted: #a9b7c9;
  --muted-strong: #c7d3e4;
  --green: #52d353;
  --green-dark: #388e3c;
  --green-soft: rgba(82, 211, 83, 0.13);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(82, 211, 83, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 2%, rgba(82, 211, 83, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(3, 9, 15, 0.84);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.section,
.footer-cta,
.footer {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid rgba(82, 211, 83, 0.3);
  border-radius: 12px;
  background: rgba(8, 17, 28, 0.72);
  box-shadow: 0 0 26px rgba(82, 211, 83, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-name span {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(82, 211, 83, 0.28);
  background: rgba(82, 211, 83, 0.1);
  color: var(--text);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(600px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

.tagline {
  margin-bottom: 32px;
  color: var(--green);
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 900;
  white-space: nowrap;
}

.hero-line {
  margin: 26px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.lede,
.section-head p,
.feature-intro p,
.signup-copy p,
.footer-cta p {
  color: var(--muted);
  font-size: 18px;
}

.lede {
  max-width: 680px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2.3vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(82, 211, 83, 0.42);
  border-radius: 8px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(82, 211, 83, 0.75);
  box-shadow: 0 18px 42px rgba(82, 211, 83, 0.16);
  outline: none;
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #021007;
}

.button.secondary {
  background: rgba(11, 23, 35, 0.78);
}

.hero-shot-card {
  position: relative;
  align-self: start;
  margin-top: 180px;
  z-index: 1;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 35, 56, 0.95), rgba(4, 10, 17, 0.96));
  box-shadow: var(--shadow);
}

.hero-frame {
  padding: 12px;
}

.screenshot-frame img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.hero-frame img {
  aspect-ratio: 16 / 9;
}

@media (min-width: 1081px) {
  .hero-shot-card {
    width: 1386px;
    max-width: none;
    margin-top: 260px;
    margin-left: 75px;
    transform: none;
    filter: drop-shadow(0 42px 100px rgba(0, 0, 0, 0.58))
            drop-shadow(0 0 54px rgba(82, 211, 83, 0.16));
  }

  .hero-shot-card::before {
    content: "";
    position: absolute;
    inset: 7% 0 4% 8%;
    border-radius: 32px;
    background: radial-gradient(circle at 34% 34%, rgba(82, 211, 83, 0.24), transparent 54%);
    filter: blur(32px);
    opacity: 0.62;
    z-index: -1;
  }

  .hero-shot-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(6, 16, 26, 0.72) 0%, transparent 10%, transparent 74%, var(--bg) 100%),
      linear-gradient(180deg, rgba(6, 16, 26, 0.22) 0%, transparent 14%, transparent 78%, var(--bg-deep) 100%);
  }

  .hero-frame {
    padding: 0;
    border-radius: 24px;
  }

  .hero-frame img {
    aspect-ratio: 16 / 8.8;
    object-position: 45% 50%;
    image-rendering: auto;
  }
}

.section {
  padding: 86px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-head.wide {
  max-width: 980px;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 42px;
  align-items: start;
}

.workflow-card,
.feature-card,
.capability-grid article,
.compare-card,
.beta-form,
.footer-cta,
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 29, 43, 0.92), rgba(7, 16, 26, 0.95));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.workflow-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 20px;
}

.workflow-step {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  background: rgba(6, 16, 26, 0.68);
  color: var(--muted-strong);
  font-weight: 750;
  animation: stepPulse 8.4s ease-in-out infinite;
}

.workflow-step + .workflow-step {
  margin-top: 16px;
}

.workflow-step + .workflow-step::after {
  content: "";
  position: absolute;
  left: 18px;
  top: -17px;
  width: 2px;
  height: 17px;
  background: linear-gradient(180deg, transparent, rgba(82, 211, 83, 0.72));
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(82, 211, 83, 0.6);
}

.workflow-step:nth-child(2) { animation-delay: 1.2s; }
.workflow-step:nth-child(3) { animation-delay: 2.4s; }
.workflow-step:nth-child(4) { animation-delay: 3.6s; }
.workflow-step:nth-child(5) { animation-delay: 4.8s; }
.workflow-step:nth-child(6) { animation-delay: 6s; }
.workflow-step:nth-child(7) { animation-delay: 7.2s; }

.workflow-step.ready {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--green-soft);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.audience-grid article {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 29, 43, 0.92), rgba(7, 16, 26, 0.95));
  color: var(--muted-strong);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card.highlight {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(56, 142, 60, 0.2), rgba(7, 16, 26, 0.95));
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card p,
.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid article {
  min-height: 210px;
  padding: 22px;
}

.gallery-section {
  padding-top: 64px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.shot {
  margin: 0;
  overflow: hidden;
}

.shot img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.shot.showcase img {
  aspect-ratio: 16 / 8.4;
}

.shot figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  color: var(--muted-strong);
  font-size: 20px;
  font-weight: 850;
}

.shot figcaption span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.comparison-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card {
  padding: 26px;
}

.strong-card {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(56, 142, 60, 0.18), rgba(7, 16, 26, 0.95));
}

.compare-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.muted-card li::before {
  background: #64748b;
}

.signup-section {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 38px;
  align-items: start;
}

.signup-copy a,
.footer a {
  color: var(--green);
  font-weight: 850;
}

.beta-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.beta-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 850;
}

.beta-form input,
.beta-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #06101a;
  color: var(--text);
  font: inherit;
}

.beta-form input:focus,
.beta-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(82, 211, 83, 0.16);
  outline: none;
}

.form-button {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.turnstile-field {
  min-height: 65px;
}

.success-message,
.error-message {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(56, 142, 60, 0.16);
  color: var(--text);
}

.error-message {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.22);
}

.success-message[hidden],
.error-message[hidden] {
  display: none;
}

.footer-cta {
  margin-top: 34px;
  margin-bottom: 78px;
  padding: 44px;
  text-align: center;
}

.footer-cta p {
  margin-bottom: 24px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.5fr) auto;
  align-items: start;
  gap: 20px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  outline: none;
}

.copyright {
  justify-self: end;
}

@keyframes stepPulse {
  0%, 85%, 100% {
    border-color: rgba(148, 163, 184, 0.13);
    background: rgba(6, 16, 26, 0.68);
    box-shadow: none;
  }
  18%, 34% {
    border-color: rgba(82, 211, 83, 0.6);
    background: rgba(82, 211, 83, 0.1);
    box-shadow: 0 0 22px rgba(82, 211, 83, 0.12);
  }
}

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

  .button {
    transition: none;
  }

  .workflow-step {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-shot-card {
    margin-top: 0;
    transform: none;
    width: auto;
    filter: none;
  }

  .capability-grid,
  .card-grid.four,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 54px;
  }

  .screenshot-gallery,
  .comparison-grid,
  .outcome-grid,
  .workflow-card {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .section,
  .footer-cta,
  .footer {
    width: min(100% - 24px, 1380px);
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  .tagline {
    font-size: clamp(14px, 4.5vw, 18px);
  }

  .nav-links {
    gap: 2px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 8px;
  }

  .card-grid.four,
  .capability-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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