/*
 * HiveSuite v2 design system - CORE
 * Load on every v2 page (include/v2/head.php does this). Then add components.css,
 * prose.css or a page sheet such as home.css as needed.
 *
 * Contains: design tokens, base reset, layout (container/section), type helpers
 * (kicker, h2, lead, mark, link), buttons, badges, the hexagon helper, the reveal
 * system, the bee, nav + mobile menu, pill, cards, chips + marquee, FAQ, footer,
 * sticky CTA, scroll progress and reduced-motion rules.
 *
 * Brand: honey palette, rounded hexagons, chunky 2px ink outlines with offset shadows.
 * Type: Bricolage Grotesque (display), Figtree (body), Caveat (handwritten notes).
 * Every selector is prefixed .v2- so this can sit next to the legacy Tailwind styles.
 * Base element rules use :where() so they never out-rank a component class.
 *
 * Contrast: every text/background pair is WCAG AA (4.5:1, or 3:1 for large text).
 * Never put white text on honey; honey backgrounds always take --v2-ink.
 *
 * Motion: hidden "before reveal" states only apply when <html> has .js-anim (added in
 * <head> when reduced motion is not requested). Only transform and opacity animate.
 * See AGENTS.md "v2 design system" for the component reference.
 */

/* ─── Tokens ─────────────────────────────────────── */
:root {
    --v2-honey: #fb9b2d;            /* brand */
    --v2-honey-2: #ffb547;          /* lighter honey for highlights */
    --v2-honey-deep: #a3470b;       /* honey for text on light backgrounds (5.4:1+) */
    --v2-pale: #fff1d6;             /* pale honey surface */
    --v2-comb: #ffe4b0;             /* deeper comb surface */
    --v2-cream: #fffaf0;            /* page background */
    --v2-white: #ffffff;

    --v2-ink: #231a12;              /* warm brown-black for text, borders and hard shadows */
    --v2-muted: #57483a;            /* body copy */
    --v2-soft: #6b5a49;             /* small print */
    --v2-line: #ead9bf;             /* hairlines on cream */

    --v2-leaf: #1f7a4f;   --v2-leaf-tint: #dcf3e6;
    --v2-sky: #1d5fd1;    --v2-sky-tint: #e0ebff;
    --v2-lilac: #6a4bc4;  --v2-lilac-tint: #ece6ff;
    --v2-berry: #b8264d;  --v2-berry-tint: #ffe3ea;

    --v2-radius: 18px;
    --v2-radius-lg: 28px;
    --v2-border: 2px solid var(--v2-ink);
    --v2-pop: 4px 4px 0 var(--v2-ink);
    --v2-pop-lg: 6px 6px 0 var(--v2-ink);

    --v2-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --v2-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --v2-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
    --v2-body: 'Figtree', system-ui, sans-serif;
    --v2-hand: 'Caveat', 'Comic Sans MS', cursive;
    --v2-nav-h: 76px;

    /* rounded hexagon (pointy-top) used as a mask everywhere */
    --v2-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47'%3E%3Cpolygon points='50,7 93,32 93,83.5 50,108.5 7,83.5 7,32' fill='%23000' stroke='%23000' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E");
    /* faint honeycomb wallpaper */
    --v2-comb-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='103.92' viewBox='0 0 60 103.92'%3E%3Cpath d='M30 0L60 17.32V51.96L30 69.28L0 51.96V17.32Z M30 69.28V103.92' fill='none' stroke='%23c2610c' stroke-opacity='0.13' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ─── Base (zero specificity) ────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--v2-nav-h) + 16px); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
