/* 2026-11-19 owner: the animated hero from the couple-ad test, now for everyone.
   Same information as the previous hero; on phones the example profile and the
   sign-up button come first, the rest follows. Loads after home-v2.css. */
@property --hv3p { syntax: "<number>"; inherits: false; initial-value: 84; }

.hv-hero.hv-v3 .hv-ring { background: conic-gradient(var(--acc) calc(var(--hv3p) * 1%), var(--track) 0); }
.hv-v3 .hv-hmore h2 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--head); }
.hv-v3 .hv-lede2 { margin-top: 8px; font-size: 16px; }
.hv-v3 .hv-pmore-h { font-size: 12px; font-weight: 600; color: var(--text2); }

/* Computers and tablets: copy on the left, one profile card on the right. */
@media (min-width: 761px) {
    .hv-hero.hv-v3 .hv-hgrid { grid-template-areas: "copy proof" "more proof" "diffs proof"; grid-template-rows: auto auto 1fr; }
    .hv-v3 .hv-hmore { grid-area: more; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 580px; }
    .hv-v3 .hv-hdiffs { border-top: 0; margin-top: 16px; padding-top: 0; }
    .hv-v3 .hv-hproof { align-self: center; max-width: 360px; width: 100%; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(15, 23, 42, .12); }
    .hv-v3 .hv-pcard { border: 0; border-radius: 0; box-shadow: none; max-width: none; }
    .hv-v3 .hv-pbody { padding-bottom: 0; }
    .hv-v3 .hv-pmore { padding: 0 18px 16px; }
    .hv-v3 .hv-pmore-h { display: none; }
}

