.page-products {
  --product-hover-bg: rgba(0, 58, 45, 0.06);
  background: var(--tbo-paper);
  color: var(--tbo-ink);
  overflow-x: clip;
}
.page-products img,
.page-products figure {
  max-width: 100%;
}
.page-products figure {
  margin: 0;
}
.page-products img {
  display: block;
  height: auto;
}
.page-products [id] {
  scroll-margin-top: 4.5rem;
}

.page-products .hero {
  position: relative;
  padding: 1.75rem 1rem 2.25rem;
  background: var(--tbo-green);
  color: var(--tbo-white);
  overflow: hidden;
}
.page-products .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 32%);
  pointer-events: none;
}
.page-products .hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -70px;
  border: 2px solid rgba(201, 162, 39, 0.35);
  transform: rotate(18deg);
  pointer-events: none;
}
.page-products .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--tbo-max);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.page-products .breadcrumbs {
  margin-bottom: 0.15rem;
  font-family: var(--tbo-font-index);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}
.page-products .breadcrumbs a {
  color: var(--tbo-gold-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.page-products .breadcrumbs a:hover {
  color: var(--tbo-white);
}
.page-products .hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--tbo-font-index);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--tbo-gold);
  text-transform: uppercase;
}
.page-products .hero-kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--tbo-gold);
  color: var(--tbo-green-deep);
  font-weight: 700;
  transform: skewX(-8deg);
}
.page-products h1 {
  margin: 0;
  font-family: var(--tbo-font-heading);
  font-weight: 100;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--tbo-white);
}
.page-products .hero-deck {
  margin: 0;
  font-size: 1.1rem;
  color: var(--tbo-gold-soft);
  border-left: 4px solid var(--tbo-gold);
  padding-left: 0.75rem;
  line-height: 1.5;
}
.page-products .hero-intro {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.75;
}
.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.15rem;
}
.page-products .hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border-top: 2px solid var(--tbo-gold);
  padding: 0.75rem 0.85rem;
}
.page-products .hero-stat .stat-num {
  display: block;
  font-family: var(--tbo-font-index);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tbo-white);
  line-height: 1.2;
}
.page-products .hero-stat .stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
}
.page-products .hero-figure {
  margin-top: 0.4rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--tbo-radius);
  overflow: hidden;
  background: var(--tbo-green-deep);
}
.page-products .hero-figure img {
  width: 100%;
}
.page-products .hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.page-products .hero-index a {
  font-family: var(--tbo-font-index);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--tbo-white);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.page-products .hero-index a:hover {
  background: var(--tbo-gold);
  border-color: var(--tbo-gold);
  color: var(--tbo-green-deep);
}

.page-products .section-title {
  margin: 0.25rem 0 0.75rem;
  font-family: var(--tbo-font-heading);
  font-weight: 100;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--tbo-ink);
}
.page-products .section-index {
  margin: 0;
  font-family: var(--tbo-font-index);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--tbo-gold);
  text-transform: uppercase;
}
.page-products .section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.page-products .section-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--tbo-gray);
  line-height: 1.75;
  font-size: 0.95rem;
}

.page-products .products-overview {
  padding: 2.5rem 0;
  background: var(--tbo-paper);
}
.page-products .product-archive {
  display: grid;
  gap: 1rem;
}
.page-products .product-card {
  background: var(--tbo-white);
  border: 1px solid rgba(0, 58, 45, 0.12);
  border-radius: var(--tbo-radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.page-products .product-card[open],
.page-products .product-card:hover {
  border-color: var(--tbo-gold);
  box-shadow: var(--tbo-shadow);
}
.page-products .product-card summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
}
.page-products .product-card summary::-webkit-details-marker {
  display: none;
}
.page-products .product-card summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--tbo-font-index);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tbo-gold);
  transition: color 0.2s;
}
.page-products .product-card[open] summary::after {
  content: "–";
}
.page-products .card-index {
  font-family: var(--tbo-font-index);
  font-size: 0.85rem;
  color: var(--tbo-gold);
  border: 1px solid var(--tbo-gold);
  padding: 0.2rem 0.45rem;
}
.page-products .card-title {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--tbo-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.page-products .product-card summary:hover .card-title {
  color: var(--tbo-gold);
}
.page-products .product-card .tag,
.page-products .product-card .tag-hl {
  font-family: var(--tbo-font-index);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--tbo-gold);
  color: var(--tbo-gold);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.page-products .product-card summary:hover .tag,
.page-products .product-card summary:hover .tag-hl {
  background: var(--tbo-gold);
  color: var(--tbo-green-deep);
  border-color: var(--tbo-gold);
}
.page-products .card-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(0, 58, 45, 0.08);
}
.page-products .card-body p {
  margin: 0.85rem 0 0.6rem;
  font-size: 0.92rem;
  line-height: 1.7;
}
.page-products .card-body ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--tbo-gray);
  line-height: 1.6;
}
.page-products .card-body .btn {
  margin-top: 0.9rem;
}

