:root {
  color-scheme: light;
  --ink: #071426;
  --muted: #587089;
  --surface: #f5f8fc;
  --card: #ffffff;
  --border: #d8e1ee;
  --border-strong: #c2cfe0;
  --navy: #071523;
  --blue: #0b6bff;
  --blue-dark: #0755cc;
  --teal: #48c7c0;
  --green: #8fda58;
  font-family: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  border-radius: 0.75rem;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.campaign-header,
main,
footer {
  width: min(100% - 2rem, 75rem);
  margin-inline: auto;
}

.campaign-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.orbit-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.orbit-symbol {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.orbit-lockup span {
  display: grid;
  line-height: 1;
}

.orbit-lockup strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.orbit-lockup small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.header-cta,
.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.header-cta {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  background: var(--card);
  font-size: 0.875rem;
}

.campaign-hero {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 4.5rem;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 40rem;
  margin-bottom: 1.75rem;
  color: #334a62;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
}

.button {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1rem 2.5rem rgba(11, 107, 255, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--card);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.72);
  color: #334a62;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-window,
.crm-preview {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: 0 2rem 5rem rgba(4, 22, 43, 0.14);
}

.product-window__bar {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #f6f8fb;
}

.product-window__bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.product-window__bar strong {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.product-window video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.pain-section,
.flow-section,
.proof-section,
.contact-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.pain-grid {
  display: grid;
  gap: 1rem;
}

.pain-grid article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.pain-grid article > span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.pain-grid h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.pain-grid p,
.proof-copy > p,
.contact-copy > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 7rem;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-content: center;
  gap: 0.2rem 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: var(--card);
}

.flow-list li:first-child {
  border-radius: 1rem 1rem 0 0;
}

.flow-list li:last-child {
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 1rem 1rem;
}

.flow-list span {
  grid-row: 1 / 3;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.flow-list small {
  color: var(--muted);
  line-height: 1.45;
}

.proof-section,
.contact-section {
  display: grid;
  gap: 2rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--blue-dark);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.crm-preview {
  min-height: 23rem;
  display: grid;
  grid-template-columns: 5rem 1fr;
}

.crm-preview aside {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 0.65rem;
  background: #04162b;
  color: #a8c3d8;
}

.crm-preview aside strong {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 0.8rem;
}

.crm-preview aside span {
  padding: 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.58rem;
}

.crm-preview aside .is-active {
  background: #0b3e70;
  color: #fff;
}

.crm-preview__content {
  min-width: 0;
  padding: 1rem;
}

.crm-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.crm-preview__top div {
  display: grid;
  gap: 0.25rem;
}

.crm-preview__top small,
.crm-preview article small,
.next-action small {
  color: var(--muted);
  font-size: 0.65rem;
}

.crm-preview__top > span {
  padding: 0.4rem 0.55rem;
  border-radius: 99rem;
  background: #fff1db;
  color: #9a4d00;
  font-size: 0.6rem;
  font-weight: 800;
}

.crm-preview article {
  display: grid;
  grid-template-columns: 0.7rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.crm-preview article div {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.crm-preview article strong,
.crm-preview article small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-preview article strong {
  font-size: 0.72rem;
}

.crm-preview article b {
  color: var(--muted);
  font-size: 0.58rem;
}

.channel-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--blue);
}

.channel-dot--green {
  background: #16a34a;
}

.next-action {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #b9d3ff;
  border-radius: 0.85rem;
  background: #edf5ff;
}

.next-action strong {
  font-size: 0.72rem;
  line-height: 1.45;
}

.contact-copy ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: #334a62;
  line-height: 1.5;
}

.demo-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: 0 2rem 5rem rgba(4, 22, 43, 0.1);
}

.demo-form label {
  display: grid;
  gap: 0.45rem;
  color: #334a62;
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.demo-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(11, 107, 255, 0.15);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.lead-form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.lead-form-status[data-kind="success"] {
  color: #15803d;
}

.lead-form-status[data-kind="error"] {
  color: #b91c1c;
}

.demo-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

footer {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

footer > div {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.consent-banner {
  position: fixed;
  z-index: 2147482990;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(4, 22, 43, 0.24);
}

.consent-banner p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.consent-banner a {
  color: var(--blue-dark);
  font-weight: 800;
}

.consent-banner__actions {
  display: grid;
  gap: 0.5rem;
}

.consent-banner button {
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.consent-banner button[data-consent="accept"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

@media (min-width: 40rem) {
  .hero-actions {
    display: flex;
  }

  .button {
    width: auto;
  }

  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow-list li {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .flow-list li:first-child {
    border-radius: 1rem 0 0 1rem;
  }

  .flow-list li:last-child {
    border-right: 1px solid var(--border);
    border-radius: 0 1rem 1rem 0;
  }

  .consent-banner {
    left: auto;
    max-width: 42rem;
  }

  .consent-banner__actions {
    grid-template-columns: repeat(2, auto);
    justify-content: end;
  }
}

@media (min-width: 64rem) {
  .campaign-hero {
    min-height: calc(100vh - 5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(32rem, 1.1fr);
    align-items: center;
  }

  .proof-section,
  .contact-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(34rem, 1.15fr);
    align-items: center;
  }

  .demo-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2rem;
  }

  .demo-form label:nth-of-type(5),
  .demo-form .form-honeypot,
  .demo-form .lead-form-status,
  .demo-form button {
    grid-column: 1 / -1;
  }
}

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