/* PlantPOP home page v2 — docs/updates/2026-11-19-home-page.md
   Linked last on index.html (the home page; was home-v2.html), after assets/css/styles.css, tokens/modern.css
   and assets/css/modern-merge.css. Shared files are never edited: where a
   shared rule gets in the way, it is out-specified here. Every rule is scoped
   under html[data-page="home"], so this file does nothing on any other page.

   The plant pages declare their base layer (the --forest/--line/… names, the
   header, chips, bands) in snake-plant.html's own <style>, and the centered
   header lives in water-check.css behind a flag this page does not carry
   (spec §1.4). The same values are restated below so the components render
   identically here; the colours resolve to tokens/colors.css where a token
   exists. */

/* ── Base layer (mirrors plants/snake-plant.html) ── */
html[data-page="home"]{
  --forest:var(--pp-ink);          /* #14402A */
  --page:var(--pp-page);           /* #FDFCF9 */
  --pink:var(--pp-pink);           /* #F2A8BE */
  --card:#FFFFFF;
  --line:#E6E2D8;
  --sand:#F6F2EA;                  /* --cream in tokens/modern.css */
  --sage:#E6F0E8;
  --pink-tint:#FCECF1;
  --muted:#5B6B61;
  --muted-dark:#B9D3C1;
  --skip:#8CC7D4;
  --skip-tint:#E3F1F4;             /* the skip zone's tint (water check) */
  --hp-sage:#E4F0E6;               /* sage band (spec §2) */
  --hp-sage-line:#CFE0D3;
  --hp-sage-eyebrow:#4A5D51;
  --hp-row-line:#EDEAE3;
  --hp-photo-dash:#C9C2B3;         /* placeholder card dash */
  --head:var(--pp-font-display);
  --body:var(--pp-font-body);
  --col:480px;
  --gutter:20px;
  --hdr:128px;
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:0;
}
html[data-page="home"] *,html[data-page="home"] *::before,html[data-page="home"] *::after{box-sizing:border-box}
html[data-page="home"] body{margin:0;background:var(--page);color:var(--forest);font:400 15px/23px var(--body);overflow-x:hidden}
html[data-page="home"] :is(h1,h2,h3,p,figure,blockquote){margin:0}
html[data-page="home"] :is(ul,ol){margin:0;padding:0;list-style:none}
html[data-page="home"] button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
html[data-page="home"] a{color:inherit}
html[data-page="home"] svg{display:block}
html[data-page="home"] :focus-visible{outline:3px solid var(--pink);outline-offset:2px;border-radius:8px}
html[data-page="home"] .skip-link{position:absolute;left:12px;top:-60px;z-index:50;background:var(--card);color:var(--forest);padding:10px 16px;border-radius:999px;font-weight:700;text-decoration:none}
html[data-page="home"] .skip-link:focus{top:12px}

html[data-page="home"] .wrap{max-width:calc(var(--col) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}
/* styles.css pads every <section> and caps its children at the care measure
   above 760px; neither applies here. */
html[data-page="home"] main section{position:static;padding:0;scroll-margin-top:128px}
/* #plants, #gifting: the old home page's section names, kept as anchors so the info pages' links still land. */
html[data-page="home"] main .hp-alias{display:block;scroll-margin-top:128px}
html[data-page="home"] main section > *{max-width:none}
/* styles.css absolutely positions .wave; here it sits in the flow. */
html[data-page="home"] .wave{position:static;display:block;width:100%;height:30px;margin:-1px 0 0}

/* Section heading block: numbered eyebrow, title, sub (modern-merge §4.4
   numbers .head > .eyebrow; these restate the base it builds on). */
html[data-page="home"] .head{margin-bottom:20px}
html[data-page="home"] .head > .eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11.5px;line-height:1.4}
html[data-page="home"] .h2{font:900 28px/1.1 var(--head);letter-spacing:-.025em;margin-top:8px;color:var(--forest)}
html[data-page="home"] .sub{margin-top:8px;font-size:15px;line-height:1.55;color:var(--muted-2)}
html[data-page="home"] .lbl{text-transform:uppercase}

/* Light sections (spec §2): 36px 20px 8px, the 20px being .wrap's gutter. */
html[data-page="home"] main .hp-sec{padding:36px 0 8px}

/* Info card */
html[data-page="home"] .hp-card{background:var(--card);border:1.5px solid var(--line);border-radius:18px}

@media (prefers-reduced-motion: reduce){
  html[data-page="home"]{scroll-behavior:auto}
  html[data-page="home"] *,html[data-page="home"] *::before,html[data-page="home"] *::after{transition:none!important;animation:none!important}
}

