.how-tos-page .how-tos-main {
  width: min(100% - 80px, 1200px);
  padding: 42px 0 88px;
}

.how-tos-page .how-tos-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  padding: 8px 0 38px;
}

.how-tos-page .how-tos-hero-copy { max-width: 760px; }

.how-tos-page .how-tos-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.2vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.how-tos-hero-lede {
  max-width: 650px;
  color: #4d5b53;
  font-size: 1.13rem;
  line-height: 1.55;
}

.how-tos-hero-note {
  max-width: 650px;
  margin-top: 18px;
  padding-left: 15px;
  border-left: 3px solid #afd3a7;
  color: #627067;
  font-size: .88rem;
  line-height: 1.5;
}

.how-tos-index {
  padding: 20px 24px;
  border: 1px solid #d7e1d4;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 36px rgba(5, 18, 14, .06);
}

.how-tos-index > p {
  margin-bottom: 5px;
  color: #506859;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.how-tos-index a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 2px;
  border-top: 1px solid #e5ebe2;
  font-size: .91rem;
}

.how-tos-index a > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6f2e2;
  color: #245f39;
  font-size: .73rem;
  font-weight: 900;
}

.how-tos-index a strong { font-weight: 800; }
.how-tos-index a b { color: #2a7441; font-size: 1.2rem; }
.how-tos-index a:hover strong,
.how-tos-index a:focus-visible strong { color: #1a6935; }

.how-tos-page .how-tos-section {
  padding-top: 34px;
  border-top: 1px solid #d8dfd5;
  scroll-margin-top: 24px;
}

.how-tos-page .how-tos-section + .how-tos-section { margin-top: 66px; }

.how-tos-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr);
  gap: 8px 30px;
  align-items: start;
  margin-bottom: 24px;
}

.how-tos-section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.how-tos-section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.how-tos-section-heading > p:last-child {
  max-width: 450px;
  color: #637067;
  font-size: .96rem;
  line-height: 1.55;
}

