/* Homepage-only V4 presentation. Existing navigation, APIs and guards remain authoritative. */
.v4-home{--ink:#172d50;--muted:#455d76;--blue:#1553b8;max-width:1320px;margin:28px auto 56px;padding:0 28px;color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.6}.v4-home *{box-sizing:border-box;min-width:0}.v4-home a{color:inherit;text-decoration:none}.v4-home h1,.v4-home h2,.v4-home h3,.v4-home p{margin:0}.v4-home h2{font-size:23px;line-height:1.25;font-weight:800}.v4-home h3{font-size:17px;line-height:1.45}.v4-home p{color:var(--muted)}.v4-home a:focus-visible,.v4-skip:focus-visible{outline:3px solid #143d85;outline-offset:5px}.v4-skip{position:fixed;left:12px;top:-100px;padding:12px;background:white;color:#172d50;z-index:9999}.v4-skip:focus{top:12px}.v4-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;min-height:440px;background:#e4f2fc;border:1px solid #c8dfef;border-radius:28px;overflow:hidden}.v4-copy{padding:44px 36px;z-index:2}.v4-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#345578!important}.v4-home h1{font-size:clamp(34px,3.5vw,52px);line-height:1.12;letter-spacing:-1.8px;margin:14px 0 18px;font-weight:800}.v4-home h1 span{color:#1553b8}.v4-copy>p:not(.v4-eyebrow){max-width:510px;font-size:16px}.v4-home .v4-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;border-radius:10px;background:#1553b8;color:#fff;font-size:14px;font-weight:700;min-height:44px;margin-top:22px;line-height:1.5}.v4-button:hover{background:#103f90}.v4-callouts{list-style:none;display:flex;flex-wrap:wrap;gap:10px 18px;padding:0;margin:24px 0 0;font-size:12px;font-weight:700}.v4-callouts a{display:inline-flex;align-items:center;min-height:32px}.v4-callouts a:before{content:'✓';color:#1553b8;margin-right:5px}.v4-landscape{position:relative;height:100%;min-height:400px;align-self:stretch;background:linear-gradient(155deg,#d9efff,#e5f8ea)}.v4-landscape img{position:absolute;bottom:30px;right:4%;width:94%;height:auto;max-height:370px;object-fit:contain;z-index:2}.v4-mountain{position:absolute;left:-10%;bottom:8%;width:80%;height:70%;background:#a8cfd5;clip-path:polygon(0 100%,35% 20%,48% 44%,60% 30%,100% 100%);opacity:.65}.v4-mountain.two{left:30%;background:#b5d9c5;transform:scale(.9)}.v4-road{position:absolute;bottom:-30px;left:5%;width:95%;height:160px;border:22px solid #b0bcc6;border-radius:50%;transform:rotate(-15deg)}.v4-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.v4-feature{border:1px solid #d6e2e8;border-radius:20px;padding:18px 22px 22px;box-shadow:0 5px 16px #223b6410;transition:box-shadow .15s}.v4-feature:hover{box-shadow:0 7px 20px #223b6420}.v4-feature img{display:block;width:100%;height:130px;object-fit:contain;margin-bottom:12px}.v4-feature h2{font-size:20px}.v4-feature p{font-size:14px;margin:8px 0 12px}.v4-link{font-size:13px;font-weight:800;color:#1553b8}.blue{background:#e8f2ff}.mint{background:#e5f5ed}.peach{background:#fff0e5}.lavender{background:#f0ecfb}.v4-ownership{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0}.v4-panel{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;border-radius:22px;padding:28px;border:1px solid #d6e2e8;gap:12px}.v4-panel h2{margin:10px 0}.v4-panel p{font-size:14px}.v4-panel img{width:100%;height:200px;object-fit:contain}.v4-secondary{display:block;margin-top:12px;font-size:13px;font-weight:700;text-decoration:underline!important}.v4-updates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:34px 0}.v4-feed{border:1px solid #dce5ef;border-radius:18px;padding:23px;background:white;box-shadow:0 4px 16px #223b6408}.v4-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.v4-section-head h2{font-size:21px}.v4-section-head a{font-size:12px;font-weight:700;color:#1553b8}.v4-story{display:block;padding:16px 0;border-top:1px solid #e3eaf1;overflow-wrap:anywhere}.v4-story span{font-size:11px;color:#455d76}.v4-story p{font-size:13px;margin-top:8px}.v4-readonly{font-size:12px;font-weight:600;background:#edf4fc;padding:6px 10px;border-radius:6px;margin-bottom:12px!important}.v4-empty{padding:24px 0;font-size:14px}.v4-brands{text-align:center;border:1px solid #e0e8f0;border-radius:18px;background:#f7faff;padding:28px}.v4-brands p{font-size:13px;margin-top:8px}.v4-brands ul{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;list-style:none;padding:0;margin:24px 0 0;font-size:15px;font-weight:700}.v4-explore{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;margin-top:26px;font-size:13px}.v4-explore a{text-decoration:underline}.v4-home img{filter:none!important;mix-blend-mode:normal!important}
@media(max-width:1000px){.v4-home{padding:0 22px}.v4-features{gap:12px}.v4-feature{padding:16px}.v4-feature img{height:110px}.v4-feature h2{font-size:18px}.v4-panel{padding:22px;grid-template-columns:1.2fr .8fr}.v4-panel img{height:170px}.v4-updates{gap:14px}.v4-feed{padding:18px}.v4-copy{padding:32px 26px}}
@media(max-width:800px){.v4-home{margin-top:20px}.v4-hero{grid-template-columns:1fr 1fr;min-height:390px}.v4-copy{padding:30px 22px}.v4-home h1{font-size:36px}.v4-landscape{min-height:360px}.v4-features{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-feature img{height:140px}.v4-ownership{grid-template-columns:1fr}.v4-panel{grid-template-columns:1.5fr 1fr}.v4-updates{grid-template-columns:1fr}.v4-feature h2{font-size:21px}}
@media(max-width:560px){.v4-home{padding:0 16px;margin-top:16px}.v4-hero{grid-template-columns:1fr;border-radius:20px}.v4-copy{padding:28px 24px 8px}.v4-home h1{font-size:38px}.v4-copy>p:not(.v4-eyebrow){font-size:14px}.v4-landscape{min-height:235px}.v4-landscape img{max-height:240px;bottom:0;right:10%;width:80%}.v4-mountain{height:100%}.v4-callouts{gap:4px 14px;margin-top:16px}.v4-features{gap:12px;margin:18px 0}.v4-feature{padding:12px 14px 18px}.v4-feature img{height:100px}.v4-feature h2{font-size:18px}.v4-feature p{font-size:13px}.v4-panel{padding:22px;grid-template-columns:1fr .65fr;gap:0}.v4-panel h2{font-size:23px}.v4-panel img{height:150px}.v4-panel .v4-button{padding:10px 12px;font-size:12px}.v4-eyebrow{letter-spacing:1px;font-size:10px}.v4-brands{padding:24px 18px}.v4-brands ul{gap:14px 20px}}
@media(prefers-reduced-motion:reduce){.v4-home *{transition:none!important;animation:none!important}}
/* Keep inherited global all-caps headings from widening mobile card titles. */
body .v4-home :is(h1,h2,h3){text-transform:none;letter-spacing:normal;color:var(--ink);overflow-wrap:break-word}body .v4-home h1{letter-spacing:-1.4px}

/* Final dark-theme utility links retain readable contrast on the page surface. */
body.toon-v31:not(.light) .v4-explore a{color:var(--text)}
body.toon-v31:not(.light) .v4-explore a:focus-visible{outline-color:var(--text)}

/* Without a clear side gutter, keep VI in its existing flow location below the brand strip. */
@media (max-width:1439px) {
  body:has(.v4-home) .ai-orb {
    position:relative;
    inset:auto;
    margin:16px 16px 16px auto;
    animation:none;
    transform:none;
  }
}