/* ── §3.1 Header ─────────────────────────────────── */
/* Same as the plant page's (water-check §3.1), minus the auto-hide. */
html[data-page="home"] .top{position:sticky;top:0;z-index:20}
html[data-page="home"] .top__bar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;height:auto;padding:12px 0}
html[data-page="home"] .wordmark{display:inline-flex;align-items:center;justify-self:center;min-height:44px;text-decoration:none;color:var(--forest)}
html[data-page="home"] .wordmark svg{height:42px;width:auto}
html[data-page="home"] .shop-round{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--pink);border:2px solid var(--forest);box-shadow:2px 2px 0 var(--forest);color:var(--forest)}
html[data-page="home"] .shop-round svg{width:20px;height:20px}
html[data-page="home"] .shop-round:focus-visible{border-radius:50%}
/* Chips: links rather than buttons here, so the active state is aria-current. */
html[data-page="home"] .chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html[data-page="home"] .chips::-webkit-scrollbar{display:none}
html[data-page="home"] .chip{flex:none;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;border-radius:999px}
html[data-page="home"] .chip > span{display:inline-flex;align-items:center;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
html[data-page="home"] .chip[aria-current="true"] > span{background:var(--forest);color:#fff;border-color:var(--forest)}

/* ── §3.2 Hero ───────────────────────────────────── */
html[data-page="home"] .hp-hero{padding:24px 0 8px;scroll-margin-top:128px}
html[data-page="home"] .hp-hero h1{font:900 44px/1.03 var(--head);letter-spacing:-.035em;color:var(--ink);margin-top:16px}
html[data-page="home"] .hp-hero .intro{margin-top:16px;font-size:17px;line-height:1.6;color:var(--body-2)}
html[data-page="home"] .hp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
html[data-page="home"] .hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:0 18px;border-radius:999px;text-decoration:none;color:var(--forest);font-size:16px;line-height:1}
html[data-page="home"] .hp-btn svg{width:16px;height:16px}
html[data-page="home"] .hp-btn--primary{background:var(--pink);border:2px solid var(--forest);box-shadow:var(--shadow-hard);font-family:var(--head);font-weight:900}
html[data-page="home"] .hp-btn--primary:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--forest)}
html[data-page="home"] .hp-btn--ghost{background:#fff;border:1.5px solid var(--line);font-family:var(--head);font-weight:800}
html[data-page="home"] .hp-hero .scene-card{margin:24px 0 0}

/* ── §3.3 How it works ───────────────────────────── */
html[data-page="home"] .hp-steps{display:grid;gap:10px}
html[data-page="home"] .hp-step{display:flex;align-items:flex-start;gap:14px;padding:16px}
html[data-page="home"] .hp-step__num{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--sage);font-size:12px;line-height:1;font-weight:700;letter-spacing:.04em;color:var(--forest)}
html[data-page="home"] .hp-step__num--pink{background:var(--pink-tint)}
html[data-page="home"] .hp-step__num--skip{background:var(--skip-tint)}
html[data-page="home"] .hp-step__title{font:800 17px/1.3 var(--head);margin-top:2px}
html[data-page="home"] .hp-step__body{margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--muted-2)}

