:root {
  color-scheme: light;
  --ink: #251b22;
  --muted: #675861;
  --plum: #713350;
  --rose: #f4e8ed;
  --line: #e9dce2;
  --photo-frame: radial-gradient(ellipse farthest-corner at 50% 44%, #fff 52%, #fffafb 74%, #f6e7ef 100%);
  --page: #fffdfc;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.frame { max-width: 1184px; width: calc(100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; padding: 10px; z-index: 10; background: white; }
.skip:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { min-height: 82px; }
.wordmark { font: 700 1.5rem/1 var(--serif); letter-spacing: -.055em; white-space: nowrap; text-decoration: none; }
.wordmark span { color: var(--plum); margin-left: .15em; font-weight: 400; font-style: italic; }
nav { display: flex; flex-wrap: wrap; gap: 13px 24px; }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.nav-all { color: var(--plum); }
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 430px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--rose);
}
.hero-copy { padding: clamp(30px, 6vw, 76px); align-self: center; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); }
h1, h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.hero p { max-width: 34ch; margin: 20px 0 25px; color: #533b49; }
.button { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 20px; border: 1px solid var(--plum); border-radius: 7px; background: var(--plum); color: #fff; font-weight: 650; font-size: .9rem; text-decoration: none; }
.button:hover { background: #54243b; }
.button-outline { background: transparent; color: var(--plum); }
.button-outline:hover { background: var(--rose); }
.hero-image { position: relative; margin: .75rem; min-width: 0; }
.hero-image a { position: relative; display: block; height: 100%; min-height: inherit; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; text-decoration: none; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption { display: grid; gap: 2px; position: absolute; inset: auto .75rem .75rem; background: linear-gradient(135deg, #fff, #fdf5f9); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.hero-image a:hover figcaption strong { text-decoration: underline; text-underline-offset: .18em; }
.hero-image figcaption span { color: var(--plum); font-size: .8rem; font-weight: 700; }
.hero-image figcaption strong { font: 700 1.28rem/1.2 var(--serif); }
.home-guides, .listing { margin-top: 56px; margin-bottom: 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 20px; }
.section-heading h2, .related h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.topic-links { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-links a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: .85rem; text-decoration: none; text-align: center; }
.topic-links a:hover { background: var(--rose); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; border-radius: 12px; overflow: hidden; }
.card:hover { border-color: #cba3b5; }
.card-media { display: block; aspect-ratio: 2.04; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-copy { padding: 20px; }
.without-photo { background: linear-gradient(145deg, #fcf4f7 0%, #fff 90%); }
.without-photo .card-copy { margin: auto 0; }
.topic { margin: 0 0 8px; font-size: .85rem; font-weight: 700; color: var(--plum); }
.topic a { text-decoration: none; }
.card h3 { margin: 0; font-size: 1.34rem; line-height: 1.18; letter-spacing: -.025em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.excerpt { margin: 9px 0 0; color: var(--muted); font-size: .93rem; }
.browse-more { margin: 24px 0 0; text-align: center; }
.hero .button, .home-guides .button { border-radius: 999px; padding-inline: 1.35rem; }
.home-guides .button-outline { background: linear-gradient(135deg, #fff, #f8edf2); }
.home-guides .button-outline:hover { background: var(--rose); }
.home-guides .topic-links a { background: linear-gradient(135deg, #fff, #faf1f5); }
.home-guides .topic-links a:hover { background: var(--rose); border-color: #cba3b5; }
.home-guides .card { border-radius: 16px; background: linear-gradient(160deg, #fff 55%, #fcf4f8); }
.home-guides .card:focus-within { border-color: #cba3b5; }
.home-guides .card-media { margin: .5rem .5rem 0; border: 1px solid var(--line); border-radius: 11px; }
.home-guides .card h3 a:focus-visible { outline-offset: 2px; }
.listing h1, .article-top h1 { font-size: clamp(2.55rem, 6.2vw, 4.5rem); text-wrap: balance; }
.listing-intro { margin-bottom: 24px; }
.listing-intro p { color: var(--muted); }
.article-top { margin-top: 58px; max-width: 890px; text-align: center; }
.breadcrumbs { justify-content: center; align-items: center; gap: 9px; color: var(--plum); margin-bottom: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.article-media { max-width: 860px; margin-top: 26px; }
.article-media img { width: 100%; max-height: 500px; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; }
.article-body { max-width: 720px; width: calc(100% - 48px); margin: 32px auto 56px; line-height: 1.74; overflow-wrap: anywhere; }
.article-body h2 { margin: 36px 0 12px; font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1.12; }
.article-body h3 { margin: 25px 0 10px; font-size: 1.5rem; line-height: 1.25; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 18px; }
.article-body a { color: #773355; text-underline-offset: 3px; }
.article-body figure { margin: 20px 0; }
.article-body img { border-radius: 8px; max-height: 440px; object-fit: contain; }
.table-scroll { overflow-x: auto; margin-bottom: 18px; }
table { border-collapse: collapse; min-width: 100%; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; }
.quick { background: #faf0f4; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.quick h2 { font-size: 1.7rem; }
.quick ul { margin: 0; padding: 0; list-style: none; }
.quick li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #dfcbd5; }
.quick li > span { font-weight: 650; }
.quick li a { flex: 0 0 auto; font-size: .85rem; font-weight: 700; }
.related { margin-bottom: 60px; }
.related h2 { margin-bottom: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: #faf2f5; }
.footer-row { flex-wrap: wrap; }
.affiliate-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 850px) {
  .frame { width: calc(100% - 40px); }
  .header-row { gap: 12px; }
  nav { gap: 10px 15px; }
  .hero { min-height: 350px; }
  .hero-copy { padding: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 585px) {
  .frame { width: calc(100% - 32px); }
  .header-row, .footer-row { flex-direction: column; align-items: flex-start; padding: 16px 0; gap: 13px; }
  nav a { font-size: .85rem; }
  .hero { grid-template-columns: 1fr; margin-top: 20px; }
  .hero-copy { padding: 25px 20px 27px; }
  .hero-image { min-height: 235px; margin: 0 .5rem .5rem; }
  .hero-image figcaption { inset: auto 12px 12px; padding: 9px 12px; }
  .desktop-break { display: none; }
  .home-guides, .listing { margin-top: 34px; margin-bottom: 42px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card-copy { padding: 16px; }
  .article-top { margin-top: 36px; }
  .article-body { width: calc(100% - 32px); margin-top: 24px; }
  .quick { padding-inline: 15px; }
  .quick li { align-items: flex-start; flex-direction: column; gap: 2px; }
  .site-footer { padding: 6px 0; }
}

.article-body img, .article-media img { margin-inline: auto; }
.article-body .guide-intro { font-size: 1.12rem; }
.article-body .guide-disclosure { color: var(--muted); font-size: .875rem; }
.article-body .guide-table { border: 1px solid var(--line); border-radius: 8px; }
.article-body .guide-table table { min-width: 22rem; }
.article-body .guide-table th[scope="row"] { background: transparent; font-weight: 650; }
.guide-product { border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
.article-body .guide-product h3 { margin-top: 0; }
.article-body .product-spec { font-weight: 650; color: var(--muted); }
.article-body .product-photo {
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem auto;
  padding: clamp(.65rem, 2vw, 1rem);
  background: var(--photo-frame);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-body .product-photo img { max-width: min(100%, 25rem); max-height: 23rem; }
.article-body .product-photo a { display: block; border-radius: 8px; }
.article-body .product-action { margin-bottom: 0; text-align: center; }
.article-body .amazon-cta { color: #fff; text-decoration: none; }
.routine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .8rem; margin-block: 1rem; }
.routine-grid > div { background: var(--rose); border-radius: 8px; padding: 1rem; }
.article-body .routine-grid h3 { margin: 0 0 .5rem; }
.article-body .routine-grid ol { margin: 0; padding-left: 1.15rem; }

/* Keep both data columns inside the rounded frame at every width. */
.article-body .guide-table table { width: 100%; min-width: 0; table-layout: fixed; }
.article-body .guide-table th, .article-body .guide-table td {
  padding: .8rem clamp(.55rem, 2vw, 1rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}
.article-body .guide-table th + th, .article-body .guide-table th + td { border-left: 1px solid var(--line); }
.article-body .guide-table thead th { background: var(--rose); }
.article-body .guide-table th:first-child { width: 45%; }
.article-body .guide-table tbody tr:nth-child(even) { background: #fcf7f9; }
.article-body .guide-table tr:last-child > * { border-bottom: 0; }
.article-body .guide-table thead th { border-bottom: 1px solid var(--line); }
.guide-jumps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin: 1.3rem 0 .85rem; }
.article-body .guide-jumps a { display: flex; align-items: center; gap: .55rem; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .65rem; text-decoration: none; background: #fcf7f9; }
.guide-jumps a:hover { border-color: var(--plum); }
.guide-jumps a span, .pick-number { display: inline-grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--rose); color: var(--plum); font: 700 .9rem/1 system-ui, sans-serif; }
.guide-product h3 { display: flex; align-items: baseline; gap: .55rem; }
.guide-product .pick-number { align-self: start; }
.table-rank { font-variant-numeric: tabular-nums; margin-right: .15em; }
.article-body h2[id], .article-body h3[id] { scroll-margin-top: 1rem; }
@media (max-width: 480px) {
  .guide-jumps { grid-template-columns: 1fr; }
  .article-body .guide-table { font-size: .875rem; }
}

.article-product-gallery {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: .75rem;
}
.article-product-gallery figure {
  min-width: 0;
  margin: 0;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--photo-frame);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.article-product-gallery img {
  width: 100%;
  height: clamp(150px, 26vw, 235px);
  object-fit: contain;
  border-radius: 8px;
}
.article-product-gallery figcaption {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
  text-align: center;
  padding: .5rem .25rem .1rem;
}
.card.product-cover .card-media { background: var(--photo-frame); border-bottom: 1px solid var(--line); }
.card.product-cover .card-media img { object-fit: contain; padding: .7rem; }

/* White packshot backgrounds pick up the fade at the frame edges. */
.article-body .product-photo,
.article-product-gallery figure,
.card.product-cover .card-media { isolation: isolate; }

.article-body .product-photo img,
.article-product-gallery img,
.card.product-cover .card-media img { mix-blend-mode: multiply; }

.comparison-fit { display: block; margin-top: .3rem; color: var(--muted); font-size: .9em; }
.article-product-gallery:has(figure:only-child) { max-width: 470px; }
.article-visual-steps {
  margin: 24px auto 0;
  padding: 0;
  width: calc(100% - 32px);
  max-width: 860px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: .75rem;
}
.article-visual-steps li { display: grid; gap: .4rem; padding: 1rem; background: #fcf7f9; border: 1px solid var(--line); border-radius: 12px; }
.article-visual-steps li > span:last-child { font-size: .92rem; color: var(--muted); }
.step-icon { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--plum); font-weight: 700; }
.article-body .guide-video, .article-body .quote-chart { margin: 1.7rem 0; padding: 1rem; background: #fcf7f9; border: 1px solid var(--line); border-radius: 12px; }
.guide-video a { font-weight: 700; }
.guide-video a span { color: var(--plum); margin-right: .3em; }
.article-body .guide-video p, .article-body .quote-chart p { margin: .4rem 0 0; font-size: .91rem; color: var(--muted); }
.quote-chart figcaption { font-weight: 750; }
.article-body .quote-chart ul { list-style: none; padding: 0; margin: .7rem 0; }
.quote-chart li { display: grid; grid-template-columns: minmax(5rem,1.3fr) minmax(2.5rem,1fr) 2.5rem; align-items: center; gap: .45rem; }
.quote-chart meter { width: 100%; accent-color: var(--plum); }
.quote-chart meter::-webkit-meter-optimum-value { background: var(--plum); }
.quote-chart meter::-moz-meter-bar { background: var(--plum); }

.article-body .guide-comparison ul { margin-bottom: 0; }
.guide-comparison li {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: baseline;
  padding: .56rem 0;
  border-top: 1px solid var(--line);
}
.guide-comparison li strong { position: relative; padding-left: .95rem; }
.guide-comparison li strong::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: .47rem;
  height: .47rem;
  border-radius: 50%;
  background: var(--plum);
}
.guide-comparison li span { color: var(--muted); }
@media (max-width: 430px) {
  .guide-comparison li { grid-template-columns: 1fr; gap: .15rem; }
  .guide-comparison li span { padding-left: .95rem; }
}