:where(body.v2) {
    margin: 0; background: var(--v2-cream); color: var(--v2-ink);
    font-family: var(--v2-body); font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:where(.v2) img { max-width: 100%; height: auto; display: block; }
:where(.v2) a { color: inherit; }
:where(.v2) :is(h1, h2, h3, h4) { margin: 0; font-family: var(--v2-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
:where(.v2) p { margin: 0; }
:where(.v2) ul { margin: 0; padding: 0; list-style: none; }
:where(.v2) button { font: inherit; color: inherit; }
:where(.v2) :focus-visible { outline: 3px solid var(--v2-sky); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--v2-honey); color: var(--v2-ink); }

.v2-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.v2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .v2-container { padding: 0 16px; } }

.v2-section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.v2-section--pale { background: var(--v2-pale); border-top: var(--v2-border); }
.v2-section--white { background: var(--v2-white); border-top: var(--v2-border); }
.v2-section--cream { background: var(--v2-cream); border-top: var(--v2-border); }

.v2-kicker {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: var(--v2-hand); font-size: 1.65rem; font-weight: 700; line-height: 1; color: var(--v2-honey-deep);
    transform: rotate(-2deg);
}
.v2-kicker svg { width: 34px; height: 22px; flex-shrink: 0; }
.v2-h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 0.75rem; }
.v2-h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; }
.v2-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--v2-muted); margin-top: 1rem; max-width: 38rem; }
.v2-head { margin-bottom: clamp(36px, 5vw, 60px); }
.v2-head--center { text-align: center; }
.v2-head--center .v2-lead { margin-left: auto; margin-right: auto; }

/* highlighter swipe behind a phrase; draws in when its section is revealed */
.v2-mark { position: relative; white-space: nowrap; isolation: isolate; }
.v2-mark::before {
    content: ''; position: absolute; z-index: -1; left: -0.1em; right: -0.1em; bottom: 0.1em; height: 0.4em;
    border-radius: 0.2em; background: var(--v2-honey-2); transform: skew(-8deg) scaleX(1); transform-origin: left;
    transition: transform 0.8s var(--v2-ease) 0.35s;
}
.js-anim [data-reveal]:not(.is-in) .v2-mark::before { transform: skew(-8deg) scaleX(0); }
.js-anim .v2-hero .v2-mark::before { animation: v2-swipe 0.8s var(--v2-ease) 0.75s both; }
@keyframes v2-swipe { from { transform: skew(-8deg) scaleX(0); } }
/* Phones: long highlighted phrases wrap, so the highlight is a background that follows each line */
@media (max-width: 640px) {
    .v2-mark { white-space: normal; background: linear-gradient(var(--v2-honey-2), var(--v2-honey-2)) no-repeat 0 82% / 100% 0.4em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.08em; transition: background-size 0.8s var(--v2-ease) 0.35s; }
    .v2-mark::before { display: none; }
    .js-anim [data-reveal]:not(.is-in) .v2-mark { background-size: 0% 0.4em; }
}

