/* whiteningchoice.com: Calm arches. One shape, the arch; controls are pills; everything else is square. */
:root {
  --forest: #123524;
  --forest-tint: #234a37;
  --forest-soft: #3b5a4a;
  --pistachio: #dce8b8;
  --pistachio-soft: #eef3dc;
  --lilac: #cdbdf2;
  --lilac-soft: #ece6fa;
  --pearl: #fcfcf7;
  --line: rgba(18, 53, 36, .2);
  --line-dark: rgba(252, 252, 247, .24);
  --arch: 999px 999px 0 0;
  --display: "Yeseva One", Georgia, "Times New Roman", serif;
  --body: "Ysabeau Office", "Segoe UI", Helvetica, Arial, sans-serif;
  --page: 1280px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--page)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--forest);
  font: 400 19px/1.6 var(--body);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.banner_panel :focus-visible, .item_top :focus-visible { outline-color: var(--pistachio); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* strip and header */

.topbar_row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
  padding: 24px var(--edge);
}
.logo_link { display: block; max-width: 100%; }
.site_logo { height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.share_row { display: flex; gap: 6px; }
.share_ico {
  display: grid; place-items: center;
  width: 44px; height: 50px; padding-top: 4px;
  border-radius: var(--arch);
  background: var(--pistachio-soft);
  color: var(--forest);
  transition: background-color .2s;
}
.share_ico:hover { background: var(--pistachio); }

/* buttons */
.go_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 32px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--pearl);
  font-size: 20px; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none;
  transition: background-color .2s;
}
.go_btn:hover { background: var(--forest-tint); }
.item_top .go_btn { background: var(--pistachio); color: var(--forest); }
.item_top .go_btn:hover { background: var(--pearl); }

.pf_reset {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid currentColor;
  font-size: 18px; font-weight: 500; line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

/* hero */
.banner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}
.banner_panel {
  background: var(--forest);
  color: var(--pearl);
  min-height: 420px;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px) var(--edge);
}
.banner_title {
  font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  line-height: 1.16;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.dateline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 19px; }
.ad_banner { margin-bottom: 24px; padding: 18px 20px; background: var(--pistachio); color: var(--forest); font-size: 18px; line-height: 1.5; }
.check_mark { color: var(--pistachio); width: 24px; height: 24px; }

.arch_stage { display: flex; justify-content: center; padding: 0 clamp(32px, 6vw, 96px); }
.arch_frame { position: relative; width: min(420px, 100%); }
.arch_frame::before {
  content: "";
  position: absolute; inset: 0 -22px 0 22px;
  border-radius: var(--arch);
  background: var(--lilac);
}
.hero_arch {
  position: relative;
  aspect-ratio: 420 / 660;
  border-radius: var(--arch);
  background: var(--pistachio);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 4%;
  padding: 0 9% 0;
  animation: arch_rise 2.2s cubic-bezier(.22, .7, .18, 1) .15s both;
}
.hero_jar { width: 94%; }
.seal_img { width: 84%; }
.seal_img img { width: 100%; }
@keyframes arch_rise {
  from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
  to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
}

/* intro */
.lead_section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas: "copy notice";
  gap: 40px clamp(48px, 8vw, 128px);
  padding: clamp(64px, 9vw, 128px) var(--edge) clamp(64px, 8vw, 112px);
}
.lead_copy { grid-area: copy; max-width: 680px; }
.lead_copy p + p { margin-top: 1.1em; }
.lead_copy p:first-child { font-size: clamp(21px, 2vw, 24px); line-height: 1.45; }
.notice_box {
  grid-area: notice;
  align-self: start;
  border-radius: var(--arch);
  background: var(--lilac-soft);
  padding: 124px 40px 44px;
  font-size: 18px;
}
.notice_box p:first-child { font-family: var(--display); font-size: 26px; line-height: 1.2; margin-bottom: 16px; text-align: center; }
.notice_box p:first-child strong { font-weight: 400; }

