/* Home page, product-led. Loaded only by site/index.html, after /assets/styles.css.
   Everything here sits on top of styles.css and uses its tokens only: no new colours.
   Kept as a separate file rather than merged, because no other page uses any of it.
   See docs/DESIGN-SITE.md.

   Devices built here, and nothing else:
   1. the stop line (reused from styles.css) for the app representation,
   2. the spine: the five apps hung off one rule, so the family reads as a system,
   3. status marks: a dot whose fill says open, next, planned or under consideration,
   4. the two gates: four lenses then a fact-check, as chips. */

/* ---------- hero ---------- */
.hero h1{max-width:24ch}
.sig{margin-top:18px;color:var(--muted);font-size:var(--step--1);max-width:34rem}

/* the evidence card's own title is app interface, not a document heading */
.find-t{font-size:1.125rem;font-weight:800;line-height:1.25;letter-spacing:-0.01em;margin-bottom:10px}

/* ---------- what is inside: real figures ---------- */
.counts{list-style:none;padding:0;display:grid;gap:22px 28px;grid-template-columns:repeat(2,1fr)}
@media (min-width:720px){.counts{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1080px){.counts{grid-template-columns:repeat(6,1fr);gap:0 24px}}
.counts li{border-top:4px solid var(--line);padding-top:14px}
.counts .num{display:block;font-size:var(--step-2);font-weight:800;line-height:1;letter-spacing:-0.03em}
.counts .c-lab{display:block;margin-top:8px;color:var(--muted);font-size:var(--step--1);line-height:1.4}

/* ---------- the first hour: described, never reproduced as steps ----------
   The list itself stays in the app, because every line carries an exception
   that a shortened web copy would lose (safety ruling, 22 November 2026). */
.hour{background:var(--wash);border-radius:28px;padding:clamp(20px,3vw,34px);margin-top:clamp(24px,3vw,36px);
      max-width:calc(var(--measure) + 2*clamp(20px,3vw,34px))}
.hour-sub{color:var(--muted);font-size:var(--step--1);margin-top:6px}
.hour p{max-width:var(--measure);font-size:0.97rem;line-height:1.55}
.hour p + p:not(.hour-cap){margin-top:16px}
.hour-cap{margin-top:22px;color:var(--muted);font-size:var(--step--1)}

/* ---------- the family hung off one spine ---------- */
.fam{list-style:none;padding:0;margin-top:clamp(28px,4vw,48px);display:grid;gap:36px;
     border-inline-start:4px solid var(--rule);padding-inline-start:30px}
.fam-item{position:relative}
.fam-item::before{content:"";position:absolute;inset-inline-start:-47px;top:4px;
  width:20px;height:20px;border-radius:50%;background:var(--paper);border:5px solid var(--track)}
.fam-item.open::before{border-color:var(--line);background:var(--line)}
@media (min-width:1040px){
  /* five columns hung off one rule. Subgrid keeps the status, the name, the question
     and the link on the same four lines across all five, however the names wrap. */
  .fam{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto 1fr;
       column-gap:26px;gap:0 26px;
       border-inline-start:0;padding-inline-start:0;border-top:4px solid var(--rule);padding-top:40px}
  .fam-item{grid-row:span 3;display:grid;grid-template-rows:subgrid;align-content:start}
  .fam .st{justify-self:start}
  /* a long status word ("Planned (decision gate)") wraps inside its pill rather than
     running into the next column between 1040 and 1180px */
  .fam .st{white-space:normal;text-wrap:balance}
  .fam-item::before{inset-inline-start:0;top:-57px}
}
.fam h3{font-size:var(--step-1);margin-bottom:10px;align-self:start}
.fam h3 a{color:var(--ink);text-decoration:none;border-bottom:2px solid var(--rule)}
.fam h3 a:hover{border-bottom-color:var(--line)}
.fam .q{color:var(--muted);font-size:0.97rem}
.fam .go{margin-top:12px;font-size:0.95rem;font-weight:700}

.st{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;white-space:nowrap;
    font-size:0.82rem;font-weight:800;
    padding:4px 13px;border-radius:999px;background:var(--wash);color:var(--ink);border:1px solid var(--rule)}
.st i{flex:none;width:9px;height:9px;border-radius:50%;border:2px solid var(--track);background:var(--track)}
.st-open{border-color:var(--line)}
.st-open i{border-color:var(--line);background:var(--line)}
.st-next i{border-color:var(--line);background:linear-gradient(90deg,var(--line) 50%,transparent 50%)}
.st-plan i{background:transparent}
.st-cons i{background:transparent;border-style:dotted}

/* ---------- the two review gates ---------- */
.lens{list-style:none;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
.lens li{font-size:0.86rem;font-weight:700;padding:7px 14px;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--band-ink) 34%,transparent);color:var(--band-ink)}
.lens li.then{border:0;padding:0 2px;color:var(--band-muted);font-weight:600}
.lens li.gate2{border-color:var(--band-accent);color:var(--band-accent)}
.lens-cap{margin-top:20px;max-width:52rem}

