:root {
  --page-bg: #4425FC;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.86);
  --text-soft: rgba(255, 255, 255, 0.68);
  --border-strong: rgba(255, 255, 255, 0.88);
  --panel-bg: #1e1e1e;
  /* Desktop-first (1280×800 target): shell + readable copy width */
  --shell-max: 1280px;
  --copy-max: 960px;
  --shell-pad-inline: 2rem;
  --shell-pad-block-start: 1.5rem;
  --shell-pad-block-end: 4rem;
  --section-gap: clamp(3rem, 5vh, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--page-bg);
  color: var(--text-primary);
  font-family: 'Ubuntu Sans', sans-serif;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: var(--shell-pad-block-start) var(--shell-pad-inline) var(--shell-pad-block-end);
  overflow-x: clip;
}

.site-header {
  max-width: var(--copy-max);
  margin: 0 auto 0;
  padding-bottom: 3rem;
}

.site-main {
  display: grid;
  gap: var(--section-gap);
  max-width: var(--copy-max);
  margin: 0 auto;
  min-width: 0;
}

/* Full viewport width; sibling of main so 100vw never sits inside the 960px grid */
.hero-media {
  display: none; /* hidden for now */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(1.25rem, 2.5vh, 1.75rem);
  width: 100%;
  min-width: 0;
  padding-top: 2rem;
  padding-inline: 0.5rem;
}

.benefit-section,
.pricing-section,
.testimonial-section {
  justify-items: center;
  text-align: center;
  width: 100%;
}

.benefit-section .section-title,
.pricing-section .pricing-title,
.testimonial-section .testimonial-title {
  justify-self: center;
}

.section-body .copy-paragraph,
.section-body .bullet-list {
  text-align: left;
  justify-self: stretch;
  max-width: min(58ch, 100%);
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.brand-mark {
  width: clamp(112px, 8vw, 148px);
  animation: logo-drift 8s ease-in-out infinite;
}

.brand-wordmark {
  margin: 0;
  font-family: 'Ubuntu Sans Mono', monospace;
  font-size: clamp(1rem, 1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-credit {
  margin: 0;
  font-size: clamp(1rem, 1vw, 1.5rem);
  color: var(--text-soft);
  text-decoration: none;
}

.video-frame {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Shorter chrome height on 800px-tall laptop */
  min-height: max(calc(100vw * 9 / 16), min(38vh, 22rem));
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 30px 80px rgba(17, 7, 85, 0.22);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: rgba(0, 0, 0, 0.28);
}

/* Hero H1: Ubuntu Sans Medium (500) */
.hero-title {
  margin: 0;
  font-family: 'Ubuntu Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: min(100%, 28rem);
  text-wrap: balance;
  text-align: center;
  white-space: pre-line;
}

/* Smaller than .hero-title (hero caps at 3.25rem) */
.section-title {
  margin: 0;
  font-family: 'Ubuntu Sans', sans-serif;
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 52ch;
  text-wrap: balance;
}

.hero-summary,
.copy-paragraph,
.bullet-list,
.pricing-paragraph,
.pricing-lead,
.pricing-list,
.testimonial-quote {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  line-height: 1.5;
}

.copy-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.hero-summary {
  max-width: min(38ch, 100%);
  margin-inline: auto;
  font-family: 'Ubuntu Sans', sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: 12px;
  width: min(100%, 25.5rem);
  margin-inline: auto;
  margin-top: 0.5rem;
}

.hero-actions-mobile {
  display: none;
}

.action-button {
  width: min(100%, 880px);
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 116px;
  padding: 18px 24px;
  border: 2px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  text-align: left;
}

.hero-actions .action-button {
  width: 100%;
  max-width: 25.5rem;
  box-sizing: border-box;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 0;
  grid-template-columns: auto 1fr;
}

.hero-actions .action-avatar {
  width: 52px;
  height: 52px;
}

.hero-actions .action-label {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.25;
}

.hero-actions .action-button-outline:hover {
  background: #1e1e1e;
}

.hero-actions .action-button-dark:hover {
  background: #1661ed;
}

.pricing-action .action-button {
  width: 100%;
  max-width: 25.5rem;
  box-sizing: border-box;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 0;
  grid-template-columns: auto 1fr;
}

.pricing-action .action-avatar {
  width: 52px;
  height: 52px;
}

.pricing-action .action-label {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.25;
}

.pricing-action .action-button-outline:hover {
  background: #1e1e1e;
}

.pricing-action .action-button-dark:hover {
  background: #1661ed;
}

.action-button-dark {
  background: var(--panel-bg);
}

.action-button[aria-disabled='true'] {
  cursor: default;
}

.action-avatar {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.action-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-copy {
  min-width: 0;
}

.action-label {
  display: block;
  font-size: clamp(1.5rem, 2.25vw, 2.25rem);
  line-height: 1.06;
  font-weight: 700;
}

.action-label-mobile {
  display: none;
}

.logo-marquee {
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: center;
}

.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 58px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-item {
  flex: none;
}

.marquee-item img {
  height: clamp(32px, 4vw, 48px);
  width: auto;
}

.benefits-grid,
.pricing-section,
.testimonial-section {
  display: grid;
}

.benefits-grid {
  gap: 7rem;
}

.benefit-section {
  display: grid;
  gap: 22px;
}

.section-body {
  display: grid;
  gap: 1rem;
  max-width: 64ch;
  justify-items: center;
  width: 100%;
}

.bullet-list,
.pricing-list {
  padding-left: 1.2rem;
}

.bullet-list li + li,
.pricing-list li + li {
  margin-top: 0.4rem;
}

.pricing-list {
  font-size: 1.15rem;
}

.pricing-section {
  gap: 42px;
  margin-top: 3.5rem;
}

.pricing-title {
  max-width: none;
  margin-bottom: 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  width: 100%;
  max-width: var(--copy-max);
}

.pricing-card {
  display: grid;
  gap: 28px;
}

.pricing-price,
.pricing-subtitle {
  margin: 0;
  text-align: center;
}

.pricing-price {
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  line-height: 0.94;
  font-weight: 700;
}

.pricing-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 600;
}

.pricing-copy {
  display: grid;
  gap: 16px;
  text-align: left;
  justify-items: start;
}

.pricing-lead {
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-action {
  padding-top: 12px;
  display: flex;
  justify-content: center;
}

.testimonial-section {
  gap: 34px;
  margin-top: 6rem;
}

.testimonial-title {
  max-width: none;
}

.testimonial-quote {
  max-width: min(52ch, 100%);
  text-align: left;
}

.testimonial-quote p,
.testimonial-quote footer {
  margin: 0;
}

.testimonial-quote footer {
  padding-top: 18px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@keyframes logo-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -6px, 0) rotate(-2deg);
  }
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 22px));
  }
}