.v2-link { color: var(--v2-honey-deep); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.v2-link i { transition: transform 0.25s var(--v2-bounce); font-size: 0.8em; }
.v2-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.v2-link:hover i { transform: translateX(4px); }

/* ─── Buttons: chunky, outlined, squishy ─────────── */
.v2-btn {
    --mx: 0px; --my: 0px; --lift: 0px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.9rem 1.45rem; border-radius: 999px; border: var(--v2-border); cursor: pointer;
    font-family: var(--v2-body); font-weight: 800; font-size: 1.02rem; line-height: 1; text-decoration: none; white-space: nowrap;
    box-shadow: var(--v2-pop); color: var(--v2-ink); background: var(--v2-white);
    transform: translate(calc(var(--mx) - var(--lift)), calc(var(--my) - var(--lift)));
    transition: transform 0.25s var(--v2-bounce), box-shadow 0.25s var(--v2-bounce), background-color 0.2s;
}
.v2-btn:hover { --lift: 2px; box-shadow: 6px 6px 0 var(--v2-ink); }
.v2-btn:active { --lift: -2px; box-shadow: 1px 1px 0 var(--v2-ink); }
.v2-btn i { font-size: 0.85em; transition: transform 0.3s var(--v2-bounce); }
.v2-btn:hover i { transform: translateX(3px) rotate(-8deg); }
.v2-btn--honey { background: var(--v2-honey); }
.v2-btn--honey:hover { background: var(--v2-honey-2); }
.v2-btn--sm { padding: 0.65rem 1.05rem; font-size: 0.92rem; box-shadow: 3px 3px 0 var(--v2-ink); }

/* ─── Badges ─────────────────────────────────────── */
.hs-new-badge {
    display: inline-flex; align-items: center; margin-left: 0.375rem; padding: 0.0625rem 0.45rem;
    border-radius: 999px; background: #c2410c; color: #fff; font-family: var(--v2-body);
    font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.5;
    text-transform: uppercase; vertical-align: middle; white-space: nowrap;
}
.hs-new-badge--updated { background: #1d4ed8; }

/* ─── Hexagon helper ─────────────────────────────── */
.v2-hex {
    /* !important: generic "x span" rules elsewhere must never break a hexagon's centring */
    display: grid !important; place-items: center; aspect-ratio: 100 / 115.47;
    -webkit-mask: var(--v2-hex) center / 100% 100% no-repeat; mask: var(--v2-hex) center / 100% 100% no-repeat;
}
.v2-hex > i { display: block; line-height: 1; margin: 0; }

/* ─── Reveal system ──────────────────────────────── */
.js-anim [data-reveal] {
    opacity: 0; transform: translateY(28px) rotate(var(--rot, 0deg));
    transition: opacity 0.7s var(--v2-ease), transform 0.8s var(--v2-bounce);
    transition-delay: calc(var(--d, 0) * 80ms);
}
.js-anim [data-reveal="pop"] { transform: scale(0.85) rotate(var(--rot, 0deg)); }
.js-anim [data-reveal].is-in { opacity: 1; transform: rotate(var(--rot, 0deg)); }

/* ─── Bee ────────────────────────────────────────── */
.v2-bee { position: absolute; left: 0; top: 0; width: 54px; height: 46px; z-index: 6; pointer-events: none; will-change: transform; }
.v2-bee svg { width: 100%; height: 100%; overflow: visible; }
.v2-bee__wing { transform-box: fill-box; transform-origin: 50% 100%; animation: v2-flap 0.11s linear infinite alternate; }
.v2-bee__wing--b { animation-delay: -0.055s; }
@keyframes v2-flap { from { transform: scaleY(1) rotate(-6deg); } to { transform: scaleY(0.35) rotate(6deg); } }
.v2-bee__flip { transform-box: fill-box; transform-origin: center; transition: transform 0.25s; }
.v2-bee.is-left .v2-bee__flip { transform: scaleX(-1); }

/* ─── Nav ────────────────────────────────────────── */
.v2-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--v2-nav-h); transition: background-color 0.3s, box-shadow 0.3s, transform 0.45s var(--v2-ease); }
.v2-nav.is-scrolled { background: rgba(255, 250, 240, 0.92); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); box-shadow: 0 2px 0 var(--v2-ink); }
.v2-nav.is-hidden { transform: translateY(-110%); }
.v2-nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.v2-nav__logo { display: inline-flex; transition: transform 0.35s var(--v2-bounce); }
.v2-nav__logo:hover { transform: rotate(-3deg) scale(1.04); }
.v2-nav__logo img { height: 36px; width: auto; }
.v2-nav__links { display: flex; align-items: center; gap: 0.1rem; }
.v2-nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; border-radius: 999px;
    border: 0; background: none; cursor: pointer; color: var(--v2-ink); font-size: 0.97rem; font-weight: 600; text-decoration: none;
    transition: background-color 0.2s;
}
.v2-nav__link:hover, .v2-dd.is-open > .v2-nav__link, .v2-dd:focus-within > .v2-nav__link { background: var(--v2-pale); }
.v2-nav__chev { font-size: 0.6rem; transition: transform 0.3s var(--v2-bounce); }
.v2-nav__link[data-active] { background: var(--v2-pale); box-shadow: inset 0 0 0 2px var(--v2-ink); }
.v2-dd { position: relative; }
.v2-dd:hover .v2-nav__chev, .v2-dd.is-open .v2-nav__chev { transform: rotate(180deg); }
.v2-dd__panel {
    position: absolute; top: calc(100% + 12px); left: 50%; min-width: 250px; padding: 0.5rem;
    border-radius: 20px; background: var(--v2-white); border: var(--v2-border); box-shadow: var(--v2-pop-lg);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, 10px) scale(0.96); transform-origin: top center;
    transition: opacity 0.2s, transform 0.35s var(--v2-bounce), visibility 0.2s;
}
.v2-dd__panel::before { content: ''; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.v2-dd:hover > .v2-dd__panel, .v2-dd:focus-within > .v2-dd__panel, .v2-dd.is-open > .v2-dd__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.v2-dd__panel a {
    display: flex; align-items: center; padding: 0.58rem 0.8rem; border-radius: 12px; color: var(--v2-ink);
    font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, transform 0.2s var(--v2-bounce);
}
.v2-dd__panel a:hover { background: var(--v2-pale); transform: translateX(3px); }
.v2-dd__panel a.v2-dd__hub { color: var(--v2-honey-deep); font-weight: 800; border-top: 2px dashed var(--v2-line); margin-top: 0.3rem; border-radius: 0 0 12px 12px; }
.v2-dd__panel--grid { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; gap: 0 0.25rem; }
.v2-dd__panel--grid .v2-dd__hub { grid-column: 1 / -1; }
.v2-nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.v2-nav__login { color: var(--v2-ink); font-size: 0.97rem; font-weight: 600; text-decoration: none; padding: 0.55rem 0.8rem; border-radius: 999px; }
.v2-nav__login:hover { background: var(--v2-pale); }
.v2-nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: var(--v2-border); box-shadow: 3px 3px 0 var(--v2-ink); cursor: pointer; background: var(--v2-honey); color: var(--v2-ink); position: relative; }
.v2-nav__burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--v2-bounce), opacity 0.2s; }
.v2-nav__burger span:nth-child(1) { top: 14px; }
.v2-nav__burger span:nth-child(2) { top: 20px; }
.v2-nav__burger span:nth-child(3) { top: 26px; }
.v2-menu-open .v2-nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.v2-menu-open .v2-nav__burger span:nth-child(2) { opacity: 0; }
.v2-menu-open .v2-nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .v2-nav__links, .v2-nav__login { display: none; } .v2-nav__burger { display: inline-block; } }
@media (max-width: 480px) { .v2-nav__actions .v2-btn { display: none; } }

