/* Hoot v2 shell: sticky nav + mobile sheet, final call-to-action (dawn), footer.
   Owner: shell. Spec: v2-build/DESIGN.md (sections 4, 6, 7, 9). Every class starts with h-. */

/* =========================================================================
   NAV
   ========================================================================= */
body.v2 .h-nav {
  --h-nav-pad: clamp(16px, 3vw, 32px);
  position: sticky;
  top: 0;
  z-index: var(--h-z-nav);
  height: var(--h-nav-h);
  background: transparent;
  transition: background-color var(--h-dur-2) var(--h-ease-out), box-shadow var(--h-dur-2) var(--h-ease-out);
}
/* glass layer lives on a pseudo element so the bar itself never becomes a containing block for fixed children */
body.v2 .h-nav::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(16, 19, 24, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07), 0 12px 30px -18px rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity var(--h-dur-2) var(--h-ease-out);
}
body.v2 .h-nav.is-scrolled::before,
body.v2 .h-nav.is-menu-open::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.v2 .h-nav::before { background: rgba(16, 19, 24, .96); }
}

body.v2 .h-nav__bar {
  position: relative;
  height: 100%;
  max-width: calc(var(--h-max-wide) + 2 * var(--h-nav-pad));
  margin-inline: auto;
  padding-inline: var(--h-nav-pad);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
body.v2 .h-nav .h-brand { flex: none; position: relative; z-index: 2; }
/* brand mark hover lives in owl.css (one definition for nav and footer) */

/* links (desktop row) */
body.v2 .h-nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
body.v2 .h-nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--h-r-pill);
  color: var(--h-muted);
  font-size: .9688rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: color var(--h-dur-2) var(--h-ease-out), background-color var(--h-dur-2) var(--h-ease-out);
}
body.v2 .h-nav__link:hover,
body.v2 .h-nav__link.is-hover { color: var(--h-ink); }
body.v2 .h-nav__link:is([aria-current="page"], .is-current) { color: var(--h-ink); }
body.v2 .h-nav__dot {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--h-accent);
  box-shadow: 0 0 10px rgb(var(--h-accent-rgb) / .8);
}

/* static active marker (also the no-JS look) */
body.v2 .h-nav__link[aria-current="page"] {
  background: rgb(var(--h-accent-rgb) / .12);
  box-shadow: inset 0 0 0 1px rgb(var(--h-accent-rgb) / .3);
}

/* the animated indicator (shell.js positions it; hidden until placed) */
body.v2 .h-nav__indicator {
  position: absolute;
  left: 0; top: 50%;
  z-index: 0;
  width: var(--h-ind-w, 0px);
  height: 40px;
  margin-top: -20px;
  border-radius: var(--h-r-pill);
  background: rgb(var(--h-ind-rgb, 148 169 255) / .13);
  box-shadow: inset 0 0 0 1px rgb(var(--h-ind-rgb, 148 169 255) / .32), 0 6px 22px -10px rgb(var(--h-ind-rgb, 148 169 255) / .7);
  transform: translateX(var(--h-ind-x, 0px));
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms var(--h-ease-out), width 520ms var(--h-ease-out), opacity var(--h-dur-2) var(--h-ease-out), background-color var(--h-dur-2), box-shadow var(--h-dur-2);
}
body.v2 .h-nav__indicator::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 16px; height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: rgb(var(--h-ind-rgb, 148 169 255));
  box-shadow: 0 0 10px rgb(var(--h-ind-rgb, 148 169 255) / .9);
}
body.v2 .h-nav.is-ind-ready .h-nav__indicator.is-on { opacity: 1; }
/* when the moving indicator is live, it replaces the static active pill */
body.v2 .h-nav.is-ind-ready .h-nav__link[aria-current="page"] { background: transparent; box-shadow: none; }
body.v2 .h-nav.is-ind-ready .h-nav__indicator.is-placing { transition: opacity var(--h-dur-2) var(--h-ease-out); }

/* actions */
body.v2 .h-nav__actions { display: flex; align-items: center; gap: 8px; flex: none; position: relative; z-index: 2; }
body.v2 .h-nav__quiet {
  color: var(--h-muted);
  background: transparent;
  font-weight: 500;
}
body.v2 .h-nav__quiet:hover { color: var(--h-ink); background: rgba(255, 255, 255, .04); }
body.v2 .h-nav__quiet[aria-current="page"] { color: var(--h-ink); background: rgb(var(--h-accent-rgb) / .12); box-shadow: inset 0 0 0 1px rgb(var(--h-accent-rgb) / .3); }

