/* ==========================================================================
   Brividi UI – shared styles
   Reusable blocks: .site-header, .promo-bar, .btn-cta, .section-header,
   .rating-row, .reviews, .faq, .page-hero, .site-footer
   ========================================================================== */

:root {
  /* colours */
  --black: #000;
  --white: #ffffff;
  --gray: #7f7f89;
  --pink: #fa72ad;
  --pink-title: #f06ea6;
  --cta: #f06ea6; /* brand pink, as requested by the client */
  --cta-glow: rgba(249, 92, 160, 0.3);
  --surface: #040405;
  --surface-border: rgba(75, 75, 80, 0.2);
  --badge-pink-bg: #2e2031;
  --line: #1a1a1c;
  /* type */
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-inter: "Inter", system-ui, sans-serif;
  --fs-display: 60px;
  --lh-display: 60px;
  --fs-h1: 34px;
  --lh-h1: 40px;
  --fs-sub: 18px;
  --lh-sub: 24px;
  --fs-desc: 16px;
  --fs-mobile: 14px;
  /* spacing */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-lg: 12px;
  --space-xl: 16px;
  --space-2xl: 24px;
  --container: 1280px;
  --container-pad: 32px;
  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
html.is-loading body { visibility: hidden; } /* removed by main.js once the animations are ready (3 s fallback in the <head>) */
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 700 var(--fs-desc)/24px var(--font);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
/* every clickable thing: pointer cursor, no text selection on buttons, visible 0.2s hover feedback */
a, button, [role="button"], summary, label[for], select { cursor: pointer; }
button, .btn-cta, .nav-toggle { -webkit-user-select: none; user-select: none; }
a, button { transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease; }
/* light noise over the page: breaks up banding in the CSS glows (kept very faint so the page stays pure black) */
body::after { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.018; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.section { position: relative; padding-block: 64px; }

/* ---------- buttons / CTA ---------- */
.btn-cta { display: inline-flex; padding: var(--space-lg); border-radius: 20px; -webkit-tap-highlight-color: transparent; }
.btn-cta__pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: var(--space-lg);
  border-radius: 999px; background: var(--cta); color: var(--white);
  font: 800 var(--fs-sub)/var(--lh-sub) var(--font); text-align: center; white-space: nowrap;
  box-shadow: 0 -2px 20px 6px var(--cta-glow);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s;
}
.btn-cta:focus-visible { outline: none; }
.btn-cta:focus-visible .btn-cta__pill { outline: 2px solid var(--white); outline-offset: 3px; }
.btn-cta:active .btn-cta__pill { transform: scale(0.97); transition-duration: 0.12s; }
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover .btn-cta__pill { transform: translateY(-2px); box-shadow: 0 -2px 28px 10px rgba(249, 92, 160, 0.48); filter: brightness(1.06); }
  .btn-cta:active:hover .btn-cta__pill { transform: scale(0.97); }
}
.section-cta, .actions { display: flex; justify-content: center; flex-wrap: wrap; }
.section-cta { margin-top: 24px; }
.actions { margin-top: 48px; }
/* under the reviews: buttons stacked and tucked into the bottom fade, like the published site */
.reviews .actions { position: relative; z-index: 1; flex-direction: column; align-items: center; gap: 0; margin-top: 0; } /* pills 72px apart, as on the published site */

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; padding: 0 10px; border-radius: 9999px; font: 600 14px/22px var(--font-inter); letter-spacing: -0.2px; white-space: nowrap; }
.badge--green { background: #073e29; color: #00d971; }
.badge--pink { background: var(--badge-pink-bg); color: var(--pink); font-weight: 700; }

/* ---------- section header ---------- */
.section-header { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; position: relative; }
.section-header__eyebrow { font: 800 var(--fs-sub)/var(--lh-sub) var(--font); color: var(--pink); }
.section-header__title { font: 800 var(--fs-h1)/var(--lh-h1) var(--font); color: var(--white); }
.section-header__sub { font: 700 var(--fs-desc)/24px var(--font); color: var(--gray); margin-top: calc(var(--space-xs) - var(--space-lg)); max-width: 60ch; }
.section-header > .rating-row { margin-top: 0; }
.section-header__sub:last-child { margin-bottom: 0; }

/* lights are CSS (radial-gradient + blur), never images; containers use overflow-x: clip so the blur is not cut */
/* centred ellipse that reaches transparent inside its own box on every side: no hard edge where one section meets the next */
.gradient-glow { position: absolute; pointer-events: none; z-index: 0; background: radial-gradient(ellipse closest-side at 50% 50%, rgba(250, 114, 173, 0.24), rgba(250, 114, 173, 0.09) 50%, transparent); filter: blur(80px); }
.gradient-glow--top { left: 50%; top: -120px; width: 878px; height: 520px; transform: translateX(-50%); max-width: 100%; }
.gradient-glow--footer { left: 50%; top: -164px; width: 1236px; max-width: 100%; height: 634px; transform: translateX(-50%); background: radial-gradient(874px 897px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); filter: blur(20px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%); mask-image: linear-gradient(to bottom, transparent, #000 22%); } /* same light as the published footer: it falls from above onto the columns, behind the logo, never over it */

/* ---------- navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 8, 9, 0.55); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); } /* same glass as the published site: the page glows show through */
.site-header__bar { position: relative; display: flex; align-items: center; gap: var(--space-xl); height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 18px/24px var(--font); color: var(--white); }
.brand { gap: 2px; }
.brand img { width: 48px; height: 48px; } /* logo-nav.png, the same mark as brividiui.com */
.site-footer__brand .brand { gap: 8px; }
.site-footer__brand .brand img { width: 29px; height: 31px; }
.nav { display: flex; align-items: center; flex: 1; min-width: 0; gap: 20px; }
.nav__list { display: flex; gap: var(--space-xxs); }
.nav__link { display: block; padding: 4px 8px; border-radius: 8px; font: 700 16px/24px var(--font); color: var(--white); }
.nav__cta { margin-left: auto; }
/* one hover for navbar + footer links: nudge right, turn pink */
.link-hover, .nav__link, .site-footer ul a { transition: transform 0.2s ease, color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .link-hover:hover, .nav__link:hover, .site-footer ul a:hover { transform: translateX(4px); color: var(--pink); } }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--white); transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.promo-bar { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 72px; padding: 10px 20px; background: #000; text-align: left; }
/* anchored under the navbar like the published site; main.js hides it as soon as the page scrolls */
.promo-bar { position: fixed; left: 0; right: 0; top: 86px; z-index: 49; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s linear 0s; will-change: opacity, transform; }
.promo-bar.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, -12px, 0); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s linear 0.5s; }
.promo-bar + main { margin-top: 72px; } /* keeps the room the bar takes at the top of the page */
@media (max-width: 767px) { .promo-bar { top: 64px; } }
.promo-bar img { width: 47px; height: 47px; flex: none; object-fit: contain; }
.promo-bar__text { display: flex; flex-direction: column; }
.promo-bar strong { font: 800 18px/24px var(--font); color: var(--white); }
.promo-bar span { font: 700 14px/24px var(--font); color: var(--pink); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 601px 790px; gap: 30px; align-items: center; justify-content: start; padding-left: max(64px, calc((100% - 1440px) / 2 + 64px)); min-height: 800px; overflow: clip; }
@media (min-width: 1200px) { .hero .fit { overflow: visible; } }
/* 1200-1439: columns shrink with the viewport so the cards are never cut on the right */
@media (min-width: 1200px) and (max-width: 1439px) {
  :root { --fs-display: clamp(48px, 4.17vw, 60px); --lh-display: clamp(48px, 4.17vw, 60px); }
  .hero { grid-template-columns: minmax(0, 601fr) minmax(0, 790fr); }
}
/* the glow animates (scale/opacity), so no blur filter here: the gradient already fades out inside its box */
.hero__glow { left: -288px; top: 48px; width: 1128px; height: 700px; filter: none; background: radial-gradient(ellipse closest-side at 50% 50%, rgba(250, 114, 173, 0.14), rgba(250, 114, 173, 0.05) 55%, transparent); }
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xl); }
.display { font: 700 var(--fs-display)/var(--lh-display) var(--font); color: var(--white); }
.display .line { display: block; }
.display__pink { color: var(--pink); }
.hero__sub { color: var(--gray); max-width: 560px; }
.hero__showcase { position: relative; min-width: 0; }
.hero__cards .hc { position: absolute; left: var(--l); top: var(--t); width: var(--W); height: var(--H); display: grid; place-items: center; }
.hero__cards .hc img { max-width: none; transform: rotate(-7.62deg); flex: none; }
/* bottom fade: full width of the hero (a fade only as wide as the cards left a visible edge on tablets) */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55) 40%, #000 85%); pointer-events: none; }

