.page-products {
  background: var(--c-snow);
  overflow-x: hidden;
}

.page-products .btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid var(--c-ink);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.page-products .btn--primary {
  background: var(--c-glacier);
  color: #fff;
  border-color: var(--c-glacier);
  box-shadow: 4px 4px 0 rgba(46, 42, 36, 0.12);
}

.page-products .btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(46, 42, 36, 0.16);
}

.page-products .btn--accent {
  background: var(--c-flame);
  color: #fff;
  border-color: var(--c-flame);
  box-shadow: 4px 4px 0 rgba(46, 42, 36, 0.12);
}

.page-products .btn--accent:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(46, 42, 36, 0.16);
}

.page-products .products-hero {
  position: relative;
  padding: 40px 0 64px;
  overflow: hidden;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 55%, rgba(91, 143, 185, 0.16) 55% 62%, transparent 62%),
    radial-gradient(circle at 88% 18%, rgba(212, 160, 23, 0.14) 0 18%, transparent 18.5%);
  pointer-events: none;
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  left: -6%;
  bottom: -12%;
  width: 32%;
  height: 62%;
  background: var(--c-glacier);
  clip-path: polygon(0 100%, 60% 0, 100% 100%);
  opacity: 0.12;
  pointer-events: none;
}

.page-products .products-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .products-hero__lead {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-glacier);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-products .products-hero h1 {
  position: relative;
  padding-left: 18px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  color: var(--c-ink);
  max-width: 10em;
  margin: 0 0 16px;
}

.page-products .products-hero h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 8px;
  height: 0.84em;
  background: var(--c-flame);
  transform: skewX(-8deg);
}

.page-products .products-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #5a564e;
  max-width: 34em;
  margin: 0 0 24px;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-products .products-hero__panel {
  background: var(--c-night);
  color: var(--c-snow);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 8px 8px 0 rgba(46, 42, 36, 0.12);
}

.page-products .products-hero__panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(253, 246, 227, 0.7);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.page-products .products-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
}

.page-products .products-hero__stats div {
  text-align: center;
  padding: 14px 8px;
  border: 1px solid rgba(253, 246, 227, 0.14);
}

.page-products .products-hero__stats dt {
  font-size: 12px;
  color: rgba(253, 246, 227, 0.7);
  margin-bottom: 8px;
}

.page-products .products-hero__stats dd {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0;
}

.page-products .section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: baseline;
  margin-bottom: 32px;
  border-bottom: 3px solid var(--c-ink);
  padding-bottom: 16px;
}

.page-products .section-heading__index {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-flame);
  grid-row: span 2;
}

.page-products .section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--c-ink);
  margin: 0;
}

.page-products .section-heading__desc {
  font-size: 14px;
  color: #6a665e;
  margin: 0;
  grid-column: 2;
}

.page-products .section-heading--light {
  border-bottom-color: rgba(253, 246, 227, 0.35);
}

.page-products .section-heading--light h2 {
  color: var(--c-snow);
}

.page-products .section-heading--light .section-heading__desc {
  color: rgba(253, 246, 227, 0.72);
}

.page-products .section-heading--light .section-heading__index {
  color: var(--c-gold);
}

.page-products figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #6a665e;
  background: var(--c-sand);
  border-top: 2px solid var(--c-ink);
}

.page-products .benefits-section {
  padding: 48px 0 64px;
}

.page-products .tier-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-products .tier-switcher__btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 20px;
  background: var(--c-snow);
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 4px 4px 0 rgba(46, 42, 36, 0.12);
}

.page-products .tier-switcher__btn:hover {
  transform: translate(-1px, -1px);
}

.page-products .tier-switcher__btn.is-active {
  background: var(--c-flame);
  color: #fff;
  border-color: var(--c-flame);
  box-shadow: 4px 4px 0 rgba(212, 84, 0, 0.25);
}

.page-products .benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.page-products .benefit-card {
  background: var(--c-snow);
  border: 3px solid var(--c-ink);
  box-shadow: 8px 8px 0 rgba(46, 42, 36, 0.1);
  padding: 28px 22px;
  position: relative;
}

.page-products .benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--c-glacier);
}

.page-products .benefit-card--featured::before {
  background: var(--c-flame);
}

.page-products .benefit-card__tier {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-glacier);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-products .benefit-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--c-ink);
  margin: 0 0 8px;
}

.page-products .benefit-card__audience {
  font-size: 14px;
  color: #6a665e;
  margin-bottom: 16px;
}

.page-products .benefit-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .benefit-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #3d3a34;
}

.page-products .benefit-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--c-glacier);
  transform: rotate(45deg);
}

.page-products .benefits-figure {
  margin: 0;
  border: 3px solid var(--c-ink);
  box-shadow: 8px 8px 0 rgba(46, 42, 36, 0.1);
}

