body.product-page {
  min-height: 100vh;
  background: #ffffff;
  color: #10204a;
}

.product-page #main-nav {
  background: rgb(from var(--primary) r g b / 0.72);
  color: #ffffff;
}

.product-page #main-nav.scrolled {
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: none;
}

.product-page #main-nav .nav-logo,
.product-page #main-nav .nav-links a,
.product-page #main-nav .btn-ghost,
.product-page #main-nav .language-select-trigger {
  color: #ffffff;
}

.product-hero {
  position: relative;
  min-height: auto;
  padding: calc(var(--nav-h) + 112px) 0 112px;
  display: flex;
  align-items: center;
  background: var(--bg);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../assets/images/blog-one-platform-restaurant-operations.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}

.product-hero-compact {
  min-height: auto;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.product-kicker {
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
}

.product-kicker {
  padding: 0;
  border-radius: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.product-hero h1 {
  max-width: 920px;
  font-family: var(--font-head);
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 24px;
  text-wrap: balance;
}

.product-hero p {
  max-width: 700px;
  color: rgba(255,255,255,.76);
  font-size: 19px;
  line-height: 1.62;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.product-metric {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 32px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}

.product-metric span {
  font-family: var(--font-head);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--accent);
}

.product-metric p {
  color: rgba(255,255,255,.76);
  font-size: 16px;
  margin-top: 12px;
}

.product-section {
  padding: 104px 0;
  background: #ffffff;
}

.product-section-tinted {
  background: #f7f9ff;
}

.product-two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.product-section .section-eyebrow {
  background: transparent;
  border: 0;
  color: #2a1574;
}

.product-section h2,
.product-section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: #0b1f52;
  text-wrap: balance;
}

.product-section p {
  color: #526184;
  font-size: 17px;
  line-height: 1.68;
  margin-top: 18px;
}

.capability-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding: 20px 22px 20px 52px;
  border: 1px solid rgba(42,21,116,.1);
  border-radius: 16px;
  background: #f7f9ff;
  color: #233968;
  line-height: 1.55;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(105,218,175,.16);
}

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

.workflow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(42,21,116,.1);
  box-shadow: 0 14px 42px rgba(21,33,78,.07);
}

.workflow-step span {
  font-family: var(--font-head);
  color: #2a1574;
  font-weight: 800;
}

.workflow-step strong {
  color: #0b1f52;
  font-size: 18px;
}

.product-section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border-radius: 18px;
  background: #f7f9ff;
  border: 1px solid rgba(42,21,116,.1);
  box-shadow: 0 18px 55px rgba(21,33,78,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 75px rgba(21,33,78,.12);
}

.related-card span {
  color: #0f8050;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.related-card h3 {
  font-family: var(--font-head);
  font-size: 23px;
  line-height: 1.14;
  color: #0b1f52;
  margin-bottom: 12px;
  letter-spacing: -.5px;
}

.related-card p,
.related-card small {
  color: #526184;
  line-height: 1.62;
}

.related-card small {
  display: block;
  margin-top: 16px;
  font-weight: 700;
}

.related-card a {
  color: #2a1574;
  font-weight: 850;
  margin-top: auto;
  padding-top: 24px;
}

.legal-page .product-hero {
  min-height: auto;
}

.legal-page .product-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.legal-page .product-hero-inner > div {
  width: 100%;
  max-width: 820px;
  justify-self: start;
}

.legal-section {
  padding: 72px 0 96px;
  background: #ffffff;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid rgba(42,21,116,.12);
  border-radius: 18px;
  background: #f7f9ff;
}

.legal-summary h2 {
  font-family: var(--font-head);
  font-size: 20px;
  color: #0b1f52;
  margin-bottom: 14px;
}

.legal-summary ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.legal-summary a {
  color: #526184;
  font-size: 14px;
  font-weight: 750;
}

.legal-summary a:hover {
  color: #2a1574;
}

.legal-body {
  display: grid;
  gap: 34px;
  max-width: 860px;
}

.legal-body section {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(42,21,116,.1);
}

.legal-body section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.legal-meta span,
.legal-note {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #526184;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.legal-note {
  display: inline-flex;
  line-height: 1.5;
  margin-top: 18px;
}

.legal-warning {
  max-width: 860px;
  border-color: rgba(255, 196, 87, .42);
  background: rgba(255, 196, 87, .14);
  color: rgba(255, 255, 255, .86);
}

.legal-market-note {
  max-width: 860px;
  color: rgba(255, 255, 255, .76);
}

.legal-body h2 {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.18;
  color: #0b1f52;
  margin-bottom: 14px;
}

.legal-body h3 {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.25;
  color: #10204a;
  margin: 24px 0 10px;
}

.legal-body p,
.legal-body li {
  color: #526184;
  font-size: 16px;
  line-height: 1.72;
}

.legal-body p + p {
  margin-top: 12px;
}

.legal-body ul,
.legal-body ol {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 22px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid rgba(42,21,116,.1);
  border-radius: 14px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(42,21,116,.08);
  text-align: left;
  vertical-align: top;
  color: #526184;
  line-height: 1.55;
}

.legal-table th {
  color: #0b1f52;
  background: #f7f9ff;
  font-size: 13px;
  text-transform: uppercase;
}

@media(max-width: 768px) {
  .product-hero::before {
    opacity: 0.14;
    background-position: 58% center;
  }

  .product-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 72px) 0 72px;
  }

  .legal-page .product-hero {
    padding: calc(var(--nav-h) + 72px) 0 72px;
  }

  .product-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .legal-page .product-hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .legal-page .product-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .product-hero-inner,
  .product-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-metric {
    min-height: 180px;
  }

  .product-section {
    padding: 64px 0;
  }

  .related-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding: 42px 0 64px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-summary {
    position: static;
    padding: 18px;
    border-radius: 12px;
  }

  .legal-summary h2 {
    font-size: 18px;
  }

  .legal-summary ul {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .legal-summary a {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .legal-body {
    max-width: 100%;
    gap: 28px;
  }

  .legal-body section {
    padding-bottom: 28px;
  }

  .legal-meta {
    align-items: stretch;
  }

  .legal-meta span,
  .legal-note {
    width: auto;
    border-radius: 0;
    font-size: 12.5px;
  }

  .legal-body h2 {
    font-size: 24px;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .legal-body h3 {
    font-size: 19px;
    letter-spacing: 0;
  }

  .legal-body p,
  .legal-body li {
    font-size: 15px;
    line-height: 1.65;
  }

  .legal-body ul,
  .legal-body ol {
    padding-left: 18px;
  }

  .legal-table-wrap {
    overflow-x: visible;
    border-radius: 12px;
  }

  .legal-table {
    min-width: 0;
  }

  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    border-bottom: 1px solid rgba(42,21,116,.1);
  }

  .legal-table tr:last-child {
    border-bottom: 0;
  }

  .legal-table th,
  .legal-table td {
    border-bottom: 0;
    padding: 12px 14px;
  }

  .legal-table th {
    padding-bottom: 4px;
    font-size: 12px;
  }

  .legal-table td {
    padding-top: 4px;
  }
}