.avatars { display: flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; margin-right: -14px; }
.avatars img:last-child { margin-right: 0; }
.rating-row { display: flex; align-items: center; gap: var(--space-lg); }
.rating__top { display: flex; align-items: center; gap: 15px; }
.rating__score { font: 800 18px/24px var(--font); color: var(--white); white-space: nowrap; }
.rating__count { color: var(--gray); margin-top: var(--space-xs); }
.rating { text-align: left; }

/* fit: scales a fixed-size design composition to its container (see main.js) */
.fit { position: relative; width: 100%; overflow: hidden; aspect-ratio: var(--ar, auto); }
.fit__inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; width: var(--dw); height: var(--dh); }
.no-js .fit { height: auto; aspect-ratio: auto; overflow-x: auto; }
.no-js .fit__inner { position: relative; }

/* ---------- customer logos ---------- */
.logos { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 24px var(--container-pad) 0; margin-top: 0; }
.logos__title { font: 800 var(--fs-sub)/var(--lh-sub) var(--font); color: var(--pink); text-align: center; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px clamp(24px, 4.4vw, 64px); }
.logos__row + .logos__row { margin-top: -8px; }
.logos__row img { height: 28px; width: auto; max-width: none; }
.logos { padding-bottom: 64px; padding-top: 24px; }

