/* The home page (views/marketing/landing.html), on the design system in site.css: colours, type, buttons,
   tiles and the name-claim field come from there; this sheet only lays out the home page's own parts (hm-). */
body{margin:0;background:#fff;color:var(--dh-ink)}
.skip{position:absolute;left:12px;top:-80px;z-index:100;padding:12px 18px;border-radius:12px;background:var(--dh-ink);color:#fff;font-weight:700;text-decoration:none}
.skip:focus{top:12px;outline:3px solid var(--dh-mint);outline-offset:2px}
.hm *{box-sizing:border-box}
/* Resets carry no weight (:where), so the design system's and this sheet's own rules always win over them */
:where(.hm) :where(h1,h2,h3,p,ul,ol,figure,blockquote){margin:0}
:where(.hm) :where(ul,ol){padding:0;list-style:none}
.hm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hm-head{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--dh-s6);flex-wrap:wrap;margin-bottom:var(--dh-s7)}
.hm-head .dh-heading{max-width:720px}
.hm-head p{max-width:380px}
.hm-head-solo{max-width:820px;margin-bottom:var(--dh-s7)}

/* Hero: a Deep forest block with the headline, the name-claim field and four example pages on phones */
.hm-hero{margin-top:var(--dh-s2);padding-top:88px}
.hm-hero-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px;align-items:end}
.hm-hero-copy{display:flex;flex-direction:column;gap:28px;padding-bottom:96px}
.hm-hero .dh-display{font-size:clamp(44px,5.4vw,84px)}
.hm-claim-label{display:block;margin-bottom:var(--dh-s3);font-size:15px;font-weight:600;color:#fff}
.hm-hero .dh-claim-note{margin-top:var(--dh-s3);color:var(--dh-fog)}

/* The phone stage (client/js/home-phones.js sets each phone's data-pos and the paused/auto classes).
   Without the script the phones keep the places written in the page and the tabs stay hidden. */
.hm-visual{--ph-w:272px;--ph-h:560px;--ph-side:47%;position:relative;padding-bottom:40px;overflow-x:clip}
.hm-stage{position:relative;height:calc(var(--ph-h) + 24px)}
.hm-ph{position:absolute;left:50%;top:8px;width:var(--ph-w);height:var(--ph-h);margin-left:calc(var(--ph-w) / -2);padding:9px;border-radius:44px;background:#050807;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14),0 34px 70px rgba(0,0,0,.45);transform-origin:50% 100%;transition:transform 760ms var(--dh-ease),opacity 500ms var(--dh-ease);will-change:transform}
.hm-ph::after{content:'';position:absolute;inset:9px;border-radius:35px;background:var(--dh-deep);opacity:0;pointer-events:none;transition:opacity 500ms var(--dh-ease)}
.hm-ph-screen{position:relative;height:100%;overflow:hidden;border-radius:35px;background:#fff;color:var(--dh-ink)}
.hm-ph-screen::before{content:'';position:absolute;left:50%;top:10px;z-index:2;width:76px;height:22px;margin-left:-38px;border-radius:12px;background:#050807}
.hm-ph[data-pos=front]{z-index:3;transform:none}
.hm-ph[data-pos=right]{z-index:2;transform:translateX(var(--ph-side)) scale(.8) rotate(4deg);cursor:pointer}
.hm-ph[data-pos=left]{z-index:2;transform:translateX(calc(var(--ph-side) * -1)) scale(.8) rotate(-4deg);cursor:pointer}
.hm-ph[data-pos=back]{z-index:1;transform:scale(.62);opacity:0}
.hm-ph[data-pos=right]::after,.hm-ph[data-pos=left]::after{opacity:.38}
.hm-ph[data-pos=right]:hover::after,.hm-ph[data-pos=left]:hover::after{opacity:.18}

/* The page inside each phone: a coloured top with the photo, then the page's buttons and sections.
   While it is in front the page scrolls down and back up, the way a visitor would read it. */
.hm-pg{--pg-scroll:-150px}
.hm-auto .hm-ph[data-pos=front] .hm-pg{animation:hm-read 5s cubic-bezier(.45,0,.3,1) both}
.hm-auto.hm-paused .hm-pg{animation-play-state:paused}
@keyframes hm-read{0%,22%{transform:none}52%,74%{transform:translateY(var(--pg-scroll))}96%,100%{transform:none}}
.hm-pg-top{display:flex;flex-direction:column;align-items:center;gap:3px;padding:46px 18px 20px;text-align:center;background:var(--pg-top);color:var(--pg-on)}
.hm-pg-av{display:block;width:84px;height:84px;margin-bottom:10px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--pg-ring),0 10px 24px rgba(0,0,0,.18)}
.hm-pg-name{font:700 20px/1.15 var(--dh-font-display);letter-spacing:-.02em}
.hm-pg-role{font-size:12.5px;opacity:.82}
.hm-pg-tag{margin-top:6px;font-size:12.5px;font-weight:600}
.hm-pg-body{display:flex;flex-direction:column;gap:10px;padding:16px 16px 24px}
.hm-pg-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 0;border-radius:var(--dh-r-pill);background:var(--pg-btn);color:var(--pg-btn-on);font-size:13px;font-weight:600}
.hm-pg-btn-soft{background:var(--dh-soft);color:var(--dh-ink);box-shadow:inset 0 0 0 1.5px var(--pg-btn)}
.hm-pg-btn svg,.hm-pg-row svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-pg-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hm-pg-row span{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 0;border-radius:14px;background:var(--dh-soft);font-size:11.5px;font-weight:600}
.hm-pg-row svg{color:var(--pg-icon)}
.hm-pg-apps{display:flex;justify-content:center;gap:10px;padding:2px 0}
.hm-pg-apps img{width:26px;height:26px;border-radius:7px}
.hm-pg-h{margin-top:6px;font:700 14px var(--dh-font-display)}
.hm-pg-p{font-size:12px;line-height:1.5;color:var(--dh-muted)}
.hm-pg-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hm-pg-stats span{display:flex;flex-direction:column;padding:10px 12px;border-radius:14px;background:var(--pg-tint);font-size:11px;color:var(--dh-muted)}
.hm-pg-stats b{font:700 18px var(--dh-font-display);color:var(--dh-ink)}
.hm-pg-out{padding:10px 0;border-radius:var(--dh-r-pill);box-shadow:inset 0 0 0 1.5px var(--dh-line);font-size:12.5px;font-weight:600;text-align:center}
.hm-pg-menu{display:flex;flex-direction:column;border-radius:14px;background:var(--dh-soft)}
.hm-pg-menu p{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;font-size:12.5px}
.hm-pg-menu p+p{border-top:1px solid var(--dh-line)}
.hm-pg-menu b{font-weight:700;color:var(--pg-icon)}
.hm-pg-link{display:flex;justify-content:space-between;padding:12px 14px;border-radius:14px;background:var(--pg-tint);font-size:12.5px;font-weight:600}
.hm-pg-agent{--pg-top:var(--dh-forest);--pg-on:#fff;--pg-ring:var(--dh-mint);--pg-btn:var(--dh-ink);--pg-btn-on:#fff;--pg-icon:var(--dh-forest);--pg-tint:var(--dh-mint-tint)}
.hm-pg-cafe{--pg-top:#FDE68A;--pg-on:#1D3557;--pg-ring:#fff;--pg-btn:#1D3557;--pg-btn-on:#fff;--pg-icon:#1D3557;--pg-tint:#FFF4DC}
.hm-pg-trades{--pg-top:#2F3E46;--pg-on:#fff;--pg-ring:#E07A1F;--pg-btn:#2F3E46;--pg-btn-on:#fff;--pg-icon:#B85E10;--pg-tint:#F1F3F2}
.hm-pg-creator{--pg-top:var(--dh-lilac);--pg-on:var(--dh-ink);--pg-ring:#fff;--pg-btn:var(--dh-ink);--pg-btn-on:#fff;--pg-icon:#5B2A6E;--pg-tint:#F1ECFF}

/* A glass note beside the phone in front: what just happened for the person on that page */
.hm-ph-chip{position:absolute;right:-34px;top:96px;z-index:4;display:inline-flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:var(--dh-r-pill);color:var(--dh-ink);font-size:14px;font-weight:600;white-space:nowrap;isolation:isolate;opacity:0;transform:translateY(10px) scale(.94);transition:opacity 300ms var(--dh-ease),transform 300ms var(--dh-ease);pointer-events:none}
.hm-ph-chip::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(255,255,255,.5),0 14px 34px rgba(0,0,0,.28)}
.hm-ph-chip svg{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:var(--dh-mint);color:var(--dh-ink)}
.hm-ph[data-pos=front] .hm-ph-chip{opacity:1;transform:none;transition-delay:900ms;transition-duration:450ms}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hm-ph-chip::before{background:#fff}}
@media (prefers-reduced-transparency:reduce){.hm-ph-chip::before{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Under the phones: which page is in front, one tab per page (its bar fills while it shows) and a pause button */
.hm-visual [hidden]{display:none}
.hm-stage-foot{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:18px}
.hm-stage-cap{font-size:15px;color:var(--dh-fog);text-align:center}
.hm-stage-cap b{color:#fff;font-weight:600}
.hm-stage-cap b::after{content:' \00b7';color:var(--dh-fog);font-weight:400}
.hm-stage-ctrl{display:flex;align-items:center;gap:12px}
.hm-stage-tabs{display:flex;gap:6px}
.hm-stage-tabs button{position:relative;display:block;width:34px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.hm-stage-tabs button::before{content:'';position:absolute;left:0;right:0;top:10px;height:4px;border-radius:2px;background:rgba(255,255,255,.22);transition:background-color var(--dh-fast) var(--dh-ease)}
.hm-stage-tabs button:hover::before{background:rgba(255,255,255,.4)}
.hm-stage-tabs i{position:absolute;left:0;top:10px;height:4px;width:0;border-radius:2px;background:var(--dh-mint)}
.hm-stage-tabs [aria-pressed=true] i{width:100%}
.hm-auto .hm-stage-tabs [aria-pressed=true] i{width:auto;right:100%;animation:hm-fill 5s linear forwards}
.hm-auto.hm-paused .hm-stage-tabs i{animation-play-state:paused}
@keyframes hm-fill{to{right:0}}
@keyframes hm-dock-fade{from{opacity:0}}
.hm-stage-tabs button:focus-visible,.hm-stage-pause:focus-visible{outline:3px solid var(--dh-mint);outline-offset:3px;border-radius:6px}
.hm-stage-pause{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;transition:background-color var(--dh-fast) var(--dh-ease)}
.hm-stage-pause:hover{background:rgba(255,255,255,.22)}
.hm-stage-pause:focus-visible{border-radius:50%}
.hm-stage-pause .hm-i-play,.hm-stage-pause[aria-pressed=true] .hm-i-pause{display:none}
.hm-stage-pause[aria-pressed=true] .hm-i-play{display:block}

/* The hero's name field docks at the bottom of the window once it scrolls under the header
   (client/js/claim-dock.js sets .hm-docked and glides it there; .hm-dock-slot keeps its place in the hero).
   Docked it is a smaller glass bar with an Ink button; the name check's answer sits just above it. */
.hm-dock{position:relative}
.hm-docked .hm-dock{position:fixed;left:0;right:0;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:38;width:min(520px,calc(100% - 24px));margin:0 auto;transform-origin:50% 50%;transition:transform 420ms var(--dh-ease),opacity 300ms var(--dh-ease),visibility 0s}
.hm-docked .dh-claim{position:relative;isolation:isolate;max-width:none;padding:5px;gap:6px;background:none}
.hm-docked .dh-claim::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(11,26,22,.08),0 18px 40px rgba(11,26,22,.22)}
.hm-docked .dh-claim:focus-within::before{box-shadow:0 0 0 3px var(--dh-mint),inset 0 0 0 1.5px var(--dh-ink),0 18px 40px rgba(11,26,22,.22)}
.hm-docked .dh-claim-pre{padding-left:16px;font-size:15px}
.hm-docked .dh-claim input{height:44px;font-size:16px}
.hm-docked .dh-claim input::placeholder{color:var(--dh-muted);opacity:1}
.hm-docked .dh-claim .dh-btn{min-height:44px;padding:0 20px;font-size:15px;background:var(--dh-ink);color:#fff}
.hm-docked .dh-claim .dh-btn:hover{background:var(--dh-forest)}
.hm-docked .dh-claim-status{position:absolute;left:12px;bottom:100%;margin:0 0 8px;padding:6px 14px;border-radius:var(--dh-r-pill);background:var(--dh-ink);box-shadow:0 8px 24px rgba(11,26,22,.2)}
.hm-docked.hm-dock-away .hm-dock{opacity:0;visibility:hidden;transform:translateY(calc(100% + 24px));transition:transform 420ms var(--dh-ease),opacity 300ms var(--dh-ease),visibility 0s 420ms}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hm-docked .dh-claim::before{background:#fff}}
@media (prefers-reduced-transparency:reduce){.hm-docked .dh-claim::before{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* The metal card drawing, used in the bento tile */
.hm-metal{display:flex;flex-direction:column;justify-content:space-between;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:linear-gradient(140deg,#3A403E 0%,#1A1E1D 55%,#0D0F0E 100%);color:#fff}
.hm-metal-top{display:flex;justify-content:space-between;align-items:center;color:var(--dh-mint)}
.hm-metal-brand{font:700 17px var(--dh-font-display);color:#fff}
.hm-metal-brand span{color:var(--dh-mint)}
.hm-metal-name{font:700 20px var(--dh-font-display)}
.hm-metal-kind{font-size:13px;color:var(--dh-fog)}

/* Trust row */
.hm-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px;padding-top:36px;font-size:16px;font-weight:600;color:var(--dh-on-block)}
.hm-trust li{display:inline-flex;align-items:center;gap:10px}
.hm-trust svg{color:var(--dh-forest)}

/* Photos of people (Freepik stock, docs/image-credits.md): decorative, so the figures are aria-hidden.
   A glass chip can sit on one, saying what is happening in it. */
.hm-photo{position:relative;margin:0;border-radius:var(--dh-r-tile);overflow:hidden;background:var(--dh-deep)}
.hm-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hm-glass-chip{position:absolute;left:20px;bottom:20px;display:inline-flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:var(--dh-r-pill);color:var(--dh-ink);font-size:15px;font-weight:600;white-space:nowrap;isolation:isolate}
.hm-glass-chip::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(255,255,255,.5),0 14px 34px rgba(0,0,0,.25)}
.hm-glass-chip svg{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:var(--dh-mint);color:var(--dh-ink)}
.dh-motion .dh-in .hm-glass-chip,.dh-motion .dh-in.hm-photo .hm-glass-chip{animation:hm-pop 520ms var(--dh-ease) 700ms backwards}
@keyframes hm-pop{from{opacity:0;transform:translateY(12px) scale(.92)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hm-glass-chip::before{background:#fff}}
@media (prefers-reduced-transparency:reduce){.hm-glass-chip::before{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* The problem with paper: the statement beside a photo of two people swapping details over a phone */
.hm-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:var(--dh-s7);align-items:end;margin-bottom:var(--dh-s7)}
.hm-intro-copy{display:flex;flex-direction:column;gap:20px;max-width:880px}
.hm-share{aspect-ratio:4/5}
.hm-statement{font-size:clamp(32px,3vw + 14px,52px)}
.hm-fade{color:var(--dh-field)}
.hm-vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--dh-s4)}
.hm-vs .dh-tile{gap:20px}
.hm-vs ul{display:flex;flex-direction:column;gap:14px}
.hm-vs li{display:flex;gap:12px;align-items:flex-start}
.hm-vs li svg{flex:none;margin-top:2px}
.hm-vs-paper h3,.hm-vs-paper svg{color:var(--dh-muted)}
.hm-vs-paper li{color:var(--dh-on-block)}
.hm-vs-hub li{font-weight:500}

/* Features bento */
.hm-bento{grid-auto-rows:280px}
.hm-t-copy{display:flex;flex-direction:column;gap:var(--dh-s3)}
.hm-t-card{justify-content:space-between}
.hm-t-card .hm-t-copy{position:relative;max-width:min(420px,52%)}
.hm-tap-photo{position:absolute;top:0;right:0;bottom:0;width:46%;height:100%;object-fit:cover}
.hm-t-big{font-size:clamp(32px,2vw + 16px,40px)}
.hm-t-card .hm-t-art{position:relative;flex:1;min-height:260px}
.hm-metal-tile{position:absolute;left:0;bottom:10px;width:360px;max-width:90%;height:250px;padding:28px;border-radius:24px;transform:rotate(-6deg);box-shadow:0 30px 60px rgba(14,42,35,.35)}
.hm-metal-tile .hm-metal-brand{font-size:22px}
.hm-metal-tile .hm-metal-name{font-size:26px}
.hm-t-split{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:var(--dh-s5);align-items:center}
.hm-t-small{justify-content:space-between}
.hm-qr{width:96px;height:96px}
.hm-contact{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 18px;border-radius:22px;background:#fff;box-shadow:0 16px 32px rgba(11,26,22,.12)}
.hm-contact-av{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--dh-ink);color:var(--dh-mint);font:700 18px var(--dh-font-display)}
.hm-contact p{font-size:15px;font-weight:700}
.hm-contact-btn{width:100%;padding:9px 14px;border-radius:var(--dh-r-pill);background:var(--dh-ink);color:#fff;font-size:13px;font-weight:600;text-align:center}
.hm-pass{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:16px;background:var(--dh-ink);color:#fff;transform:rotate(-3deg)}
.hm-pass-top{display:flex;justify-content:space-between;font-size:12px;color:var(--dh-fog)}
.hm-pass p{font:700 17px var(--dh-font-display)}
.hm-pass-bar{display:block;width:60%;height:6px;border-radius:4px;background:var(--dh-mint)}
.hm-leads{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:22px;background:#fff;box-shadow:0 16px 32px rgba(11,26,22,.12)}
.hm-leads p{font-size:13px;font-weight:700}
.hm-leads div{display:flex;gap:10px;align-items:center}
.hm-dot{flex:none;width:32px;height:32px;border-radius:50%}
.hm-dot-lilac{background:var(--dh-lilac)}
.hm-dot-mint{background:var(--dh-mint)}
.hm-lines{flex:1;display:flex;flex-direction:column;gap:6px}
.hm-lines i{display:block;height:8px;width:70%;border-radius:4px;background:var(--dh-line)}
.hm-lines i+i{width:45%}
.hm-update{display:flex;flex-direction:column;gap:10px}
.hm-update-old{padding:12px 16px;border-radius:14px;background:var(--dh-soft);color:var(--dh-muted);font-size:15px;text-decoration:line-through}
.hm-update-new{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:14px;background:var(--dh-ink);color:#fff;font-size:15px;font-weight:600}
.hm-update-new span{color:var(--dh-mint)}

/* Audiences: a photo card for each, with a glass caption; the photo leans in on hover */
.hm-who-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:var(--dh-s7);align-items:end;margin-bottom:var(--dh-s7)}
.hm-who-head .dh-heading{max-width:720px}
.hm-network{aspect-ratio:16/10}
.hm-aud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--dh-s4)}
.dh .hm-aud-card{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:460px;padding:12px;border-radius:var(--dh-r-tile);overflow:hidden;background:var(--dh-deep);color:var(--dh-ink);text-decoration:none}
.hm-aud-photo{position:absolute;inset:0;z-index:-1}
.hm-aud-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 700ms var(--dh-ease)}
.dh .hm-aud-card:hover .hm-aud-photo img{transform:scale(1.04)}
.dh .hm-aud-card:focus-visible{outline:3px solid var(--dh-forest);outline-offset:3px}
.hm-aud-cap{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:8px;padding:20px 20px 18px;border-radius:22px}
.hm-aud-cap::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 30px rgba(0,0,0,.18)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hm-aud-cap::before{background:#fff}}
@media (prefers-reduced-transparency:reduce){.hm-aud-cap::before{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
.hm-aud-card .dh-subheading{font-size:21px}
.hm-aud-card p{font-size:15px;color:var(--dh-on-block)}
.hm-aud-icon{position:absolute;top:-22px;right:18px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;color:var(--dh-ink);box-shadow:0 8px 20px rgba(0,0,0,.18)}
.hm-aud-icon svg{width:22px;height:22px}
.hm-aud-mint .hm-aud-icon{background:var(--dh-mint)}
.hm-aud-lilac .hm-aud-icon{background:var(--dh-lilac)}
.hm-aud-amber .hm-aud-icon{background:var(--dh-amber)}
.hm-aud-deep .hm-aud-icon{background:var(--dh-deep);color:var(--dh-mint)}
.hm-aud-more{margin-top:4px;font-size:15px;font-weight:600}
.hm-aud-more span{display:inline-block;transition:transform var(--dh-fast) var(--dh-ease)}
.dh .hm-aud-card:hover .hm-aud-more span{transform:translateX(4px)}

/* Feature tile demos: each plays once when its tile scrolls into view (.dh-in from site-menus.js), and not at
   all for people who ask for less motion, who see the finished state. */
.dh .hm-contact-btn{display:grid;padding:0}
.hm-contact-btn>span{grid-area:1/1;padding:9px 14px}
.hm-contact-done{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:inherit;background:var(--dh-mint);color:var(--dh-ink);opacity:0}
.hm-contact-done svg{width:14px;height:14px}
.dh-motion .dh-in .hm-contact>*{animation:hm-rise 500ms var(--dh-ease) backwards}
.dh-motion .dh-in .hm-contact>:nth-child(2){animation-delay:150ms}
.dh-motion .dh-in .hm-contact>:nth-child(3){animation-delay:300ms}
.dh-motion .dh-in .hm-contact-done{animation:hm-done 2.6s var(--dh-ease) 1.1s}
@keyframes hm-rise{from{opacity:0;transform:translateY(10px)}}
@keyframes hm-done{0%,100%{opacity:0}12%,80%{opacity:1}}
.hm-qr-wrap{position:relative;display:block;width:96px;height:96px;overflow:hidden;border-radius:4px}
.hm-qr-wrap::after{content:'';position:absolute;left:-4px;right:-4px;top:0;height:3px;border-radius:2px;background:#fff;box-shadow:0 0 12px 3px rgba(46,230,166,.8);opacity:0}
.dh-motion .dh-in .hm-qr-wrap::after{animation:hm-scan 1.6s ease-in-out 500ms 2}
@keyframes hm-scan{0%{top:0;opacity:0}10%,90%{opacity:1}100%{top:100%;opacity:0}}
.dh-motion .dh-in .hm-pass{animation:hm-pass-up 700ms var(--dh-ease) 300ms backwards}
@keyframes hm-pass-up{from{opacity:0;transform:translateY(36px) rotate(-3deg)}}
.dh-motion .dh-in .hm-leads div:last-child{animation:hm-lead-in 600ms var(--dh-ease) 700ms backwards}
@keyframes hm-lead-in{from{opacity:0;transform:translateX(28px)}}
.dh-motion .dh-in .hm-update-old{animation:hm-strike 500ms ease-out 400ms backwards}
.dh-motion .dh-in .hm-update-new{animation:hm-rise 500ms var(--dh-ease) 900ms backwards}
.dh-motion .dh-in .hm-update-new span{animation:hm-pop 400ms var(--dh-ease) 1.4s backwards}
@keyframes hm-strike{from{text-decoration-color:transparent}}

/* Steps band */
.hm-steps{margin-top:var(--dh-section);padding:96px 0}
.hm-steps .dh-heading{max-width:760px;margin-bottom:var(--dh-s8)}
.hm-steps-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--dh-s7)}
.hm-steps-list li{display:flex;flex-direction:column;gap:16px;padding-top:28px;border-top:1.5px solid #2B4A41}
.hm-step-n{font:700 88px/.98 var(--dh-font-display);letter-spacing:-.04em;color:var(--dh-mint)}
.dh-motion .dh-in .hm-step-n{animation:hm-count 700ms var(--dh-ease) 150ms backwards}
.dh-motion .hm-steps-list li:nth-child(2).dh-in .hm-step-n{animation-delay:300ms}
.dh-motion .hm-steps-list li:nth-child(3).dh-in .hm-step-n{animation-delay:450ms}
@keyframes hm-count{from{opacity:0;transform:translateY(40%);clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.hm-steps-list p{font-size:17px}

/* Quotes (only once real ones are in config/quotes.js) */
.hm-quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--dh-s4)}
.hm-quote{gap:28px;min-height:320px}
.hm-quote svg{color:var(--dh-forest)}
.hm-quote.dh-tile-mint svg{color:var(--dh-ink)}
.hm-quote blockquote{font:600 24px/1.25 var(--dh-font-display);letter-spacing:-.01em}
.hm-quote figcaption{display:flex;flex-direction:column;margin-top:auto;font-size:15px}

/* Plans teaser */
.hm-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--dh-s4);align-items:stretch}
.hm-plan .dh-subheading{font-size:24px}
.hm-plan .dh-btn{margin-top:auto}
.hm-plan .dh-muted{font-size:16px}
.hm-plan-h{display:flex;justify-content:space-between;align-items:center;gap:var(--dh-s3)}
.hm-plan-h .dh-badge{align-self:center;flex:none;white-space:nowrap}
.hm-price{font:700 64px/1 var(--dh-font-display);letter-spacing:-.04em}
.hm-price small{font:400 16px var(--dh-font-text);letter-spacing:0;color:var(--dh-muted)}
.hm-plan-top .hm-price small{color:var(--dh-fog)}
.hm-save{font-size:15px;font-weight:600;color:var(--dh-leaf)}
.hm-plan-top .hm-save{color:var(--dh-mint)}
.hm-terms{font-size:14px;color:var(--dh-fog);text-align:center}
.hm-more{margin-top:var(--dh-s6);font-size:17px;font-weight:600}

/* FAQ preview */
.hm-faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:var(--dh-s7)}
.hm-faq-head{display:flex;flex-direction:column;gap:20px}
.hm-faq-head a{font-weight:600}

/* Closing block */
.hm-close{margin-top:var(--dh-section);padding:112px 0}
.hm-close-in{display:flex;flex-direction:column;align-items:center;gap:var(--dh-s6);text-align:center}
.hm-faces{display:flex;justify-content:center}
.hm-faces img{width:56px;height:56px;border:3px solid var(--dh-mint);border-radius:50%;object-fit:cover;box-shadow:0 6px 16px rgba(14,42,35,.18)}
.hm-faces img+img{margin-left:-14px}
.hm-close .dh-display{max-width:980px;font-size:clamp(44px,5vw + 8px,80px)}
.hm-close .dh-lead{color:var(--dh-on-block)}
.hm-close form{display:flex;justify-content:center;width:100%}
.hm-close .dh-claim{width:100%;box-shadow:inset 0 0 0 1.5px var(--dh-ink)}

@media (max-width:960px){
  .hm-hero{padding-top:var(--dh-s6)}
  .hm-hero-in,.hm-vs,.hm-steps-list,.hm-quotes,.hm-plans,.hm-faq{grid-template-columns:minmax(0,1fr)}
  .hm-hero-copy{padding-bottom:0}
  .hm-visual{--ph-w:224px;--ph-h:462px;--ph-side:56%;width:100%;max-width:520px;margin:0 auto;padding-bottom:var(--dh-s6)}
  .hm-ph{padding:7px;border-radius:38px}
  .hm-ph::after{inset:7px;border-radius:31px}
  .hm-ph-screen{border-radius:31px}
  .hm-ph-screen::before{width:62px;height:18px;margin-left:-31px;top:8px}
  .hm-ph[data-pos=right]{transform:translateX(var(--ph-side)) scale(.78) rotate(4deg)}
  .hm-ph[data-pos=left]{transform:translateX(calc(var(--ph-side) * -1)) scale(.78) rotate(-4deg)}
  .hm-pg{--pg-scroll:-120px}
  .hm-pg-top{padding:38px 14px 16px}
  .hm-pg-av{width:68px;height:68px}
  .hm-pg-name{font-size:17px}
  .hm-pg-body{padding:12px 12px 18px;gap:8px}
  .hm-ph-chip{right:auto;left:50%;top:auto;bottom:-4px;font-size:13px;padding:8px 14px 8px 10px;transform:translate(-50%,10px) scale(.94)}
  .hm-ph[data-pos=front] .hm-ph-chip{transform:translateX(-50%)}
  .hm-bento{grid-auto-rows:auto}
  .hm-t-card .hm-t-art{min-height:200px}
  .hm-metal-tile{left:0;width:300px;height:188px;padding:20px}
  .hm-tap-photo{position:static;order:-1;width:calc(100% + 2 * var(--dh-s6));max-width:none;height:360px;object-position:50% 30%;margin:calc(var(--dh-s6) * -1) calc(var(--dh-s6) * -1) var(--dh-s3)}
  .hm-t-card .hm-t-copy{max-width:none}
  .hm-intro,.hm-who-head{grid-template-columns:minmax(0,1fr);gap:var(--dh-s5)}
  .hm-share{aspect-ratio:4/3;max-width:560px}
  .hm-network{max-width:560px}
  .hm-t-split{grid-template-columns:minmax(0,1fr)}
  .hm-t-small{gap:var(--dh-s5)}
  .hm-aud{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-steps{padding:64px 0}
  .hm-step-n{font-size:64px}
  .hm-close{padding:72px 0}
  .hm-t-split .hm-t-art{width:100%;max-width:340px}
}
@media (max-width:560px){
  .dh-claim{flex-wrap:wrap;border-radius:28px}
  .dh-claim .dh-btn{width:100%}
  .dh-claim input{flex-basis:50%}
  .hm-docked .dh-claim{flex-wrap:nowrap;border-radius:var(--dh-r-pill)}
  .hm-docked .dh-claim-pre{padding-left:14px;font-size:14px}
  .hm-docked .dh-claim input{flex-basis:auto;font-size:16px}
  .hm-docked .dh-claim .dh-btn{width:auto;padding:0 18px;font-size:0}
  .hm-docked .dh-claim .dh-btn::after{content:'Claim' / '';font-size:15px}
  .hm-aud{grid-template-columns:minmax(0,1fr)}
  .dh .hm-aud-card{min-height:400px}
  .hm-price{font-size:52px}
  .hm-statement{font-size:30px}
}
@media (prefers-reduced-motion:reduce){
  .hm-aud-photo img,.hm-aud-more span{transition:none}
  .dh .hm-aud-card:hover .hm-aud-photo img{transform:none}
  .hm-ph,.hm-ph::after,.hm-ph-chip{transition:none}
  .hm-docked .hm-dock{transition:opacity 200ms linear,visibility 0s;animation:hm-dock-fade 200ms linear}
  .hm-docked.hm-dock-away .hm-dock{transform:none;transition:opacity 200ms linear,visibility 0s 200ms}
}