/* filter bar */
.listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  padding: 0 var(--edge);
}
.pf_bar, .pf_empty, .item_top { grid-column: 1 / -1; }
.pf_pill {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pearl);
  padding: 10px 14px 10px 32px;
}
.pf_search { flex: 1 1 auto; min-width: 0; padding-right: 20px; }
.pf_label { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: -4px; }
.pf_input_wrap { display: flex; align-items: center; gap: 10px; }
.pf_input_wrap .ic { width: 18px; height: 18px; color: var(--forest-soft); }
.pf_input_wrap input {
  flex: 1; min-width: 0; width: 100%;
  border: 0; background: transparent;
  font-size: 18px; min-height: 44px; padding: 0;
  outline-offset: 2px;
}
.pf_input_wrap input::placeholder { color: var(--forest-soft); opacity: 1; }
.pf_filters { display: flex; align-items: center; flex: none; }
.pf_field { padding: 0 16px; border-left: 1px solid var(--line); }
.pf_field select {
  appearance: none; -webkit-appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23123524' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
  font-size: 18px; min-height: 44px; padding: 0 22px 0 0;
  cursor: pointer;
}
.pf_reset { margin-left: 4px; border-color: transparent; background: var(--lilac-soft); min-height: 48px; }
.pf_reset:hover { background: var(--lilac); }
.pf_count { margin: 14px 32px 0; text-align: right; font-size: 18px; }
.pf_empty { background: var(--lilac-soft); padding: 32px; text-align: center; }
.pf_link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* product shared */
.item_grid { display: grid; }
.item_visual { grid-area: visual; min-width: 0; }
.item_specs { grid-area: specs; min-width: 0; }
.item_score { grid-area: score; min-width: 0; }
.item_action { grid-area: action; min-width: 0; }

.niche {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--pearl);
  text-decoration: none;
}
.item_photo { mix-blend-mode: multiply; }
.item_label { line-height: 1.12; }

.score_tag { display: block; font-size: 18px; font-weight: 500; }
.score_num { display: block; font-family: var(--display); line-height: 1; }
.stars, .writer_stars { display: flex; gap: 3px; color: var(--forest); }
.star { width: 20px; height: 20px; stroke-width: 1.6; }
.star.is_on { fill: currentColor; }
.reviews_note { display: block; font-size: 18px; margin-top: 4px; }

