:root {
  --ink: #101114;
  --muted: #667085;
  --line: #dce2ea;
  --soft: #f4f6f8;
  --surface: #ffffff;
  --gold: #b88924;
  --gold-dark: #8b6518;
  --success: #087443;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 7px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.header-nav a:hover {
  background: var(--soft);
}

.header-nav .nav-primary {
  margin-left: 5px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.header-nav .nav-primary:hover {
  background: #2a2c31;
}

.page-main {
  padding: 24px 0 72px;
}

.product-intro {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #202126;
  border-radius: 8px;
  background: #050607;
  color: #ffffff;
}

.product-intro::before,
.product-intro::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.product-intro::before {
  background-image: var(--intro-image);
  background-position: var(--intro-position, center);
  background-size: cover;
  opacity: var(--intro-image-opacity, 0.68);
}

.product-intro::after {
  z-index: -1;
  background: rgba(0, 0, 0, var(--intro-overlay, 0.68));
}

.intro-content {
  display: flex;
  min-height: 330px;
  max-width: 700px;
  flex-direction: column;
  justify-content: center;
  padding: 42px 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-intro .eyebrow {
  color: #f0cf7d;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #2ecc71;
}

.product-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: 44px;
  font-weight: 850;
  line-height: 1.05;
}

.intro-lead {
  max-width: 650px;
  margin: 16px 0 0;
  color: #e1e4e8;
  font-size: 17px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 10px 15px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: #2a2c31;
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
}

.button.gold:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
}

.button.on-dark {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.46);
}

.button.on-dark:hover {
  border-color: #ffffff;
  background: #000000;
}

.button.outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.outline:hover {
  border-color: var(--ink);
  background: var(--soft);
}

a:focus-visible {
  outline: 3px solid rgba(184, 137, 36, 0.35);
  outline-offset: 3px;
}

.demo-section {
  padding-top: 38px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.18;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

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

.demo-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 160ms ease;
}

.demo-card:hover {
  border-color: #aeb7c4;
}

.demo-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #090a0c;
}

.demo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.demo-card:hover .demo-media img {
  transform: scale(1.012);
}

.demo-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.platform-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.platform-copy span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.platform-copy h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.demo-description {
  margin: 17px 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: auto 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-facts div {
  min-width: 0;
  padding: 12px 0;
}

.demo-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.demo-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.demo-card .button {
  width: 100%;
}

.sandbox-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.sandbox-note .status-dot {
  background: var(--success);
}

.integration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

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

.integration-copy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.integration-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid #202126;
  background: #08090b;
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
}

.footer-brand .brand-copy {
  color: #ffffff;
}

.footer-brand small {
  color: #8f98a8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  color: #d8dce3;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #292b30;
  padding: 18px 0 22px;
  color: #8f98a8;
  font-size: 11px;
}

@media (max-width: 780px) {
  .header-nav .nav-secondary {
    display: none;
  }

  .page-main {
    padding-top: 16px;
  }

  .product-intro,
  .intro-content {
    min-height: 380px;
  }

  .intro-content {
    padding: 32px 28px;
  }

  .product-intro h1 {
    font-size: 36px;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-heading > p {
    max-width: none;
    text-align: left;
  }

  .integration-row,
  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    display: flex;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(1180px, calc(100% - 24px));
  }

  .header-row {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand small {
    display: none;
  }

  .header-nav .nav-primary {
    margin-left: 0;
    padding-inline: 10px;
  }

  .product-intro,
  .intro-content {
    min-height: 410px;
  }

  .intro-content {
    padding: 28px 22px;
  }

  .product-intro h1 {
    font-size: 31px;
  }

  .intro-lead {
    font-size: 15px;
  }

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

  .section-heading h2 {
    font-size: 24px;
  }

  .demo-content {
    padding: 18px;
  }

  .demo-facts {
    grid-template-columns: 1fr;
  }

  .demo-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .integration-row {
    margin-top: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
