.tips-page {
  background:
    radial-gradient(ellipse at 83% 12%, rgba(49, 112, 147, .12), transparent 35%),
    var(--bg);
}

.tips-page .site-header {
  position: absolute;
}

.tips-main {
  min-height: calc(100vh - 86px);
  padding-top: 151px;
  padding-bottom: 94px;
}

.tips-heading {
  max-width: 760px;
  margin-bottom: 39px;
}

.tips-heading .eyebrow {
  margin-bottom: 15px;
}

.tips-heading h1 {
  margin-bottom: 13px;
}

.tips-intro {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.tips-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(275px, .65fr);
  align-items: stretch;
  gap: 17px;
}

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

.tips-editorial {
  margin-top: 17px;
}

.tip-card {
  min-width: 0;
  padding: 29px;
  border: 1px solid var(--line);
  background: rgba(16, 26, 42, .78);
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
  border-color: rgba(117, 200, 243, .34);
}

.tip-card--sponsored {
  background: linear-gradient(145deg, rgba(18, 37, 56, .94), rgba(13, 20, 33, .88));
}

.tip-card--editorial {
  background: rgba(13, 20, 33, .86);
}

.tip-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--blue);
  font: 9px var(--mono);
  letter-spacing: .1em;
  line-height: 1.6;
}

.tip-label::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.tip-label--editorial {
  color: #aab8ca;
}

.tip-product-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tip-product-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(117, 200, 243, .35);
  border-radius: 50%;
  color: var(--blue-bright);
  font: 11px var(--mono);
}

.tip-product-kicker {
  margin: 0 0 2px;
  color: #778ba3;
  font: 8px var(--mono);
  letter-spacing: .13em;
}

.tips-page .tip-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.3;
}

.tip-description {
  max-width: 660px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.tip-benefits {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.tip-benefits li {
  position: relative;
  padding-left: 21px;
  color: #c5d1df;
  font-size: 11px;
  line-height: 1.8;
}

.tip-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  content: "↗";
}

.tip-note {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-left: 2px solid rgba(117, 200, 243, .55);
  background: rgba(8, 13, 23, .58);
  color: #b8c5d5;
  font-size: 10px;
  line-height: 1.8;
}

.tip-caveat {
  margin: 0 0 21px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.8;
}

.tip-cta {
  width: max-content;
}

.tips-page .editorial-title {
  max-width: 300px;
  margin-bottom: 14px !important;
  font-size: 22px !important;
}

.tip-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tip-steps li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  color: #c5d1df;
  font-size: 11px;
  line-height: 1.8;
}

.step-index {
  color: var(--blue);
  font: 9px var(--mono);
}

.tips-sources {
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.8;
}

.tips-sources a {
  color: #9fb5ca;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tips-sources a:hover {
  color: var(--blue-bright);
}

.tips-page a:focus-visible,
.tips-page button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .tips-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
  }

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

  .tip-card {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .tips-main {
    min-height: auto;
    padding-top: 113px;
    padding-bottom: 67px;
  }

  .tips-heading {
    margin-bottom: 26px;
  }

  .tips-heading h1 {
    font-size: clamp(36px, 9vw, 50px);
  }

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tips-editorial {
    margin-top: 12px;
  }

  .tip-card {
    padding: 22px 18px;
  }

  .tip-label {
    margin-bottom: 19px;
  }

  .tips-page .tip-card h2 {
    font-size: 25px;
  }

  .tip-cta {
    width: 100%;
  }
}

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

  .tip-card:hover {
    transform: none;
  }
}