/* glowing install pill */
body.v2 .h-nav__install { isolation: isolate; padding-inline: 16px 18px; }
body.v2 .h-nav__install::before {
  content: "";
  position: absolute; inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(60% 120% at 20% 50%, rgba(130, 221, 209, .55), transparent 70%),
    radial-gradient(60% 120% at 80% 50%, rgba(148, 169, 255, .7), transparent 70%);
  opacity: .55;
  animation: h-shell-halo 4.8s var(--h-ease-in-out) 3;
  pointer-events: none;
}
body.v2 .h-nav__install::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  /* the streak moves by background-position, so it never paints outside the pill */
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
  animation: h-shell-glint 7s var(--h-ease-in-out) 2s 4;
}
body.v2 .h-nav__install { overflow: visible; }
@media (hover: hover) {
  body.v2 .h-nav__install:hover::before { opacity: 1; }
}
@keyframes h-shell-halo { 0%, 100% { opacity: .55; } 50% { opacity: .85; } }
@keyframes h-shell-glint { 0%, 78% { background-position: 100% 0; opacity: 0; } 82% { opacity: 1; } 96% { background-position: 0% 0; opacity: 1; } 100% { background-position: 0% 0; opacity: 0; } }

/* scroll progress hairline (shell.js sets --h-progress 0..1) */
body.v2 .h-nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--h-mint), var(--h-blue) 35%, var(--h-honey) 70%, var(--h-rose));
  transform-origin: 0 50%;
  transform: scaleX(var(--h-progress, 0));
  opacity: 0;
  transition: opacity var(--h-dur-2) var(--h-ease-out);
  pointer-events: none;
}
body.v2 .h-nav.is-scrolled .h-nav__progress { opacity: .85; }
body.v2 .h-nav.is-menu-open .h-nav__progress { opacity: 0; }

/* toggle (hamburger morphs to a cross) */
body.v2 .h-nav__toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 14px;
  color: var(--h-ink);
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--h-line);
  transition: background-color var(--h-dur-2), box-shadow var(--h-dur-2);
}
body.v2 .h-nav__toggle:hover { background: var(--h-panel-2); }
body.v2 .h-nav__toggle[aria-expanded="true"] { background: var(--h-panel-2); box-shadow: inset 0 0 0 1px rgba(148, 169, 255, .45); }
body.v2 .h-nav__burger { position: absolute; left: 50%; top: 50%; width: 20px; height: 14px; margin: -7px 0 0 -10px; }
body.v2 .h-nav__burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--h-dur-2) var(--h-ease-spring), opacity var(--h-dur-1);
}
body.v2 .h-nav__burger span:nth-child(1) { top: 0; }
body.v2 .h-nav__burger span:nth-child(2) { top: 6px; width: 70%; left: 30%; }
body.v2 .h-nav__burger span:nth-child(3) { top: 12px; }
body.v2 .h-nav__toggle[aria-expanded="true"] .h-nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.v2 .h-nav__toggle[aria-expanded="true"] .h-nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
body.v2 .h-nav__toggle[aria-expanded="true"] .h-nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* desktop: mobile-only links hidden */
body.v2 .h-nav__mobile { display: none; }

