/* hallmark · polish · EYELIVIO homepage only · 2026-11-20 · loaded by index.html after site.css
   critique: the site-wide polish now lives in site.css (phase 1); this file keeps what only the homepage has: its spacing, the B2 hero, the masks-first shop, the moved article meta
   waive 38iii .hx-b h1 .light: the hero keeps the approved bold/light brand line */

/* Eyebrows are gone from the homepage; heads start the block */
.h2{margin-top:0}
.signup-box h2{margin-top:0}
/* The one label kept (real information): plain, sentence case */
.label{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--lime);letter-spacing:0;text-transform:none}
/* Article cards: topic and read time sit under the summary as a quiet line */
.acard h3{margin-top:0}
.acard .meta{margin:14px 0 0;font-size:12px;font-weight:300;color:var(--faint)}

/* One section gap (120px desktop, 80px phone) and one column gap */
:root{--section-gap:120px;--col-gap:24px}
@media (max-width:640px){:root{--section-gap:80px}}
.section{padding:var(--section-gap) 0}
.fs-sec{padding:0}
section.rvw-sec{padding:var(--section-gap) 0 0}
.doc-copy{padding-top:var(--section-gap);padding-bottom:var(--section-gap)}
.signup{padding:0 0 var(--section-gap)}
footer.site{padding-top:96px}
@media (max-width:980px){.doc-copy{padding:40px 24px var(--section-gap)}}
.sec-head,.intro .lead,.steps,.grid-products,.grid-articles,.signup-box,.foot-grid,.rvw-sec .rvw,.rvw-sec .rvw-list,.fs-band{column-gap:var(--col-gap)}
.intro .lead,.steps,.grid-products,.grid-articles,.signup-box,.foot-grid,.rvw-sec .rvw,.rvw-sec .rvw-list{row-gap:var(--col-gap)}
/* The reviews block's own inline style uses bare 1fr tracks; these win over it */
.rvw-sec .rvw{grid-template-columns:240px minmax(0,1fr)}
.rvw-sec .rvw-list{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:980px){.rvw-sec .rvw,.rvw-sec .rvw-list{grid-template-columns:minmax(0,1fr)}}

/* ===== Homepage hero: variant B2 "the routine" with the bedtime photo, approved 2026-11-20 (from .hallmark/hero-variants/hero-b2.css) =====
   waive 38iii .light in h1: the hero keeps the approved bold/light brand line */
:root{--hx-rail:var(--card);--hx-rail-edge:var(--hair)}
.hx{position:relative;overflow:clip}
.hx-b{min-height:100svh;display:flex;align-items:flex-end;padding:160px 0 var(--section-gap);isolation:isolate}
.hx-b-bg{position:absolute;inset:0;z-index:-2}
.hx-b-bg img{width:100%;height:100%;object-fit:cover;object-position:62% 40%}
.hx-b:before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,var(--void-95) 0%,var(--void-86) 34%,var(--void-35) 62%,var(--void-00) 82%),
  linear-gradient(0deg,var(--void-100) 0%,var(--void-00) 42%)}