.v2-mmenu {
    position: fixed; inset: 0; z-index: 45; background: var(--v2-pale) var(--v2-comb-pattern); color: var(--v2-ink);
    padding: calc(var(--v2-nav-h) + 12px) 24px 32px; overflow-y: auto; display: flex; flex-direction: column;
    clip-path: circle(0 at calc(100% - 47px) 38px); visibility: hidden;
    transition: clip-path 0.6s var(--v2-ease), visibility 0s linear 0.6s;
}
.v2-menu-open .v2-mmenu { clip-path: circle(150% at calc(100% - 47px) 38px); visibility: visible; transition: clip-path 0.7s var(--v2-ease), visibility 0s; }
.v2-menu-open .v2-nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.v2-mmenu__item { border-bottom: 2px dashed var(--v2-line); opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--v2-bounce); }
.v2-menu-open .v2-mmenu__item { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i, 0) * 0.05s); }
.v2-mmenu__link, .v2-mmenu__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; background: none; border: 0; cursor: pointer;
    text-align: left; color: var(--v2-ink); font-family: var(--v2-display); font-size: 1.6rem; font-weight: 800; text-decoration: none;
}
.v2-mmenu__btn i { font-size: 0.9rem; transition: transform 0.3s var(--v2-bounce); }
.v2-mmenu__acc.is-open .v2-mmenu__btn i { transform: rotate(180deg); }
.v2-mmenu__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--v2-ease); }
.v2-mmenu__acc.is-open .v2-mmenu__panel { grid-template-rows: 1fr; }
.v2-mmenu__panel > div { overflow: hidden; }
.v2-mmenu__panel a { display: block; padding: 0.5rem 0; color: var(--v2-ink); text-decoration: none; font-weight: 600; }
.v2-mmenu__panel a.v2-mmenu__hub { color: var(--v2-honey-deep); font-weight: 800; }
.v2-mmenu__panel a:last-child { margin-bottom: 1rem; }
.v2-mmenu__cta { margin-top: 2rem; display: grid; gap: 0.75rem; }
.v2-mmenu__note { text-align: center; color: var(--v2-soft); font-size: 0.9rem; font-weight: 600; }