/* ---------- free and paid, two audiences ---------- */
.two{display:grid;gap:clamp(26px,4vw,44px);align-items:start}
@media (min-width:880px){.two{grid-template-columns:1fr 1fr}}
.two > div > h3:first-child{font-size:var(--step-2);line-height:1.15;margin-bottom:14px}
.two .panel h3{margin-bottom:14px}
.two.even{align-items:stretch}
.two .panel p + p{margin-top:12px}
.two .panel .links{margin-top:22px;font-size:0.97rem;color:var(--muted)}

.notice{margin-top:24px;max-width:48rem;padding:14px 18px;border-inline-start:6px solid var(--line);
  background:var(--wash);border-radius:0 12px 12px 0;font-size:0.97rem;color:var(--muted)}
.notice b{color:var(--ink);font-weight:750}

/* the closing line carries its own qualification, so it needs more room than the
   18ch of the shared rule, which was written for a four-word headline */
.closing h2{max-width:30ch}
.closing .sig{margin-top:22px}

@media (max-width:719px){
  /* "then" takes its own line so the fact-check chip is not mistaken for a fifth lens */
  .lens li.then{flex-basis:100%;padding-top:2px}
}

/* Five-product overview: equal-sized, scannable cards on all screen widths. */
.fam{border:0;padding:0;margin-top:clamp(24px,3vw,38px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:16px}
.fam-item,.fam-item.open{border:1px solid var(--rule);border-radius:var(--radius);background:var(--paper);padding:22px;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 20px color-mix(in srgb,var(--ink) 4%,transparent)}
.fam-item::before{display:none}
.fam-item.open{border-color:var(--line);border-width:2px}
.fam-item .st{align-self:flex-start;white-space:normal}
.fam h3{margin:0 0 14px}
.fam-body{display:flex;flex:1;flex-direction:column}
.fam .go{margin-top:auto;padding-top:22px}
.fam h3 a:focus-visible,.fam .go a:focus-visible{outline-offset:5px}
@media(min-width:1040px){.fam{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:none;gap:16px}.fam-item{grid-row:auto;grid-template-rows:none}}
@media(max-width:560px){.fam{grid-template-columns:1fr}.fam-item{padding:20px}}

/* Product cards: equal rows on desktop; titles, descriptions and CTAs align. */
@media (min-width:1040px){
  .fam{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch;border:0;padding:0}
  .fam>.fam-item{display:grid;grid-row:auto;grid-template-rows:minmax(3.5em,auto) minmax(0,1fr);align-content:stretch;height:100%;border:1px solid var(--rule);border-radius:var(--radius);padding:22px;background:var(--paper)}
  .fam>.fam-item::before{display:none}
  .fam>.fam-item .fam-body{display:flex;flex-direction:column;min-height:0}
  .fam>.fam-item h3{margin:0 0 14px;align-self:start}
  .fam>.fam-item .go{margin-top:auto;padding-top:20px;align-self:start}
}
@media (min-width:561px) and (max-width:1039px){.fam{align-items:stretch}.fam>.fam-item{height:100%}}

/* Six tools: balanced three-by-two desktop layout; responsive grid remains automatic below 1040px. */
@media(min-width:1040px){.fam{grid-template-columns:repeat(3,minmax(0,1fr))}}
