.page-products {
  --products-pad: 1.5rem;
  --products-gap: 1.25rem;
}
.page-products img {
  max-width: 100%;
  height: auto;
}

/* ============ Hero ============ */
.page-products .products-hero {
  position: relative;
  overflow: hidden;
}
.page-products .products-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 360px;
  height: 220px;
  background: linear-gradient(115deg, transparent 36%, rgba(212, 175, 55, 0.30) 50%, transparent 64%);
  transform: rotate(12deg);
  pointer-events: none;
}
.page-products .products-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light) 40%, transparent 85%);
  z-index: 1;
}
.page-products .products-hero-grid {
  display: grid;
  gap: 2rem;
  padding: 2.25rem 0 3.25rem;
}
.page-products .hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1rem;
  color: var(--color-gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.page-products .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22);
}
.page-products .products-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.375rem);
  line-height: 1.15;
  color: var(--color-white);
  max-width: 22ch;
}
.page-products .products-hero .page-hero-desc {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.page-products .products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
}
.page-products .products-hero .btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-primary-dark);
  border: 1px solid transparent;
}
.page-products .products-hero .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: transparent;
}
.page-products .products-hero .btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}
.page-products .products-hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}
.page-products .products-hero-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 2.25rem;
  width: 5rem;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}
.page-products .panel-coord {
  display: block;
  padding-bottom: 0.75rem;
  margin-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}