/* ---------- phones and tablets: sheet menu ---------- */
@media (max-width: 1023px) {
  body.v2 .h-nav__desk { display: none; }
  body.v2 .h-nav__toggle { display: inline-grid; }
  body.v2 .h-nav__actions { margin-left: auto; }
  body.v2 .h-nav__indicator { display: none; }

  body.v2 .h-nav__links {
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--h-nav-h));
    height: calc(100dvh - var(--h-nav-h));
    margin: 0;
    padding: 18px var(--h-nav-pad) calc(28px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(120% 60% at 100% 100%, rgba(255, 198, 92, .07), transparent 60%),
      radial-gradient(90% 50% at 0% 100%, rgba(130, 221, 209, .07), transparent 60%),
      rgba(16, 19, 24, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--h-dur-2) var(--h-ease-out), transform var(--h-dur-2) var(--h-ease-out), visibility 0s linear var(--h-dur-2);
  }
  body.v2 .h-nav__links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--h-dur-2) var(--h-ease-out), transform var(--h-dur-2) var(--h-ease-out), visibility 0s;
  }
  body.v2 .h-nav__mobile { display: inline-flex; }
  body.v2 .h-nav__link {
    min-height: 58px;
    padding: 0 16px;
    border-radius: var(--h-r-md);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--h-ink);
    letter-spacing: -.015em;
    white-space: normal;
  }
  body.v2 .h-nav__link + .h-nav__link { box-shadow: 0 -1px 0 var(--h-line-soft); border-radius: 0; }
  body.v2 .h-nav__link[aria-current="page"] { border-radius: var(--h-r-md); }
  body.v2 .h-nav__link::after {
    content: "";
    margin-left: auto;
    width: 8px; height: 8px;
    border: solid var(--h-faint);
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
    transition: transform var(--h-dur-2) var(--h-ease-out), border-color var(--h-dur-2);
  }
  body.v2 .h-nav__link:hover::after { border-color: var(--h-accent); transform: translateX(3px) rotate(45deg); }
  body.v2 .h-nav__sheet-cta { margin-top: 20px; flex: none; }
  /* Guide, Privacy, Support: quiet secondary links under the four main ones */
  body.v2 .h-nav__sub.h-nav__mobile {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 14px; padding-top: 16px;
    border-top: 1px solid var(--h-line-soft);
  }
  body.v2 .h-nav__sublink {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border-radius: var(--h-r-pill);
    color: var(--h-muted); font-size: 1rem; font-weight: 500;
    background: rgba(255, 255, 255, .03);
    box-shadow: inset 0 0 0 1px var(--h-line-soft);
    transition: color var(--h-dur-2) var(--h-ease-out), background-color var(--h-dur-2) var(--h-ease-out);
  }
  body.v2 .h-nav__sublink:hover { color: var(--h-ink); background: rgba(255, 255, 255, .06); }
  body.v2 .h-nav__sublink[aria-current="page"] { color: var(--h-ink); background: rgb(var(--h-accent-rgb) / .12); box-shadow: inset 0 0 0 1px rgb(var(--h-accent-rgb) / .3); }

  /* items glide in one after another */
  body.v2 .h-nav__links > :not(.h-nav__indicator) {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--h-dur-3) var(--h-ease-out), transform var(--h-dur-3) var(--h-ease-out);
  }
  body.v2 .h-nav__links.is-open > :not(.h-nav__indicator) { opacity: 1; transform: none; }
  body.v2 .h-nav__links.is-open > :nth-child(2) { transition-delay: 40ms; }
  body.v2 .h-nav__links.is-open > :nth-child(3) { transition-delay: 75ms; }
  body.v2 .h-nav__links.is-open > :nth-child(4) { transition-delay: 110ms; }
  body.v2 .h-nav__links.is-open > :nth-child(5) { transition-delay: 145ms; }
  body.v2 .h-nav__links.is-open > :nth-child(6) { transition-delay: 180ms; }
  body.v2 .h-nav__links.is-open > :nth-child(7) { transition-delay: 215ms; }
  body.v2 .h-nav__links.is-open > :nth-child(8) { transition-delay: 250ms; }
  body.v2 .h-nav__links.is-open > :nth-child(9) { transition-delay: 285ms; }

  /* no JavaScript at all: the toggle cannot work, so show the links as a scrollable row under the bar */
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav { height: auto; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__bar { flex-wrap: wrap; height: auto; min-height: var(--h-nav-h); padding-block: 12px; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__toggle { display: none; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__links {
    position: static; order: 3; width: 100%; height: auto;
    flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 0;
    visibility: visible; opacity: 1; transform: none;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; overflow: visible;
  }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__links > * { opacity: 1; transform: none; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__link { min-height: 44px; font-size: 1rem; font-weight: 500; box-shadow: none; border-radius: var(--h-r-pill); }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__link::after { display: none; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__sheet-cta { margin-top: 8px; }
  html:not(.h-js):not(.motion-ready):not(.motion-off) body.v2 .h-nav__sub.h-nav__mobile { margin: 0; padding: 0; border: 0; }
}
@media (min-width: 1024px) {
  body.v2 .h-nav__dot { display: none; }
}
@media (min-width: 1024px) and (max-width: 1159px) {
  body.v2 .h-nav__link { padding: 0 11px; }
  body.v2 .h-nav .h-brand__sub { display: none; }
}
@media (max-width: 379px) {
  body.v2 .h-nav__link { font-size: 1.0625rem; }
}

/* scroll lock while the sheet is open */
/* root only: overflow on body would make body the scroller and unstick the nav */
html.h-nav-locked { overflow: hidden; }
@media (max-width: 1023px) {
  /* safety net: the open sheet is pinned to the viewport whatever the scroll state */
  body.v2 .h-nav.is-menu-open { position: sticky; top: 0; }
  body.v2 .h-nav__links.is-open { position: fixed; top: var(--h-nav-h); left: 0; right: 0; }
}

/* =========================================================================
   FINAL CALL TO ACTION: first light ("Sunrise")
   ========================================================================= */
body.v2 .h-cta {
  --h-cta-scene-h: clamp(250px, 27vw, 400px);
  /* px per viewBox unit of the 1600 x 400 land art (matches preserveAspectRatio xMidYMax slice) */
  --h-cta-u: max(100vw / 1600, var(--h-cta-scene-h) / 400);
  --h-sun: 1;
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(180deg, var(--h-bg) 70%, var(--h-bg-deep) 100%);
  padding-top: clamp(48px, 6vw, 96px);
  text-align: center;
}
body.v2 .h-cta.h-grain::before {
  z-index: 2;
  /* grain only where the art is, so the CTA's top edge stays exactly #101318 (no seam) */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, #000 72%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, #000 72%, #000 88%, transparent 100%);
}
/* base.css draws .h-underline with non-scaling-stroke, which makes Chrome cut a pathLength=1 dash short;
   scale the stroke with the box instead so the full underline shows */
body.v2 .h-cta .h-underline__svg path { vector-effect: none; stroke-width: 2.4; }

body.v2 .h-cta__sky {
  position: absolute;
  left: 0; right: 0; bottom: 12px; /* the land art covers the last pixels, so no bright sky row can peek under it */
  height: calc(var(--h-cta-scene-h) * 2.15);
  z-index: 0;
  background: var(--h-sky-dawn);
  pointer-events: none;
}
/* wide soft light above the horizon, brightens with the sunrise */
body.v2 .h-cta__sky::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 140%; height: 88%;
  transform: translateX(-50%) scale(calc(.82 + .18 * var(--h-sun)));
  transform-origin: 50% 100%;
  background: radial-gradient(50% 32% at 50% 76%, rgba(255, 233, 170, .32), transparent 72%); /* fades out inside the box: no hard edge */
  opacity: calc(.35 + .65 * var(--h-sun));
}

body.v2 .h-cta__stars {
  position: absolute; left: 0; top: 0;
  width: 100%; height: clamp(220px, 26vw, 320px);
  z-index: 1;
  pointer-events: none;
}

body.v2 .h-cta__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
body.v2 .h-cta__title {
  max-width: 19ch;
  margin-top: 4px;
  font-size: var(--h-fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--h-ink);
}
body.v2 .h-cta__title .h-two-tone__quiet { color: #b3bccb; }
body.v2 .h-cta__lead { font-size: var(--h-fs-lead); color: var(--h-ink-soft); max-width: 40ch; }

body.v2 .h-cta__garland {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
body.v2 .h-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
body.v2 .h-cta__install { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(16, 22, 42, .35), 0 0 0 1px rgba(148, 169, 255, .25), 0 14px 40px -12px rgba(77, 100, 230, .85); }
/* .h-cta ghost button style: base.css (shared scene-sky rule) */

body.v2 .h-cta__sprig { width: clamp(110px, 12vw, 170px); height: auto; flex: none; overflow: visible; }
body.v2 .h-cta__sprig--right { transform: scaleX(-1); }
body.v2 .h-cta__sprig :is(.h-cta__stem, .h-cta__leaf) { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.v2 .h-cta__stem { stroke: #82ddd1; }
html.motion-ready body.v2 .h-cta__content:not(.is-in) .h-cta__bud { opacity: 0; }
html.motion-ready body.v2 .h-cta__bud { transition: opacity var(--h-dur-3) var(--h-ease-out) 1.2s; }

@media (max-width: 719px) {
  body.v2 .h-cta__garland { flex-wrap: wrap; gap: 6px 10px; }
  body.v2 .h-cta__actions { order: -1; width: 100%; }
  body.v2 .h-cta__sprig { width: 120px; margin-top: 6px; }
}
/* phones: the land art's top third is empty sky; let it slide up under the garland
   (the sun, hills and owl keep their size and place on the land) */
@media (max-width: 719px) {
  body.v2 .h-cta__content { padding-bottom: 12px; }
  body.v2 .h-cta__scene { margin-top: calc(-.3 * var(--h-cta-scene-h)); }
}
@media (max-width: 479px) {
  body.v2 .h-cta__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-inline: auto; }
  body.v2 .h-cta__actions .h-btn { width: 100%; }
}

/* the land */
body.v2 .h-cta__scene {
  position: relative;
  height: var(--h-cta-scene-h);
  pointer-events: none;
}
body.v2 .h-cta__land { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 2px); display: block; z-index: 1; }
body.v2 .h-cta__sun {
  transform-box: view-box;
  transform-origin: 812px 262px;
  transform: translateY(calc((1 - var(--h-sun)) * 22px)) scale(calc(.78 + .22 * var(--h-sun)));
  opacity: calc(.45 + .55 * var(--h-sun));
}
body.v2 .h-cta__sunline { opacity: calc(.35 + .65 * var(--h-sun)); }

/* the small owl resting on its stump at the horizon (stump top = viewBox 1011, 311) */
body.v2 .h-cta__perch {
  --h-owl-w: max(62px, calc(92 * var(--h-cta-u)));
  position: absolute;
  z-index: var(--h-z-owl);
  left: calc(50% + 211 * var(--h-cta-u));
  bottom: calc(89 * var(--h-cta-u) - .06 * var(--h-owl-w));
  width: var(--h-owl-w);
  transform: translateX(-50%);
}
body.v2 .h-cta__owl {
  display: block;
  width: 100%;
  height: auto;
  forced-color-adjust: none;
  transform-origin: 50% 94%;
  animation: h-shell-rest 6.5s var(--h-ease-in-out) infinite;
}
@keyframes h-shell-rest { 0%, 100% { transform: translateY(0) rotate(0deg); } 40% { transform: translateY(-2px) rotate(-1.5deg); } 70% { transform: translateY(-1px) rotate(1deg); } }
html.owl-sleep body.v2 .h-cta__owl { animation-play-state: paused; }
html.owl-sleep body.v2 .h-nav__install::before,
html.owl-sleep body.v2 .h-nav__install::after { animation-play-state: paused; }

/* =========================================================================
   FOOTER
   ========================================================================= */
body.v2 .h-footer {
  position: relative;
  background: var(--h-bg-deep);
  color: var(--h-muted);
  padding-top: clamp(40px, 5vw, 64px);
  overflow: clip;
}
body.v2 .h-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 340px) {
  body.v2 .h-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  body.v2 .h-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  body.v2 .h-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  body.v2 .h-footer__brand { grid-column: auto; }
}
body.v2 .h-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
body.v2 .h-footer__tag { color: var(--h-ink-soft); font-size: 1rem; }
body.v2 .h-footer__trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
body.v2 .h-footer__trust .h-pill { background: var(--h-panel); }

body.v2 .h-footer__head {
  margin-bottom: 14px;
  font-size: var(--h-fs-eyebrow);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--h-faint);
}
body.v2 .h-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
body.v2 .h-footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--h-ink-soft);
  font-size: 1rem;
  transition: color var(--h-dur-2) var(--h-ease-out), transform var(--h-dur-2) var(--h-ease-out);
}
body.v2 .h-footer__link::before {
  content: "";
  position: absolute; left: -14px; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--h-accent);
  box-shadow: 0 0 8px rgb(var(--h-accent-rgb) / .8);
  transform: scale(0);
  transition: transform var(--h-dur-2) var(--h-ease-spring);
}
body.v2 .h-footer__link:hover { color: var(--h-ink); transform: translateX(3px); }
body.v2 .h-footer__link:hover::before,
body.v2 .h-footer__link:focus-visible::before { transform: scale(1); }

