:root {
  --ink: #19152a;
  --muted: #5f5877;
  --paper: #fafaff;
  --lavender: #f2f2ff;
  --lavender-strong: #e8deff;
  --lavender-line: #d9d9ff;
  --purple: #6034bf;
  --purple-deep: #321c68;
  --teal: #00afa5;
  --teal-dark: #0f3d3e;
  --amber: #dc8b35;
  --green: #8fbf4f;
  --white: #ffffff;
  --line: rgba(25, 21, 42, 0.14);
  --shadow: 0 22px 80px rgba(25, 21, 42, 0.18);
  font-family: "Avenir Next", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

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

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

.site-header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  padding: 22px max(22px, 5vw);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

.brand {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  height: auto;
  width: 178px;
}

.header-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  display: flex;
  gap: 6px;
  padding: 6px;
  backdrop-filter: blur(18px);
}

.header-nav a {
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  outline: 0;
}

.header-nav .nav-cta {
  background: var(--teal);
  color: #051b1b;
}

.hero {
  align-items: flex-end;
  color: var(--white);
  display: flex;
  min-height: 84svh;
  overflow: hidden;
  padding: 126px max(22px, 5vw) 44px;
  position: relative;
}

.hero-video,
.hero-shade {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-video {
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 10, 24, 0.96) 0%, rgba(15, 18, 40, 0.88) 52%, rgba(55, 35, 105, 0.54) 100%),
    linear-gradient(180deg, rgba(7, 10, 24, 0.28), rgba(7, 10, 24, 0.72));
  z-index: 1;
}

.hero::after {
  background: linear-gradient(0deg, var(--paper) 0%, rgba(250, 250, 255, 0) 68%);
  bottom: 0;
  content: "";
  height: 120px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--amber);
  border-radius: 999px;
  content: "";
  height: 10px;
  width: 10px;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

.eyebrow.dark::before {
  background: var(--purple);
}

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

h1 {
  font-size: 4.7rem;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 850px;
}

h2 {
  font-size: 3.15rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
  margin-bottom: 30px;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  box-shadow: 0 18px 42px rgba(0, 175, 165, 0.26);
  color: #051b1b;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero-points {
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.hero-points li {
  align-items: center;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  min-height: 38px;
  padding: 0 14px;
}

.proof-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -26px max(22px, 5vw) 0;
  position: relative;
  z-index: 5;
}

.proof-strip article {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 128px;
  padding: 24px;
}

.proof-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.proof-strip article:last-child {
  border-radius: 0 8px 8px 0;
}

.proof-kicker {
  color: var(--teal-dark);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.proof-strip p,
.panel-copy p,
.form-copy p,
.section-heading p,
.form-head p {
  color: var(--muted);
}

.page-section {
  padding: 76px max(22px, 5vw);
}

.demo-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 18px;
}

.tab-button {
  background: var(--lavender);
  border: 1px solid var(--lavender-line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
}

.tab-button.is-active,
.tab-button:hover,
.tab-button:focus-visible {
  background: var(--purple);
  color: var(--white);
  outline: 0;
}

.demo-panel {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.video-frame {
  background: var(--lavender);
  border: 1px solid var(--lavender-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame video {
  aspect-ratio: 16 / 10;
  background: #080816;
  height: auto;
  width: 100%;
}

.panel-copy {
  align-self: center;
  background: var(--paper);
  border: 1px solid var(--lavender-line);
  border-radius: 8px;
  padding: 28px;
}

.form-section {
  align-items: start;
  display: grid;
  gap: min(5vw, 72px);
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
}

.form-copy {
  position: sticky;
  top: 28px;
}

.fit-list {
  color: var(--muted);
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.form-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.form-head h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-head p {
  color: var(--muted);
  margin: 0;
}

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

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  background: var(--paper);
  border: 1px solid var(--lavender-line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(96, 52, 191, 0.14);
  outline: 0;
}

.consent-field {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 20px 1fr;
}

.consent-field input {
  accent-color: var(--purple);
  min-height: auto;
  margin-top: 3px;
}

.consent-field span {
  color: var(--muted);
  font-weight: 600;
}

.form-status {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  margin: 0;
  min-height: 24px;
}

.form-status[data-state="ok"] {
  background: rgba(0, 175, 165, 0.12);
  color: var(--teal-dark);
  padding: 12px;
}

.form-status[data-state="error"] {
  background: rgba(220, 139, 53, 0.14);
  color: #5f320f;
  padding: 12px;
}

.form-submit {
  width: fit-content;
}

.success-panel {
  background: var(--lavender);
  border: 1px solid var(--lavender-line);
  border-radius: 8px;
  padding: 28px;
}

.success-panel p {
  color: var(--muted);
}

.site-footer {
  align-items: center;
  background: #0d100f;
  color: rgba(255, 255, 255, 0.66);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 30px max(22px, 5vw);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
  text-align: right;
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.site-footer img {
  display: block;
  height: auto;
  max-width: min(170px, 42vw);
  width: 170px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.final-cta {
  background: var(--ink);
  color: var(--white);
}

.final-cta .section-heading {
  max-width: 860px;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 28px;
}

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

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .proof-strip,
  .demo-panel,
  .form-section {
    grid-template-columns: 1fr;
  }

  .proof-strip article:first-child,
  .proof-strip article:last-child {
    border-radius: 8px;
  }

  .proof-strip article {
    border-radius: 8px;
    min-height: auto;
  }

  .form-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding-top: 16px;
  }

  .brand img {
    width: 156px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: 104px 18px 34px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 10, 24, 0.94) 0%, rgba(15, 18, 40, 0.88) 54%, rgba(55, 35, 105, 0.76) 100%);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-points {
    display: none;
  }

  .proof-strip {
    margin-left: 18px;
    margin-right: 18px;
  }

  .page-section {
    padding: 60px 18px;
  }

  .form-shell {
    padding: 18px;
  }

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

  .site-footer p {
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }

  .hero-video {
    display: none;
  }
}
