:root {
  --trw-purple: #2a0742;
  --trw-purple-deep: #180025;
  --trw-purple-soft: #3b0b61;
  --trw-magenta: #e33acb;
  --trw-magenta-hot: #ff4dd8;
  --ink: #16031f;
  --muted: #6d6373;
  --line: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.15);
  --green: #58e6a7;
  --cyan: #63d7ff;
  --shadow: 0 24px 70px rgba(10, 0, 20, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--trw-purple-deep);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(227, 58, 203, 0.24), transparent 28rem),
    linear-gradient(135deg, var(--trw-purple) 0%, #230533 44%, #110018 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 16px max(20px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 0, 37, 0.42);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: clamp(68px, 6.6vw, 92px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.primary-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  gap: 42px;
  align-items: center;
  width: min(1280px, calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 54px 0 70px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--trw-magenta-hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 3.72vw, 3.72rem);
  line-height: 0.92;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.96;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.single-line {
  white-space: nowrap;
}

.hero-title {
  max-width: 920px;
}

.section-title-compact {
  max-width: 760px;
  font-size: clamp(1.85rem, 2.35vw, 2.38rem);
  line-height: 1;
}

.comparison-title {
  max-width: 780px;
  font-size: clamp(2rem, 2.35vw, 2.35rem);
  line-height: 1;
}

.platform-title {
  max-width: 620px;
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  line-height: 1;
}

.cta-title {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.15rem, 3.2vw, 3.7rem);
  line-height: 1;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--trw-magenta), #8f36ff);
  box-shadow: 0 16px 42px rgba(227, 58, 203, 0.32);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  min-height: 410px;
  object-fit: cover;
}

.quick-proof {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr 1.08fr 1.48fr;
  gap: 10px;
}

.quick-proof span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(20, 0, 32, 0.76);
  backdrop-filter: blur(14px);
  font-size: clamp(0.7rem, 0.84vw, 0.82rem);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.proof-pill-nowrap {
  font-size: clamp(0.68rem, 0.78vw, 0.78rem);
}

.proof-band {
  padding: 26px 20px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.proof-band p {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--white);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.25rem, 2.45vw, 2.45rem);
  font-weight: 800;
  text-align: center;
}

.section {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.section-copy p:not(.eyebrow),
.platform-panel p,
.cta-section p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

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

.advantage-card {
  min-height: 270px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.advantage-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(227, 58, 203, 0.2), rgba(255, 255, 255, 0.08));
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--green);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.advantage-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.advantage-card h3 {
  overflow-wrap: normal;
  font-size: clamp(1.04rem, 1.22vw, 1.18rem);
}

.comparison {
  padding: 24px 20px;
  background: var(--white);
  color: var(--ink);
}

.trademark-note {
  width: min(1320px, 100%);
  margin: -26px auto 48px;
  color: rgba(22, 3, 31, 0.62);
  font-size: clamp(0.72rem, 0.85vw, 0.78rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}

.comparison-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 70px 0;
}

.comparison .eyebrow {
  color: #9d1bb4;
}

.comparison h2 {
  margin-bottom: 0;
}

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

.comparison-row {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(42, 7, 66, 0.14);
  border-radius: 8px;
  background: #f7f2fb;
}

.comparison-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-row strong {
  font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  line-height: 1.1;
}

.comparison-row.highlight {
  color: var(--white);
  background: linear-gradient(135deg, var(--trw-purple), #511080);
  box-shadow: 0 18px 40px rgba(42, 7, 66, 0.22);
}

.comparison-row.highlight span {
  color: var(--trw-magenta-hot);
}

.platform-section {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: center;
}

.platform-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.platform-summary {
  max-width: 760px;
  font-size: clamp(0.86rem, 0.96vw, 0.92rem);
  line-height: 1.32;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 7px;
  left: 6px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  content: "";
  transform: rotate(-45deg);
}

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

.workflow-step {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 4px 0 0 var(--trw-magenta);
}

.workflow-step:nth-child(2) {
  transform: translateX(32px);
  box-shadow: inset 4px 0 0 var(--cyan);
}

.workflow-step span {
  color: var(--trw-magenta-hot);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-step strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.cta-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 82px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(227, 58, 203, 0.22), rgba(99, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cta-section p {
  max-width: none;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.cta-copy {
  font-size: clamp(0.86rem, 1.08vw, 1rem);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin: 34px auto 0;
  text-align: left;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(20, 0, 32, 0.68);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--trw-magenta-hot);
  box-shadow: 0 0 0 3px rgba(227, 58, 203, 0.18);
}

.contact-form option {
  color: var(--ink);
}

.full-span {
  grid-column: 1 / -1;
}

.contact-form .button {
  justify-self: center;
  min-width: 190px;
}

.response-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.response-card {
  width: min(720px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.response-logo {
  width: 190px;
  margin: 0 auto 24px;
}

.response-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.response-card p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 980px) {
  .single-line {
    white-space: normal;
  }

  .trademark-note {
    white-space: normal;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(24, 0, 37, 0.96);
  }

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

  .primary-nav a {
    border-radius: 6px;
  }

  .hero,
  .split-section,
  .comparison-inner,
  .platform-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-title,
  .section-title-compact,
  .comparison-title,
  .platform-title,
  .cta-title {
    max-width: 100%;
  }

  .hero-media img {
    min-height: 360px;
  }

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

  .advantage-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .workflow-step:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.6vw, 2.85rem);
  }

  .brand-logo {
    height: 50px;
  }

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

  .button {
    width: 100%;
  }

  .hero-media img {
    min-height: 300px;
  }

  .quick-proof {
    position: static;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .quick-proof span {
    min-height: 0;
  }

  .section {
    padding: 72px 0;
  }

  .platform-panel,
  .cta-section {
    padding: 28px 20px;
  }

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