.item_action { display: flex; flex-direction: column; align-items: stretch; }
.price_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.price_now { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.store_badge { width: 80px; height: auto; }
.ship_note { font-size: 18px; line-height: 1.35; margin-top: 2px; }
.merchant_domain { display: block; margin-top: 8px; font-size: 16px; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }

.pros li, .cons li, .pros_items li { position: relative; padding-left: 30px; line-height: 1.42; }
.pros li + li, .cons li + li, .pros_items li + li { margin-top: 9px; }
.pros li::before, .cons li::before, .pros_items li::before {
  content: "";
  position: absolute; left: 0; top: .16em;
  width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.pros li, .pros_items li { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cons li { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.cons { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

/* #1: full-width forest panel */
.item_top {
  background: var(--forest);
  color: var(--pearl);
  padding: clamp(28px, 5vw, 72px);
  margin-top: 12px;
}
.item_top .item_grid {
  grid-template-columns: 300px minmax(0, 1fr) minmax(0, 300px);
  grid-template-areas: "visual score action" "visual specs specs";
  gap: 40px clamp(32px, 4.5vw, 64px);
}
.item_top .niche { width: 300px; height: 400px; padding: 0 24px 28px; }
.item_top .niche .item_photo { width: 100%; }
.item_top .item_label { font-size: clamp(28px, 2.6vw, 36px); margin-top: 24px; }
.ribbon {
  display: inline-block;
  margin-top: 12px; padding: 6px 18px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--forest);
  font-size: 18px; font-weight: 700; line-height: 1.3;
}
.item_top .score_num { font-size: clamp(56px, 6vw, 80px); margin: 2px 0 10px; }
.item_top .stars { color: var(--pistachio); }
.item_top .star { width: 24px; height: 24px; }
.promo_tip { font-size: 18px; margin-bottom: 12px; }
.item_top .item_action { align-self: end; }
.item_top .price_now { font-size: 38px; }
.item_top .pros { columns: 2; column-gap: 40px; }
.item_top .pros li { break-inside: avoid; margin: 0 0 11px; }
.item_top .pros li::before { color: var(--pistachio); }
.item_top .cons { columns: 2; column-gap: 40px; border-top-color: var(--line-dark); margin-top: 14px; }
.item_top .cons li { break-inside: avoid; margin: 0 0 8px; }
.item_top .cons li::before { color: var(--lilac); }

/* #2 to #5: airy tonal tiles */
.item_tile { padding: clamp(28px, 3.6vw, 52px); }
.tone_lilac { background: var(--lilac-soft); }
.tone_pistachio { background: var(--pistachio-soft); }
.item_tile .item_grid {
  grid-template-columns: clamp(150px, 16vw, 216px) minmax(0, 1fr);
  grid-template-areas: "visual score" "visual action" "specs specs";
  grid-template-rows: auto 1fr auto;
  gap: 24px clamp(24px, 3vw, 40px);
}
.item_tile .niche { padding: clamp(36px, 4vw, 52px) 16px 18px; }
.rank_num { font-family: var(--display); font-size: 34px; line-height: 1; margin-bottom: 14px; }
.item_tile .item_label { font-size: clamp(26px, 2.5vw, 32px); margin-top: 18px; }
.item_tile .score_num { font-size: clamp(44px, 4vw, 56px); margin: 2px 0 8px; }
.item_tile .item_specs { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }


/* recommendation */
.rec_section { padding: clamp(80px, 11vw, 160px) var(--edge); }
.rec_wrap {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}
.rec_main { grid-column: 2; grid-row: 1; min-width: 0; }
.aside_col { grid-column: 1; grid-row: 1; position: sticky; top: 32px; }

.rec_box { background: var(--pistachio-soft); padding: clamp(28px, 4vw, 52px); }
.rec_title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; margin-bottom: 28px; }
.rec_body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 3.4vw, 48px); align-items: end; }
.pros_title { font: 700 21px/1.3 var(--body); margin-bottom: 14px; }
.rec_photo a { display: block; }
.rec_photo img {
  width: 100%; aspect-ratio: 300 / 430;
  object-fit: cover; object-position: 38% 50%;
  border-radius: var(--arch);
}

.pick_text { margin-top: clamp(40px, 5vw, 64px); max-width: 680px; }
.pick_text p + p { margin-top: 1.15em; }
.pick_action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; }
.go_btn_lg { min-height: 60px; padding: 14px 40px; font-size: 21px; }
.go_btn_lg .ic { width: 24px; height: 24px; }
.offer_line { font-size: 18px; }

.writer_box {
  display: flex; gap: 32px; align-items: flex-start;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.writer_photo { flex: none; width: 132px; }
.writer_photo img {
  width: 132px; height: 132px;
  object-fit: contain;
}
.writer_name { font-size: 20px; }
.writer_bio { font-size: 18px; line-height: 1.55; }

.aside_window {
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--pistachio-soft);
  padding: 44px 16px 0;
  margin-bottom: 24px;
}
.aside_img { width: 100%; mix-blend-mode: multiply; }
.aside_heading { display: block; font-family: var(--display); font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
.aside_method { margin-top: 28px; padding: 28px; background: var(--lilac-soft); font-size: 18px; line-height: 1.55; }
.aside_method h3 { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }

/* footer */
.footer_main { background: var(--pistachio); padding: clamp(56px, 7vw, 96px) var(--edge) clamp(56px, 6vw, 80px); }
.footer_grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "logo logo" "info disc";
  gap: clamp(36px, 5vw, 64px) clamp(40px, 8vw, 120px);
  font-size: 18px; line-height: 1.5;
}
.footer_logo { grid-area: logo; }
.footer_info { grid-area: info; }
.footer_disc { grid-area: disc; }
.footer_title { font: 400 28px/1.2 var(--display); margin-bottom: 16px; }
.footer_nav { columns: 2; column-gap: 32px; margin-bottom: 24px; }
.footer_nav a { display: inline-block; padding: 9px 0; text-underline-offset: 3px; }
.footer_nav a:hover { text-decoration-thickness: 2px; }
.footer_info p + p { margin-top: 8px; }

