:root {
  color-scheme: dark;
  --ink: #f7f8ef;
  --ink-soft: #cfd5c3;
  --muted: #8c9481;
  --black: #070806;
  --charcoal: #11140f;
  --charcoal-2: #1a1f17;
  --line: rgba(247, 248, 239, 0.14);
  --line-strong: rgba(247, 248, 239, 0.28);
  --lime: #c7f93f;
  --lime-dark: #92d700;
  --coral: #ff6b4a;
  --teal: #58dbc2;
  --gold: #f6c453;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(199, 249, 63, 0.35);
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(247, 248, 239, 0.16);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(7, 8, 6, 0.2);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--black);
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.16);
}

.brand-name {
  white-space: nowrap;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(247, 248, 239, 0.09);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.05);
}

.primary-nav a {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(247, 248, 239, 0.09);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.text-link {
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 14px 38px rgba(199, 249, 63, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d6ff58;
}

.button-ghost {
  border-color: rgba(247, 248, 239, 0.22);
  background: rgba(247, 248, 239, 0.08);
  color: var(--ink);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(247, 248, 239, 0.38);
  background: rgba(247, 248, 239, 0.13);
}

.button-light {
  background: var(--ink);
  color: var(--black);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
}

.button-small {
  min-height: 42px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 248, 239, 0.18);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.08);
  cursor: pointer;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 9rem 2rem 3rem;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("assets/content-engine-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 6, 0.98) 0%, rgba(7, 8, 6, 0.84) 34%, rgba(7, 8, 6, 0.42) 68%, rgba(7, 8, 6, 0.66) 100%),
    linear-gradient(0deg, rgba(7, 8, 6, 0.98) 0%, rgba(7, 8, 6, 0.1) 48%, rgba(7, 8, 6, 0.68) 100%);
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  color: var(--white);
  font-size: 4.85rem;
  line-height: 0.96;
}

h2 {
  color: var(--white);
  font-size: 3.2rem;
  line-height: 1.02;
}

h3 {
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1.18;
}

p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-copy {
  max-width: 675px;
  margin: 22px 0 0;
  font-size: 1.14rem;
}

.hero-copy strong {
  color: var(--white);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  width: min(100%, 620px);
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(247, 248, 239, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.46);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.signal-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #10130e;
}

.signal-track {
  display: flex;
  width: max-content;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  animation: moveTrack 28s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(247, 248, 239, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.06);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.signal-track span:nth-child(3n) {
  color: var(--teal);
}

.signal-track span:nth-child(4n) {
  color: var(--gold);
}

.signal-track span:nth-child(5n) {
  color: #ff9a7e;
}

@keyframes moveTrack {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 104px 2rem;
}

.section-heading {
  max-width: 680px;
}

.section-heading p:not(.eyebrow) {
  margin: 20px 0 0;
  font-size: 1.04rem;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.intro-section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.insight-card {
  min-height: 258px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.insight-card svg,
.engine-row > svg,
.stage-top svg {
  width: 28px;
  height: 28px;
  color: var(--lime);
}

.insight-card h3 {
  margin-top: 28px;
}

.insight-card p,
.engine-row p,
.funnel-stage p,
.funnel-stage li {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.engine-section {
  background:
    linear-gradient(180deg, #070806 0%, #11140f 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.engine-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 116px;
}

.engine-stack {
  display: grid;
  gap: 14px;
}

.engine-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 160px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.045);
}

.row-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(199, 249, 63, 0.13);
  color: var(--lime);
  font-size: 0.88rem;
  font-weight: 900;
}

.funnel-section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.funnel-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.funnel-stage {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.funnel-stage h3 {
  margin-top: 34px;
  font-size: 2rem;
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-top span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.08);
  color: var(--ink);
  font-weight: 900;
}

.funnel-stage ul {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.funnel-stage li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.funnel-stage li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.accent-stage {
  border-color: rgba(199, 249, 63, 0.4);
  background:
    linear-gradient(180deg, rgba(199, 249, 63, 0.12), rgba(199, 249, 63, 0.03)),
    var(--charcoal);
}

.video-section {
  background:
    linear-gradient(180deg, #070806 0%, #121610 46%, #070806 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.video-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.video-metrics div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.055);
}

.video-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}

.video-metrics span {
  display: block;
  margin-top: 9px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.video-lab {
  display: grid;
  gap: 14px;
}

.featured-video {
  overflow: hidden;
  border: 1px solid rgba(247, 248, 239, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.045);
  box-shadow: var(--shadow);
}

.video-screen {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(88, 219, 194, 0.16) 0%, rgba(88, 219, 194, 0) 34%),
    linear-gradient(135deg, #121610 0%, #070806 58%, #1a1f17 100%);
}

.video-screen::before,
.video-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-screen::before {
  opacity: 0.32;
  background:
    linear-gradient(90deg, transparent 0 21%, rgba(247, 248, 239, 0.08) 21% 22%, transparent 22% 100%),
    linear-gradient(0deg, transparent 0 68%, rgba(199, 249, 63, 0.1) 68% 69%, transparent 69% 100%);
  background-size: 78px 78px;
}

.video-screen::after {
  transform: translateY(-100%);
  background: linear-gradient(180deg, transparent, rgba(199, 249, 63, 0.14), transparent);
  animation: scanLine 4.8s linear infinite;
}

.video-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(247, 248, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 248, 239, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}

.video-scene {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 420px;
  align-content: end;
  gap: 18px;
  padding: 34px;
}

.recording-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(247, 248, 239, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.66);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-scene h3 {
  max-width: 560px;
  font-size: 2.4rem;
}

.video-scene p {
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
}

.video-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 430px);
  height: 68px;
  align-items: end;
}

.video-visual span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: var(--lime);
  transform-origin: bottom;
}

.video-visual span:nth-child(1) {
  height: 34px;
  background: var(--teal);
}

.video-visual span:nth-child(2) {
  height: 58px;
}

.video-visual span:nth-child(3) {
  height: 42px;
  background: var(--gold);
}

.video-visual span:nth-child(4) {
  height: 52px;
  background: var(--coral);
}

.video-screen.is-playing .video-visual span {
  animation: pulseBars 1050ms ease-in-out infinite alternate;
}

.video-screen.is-playing .video-visual span:nth-child(2) {
  animation-delay: 120ms;
}

.video-screen.is-playing .video-visual span:nth-child(3) {
  animation-delay: 240ms;
}

.video-screen.is-playing .video-visual span:nth-child(4) {
  animation-delay: 360ms;
}

.video-play {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(7, 8, 6, 0.22);
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.video-play svg {
  width: 24px;
  height: 24px;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.video-caption span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.08);
  color: var(--white);
  font-weight: 900;
}

.video-caption p {
  margin: 0;
  text-align: right;
}

.video-playlist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-card {
  display: grid;
  min-height: 150px;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.045);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(247, 248, 239, 0.32);
}

.video-card.is-active {
  border-color: rgba(199, 249, 63, 0.56);
  background: rgba(199, 249, 63, 0.1);
}

.video-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.08);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.video-card strong {
  color: var(--white);
  line-height: 1.2;
}

