.product-section {
  --product-blue: #2c4c7e;
  --product-ink: #23354b;
  --product-muted: #4b5b70;
  --product-surface: #f0f5fa;
  --product-line: #c9d7e7;
  padding: 56px 0;
  color: var(--product-ink);
  background: #fff;
  font-family: Arial, sans-serif;
}

.product-section,
.product-section * {
  box-sizing: border-box;
}

.product-container {
  width: min(1160px, calc(100% - 112px));
  margin-inline: auto;
}

.product-header {
  margin-bottom: 28px;
}

.product-eyebrow {
  margin: 0 0 10px;
  color: var(--product-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.product-heading {
  margin: 0;
  color: var(--product-blue);
  font-family: Rubik, Arial, sans-serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.product-tabs {
  display: flex;
  align-items: stretch;
  gap: 40px;
  border-bottom: 1px solid var(--product-line);
}

.product-tab {
  appearance: none;
  position: relative;
  margin: 0 0 -1px;
  padding: 15px 2px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--product-muted);
  background: transparent;
  font: 700 16px/1.3 Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.product-tab:hover {
  color: var(--product-blue);
  border-bottom-color: #a7bbd6;
}

.product-tab[aria-selected="true"] {
  color: var(--product-blue);
  border-bottom-color: var(--product-blue);
}

.product-tab:focus-visible,
.product-panel:focus-visible {
  outline: 2px solid var(--product-blue);
  outline-offset: 5px;
}

.product-panels {
  margin-top: 22px;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  min-height: 280px;
  padding: 30px 36px;
  background: var(--product-surface);
}

.product-panel[hidden] {
  display: none;
}

.motion-ready .product-panel:not([hidden]) {
  animation: product-arrive 280ms ease-out both;
}

@keyframes product-arrive {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-panel-heading {
  margin: 0 0 14px;
  color: var(--product-blue);
  font-family: Rubik, Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.product-description {
  max-width: 39ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

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

.product-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
}

.product-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  bottom: -12px;
  left: 13px;
  width: 1px;
  background: var(--product-line);
}

.product-step-number {
  position: relative;
  z-index: 1;
  padding-top: 1px;
  color: var(--product-blue);
  font-family: Rubik, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.product-step-heading {
  margin: 0 0 5px;
  color: var(--product-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.product-step-description {
  max-width: 48ch;
  margin: 0;
  color: var(--product-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .product-container { width: calc(100% - 80px); }
}

@media (max-width: 900px) {
  .product-container { width: calc(100% - 56px); }
}

@media (max-width: 800px) {
  .product-container {
    width: calc(100% - 56px);
  }

  .product-panel {
    gap: 32px;
    padding: 28px;
  }

  .product-panel-heading {
    font-size: 24px;
  }

  .product-description {
    font-size: 15px;
  }

  .product-step {
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .product-section {
    padding: 40px 0;
  }

  .product-container {
    width: calc(100% - 44px);
  }

  .product-header {
    margin-bottom: 22px;
  }

  .product-heading {
    font-size: clamp(27px, 7.8vw, 34px);
  }

  .product-tabs {
    gap: 0;
  }

  .product-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 3px;
    font-size: 14px;
    white-space: nowrap;
  }

  .product-tab:focus-visible {
    outline-offset: -4px;
  }

  .product-panels {
    margin-top: 18px;
  }

  .product-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    min-height: 0;
    padding: 24px 20px;
  }

  .product-panel-heading {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .product-description {
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .product-flow {
    gap: 17px;
  }

  .product-step-description {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-tab {
    transition: none;
  }
}