/* back to top: a small doorway on the viewport floor */
.up_btn {
  position: fixed; right: clamp(16px, 3vw, 40px); bottom: 0; z-index: 10;
  width: 52px; height: 64px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--arch);
  background: var(--forest); color: var(--pistachio);
  cursor: pointer;
  visibility: hidden; opacity: 0;
  transition: opacity .2s, visibility .2s;
}
.up_btn.is_open { visibility: visible; opacity: 1; }
.up_btn .ic { width: 24px; height: 24px; }
.up_btn:focus-visible { outline-offset: -6px; outline-color: var(--pistachio); }

/* responsive */
@media (max-width: 1180px) {
  .pf_pill { flex-wrap: wrap; border-radius: 36px; padding: 18px 24px; gap: 14px 0; }
  .pf_search { flex: 1 0 100%; padding-right: 0; }
  .pf_filters { flex: 1 0 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
  .pf_field { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .pf_field:first-child { border-left: 0; padding-left: 0; }
  .pf_field select { width: 100%; text-overflow: ellipsis; }
  .item_top .item_grid {
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-areas: "visual score" "visual action" "specs specs";
  }
  .item_top .niche { width: 260px; height: 350px; }
  .item_top .item_action { align-self: start; }
}

@media (max-width: 1000px) {
  .rec_wrap { grid-template-columns: minmax(0, 1fr); }
  .rec_main, .aside_col { grid-column: 1; grid-row: auto; }
  .aside_col { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .aside_method { margin-top: 0; }
  .pick_text { max-width: none; }
}

@media (max-width: 900px) {
  .listings { grid-template-columns: minmax(0, 1fr); }
  .item_tile .item_grid { grid-template-columns: 200px minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .banner { grid-template-columns: minmax(0, 1fr); }
  .banner_panel { min-height: 0; padding: 48px var(--gutter) 40px; }
  .arch_stage { padding: 48px 48px 0 26px; }
  .arch_frame { width: min(340px, 100%); }
  .lead_section { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "notice"; }
  .lead_copy { max-width: none; }
  .notice_box { max-width: 480px; }
  .footer_grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "info" "disc"; }
}

@media (max-width: 680px) {
  .aside_col { grid-template-columns: minmax(0, 1fr); }
  .aside_window { max-width: 320px; }
  .rec_body { grid-template-columns: minmax(0, 1fr); }
  .rec_photo { order: -1; }
  .rec_photo img { max-width: 300px; margin: 0 auto; }
  .writer_box { gap: 20px; }
  .writer_photo, .writer_photo img { width: 100px; }
  .writer_photo img { height: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  .topbar_row { padding: 18px var(--gutter); }
  .share_ico { width: 46px; }

  .pf_filters { flex-wrap: wrap; gap: 14px 0; }
  .pf_field { flex: 0 0 50%; }
  .pf_field:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pf_input_wrap input, .pf_field select { font-size: 16px; min-height: 44px; }
  .pf_reset { flex: 1 0 100%; justify-content: center; margin-left: 0; }
  .pf_count { margin: 12px 0 0; text-align: left; }

  .item_top .item_grid, .item_tile .item_grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "visual" "score" "action" "specs";
    gap: 22px;
  }
  .item_visual { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .item_top .niche { width: 220px; height: 290px; padding: 0 16px 18px; }
  .item_tile .niche { width: 190px; padding: 34px 14px 14px; }
  .item_score {
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  }
  .score_tag { grid-column: 1 / -1; }
  .item_top .score_num, .item_tile .score_num { grid-row: 2 / span 2; font-size: 60px; margin: 0; }
  .stars { align-self: end; }
  .reviews_note { align-self: start; margin-top: 2px; }
  .go_btn { width: 100%; }
  .pick_action { align-items: stretch; }
  .item_top .pros, .item_top .cons { columns: 1; }
  .item_tile .item_specs { margin-top: 0; }
  .footer_nav { columns: 1; }
  .footer_nav a { padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero_arch { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
