:root {
  --bg: #0c1210;
  --bg-raise: #121a17;
  --bg-card: #16201c;
  --ink: #f4f6f2;
  --muted: #9fb0a8;
  --lime: #d8fb4e;
  --lime-soft: rgba(216, 251, 78, 0.14);
  --teal: #19b894;
  --paper: #fbfaf6;
  --paper-ink: #18211e;
  --paper-muted: #5d6963;
  --line: rgba(244, 246, 242, 0.12);
  --line-paper: rgba(24, 33, 30, 0.14);
  --radius: 20px;
  --header-height: 72px;
  font-family:
    "Satoshi", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(12, 18, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #131a12;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

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

/* ============ SHARED ============ */
.section {
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(32px, 4.6vw, 56px);
}

.section-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 60ch;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: var(--lime);
  color: #131a12;
  box-shadow: 0 8px 32px rgba(216, 251, 78, 0.25);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(216, 251, 78, 0.35);
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--ink);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(48px, 8vw, 96px)) clamp(20px, 5vw, 64px) 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 251, 78, 0.16), rgba(25, 184, 148, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 251, 78, 0.55); }
  60% { box-shadow: 0 0 0 9px rgba(216, 251, 78, 0); }
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
}

.strike-rotator {
  display: grid;
  color: var(--lime);
}

.strike-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.strike-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.strike-item.is-leaving {
  opacity: 0;
  transform: translateY(-12px);
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 54ch;
}

.hero-sub strong {
  color: var(--ink);
}

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

.hero-footnote {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* --- demo window --- */
.hero-demo {
  perspective: 1200px;
}

.demo-window {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: rotateY(-4deg) rotateX(2deg);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
  font-size: 13px;
  color: var(--muted);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244, 246, 242, 0.18);
}

.demo-title {
  margin-left: 8px;
  font-weight: 500;
}

.demo-live {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.demo-live::before {
  content: "●";
  margin-right: 6px;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.demo-feed {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
}

.demo-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(244, 246, 242, 0.06);
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.demo-line.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.demo-line:last-child {
  border-bottom: none;
}

.demo-time {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

.demo-text {
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.demo-text b {
  font-weight: 700;
}

.demo-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
}

.tag-sorted { background: rgba(25, 184, 148, 0.16); color: #4cd9b8; }
.tag-draft { background: var(--lime-soft); color: var(--lime); }
.tag-done { background: rgba(25, 184, 148, 0.16); color: #4cd9b8; }
.tag-flag { background: rgba(248, 180, 100, 0.16); color: #f8b464; }

.demo-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.demo-saved {
  color: var(--lime);
  font-weight: 700;
}

/* --- marquee --- */
.marquee {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ AGENT CARDS ============ */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 251, 78, 0.4);
}

.agent-icon {
  font-size: 26px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lime-soft);
  margin-bottom: 20px;
}

.agent-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.agent-card p {
  font-size: 15px;
  color: var(--muted);
}

/* ============ ROI ============ */
.roi-section {
  max-width: none;
  background: var(--paper);
  color: var(--paper-ink);
}

.roi-section .section-heading,
.roi-card {
  max-width: 1112px;
  margin-left: auto;
  margin-right: auto;
}

.roi-section .section-kicker {
  color: #0b6b5e;
}

.roi-section .section-sub {
  color: var(--paper-muted);
}

.roi-card {
  background: #fff;
  border: 1px solid var(--line-paper);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 24px 80px rgba(21, 31, 28, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.roi-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-label {
  font-weight: 700;
  font-size: 15px;
}

.roi-control output {
  font-size: 14px;
  color: var(--paper-muted);
  font-variant-numeric: tabular-nums;
}

.roi-control input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e3e8e4;
  outline-offset: 4px;
}

.roi-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b6b5e;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(21, 31, 28, 0.3);
  cursor: pointer;
}

.roi-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b6b5e;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(21, 31, 28, 0.3);
  cursor: pointer;
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.roi-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  border-left: 3px solid #e3e8e4;
}

.roi-result strong {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.roi-result span {
  font-size: 14px;
  color: var(--paper-muted);
  max-width: 38ch;
}

.roi-result-big {
  border-left-color: #0b6b5e;
}

.roi-result-big strong {
  font-size: clamp(36px, 4.4vw, 54px);
  color: #0b6b5e;
}

.roi-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-paper);
  padding-top: 28px;
}

.roi-cta p {
  font-size: 15px;
  color: var(--paper-muted);
  max-width: 56ch;
}

.roi-cta .button-primary {
  background: #0b6b5e;
  color: #fff;
  box-shadow: 0 8px 28px rgba(11, 107, 94, 0.3);
}

/* ============ HOW ============ */
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.how-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3.6vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.how-step:last-child {
  border-bottom: 1px solid var(--line);
}

.how-index {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.how-step h3 {
  font-size: clamp(21px, 2.4vw, 28px);
  margin-bottom: 10px;
}

.how-step h3 em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.7em;
  letter-spacing: 0;
}

.how-step p {
  color: var(--muted);
  max-width: 68ch;
}

/* ============ OUTCOME CAROUSEL ============ */
.outcome-carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outcome-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.outcome-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.outcome-slide {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--bg-card);
}

.outcome-media .demo-window {
  transform: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.outcome-media .demo-feed {
  min-height: 300px;
  padding: 14px 24px;
}

.outcome-media .demo-line {
  font-size: 15px;
  padding: 13px 0;
}

.outcome-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px clamp(18px, 3vw, 32px) 28px;
}

.outcome-caption span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.outcome-caption strong {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 60ch;
}

.outcome-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.outcome-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.outcome-arrow:hover {
  border-color: var(--lime);
}

.outcome-arrow span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translate(-58%, -50%) rotate(135deg);
}

.outcome-arrow[data-outcome-next] span::before {
  transform: translate(-42%, -50%) rotate(-45deg);
}

.outcome-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.outcome-dot {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.outcome-dot.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #131a12;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 44px 24px 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--lime);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 0 26px;
  color: var(--muted);
  max-width: 68ch;
}

/* ============ CTA ============ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 64px);
}

.cta-glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 251, 78, 0.12), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 1112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cta-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.cta-copy > p {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 54ch;
}

.cta-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink);
}

.cta-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 900;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form ::placeholder {
  color: rgba(159, 176, 168, 0.6);
}

.contact-form .button {
  justify-content: center;
}

/* ============ FOOTER ============ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  font-weight: 900;
  color: var(--ink);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .demo-window {
    transform: none;
  }

  .roi-card {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .how-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .demo-feed {
    font-size: 13px;
  }

  .demo-tag {
    display: none;
  }
}