/* ─── Pill (eyebrow link with a tag) ────────────── */
.v2-pill {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.85rem 0.3rem 0.3rem; border-radius: 999px;
    background: var(--v2-white); border: var(--v2-border); box-shadow: 3px 3px 0 var(--v2-ink);
    color: var(--v2-ink); font-size: 0.86rem; font-weight: 700; text-decoration: none; transition: transform 0.3s var(--v2-bounce);
}
.v2-pill:hover { transform: translate(-1px, -1px) rotate(-1deg); }
.v2-pill__tag { padding: 0.18rem 0.55rem; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── Cards ──────────────────────────────────────── */
.v2-card { position: relative; border-radius: var(--v2-radius-lg); background: var(--v2-white); border: var(--v2-border); box-shadow: var(--v2-pop); transition: transform 0.35s var(--v2-bounce), box-shadow 0.35s var(--v2-bounce); }
a.v2-card:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 8px 8px 0 var(--v2-ink); }

/* ─── Chips + marquee ────────────────────────────── */
.v2-marquee { position: relative; overflow: hidden; padding: 0.7rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.v2-marquee:first-of-type { margin-top: 1.5rem; }
.v2-marquee__track { display: flex; width: max-content; gap: 0.75rem; animation: v2-marquee 55s linear infinite; }
.v2-marquee--rev .v2-marquee__track { animation-direction: reverse; animation-duration: 62s; }
.v2-marquee:hover .v2-marquee__track { animation-play-state: paused; }
@keyframes v2-marquee { to { transform: translateX(-50%); } }
.v2-chip {
    display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 1.05rem 0.45rem 0.5rem; border-radius: 999px;
    background: var(--v2-cream); border: var(--v2-border); color: var(--v2-ink); font-size: 0.98rem; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: transform 0.3s var(--v2-bounce), background-color 0.2s, box-shadow 0.3s var(--v2-bounce);
}
.v2-chip .v2-hex { width: 30px; background: var(--v2-honey); font-size: 0.78rem; }
a.v2-chip:hover { background: var(--v2-pale); transform: translateY(-3px) rotate(-2deg); box-shadow: 3px 3px 0 var(--v2-ink); }

/* ─── FAQ ────────────────────────────────────────── */
.v2-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.v2-faq__head { position: sticky; top: calc(var(--v2-nav-h) + 32px); }
.v2-faq__list { display: grid; gap: 12px; }
.v2-faq details { border-radius: 20px; background: var(--v2-white); border: var(--v2-border); transition: box-shadow 0.3s var(--v2-bounce), transform 0.3s var(--v2-bounce); }
.v2-faq details[open] { box-shadow: var(--v2-pop); transform: translate(-2px, -2px); }
.v2-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 800; font-size: 1.05rem; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq__plus { position: relative; width: 32px; flex-shrink: 0; background: var(--v2-pale); transition: transform 0.45s var(--v2-bounce), background-color 0.3s; }
.v2-faq__plus::before, .v2-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: var(--v2-ink); }
.v2-faq__plus::after { transform: rotate(90deg); transition: transform 0.4s var(--v2-bounce); }
.v2-faq summary:hover .v2-faq__plus { transform: rotate(30deg); }
.v2-faq details[open] .v2-faq__plus { background: var(--v2-honey); transform: rotate(180deg); }
.v2-faq details[open] .v2-faq__plus::after { transform: rotate(0deg); }
.v2-faq__a { padding: 0 3.5rem 1.2rem 1.25rem; color: var(--v2-muted); overflow: hidden; }
@media (max-width: 900px) { .v2-faq { grid-template-columns: minmax(0, 1fr); } .v2-faq__head { position: static; } .v2-faq__a { padding-right: 1.25rem; } }


