/* 1.0.51.7 — Water Purification Field Guide product page only (body.tsd10517-water).
   1.0.51.8: stage product/gear lines removed; mobile stage grid is title + benefit only.
   1. "Any source. Five layers. Safe to drink." infographic (replaces the oversized cover card).
   2. Homepage-style FAQ cards + accordion. */

/* ============================================================ 1. Infographic */
.tsd-wx { --wx-gold: var(--tt-gold, #ffb81c); --wx-murk: #6b5a3c; --wx-clear: #8fd6ff;
  box-sizing: border-box; position: relative; isolation: isolate; overflow: hidden;
  width: min(calc(var(--tt-wide, 1240px) - 3rem), calc(100vw - 3rem)); max-width: none;
  margin: clamp(2rem, 5vw, 3.25rem) 0 clamp(2rem, 4vw, 2.75rem); padding: clamp(1.4rem, 3.4vw, 2.75rem);
  background: #070809; color: #fff; border-radius: 10px; border: 1px solid rgba(255,255,255,.10);
  font-size: 1rem; line-height: 1.5; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.tsd-wx::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(143,214,255,.10), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(255,184,28,.10), transparent 65%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px),
    var(--tsd-grain, none); }
.tsd-wx::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--wx-murk), #a08a5c 25%, var(--wx-clear) 60%, var(--wx-gold)); }
.tsd-wx__head { max-width: 46rem; margin: 0 0 clamp(1.5rem, 3.5vw, 2.4rem); }
.tsd-wx .tsd-kicker { margin: 0 0 .55rem; }
.tsd-wx__h { margin: 0 0 .7rem; padding: 0; border: 0; font-family: var(--tt-head); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: clamp(1.75rem, 4.4vw, 3.1rem); line-height: 1.0; letter-spacing: -.005em; color: #fff; }
.tsd-wx__h span { color: var(--wx-gold); }
.tsd-wx__lede { margin: 0; color: #c9ccd0; font-size: 1.06rem; max-width: 40rem; }

/* flow */
.tsd-wx__flow { position: relative; display: grid; grid-template-columns: .8fr repeat(5, minmax(0, 1fr)) .8fr; gap: clamp(.5rem, 1.2vw, .9rem); align-items: start; margin: 0 0 clamp(1.6rem, 3.6vw, 2.4rem); }
.tsd-wx__flow::before { content: ""; position: absolute; left: 3%; right: 3%; top: 34px; height: 6px; border-radius: 6px; z-index: 0;
  background: linear-gradient(90deg, var(--wx-murk), #9a8556 22%, #6fb3d6 55%, var(--wx-clear) 72%, var(--wx-gold));
  box-shadow: 0 0 18px rgba(143,214,255,.25); }
.tsd-wx__flow::after { content: ""; position: absolute; left: 3%; right: 3%; top: 34px; height: 6px; border-radius: 6px; z-index: 0; opacity: .7;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.0) 0 22px, rgba(255,255,255,.75) 22px 30px, rgba(255,255,255,0) 30px 60px);
  background-size: 60px 6px; animation: tsdWxFlow 1.6s linear infinite; }
@keyframes tsdWxFlow { to { background-position: 60px 0; } }
.tsd-wx__end { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding-top: 4px; }
.tsd-wx__end::before { content: ""; width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); flex: 0 0 auto; }
.tsd-wx__end--dirty::before { background: radial-gradient(circle at 35% 35%, #8a7550, #3b3020); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.tsd-wx__end--safe::before { background: radial-gradient(circle at 35% 35%, #fff6d8, var(--wx-gold) 55%, #b98200); box-shadow: 0 0 28px rgba(255,184,28,.55); }
.tsd-wx__end span { font-family: var(--tt-head); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #a9adb3; margin-top: .35rem; max-width: 9rem; line-height: 1.3; }
.tsd-wx__end--safe span { color: var(--wx-gold); }
.tsd-wx__stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tsd-wx__node { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: -2px 0 .85rem; border-radius: 50%;
  background: #111316; border: 2px solid var(--wx-gold); color: var(--wx-gold); box-shadow: 0 0 0 6px #070809, 0 10px 28px rgba(0,0,0,.6); transition: transform .25s, background .25s, color .25s; }
.tsd-wx__node b { position: absolute; top: -8px; right: -10px; min-width: 28px; padding: 3px 6px; border-radius: 4px; background: var(--wx-gold); color: #0b0b0b; font: 800 .72rem/1 var(--tt-head); letter-spacing: .04em; transform: skewX(-8deg); }
.tsd-wx__stage:hover .tsd-wx__node { transform: translateY(-4px); background: var(--wx-gold); color: #0b0b0b; }
.tsd-wx__st { margin: 0 0 .3rem; font-family: var(--tt-head); font-size: .86rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.tsd-wx__gear { display: none; } /* 1.0.51.8: product names no longer printed */
.tsd-wx__stops { margin: 0; font-size: .84rem; line-height: 1.4; color: #c4c7cc; }
.tsd-wx__stops span { display: block; font: 800 .6rem/1.4 var(--tt-head); letter-spacing: .18em; text-transform: uppercase; color: #7e848b; }

/* matrix + numbers */
.tsd-wx__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(.9rem, 2vw, 1.4rem); margin: 0 0 clamp(.9rem, 2vw, 1.4rem); }
.tsd-wx__panel { position: relative; padding: clamp(1rem, 2.4vw, 1.5rem); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.10); border-top: 3px solid var(--wx-gold); border-radius: 8px; }
.tsd-wx__ph { margin: 0 0 .9rem; font-family: var(--tt-head); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.tsd-wx__tablewrap { overflow-x: auto; }
.tsd-wx__matrix { width: 100%; border-collapse: collapse; margin: 0; font-size: .9rem; }
.tsd-wx__matrix th, .tsd-wx__matrix td { border: 0; padding: .5rem .35rem; text-align: center; vertical-align: middle; background: none; }
.tsd-wx__matrix thead th { padding-top: 0; color: #9aa0a6; font-weight: 600; }
.tsd-wx__mn { display: block; font: 800 .95rem/1 var(--tt-head); color: var(--wx-gold); }
.tsd-wx__ml { display: block; font: 700 .58rem/1.3 var(--tt-head); letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.tsd-wx__matrix tbody th { text-align: left; font-weight: 600; color: #e9eaec; white-space: nowrap; padding-left: 0; }
.tsd-wx__matrix tbody tr { border-top: 1px solid rgba(255,255,255,.07); }
.tsd-wx__matrix tbody tr:hover { background: rgba(255,184,28,.05); }
.tsd-wx__dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); vertical-align: middle; }
.tsd-wx__dot.is-on { background: var(--wx-gold); border-color: var(--wx-gold); box-shadow: 0 0 12px rgba(255,184,28,.55); }
.tsd-wx__dot.is-half { border-color: var(--wx-gold); background: linear-gradient(90deg, var(--wx-gold) 50%, transparent 50%); }
.tsd-wx__lay { width: 22%; text-align: left !important; white-space: nowrap; }
.tsd-wx__matrix thead .tsd-wx__lay { font: 700 .58rem/1.3 var(--tt-head); letter-spacing: .12em; text-transform: uppercase; vertical-align: bottom; }
.tsd-wx__bar { display: inline-block; width: calc(100% - 1.6rem); max-width: 7rem; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); vertical-align: middle; overflow: hidden; }
.tsd-wx__bar i { display: block; height: 100%; width: calc(var(--n) * 33.4%); max-width: 100%; background: linear-gradient(90deg, #6fb3d6, var(--wx-gold)); border-radius: 6px; }
.tsd-wx__lay b { margin-left: .45rem; font: 800 .9rem/1 var(--tt-head); color: #fff; }
.tsd-wx__note { display: flex; gap: .55rem; align-items: flex-start; margin: .9rem 0 0; font-size: .82rem; line-height: 1.45; color: #a9aeb4; }
.tsd-wx__note .tsd-wx__dot { flex: 0 0 auto; width: 13px; height: 13px; margin-top: .2rem; }
.tsd-wx__nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tsd-wx__nums li { margin: 0; padding: .85rem .9rem; background: #0e1013; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.tsd-wx__big { display: block; font: 800 italic clamp(1.9rem, 3.4vw, 2.5rem)/1 var(--tt-head); color: var(--wx-gold); letter-spacing: -.01em; }
.tsd-wx__big small { font-size: .42em; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-left: .3rem; }
.tsd-wx__tip { margin: .9rem 0 0; padding: .8rem .95rem; border-left: 3px solid var(--wx-gold); background: rgba(255,184,28,.07); border-radius: 0 6px 6px 0; font-size: .86rem; line-height: 1.45; color: #d9dbde; }
.tsd-wx__tip b { display: block; font: 800 .6rem/1.4 var(--tt-head); letter-spacing: .18em; text-transform: uppercase; color: var(--wx-gold); margin-bottom: .2rem; }
.tsd-wx__cap { display: block; margin-top: .4rem; font-size: .82rem; line-height: 1.35; color: #b9bdc2; }

/* foot: also inside + kept card */
.tsd-wx__foot { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(.9rem, 2vw, 1.4rem); align-items: stretch; }
.tsd-wx__also { padding: clamp(1rem, 2.4vw, 1.5rem); border: 1px dashed rgba(255,184,28,.35); border-radius: 8px; }
.tsd-wx__also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tsd-wx__also li { margin: 0; padding: .42rem .75rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .84rem; color: #e3e5e8; background: rgba(255,255,255,.03); }
.tsd-wx__also li::before { content: "✓"; color: var(--wx-gold); font-weight: 800; margin-right: .4rem; }
/* the original guide card, cover removed — same classes so its look (price, button, hover) is unchanged */
.tsd-wx .tsd-wx__buy.tsd-gc { all: unset; display: flex; }
.tsd-wx__buy .tsd-gc__card { width: 100%; }
.tsd-wx__buy .tsd-gc__body { padding-top: 2.6rem; }
.tsd-wx__buy .tsd-gc__btn { width: 100%; box-sizing: border-box; }

@media (max-width: 1080px) {
  .tsd-wx__flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tsd-wx__end { display: none; }
  .tsd-wx__grid, .tsd-wx__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tsd-wx { width: calc(100% + 2.5rem); margin-left: -1.25rem; margin-right: -1.25rem; padding: 1.25rem .9rem; border-radius: 0; border-left: 0; border-right: 0; }
  .tsd-wx__matrix .tsd-wx__lay { display: none; }
  .tsd-wx__panel { padding: 1rem .8rem; }
  .tsd-wx__matrix th, .tsd-wx__matrix td { padding: .45rem .15rem; }
  .tsd-wx__dot { width: 14px; height: 14px; }
  .tsd-wx__ml { font-size: .5rem; letter-spacing: .06em; }
  .tsd-wx__matrix { table-layout: fixed; }
  .tsd-wx__matrix thead th:first-child { width: 33%; }
  .tsd-wx__matrix tbody th { font-size: .8rem; }
  .tsd-wx__ml { display: none; }
  .tsd-wx__also li { border-radius: 8px; }
  .tsd-wx__flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tsd-wx__flow::before, .tsd-wx__flow::after { left: 36px; right: auto; top: 10px; bottom: 10px; width: 6px; height: auto; }
  .tsd-wx__flow::before { background: linear-gradient(180deg, var(--wx-murk), #9a8556 20%, #6fb3d6 55%, var(--wx-clear) 75%, var(--wx-gold)); }
  .tsd-wx__flow::after { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.75) 22px 30px, transparent 30px 60px); background-size: 6px 60px; animation-name: tsdWxFlowV; }
  .tsd-wx__stage { display: grid; grid-template-columns: 74px minmax(0, 1fr); column-gap: 1rem; align-items: start; text-align: left; padding: 0 0 1.1rem; }
  .tsd-wx__node { grid-row: span 2; margin: 0; }
  .tsd-wx__st { margin-top: .45rem; }
  .tsd-wx__nums { grid-template-columns: 1fr 1fr; }
  .tsd-wx__matrix { font-size: .82rem; }
  .tsd-wx__matrix tbody th { white-space: normal; }
  .tsd-wx__lay { width: auto; }
  .tsd-wx__bar { display: none; }
  .tsd-wx__buy .tsd-gc__card { flex-direction: column; }
}
@keyframes tsdWxFlowV { to { background-position: 0 60px; } }
@media (prefers-reduced-motion: reduce) { .tsd-wx__flow::after { animation: none; } .tsd-wx__node { transition: none; } }

/* ============================================================ 2. FAQ — homepage card style */
.tsd-wfaq { box-sizing: border-box; width: min(calc(var(--tt-wide, 1240px) - 3rem), calc(100vw - 3rem)); max-width: none;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start;
  margin: clamp(2.2rem, 5vw, 3.5rem) 0 1rem; padding: clamp(2rem, 4.5vw, 3.25rem) 0 0; border-top: 1px solid var(--tt-line, #e4e4e4); }
.tsd-wfaq__side { position: sticky; top: calc(var(--tt-header-h, 72px) + 1.5rem); }
.tsd-wfaq .tsd-kicker { color: var(--wp--preset--color--gold-deep, #8a5d00); margin: 0 0 .6rem; }
.tsd-wfaq__h { margin: 0 0 1.3rem; padding: 0; border: 0; font-family: var(--tt-head); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.02; color: var(--tt-ink, #191818); letter-spacing: -.005em; }
.tsd-wfaq__help { padding: 1.1rem 1.2rem 1.25rem; background: #fff; border: 1px solid var(--tt-line, #e4e4e4); border-top: 3px solid var(--tt-gold, #ffb81c); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.tsd-wfaq__badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tt-ink, #191818); color: var(--tt-gold, #ffb81c); margin-bottom: .7rem; }
.tsd-wfaq__help p { margin: 0 0 .9rem; font-size: .98rem; line-height: 1.5; color: #444; }
.tsd-wfaq__help strong { display: block; font-family: var(--tt-head); font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .01em; color: var(--tt-ink, #191818); margin-bottom: .15rem; }
.tsd-wfaq__btn { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem 1.1rem; border: 2px solid var(--tt-ink, #191818); border-radius: 4px; color: var(--tt-ink, #191818); font: 700 .72rem/1 var(--tt-head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .15s, color .15s; }
.tsd-wfaq__btn:hover, .tsd-wfaq__btn:focus-visible { background: var(--tt-ink, #191818); color: #fff; }
.tsd-wfaq__list { display: grid; gap: .8rem; }
.tsd-wfaq__item { background: #fff; border: 1px solid var(--tt-line, #e4e4e4); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.05); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tsd-wfaq__item[open] { border-color: rgba(255,184,28,.6); box-shadow: inset 4px 0 0 var(--tt-gold, #ffb81c), 0 10px 28px rgba(0,0,0,.08); }
.tsd-wfaq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.2rem 1.05rem 1.35rem; }
.tsd-wfaq__item summary::-webkit-details-marker { display: none; }
.tsd-wfaq__item summary:focus-visible { outline: 3px solid var(--tt-gold, #ffb81c); outline-offset: -3px; }
.tsd-wfaq__q { font-family: var(--tt-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--tt-ink, #191818); }
.tsd-wfaq__ico { position: relative; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--tt-gold, #ffb81c); transition: transform .25s, background .2s; }
.tsd-wfaq__ico::before, .tsd-wfaq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; margin: -1.25px 0 0 -6.5px; background: #111; border-radius: 2px; }
.tsd-wfaq__ico::after { transform: rotate(90deg); transition: transform .25s; }
.tsd-wfaq__item[open] .tsd-wfaq__ico { background: var(--tt-ink, #191818); }
.tsd-wfaq__item[open] .tsd-wfaq__ico::before, .tsd-wfaq__item[open] .tsd-wfaq__ico::after { background: var(--tt-gold, #ffb81c); }
.tsd-wfaq__item[open] .tsd-wfaq__ico::after { transform: rotate(0deg); }
.tsd-wfaq__a { padding: 0 1.35rem 1.15rem; }
.tsd-wfaq__a p { margin: 0; font-size: 1rem; line-height: 1.65; color: #4a4a4a; }
.tsd-wfaq__a a { color: var(--wp--preset--color--gold-deep, #8a5d00); font-weight: 600; }
@media (max-width: 860px) {
  .tsd-wfaq { grid-template-columns: minmax(0, 1fr); width: auto; }
  .tsd-wfaq__side { position: static; }
  .tsd-wfaq__side { display: contents; }
  .tsd-wfaq .tsd-kicker, .tsd-wfaq__h { order: 0; margin-bottom: 0; }
  .tsd-wfaq__list { order: 1; }
  .tsd-wfaq__help { order: 2; }
  .tsd-wfaq { gap: .9rem; }
}