/* ---------- before / after ---------- */
.ba { overflow-x: clip; }
.ba__all { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px var(--container-pad) 0; }
.ba__pane { flex: 0 1 663px; min-width: 0; }
.ba__pane + .ba__arrow + .ba__pane { flex-basis: 654px; }
.ba__arrow { flex: 0 0 49px; width: 49px; height: 19px; }
.ba__stage .win { position: absolute; overflow: hidden; background: #141419; border: 0.5px solid #25252d; border-radius: 15px; box-shadow: 0 5px 15px #000; }
.win__bar { position: absolute; left: -1px; top: 0; width: calc(100% + 2px); height: 50px; background: #1c1c23; border-bottom: 0.5px solid #24242b; }
.win__hdr { position: absolute; display: flex; align-items: center; }
.win__hdr img { max-width: none; flex: none; }
.win__list { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.win__list i { display: block; height: 5px; border-radius: 16px; background: #202022; }
.win__brand { display: flex; align-items: center; gap: 5.3px; font: 700 13.3px/1.8 "SF Pro", system-ui, -apple-system, sans-serif; color: #fff; }
.win__brand b { font-weight: 700; }
.win__logo { position: relative; display: block; width: 28.4px; height: 28.4px; overflow: hidden; flex: none; }
.win__logo img { position: absolute; max-width: none; }
.cal { position: absolute; display: flex; flex-direction: column; gap: 14px; width: 491px; }
.cal__row { display: flex; gap: 20px; }
.cal i { display: block; width: 65px; height: 60px; border-radius: 4px; background: #202022; }

/* ---------- resources ---------- */
.resources { overflow-x: clip; padding-bottom: 64px; }
.resources .section-header { margin-bottom: 32px; }
.resources .section-header, .ba .section-header, .foundation .section-header { padding-inline: var(--container-pad); } /* these sections have no .container */
.resources__cards { position: relative; z-index: 1; }
/* endless row: main.js moves the list in a loop (drag / swipe / sideways wheel / arrows push it); vertical swipes still scroll the page */
.rtrack { --rh: clamp(240px, 21vw, 320px); overflow: hidden; touch-action: pan-y; padding: 32px 0 24px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rtrack::-webkit-scrollbar { display: none; }
.rtrack:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--pink); border-radius: 12px; } /* inset ring: an outline would sit under the edge mask */
.rtrack.is-dragging { cursor: grabbing; user-select: none; }
.rtrack__list { display: flex; align-items: flex-start; width: max-content; will-change: transform; } /* tops in line, like the trailer */
.rcard { position: relative; flex: none; margin-left: calc(var(--rh) * -0.14); padding-bottom: 20px; } /* a little extra room under each card makes it easier to hover and tap */
.rcard img { height: calc(var(--rh) * var(--h, 1)); width: auto; max-width: none; -webkit-user-drag: none; transition: transform 0.25s var(--ease-out); } /* --h (set per card in the HTML) brings the heights close together: short wide frames grow a little, tall ones shrink a little; nothing is cropped */
/* hover: the card rises straight up and keeps its place in the stack, so it never covers its neighbours */
@media (hover: hover) and (pointer: fine) { .rcard:hover img { transform: translateY(-16px); } }
@media (hover: none) { .rcard.is-center img { transform: translateY(-16px); } }

/* ---------- showcase ---------- */
.showcase { overflow-x: clip; }
.showcase__grid { display: grid; grid-template-columns: 457px minmax(0, 585px); gap: 100px; align-items: center; justify-content: center; }
.showcase__intro { display: flex; flex-direction: column; gap: var(--space-lg); }
.showcase__title { font: 800 var(--fs-h1)/48px var(--font); color: var(--white); }
.showcase__copy { color: var(--gray); margin-top: -6px; }
.showcase__visual { position: relative; min-width: 0; }
.sc { width: 585px; height: 452px; }
/* the cards are shifted so their visible faces sit centred in the stage; glow sits outside .fit (which clips) so the blur is never cut */
.sc__glow { position: absolute; left: 50%; top: 50%; width: 478px; height: 450px; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(ellipse closest-side at 50% 55%, rgba(250, 114, 173, 0.32), rgba(250, 114, 173, 0.11) 60%, transparent); filter: blur(80px); }
.sc__card { position: absolute; left: calc(var(--l) - 12px); top: calc(var(--t) - 19px); width: var(--W); height: var(--H); display: grid; place-items: center; }
.sc__face { position: relative; flex: none; width: 245.72px; height: 183px; padding: 37.5px; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 22.5px; transform: rotate(30deg) scaleY(0.87) skewX(30deg); }
.sc__head { display: flex; flex-direction: column; align-items: center; gap: 11.25px; text-align: center; position: relative; }
.sc__title { font-weight: 700; line-height: 26px; white-space: nowrap; }
.sc__small { font: 700 6.75px/9.75px "Nunito", sans-serif; color: #fff; }
.sc__desc { display: flex; flex-direction: column; align-items: center; gap: 11px; position: relative; }
.sc__tags { display: flex; gap: 4.5px; }
.sc__tags i { display: block; height: 15.75px; min-width: 28px; padding: 0 6.75px; border-radius: 19px; font: normal 600 5px/15.75px "Inter", sans-serif; text-align: center; color: #fff; }
.sc__card--img img { display: block; width: 100%; height: 100%; max-width: none; }
.sc__face--moire { background: #0b161f; }
.sc__moire { position: absolute; inset: 0; opacity: 0.2; background:
  repeating-linear-gradient(7deg, #fff 0 5px, transparent 5px 20px),
  repeating-linear-gradient(0deg, #fff 0 5px, transparent 5px 20px); filter: hue-rotate(40deg); mix-blend-mode: screen; }
.sc__face--moire .sc__head { z-index: 1; }
.sc__face--dark { background: #17171a; border: 3.75px solid #ff8a00; gap: 5px; }
.sc__face--dark .sc__small { font-size: 6.75px; }
.sc__emoji { font-size: 58px; line-height: 56px; }
.sc__face--green { background: #00493d; width: 264.39px; height: 171.55px; }
.sc__tags--text i { background: #00493d; color: #fff; font-size: 1px; }
.sc__face--sky { background: linear-gradient(#6692b2, #9251b7); border: 4px solid #420e76; border-radius: 15px; }
.sc__cloud { position: absolute; max-width: none; opacity: 0.4; width: 183px; height: 122px; }
.sc__tags--glass { position: relative; }
.sc__tags--glass i { background: rgba(255, 255, 255, 0.4); }

/* ---------- foundation ---------- */
.foundation { overflow-x: clip; padding-bottom: 64px; }
.foundation .section-header { margin-bottom: 40px; position: relative; z-index: 1; }
.fd { width: 1440px; height: 620px; }
/* 3D stage for the scroll tilt in main.js; cards float past the stage edges, the section clips sideways */
.foundation__stage-wrap { perspective: 1400px; }
@media (min-width: 768px) { .foundation .fit { overflow: visible; } }
.fd__img { position: absolute; max-width: none; }
.fd__card { position: absolute; padding: 32px 28px; border-radius: 40px; overflow: hidden; background: linear-gradient(#18181c, #111114); border: 1px solid rgba(255, 255, 255, 0.04); }
.fd__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, #000 96%); pointer-events: none; }
.fd__card h3 { font: 800 30px/32px var(--font); color: var(--pink-title); margin-bottom: 24px; }
.fd__grid { display: grid; gap: 22px 0; align-items: center; justify-items: center; }
.fd__grid--6 { grid-template-columns: repeat(6, 1fr); }
.fd__grid--7 { grid-template-columns: repeat(7, 1fr); gap: 20px 0; }
.fd__grid--8 { grid-template-columns: repeat(8, 1fr); }
.fd__picto span { font: 400 24px/30px system-ui, "Segoe UI Symbol", sans-serif; color: #fff; }
.fd__grid img { max-width: 30px; max-height: 26px; width: auto; height: auto; }
.fd__card--flags .fd__grid img { width: 30px; max-height: 22px; border-radius: 2px; }
.fd__av img { width: 34px; height: 34px; max-width: none; max-height: none; border-radius: 6px; object-fit: cover; }
.fd__ic span { font-size: 26px; line-height: 30px; filter: saturate(0.9); }

/* ---------- us vs them ---------- */
.vs .section-header { margin-bottom: 30px; }
.vs__table { display: grid; grid-template-columns: minmax(0, 400px) 250px 250px; justify-content: center; max-width: 100%; }
.vs__head { display: flex; align-items: center; justify-content: center; height: 44px; padding: 12px; border-bottom: 1px solid var(--line); font: 800 18px/24px var(--font); color: var(--pink); }
.vs__cell { display: flex; align-items: center; justify-content: center; height: 72px; padding: 16px 10px; border-bottom: 1px solid var(--line); }
.vs__cell:last-child { border-bottom: 0; }
.vs__cell--label { justify-content: flex-start; padding: 12px; font: 800 18px/24px var(--font); color: var(--white); }
.vs__col--us { border: 1px solid #501e32; border-radius: 40px; background: linear-gradient(180deg, #09090b 10%, #1b0e15 100%); overflow: hidden; }

/* ---------- reviews ---------- */
.reviews .section-header { gap: var(--space-lg); margin-bottom: 64px; }
/* --fade-h: height of the bottom fade; padding keeps it over empty space only */
.reviews { --fade-h: 280px; } /* tall fade over the last row: depth, and a hint that there are more reviews */
.reviews__grid { padding-bottom: 60px; position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 60px; }
.reviews__col { display: flex; flex-direction: column; gap: 62px; width: 339px; }
.reviews__col:nth-child(2) { padding-top: 20px; }
.reviews__col:nth-child(3) { padding-top: 0; }
.review-card { display: flex; flex-direction: column; gap: var(--space-xl); }
.review-card__text { color: var(--gray); }
.review-card__author { display: flex; align-items: center; gap: var(--space-lg); }
.review-card__photo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card__name { display: flex; align-items: center; gap: 6px; font: 800 18px/24px var(--font); color: var(--white); }
.review-card__name img { width: 18px; height: 18px; }
.review-card__role { color: var(--gray); }
/* separator under every review except the very last one (drawn in CSS: same fade as line-fade.svg) */
.review-card::after { content: ""; height: 2px; background: linear-gradient(90deg, #000, #272727 51%, #000); }
.reviews__col:last-child .review-card:last-child::after, .wall .review-card:last-child::after { display: none; }
.reviews__fade { position: absolute; left: 50%; bottom: 0; width: min(1230px, 100%); height: var(--fade-h); transform: translateX(-50%); background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 70%); pointer-events: none; }

/* ---------- pricing ---------- */
.pricing .container { max-width: 1376px; }
.pricing .section-header { margin-bottom: 30px; }
.plans { display: flex; justify-content: center; align-items: flex-start; gap: var(--space-2xl); }
.plan { flex: 0 1 421px; min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 50px; padding: 32px 32px 32px; }
.plan__head { display: flex; align-items: center; gap: var(--space-xl); }
.plan__mascot { width: 64px; height: 64px; object-fit: contain; flex: none; }
.plan__name { font: 800 18px/24px var(--font); color: var(--pink); }
.plan__tag { color: var(--gray); margin-top: var(--space-xs); }
.plan__price { display: flex; align-items: flex-start; gap: 6px; margin-top: var(--space-xl); }
.plan__cur { align-self: center; font: 800 18px/24px var(--font); margin-right: -4px; }
.plan__amount { align-self: center; font: 700 var(--fs-display)/var(--lh-display) var(--font); color: #fff; }
.plan__old { color: var(--pink); margin-top: 0; }
.plan__line { width: 100%; height: 2px; margin-block: 32px 32px; }
.features { display: flex; flex-direction: column; gap: var(--space-lg); }
.feature { display: flex; align-items: flex-start; gap: 10px; }
.feature img { width: 26px; height: 26px; flex: none; }
.feature__title { font: 800 18px/24px var(--font); color: #fff; }
.feature__desc { color: var(--gray); }
.plan__action { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- FAQ (accordion) ---------- */
.faq-section .section-header { margin-bottom: 64px; }
.faq { max-width: 768px; margin-inline: auto; }
.faq__heading { font: inherit; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; font: 800 18px/24px var(--font); color: #fff; }
.faq__icon { position: relative; flex: none; width: 24px; height: 24px; color: var(--pink); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
html:not(.no-js) .faq__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.35s var(--ease-out), visibility 0s 0.35s; }
html:not(.no-js) .faq__item.is-open .faq__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq__panel-inner { overflow: hidden; min-height: 0; padding-top: 0; font-weight: 600; color: var(--gray); }
.faq__panel-inner > :first-child { margin-top: var(--space-xs); }
.faq__panel-inner p + p, .faq__panel-inner ul + p, .faq__panel-inner p + ul { margin-top: 16px; }
.faq__panel-inner ul { list-style: disc; padding-left: 24px; }
.faq__sep { width: 100%; height: 2px; margin-block: 32px; }
.faq__item:last-child { padding-bottom: 0; }

/* ---------- final ---------- */
.final { padding-block: 64px 40px; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.final .section-header { margin-bottom: 2px; }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.benefits li { display: flex; align-items: center; gap: 6px; font: 700 var(--fs-mobile)/24px var(--font); color: var(--gray); }
.benefits img { width: 12px; height: 10px; }

/* ---------- page hero (reusable for faq/reviews/terms/license) ---------- */
.page-hero { position: relative; padding: 96px 0 40px; text-align: center; }
.page-hero .section-header__title { font-size: 44px; line-height: 52px; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding-top: 30px; overflow-x: clip; }
.site-footer__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.site-footer__line { width: min(1150px, 100%); height: 2px; }
.site-footer__cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; width: 100%; max-width: 1233px; }
.site-footer__cols > * { flex: none; white-space: nowrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 8px; color: var(--gray); }
.site-footer__h { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font: 800 18px/24px var(--font); color: #fff; }
.site-footer__h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; color: var(--gray); }
.site-footer ul a { display: inline-block; }
.site-footer__soon { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__soon .badge { font: 700 14px/24px var(--font); }
.site-footer__pay { margin-top: 12px; }
.site-footer__word { position: relative; width: min(1009px, 100%); }
.site-footer__word img { width: 100%; height: auto; }
/* the wordmark fades out through a mask, not a black overlay: an overlay would draw a dark box over the footer glow */
.site-footer__word img { -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%); mask-image: linear-gradient(to bottom, #000 20%, transparent 95%); }
.site-footer__wordfade { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --fs-display: 44px; --lh-display: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 46vw); gap: 16px; padding-left: 32px; min-height: 640px; }
  .hero__text { padding-right: 0; }
  .site-footer__cols { gap: 64px; }
  .showcase__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; }
  .plans { gap: 16px; }
  .plan { padding: 28px 20px; border-radius: 40px; }
  .plan__amount { font-size: 48px; line-height: 52px; }
  .reviews__grid { gap: 32px; }
  .reviews__col { width: auto; flex: 1 1 0; min-width: 0; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 40px var(--container-pad) 0; min-height: 0; gap: 24px; }
  .hero__text { align-items: center; text-align: center; }
  .rating-row { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__showcase { margin-inline: calc(var(--container-pad) * -1); }
  .showcase__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .showcase__intro { text-align: center; align-items: center; }
  .showcase__copy { max-width: 560px; }
  .plans { flex-direction: column; align-items: center; }
  .plan { flex: none; width: 100%; max-width: 421px; padding: 32px; }
  .ba__all { flex-direction: column; gap: 16px; }
  .ba__pane, .ba__pane + .ba__arrow + .ba__pane { flex: none; width: 100%; max-width: 663px; }
  .ba__arrow { flex: none; width: 49px; height: 19px; transform: rotate(90deg); margin-block: 24px; } /* flex-basis would set its height in the column layout and squash it */
  .site-footer__cols { flex-wrap: wrap; gap: 40px 64px; justify-content: flex-start; width: 100%; max-width: 560px; }
  .site-footer__brand { width: 100%; }
}
@media (max-width: 767px) {
  :root { --container-pad: 20px; --fs-h1: 28px; --lh-h1: 34px; }
  .site-header__bar { height: 64px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--container-pad) 20px; background: #08080c; border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s 0.25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__link { padding: 12px 8px; font-size: 18px; }
  .nav__cta { margin: 0; display: flex; justify-content: center; }
  .promo-bar { padding: 8px 16px; }
  .promo-bar strong { font-size: 16px; line-height: 22px; }
  .promo-bar span { font-size: 12px; line-height: 18px; }
  .section { padding-block: 48px; }
  .section-header__sub, body { font-size: 14px; }
  .section-header__sub { font-size: 14px; }
  .logos__row { gap: 20px 32px; }
  .logos__row + .logos__row { margin-top: 0; }
  .reviews__grid { flex-direction: column; align-items: stretch; gap: 40px; }
  .reviews__grid, .wall { max-width: 520px; margin-inline: auto; }
  .reviews__col { gap: 40px; padding-top: 0 !important; }
  .reviews { --fade-h: 180px; }
  .reviews .section-header { margin-bottom: 40px; }
  .rating-row { flex-direction: column; text-align: center; }
  .rating { text-align: center; }
  .rating__top { justify-content: center; }
  .faq__sep { margin-block: 24px; }
  .faq-section .section-header { margin-bottom: 40px; }
  .site-footer__inner { gap: 40px; }
  .site-footer__cols { gap: 32px 40px; }
  .vs__table { grid-template-columns: minmax(0, 1fr) 96px 96px; }
  .vs__cell--label, .vs__head { font-size: 16px; line-height: 22px; }
  .vs__cell--label { padding: 12px 8px; }
  .vs__col--us { border-radius: 28px; }
  .actions { margin-top: 32px; }
}
@media (max-width: 479px) {
  :root { --container-pad: 16px; --fs-display: 34px; --lh-display: 40px; --fs-h1: 26px; --lh-h1: 32px; }
  .btn-cta__pill { min-width: 176px; }
  .vs__table { grid-template-columns: minmax(0, 1fr) 76px 76px; }
  .vs__cell { padding-inline: 4px; }
  .vs__cell--label { font-size: 14px; }
  .vs__head { font-size: 14px; padding: 8px 4px; }
  .plan__amount { font-size: 48px; }
  .plan { padding: 28px 20px; }
  .plan__price { flex-wrap: wrap; }
  .feature__title { font-size: 16px; line-height: 24px; }
  .faq__q { font-size: 16px; }
  .benefits { flex-direction: column; align-items: center; }
  .site-footer__cols { flex-direction: column; gap: 44px; padding-inline: 20px; } /* a little in from the left edge, as in the Figma 320 frame */
  .site-footer__brand { order: 1; }
}
@media (max-width: 359px) {
  .actions { flex-direction: column; align-items: center; }
  .btn-cta__pill { min-width: 160px; }
}

/* phones: the gradients already fade out inside their boxes, so skip the big blur filters */
@media (max-width: 767px) { .gradient-glow, .sc__glow { filter: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Sub-pages (faq / reviews / terms / license)
   ========================================================================== */
.page-hero { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 72px var(--container-pad) 48px; overflow-x: clip; }
.page-hero__img { width: 160px; height: 160px; border-radius: 40px; object-fit: cover; background: #0c0c10; border: 1px solid var(--surface-border); box-shadow: 0 0 60px rgba(250, 114, 173, 0.18); }
.page-hero .section-header__title { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.content-col { width: 100%; max-width: calc(768px + var(--container-pad) * 2); margin-inline: auto; padding-inline: var(--container-pad); }
.wall { column-count: 3; column-gap: 60px; max-width: 1230px; margin-inline: auto; padding-inline: var(--container-pad); }
.wall .review-card { break-inside: avoid; margin-bottom: 62px; }
.legal { padding-bottom: 32px; }
.legal__meta { color: var(--gray); font-size: 14px; margin-bottom: 40px; }
.legal__section { position: relative; margin-bottom: 32px; padding-bottom: 32px; }
.legal__section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #000, #272727 51%, #000); }
.legal__section:last-child::after, .legal__section:has(+ .legal__cat)::after { display: none; }
.legal__cat { font: 800 18px/24px var(--font); color: var(--pink); margin: 24px 0 16px; }
.legal__cat:first-child { margin-top: 0; }
.page-hero__img--mascot { width: 160px; height: 160px; object-fit: contain; border: 0; border-radius: 0; background: none; box-shadow: none; }
.legal h2 { font: 800 18px/24px var(--font); color: var(--white); margin-bottom: 8px; scroll-margin-top: 120px; }
.legal h3 { font: 800 18px/24px var(--font); color: var(--white); margin: 24px 0 8px; }
.legal p { color: var(--gray); font-weight: 600; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 24px; color: var(--gray); font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.legal__divider { height: 1px; background: var(--line); margin-block: 48px; border: 0; }
@media (max-width: 1199px) { .wall { column-count: 2; column-gap: 40px; } }
@media (max-width: 767px) {
  .page-hero { padding-top: 48px; gap: 20px; }
  .page-hero__img { width: 120px; height: 120px; border-radius: 32px; }
  .wall { column-count: 1; }
  .wall .review-card { margin-bottom: 40px; }
  .legal h2 { font-size: 18px; line-height: 24px; }
}

.no-js .nav { position: static; visibility: visible; opacity: 1; transform: none; }
.no-js .nav-toggle { display: none; }

@media (max-width: 767px) {
}

/* Lenis base rules (from lenis@1.1.13/dist/lenis.css) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Pricing carousel (mobile): swipe between plans, neighbours peek in from the sides */
.plans__dots { display: none; }
@media (max-width: 899px) {
  .plans { --plan-w: min(68vw, 340px); flex-direction: row; align-items: stretch; justify-content: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--container-pad) * -1); padding: 12px calc((100% + var(--container-pad) * 2 - var(--plan-w)) / 2) 20px; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 var(--plan-w); width: var(--plan-w); max-width: none; scroll-snap-align: center; transition: scale 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s; }
  .plan:not(.is-active) { scale: 0.92; filter: brightness(0.8); }
  .plans__dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
  .plans__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--gray); opacity: 0.5; cursor: pointer; transition: width 0.3s, background-color 0.3s, opacity 0.3s; position: relative; }
  .plans__dot::before { content: ""; position: absolute; inset: -12px -6px; }
  .plans__dot[aria-current="true"] { width: 24px; background: var(--pink); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .plan, .plans__dot { transition: none; }
}
@media (max-width: 359px) {
  .plans { --plan-w: 78vw; gap: 10px; }
}

/* ---------- thank-you page ---------- */
.ty { position: relative; padding: 96px 0 96px; }
.ty__col { position: relative; z-index: 1; width: 100%; max-width: 640px; margin-inline: auto; padding-inline: var(--container-pad); }
.ty .section-header__title { font-size: 34px; line-height: 40px; }
.ty__check { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--space-xs); border-radius: 50%; color: var(--pink); background: #3a1f2d; border: 2px solid var(--pink-title); }
.ty__line { height: 2px; margin: 40px 18px; border: 0; background: linear-gradient(90deg, #000, #272727 50%, #000); }
.ty__steps { list-style: none; padding: 0; margin-block: 0; display: flex; flex-direction: column; gap: 32px; margin-inline: 18px; }
.ty__step-title { display: flex; align-items: center; gap: var(--space-lg); margin-bottom: 8px; font: 800 18px/24px var(--font); color: var(--white); }
.ty__num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #3a1f2d; border: 1px solid var(--pink-title); font: 800 14px/1 var(--font); color: var(--pink); }
.ty__step p, .ty__help p { max-width: 448px; color: var(--gray); }
.ty__help { margin-inline: 18px; font-size: 14px; }
.ty__help p + p { margin-top: 4px; }
.ty__help .ty__help-title { color: var(--white); font-weight: 800; }
.ty__help a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479px) {
  .ty { padding-block: 56px 64px; }
  .ty__line, .ty__steps, .ty__help { margin-inline: 24px; }
}

/* phones: Customization copy uses the published site sizes, so it does not break into many short lines */
@media (max-width: 559px) {
  .showcase__title { font-size: 32px; line-height: 38px; }
  .showcase__copy { max-width: 300px; margin-inline: auto; font: 700 14px/22px var(--font); }
}
/* phones: only the six logos of the Figma 320 frame, two per row */
@media (max-width: 559px) {
  .logos__row + .logos__row { display: none; }
  .logos__row { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: start; gap: 20px 32px; }
}
/* phones: footer columns side by side and centred (Other | Social), Legal on its own row with the links in a line, brand at the bottom */
@media (max-width: 479px) {
  .site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; max-width: 360px; margin-inline: auto; padding-inline: 8px; text-align: center; }
  .site-footer__cols > * { white-space: normal; }
  .site-footer__h { justify-content: center; }
  .site-footer ul { align-items: center; }
  .site-footer__soon { white-space: nowrap; gap: 4px; }
  .site-footer__soon .badge { padding-inline: 6px; font-size: 12px; }
  .site-footer__cols nav[aria-label="Legal"] { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .site-footer__cols nav[aria-label="Legal"] ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
  .site-footer__brand { grid-column: 1 / -1; order: 1; align-items: center; padding-top: 28px; position: relative; }
  .site-footer__brand::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 110, 166, 0.45), transparent); }
}

/* ==========================================================================
   Client review 3 (10/11): values measured on the published site
   ========================================================================== */
/* home: the hero starts at the top of the page, under the navbar and the promo bar, like the published site */
@media (min-width: 768px) { .promo-bar + main > .hero { margin-top: -158px; } }
@media (min-width: 1200px) { .promo-bar + main > .hero { margin-top: -158px; } .promo-bar + main > .hero .hero__showcase { transform: translateY(46px); } } /* hero box starts at 0 like the published site; the cards start under the promo bar, as there */
/* Blueprint vs Them: the grey line stays on one row on desktop */
.vs .section-header__sub { max-width: none; }
/* Blueprint vs Them on phones: same layout as the published site */
@media (max-width: 559px) {
  .vs .section-header__title { font-size: 32px; line-height: 38px; max-width: 255px; margin-inline: auto; }
  .vs .section-header__sub { max-width: 240px; margin-inline: auto; }
  .vs__table { grid-template-columns: 128px 85px 85px; justify-content: center; }
  .vs__cell--label { padding: 12px 16px; font: 700 14px/24px var(--font); }
  .vs__head { font: 700 14px/24px var(--font); padding: 8px 4px; }
  .vs__col--us { border-radius: 16px; }
}
/* reviews on phones: the column keeps a comfortable margin from the edges, like the published site */
@media (max-width: 559px) { .reviews__grid, .wall { max-width: 260px; } }
/* footer: the wordmark is the end of the page, no empty space after it */
.site-footer { padding-bottom: 0; margin-bottom: 0; }
/* FAQ page: category labels between the questions, like the published site */
.faq__cat { font: 800 18px/24px var(--font); color: var(--pink); margin: 40px 0 8px; }
.faq__cat:first-child { margin-top: 0; }
.faq__panel-inner ul { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

/* ==========================================================================
   Client review 4 (10/11): every light in the same place as on brividiui.com.
   Values measured on the published site at 1440 / 1024 / 390: same pink at 15% that fades
   to nothing at 60% of an ellipse anchored at the top centre of the box, blurred by 20px.
   ========================================================================== */
.gradient-glow { filter: blur(20px); max-width: none; z-index: 0; -webkit-mask-image: none; mask-image: none; }
/* hero: wide light over the text column (desktop only, like the published site) */
.hero__glow { left: calc(max(64px, (100% - 1440px) / 2 + 64px) - 352px); top: 48px; width: 1128px; height: 1008px; transform: none; background: radial-gradient(797.6px 1425.5px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); filter: blur(20px); }
/* Metamorphosis + Explore the resources: 27px under the eyebrow (eyebrow sits 100px into the section), centred */
.ba .gradient-glow--top, .resources .gradient-glow--top { left: 50%; top: 127px; width: 878px; height: 450px; transform: translateX(-50%); background: radial-gradient(620.84px 636.4px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
/* Blueprint foundations: 92px above the eyebrow, wide */
.foundation .gradient-glow--top { left: 50%; top: 8px; width: 1486px; height: 762px; transform: translateX(-50%); background: radial-gradient(1050.8px 1077.6px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
/* footer: falls from 165px above the line onto the columns, behind the logo */
.gradient-glow--footer { left: calc(50% - 26px); top: -135px; bottom: auto; width: 1236px; height: 634px; transform: translateX(-50%); background: radial-gradient(873.98px 896.61px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
/* Customization: the published light image behind the cards */
.showcase__light { position: absolute; left: -9.35%; top: 13.75%; width: 143.5%; max-width: none; height: auto; pointer-events: none; z-index: 0; }
.showcase__visual .fit { z-index: 1; }
.sc__glow { display: none; }
/* Blueprint foundations: black fade over the bottom of the cards (desktop, like the published site) */
@media (min-width: 1200px) { .fd__fade { position: absolute; left: -20px; top: 415px; width: 1480px; height: 280px; background: linear-gradient(rgba(0, 0, 0, 0), #000 70%); pointer-events: none; } }
@media (max-width: 1199px) {
  .hero__glow { display: none; }
  .ba .gradient-glow--top { width: 748px; height: 383px; background: radial-gradient(528.92px 541.64px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
  .foundation .gradient-glow--top { top: 225px; width: 1060px; height: 544px; background: radial-gradient(749.53px 769.33px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
  .gradient-glow--footer { left: 50%; top: 9px; width: 1024px; height: 526px; background: radial-gradient(724.08px 743.88px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
}
@media (max-width: 767px) {
  .ba .gradient-glow--top, .resources .gradient-glow--top { top: 111px; width: 320px; height: 337px; background: radial-gradient(226.27px 476.59px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
  .foundation .gradient-glow--top { top: 337px; width: 334px; height: 172px; background: radial-gradient(236.17px 243.24px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
  .gradient-glow--footer { top: auto; bottom: 106px; width: 320px; height: 164px; background: radial-gradient(226.27px 231.93px at 50% 0%, rgba(250, 114, 173, 0.15), rgba(250, 114, 173, 0) 60%); }
  .gradient-glow, .sc__glow { filter: blur(20px); }
}
/* Blueprint vs Them: the grey line on a single row on tablet and desktop */
@media (min-width: 768px) { .vs .section-header__sub { white-space: nowrap; font-size: clamp(12px, 1.8vw, 16px); } }
/* phones: navbar like brividiui.com — logo, Pricing, FAQs and Buy now always visible (no menu button) */
@media (max-width: 767px) {
  .site-header__bar { height: 72px; gap: 8px; }
  .brand { font-size: 14px; line-height: 20px; gap: 2px; }
  .brand img { width: 33px; height: 33px; }
  .nav-toggle { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; visibility: visible; opacity: 1; transform: none; transition: none; }
  .nav__list { flex-direction: row; gap: 0; margin: 0; }
  .nav__link { padding: 4px 5px; font: 700 13px/20px var(--font); }
  .nav__cta { margin-left: auto; display: block; }
  .nav__cta .btn-cta { padding: 6px 0; }
  .nav__cta .btn-cta__pill { min-width: 0; padding: 8px 14px; font: 800 13px/20px var(--font); box-shadow: 0 -2px 14px 4px var(--cta-glow); }
  .promo-bar { top: 72px; }
}

/* ==========================================================================
   No overlaps (10/11): lights stay behind the content of every section and have no hard edges
   ========================================================================== */
/* each section is its own layer: its lights (z-index -1) sit behind its text and cards, and never paint over another section */
.section, .hero, .logos, .site-footer { isolation: isolate; }
.gradient-glow, .showcase__light { z-index: -1; }
/* the published light image is cut with a straight left edge and a diagonal bottom edge: a blur turns both into a soft fade, same colour and strength */
.showcase__light { filter: blur(26px); }
/* sized and centred on the card stage (not on the box around it, which is wider between 768 and 1199px), and raised so it fades out
   inside its own section: it ends about 45px before Blueprint foundations at every width */
.showcase__light { left: 50%; top: 0; width: auto; height: 115.27%; transform: translateX(-41.42%); }
/* Blueprint foundations: the Buy now under the cards sits above the black fade and the tilted cards (it was hidden behind them on desktop) */
.section-cta { position: relative; z-index: 1; }
/* Hero text never under the menu + Black Friday bar (they end 158px from the top): at least 40px of space, like on phones.
   >=1200: the text stays centred on the cards; the margins only push it down where centring would put it under the bar (1200-1399px). */
@media (min-width: 1200px) { .promo-bar + main > .hero .hero__text { margin-block: 198px; } }
@media (min-width: 900px) and (max-width: 1199px) { .promo-bar + main > .hero .hero__text { align-self: start; margin-top: 198px; margin-bottom: 48px; } }
@media (min-width: 768px) and (max-width: 899px) { .promo-bar + main > .hero { padding-top: 198px; } }
/* the footer light starts 135px above the footer (like the published site): the page content sits on top of it, so the light stays behind the text of the last section on every page */
main { position: relative; z-index: 1; }

/* ==========================================================================
   Lights v2 (10/11): one light system for the whole site.
   Every light is a soft pink ellipse that fades to nothing before its own edges (no blur filter, so no line can ever show),
   sits behind the element it lifts (z-index -1 inside its isolated section) and never climbs into the section above.
   Three strengths: key (behind the main visual), halo (behind headings), ambient (very faint, in the empty sides).
   ========================================================================== */
:root { --glow: 250 114 173; }
.page-hero { isolation: isolate; }
.gradient-glow.gradient-glow, /* doubled class: beats the older "section + light" rules */
.showcase__visual::before,
.vs::before, .reviews::before, .pricing::before, .faq-section::before, .final::before,
.legal::before, .legal::after {
  --a: 0.12; --at: 50% 50%; --size: closest-side;
  position: absolute; pointer-events: none; z-index: -1; filter: none; -webkit-mask-image: none; mask-image: none; max-width: none;
  /* falloff (1 - t²)³: flat at the centre, reaches zero with zero slope, so the edge of the light can never be seen */
  background: radial-gradient(var(--size) at var(--at),
    rgb(var(--glow) / calc(var(--a) * 1)) 0%,
    rgb(var(--glow) / calc(var(--a) * 0.97)) 10%,
    rgb(var(--glow) / calc(var(--a) * 0.885)) 20%,
    rgb(var(--glow) / calc(var(--a) * 0.754)) 30%,
    rgb(var(--glow) / calc(var(--a) * 0.593)) 40%,
    rgb(var(--glow) / calc(var(--a) * 0.422)) 50%,
    rgb(var(--glow) / calc(var(--a) * 0.262)) 60%,
    rgb(var(--glow) / calc(var(--a) * 0.133)) 70%,
    rgb(var(--glow) / calc(var(--a) * 0.047)) 80%,
    rgb(var(--glow) / calc(var(--a) * 0.007)) 90%,
    rgb(var(--glow) / 0) 100%);
}
.showcase__visual::before,
.vs::before, .reviews::before, .pricing::before, .faq-section::before, .final::before,
.legal::before, .legal::after { content: ""; }
/* the old light image of Customization is replaced by the CSS light below */
.showcase__light { display: none; }

/* hero: behind the text (the breathing animation in main.js scales it, so no transform here) */
.hero__glow { display: block; --a: 0.15; --at: 50% 48%; left: calc(max(64px, (100% - 1440px) / 2 + 64px) - 300px); top: 0; width: 1200px; height: 100%; transform: none; }
/* Metamorphosis and Explore the resources: behind the title and the cards, not a band falling from above */
.ba .gradient-glow--top { --a: 0.12; --at: 50% 46%; left: 50%; top: 0; width: min(1300px, 150vw); height: 100%; transform: translateX(-50%); }
.resources .gradient-glow--top { --a: 0.11; --at: 50% 50%; left: 50%; top: 0; width: min(1500px, 170vw); height: 100%; transform: translateX(-50%); }
/* Customization: key light right behind the cards */
.showcase__visual::before { --a: 0.17; left: 50%; top: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); }
/* Blueprint foundations: behind the title and the top of the cards, starting from nothing (no line above the title) */
.foundation .gradient-glow--top { --a: 0.12; --at: 50% 38%; left: 50%; top: 0; width: min(1600px, 170vw); height: 100%; transform: translateX(-50%); }
/* from Blueprint vs Them to the end: very faint lights in the empty sides, alternating left and right; pricing gets a soft light behind the plans */
.vs::before, .reviews::before, .faq-section::before, .final::before, .legal::before, .legal::after { --a: 0.07; width: clamp(420px, 50vw, 780px); aspect-ratio: 1; }
.vs::before { left: -14%; top: 14%; }
.reviews::before { right: -14%; top: 20%; --a: 0.065; }
.pricing::before { --a: 0.08; left: 50%; top: 16%; width: min(1300px, 150vw); height: 74%; transform: translateX(-50%); }
.faq-section::before { left: -14%; top: 18%; --a: 0.06; }
.final::before { right: -16%; top: 0; --a: 0.06; }
.legal::before { left: -14%; top: 4%; --a: 0.06; }
.legal::after { right: -14%; top: 52%; --a: 0.06; }
/* footer: behind the whole Brividi UI wordmark, rising softly over the columns (Social, links) */
.gradient-glow--footer { --a: 0.17; --size: 48% 82%; --at: 50% 82%; left: 50%; top: 0; bottom: auto; width: min(1500px, 170vw); height: 100%; transform: translateX(-50%); }
/* other pages: behind the mascot and the title */
.page-hero .gradient-glow--top { --a: 0.14; --at: 50% 44%; left: 50%; top: 0; width: min(1100px, 160vw); height: 100%; transform: translateX(-50%); }
@media (max-width: 1199px) {
  .hero__glow { --a: 0.12; --at: 45% 42%; left: -18%; width: 90%; }
}
@media (max-width: 899px) {
  .hero__glow { --a: 0.12; --at: 50% 30%; left: -30%; width: 160%; }
}
@media (max-width: 767px) {
  .vs::before, .reviews::before, .faq-section::before, .final::before, .legal::before, .legal::after { width: 90vw; --a: 0.06; }
  .vs::before, .faq-section::before, .legal::before { left: -45vw; }
  .reviews::before, .final::before, .legal::after { right: -45vw; }
}
/* the side lights sit half outside the screen: their sections clip sideways so the page never scrolls horizontally */
.vs, .reviews, .pricing, .faq-section, .final, .legal { overflow-x: clip; }
/* footer: the Brividi UI wordmark sits a little higher, closer to the columns (gap 60px -> 40px); the page still ends with it */
@media (min-width: 768px) { .site-footer__word { margin-top: -20px; } }
/* lights come in with their section (main.js adds .is-lit when the title appears): soft fade + slight growth;
   the side lights follow a moment later so the content is always seen first. Without JS or with reduced motion they are simply there. */
html.lights-anim .gradient-glow:not(.hero__glow),
html.lights-anim :is(.vs, .reviews, .pricing, .faq-section, .final, .legal)::before,
html.lights-anim .legal::after { opacity: 0; scale: 0.92; transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), scale 1.4s cubic-bezier(0.23, 1, 0.32, 1); }
html.lights-anim .is-lit .gradient-glow,
html.lights-anim :is(.vs, .reviews, .pricing, .faq-section, .final, .legal).is-lit::before,
html.lights-anim .legal.is-lit::after { opacity: 1; scale: 1; }
html.lights-anim :is(.vs, .reviews, .faq-section, .final, .legal)::before, html.lights-anim .legal::after { transition-delay: 0.25s; }
html.lights-anim .pricing::before { transition-delay: 0.1s; }

/* ==========================================================================
   Client review 5 (11/11), from the "Lavoro" page of the client Figma
   ========================================================================== */
/* Customization: the first card (purple Tasks) starts 12px left of its box and the parallax moves the cards up and down:
   the box no longer clips, so no card is ever cut (desktop and phone) */
.showcase__visual .fit { overflow: visible; }

/* Footer on phones (up to 767px): exactly the client's 320px frame. One 252px column, centred, text aligned left:
   line 240px, then Other, Social, Legal (+ payment icons), then logo and copyright, then the Brividi UI wordmark 272px.
   Gaps: 32px between line / content / wordmark, 44px between groups, 12px title -> links, 8px between links. */
@media (max-width: 767px) { /* the whole phone layout of the site (the menu switches at the same width) */
  .site-footer { padding-top: 32px; }
  .site-footer__inner { gap: 32px; }
  .site-footer__line { width: 240px; margin-block: -1px; } /* the frame line is a 2px stroke centred on y 32: it takes no height */
  .site-footer__brand .brand span { font: 800 18px/24px var(--font); }
  .site-footer__cols { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 44px; width: 252px; max-width: 100%; margin-inline: auto; padding-inline: 0; text-align: left; }
  .site-footer__cols > * { white-space: nowrap; }
  .site-footer__h { justify-content: flex-start; font: 700 16px/24px var(--font); }
  .site-footer ul { align-items: flex-start; }
  .site-footer__soon { gap: 6px; }
  .site-footer__soon .badge { padding-inline: 10px; font: 700 14px/24px var(--font); }
  .site-footer__cols nav[aria-label="Legal"] { display: block; }
  .site-footer__cols nav[aria-label="Legal"] ul { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; }
  .site-footer__brand { order: 1; width: auto; align-items: flex-start; padding-top: 0; }
  .site-footer__brand::before { content: none; }
  .site-footer__word { width: 272px; max-width: 100%; }
  /* the frame's light: a soft pink ellipse behind logo and copyright (320x164, pink 15% -> 0 at 60%, blur 40) */
  .site-footer .gradient-glow--footer { left: 0; top: auto; bottom: 40px; width: 100%; height: 164px; transform: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(250, 114, 173, 0.15) 0%, rgba(250, 114, 173, 0) 60%); filter: blur(40px); }
}

/* Explore the resources: sizes and spacing as before; every card sits on top of the one to its right (z-index set in main.js) */

/* ==========================================================================
   Client review 6 (11/11, evening)
   ========================================================================== */
/* no extra lights: the side lights of Blueprint vs Them, reviews, pricing, FAQ, final section and legal pages are gone
   (the lights left are the ones of the original site: hero, Metamorphosis, resources, Customization, foundations, footer) */
.vs::before, .reviews::before, .pricing::before, .faq-section::before, .final::before, .legal::before, .legal::after { content: none; }
.vs, .reviews, .pricing, .faq-section, .final, .legal { overflow-x: visible; }
/* footer light about 20% lower, behind the Brividi UI wordmark (desktop and tablet) */
/* (same ellipse as before, its centre moved from 50% to 70% of the footer height: the light starts 20% lower; the part below the page end is not drawn) */
@media (min-width: 768px) { .site-footer .gradient-glow--footer { --size: 50% 50%; --at: 50% 70%; } }
/* footer on phones: the column a little more to the left (34px from the edge at 320, 45px at 390, max 48px), line and wordmark stay centred */
@media (max-width: 767px) {
  .site-footer__cols { width: auto; max-width: none; align-self: stretch; margin-inline: 0; padding-left: clamp(18px, 15.7vw - 32px, 32px); }
}
/* FAQ on phones: away from the edges, same width as the original site (276px column on small phones, 458px on large ones) */
@media (max-width: 559px) { .faq-section .faq { max-width: 276px; } }
@media (min-width: 560px) and (max-width: 767px) { .faq-section .faq { max-width: 458px; } }

/* Original pages (terms, license, faq, reviews): the other developer's pages exactly, under our header and footer.
   The original navbar stays as an invisible spacer so the content starts at the original distance at every width;
   .orig-endspace adds the original gap before the footer. */
.orig-page [data-orig-spacer] { visibility: hidden; pointer-events: none; }
.orig-main .orig-page .secondary-page { padding-bottom: 0; } /* stronger than the original pb-[50px], loaded after this file */
.orig-endspace { flex: none; width: 100%; height: 0; }
.orig-main + .site-footer { margin-top: 0; }
.orig-page [data-orig-link] { cursor: pointer; }
.orig-page [data-orig-link]:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 20px; }
/* FAQ page: closed questions that open with the +, like on the landing; the text keeps the original look */
.orig-page .orig-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; cursor: pointer; }
.orig-page .orig-faq__q > span:first-child { flex: 1; }
.orig-page .orig-faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.orig-page .orig-faq__inner { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; }
/* our main already starts under our header (86px, 72px on phones; the original navbar was 87 and 72): the spacer only adds the original gap */
.orig-navspace { flex: none; width: 100%; height: 1px; }
@media (max-width: 767px) { .orig-navspace { height: 0; } }

/* ---------- client review 7 ---------- */
/* reviews page, phones: review columns centred, and a separator after the last review of each column (they stack into one list) */
@media (max-width: 767px) {
  .orig-page .secondary-page [data-name="Wall of reviews"] { flex-wrap: nowrap !important; align-content: center !important; }
  .orig-page .secondary-page [data-name="Wall of reviews"] > [data-name="Review Box"]:not(:last-child) > :last-child::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 16px; background: url("../pages/reviews/3f006.svg") center / 100% 100% no-repeat; }
}
/* landing, phones: "Scroll and find out." goes to its own line instead of breaking in the middle */
@media (max-width: 767px) { .nowrap-line { display: block; } }