.page-products .detail-section {
  position: relative;
  padding: 2.25rem 1rem;
  overflow: hidden;
}
.page-products .detail-section::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  left: -80px;
  background: var(--tbo-gold);
  opacity: 0.08;
  transform: rotate(24deg);
  pointer-events: none;
}
.page-products .detail-inner {
  position: relative;
  max-width: var(--tbo-max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
.page-products .detail-copy h2 {
  margin-top: 0.3rem;
}
.page-products .detail-copy p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}
.page-products .detail-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.page-products .detail-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
.page-products .detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--tbo-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.page-products .detail-figure {
  border: 1px solid rgba(0, 58, 45, 0.15);
  border-radius: var(--tbo-radius);
  overflow: hidden;
  background: var(--tbo-green-deep);
}
.page-products .detail-figure img {
  width: 100%;
}

.page-products .detail-schedule {
  background: var(--tbo-white);
}
.page-products .detail-panel {
  background: var(--tbo-green-deep);
  color: rgba(255, 255, 255, 0.9);
}
.page-products .detail-panel .section-title,
.page-products .detail-panel .detail-list li {
  color: rgba(255, 255, 255, 0.92);
}
.page-products .detail-panel .detail-copy p {
  color: rgba(255, 255, 255, 0.78);
}
.page-products .detail-panel .detail-list strong {
  color: var(--tbo-gold-soft);
}
.page-products .detail-panel .detail-figure {
  border-color: rgba(201, 162, 39, 0.4);
}
.page-products .detail-history {
  background: var(--tbo-paper);
}

.page-products .btn-on-dark {
  background: transparent;
  color: var(--tbo-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.page-products .btn-on-dark:hover {
  background: var(--tbo-gold);
  border-color: var(--tbo-gold);
  color: var(--tbo-green-deep);
}

.page-products .use-cases {
  padding: 2.5rem 0;
  background: var(--tbo-white);
}
.page-products .scenario-wrap {
  display: grid;
  gap: 1.25rem;
}
.page-products .scenario-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.page-products .scenario-list li {
  position: relative;
  border-left: 3px solid var(--tbo-gold);
  background: var(--tbo-paper);
  padding: 1rem 1rem 1rem 3.2rem;
  transition: background 0.2s;
}
.page-products .scenario-list li:hover {
  background: var(--product-hover-bg);
}
.page-products .scenario-num {
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  font-family: var(--tbo-font-index);
  font-weight: 700;
  color: var(--tbo-gold);
}
.page-products .scenario-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}
.page-products .scenario-list p {
  margin: 0;
  color: var(--tbo-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}
.page-products .scenario-figure {
  border: 1px solid rgba(0, 58, 45, 0.15);
  border-radius: var(--tbo-radius);
  overflow: hidden;
  background: var(--tbo-green);
}
.page-products .scenario-figure img {
  width: 100%;
}

.page-products .get-started {
  position: relative;
  padding: 2.5rem 1rem;
  background: var(--tbo-green);
  color: var(--tbo-white);
  overflow: hidden;
}
.page-products .get-started::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -150px;
  border: 2px solid rgba(201, 162, 39, 0.3);
  transform: rotate(24deg);
  pointer-events: none;
}
.page-products .get-started-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-products .get-started .section-index {
  display: block;
}
.page-products .get-started .section-title {
  color: var(--tbo-white);
}
.page-products .get-started p {
  margin: 0 auto 1.25rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}
.page-products .mile-line {
  font-family: var(--tbo-font-index);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--tbo-gold-soft);
}
.page-products .start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .page-products .hero {
    padding: 3rem 1.5rem 3.25rem;
  }
  .page-products .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 2.5rem;
    row-gap: 1.4rem;
  }
  .page-products .hero .breadcrumbs {
    grid-column: 1 / -1;
  }
  .page-products .hero-kicker {
    grid-column: 1;
    grid-row: 2;
  }
  .page-products .hero h1 {
    grid-column: 1;
    grid-row: 3;
    font-size: 3.25rem;
  }
  .page-products .hero-deck {
    grid-column: 1;
    grid-row: 4;
  }
  .page-products .hero-intro {
    grid-column: 1;
    grid-row: 5;
  }
  .page-products .hero-stats {
    grid-column: 2;
    grid-row: 2 / span 4;
    align-content: center;
    margin-top: 0;
  }
  .page-products .hero-figure {
    grid-column: 1 / -1;
    grid-row: 6;
  }
  .page-products .hero-index {
    grid-column: 1 / -1;
    grid-row: 7;
  }
  .page-products .hero-index a {
    padding: 0.5rem 0.9rem;
  }

  .page-products .product-archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .product-card summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .page-products .product-card summary::after {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
  .page-products .product-card summary {
    position: relative;
    padding-right: 3rem;
  }

  .page-products .detail-section {
    padding: 3.5rem 1.5rem;
  }
  .page-products .detail-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }
  .page-products .detail-copy .section-title {
    font-size: 2.25rem;
  }

  .page-products .use-cases {
    padding: 3.5rem 0;
  }
  .page-products .scenario-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: center;
  }
  .page-products .scenario-figure {
    order: 2;
  }

  .page-products .get-started {
    padding: 3.5rem 1.5rem;
  }
}
