@font-face {
  font-family: "Switzer Variable";
  src: url("assets/switzer-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --charcoal: #252525;
  --white: #ffffff;
  --red: #be3f3f;
  --red-hover: #a93636;
  --mint: #edf5f4;
  --soft: #f7f7f7;
  --cream: #fff9ea;
  --pink: #fff3f2;
  --text-muted: #626262;
  --border: #e9e9e9;
  --shadow: 0 16px 36px rgba(25, 25, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Switzer Variable", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-shell {
  width: min(1288px, calc(100% - 64px));
  min-height: 75px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}

.brand {
  width: 150px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 400;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 360;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.header-cta {
  min-width: 162px;
  min-height: 46px;
  padding-inline: 20px;
}

.button:hover,
.header-cta:hover {
  background: var(--red-hover);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.button-small {
  min-height: 34px;
  padding: 8px 16px;
  font-size: 13px;
}

.button-light {
  color: var(--black);
  background: var(--white);
  border-color: #dedede;
}

.button-light:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 938px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 75px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(3.6rem, 5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.22rem, 1.9vw, 1.7rem);
  line-height: 1.35;
}

.hero-button {
  margin-top: 32px;
  min-width: 118px;
}

.portal-shot {
  width: min(670px, 74vw);
  margin-top: 78px;
  opacity: 0.84;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.34));
}

.hero-gap {
  height: 390px;
}

.logo-band {
  background: var(--mint);
  padding: 86px 0;
  text-align: center;
}

.logo-band h2 {
  margin: 0 0 38px;
  font-size: 16px;
  font-weight: 650;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px 42px;
}

.logo-grid img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.section {
  padding: 112px 0;
}

.section-tight {
  padding-top: 80px;
}

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

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ff0808;
  font-size: 13px;
  font-weight: 700;
}

.section-heading h2,
.split-heading h2,
.deploy-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.18rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: 0;
}

.heading-accent {
  color: var(--red);
}

.section-heading p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #303030;
  font-size: 14px;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card,
.feature-card,
.integration-card,
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-card > img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.card-body {
  padding: 24px 24px 26px;
}

.card-kicker,
.blog-card span,
.integration-card span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.media-card h3,
.feature-card h3,
.integration-card h3,
.blog-card h3 {
  margin: 9px 0 8px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0;
}

.media-card p,
.feature-card p,
.integration-card p,
.blog-card p {
  margin: 0;
  color: #5d5d5d;
  font-size: 13px;
  line-height: 1.65;
}

.case-studies {
  display: grid;
  grid-template-columns: 1fr;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 630px;
}

.case-copy {
  padding: clamp(48px, 7.5vw, 110px) clamp(32px, 7.5vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.85rem, 3.1vw, 2.78rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: 0;
}

.case-copy > p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #343434;
  font-size: 15px;
  line-height: 1.75;
}

.case-pink {
  background: var(--pink);
}

.case-cream {
  background: var(--cream);
}

.case-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 5vw, 88px);
}

.case-visual img {
  width: min(460px, 84%);
  height: clamp(300px, 28vw, 420px);
  object-fit: cover;
  border-radius: 6px;
}

.feature-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
}