.video-card small {
  color: var(--ink-soft);
  line-height: 1.45;
}

.proof-section {
  background: #10130e;
  border-top: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 16px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.testimonial-card {
  display: grid;
  min-height: 300px;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.testimonial-feature {
  background:
    linear-gradient(135deg, rgba(88, 219, 194, 0.14), rgba(199, 249, 63, 0.08)),
    var(--charcoal);
}

.quote-mark {
  color: var(--lime);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.78;
}

.testimonial-card p {
  margin: 0;
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1.45;
}

.testimonial-card footer {
  display: grid;
  gap: 6px;
}

.testimonial-card strong {
  color: var(--ink);
}

.testimonial-card span {
  color: var(--muted);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, var(--max));
  margin: 18px auto 0;
}

.proof-strip span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.055);
  color: var(--ink);
  font-weight: 800;
}

.proof-strip svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.builder-section {
  background: #e8eddf;
  color: #10130e;
}

.builder-section h2,
.builder-section h3 {
  color: #10130e;
}

.builder-section p {
  color: #3e4736;
}

.builder-section .eyebrow {
  color: #336100;
}

.builder-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.builder-panel {
  display: grid;
  gap: 14px;
}

.builder-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(16, 19, 14, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.builder-option {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #384230;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.builder-option.is-active {
  background: #10130e;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 19, 14, 0.16);
}

.builder-output {
  display: grid;
  gap: 22px;
  min-height: 390px;
  padding: 26px;
  border: 1px solid rgba(16, 19, 14, 0.14);
  border-radius: var(--radius);
  background: #f9fbf1;
  box-shadow: 0 20px 60px rgba(16, 19, 14, 0.1);
}

.builder-output .eyebrow {
  margin-bottom: 0;
}

.builder-output h3 {
  font-size: 2rem;
}

.builder-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.builder-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  color: #2f3929;
  font-weight: 800;
  line-height: 1.5;
}