.hx-b-grid{display:grid;grid-template-columns:minmax(0,1fr);row-gap:56px;width:100%}
.hx-b-copy{max-width:640px}
.hx-b h1{font-size:clamp(34px,4.6vw,64px);line-height:1.02;letter-spacing:-.02em;margin:0 0 24px;font-weight:700;overflow-wrap:break-word;min-width:0;text-wrap:balance}
.hx-b h1 .light{display:block;font-weight:300;color:var(--white-88)}
.hx-sub{margin:0 0 32px;font-size:17px;color:var(--soft);max-width:460px}
.hx-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--col-gap);row-gap:12px}
.hx-steps a{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;padding:16px 20px 16px 16px;background:var(--hx-rail);border:1px solid var(--hx-rail-edge);border-radius:var(--r);color:var(--txt);text-decoration:none;transition:border-color .2s,transform .2s}
.hx-th{display:grid;place-items:center;width:88px;height:88px;border-radius:16px;background:radial-gradient(110% 90% at 45% 25%,var(--blue-glow) 0%,var(--cobalt) 55%,var(--navy-deep) 100%)}
.hx-th img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 8px 10px var(--shadow-40))}
.hx-st{display:grid;gap:2px}
.hx-n{font-size:12px;font-weight:700;color:var(--lime)}
.hx-st b{font-size:20px;line-height:1.15;font-weight:700}
.hx-pn{font-size:14px;color:var(--soft)}
.hx-p{font-size:13px;color:var(--faint);font-variant-numeric:tabular-nums}
.hx-steps li:not(.off):not(.soon) .hx-p{color:var(--lime);font-weight:700}
.hx-steps a:hover{border-color:var(--lime-35);transform:translateY(-3px)}
.hx-steps a:active{transform:translateY(-1px)}
.hx-steps a:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@media (max-width:980px){
  .hx-b{display:block;min-height:0;padding:calc(54svh) 0 var(--section-gap)}
  .hx-b-bg{bottom:auto;height:62svh}
  .hx-b-bg img{object-position:58% 35%}
  .hx-b:before{background:linear-gradient(180deg,var(--void-45) 0,var(--void-00) 14svh,var(--void-00) 36svh,var(--void-100) 62svh,var(--void-100) 100%)}
  .hx-steps{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){.hx-b .ctas{flex-direction:column;align-items:stretch}.hx-steps a{grid-template-columns:64px minmax(0,1fr)}.hx-th{width:64px;height:64px}.hx-th img{width:52px;height:52px}}
@media (prefers-reduced-motion:reduce){.hx-steps a{transition:none}.hx-steps a:hover{transform:none}}
.hx-b-bg picture{display:block;height:100%} /* holds the photo at full size; the only rule added to the copy of B */

/* Hero: small masks card next to the buttons (requested 2026-11-20) */
@media (min-width:641px){.hx-b .ctas{align-items:center}}
.hx-mini{display:inline-flex;align-items:center;gap:12px;min-height:var(--btn-h);padding:4px 16px 4px 4px;border-radius:999px;background:var(--card);border:1px solid var(--hair);color:var(--txt);text-decoration:none;transition:border-color .2s,transform .2s}
.hx-mini img{width:38px;height:38px;border-radius:50%;object-fit:contain;background:var(--grey);padding:3px;flex:none}
.hx-mini>span{display:grid;line-height:1.25}
.hx-mini b{font-size:13px;font-weight:700}
.hx-mini span span{font-size:13px;font-weight:700;color:var(--lime);font-variant-numeric:tabular-nums}
.hx-mini:hover{border-color:var(--lime-35);transform:translateY(-2px)}
.hx-mini:active{transform:translateY(0) scale(.98)}
.hx-mini:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@media (max-width:640px){.hx-mini{justify-content:flex-start;padding-left:5px}}
@media (prefers-reduced-motion:reduce){.hx-mini{transition:none}.hx-mini:hover{transform:none}}

/* Masks-first shop (2026-11-20): only the two mask packs in the grid; ointment and Care Pack named below as unavailable */
.grid-products.grid-masks{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-masks .pcard{flex-direction:row}
.grid-masks .pcard .pimg{width:42%;flex:none;aspect-ratio:auto}
.unavail-note{margin:24px 0 0;font-size:14px;color:var(--soft)}
.unavail-note a{color:var(--txt);border-bottom:1px solid var(--hair);padding-bottom:1px}
.unavail-note a:hover{border-bottom-color:var(--lime)}
.unavail-note a:active{opacity:.7}
@media (max-width:1100px){.grid-products.grid-masks{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.grid-masks .pcard{flex-direction:column}.grid-masks .pcard .pimg{width:100%;aspect-ratio:4/3}}
/* brand line, owner decision 2026-11-20: "Nighttime Dry Eye Care" everywhere (title, social titles, footer, Organization slogan), matching the live site, Google Business and Facebook; the "Nighttime Eye Comfort" wording from the FDA pass is reverted on the homepage */
/* wording, owner decision 2026-11-20: hero "Wake up comfortable." to "End your day comfortably." (no implied result) · routine "Dry eyes feel worst at night." to "Dry eyes can feel worse at night." */
/* decisions recorded on 2026-11-20 (batch 3 to 5 rewordings, FDA wording passes, brand line, wording) are listed in .hallmark/backups/phase1/home.css */