.how-tos-ebay-card,
.how-tos-resource-card {
  border: 1px solid #d1ddd0;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(5, 18, 14, .055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.how-tos-ebay-card:hover,
.how-tos-resource-card:hover,
.how-tos-provider-link:hover {
  transform: translateY(-2px);
  border-color: #85b884;
  box-shadow: 0 19px 40px rgba(5, 18, 14, .1);
}

.how-tos-ebay-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: linear-gradient(120deg, #f0f8ee, #fff);
}

.how-tos-card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.how-tos-ebay-card h3 {
  margin: 15px 0 7px;
  font-size: clamp(1.48rem, 2.1vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.how-tos-ebay-card p { max-width: 700px; color: #5c6960; font-size: .94rem; }

.how-tos-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.how-tos-topic-list li {
  padding: 5px 10px;
  border: 1px solid #d2e0cf;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #4f6253;
  font-size: .74rem;
  font-weight: 800;
}

.how-tos-card-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1b6137;
  font-size: .9rem;
  font-weight: 900;
  white-space: nowrap;
}

.how-tos-card-action b { font-size: 1.2rem; }

.how-tos-chooser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid #2b5a3d;
  border-radius: var(--radius);
  background: radial-gradient(circle at 92% 8%, rgba(135, 217, 120, .17), transparent 33%), linear-gradient(130deg, #0a261a, #12452d);
  box-shadow: var(--shadow-soft);
  color: #f8fff5;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.how-tos-chooser:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.how-tos-chooser-eyebrow {
  margin-bottom: 7px;
  color: #9de093;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.how-tos-chooser h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.04em; }
.how-tos-chooser div > p:last-child { margin-top: 7px; color: #d5e8d7; font-size: .89rem; }

.how-tos-chooser > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 17px;
  border-radius: 9px;
  background: #a1df92;
  color: #102e1d;
  font-size: .88rem;
  font-weight: 900;
  white-space: nowrap;
}

.how-tos-chooser > span b { font-size: 1.2rem; }

.how-tos-provider-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 22px;
  margin: 32px 0 15px;
}

.how-tos-provider-heading h3 { font-size: 1.27rem; letter-spacing: -.035em; }
.how-tos-provider-heading p { color: #637067; font-size: .86rem; }

.how-tos-provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.how-tos-provider-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid #d7ddd4;
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 9px 24px rgba(5, 18, 14, .045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.how-tos-provider-link .guide-provider-mark { min-height: 35px; padding: 0 10px; font-size: .78rem; }
.how-tos-provider-link > span:last-child { color: #45694e; font-size: .74rem; font-weight: 900; white-space: nowrap; }
.how-tos-provider-link b { margin-left: 3px; font-size: 1rem; }

.how-tos-safety {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid #cddfc9;
  border-radius: 14px;
  background: #eef7eb;
}

.how-tos-safety-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding-bottom: 9px;
  border: 1px solid #97bd94;
  border-radius: 9px;
  color: #316f42;
  font-size: 1.25rem;
  letter-spacing: .04em;
}

.how-tos-safety h3 { font-size: 1rem; }
.how-tos-safety p { margin-top: 3px; color: #536358; font-size: .84rem; line-height: 1.48; }
.how-tos-safety a { color: #1c6439; font-size: .82rem; font-weight: 900; text-decoration: underline; }

.how-tos-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.how-tos-resource-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 27px 29px;
  background: #fff;
}

.how-tos-resource-card:first-child { background: linear-gradient(135deg, #f1f8ee, #fff); }
.how-tos-resource-card h3 { max-width: 440px; font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.18; letter-spacing: -.045em; }
.how-tos-resource-card p { max-width: 460px; margin-top: 9px; color: #5d6a61; font-size: .9rem; }
.how-tos-resource-card .how-tos-card-action { margin-top: auto; padding-top: 20px; }

.how-tos-page .how-tos-main a:focus-visible { outline: 3px solid #6eb86d; outline-offset: 3px; }

@media (max-width: 980px) {
  .how-tos-page .how-tos-hero { grid-template-columns: 1fr; gap: 28px; }
  .how-tos-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-tos-index > p { grid-column: 1 / -1; }
  .how-tos-index a { padding-right: 12px; padding-left: 12px; }
  .how-tos-index a:not(:last-child) { border-right: 1px solid #e5ebe2; }
  .how-tos-provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .how-tos-page .how-tos-main { width: auto; padding: 32px 22px 76px; }
  .how-tos-page .how-tos-hero h1 { font-size: clamp(2.7rem, 8vw, 3.8rem); }
}

@media (max-width: 700px) {
  .how-tos-page .how-tos-hero { gap: 24px; padding-bottom: 30px; }
  .how-tos-index { grid-template-columns: 1fr; }
  .how-tos-index a { padding-right: 2px; padding-left: 2px; }
  .how-tos-index a:not(:last-child) { border-right: 0; }
  .how-tos-section-heading { grid-template-columns: 1fr; gap: 8px; }
  .how-tos-section-heading .section-kicker { grid-column: auto; }
  .how-tos-ebay-card,
  .how-tos-chooser { grid-template-columns: 1fr; }
  .how-tos-chooser > span { justify-self: start; }
  .how-tos-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-tos-provider-link > span:last-child { font-size: 0; }
  .how-tos-provider-link b { font-size: 1.1rem; }
  .how-tos-safety { grid-template-columns: auto minmax(0, 1fr); }
  .how-tos-safety a { grid-column: 2; }
  .how-tos-resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .how-tos-page .how-tos-main { padding: 26px 17px 66px; }
  .how-tos-page .how-tos-hero h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); }
  .how-tos-hero-lede { font-size: 1rem; }
  .how-tos-hero-note { font-size: .82rem; }
  .how-tos-index { padding: 16px 19px; }
  .how-tos-page .how-tos-section { padding-top: 28px; }
  .how-tos-page .how-tos-section + .how-tos-section { margin-top: 53px; }
  .how-tos-section-heading h2 { font-size: 2rem; }
  .how-tos-ebay-card,
  .how-tos-chooser,
  .how-tos-resource-card { padding: 22px; }
  .how-tos-provider-grid { gap: 9px; }
  .how-tos-provider-link { min-height: 60px; padding: 9px 10px; }
  .how-tos-provider-link .guide-provider-mark { min-height: 32px; padding: 0 8px; font-size: .73rem; }
  .how-tos-safety { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .how-tos-safety-icon { display: none; }
  .how-tos-safety a { grid-column: auto; }
  .how-tos-resource-card { min-height: 0; }
}
