/* Home: the longer page. Reuses the compare slider, price tags, dials and deal sheet from the inner pages. */
.hx{padding:clamp(52px,10vh,120px) var(--pad);border-top:1px solid var(--rule)}
.hx-head{max-width:820px;margin-bottom:clamp(24px,5vh,50px)}
.hx-lbl{font-family:var(--mono);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .8em;opacity:.8}
.hx-head h2{font-family:var(--body);font-weight:700;font-size:clamp(2rem,4.6vw,4rem);line-height:1.05;letter-spacing:-.025em;margin:0}
.hx-sub{font-family:var(--hand);font-size:clamp(1.5rem,2.6vw,2.1rem);color:var(--accent-text);margin:.5em 0 0;transform:rotate(-1.5deg);transform-origin:left;display:inline-block}
.hx-link{font-family:var(--body);font-weight:700;text-decoration:none;border-bottom:3px solid var(--accent);padding:.5em 0;display:inline-block}
.hx-link:hover,.hx-link:focus-visible{background:var(--accent);color:var(--mark-fg);outline:none}
.hx-demo,.hx-diff .sx-demo{max-width:780px;margin-top:8px}
/* work */
.hx-work-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,6vw,90px);align-items:center}
.hx-work-copy p{font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.6;max-width:42ch;margin:0 0 1em}
.hx-meta{display:flex;flex-wrap:wrap;gap:.5em 1.2em;font-family:var(--mono);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
.hx-meta span{border-bottom:2px solid var(--rule)}
.hx-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px clamp(18px,3vw,36px);margin-top:1.4em}
.hx-tile{position:relative;justify-self:center;width:min(100%,320px);aspect-ratio:1;background:#FFFAF0;border:3px solid var(--fg);box-shadow:10px 10px 0 var(--accent);display:grid;place-items:center;transform:rotate(3deg);transition:transform .5s var(--ease)}
.hx-tile:hover,.hx-tile:focus-visible{transform:rotate(-1.5deg) scale(1.03);outline:none}
.hx-tile img{width:66%;height:auto}
.hx-live{position:absolute;top:-14px;right:-14px;background:var(--accent);color:var(--mark-fg);font-family:var(--display);font-size:1.3rem;letter-spacing:.06em;padding:.15em .5em;border:3px solid #000F08;transform:rotate(8deg)}
/* prices on home */
.hx-prices .p-sets{padding:0}
.hx-prices .p-cur{margin-top:clamp(20px,3vh,32px)}
.hx-prices .p-bar{margin-bottom:clamp(10px,2vh,20px)}
@media (max-width:860px){.hx-work-grid{grid-template-columns:1fr}.hx-tile{justify-self:start;margin-left:8px;width:min(70%,260px)}}
/* layout polish */
.hx-diff{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(24px,6vw,90px);align-items:center}
.hx-diff .hx-head{margin-bottom:0}
.hx-diff .sx-demo{max-width:none;margin-top:0}
.hx-work .hx-head{margin-bottom:clamp(14px,2.4vh,26px)}
.hx-work-copy p:first-child{margin-top:0}
@media (max-width:900px){.hx-diff{grid-template-columns:1fr}.hx-diff .hx-head{margin-bottom:clamp(18px,3vh,30px)}}

/* home price tags: Pick button and See more side by side */
.hx-prices .plan-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:auto}
.hx-prices .plan-actions .btn{margin-top:0}
.hx-prices .plan-actions .det{margin-top:0}