body.v2 .h-footer__doodles {
  display: block;
  width: 100%;
  height: clamp(84px, 9vw, 120px);
  margin-top: clamp(28px, 4vw, 48px);
  pointer-events: none;
}

body.v2 .h-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--h-line-soft);
  font-size: var(--h-fs-small);
  color: var(--h-faint);
}
body.v2 .h-footer__version {
  display: inline-flex; align-items: center;
  min-height: 26px; padding: 2px 10px;
  border-radius: var(--h-r-pill);
  background: var(--h-panel);
  border: 1px solid var(--h-line-soft);
  color: var(--h-muted);
  font-size: var(--h-fs-micro);
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* the CTA's ground ends on #0c0f13, so the footer continues it with no seam */
body.v2 .h-cta + .h-footer { padding-top: clamp(24px, 3vw, 40px); }

/* "Add to Chrome — it's free" (hero and the final band on every page): the dash and "it's free" sit a step quieter */
body.v2 .h-btn__get { display: inline-flex; align-items: baseline; white-space: nowrap; }
body.v2 .h-btn__dash { opacity: .55; font-weight: 400; margin-inline: .38em; }
body.v2 .h-btn__free { font-weight: 500; opacity: .9; }
@media (max-width: 359.98px) { body.v2 .h-btn__dash, body.v2 .h-btn__free { display: none; } }
