/* Homepage: the approved brand-kit concept fold (hero, five-up strip, how it works +
   real-world impact), then the product sections. */

/* Hero: copy on midnight left, the kit's photographic plate right with lime slashes.
   Under 1024px it stacks, copy first, like the kit's portrait hero. */
.hm-hero{position:relative;overflow:hidden;padding:clamp(32px,4.5vw,64px) 0 clamp(40px,5vw,72px)}
.hm-hero::before,.hm-hero::after{content:"";position:absolute;z-index:0;pointer-events:none;background:var(--acc)}
.hm-hero::before{left:-40px;top:-30px;width:12px;height:180px;transform:skewX(-28deg)}
.hm-hero::after{right:-24px;bottom:-30px;width:10px;height:260px;transform:skewX(-28deg)}
.hm-in{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,3.5vw,56px);align-items:center}
/* The H1 is the big headline; the brand slogan is the small line above it (registration brief) */
.hm-slogan{margin:0;font-weight:800;font-style:italic;font-size:clamp(14px,1.2vw,16px);line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.hm-slogan span{color:var(--acc)}
.hm-h1{margin:14px 0 0;font-weight:800;font-size:clamp(38px,4vw,58px);line-height:1.02;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.hm-sub{margin:22px 0 0;text-wrap:balance;font-size:clamp(19px,1.6vw,22px);font-weight:600;line-height:1.35;color:var(--ink)}
.hm-body{margin:10px 0 0;max-width:34em;font-size:clamp(16px,1.3vw,18px);line-height:1.5;color:var(--soft)}
.hm-rate{margin:16px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:15px;font-weight:600;color:var(--ink)}
.hm-rate .st-pay{font-size:13px;font-weight:400}
.hm-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 0}
/* One primary button per section, the 18+ line under it, any other link as plain text */
.hm-fine{display:block;margin-top:10px;font-size:13px;color:var(--mute)}
.hm-fine--hero{margin-top:12px}
.hm-act{margin:26px 0 0}
.hm-act--two{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hm-act--two .hm-fine{flex:1 1 100%;margin-top:0}
.hm-sec-link{margin:12px 0 0;font-size:15px}
.hm-sec-link a{color:var(--soft);text-decoration:underline;text-decoration-color:rgba(199,255,61,.6);text-underline-offset:4px}
.hm-sec-link a:hover{color:var(--acc)}
.hm-why{padding:clamp(40px,5vw,64px) 0}
.hm-why-line{margin:0;max-width:30em;font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:clamp(22px,2.4vw,30px);line-height:1.25;text-wrap:balance}
/* Hero image: the brand-kit hero_1 plate with its baked-in text removed */
.hm-art{position:relative;margin:0}
.hm-art img{display:block;width:100%;height:auto;aspect-ratio:1080/826;object-fit:cover;border-radius:20px;border:1px solid var(--hair)}
.hm-art::before{content:"";position:absolute;left:-14px;top:12%;width:6px;height:46%;background:var(--acc);transform:skewX(-20deg);border-radius:2px}

/* Five-up value strip */
.hm-strip{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);background:#080A10}
.hm-strip ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 auto;list-style:none}
.hm-strip li{display:flex;align-items:center;gap:14px;padding:22px 18px;font-size:15px;font-weight:500;line-height:1.3;color:var(--ink)}
.hm-strip li+li{border-left:1px solid var(--hair)}
.hm-strip svg{flex:none;width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* How it works + real-world impact */
.hm-band{border-top:0}
.hm-bandin{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:clamp(28px,3vw,48px)}
.hm-bandin>div+div{padding-left:clamp(28px,3vw,48px);border-left:1px solid var(--hair)}
.hm-kick{display:flex;align-items:center;gap:12px;margin:0;font-family:'Sora',system-ui,sans-serif;font-weight:800;font-style:italic;font-size:clamp(22px,2.2vw,30px);line-height:1.15;letter-spacing:.04em;text-transform:uppercase}
.hm-kick::before{content:"";width:6px;height:.95em;background:var(--acc);transform:skewX(-20deg)}
.hm-how{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:26px 0 0;padding:0;list-style:none}
.hm-how li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 12px;text-align:center;border-radius:16px;background:var(--card);border:1px solid var(--hair)}
.hm-how li+li::before{content:"›";position:absolute;left:-17px;top:50%;transform:translateY(-50%);font-size:24px;line-height:1;color:rgba(244,246,248,.4)}
.hm-how svg{width:32px;height:32px;fill:none;stroke:var(--acc);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hm-how h3{margin:4px 0 0;font-family:'Sora',system-ui,sans-serif;font-weight:800;font-size:15px;text-wrap:balance;line-height:1.2;text-transform:uppercase;letter-spacing:.02em}
.hm-how p{margin:0;font-size:14px;line-height:1.45;color:var(--soft)}
.hm-impact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 0;padding:0;list-style:none}
.hm-impact li{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:var(--card);border:1px solid var(--hair)}
.hm-impact img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.hm-impact b{padding:12px 14px;font-size:15px;line-height:1.25}

/* Skill tests teaser + a sample Trainer Card */
.hm-tests{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:clamp(32px,4vw,64px);align-items:center}
.hm-tests .st-h2{margin-top:0}

/* Short pay preview (the full ladder lives on /pay/) */
.hm-pay-head{max-width:640px}
.hm-pay .st-h2{margin-top:0}
/* The ladder as a staircase: each level is a taller step, so the layout itself says "pay grows" */
.hm-lad{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;margin:36px 0 0;padding:0;list-style:none}
.hm-lad li{--h:150px;--w:100%;display:flex;flex-direction:column;gap:6px;min-height:var(--h);box-sizing:border-box;padding:20px 18px;border-radius:16px;border:1px solid rgba(var(--tier-rgb),.35);background:linear-gradient(180deg,rgba(var(--tier-rgb),.16),rgba(var(--tier-rgb),.02) 75%),var(--card);box-shadow:inset 0 3px 0 var(--tier)}
.hm-lad li:nth-child(2){--h:186px;--w:79%}
.hm-lad li:nth-child(3){--h:222px;--w:86%}
.hm-lad li:nth-child(4){--h:258px;--w:93%}
.hm-lad li:nth-child(5){--h:294px}
.hm-lad li.t-applicant{border-style:dashed;background:transparent;box-shadow:none}
.hm-lad-n{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.12em;color:var(--tier)}
.hm-lad b{font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:clamp(18px,1.5vw,22px);letter-spacing:-.01em;color:var(--tier)}
.hm-lad small{font-size:14px;line-height:1.4;color:var(--soft)}
.hm-act--row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:32px}
.hm-act--row .hm-fine{margin:0}
.hm-act--row .hm-sec-link{margin:0;color:var(--soft);text-decoration:underline;text-decoration-color:rgba(199,255,61,.6);text-underline-offset:4px}
.hm-act--row .hm-sec-link:hover{color:var(--acc)}

