/* REALAUTOM v2 — reference-led homepage refresh. Scoped to .home-refresh. */
.home-refresh{
  --home-radius:16px;
  --home-gap:14px;
}
.home-refresh .site-header{min-height:72px}
.home-refresh .main-nav a{padding:9px 12px;border-radius:999px}

.home-hero{padding:clamp(52px,7vw,88px) 0 clamp(48px,6vw,72px)}
.home-hero__intro{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(300px,.76fr);gap:clamp(36px,7vw,92px);align-items:end}
.home-hero h1{font-family:"Onest",sans-serif;font-size:clamp(48px,6.7vw,86px);letter-spacing:-.04em;line-height:.98;text-wrap:balance;margin:0;max-width:900px}
.home-hero h1 span{color:var(--orange)}
.home-hero__summary{padding-bottom:4px}
.home-hero__summary .hero-lead{font-size:clamp(17px,1.5vw,20px);line-height:1.55;margin:0;max-width:34rem}
.home-hero__summary .hero-actions{margin-top:26px}
.home-hero__showcase{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(300px,.68fr);gap:var(--home-gap);margin-top:clamp(36px,5vw,58px);align-items:stretch}
.home-hero__visual{position:relative;height:clamp(520px,43vw,620px);margin:0;border-radius:var(--home-radius);overflow:hidden;background:var(--ink)}
.home-hero__visual:after{content:"";position:absolute;inset:44% 0 0;background:linear-gradient(to bottom,transparent,rgba(12,11,10,.86))}
.home-hero__visual img{width:100%;height:100%;object-fit:cover;object-position:center 47%}
.home-hero__visual figcaption{position:absolute;z-index:1;left:clamp(24px,4vw,42px);right:clamp(24px,4vw,42px);bottom:clamp(22px,3vw,34px);display:flex;align-items:end;justify-content:space-between;gap:28px;color:#fff}
.home-hero__visual strong{font-family:"Onest",sans-serif;font-size:clamp(24px,3vw,38px);line-height:1.05;letter-spacing:-.035em;max-width:15ch}
.home-hero__visual span{max-width:24ch;color:rgba(255,255,255,.78);text-align:right}
.home-choice{background:var(--ink);color:#fff;border-radius:var(--home-radius);padding:clamp(26px,3vw,38px);display:flex;flex-direction:column;justify-content:space-between;min-height:520px}
.home-choice__label{font-family:"Advent Pro",sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#d9622d;font-size:13px;font-weight:800}
.home-choice h2{font-family:"Onest",sans-serif;font-size:clamp(27px,2.8vw,38px);line-height:1.06;letter-spacing:-.035em;margin:20px 0 14px}
.home-choice p{color:rgba(255,255,255,.72);margin:0;max-width:31ch}
.home-choice__list{list-style:none;margin:40px 0 0;padding:0;display:grid}
.home-choice__list li{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:16px 0;border-top:1px solid rgba(255,255,255,.18)}
.home-choice__list b{font-family:"Onest",sans-serif;color:#d9622d}

.home-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--home-gap)}
.home-route-card{display:grid;grid-template-rows:220px 1fr;min-width:0;overflow:hidden;border-radius:var(--home-radius);background:var(--paper);border:1px solid var(--line)}
.home-route-card__media{margin:0;overflow:hidden;background:var(--ink)}
.home-route-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .28s var(--ease)}
.home-route-card--buy .home-route-card__media img{object-position:center 43%}
.home-route-card--setup .home-route-card__media img{object-position:center 48%}
.home-route-card--support .home-route-card__media img{object-position:center 42%}
.home-route-card__body{display:flex;flex-direction:column;min-height:350px;padding:26px}
.home-route-card h3{font-family:"Onest",sans-serif;font-size:clamp(24px,2.2vw,30px);line-height:1.08;letter-spacing:-.035em;margin:0 0 12px}
.home-route-card p{color:var(--muted);margin:0}
.home-route-card ul{margin:24px 0;padding-left:20px}
.home-route-card .text-link{margin-top:auto;align-self:flex-start}
.home-route-card--setup{border-color:var(--ink);background:var(--ink);color:#fff}
.home-route-card--setup .home-route-card__media{border-bottom:1px solid rgba(255,255,255,.14)}
.home-route-card--setup p{color:rgba(255,255,255,.7)}
.home-route-card--setup .text-link{color:#fff}
.home-route-card--setup .text-link:hover{color:#f28a55}
.home-route-card--support{background:var(--soft)}
.home-route-card:hover .home-route-card__media img{transform:scale(1.025)}

.home-refresh .steps{border:0;gap:var(--home-gap)}
.home-refresh .step{min-height:250px;margin:0;padding:26px;border:1px solid var(--line);border-radius:var(--home-radius);background:var(--paper)}
.home-refresh .step:nth-child(2){border-color:var(--ink);background:var(--ink);color:#fff}
.home-refresh .step:nth-child(2) b{color:#d9622d}
.home-refresh .step:nth-child(2) p{color:rgba(255,255,255,.7)}
.home-refresh .step h3{margin-top:52px}
.home-refresh .faq,.home-refresh .cta-band{border-radius:var(--home-radius)}

@media(max-width:900px){
  .home-hero__intro,.home-hero__showcase{grid-template-columns:1fr}
  .home-hero__intro{gap:24px}
  .home-hero__showcase{margin-top:34px}
  .home-hero__visual{height:500px}
  .home-choice{min-height:auto}
  .home-route-grid{grid-template-columns:1fr 1fr}
  .home-route-card:last-child{grid-column:1/-1;grid-template-columns:minmax(240px,.8fr) 1fr;grid-template-rows:1fr}
}
@media(max-width:640px){
  .home-hero{padding-top:44px}
  .home-hero h1{font-size:43px;line-height:1.02}
  .home-hero__summary .hero-actions>*{width:100%}
  .home-hero__visual{height:430px}
  .home-hero__visual figcaption{display:block}
  .home-hero__visual strong{display:block;max-width:13ch}
  .home-hero__visual span{display:block;margin-top:10px;text-align:left}
  .home-choice{padding:26px}
  .home-choice__list{margin-top:28px}
  .home-route-grid{grid-template-columns:1fr}
  .home-route-card,.home-route-card:last-child{grid-column:auto;grid-template-columns:1fr;grid-template-rows:210px 1fr}
  .home-route-card__body{min-height:0}
  .home-route-card .text-link{margin-top:28px}
  .home-refresh .step{min-height:auto}
  .home-refresh .step h3{margin-top:36px}
}