/* Phones: headline, example profile, sign-up first; everything else below. */
@media (max-width: 760px) {
    .hv-hero.hv-v3 { padding: 20px 0 32px; }
    .hv-hero.hv-v3 .hv-hgrid { display: flex; flex-direction: column; gap: 0; }
    .hv-v3 .hv-hcopy, .hv-v3 .hv-hproof { display: contents; }
    .hv-v3 #hv-h1 { order: 1; }
    .hv-hero.hv-v3 { --ts-hero: clamp(30px, 8.6vw, 36px); }
    .hv-v3 .hv-hcopy > .hv-lede { order: 2; margin-top: 10px; --ts-lede: 16px; }
    html:not(#ts) body .hv-hero.hv-v3 .hv-hcopy > p.hv-lede { line-height: 1.45 !important; }
    .hv-v3 .hv-pcard { order: 3; }
    .hv-v3 .hv-ctas { display: contents; }
    .hv-v3 .hv-ctas .hv-primary { order: 4; margin-top: 16px; width: 100%; max-width: none; }
    .hv-v3 .hv-ctas .hv-quiet { order: 9; margin-top: 16px; width: 100%; max-width: none; }
    .hv-v3 .hv-agenote { order: 5; margin-top: 10px; text-align: center; }
    .hv-v3 .hv-pmore { order: 6; margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 14px; }
    .hv-v3 .hv-hmore { order: 7; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
    .hv-v3 .hv-eyebrow { order: 8; align-self: flex-start; margin: 14px 0 0; }
    .hv-v3 .hv-strip { order: 10; margin-top: 14px; }
    .hv-v3 .hv-iphone { order: 11; align-self: flex-start; }
    .hv-v3 .hv-hdiffs { order: 12; }

    /* Compact example card: photo left, name and score right. */
    .hv-v3 .hv-pcard { display: grid; grid-template-columns: 40% minmax(0, 1fr); grid-template-areas: "img tag" "img body"; grid-template-rows: auto 1fr; width: 100%; max-width: none; margin: 16px 0 0; border-radius: 16px; box-shadow: 0 10px 28px rgba(15, 23, 42, .10); }
    .hv-v3 .hv-pimg { grid-area: img; aspect-ratio: auto; height: auto; min-height: 150px; align-self: stretch; }
    .hv-hero.hv-v3 .hv-pcard .hv-ptag { grid-area: tag; position: static; padding: 12px 14px 0 !important; font-size: 12px; color: var(--text2) !important; text-shadow: none !important; }
    .hv-v3 .hv-pbody { grid-area: body; padding: 2px 14px 12px; }
    .hv-v3 .hv-pname { gap: 2px 10px; }
    .hv-v3 .hv-pname h2 { font-size: 20px; }
    .hv-v3 .hv-cnav, .hv-v3 .hv-cdots { display: none; }
    .hv-v3 .hv-ccount { top: 6px; right: 6px; }
    .hv-v3 .hv-compat { margin-top: 8px; }
    .hv-v3 .hv-pmore .hv-notes { margin-top: 6px; }
}

@media (max-width: 360px), (max-height: 620px) and (max-width: 760px) {
    .hv-hero.hv-v3 { --ts-hero: 26px; }
    .hv-v3 .hv-hcopy > .hv-lede { --ts-lede: 14px; margin-top: 6px; }
    html:not(#ts) body .hv-hero.hv-v3 .hv-hcopy > p.hv-lede { line-height: 1.35 !important; }
    .hv-v3 .hv-pimg { min-height: 104px; }
    .hv-v3 .hv-hero, .hv-hero.hv-v3 { padding-top: 14px; }
    .hv-v3 .hv-pcard { margin-top: 12px; }
    .hv-v3 .hv-ctas .hv-primary { margin-top: 12px; }
    .hv-v3 .hv-pbody { padding: 0 10px 10px; }
    .hv-hero.hv-v3 .hv-pcard .hv-ptag { padding: 8px 10px 0 !important; }
    .hv-v3 .hv-pname h2 { font-size: 18px; }
    .hv-v3 .hv-ploc { font-size: 13px; }
    .hv-v3 .hv-compat { padding: 5px 8px; gap: 8px; margin-top: 4px; }
    .hv-v3 .hv-pname { gap: 0 8px; }
    .hv-v3 .hv-ring { width: 40px; height: 40px; }
    .hv-v3 .hv-ring span { width: 31px; height: 31px; font-size: 12px; }
    .hv-v3 .hv-ctext span, .hv-v3 .hv-chev { display: none; }
}

/* One short intro, then still. The score is readable from first paint. */
@media (prefers-reduced-motion: no-preference) {
    .hv-v3 .hv-slide:first-child img { animation: hv3-photo 780ms cubic-bezier(.18, .7, .3, 1) both; }
    .hv-v3 .hv-ring { animation: hv3-ring 860ms 110ms cubic-bezier(.16, .75, .3, 1) both; }
}
@keyframes hv3-photo { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes hv3-ring { from { --hv3p: 0; transform: scale(.86); } to { --hv3p: 84; transform: scale(1); } }

/* 2026-11-24 (owner, screenshot: "move this to the top"): the Gazette link sits beside the Built in Canada pill,
   centred on it (one row, .hv-toprow); on phones the row keeps the pill first and wraps if needed. Was beside the iPhone link (2026-11-22). */
.hv-toprow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-bottom: 16px; }
.hv-toprow > .hv-eyebrow, .hv-toprow > .hv-press { margin: 0; }
@media (max-width: 760px) {
    .hv-v3 .hv-toprow { order: 8; align-self: flex-start; gap: 10px 14px; margin: 14px 0 0; }
    .hv-v3 .hv-toprow > .hv-eyebrow { order: 0; margin: 0; }   /* the pill's phone "order: 8" is for the hero column, not this row */
}
/* 2026-11-24 (owner, with the pop-up's card as the model: "have it look more like this"): the Gazette link is a small
   newspaper clip, the same card, type and tilt as .gz-clip in css/gazette-popup.css (GzSerif is defined there). */
.hv-press-clip { display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 44px; padding: 8px 14px 9px;
    background: #FBFAF6; color: #14201B; border: 1px solid rgba(6, 20, 15, .07); border-radius: 12px; text-decoration: none;
    box-shadow: 0 6px 18px rgba(6, 20, 15, .14); transform: rotate(-1.5deg); transform-origin: left bottom; transition: transform .15s ease, box-shadow .15s ease; }
.hv-press-clip:hover { transform: rotate(0); box-shadow: 0 8px 22px rgba(6, 20, 15, .2); }
.hv-press-clip:focus-visible { outline: 3px solid var(--primary, #047857); outline-offset: 3px; }
.hv-press-clip .hv-press-k { font-family: Poppins, Inter, sans-serif !important; font-weight: 500 !important; font-size: 12px !important; line-height: 1.3 !important; color: #047857 !important; }
.hv-press-clip .hv-press-t { font-family: GzSerif, Georgia, serif !important; font-weight: 400 !important; font-size: 22px !important; line-height: 1.05 !important; letter-spacing: 0 !important; color: #14201B !important; margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .hv-press-clip { transition: none; } }