.feature-list li::before {
  content: ">";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.feature-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.feature-list span {
  display: block;
  color: #555;
  font-size: 12px;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.features {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  min-height: 200px;
  padding: 34px 28px;
  text-align: center;
}

.feature-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.feature-card h3 {
  font-size: 18px;
}

.integrations {
  padding-top: 80px;
}

.integration-container {
  position: relative;
}

.split-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.split-heading h2 {
  max-width: 540px;
}

.integration-panel {
  position: relative;
  padding: 56px 42px 70px;
}

.integration-bg {
  position: absolute;
  inset: 0 auto 0 10%;
  width: 76%;
  height: 100%;
  object-fit: fill;
  opacity: 0.8;
  pointer-events: none;
}

.integration-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.integration-card {
  padding: 38px 28px 30px;
  text-align: center;
}

.integration-card img {
  height: 58px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.integration-card h3 {
  margin-bottom: 0;
}

.integration-card span {
  margin-bottom: 18px;
}

.integration-card a,
.blog-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
}

.faq-section {
  padding-top: 120px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.faq-list summary {
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--black);
  font-size: 18px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.7;
}

.question-card {
  max-width: 680px;
  margin: 42px auto 0;
  padding: 42px 24px;
  color: var(--white);
  background: #222;
  border-radius: 8px;
  text-align: center;
}

.question-card h3 {
  margin: 0;
  font-size: 23px;
}

.question-card p {
  margin: 8px auto 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.blog-section {
  padding-top: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
}

.blog-card > div {
  padding: 22px 22px 24px;
}

.blog-card h3 {
  font-size: 19px;
}

.blog-actions {
  margin-top: 42px;
  text-align: center;
}

.deploy {
  padding: 40px 0 72px;
}

.deploy-card {
  min-height: 250px;
  padding: 54px 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 13, 27, 0.86), rgba(17, 41, 154, 0.78)),
    url("assets/cta-bg.png") center / cover no-repeat;
  border-radius: 6px;
  text-align: center;
  overflow: hidden;
}

.deploy-card p {
  max-width: 560px;
  margin: 16px auto 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.demo-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.demo-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 4px;
}

.demo-form .button {
  min-height: 48px;
  white-space: nowrap;
}

.site-footer {
  background: var(--charcoal);
  color: #f4f4f4;
  padding: 46px 0 28px;
}

.footer-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  margin-bottom: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 62px;
}

.footer-grid h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: #d7d7d7;
  font-size: 13px;
}

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

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: #d7d7d7;
  font-size: 12px;
}

.footer-bottom img {
  width: 112px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28));
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 980px) {
  .nav-shell {
    width: calc(100% - 40px);
    min-height: 72px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    width: 140px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 9px;
    display: inline-grid;
    gap: 5px;
    place-content: center;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    display: block;
    background: var(--black);
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 26px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  }

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

  .main-nav a {
    padding: 13px 0;
    font-size: 17px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 808px;
  }

  .hero-content {
    align-items: flex-start;
    padding: 54px 20px 0;
    text-align: left;
  }

  .hero h1 {
    max-width: 350px;
    color: var(--white);
    font-size: clamp(4.35rem, 17vw, 5.35rem);
    line-height: 1.06;
  }

  .hero-subtitle {
    width: 100%;
    margin-top: 30px;
    color: var(--white);
    font-size: 17px;
    text-align: center;
  }

  .hero-button {
    width: 100%;
    margin-top: 26px;
    min-height: 48px;
  }

  .portal-shot {
    width: 100%;
    margin-top: 48px;
    opacity: 0.96;
  }

  .hero-gap {
    height: 270px;
  }

  .logo-band {
    padding: 52px 0 68px;
  }

  .logo-band h2 {
    margin-bottom: 36px;
    font-size: 24px;
    line-height: 1.25;
  }

  .logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 36px;
    justify-items: center;
  }

  .logo-grid img {
    max-width: 134px;
    max-height: 48px;
  }

  .section,
  .section-tight,
  .faq-section,
  .blog-section {
    padding: 72px 0;
  }

  .card-grid,
  .feature-grid,
  .integration-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-copy {
    padding: 56px 24px;
  }

  .case-visual {
    padding: 42px 24px;
  }

  .case-visual img {
    width: min(460px, 100%);
    height: auto;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .integration-panel {
    padding: 30px 0 0;
  }

  .integration-bg {
    display: none;
  }

  .demo-form {
    flex-direction: column;
  }

  .footer-grid {
    gap: 30px;
    padding-bottom: 48px;
  }

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

  .footer-bottom > div {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 40px);
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .split-heading h2,
  .deploy-card h2 {
    font-size: 32px;
  }

  .media-card h3 {
    font-size: 19px;
  }

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

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .question-card {
    padding: 34px 20px;
  }

  .deploy {
    padding-top: 24px;
  }

  .deploy-card {
    padding: 42px 22px;
  }
}