.page-products .benefits-figure img,
.page-products .league-figure img,
.page-products .plan-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .login-section {
  padding: 48px 0 64px;
  background: var(--c-sand);
  border-top: 3px solid var(--c-ink);
  border-bottom: 3px solid var(--c-ink);
}

.page-products .login-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-products .login-visual {
  margin: 0;
  position: relative;
}

.page-products .login-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 3px solid var(--c-ink);
  box-shadow: 10px 10px 0 rgba(46, 42, 36, 0.12);
  transform: rotate(-1.5deg);
}

.page-products .login-visual figcaption {
  border-top: 2px solid var(--c-ink);
}

.page-products .login-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .login-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(46, 42, 36, 0.25);
}

.page-products .login-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .login-steps__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-flame);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-ink);
  background: var(--c-snow);
}

.page-products .login-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3d3a34;
}

.page-products .login-steps strong {
  font-weight: 900;
  color: var(--c-ink);
  margin-right: 6px;
}

.page-products .login-note {
  margin-top: 24px;
  background: var(--c-glacier);
  color: #fff;
  padding: 14px 18px;
  border-left: 6px solid var(--c-rio);
  font-size: 14px;
  line-height: 1.7;
}

.page-products .login-note p {
  margin: 0;
}

.page-products .refresh-section {
  padding: 64px 0;
  background: var(--c-night);
  position: relative;
  overflow: hidden;
}

.page-products .refresh-section::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 55%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(91, 143, 185, 0.18) 0 2px,
    transparent 2px 18px
  );
  pointer-events: none;
}

.page-products .refresh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-products .refresh-copy h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-gold);
  margin: 24px 0 8px;
}

.page-products .refresh-copy h3:first-child {
  margin-top: 0;
}

.page-products .refresh-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 246, 227, 0.82);
  margin: 0;
}

.page-products .refresh-visual {
  margin: 0;
  border: 3px solid var(--c-glacier);
}

.page-products .refresh-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .refresh-visual figcaption {
  background: var(--c-night);
  color: rgba(253, 246, 227, 0.72);
  border-top-color: var(--c-glacier);
}

.page-products .league-section {
  padding: 48px 0 64px;
}

.page-products .league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.page-products .league-block {
  background: var(--c-snow);
  border: 2px solid var(--c-ink);
  padding: 22px;
}

.page-products .league-block h3 {
  display: inline-block;
  font-size: 16px;
  font-weight: 900;
  color: var(--c-ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--c-flame);
}

.page-products .league-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .league-list li {
  padding: 8px 12px;
  background: var(--c-sand);
  border-left: 4px solid var(--c-glacier);
  font-size: 14px;
  font-weight: 700;
}

.page-products .league-figure {
  margin: 0;
  border: 3px solid var(--c-ink);
}

.page-products .plan-section {
  padding: 48px 0 64px;
  background: var(--c-sand);
  border-top: 3px solid var(--c-ink);
}

.page-products .plan-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
  border: 3px solid var(--c-ink);
  background: var(--c-snow);
}

.page-products .plan-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .plan-table th,
.page-products .plan-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(46, 42, 36, 0.15);
  border-right: 1px solid rgba(46, 42, 36, 0.15);
}

.page-products .plan-table th:first-child,
.page-products .plan-table td:first-child {
  text-align: left;
  font-weight: 700;
}

.page-products .plan-table thead th {
  background: var(--c-ink);
  color: var(--c-snow);
  font-weight: 900;
  font-family: var(--font-heading);
}

.page-products .plan-table th.plan-table__highlight,
.page-products .plan-table td.plan-table__highlight {
  background: var(--c-flame);
  color: #fff;
}

.page-products .plan-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .plan-figure {
  margin: 0 0 24px;
  border: 3px solid var(--c-ink);
}

.page-products .plan-note {
  font-size: 14px;
  color: #5a564e;
  margin: 0;
  line-height: 1.7;
}

.page-products .plan-note a {
  color: var(--c-glacier);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .products-links {
  padding: 48px 0 64px;
}

.page-products .products-links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .products-links__item {
  display: block;
  padding: 22px;
  background: var(--c-night);
  color: var(--c-snow);
  text-decoration: none;
  border-bottom: 4px solid var(--c-glacier);
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-products .products-links__item:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(46, 42, 36, 0.2);
}

.page-products .products-links__item span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--c-gold);
}

.page-products .products-links__item p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(253, 246, 227, 0.78);
}

@media (min-width: 640px) {
  .page-products .league-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .products-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-products .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .products-hero__stats dd {
    font-size: 26px;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero {
    padding: 64px 0 88px;
  }

  .page-products .products-hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
  }

  .page-products .login-section__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
  }

  .page-products .refresh-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 960px) {
  .page-products .products-links__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
