/* Samvora homepage (V3.2 UX reset). Brand-first hero, problems as entry points, sites, how it works.
   Loaded only on index.html; tokens come from samvora.css + ui.css. */
body:has([data-home-hero]) .sv-notice{display:none}
.site-header .header-cta{transition:opacity .25s ease,visibility .25s}
.site-header.has-hero-cta:not(.cta-ready) .header-cta{opacity:0;visibility:hidden;pointer-events:none}

.hero--brand[data-home-hero]{padding-bottom:clamp(40px,6vw,88px)}
[data-home-hero] .display{font-size:clamp(2.55rem,1.4rem + 4.6vw,4.9rem);text-wrap:balance}
[data-home-hero] .lead{max-width:44ch}
.home-cta{display:grid;gap:10px;justify-items:start;margin-top:28px}
.btn--xl{min-height:56px;padding-inline:28px;font-size:1.04rem;border-radius:16px;box-shadow:0 14px 30px -16px rgba(21,117,73,.75)}
.home-cta-note{font-size:.88rem;color:var(--text-3)}
.home-roles{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin-top:14px;font-size:.86rem;color:var(--text-2)}
.home-roles span{display:inline-flex;align-items:center;gap:7px}
.home-roles i{width:9px;height:9px;border-radius:50%;background:var(--k)}
@media (max-width:619px){
  .home-cta{justify-items:stretch}
  .home-cta .btn{justify-content:center}
  .home-cta-note{text-align:center}
}

.home-head{display:grid;gap:12px;margin-bottom:clamp(24px,3.5vw,40px);max-width:760px}
.home-head .lead{margin-top:0}
.home-head--row{max-width:none;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px 24px}
.home-head--row > div{display:grid;gap:12px}

.problems{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:760px){.problems{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:1240px){.problems{grid-template-columns:repeat(6,minmax(0,1fr))}}
.problem{display:grid;grid-template-rows:auto auto 1fr;height:100%;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden;color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.problem-art{display:block;width:100%;height:auto;aspect-ratio:120/72;border-bottom:1px solid var(--line)}
.problem b{padding:12px 14px 2px;font-size:1rem;line-height:1.25;letter-spacing:-.01em}
.problem span{padding:0 14px 14px;font-size:.84rem;line-height:1.4;color:var(--text-3)}
.problem:hover{transform:translateY(-3px);border-color:rgba(21,122,75,.45);box-shadow:var(--shadow)}
.problem:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
@media (max-width:420px){.problem span{display:none}.problem b{padding-bottom:14px;font-size:.95rem}}

.home-sites .scene-note{margin-top:18px}
.home-example{display:block;margin-top:6px}

.home-steps{list-style:none;counter-reset:hs;margin:0;padding:0;display:grid;gap:14px}
@media (min-width:760px){.home-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
.home-steps li{counter-increment:hs;display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 14px;align-items:start}
.home-steps li::before{content:counter(hs);grid-row:span 2;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--green);display:grid;place-items:center;font:600 1rem var(--mono);color:var(--green)}
.home-steps b{font-size:1.06rem;letter-spacing:-.01em}
.home-steps span{color:var(--text-2);font-size:.95rem;line-height:1.45}
.home-refs{display:grid;gap:12px;margin-top:clamp(24px,3vw,36px)}
.home-trust{display:grid;gap:18px;align-items:center;margin-top:clamp(28px,4vw,48px);padding:clamp(20px,3vw,32px);border-radius:24px;background:linear-gradient(135deg,var(--mint),var(--sun-soft));border:1px solid var(--line)}
.home-trust p{max-width:60ch;color:var(--text-2)}
.home-trust b{color:var(--text)}
@media (min-width:860px){.home-trust{grid-template-columns:1fr auto}}
@media (max-width:619px){.home-trust .btn{justify-content:center}}
.home-more{display:grid;gap:8px;margin-top:clamp(28px,4vw,44px);font-size:.9rem;color:var(--text-2)}
.home-more span{font-weight:600;color:var(--text)}
.home-more a{color:var(--green-2);text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.problem,.site-header .header-cta{transition:none}.problem:hover{transform:none}}
