:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-soft: #f8f8f7;
  --text: #1d1d1f;
  --muted: #5f6167;
  --border: #e6e5e2;
  --primary: #1d1d1f;
  --primary-hover: #000000;
  --accent: #b08a55;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(20, 21, 26, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1120px, calc(100vw - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(245, 244, 241, 0.86);
  border-bottom: 1px solid rgba(230, 229, 226, 0.8);
}

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

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-content {
  background: linear-gradient(145deg, #fff, #f5f5f4);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 4rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.07;
}

.subhead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 1rem 0 1.8rem;
}

.mobile-scroll-cta {
  display: inline-flex;
}

.cards-section {
  padding: 0 0 4.5rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.integration-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.integration-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.integration-card p {
  color: var(--muted);
  margin: 0 0 0.8rem;
  line-height: 1.5;
  flex: 1;
}

.pill {
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.28rem 0.7rem;
  color: var(--muted);
}

.btn {
  border: 0;
  border-radius: 14px;
  min-height: 42px;
  padding: 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #f3f3f2;
  color: var(--text);
}

.btn-secondary:hover {
  background: #ececeb;
}

.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
}

.product-page {
  padding: 3rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(320px, 0.98fr);
  gap: 2.25rem;
}

.single-column .product-grid {
  grid-template-columns: 1fr;
}

.product-details,
.embedded-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-details {
  padding: 1.4rem;
}

.integration-hero {
  padding: 0;
  min-height: 460px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.integration-hero__media {
  background: linear-gradient(150deg, #f6f6f5, #efefed);
  border-right: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 0.9rem;
}

.integration-hero__media-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(29, 29, 31, 0.08), 0 10px 24px rgba(29, 29, 31, 0.08);
}

.integration-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.integration-hero__content {
  padding: 1.55rem 1.75rem;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 100%;
  gap: 0.65rem;
}

.integration-hero__body {
  display: grid;
  grid-template-rows: auto minmax(146px, 1fr);
  gap: 0.7rem;
  min-height: 0;
}

.integration-hero__copy {
  display: grid;
  gap: 0.45rem;
}

.integration-hero__details {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.integration-hero__content .eyebrow,
.integration-hero__content h1,
.integration-hero__content .description,
.integration-hero__content .mini-heading,
.integration-hero__content .feature-list,
.integration-hero__content .cta-group {
  margin: 0;
}

.integration-hero__content h1 {
  line-height: 1.08;
}

.integration-hero__content .description {
  max-width: 54ch;
}

.integration-hero__content .feature-list {
  margin-top: 0.1rem;
  margin-bottom: 0;
  gap: 0.45rem;
}

.integration-hero__actions {
  padding-top: 0.45rem;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.integration-hero__actions .btn {
  flex: 0 1 auto;
  min-width: 152px;
}


.mini-heading {
  margin: 1.2rem 0 0.7rem;
  font-size: 1rem;
}

.description {
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  margin: 1rem 0 1.4rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--text);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}



.copy-status {
  margin: 0.8rem 0 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.integration-note {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  border-radius: 12px;
}

.integration-note h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.integration-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 16, 0.7);
}

.overlay-panel {
  position: relative;
  width: min(1280px, 96vw);
  height: min(88vh, 920px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2f2f34;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
  background: #121316;
}

.overlay-panel iframe,
.embedded-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.overlay-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 15, 16, 0.7);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}

.product-page-embedded .split-grid {
  grid-template-columns: 1fr;
}


.embedded-shell {
  min-height: 760px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .integration-grid,
  .product-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }


  .embedded-shell {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100vw - 1.5rem));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.45rem;
  }

  .brand {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  nav {
    gap: 0.45rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .product-page {
    padding-top: 1.6rem;
  }


  .integration-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .integration-hero__media {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0.9rem;
  }

  .integration-hero__media-frame {
    max-width: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .integration-hero__content {
    gap: 0.7rem;
    padding: 1.1rem;
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .integration-hero__actions {
    padding-top: 0.3rem;
    gap: 0.55rem;
    min-height: 0;
    flex-wrap: wrap;
  }

  .btn {
    min-height: 40px;
    border-radius: 12px;
  }

  .integration-hero__body {
    gap: 0.65rem;
    grid-template-rows: auto auto;
  }

  .integration-hero__actions .btn {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
  }

  .overlay-panel {
    width: 98vw;
    height: 90vh;
    border-radius: 10px;
  }
}