/* ─── Footer: the comb (light, part of the page) ─── */
.v2-foot { position: relative; background: var(--v2-pale) var(--v2-comb-pattern); border-top: var(--v2-border); overflow: hidden; }
.v2-foot__cta { position: relative; text-align: center; padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); }
.v2-foot__cta h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -0.035em; line-height: 0.98; margin-top: 0.6rem; }
.v2-foot__cta > p:not(.v2-kicker) { color: var(--v2-muted); font-size: 1.15rem; font-weight: 600; margin-top: 1.2rem; }
.v2-foot__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }
.v2-foot__panel { position: relative; background: var(--v2-white); border: var(--v2-border); border-radius: 32px; box-shadow: var(--v2-pop-lg); padding: clamp(22px, 4vw, 48px); }
.v2-foot__contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 2px dashed var(--v2-line); }
.v2-foot__contact h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.v2-foot__lines { margin-top: 1.3rem; display: grid; gap: 0.7rem; }
.v2-foot__lines a { color: var(--v2-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.v2-foot__lines a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.v2-foot__lines .v2-hex { width: 40px; background: var(--v2-honey); font-size: 0.9rem; }
/* the portal form brings its own card styling, so no extra frame here */
.v2-foot__form { min-width: 0; }
.v2-foot__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding-top: clamp(28px, 4vw, 44px); }
.v2-foot__brand img { height: 36px; width: auto; }
.v2-foot__brand p { margin-top: 0.9rem; color: var(--v2-muted); font-size: 0.95rem; max-width: 17rem; }
.v2-foot__brand p a { color: var(--v2-honey-deep); font-weight: 700; }
.v2-foot__social { display: flex; gap: 0.45rem; margin-top: 1.2rem; }
.v2-foot__social a { width: 40px; display: grid; place-items: center; background: var(--v2-pale); color: var(--v2-ink); text-decoration: none; transition: transform 0.35s var(--v2-bounce), background-color 0.2s; }
.v2-foot__social a:hover { background: var(--v2-honey); transform: translateY(-4px) rotate(-8deg); }
.v2-foot__cols h4 { font-family: var(--v2-hand); font-size: 1.5rem; font-weight: 700; color: var(--v2-honey-deep); letter-spacing: 0; margin-bottom: 0.5rem; }
.v2-foot__cols nav a { display: block; color: var(--v2-ink); text-decoration: none; font-size: 0.93rem; font-weight: 600; padding: 0.22rem 0; }
.v2-foot__cols nav a:hover { color: var(--v2-honey-deep); text-decoration: underline; }
.v2-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.6rem 0 2.2rem; }
.v2-foot__copy { color: var(--v2-muted); font-size: 0.86rem; font-weight: 600; }
.v2-foot__badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.v2-foot__badges .trustpilot-widget { width: 200px; }
.v2-foot__badges img { height: 42px; width: auto; }
@media (max-width: 1000px) { .v2-foot__cols { grid-template-columns: 1fr 1fr; } .v2-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .v2-foot__contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .v2-foot__cols { grid-template-columns: minmax(0, 1fr); } .v2-foot__bottom { padding-bottom: 6rem; } }


/* ─── Mobile sticky CTA + scroll progress ────────── */
.v2-sticky {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; gap: 0.5rem; padding: 0.45rem;
    border-radius: 999px; background: var(--v2-white); border: var(--v2-border); box-shadow: var(--v2-pop);
    transform: translateY(160%); transition: transform 0.5s var(--v2-bounce);
}
.v2-sticky.is-on { transform: none; }
.v2-sticky .v2-btn { flex: 1; box-shadow: none; }
.v2-sticky .v2-btn:last-child { flex: 0 0 auto; }
@media (max-width: 768px) { .v2-sticky { display: flex; } }
.v2-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: var(--v2-honey); transform-origin: left; transform: scaleX(0); pointer-events: none; }


/* ─── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .v2-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .v2-marquee { -webkit-mask-image: none; mask-image: none; }
    .v2-marquee [aria-hidden="true"] { display: none; }
    .v2-pricetag { transform: rotate(-3deg); }
}