/* ── §3.4 Plant library ──────────────────────────── */
html[data-page="home"] .hp-lib__top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}
html[data-page="home"] .hp-lib__hint{margin:0 0 22px 12px;font-family:var(--label-font);font-size:10.5px;line-height:1.3;font-weight:var(--label-weight);letter-spacing:.12em;color:var(--muted);white-space:nowrap}
html[data-page="home"] .hp-lib{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 calc(var(--gutter) * -1);padding:0 var(--gutter) 6px;scroll-padding:0 var(--gutter)}
html[data-page="home"] .hp-lib::-webkit-scrollbar{display:none}
html[data-page="home"] .hp-lib:focus-visible{outline-offset:-3px}
html[data-page="home"] .hp-plant{flex:0 0 56%;scroll-snap-align:start;border-radius:18px;background:#fff;border:1.5px solid var(--line)}
html[data-page="home"] .hp-plant__link{display:block;height:100%;padding:10px 10px 14px;border-radius:17px;text-decoration:none;color:var(--forest)}
html[data-page="home"] .hp-plant--soon{padding:10px 10px 14px;background:var(--cream);border:1.5px dashed var(--hp-photo-dash)}
html[data-page="home"] .hp-plant__img{display:block;aspect-ratio:1/1;border-radius:12px;background:var(--hp-sage) center/46% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314402A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9'/%3E%3Cpath d='M12 12c0-4.2 3-6.8 7.5-6.8 0 4.2-3 6.8-7.5 6.8z'/%3E%3Cpath d='M12 15c0-3.4-2.6-5.6-6.5-5.6 0 3.4 2.6 5.6 6.5 5.6z'/%3E%3C/svg%3E")}
html[data-page="home"] .hp-plant--soon .hp-plant__img{opacity:.55;background-color:#EAE3D5}
html[data-page="home"] .hp-plant__name{display:block;margin-top:12px;font:800 16.5px/1.3 var(--head)}
html[data-page="home"] .hp-plant__note{display:block;margin-top:2px;font-size:14px;line-height:1.45;color:var(--muted)}

/* ── §3.5 Why these guides (sage band) ───────────── */
html[data-page="home"] .hp-wave{height:24px}
html[data-page="home"] main .hp-sage{background:var(--hp-sage);padding:24px 0 36px}
html[data-page="home"] .hp-sage .head > .eyebrow{color:var(--hp-sage-eyebrow)}
html[data-page="home"] .hp-sage .head > .eyebrow::before{color:var(--forest)}
html[data-page="home"] .hp-sage .sub{color:var(--body-2)}
html[data-page="home"] .hp-why{background:#fff;border:1.5px solid var(--hp-sage-line);border-radius:18px}
html[data-page="home"] .hp-why__row{display:flex;align-items:flex-start;gap:12px;padding:14px}
html[data-page="home"] .hp-why__row + .hp-why__row{border-top:1px solid var(--hp-row-line)}
html[data-page="home"] .hp-why__ic{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--sage);color:var(--forest)}
html[data-page="home"] .hp-why__ic svg{width:18px;height:18px}
html[data-page="home"] .hp-why__title{font:700 16px/1.3 var(--body);margin-top:6px}
html[data-page="home"] .hp-why__body{margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--body-3)}
html[data-page="home"] .hp-quote{margin-top:12px;background:var(--cream);border:1.5px dashed #D9CDB8;border-radius:18px;padding:16px}
html[data-page="home"] .hp-quote__label{font-family:var(--label-font);font-size:10.5px;line-height:1.3;font-weight:var(--label-weight);letter-spacing:.12em;color:var(--muted)}
html[data-page="home"] .hp-quote__text{margin-top:6px;font:800 18px/1.35 var(--head);color:var(--forest)}

/* ── §3.6 The stakes ─────────────────────────────── */
html[data-page="home"] .hp-stakes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html[data-page="home"] .hp-stake{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 8px 14px}
html[data-page="home"] .hp-stake__swatch{display:block;width:26px;height:64px;border-radius:999px;border:2px solid var(--forest)}
html[data-page="home"] .hp-stake__name{margin-top:12px;font:800 15px/1.25 var(--head)}
html[data-page="home"] .hp-stake__light{margin-top:4px;font-family:var(--label-font);font-size:10px;line-height:1.3;font-weight:var(--label-weight);letter-spacing:.1em;color:var(--muted)}

/* ── §3.7 FAQ ────────────────────────────────────── */
html[data-page="home"] .hp-faq{background:#fff;border:1.5px solid var(--line);border-radius:18px;overflow:hidden}
html[data-page="home"] .hp-faq__row + .hp-faq__row{border-top:1px solid var(--hp-row-line)}
html[data-page="home"] .hp-faq h3{font:inherit}
html[data-page="home"] .hp-faq__btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;padding:12px 14px;text-align:left;font:700 16px/1.35 var(--body);color:var(--forest)}
html[data-page="home"] .hp-faq__btn:focus-visible{outline-offset:-3px}
html[data-page="home"] .hp-pm{position:relative;flex:none;width:28px;height:28px;border-radius:50%;border:1.5px solid var(--forest);transition:background .2s}
html[data-page="home"] .hp-pm::before,
html[data-page="home"] .hp-pm::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:2px;margin:-1px 0 0 -5.5px;border-radius:2px;background:var(--forest)}
html[data-page="home"] .hp-pm::after{transform:rotate(90deg)}
html[data-page="home"] .hp-faq__btn[aria-expanded="true"] .hp-pm{background:var(--forest)}
html[data-page="home"] .hp-faq__btn[aria-expanded="true"] .hp-pm::before{background:#fff}
html[data-page="home"] .hp-faq__btn[aria-expanded="true"] .hp-pm::after{display:none}
html[data-page="home"] .hp-faq__a{padding:0 14px 16px}
html[data-page="home"] .hp-faq__a[hidden]{display:none}
html[data-page="home"] .hp-faq__a p{font-size:15px;line-height:1.55;color:var(--body-3)}

/* ── §3.8 Buy CTA ────────────────────────────────── */
/* The plant page's band (base layer + modern-merge §4.13). */
html[data-page="home"] main .band--forest{background:var(--forest);color:#fff;padding:32px 0 36px}
html[data-page="home"] .shop .eyebrow{text-transform:uppercase;font-size:11.5px;line-height:1.4;font-weight:700}
html[data-page="home"] .shop .h2{margin-top:8px}
html[data-page="home"] .hp-shop__body{margin-top:12px;font-size:16px;line-height:1.6;color:var(--muted-dark)}
html[data-page="home"] .shop-btn{align-items:center;justify-content:center;border-radius:999px;text-decoration:none}
html[data-page="home"] .shop__foot{font-family:var(--label-font);font-weight:var(--label-weight)}
