/* The simpler homepage (team Canva "Home page", October 16, 2026): the problem with the CBS News report, the illness
   research with the study cards, Meet aelo, the four everyday photos, the early access rewards (parked 2026-10-20, see
   docs/parked/), Robert's story, the invitation, the FAQ, the research and "We
   open soon." (Jared, 2026-10-18: the FAQ comes before the research, and both start folded.) White sections, AeloBlue
   headlines, the Canva's grey reward cards (#ebebeb), and no small text above a big headline. */
:root { --home-card: #ebebeb; --home-text: #151515; --home-max: 1240px; }

.water-hero,
.body-proof,
.meet,
.uses,
.ladder,
.story,
.invite { background: #fff; }
#research-preview { background: #f4f4f4; }
#details { background: #fff; }
.closing { background: #444342; }

/* Wide screens keep the new sections to one comfortable column of content. */
.water-hero,
.meet,
.uses,
.ladder,
.invite { padding-inline: max(var(--gutter), calc((100% - var(--home-max)) / 2)); }

/* 1. What's in your water? The header floats over the top of this section (86px, 70px on phones). */
.water-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-top: calc(86px + clamp(40px, 5vw, 80px));
  padding-bottom: clamp(56px, 6vw, 96px);
}
.water-hero h1 {
  margin: 0 0 clamp(20px, 2.2vw, 30px);
  color: var(--aelo-blue);
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.water-hero-copy p { max-width: 30em; color: var(--home-text); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; text-wrap: pretty; }
.water-hero-copy p + p { margin-top: 1em; }
.water-video { min-width: 0; margin: 0; }
.water-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.water-video-poster { position: absolute; inset: 0; display: block; color: #fff; }
.water-video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.water-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 0 0;
  background: #fff;
  color: var(--aelo-blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 30px -10px #000a;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.water-video-play svg { flex: none; width: 54px; height: 54px; padding: 16px 15px 16px 18px; background: var(--aelo-blue); color: #fff; }
.water-video-poster:hover img { transform: scale(1.015); }
.water-video-poster:hover .water-video-play { transform: translate(-50%, -50%) scale(1.04); }
.water-video-poster:focus-visible { outline: 3px solid var(--aelo-blue); outline-offset: 3px; }
.water-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.water-video figcaption { margin-top: 10px; color: #4d4d4d; font-size: 13px; line-height: 1.5; }

/* 2. There is plastic in your body. The study cards keep their live styles (research-proof.css). */
.body-proof { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
.body-proof-heading { max-width: var(--home-max); margin: 0 auto clamp(28px, 3vw, 44px); }
.body-proof-heading h2 {
  margin: 0 0 14px;
  color: var(--aelo-blue);
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}
/* Jared, 2026-10-16: no arrow buttons under the study cards. The cards drift on their own (research-proof.js) and people
   swipe or drag them. The buttons stay in the markup because the carousel script binds to them; they are only hidden. */
.body-proof .carousel-arrow { display: none !important; }
.body-proof-heading p { max-width: 34em; color: var(--aelo-blue); font-size: clamp(19px, 1.9vw, 28px); line-height: 1.35; }

/* 3. Meet aelo: the story, the straw, and the result. */
.meet {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.meet h2 {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: var(--aelo-blue);
  font-size: clamp(44px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.meet-copy p { max-width: 31em; color: var(--home-text); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; text-wrap: pretty; }
.meet-copy p + p { margin-top: 1em; }
.meet-copy .meet-tagline { margin-bottom: 1.1em; color: var(--aelo-blue); font-size: clamp(22px, 2.1vw, 30px); font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }
.meet-copy .meet-tagline + p { margin-top: 0; }
.meet-straw { margin: 0; justify-self: center; }
.meet-straw img { width: auto; height: clamp(380px, 36vw, 520px); }
.meet-figure strong { display: block; color: var(--aelo-blue); font-size: clamp(52px, 5.6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.meet-figure span { display: block; margin-top: 10px; color: var(--aelo-blue); font-size: clamp(24px, 2.3vw, 34px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.meet-result .meet-proof { max-width: 22em; margin-top: 18px; color: var(--home-text); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.meet-report {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 10px 26px;
  border: 1.5px solid #8d9396;
  border-radius: 999px;
  background: #fff;
  color: var(--aelo-blue);
  font-size: 15px;
  font-weight: 700;
}
.meet-report:hover { border-color: var(--aelo-blue); }

/* 4. The straw follows you: four photos in a row (two by two on phones). */
.uses { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(64px, 7vw, 110px); }
.uses-heading h2 { color: var(--aelo-blue); font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.uses-heading p { max-width: 34em; margin-top: 10px; color: var(--home-text); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: clamp(24px, 2.6vw, 36px) 0 0; padding: 0; list-style: none; }
.uses-grid figure { margin: 0; }
.uses-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eee; }
.uses-grid figcaption { margin-top: 14px; color: var(--home-text); font-size: 15px; line-height: 1.4; text-align: center; text-wrap: balance; }

/* 5. Early access rewards (parked 2026-10-20, docs/parked/): a line of friend counts over four cards, the race and the
   first form. Jared, 2026-10-18: no "Referral amount:" label; each count says "friends" in full. */
.ladder { --ladder-gap: clamp(14px, 1.8vw, 26px); padding-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); }
.ladder-heading { margin-bottom: clamp(32px, 3.6vw, 56px); text-align: center; }
.ladder-heading h2 { color: var(--aelo-blue); font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.ladder-heading p { margin-top: 16px; color: var(--home-text); font-size: clamp(20px, 2vw, 28px); line-height: 1.3; text-wrap: balance; }
.ladder-track { position: relative; }
.ladder-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ladder-gap); margin: 0; padding: 0; list-style: none; }
.ladder-step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ladder-count { position: relative; z-index: 1; display: flex; justify-content: center; margin: 0 0 18px; }
.ladder-dot {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  white-space: nowrap;
  background: var(--aelo-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ladder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  padding: 26px 18px 24px;
  border-radius: 32px;
  background: var(--home-card);
  text-align: center;
}
.ladder-art { display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(150px, 15vw, 200px); margin-bottom: 18px; }
.ladder-art img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.ladder-art-wide img { width: 100%; height: auto; max-height: 100%; }
.ladder-card h3 { color: var(--home-text); font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.ladder-card p { margin-top: 6px; color: #2b2b2b; font-size: 15px; line-height: 1.45; }
/* Owner, 2026-10-18: every card reads its total value on one line (parked section). The line wraps under its FREE tag
   when the card is narrow. */
.ladder-card .ladder-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  max-width: 100%;
  margin-top: auto;
  padding: 6px 12px 6px 6px;
  background: #fff;
  color: var(--wine);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.ladder-card p:not(.ladder-value) { margin-bottom: 16px; }
.ladder-free { padding: 4px 9px 3px; background: var(--wine); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ladder-total { text-wrap: balance; }

/* The cash-note art, drawn in CSS (parked section). */
.cash-note {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 230px);
  aspect-ratio: 1.6;
  padding: 10px 12px 9px;
  background: #34131e;
  color: #f2e5d6;
  text-align: left;
  box-shadow: 0 12px 24px -14px #000a;
}
.cash-fine { font-size: 7px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.cash-amount { align-self: center; font-size: clamp(46px, 4.4vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.cash-amount small { margin-right: 2px; font-size: .42em; vertical-align: .9em; }
.cash-bottom { display: flex; align-items: flex-end; justify-content: space-between; font-size: 6px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cash-bottom .cash-wordmark { font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: -.05em; text-transform: none; }

/* Laptops: the friend counts sit on one grey line that runs from the first count to the last. */
@media (min-width: 1000px) {
  .ladder-steps::before {
    content: "";
    position: absolute;
    top: 20.5px;
    left: calc(12.5% - var(--ladder-gap) * .375);
    right: calc(12.5% - var(--ladder-gap) * .375);
    height: 3px;
    background: #6f6f6f;
  }
}

/* Tablets and phones: the steps run from top to bottom. Each count sits on one grey line, above its card;
   the line runs from each count to the next, beside the cards. */
@media (max-width: 999px) {
  .ladder-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ladder-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 10px; }
  .ladder-step:not(:last-child)::before { content: ""; position: absolute; top: 22px; bottom: -42px; left: 20.5px; width: 3px; background: #6f6f6f; }
  .ladder-count { grid-column: 1 / -1; margin: 0; justify-content: flex-start; }
  .ladder-card {
    grid-column: 2;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "art title" "art text" "art value";
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 16px;
    height: auto;
    padding: 14px 16px 14px 14px;
    border-radius: 24px;
    text-align: left;
  }
  .ladder-art { grid-area: art; height: 118px; margin: 0; }
  .ladder-art-wide img { width: 100%; }
  .ladder-card h3 { grid-area: title; align-self: end; font-size: 20px; }
  .ladder-card p:not(.ladder-value) { grid-area: text; margin: 4px 0 10px; font-size: 16px; }
  .ladder-card .ladder-value { grid-area: value; align-self: start; justify-self: start; justify-content: flex-start; margin: 0; }
  .cash-note { width: 100%; padding: 6px 7px; }
  .cash-fine { font-size: 5px; }
  .cash-amount { font-size: 34px; }
  .cash-bottom { font-size: 4px; }
  .cash-bottom .cash-wordmark { font-size: 9px; }
}

.race {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 88px);
}
.race-copy h3 { margin-bottom: 16px; color: var(--aelo-blue); font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.race-copy p { color: var(--home-text); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; text-wrap: pretty; }
.race-copy p + p { margin-top: 14px; }
.race-kit { margin: 0; }
.race-kit img { width: auto; height: clamp(230px, 20vw, 290px); }
.race-join .signup-form,
.invite-entry .signup-form { width: 100%; max-width: none; margin: 0; padding: 14px 14px 6px; background: var(--home-card); }

/* 6. Robert's story: "Why does Aelo exist?" is the headline, and the line under it reads like a quote (Jared,
   2026-10-18). The headline is the biggest text, so no small label sits above it. */
.about-story.story {
  max-width: none;
  margin: 0;
  padding: clamp(64px, 7vw, 110px) max(var(--gutter), calc((100% - 1260px) / 2));
  border-top: 0;
}
.story .about-heading { max-width: 1000px; margin-bottom: clamp(32px, 4vw, 56px); }
.story .about-heading h2 {
  margin: 0 0 clamp(18px, 2.2vw, 30px);
  color: var(--aelo-blue);
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-transform: none;
}
.story .about-heading .about-lead {
  margin: 0;
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 3px solid var(--wine);
  color: var(--aelo-blue);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: pretty;
}

/* 9. The invitation section. */
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(64px, 7vw, 110px);
  padding-bottom: clamp(64px, 7vw, 110px);
}
.invite-heading h2 { color: var(--aelo-blue); font-size: clamp(40px, 4.8vw, 72px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.invite-heading p { max-width: 15em; margin-top: 22px; color: var(--aelo-blue); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; }
.invite-entry .invite-intro { margin-bottom: 18px; color: var(--home-text); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; text-wrap: pretty; }

/* 10. The FAQ, then 11. The research is exploding. (Jared, 2026-10-18): each starts folded to its headline, and the
   round button opens and closes it (home-2026.js). Without JavaScript both stay open. */
.details-section.fold,
.research-feature.fold { display: block; padding-top: clamp(36px, 4.4vw, 60px); padding-bottom: clamp(36px, 4.4vw, 60px); }
.details-section.fold { border-top: 1px solid #e3e3e3; }
.fold > .fold-title { margin: 0; font-size: inherit; line-height: 1; }
.fold-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--aelo-blue);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-align: left;
}
.fold-icon { position: relative; flex: none; width: 48px; height: 48px; border: 2px solid currentColor; border-radius: 50%; transition: background-color .2s ease; }
.fold-icon::before,
.fold-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.fold-icon::after { transform: rotate(90deg); }
.fold-toggle[aria-expanded="true"] .fold-icon::after { transform: rotate(0deg); }
@media (hover: hover) {
  .fold-toggle:hover .fold-icon { background: var(--aelo-blue); }
  .fold-toggle:hover .fold-icon::before,
  .fold-toggle:hover .fold-icon::after { background: #fff; }
}
.fold-toggle:focus-visible { outline: 3px solid var(--aelo-blue); outline-offset: 6px; }
.fold-body { margin-top: clamp(28px, 3.4vw, 48px); }
.fold-body[hidden] { margin-top: 0; }
.fold-body[hidden]:not([hidden="until-found"]) { display: none !important; }
.details-body { max-width: 980px; }
.details-body .details-intro { position: static; }
.details-body .faq-nav { flex-direction: row; flex-wrap: wrap; gap: 0 28px; margin: 0 0 24px; }
.research-feature-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 42px 60px; }
@media (max-width: 900px) { .research-feature-body { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 760px) {
  .fold-toggle { font-size: 34px; }
  .fold-icon { width: 44px; height: 44px; }
  .research-feature-body { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .fold-icon,
  .fold-icon::before,
  .fold-icon::after { transition: none; }
}

/* Footer: Facebook and Instagram. */
.footer-social { display: flex; gap: 16px; margin: 0 0 0 10px; padding: 0; list-style: none; }
.footer-social a { display: block; width: 44px; height: 44px; border-radius: 50%; }
.footer-social svg { display: block; width: 44px; height: 44px; }
.footer-social a:hover { opacity: .85; }

@media (max-width: 900px) {
  .water-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .water-hero h1 { font-size: clamp(44px, 7vw, 64px); }
  .meet { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 6vw, 48px); row-gap: 36px; }
  .meet-copy { grid-column: 1 / -1; }
  .meet-straw img { height: clamp(300px, 46vw, 380px); }
  .race { grid-template-columns: minmax(0, 1fr) auto; }
  .race-join { grid-column: 1 / -1; }
  .invite { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .invite-heading p { max-width: none; }
}

/* Phones: the headline, then the report, then the words; bigger reading text for older readers. */
@media (max-width: 760px) {
  .water-hero { padding-top: calc(70px + 26px); padding-bottom: 48px; gap: 0; }
  .water-hero-copy { display: contents; }
  .water-hero h1 { order: 1; margin-bottom: 20px; font-size: clamp(40px, 11.4vw, 56px); }
  .water-video { order: 2; margin: 0 calc(-1 * var(--gutter)) 24px; }
  .water-video figcaption { margin: 8px var(--gutter) 0; font-size: 13px; }
  .water-hero-copy p { order: 3; max-width: none; font-size: 18px; }
  .water-hero-copy p + p { margin-top: 14px; }
  .water-video-play { gap: 12px; padding-right: 18px; font-size: 16px; }
  .water-video-play svg { width: 48px; height: 48px; padding: 14px 13px 14px 16px; }
  .body-proof-heading p { font-size: 20px; }
  .meet-copy p { font-size: 18px; }
  .meet-straw img { height: 300px; }
  .meet-figure strong { font-size: 52px; }
  .meet-figure span { font-size: 26px; }
  .meet-result .meet-proof { font-size: 17px; }
  .uses-heading p { font-size: 18px; }
  .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .uses-grid figcaption { margin-top: 10px; font-size: 15px; }
  .ladder-heading p { font-size: 21px; }
  .race { grid-template-columns: minmax(0, 1fr) 84px; gap: 24px 16px; align-items: start; }
  .race-copy p { font-size: 17px; }
  .race-kit img { width: 84px; height: auto; }
  .race-join .signup-form,
  .invite-entry .signup-form { padding: 12px 12px 4px; }
  .invite-heading h2 { font-size: clamp(38px, 10.6vw, 52px); }
  .invite-heading p { font-size: 22px; }
  .invite-entry .invite-intro { font-size: 18px; }
  .site-footer .footer-social { order: 3; flex-basis: 100%; margin: 0; }
  .site-footer nav { order: 4; }
}
@media (max-width: 520px) {
  .ladder-card { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "art title" "art text" "value value"; column-gap: 14px; }
  .ladder-art { height: 112px; }
  .ladder-card p:not(.ladder-value) { margin-bottom: 0; }
  .ladder-card .ladder-value { margin-top: 12px; }
}
@media (max-width: 360px) {
  .ladder-card { grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; }
  .ladder-card .ladder-value { gap: 6px 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .water-video-poster img,
  .water-video-play { transition: none; }
  .water-video-poster:hover img { transform: none; }
}
