/* ============================================================
   HOME — page-specific bits that don't belong in the shared site
   shell (css/shared/site-shell.css, css/shared/site-shell-components.css):
   the hydration explainer, common questions, the purchase list and the how-to list.
   ============================================================ */

/* Purchase panel: pick one way to buy, then continue with a single button. */
.site-shell .buy {
  padding: 28px;
  background: #e9e7e5;
  border: 1px solid var(--line);
  border-radius: 0;
}

.site-shell .buy__h {
  margin: 0;
  font: 600 1.5rem/1.2 var(--font-sans);
}

.site-shell .buy__sub {
  margin: 6px 0 20px;
  font: 400 0.9375rem/1.4 var(--font-sans);
  color: var(--text-2);
}

.site-shell .buy__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-shell .offer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f5f4f2;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.site-shell .offer:hover {
  border-color: var(--taupe-2);
}

.site-shell .offer__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-shell .offer__dot {
  flex: none;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--taupe-2);
  background: #f5f4f2;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-shell .offer:has(.offer__radio:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: #edf2f4;
}

.site-shell .offer:has(.offer__radio:checked) .offer__dot {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 5px #edf2f4, inset 0 0 0 12px var(--ink);
}

.site-shell .offer:has(.offer__radio:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.site-shell .offer__tag {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--on-ink);
  font: 600 0.6875rem/1.2 var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.site-shell .offer__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-shell .offer__title {
  font: 600 1.0625rem/1.3 var(--font-sans);
}

.site-shell .offer__meta {
  font: 400 0.875rem/1.45 var(--font-sans);
  color: var(--text-2);
}

.site-shell .offer__price {
  flex: none;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: end;
  justify-items: end;
  gap: 6px 10px;
  font-variant-numeric: tabular-nums;
}

.site-shell .offer__now {
  font: 700 1.375rem/1.1 var(--font-sans);
}

.site-shell .offer__price s {
  font: 400 0.9375rem/1.2 var(--font-sans);
  color: var(--text-2);
}

.site-shell .buy__perks {
  list-style: none;
  margin: 20px 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  font: 400 0.875rem/1.3 var(--font-sans);
  color: var(--text-2);
}

.site-shell .buy__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-shell .buy__perks svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell .buy__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-shell .buy__cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell .buy__note {
  margin: 14px 0 0;
  text-align: center;
  font: 400 0.8125rem/1.4 var(--font-sans);
  color: var(--text-2);
}

.site-shell .card__stock {
  align-self: flex-start;
  background: var(--error);
  color: #fff;
  font: 600 0.6875rem/1.2 var(--font-sans);
  text-transform: uppercase;
  border-radius: 0;
  padding: 4px 8px;
}

.site-shell .offer__save {
  grid-column: 1 / -1;
  background: var(--taupe);
  color: var(--text);
  font: 600 0.75rem/1.2 var(--font-sans);
  border-radius: 0;
  padding: 4px 8px;
}

.site-shell .offer__add {
  min-width: 148px;
}

.site-shell .dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 52ch;
}

.site-shell .dash-list li {
  padding-left: 22px;
  position: relative;
  font: 400 1rem/1.55 var(--font-sans);
}

.site-shell .split--how .split__media {
  aspect-ratio: 1856 / 2304;
}

.site-shell .split--how .split__body {
  gap: 0;
  align-items: stretch;
}

.site-shell .how__eyebrow {
  margin: 0 0 14px;
  font: 500 0.8125rem/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.site-shell .how__sub {
  margin: 10px 0 0;
  font: 400 1.0625rem/1.5 var(--font-sans);
  color: var(--text-2);
}

.site-shell .how__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.site-shell .how__card,
.site-shell .how__carry {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--mist);
}

.site-shell .how__card-ico {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--heading);
}

.site-shell .how__card-t {
  margin: 0;
  font: 500 1.375rem/1.2 var(--font-sans);
  color: var(--text);
}

.site-shell .how__card-s {
  margin: 4px 0 0;
  font: 400 0.9375rem/1.3 var(--font-sans);
  color: var(--text-2);
}

.site-shell .how__when {
  margin: 34px 0 6px;
  font: 500 clamp(1.375rem, 2vw, 1.75rem)/1.25 var(--font-sans);
  color: var(--text);
}

.site-shell .how__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-shell .how__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.site-shell .how__list li:last-child {
  border-bottom: 0;
}

.site-shell .how__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--mist);
  color: var(--heading);
}

.site-shell .how__ico svg {
  width: 24px;
  height: 24px;
}

.site-shell .how__item-t {
  margin: 0;
  font: 500 1.125rem/1.3 var(--font-sans);
  color: var(--text);
}

.site-shell .how__item-s,
.site-shell .how__carry-s {
  margin: 3px 0 0;
  font: 400 0.9375rem/1.45 var(--font-sans);
  color: var(--text-2);
}

.site-shell .how__carry {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .site-shell .how__cards {
    grid-template-columns: 1fr;
  }
}