.page-products .hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem 1rem;
}
.page-products .hero-stats div {
  display: grid;
  gap: 0.1875rem;
}
.page-products .hero-stats dt {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.page-products .hero-stats dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--color-gold-light);
}
.page-products .panel-foot {
  margin: 1.125rem 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ============ Features ============ */
.page-products .products-features {
  background: radial-gradient(circle at 92% 6%, rgba(212, 175, 55, 0.10), transparent 28%), #ffffff;
  padding-bottom: 4.5rem;
}
.page-products .products-section-header {
  display: grid;
  gap: 0.625rem;
  max-width: 760px;
  margin-bottom: 2rem;
}
.page-products .products-section-header .section-index {
  margin: 0;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
}
.page-products .products-section-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--color-primary);
}
.page-products .products-section-header .section-desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.page-products .feature-tabs {
  position: relative;
  margin: 2.5rem 0 0;
}
.page-products .feature-tabs > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-products .feature-tabs-trigger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0.375rem;
  margin-bottom: 1.5rem;
  background: #eaf0ec;
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-md);
}
.page-products .feature-tabs-trigger label {
  flex: 1 1 auto;
  min-width: 7.25rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--color-primary);
  cursor: pointer;
  transition: background var(--transition-1), color var(--transition-1), box-shadow var(--transition-1);
}
.page-products .feature-tabs > #tab-team:checked ~ .feature-tabs-trigger label[for="tab-team"],
.page-products .feature-tabs > #tab-league:checked ~ .feature-tabs-trigger label[for="tab-league"],
.page-products .feature-tabs > #tab-schedule:checked ~ .feature-tabs-trigger label[for="tab-schedule"],
.page-products .feature-tabs > #tab-homeaway:checked ~ .feature-tabs-trigger label[for="tab-homeaway"] {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}
.page-products .feature-tabs > #tab-team:focus-visible ~ .feature-tabs-trigger label[for="tab-team"],
.page-products .feature-tabs > #tab-league:focus-visible ~ .feature-tabs-trigger label[for="tab-league"],
.page-products .feature-tabs > #tab-schedule:focus-visible ~ .feature-tabs-trigger label[for="tab-schedule"],
.page-products .feature-tabs > #tab-homeaway:focus-visible ~ .feature-tabs-trigger label[for="tab-homeaway"] {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.page-products .feature-panel {
  display: none;
}
.page-products .feature-tabs > #tab-team:checked ~ #panel-team,
.page-products .feature-tabs > #tab-league:checked ~ #panel-league,
.page-products .feature-tabs > #tab-schedule:checked ~ #panel-schedule,
.page-products .feature-tabs > #tab-homeaway:checked ~ #panel-homeaway {
  display: block;
  animation: products-panel-in 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes products-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-products .feature-panel {
  position: relative;
  overflow: hidden;
  padding: var(--products-pad);
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.08);
}
.page-products .feature-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light) 50%, transparent);
  z-index: 1;
}
.page-products .feature-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e3eae6;
}
.page-products .feature-num {
  flex: 0 0 auto;
  display: block;
  min-width: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-gold);
}
.page-products .feature-panel-head h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--color-primary);
}
.page-products .feature-lead {
  margin: 0;
  color: var(--color-primary-ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.page-products .feature-panel-grid {
  display: grid;
  gap: 1.75rem;
}
.page-products .feature-copy > p {
  margin: 0 0 1.25rem;
  color: #2f4138;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.page-products .feature-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}
.page-products .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #2f4138;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.page-products .feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  border-radius: 1px;
  background: var(--color-gold);
  transform: rotate(45deg);
}
.page-products .feature-path {
  overflow-x: auto;
  scrollbar-width: thin;
  margin: 1.5rem 0 1.75rem;
  padding: 0.375rem 0;
  border-top: 1px dashed rgba(11, 61, 46, 0.25);
  border-bottom: 1px dashed rgba(11, 61, 46, 0.25);
}
.page-products .feature-path svg {
  display: block;
  width: 100%;
  min-width: 520px;
  height: auto;
}
.page-products .svg-flow text {
  font-family: var(--font-heading);
}
.page-products .svg-flow .node {
  fill: var(--color-primary);
}
.page-products .svg-flow .node-text {
  fill: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
}
.page-products .svg-flow .node-arrow {
  fill: var(--color-gold);
  font-size: 18px;
  font-weight: 700;
  text-anchor: middle;
}
.page-products .svg-flow .node-final {
  fill: var(--color-gold);
}
.page-products .svg-flow .node-final-text {
  fill: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}
.page-products .feature-figure {
  margin: 0;
}
.page-products .products-frame {
  overflow: hidden;
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-md);
  background: #edf2ef;
  box-shadow: 0 12px 28px rgba(11, 61, 46, 0.14);
}
.page-products .products-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.page-products .products-frame.dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}
.page-products .feature-figure figcaption,
.page-products .flow-figure figcaption {
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.page-products .feature-copy .btn {
  margin-top: 0.25rem;
}

/* ============ Flow ============ */
.page-products .products-flow {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 10%, rgba(212, 175, 55, 0.20), transparent 34%),
    linear-gradient(145deg, var(--color-primary), var(--color-primary-dark) 72%);
  color: rgba(255, 255, 255, 0.85);
}
.page-products .products-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.page-products .products-flow::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 320px;
  height: 160%;
  background: linear-gradient(115deg, transparent 40%, rgba(212, 175, 55, 0.20) 50%, transparent 60%);
  transform: rotate(10deg);
  pointer-events: none;
}
.page-products .products-flow-header {
  position: relative;
  z-index: 1;
}
.page-products .products-flow-header .section-index {
  color: var(--color-gold-light);
}
.page-products .products-flow-header h2 {
  color: #ffffff;
}
.page-products .products-flow-header .section-desc {
  color: rgba(255, 255, 255, 0.74);
}
.page-products .flow-grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.page-products .flow-lanes {
  display: grid;
  gap: 0.875rem;
}
.page-products .flow-lane {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  position: relative;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}
.page-products .flow-lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-gold), rgba(212, 175, 55, 0.10));
}
.page-products .lane-index {
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.page-products .flow-lane h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #ffffff;
}
.page-products .flow-lane p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
}
.page-products .flow-right {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.page-products .routes-panel {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}
.page-products .routes-panel .panel-coord {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.page-products .routes-map {
  display: block;
  width: 100%;
  height: auto;
}
.page-products .routes-panel text {
  font-family: var(--font-heading);
}
.page-products .routes-panel .routes-start {
  fill: var(--color-gold);
}
.page-products .routes-panel .routes-start-text {
  fill: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
}
.page-products .routes-panel .routes-end {
  fill: rgba(255, 255, 255, 0.08);
  stroke: var(--color-gold);
  stroke-width: 1.5;
}
.page-products .routes-panel .routes-end-text {
  fill: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
}
.page-products .routes-panel .routes-line {
  stroke: var(--color-gold-light);
  stroke-width: 2;
  stroke-dasharray: 6 5;
}
.page-products .routes-panel .routes-dot {
  fill: var(--color-gold-light);
}
.page-products .routes-panel .routes-coord {
  fill: rgba(255, 255, 255, 0.40);
  font-size: 10px;
  letter-spacing: 2px;
}
.page-products .flow-figure {
  margin: 0;
}
.page-products .flow-figure figcaption {
  color: rgba(255, 255, 255, 0.60);
}
.page-products .flow-rhythm {
  display: grid;
  gap: 0.875rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.page-products .rhythm-item {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}
.page-products .rhythm-step {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.page-products .rhythm-item h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #ffffff;
}
.page-products .rhythm-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============ Support ============ */
.page-products .products-support {
  background: #ffffff;
}
.page-products .support-grid {
  display: grid;
  gap: var(--products-gap);
  margin-top: 2rem;
}
.page-products .support-card {
  position: relative;
  padding: var(--products-pad);
  border: 1px solid var(--color-silver);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(255, 255, 255, 0));
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}
.page-products .support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 61, 46, 0.14);
}
.page-products .support-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}
.page-products .support-card p {
  margin: 0 0 1.25rem;
  color: #40604f;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.page-products .card-route {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition-1), gap var(--transition-1), border-color var(--transition-1);
}
.page-products .card-route:hover {
  gap: 0.75rem;
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.page-products .products-trust {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #f2f6f3;
}
.page-products .products-trust p {
  margin: 0;
  color: var(--color-primary-ink);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .page-products .feature-tabs-trigger {
    border-radius: var(--radius-pill);
  }
  .page-products .feature-tabs-trigger label {
    border-radius: var(--radius-pill);
  }
  .page-products .flow-rhythm {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 720px) {
  .page-products .products-hero-grid {
    gap: 2.5rem;
  }
}
@media (min-width: 860px) {
  .page-products .products-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem 3.5rem;
    align-items: center;
    padding: 3.25rem 0 4rem;
  }
  .page-products .feature-panel-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
  }
  .page-products .flow-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: start;
  }
  .page-products .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
