/* A0019740 — Next-generation YITM homepage: bold red product-led UX. */
:root{
  --yitm-red:#ff2d20;
  --yitm-red-dark:#c91f16;
  --yitm-red-deep:#8f1712;
  --yitm-red-soft:#fff0ed;
  --yitm-cream:#fffaf7;
  --yitm-ink:#10233f;
  --yitm-copy:#46556a;
  --yitm-line:#eaded9;
  --yitm-white:#fff;
}
body[data-yitm-design-mode="home"]{background:var(--yitm-cream);color:var(--yitm-ink)}
body[data-yitm-design-mode="home"] .site-header{border-bottom-color:rgba(201,31,22,.12);background:rgba(255,255,255,.96)}
body[data-yitm-design-mode="home"] .brand-text em{color:var(--yitm-red)!important}
body[data-yitm-design-mode="home"] .brand-text small{color:#6d4d49!important}
body[data-yitm-design-mode="home"] .nav .nav-cta{background:var(--yitm-red)!important;border-color:var(--yitm-red)!important;color:#fff!important}
body[data-yitm-design-mode="home"] .nav .nav-cta:hover,
body[data-yitm-design-mode="home"] .nav .nav-cta:focus-visible{background:var(--yitm-red-dark)!important;border-color:var(--yitm-red-dark)!important}
body[data-yitm-design-mode="home"] a:focus-visible,
body[data-yitm-design-mode="home"] button:focus-visible,
body[data-yitm-design-mode="home"] input:focus-visible{outline-color:var(--yitm-red)!important}

.home-core-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 8%,rgba(255,255,255,.13) 0 12%,transparent 12.2%),
    radial-gradient(circle at 92% 14%,rgba(255,255,255,.08) 0 16%,transparent 16.2%),
    linear-gradient(135deg,#8f1712 0%,#d6251a 42%,#ff2d20 100%)!important;
  color:#fff!important;
  padding:clamp(34px,5vw,66px) 0 clamp(46px,6vw,78px)!important;
  min-height:calc(100svh - 76px);
}
.home-core-hero::before,.home-core-hero::after{display:none!important}
.home-core-hero .home-assistant-intro{max-width:1050px;margin:0 auto 28px;text-align:left}
.home-core-hero .home-assistant-intro .eyebrow{color:#ffe8e3!important;font-size:.8rem!important;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.home-core-hero .home-assistant-intro h1{
  max-width:1000px;
  margin:10px 0 16px!important;
  color:#fff!important;
  font-family:"Barlow Condensed",Barlow,Arial,sans-serif!important;
  font-size:clamp(3.2rem,7vw,7rem)!important;
  line-height:.88!important;
  letter-spacing:-.045em!important;
  text-transform:uppercase;
  text-wrap:balance;
}
.home-core-hero .home-assistant-intro p{
  max-width:760px;
  margin:0!important;
  color:#fff4f1!important;
  font-size:clamp(1.05rem,1.5vw,1.28rem)!important;
  line-height:1.55!important;
}
.nextgen-hero-trust{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.nextgen-hero-trust span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font-size:.82rem;font-weight:850;letter-spacing:.01em;backdrop-filter:blur(5px)}
.nextgen-hero-trust span::before{content:"•";margin-right:7px;color:#ffd7d1}

.home-core-hero .a0019476c-canvas{margin-top:0!important}
.home-core-hero .yhq{
  max-width:1040px!important;
  margin-left:0!important;
  padding:clamp(22px,3vw,34px)!important;
  border:1px solid rgba(255,255,255,.6)!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 28px 80px rgba(71,8,4,.3)!important;
}
.home-core-hero .yhq__kicker{color:var(--yitm-red-dark)!important}
.home-core-hero .yhq h2{color:var(--yitm-ink)!important;font-size:clamp(1.8rem,3vw,2.5rem)!important;letter-spacing:-.03em}
.home-core-hero .yhq__intro{color:var(--yitm-copy)!important;max-width:720px}
.home-core-hero .yitm-quoteme-mascot{border-color:#ffd2cc!important;background:var(--yitm-red-soft)!important}
.home-core-hero .yitm-quoteme-mascot svg rect,
.home-core-hero .yitm-quoteme-mascot svg path{stroke:var(--yitm-red-dark)!important}
.home-core-hero .yitm-quoteme-mascot svg path[fill="none"]{stroke:var(--yitm-red-dark)!important}
.home-core-hero .yhq__composer{border-color:#e6c4bf!important;box-shadow:0 8px 28px rgba(143,23,18,.08)}
.home-core-hero .yhq__composer:focus-within{border-color:var(--yitm-red)!important;box-shadow:0 0 0 3px rgba(255,45,32,.12)}
.home-core-hero .yhq__send{background:var(--yitm-red)!important;color:#fff!important}
.home-core-hero .yhq__send:hover{background:var(--yitm-red-dark)!important}
.home-core-hero .yhq__example{border-color:#ead4d0!important;background:#fff!important;color:var(--yitm-ink)!important}
.home-core-hero .yhq__example:hover{border-color:var(--yitm-red)!important;background:var(--yitm-red-soft)!important;color:var(--yitm-red-dark)!important}
.home-core-hero .yhq__utility a,
.home-core-hero .yhq__utility button{color:var(--yitm-red-dark)!important}
.home-core-hero .yhq__utility .yhq__explore{border-color:#f0c8c2!important;background:#fff5f2!important;color:var(--yitm-red-dark)!important}
.home-core-hero .yhq__privacy{color:#755f5b!important}
.yhq__thinking-label{color:var(--yitm-red-dark)!important}
.yhq__thinking-body{background:var(--yitm-red-soft)!important;border-color:#efc9c3!important}
.yhq__thinking-dots i{background:var(--yitm-red)!important}

.nextgen-home{background:var(--yitm-cream)}
.nextgen-home .wrap{max-width:1180px;margin:0 auto;padding-left:22px;padding-right:22px}
.nextgen-section{padding:clamp(58px,8vw,100px) 0}
.nextgen-kicker{display:block;margin-bottom:10px;color:var(--yitm-red-dark);font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.nextgen-title{max-width:920px;margin:0;color:var(--yitm-ink);font-family:"Barlow Condensed",Barlow,sans-serif;font-size:clamp(2.8rem,5.5vw,5.8rem);font-weight:900;line-height:.9;letter-spacing:-.045em;text-transform:uppercase;text-wrap:balance}
.nextgen-lede{max-width:760px;margin:18px 0 0;color:var(--yitm-copy);font-size:clamp(1.02rem,1.4vw,1.2rem);line-height:1.7}
.nextgen-proof{background:#fff;border-bottom:1px solid var(--yitm-line)}
.nextgen-proof-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,6vw,80px);align-items:start}
.nextgen-compare{display:grid;gap:10px;margin-top:2px}
.nextgen-compare-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}
.nextgen-compare-row>div{padding:15px 16px;border-radius:16px;line-height:1.45}
.nextgen-compare-old{background:#f5f2f1;color:#6b625f}
.nextgen-compare-new{background:var(--yitm-red-soft);color:var(--yitm-ink);font-weight:750;border-left:4px solid var(--yitm-red)}
.nextgen-compare-new strong{color:var(--yitm-red-dark)}
.nextgen-outcomes{background:linear-gradient(180deg,#fff8f5 0%,#fff 100%)}
.nextgen-outcome-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:34px}
.nextgen-outcome{position:relative;display:flex;flex-direction:column;min-height:230px;padding:22px;border:1px solid #edd8d3;border-radius:22px;background:#fff;color:var(--yitm-ink);text-decoration:none;box-shadow:0 14px 40px rgba(66,26,19,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.nextgen-outcome:hover{transform:translateY(-4px);border-color:#f09a90;box-shadow:0 20px 54px rgba(109,24,16,.13)}
.nextgen-outcome b{display:block;color:var(--yitm-red);font-family:"Barlow Condensed",Barlow,sans-serif;font-size:2.1rem;letter-spacing:-.03em}
.nextgen-outcome strong{margin-top:9px;font-size:1.18rem;line-height:1.2}
.nextgen-outcome p{margin:9px 0 16px;color:var(--yitm-copy);font-size:.94rem;line-height:1.5}
.nextgen-outcome span{margin-top:auto;color:var(--yitm-red-dark);font-weight:850}
.nextgen-process{background:var(--yitm-ink);color:#fff}
.nextgen-process .nextgen-kicker{color:#ff9f96}
.nextgen-process .nextgen-title{color:#fff}
.nextgen-process .nextgen-lede{color:#d7e0ed}
.nextgen-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:34px}
.nextgen-step{padding:22px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:rgba(255,255,255,.06)}
.nextgen-step span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--yitm-red);color:#fff;font-weight:900}
.nextgen-step h3{margin:17px 0 8px;color:#fff;font-size:1.24rem}
.nextgen-step p{margin:0;color:#cbd6e5;line-height:1.55}
.nextgen-local{background:#fff}
.nextgen-local-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:30px;padding:clamp(26px,4vw,44px);border:1px solid var(--yitm-line);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#fff5f2 100%);box-shadow:0 18px 55px rgba(70,26,18,.07)}
.nextgen-local-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.nextgen-local-links a{display:inline-flex;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid #ebd3ce;color:var(--yitm-red-dark);font-weight:800;text-decoration:none}
.nextgen-local-facts{display:grid;gap:10px}
.nextgen-local-fact{padding:16px;border-radius:18px;background:#fff;border:1px solid #ecd9d5}
.nextgen-local-fact strong{display:block;color:var(--yitm-ink)}
.nextgen-local-fact span{display:block;margin-top:4px;color:var(--yitm-copy);line-height:1.45}
.nextgen-seo-copy{max-width:900px;margin:24px 0 0;color:var(--yitm-copy);line-height:1.75}
.nextgen-seo-copy strong{color:var(--yitm-ink)}
body[data-yitm-design-mode="home"] .section .eyebrow{color:var(--yitm-red-dark)!important}
body[data-yitm-design-mode="home"] .btn-primary,
body[data-yitm-design-mode="home"] .btn.btn-primary{background:var(--yitm-red)!important;border-color:var(--yitm-red)!important;color:#fff!important}
body[data-yitm-design-mode="home"] .btn-primary:hover,
body[data-yitm-design-mode="home"] .btn.btn-primary:hover{background:var(--yitm-red-dark)!important;border-color:var(--yitm-red-dark)!important}

@media(max-width:1000px){
  .nextgen-proof-grid,.nextgen-local-panel{grid-template-columns:1fr}
  .nextgen-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nextgen-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .home-core-hero{min-height:0;padding:30px 0 44px!important}
  .home-core-hero .home-assistant-intro{margin-bottom:20px}
  .home-core-hero .home-assistant-intro h1{font-size:clamp(3rem,15vw,4.6rem)!important}
  .nextgen-hero-trust{display:grid;grid-template-columns:1fr 1fr}
  .home-core-hero .yhq{padding:20px 16px!important;border-radius:22px!important}
  .nextgen-section{padding:54px 0}
  .nextgen-outcome-grid,.nextgen-process-grid{grid-template-columns:1fr}
  .nextgen-outcome{min-height:0}
  .nextgen-compare-row{grid-template-columns:1fr}
  .nextgen-title{font-size:clamp(2.65rem,13vw,4.1rem)}
  .nextgen-local-panel{padding:22px}
}