/* Gamer or pro */
.hm-paths{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:32px 0 0}
.hm-path{display:flex;flex-direction:column;gap:10px;padding:0 0 22px;border-radius:16px;background:var(--card);border:1px solid var(--hair);color:var(--ink);text-decoration:none;overflow:hidden;transition:border-color .2s}
.hm-path:hover{border-color:var(--acc)}
.hm-path img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin-bottom:8px}
.hm-path>*:not(img){margin-left:22px;margin-right:22px}
.hm-path-t{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--acc)}
.hm-path b{font-family:'Sora',system-ui,sans-serif;font-size:clamp(19px,1.8vw,22px);line-height:1.25}
.hm-chips{display:flex;flex-wrap:wrap;gap:6px}
.hm-chips i{padding:4px 10px;border-radius:999px;font-style:normal;font-size:13px;color:var(--soft);box-shadow:inset 0 0 0 1px var(--hair2)}
.hm-path em{display:inline-flex;align-items:center;gap:8px;margin-top:6px;font-style:normal;font-weight:700;color:var(--acc)}

/* Trust */
.hm-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:28px 0 0;padding:0;list-style:none}
.hm-trust li{display:flex;flex-direction:column;gap:6px;padding:22px;border-radius:16px;background:var(--card);border:1px solid var(--hair)}
.hm-trust b{font-family:'Sora',system-ui,sans-serif;font-weight:800;font-size:30px;line-height:1;color:var(--acc)}
.hm-trust span{margin-top:8px;font-size:17px;font-weight:700}
.hm-trust small{font-size:14px;line-height:1.5;color:var(--soft)}
.hm-co{margin:16px 0 0;padding:14px 18px;border-radius:12px;border:1px solid var(--hair);font-size:15px;line-height:1.6;color:var(--soft)}
.hm-co b{color:var(--ink)}
.hm-co a{color:var(--acc)}

/* Why robotics, why now (cited, compact) */

/* For AI labs strip: slim, secondary */

@media (max-width:1279px){
  .hm-bandin{grid-template-columns:1fr}
  .hm-bandin>div+div{padding-left:0;border-left:0}
  .hm-strip li{padding:18px 12px;font-size:14px;gap:10px}
}
@media (max-width:1023px){
  .hm-in{grid-template-columns:1fr}
  .hm-art{max-width:720px}
  .hm-art::before{display:none}
  .hm-strip ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-strip li:nth-child(4){border-left:0}
  .hm-how{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-how li:nth-child(3)::before{display:none}
  .hm-tests{grid-template-columns:1fr}
  /* Narrow screens: the steps stack and widen as you climb */
  .hm-lad{grid-template-columns:1fr;gap:8px;justify-items:start}
  .hm-lad li{width:var(--w,72%);min-height:0;flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:12px;padding:14px 16px}
  .hm-lad li:first-child{--w:72%}
  .hm-lad small{flex-basis:100%}
}
@media (max-width:760px){
  .hm-ctas .mg-btn{flex:1 1 100%}
  .hm-act .mg-btn{width:100%;justify-content:center}
  .hm-strip ul{grid-template-columns:1fr 1fr;padding:0}
  .hm-strip li{border-left:0!important;border-top:1px solid var(--hair);padding:14px 16px}
  .hm-strip li:nth-child(-n+2){border-top:0}
  .hm-strip li:nth-child(even){border-left:1px solid var(--hair)!important}
  .hm-strip li:last-child{grid-column:1/-1}
  .hm-how{grid-template-columns:1fr}
  .hm-how li{flex-direction:row;flex-wrap:wrap;text-align:left;align-items:center;column-gap:14px}
  .hm-how li p{flex-basis:100%}
  .hm-how li::before{display:none}
  .hm-impact{gap:8px}
  .hm-impact b{padding:10px;font-size:13px}
  .hm-paths,.hm-trust{grid-template-columns:1fr}
}