.site-shell .dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 12px;
  height: 1px;
  background: var(--text);
}

/* ---------- Hydration: how the body handles water, before the product ---------- */

.site-shell .hyd__head {
  max-width: 62ch;
}

.site-shell .hyd__head .lede {
  margin-top: 16px;
}

.site-shell .hyd__block {
  margin-top: clamp(48px, 6vw, 88px);
}

.site-shell .hyd__block > .h-3 {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
}

/* Steps and minerals share one grid: three columns on hairlines, read left to right. */
.site-shell .hyd__steps,
.site-shell .hyd__minerals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--grid-gap);
}

.site-shell .hyd__steps li,
.site-shell .hyd__minerals li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.site-shell .hyd__steps li {
  border-top-color: var(--text);
}

.site-shell .hyd__num {
  display: block;
  margin-bottom: 14px;
  font: 400 0.9375rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-text);
}

/* One still life per mineral, same dish and light across the three. */
.site-shell .hyd__img {
  margin: 0 0 18px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  background: var(--mist);
}

.site-shell .hyd__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-shell .hyd__title {
  margin: 0 0 8px;
  font: 600 1.125rem/1.3 var(--font-sans);
  letter-spacing: -0.01em;
}

.site-shell .hyd__role {
  display: block;
  margin-top: 2px;
  font: 400 0.9375rem/1.4 var(--font-sans);
  color: var(--text-2);
}

.site-shell .hyd__steps p,
.site-shell .hyd__minerals p {
  margin: 0;
  max-width: 40ch;
  font: 400 1rem/1.55 var(--font-sans);
}

@media (max-width: 760px) {
  .site-shell .hyd__steps,
  .site-shell .hyd__minerals {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ---------- Common questions: ink square toggle, question, short answer, detail ---------- */

.site-shell .cq {
  --cq-toggle: 44px;
  --cq-gap: clamp(20px, 3.2vw, 48px);
}

.site-shell .cq__title {
  margin: 0 0 clamp(28px, 3.4vw, 48px);
}

.site-shell .cq__list {
  border-top: 1px solid var(--text);
}

.site-shell .cq__item {
  border-bottom: 1px solid var(--line);
}

.site-shell .cq__q {
  list-style: none;
  display: grid;
  grid-template-columns: var(--cq-toggle) minmax(0, 1fr);
  align-items: center;
  gap: var(--cq-gap);
  padding: clamp(22px, 2.6vw, 36px) 0;
  cursor: pointer;
  font: 600 clamp(1.25rem, 2vw, 1.75rem)/1.2 var(--font-sans);
  letter-spacing: -0.015em;
  color: var(--text);
}

.site-shell .cq__q::-webkit-details-marker {
  display: none;
}

.site-shell .cq__q:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 0;
}

/* The square: ink field, a white minus that gains a vertical bar when closed. */
.site-shell .cq__toggle {
  position: relative;
  width: var(--cq-toggle);
  height: var(--cq-toggle);
  border-radius: 0;
  background: var(--ink);
  transition: background-color 0.2s ease;
}

.site-shell .cq__q:hover .cq__toggle {
  background: var(--ink-2);
}

.site-shell .cq__toggle::before,
.site-shell .cq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--on-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-shell .cq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.site-shell .cq__item[open] .cq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.site-shell .cq__a {
  padding: 0 0 clamp(26px, 3vw, 40px) calc(var(--cq-toggle) + var(--cq-gap));
  margin-top: calc(clamp(22px, 2.6vw, 36px) * -0.55);
}

.site-shell .cq__a p {
  margin: 0;
  max-width: 68ch;
  font: 400 1.0625rem/1.6 var(--font-sans);
  color: var(--text-2);
}

.site-shell .cq__a p + p {
  margin-top: 14px;
}

.site-shell .cq__a .cq__short {
  margin-bottom: 22px;
  font: 500 clamp(1.0625rem, 1.3vw, 1.25rem)/1.45 var(--font-sans);
  color: var(--text);
}

.site-shell .cq__a .cq__label {
  color: var(--text);
}

.site-shell .cq__a p.cq__label {
  margin-top: 22px;
}

.site-shell .cq__a strong {
  font-weight: 600;
  color: var(--text);
}

.site-shell .cq__contact {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font: 400 1rem/1.5 var(--font-sans);
  color: var(--text-2);
}

@media (max-width: 560px) {
  .site-shell .cq {
    --cq-toggle: 36px;
    --cq-gap: 16px;
  }

  .site-shell .cq__a {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .site-shell .buy {
    padding: 20px 16px;
  }

  .site-shell .offer {
    padding: 14px;
    gap: 12px;
  }

  .site-shell .buy__perks {
    flex-direction: column;
  }
}

.site-shell .hyd__more {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.site-shell .hyd__minerals .hyd__more p {
  margin: 0;
}

.site-shell .hyd__more-btn {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--heading);
  font: 600 0.95rem/1.4 var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-shell .hyd__more-btn:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 3px;
}