.builder-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: #336100;
}

.builder-cadence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.builder-cadence span {
  display: grid;
  min-height: 64px;
  place-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: #10130e;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

@keyframes pulseBars {
  from {
    transform: scaleY(0.62);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes scanLine {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

.inside-section {
  background: #e8eddf;
  color: #10130e;
}

.inside-section h2,
.inside-section h3 {
  color: #10130e;
}

.inside-section p {
  color: #3e4736;
}

.inside-section .eyebrow {
  color: #336100;
}

.inside-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 58px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.tabs {
  display: grid;
  gap: 16px;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(16, 19, 14, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.tab-button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #384230;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.tab-button.is-active {
  background: #10130e;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 19, 14, 0.16);
}

.tab-panel {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 28px;
  min-height: 340px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(16, 19, 14, 0.14);
  border-radius: var(--radius);
  background: #f9fbf1;
  box-shadow: 0 20px 60px rgba(16, 19, 14, 0.1);
}

.tab-panel[hidden] {
  display: none;
}

.panel-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 14, 0.14);
  border-radius: var(--radius);
  background: #10130e;
}

.panel-media span {
  position: absolute;
  display: block;
  border-radius: 6px;
}

.foundation-media span:nth-child(1) {
  inset: 24px auto auto 24px;
  width: 58%;
  height: 44px;
  background: var(--lime);
}

.foundation-media span:nth-child(2) {
  top: 92px;
  left: 24px;
  width: calc(100% - 48px);
  height: 92px;
  background: rgba(247, 248, 239, 0.12);
}

.foundation-media span:nth-child(3) {
  right: 24px;
  bottom: 24px;
  width: 42%;
  height: 42px;
  background: var(--coral);
}

.cadence-media span {
  width: calc(50% - 32px);
  height: 74px;
  background: rgba(247, 248, 239, 0.12);
}

.cadence-media span:nth-child(1) {
  top: 24px;
  left: 24px;
  background: var(--teal);
}

.cadence-media span:nth-child(2) {
  top: 24px;
  right: 24px;
}

.cadence-media span:nth-child(3) {
  bottom: 24px;
  left: 24px;
}

.cadence-media span:nth-child(4) {
  right: 24px;
  bottom: 24px;
  background: var(--lime);
}

.conversion-media span:nth-child(1) {
  top: 24px;
  left: 24px;
  width: calc(100% - 48px);
  height: 54px;
  background: rgba(247, 248, 239, 0.12);
}

.conversion-media span:nth-child(2) {
  top: 104px;
  left: 24px;
  width: 46%;
  height: 116px;
  background: var(--gold);
}

.conversion-media span:nth-child(3) {
  right: 24px;
  bottom: 24px;
  width: 36%;
  height: 116px;
  background: var(--lime);
}

.comparison-section {
  background:
    linear-gradient(180deg, #11140f 0%, #070806 100%);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.compare-table {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 248, 239, 0.045);
}

.compare-table thead,
.compare-table tbody {
  display: block;
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-row > :is(div, th, td) {
  min-height: 88px;
  padding: 20px;
  border: 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.compare-row > :is(div, th, td) + :is(div, th, td) {
  border-left: 1px solid var(--line);
  color: var(--white);
}

.compare-head > :is(div, th, td) {
  min-height: 58px;
  background: rgba(247, 248, 239, 0.08);
  color: var(--white);
  font-weight: 900;
}

.compare-head > :is(div, th, td):nth-child(2) {
  background: rgba(199, 249, 63, 0.14);
  color: var(--lime);
}

.apply-section {
  background: #070806;
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: start;
}

.apply-copy > p {
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.apply-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 248, 239, 0.08), rgba(247, 248, 239, 0.035)),
    var(--charcoal);
  box-shadow: var(--shadow);
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.apply-form input,
.apply-form textarea,
.apply-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(247, 248, 239, 0.17);
  border-radius: var(--radius);
  outline: none;
  background: rgba(7, 8, 6, 0.78);
  color: var(--white);
  padding: 12px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.apply-form textarea {
  min-height: 116px;
  resize: vertical;
}

.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus {
  border-color: rgba(199, 249, 63, 0.72);
  box-shadow: 0 0 0 3px rgba(199, 249, 63, 0.14);
  background: rgba(7, 8, 6, 0.95);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-note.is-success {
  color: var(--lime);
}

.form-submit[disabled] {
  cursor: default;
  opacity: 0.86;
  transform: none;
}

.faq-section {
  width: min(100%, 920px);
  margin: 0 auto;
  padding-top: 84px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

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

.faq-list summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--lime);
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 8px;
    background: rgba(7, 8, 6, 0.94);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    min-height: 48px;
  }

  .header-actions {
    justify-self: end;
  }

  .header-actions .text-link {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .engine-layout,
  .video-layout,
  .builder-layout,
  .inside-layout,
  .comparison-grid,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .inside-layout {
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    min-height: 58px;
    padding: 8px;
  }

  .brand-name {
    display: none;
  }

  .header-actions .button-small {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 8rem 1.25rem 2rem;
  }

  .hero-bg {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 6, 0.96) 0%, rgba(7, 8, 6, 0.84) 48%, rgba(7, 8, 6, 0.66) 100%),
      linear-gradient(0deg, rgba(7, 8, 6, 0.98) 0%, rgba(7, 8, 6, 0.28) 54%, rgba(7, 8, 6, 0.72) 100%);
  }

  h1 {
    max-width: 620px;
    font-size: 3.1rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-stats,
  .intro-grid,
  .funnel-map,
  .video-playlist,
  .proof-grid,
  .tab-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats div {
    min-height: 78px;
  }

  .section {
    padding: 76px 1.25rem;
  }

  .intro-grid {
    margin-top: 30px;
  }

  .insight-card,
  .funnel-stage {
    min-height: auto;
  }

  .engine-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .engine-row > svg {
    display: none;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .video-screen,
  .video-scene {
    min-height: 360px;
  }

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

  .video-caption p {
    text-align: left;
  }

  .video-card {
    min-height: 132px;
  }

  .builder-options,
  .builder-cadence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row > :is(div, th, td) + :is(div, th, td) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 90svh;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.48rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .engine-row,
  .apply-form,
  .builder-output,
  .tab-panel,
  .funnel-stage,
  .testimonial-card,
  .insight-card {
    padding: 20px;
  }

  .video-metrics {
    grid-template-columns: 1fr;
  }

  .video-scene {
    padding: 24px;
  }

  .video-scene h3,
  .builder-output h3 {
    font-size: 1.65rem;
  }

  .video-play {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .builder-options,
  .builder-cadence {
    grid-template-columns: 1fr;
  }

  .panel-media {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
