/* Layout: one bird, many perches. A blue sky at the top and bottom, a short paper middle.
   The bird from the logo hops to a perch in each section as you scroll; each call it makes sends a ring through the background.
   One page, two audiences, chosen with the switch in the middle of the hero: For Influencers (default) and For Brands. */
:root {
  color-scheme: light;
  --blue: #3355F4;
  --blue-deep: #2441D8;
  --blue-night: #1A2C9E;
  --blue-glow: #4869FF;
  --sky: #ECEFFF;
  --paper: #F6F7FB;
  --white: #FFFFFF;
  --ink: #181818;
  --ink-2: #222222;
  --ink-line: #353535;
  --text: #181818;
  --grey: #575C6D;
  --grey-2: #868B9C;
  --line: #E3E6EF;
  --dot: #C8CEDD;
  --on-blue: #E8ECFF;
  --on-blue-soft: #C2CCFF;
  --on-ink: #F2F2F2;
  --on-ink-soft: #A9A9A9;
  --amber: #F2A93B;
  --amber-text: #985E00;
  --amber-bg: #FFF1D6;
  --red: #D8343A;
  --red-bg: #FDE6E7;
  --red-on-ink: #FF6B6F;
  --green: #17804F;
  --green-bg: #E0F5EA;
  --green-on-ink: #4CC38A;
  --blue-on-ink: #93A6FF;
  --shadow-blue: rgba(16, 30, 120, .45);
  --glass-blue: rgba(36, 65, 216, .82);
  --hairline-white: rgba(255, 255, 255, .16);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --bird-w: 64px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .55, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative; overflow-x: clip;
  background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 84px; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible { outline-color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: clamp(64px, 7vw, 96px); }
.num { font-variant-numeric: tabular-nums; }

/* Type */
.display {
  margin: 0 auto; max-width: 14ch;
  font-size: clamp(42px, 6.4vw, 94px); font-weight: 820; font-stretch: 118%;
  line-height: .98; letter-spacing: -0.03em; text-wrap: balance;
}
.title {
  margin: 0; font-size: clamp(32px, 3.8vw, 52px); font-weight: 800; font-stretch: 112%;
  line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance;
}
.lede { margin: 16px 0 0; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.55; color: var(--grey); max-width: 52ch; text-wrap: pretty; }
.lede a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.on-dark .lede { color: var(--on-blue); }

/* Buttons */
.btn {
  font: inherit; font-weight: 650; font-size: 15.5px; line-height: 1; border: 0; cursor: pointer; text-decoration: none;
  padding: 15px 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--on-blue); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.nav-inner {
  pointer-events: auto; position: relative;
  max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter); color: var(--white);
  transition: max-width .45s var(--ease-out), margin .45s var(--ease-out), padding .45s var(--ease-out), background-color .45s, box-shadow .45s, border-radius .45s;
}
.nav.scrolled .nav-inner {
  max-width: 1100px; margin-top: 10px; padding: 9px 9px 9px 22px; border-radius: 999px;
  background: var(--glass-blue); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 16px 40px -18px var(--shadow-blue), inset 0 0 0 1px var(--hairline-white);
}
.nav .logo { display: block; flex: none; }
.nav .logo img { display: block; height: 36px; width: auto; transition: height .45s var(--ease-out); }
.nav.scrolled .logo img { height: 30px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--on-blue); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
/* Log in + Sign up: the two most important actions – both clearly buttons */
.nav-actions { gap: 10px; }
.nav-actions .login { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 15px; font-weight: 650;
  padding: 11px 18px 11px 15px; border-radius: 999px; color: var(--white); background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); transition: background-color .2s, box-shadow .2s; white-space: nowrap; }
.nav-actions .login:hover { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1.5px var(--white); }
.nav-actions .login svg { flex: none; }
.nav-actions .btn { padding: 12px 22px; font-size: 15px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 0; padding: 10px 14px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--on-blue-soft); cursor: pointer; }
/* ── The phone menu: a full-screen sheet in the brand's night blue. The nav (logo + Close) stays on top. ── */
.menu-btn { align-items: center; gap: 9px; }
.mb-ic { position: relative; width: 16px; height: 12px; }
.mb-ic i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.mb-ic i:first-child { top: 2px; } .mb-ic i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .mb-ic i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-ic i:last-child { top: 5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 59; display: none; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 60% at 100% 0%, #2A3BC4 0%, #141C63 48%, #0A0E2C 100%), #0A0E2C;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.menu::before { content: ""; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 1.3px) 0 0 / 22px 22px; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.menu-in { position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 22px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 14px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
.menu-in > * { flex: none; }
.m-switch { display: flex; align-self: stretch; }
.m-switch button { flex: 1; padding: 12px 10px; font-size: 15px; }
.m-switch button[aria-pressed="true"] { color: var(--blue); }
.m-links { display: flex; flex-direction: column; }
.m-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px; text-decoration: none;
  color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .12); -webkit-tap-highlight-color: transparent; }
.m-links a:first-child { border-top: 1px solid rgba(255, 255, 255, .12); }
.m-links b { display: block; font-size: 28px; font-weight: 820; font-stretch: 114%; letter-spacing: -0.025em; line-height: 1.05; }
.m-links small { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 500; color: var(--on-blue-soft); }
.m-links svg { width: 22px; height: 22px; flex: none; color: var(--on-blue-soft); transition: transform .3s var(--ease-out), color .2s; }
.m-links a:hover svg, .m-links a:active svg { transform: translateX(4px); color: var(--white); }
.m-links a:active b { opacity: .8; }
.m-card { margin-top: auto; margin-bottom: 6px; display: flex; align-items: center; gap: 16px; padding: 18px 18px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(42, 59, 196, .45), rgba(42, 59, 196, .12)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.m-card svg { width: 40px; height: 32px; flex: none; fill: var(--white); }
.m-card p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--on-blue-soft); }
.m-card b { display: block; margin-bottom: 3px; font-size: 16px; font-weight: 760; color: var(--white); letter-spacing: -0.01em; }
@media (max-height: 759px) { .m-card { display: none; } }
@media (max-height: 699px) { .m-links small { display: none; } .m-links a { padding: 13px 2px; } }
.m-card + .m-foot { margin-top: 0; }
@media (max-height: 759px) { .m-card + .m-foot { margin-top: auto; } }
.m-foot { margin-top: auto; display: grid; gap: 14px; justify-items: center; text-align: center; }
.m-cta { width: 100%; justify-content: center; padding: 17px 20px; font-size: 16.5px; }
.m-foot { gap: 10px; }
.m-login { width: 100%; padding: 16px 20px; font-size: 16.5px; color: var(--white); background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.m-login:hover, .m-login:active { background: rgba(255, 255, 255, .16); }
.m-note { margin: 4px 0 0; font-size: 13px; color: var(--on-blue-soft); }
.m-note a { color: var(--white); font-weight: 650; }
/* Each part slides in after the one before */
.menu .m-switch, .menu .m-links a, .menu .m-card, .menu .m-foot { opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--k, 0) * 55ms + 60ms); }
.menu.open .m-switch, .menu.open .m-links a, .menu.open .m-card, .menu.open .m-foot { opacity: 1; transform: none; }
/* While it's open the nav sits flat on the sheet, and the page behind can't scroll */
html.menu-open .nav .nav-inner, html.menu-open .nav.scrolled .nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter);
  border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .nav .logo img { height: 28px; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 640px) { .menu { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu .m-switch, .menu .m-links a, .menu .m-card, .menu .m-foot, .mb-ic i { transition: none; }
}

/* Switches share one look: a pill with a sliding thumb */
.switch-pill { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--blue-night); box-shadow: inset 0 0 0 1px var(--hairline-white); }
.switch-pill input { position: absolute; opacity: 0; pointer-events: none; }
.switch-pill label, .switch-pill button { position: relative; z-index: 1; border: 0; background: transparent; padding: 12px 24px; border-radius: 999px; font-weight: 650; font-size: 15.5px; line-height: 1.1; cursor: pointer; color: var(--on-blue-soft); white-space: nowrap; transition: color .3s; }
.switch-pill label:hover { color: var(--white); }
.switch-pill input:checked + label { color: var(--blue); }
.switch-pill input:focus-visible + label { outline: 3px solid var(--white); outline-offset: 2px; }
.switch-pill .thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--white); box-shadow: 0 6px 16px -8px var(--shadow-blue); transition: transform .45s var(--ease-spring), width .45s var(--ease-spring); }
.switch-pill.light { display: flex; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.switch-pill.light button { flex: 1; color: var(--grey); padding: 11px 12px; font-size: 15px; }
.switch-pill.light button[aria-pressed="true"] { color: var(--white); }
.switch-pill.light .thumb { background: var(--blue); box-shadow: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ---------- Bird ---------- */
#bird-layer { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 40; pointer-events: none; }
.bird { position: absolute; left: 0; top: 0; transform-origin: 0 0; color: var(--white); transition: color .55s; opacity: 0; }   /* no will-change: the browser redraws it sharp after each move (update 174) */
.bird.ready { opacity: 1; }
.bird .squash { transform-origin: 50% 97%; }
.bird svg { display: block; width: var(--bird-w); height: auto; max-width: none; overflow: visible; transform-origin: 50% 50%; shape-rendering: geometricPrecision; transition: transform .28s var(--ease-out); filter: drop-shadow(0 8px 10px rgba(16, 30, 120, .18)); }
.bird.left svg { transform: scaleX(-1); }
.bird .b-lid { transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(0); }
.spot { position: absolute; top: 0; width: 2px; height: 2px; margin-left: -1px; pointer-events: none; }
canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: radial-gradient(110% 70% at 50% 46%, var(--blue-glow) 0%, var(--blue) 50%, var(--blue-deep) 100%); padding-top: 132px; }
.hero-copy { position: relative; z-index: 1; text-align: center; }
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.display .w > span { display: inline-block; animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i) * 65ms + 100ms); }
.hero .lede { margin: 22px auto 0; max-width: 54ch; }
.fade-in { animation: fadeUp .9s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.hero .switch-pill { margin-top: 30px; }
.search-wrap { position: relative; max-width: 740px; margin: 60px auto 0; }
.search { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 999px; padding: 9px 9px 9px 28px; box-shadow: 0 30px 60px -24px var(--shadow-blue); transition: box-shadow .3s; }
.search:focus-within { box-shadow: 0 0 0 5px rgba(255, 255, 255, .28), 0 30px 60px -24px var(--shadow-blue); }
.search .at { color: var(--grey-2); font-weight: 700; font-size: 22px; }
/* Instagram ⇄ TikTok: the network's logo sits where the @ was – tap it to switch (it only changes when tapped) */
.search:has(.plat) { padding-left: 17px; gap: 14px; }
.plat { position: relative; flex: none; width: 42px; height: 42px; border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.plat img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(16, 30, 120, .45);
  transition: opacity .18s ease; }
.plat img + img, .plat[data-plat="tiktok"] img:first-child { opacity: 0; }
.plat[data-plat="tiktok"] img + img { opacity: 1; }
.plat-sw { position: absolute; right: -5px; bottom: -5px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--blue); box-shadow: 0 2px 6px rgba(16, 30, 120, .3); }
.plat-sw svg { width: 11px; height: 11px; }
.plat:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .plat img { transition: none; } }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 20px; color: var(--text); padding: 14px 0; }
.search input::placeholder { color: var(--grey-2); }
.search .btn { padding: 17px 28px; font-size: 16px; }
/* Loading: a light that spins up around the search bar */
.halo { position: absolute; inset: -4px; border-radius: 999px; overflow: hidden; opacity: 0; transition: opacity .6s; pointer-events: none; }
.halo.glow { inset: -12px; filter: blur(16px); }
.halo i { position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; background: conic-gradient(from 0deg, transparent 0 50%, rgba(255, 255, 255, .25) 62%, var(--on-blue-soft) 74%, var(--white) 84%, #8EA3FF 92%, transparent 100%); }
.search-wrap.busy .halo { opacity: 1; }
.search-wrap.busy .search { box-shadow: 0 30px 70px -20px var(--blue-night); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; flex: none; }
.helper { margin: 16px auto 0; font-size: 15px; color: var(--on-blue-soft); min-height: 1.5em; }
.helper strong { color: var(--white); font-weight: 600; }

/* Report card straddles the blue and the paper */
.report-zone { position: relative; z-index: 1; margin-top: 48px; background: linear-gradient(to bottom, transparent 0 46%, var(--paper) 46%); }
.report { position: relative; max-width: 1080px; margin: 0 auto; background: var(--white); border-radius: 28px; padding: 22px 28px 28px; box-shadow: 0 50px 90px -40px var(--shadow-blue), 0 0 0 1px rgba(16, 30, 120, .05); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }

/* ---------- Perch report pieces ----------
   The same parts as the real report – post card, Perch check, risk rows – drawn light on the page.
   .dk switches them to the report's own dark theme: the Always on card, and the report that opens
   once someone checks a handle. */
.pr {
  --p1: var(--text); --p2: var(--grey); --p3: var(--grey-2);
  --pcard: var(--paper); --pcard-2: #ECEEF6; --pline: var(--line); --pglass: var(--white);
  --pacc: var(--blue); --pacc-bg: var(--sky);
  --ok: var(--green); --ok-bg: var(--green-bg);
  --warn: var(--amber-text); --warn-bg: var(--amber-bg); --warn-solid: var(--amber); --warn-on: #3D2A00;
  --bad: var(--red); --bad-bg: var(--red-bg); --bad-solid: var(--red); --bad-on: var(--white);
  --tip: var(--blue); --tip-bg: var(--sky); --tip-solid: var(--blue); --tip-on: var(--white);
  --seg: #E3E6EF; --seg-done: var(--blue); --verified: #3897F0;
  --b-minimal: #15804F; --b-low: #4C8A23; --b-medium: #8F5E00; --b-high: #C2491C; --b-critical: #C42B3A;
  --t0: 350ms; --gap: 260ms; --dwell: 520ms;
  color: var(--p1);
}
.pr.dk {
  color-scheme: dark;
  --p1: #FFFFFF; --p2: #BAC4F6; --p3: #8F9BD6;
  --pcard: rgba(255, 255, 255, .06); --pcard-2: rgba(255, 255, 255, .1); --pline: rgba(255, 255, 255, .11); --pglass: rgba(8, 11, 36, .62);
  --pacc: #8EA3FF; --pacc-bg: rgba(142, 163, 255, .14);
  --ok: #6EE7A8; --ok-bg: rgba(110, 231, 168, .14);
  --warn: #FFC965; --warn-bg: rgba(255, 201, 101, .14); --warn-solid: #FFC965; --warn-on: #3D2A00;
  --bad: #FF8A8A; --bad-bg: rgba(255, 138, 138, .14); --bad-solid: #FF8A8A; --bad-on: #4A0A0A;
  --tip: #8EA3FF; --tip-bg: rgba(142, 163, 255, .14); --tip-solid: #8EA3FF; --tip-on: #0B0F30;
  --seg: rgba(255, 255, 255, .14); --seg-done: #FFFFFF; --verified: #4A9BFF;
  --b-minimal: #5ED3A5; --b-low: #A9DB8F; --b-medium: #F5C86A; --b-high: #F3956F; --b-critical: #EC6A84;
}
/* the report's night sky: deep blue with a fine dot grid */
.night { position: relative; background: radial-gradient(120% 80% at 0% 0%, #2A3BC4 0%, #141C63 46%, #0A0E2C 100%) #0A0E2C; }
.night::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 20px 20px; }
.night > * { position: relative; }
.spin-i { display: inline-block; width: 13px; height: 13px; flex: none; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--p1) 16%, transparent); border-top-color: var(--pacc); animation: spin .8s linear infinite; }

/* Bar: logo, step and the six segments, as at the top of the report */
.pr-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 820; font-stretch: 118%; font-size: 16px; letter-spacing: -0.01em; }
.pr-logo svg { width: 22px; height: 18px; color: var(--pacc); }
.pr.dk .pr-logo svg { color: var(--white); }
.pr-bar { display: flex; align-items: center; gap: 12px; }
.pr-step { margin-left: auto; font-size: 13px; color: var(--p2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-step b { color: var(--p1); font-weight: 650; }
.pr-segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 10px; }
.pr-segs i { height: 4px; border-radius: 4px; background: var(--seg); }
.pr-segs i.done { background: var(--seg-done); }
.pr-segs i.bad { background: var(--bad-solid); }
.pr-segs i.cur { background: linear-gradient(90deg, var(--seg) 0%, var(--seg-done) 50%, var(--seg) 100%); background-size: 200% 100%; animation: prShimmer 1.6s linear infinite; }

/* Pills */
.pr-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color .35s, color .35s; }
.pr-pill svg { width: 13px; height: 13px; }
.pr-pill .spin-i { width: 11px; height: 11px; }
.pr-pill.clear { background: var(--ok-bg); color: var(--ok); }
.pr-pill.review { background: var(--warn-bg); color: var(--warn); }
.pr-pill.flag { background: var(--bad-bg); color: var(--bad); }
.pr-pill.tip { background: var(--tip-bg); color: var(--tip); }
.pr-pill.muted { background: var(--pcard-2); color: var(--p2); }
.pr-pill.bnd { background: color-mix(in srgb, var(--bc) 14%, transparent); color: var(--bc); }
.bnd.minimal { --bc: var(--b-minimal); } .bnd.low { --bc: var(--b-low); } .bnd.medium { --bc: var(--b-medium); }
.bnd.high { --bc: var(--b-high); } .bnd.critical { --bc: var(--b-critical); }

/* The post, as Instagram shows it, with Perch's flags under the picture */
.pr-pair { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; }
.pr-face-post { display: flex; flex-direction: column; min-width: 0; }
.pr-ig { border-radius: 22px; overflow: hidden; background: var(--pglass); box-shadow: inset 0 0 0 1px var(--pline), 0 26px 50px -38px var(--shadow-blue); }
.pr-ig-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pr-ig-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 750; box-shadow: 0 0 0 2px var(--pglass), 0 0 0 3.5px #D8DDF0; }
.pr-ig-who { flex: 1; min-width: 0; line-height: 1.25; }
.pr-ig-who b { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.pr-ig-who b svg { width: 14px; height: 14px; color: var(--verified); }
.pr-ig-who small { display: block; font-size: 12px; color: var(--p2); }
.pr-perch { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: background-color .4s, color .4s; }
.pr-perch svg { width: 17px; height: 14px; }
.pr-perch .spin-i { width: 12px; height: 12px; margin: 0 2px; }
.pr-perch.clear { background: var(--ok-bg); color: var(--ok); }
.pr-perch.review { background: var(--warn-bg); color: var(--warn); }
.pr-perch.flag { background: var(--bad-bg); color: var(--bad); }
.pr-perch.muted { background: var(--pcard-2); color: var(--p2); }
.pr-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--scene); }
.pr-media .obj { position: absolute; left: 50%; bottom: -2%; height: 66%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.pr-media .obj.phone { bottom: 6%; height: 70%; transform: translateX(-50%) rotate(7deg); }
.pr-media .rtext { position: absolute; left: 50%; top: 13%; transform: translateX(-50%) rotate(-2.5deg); padding: 3px 10px 4px; border-radius: 7px; background: rgba(0, 0, 0, .78); color: var(--white); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.pr-media .sticker { position: absolute; left: 14px; bottom: 16px; padding: 6px 10px; border-radius: 9px; background: var(--white); color: #B5246F; font-size: 12.5px; font-weight: 800; transform: rotate(-3deg); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .5); }
.pr-media .rl { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; color: var(--white); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.pr-media .vplay { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .38); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.pr-media .vplay svg { width: 15px; height: 15px; margin-left: 2px; }
.pr-flags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; min-height: 41px; }
.pr-mark { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px 5px 6px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); }
.pr-mark span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-mark svg { width: 17px; height: 17px; flex: none; padding: 3px; border-radius: 50%; }
.pr-mark:hover { transform: translateY(-1px); }
.pr-mark.flag { color: var(--bad); } .pr-mark.flag svg { background: var(--bad-solid); color: var(--bad-on); }
.pr-mark.review { color: var(--warn); } .pr-mark.review svg { background: var(--warn-solid); color: var(--warn-on); }
.pr-mark.tip { color: var(--tip); } .pr-mark.tip svg { background: var(--tip-solid); color: var(--tip-on); }
.pr-acts { display: flex; align-items: center; gap: 16px; padding: 10px 14px 2px; }
.pr-a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pr-a svg { width: 23px; height: 23px; display: block; overflow: visible; }
.pr-a.save { margin-left: auto; }
.pr-ig-body { padding: 6px 14px 14px; font-size: 14px; line-height: 1.4; }
.pr-ig-body p { margin: 0; }
.pr-cap { margin-top: 4px !important; overflow-wrap: anywhere; }
.pr-cap b, .pr-com b { margin-right: 5px; font-weight: 700; }
.pr-cap.review { padding-left: 9px; box-shadow: inset 2px 0 0 var(--warn-solid); }
.pr-cap.flag { padding-left: 9px; box-shadow: inset 2px 0 0 var(--bad-solid); }
.pr-all { margin-top: 6px !important; color: var(--p3); }
.pr-com { margin-top: 3px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-date { margin-top: 8px !important; font-size: 12px; color: var(--p3); }
.pr-to-pa { display: none; align-self: center; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: 14.5px; background: var(--blue); color: var(--white); box-shadow: 0 12px 26px -14px var(--shadow-blue); }
.pr-to-pa svg:first-child { width: 20px; height: 16px; }
.pr-to-pa svg:last-child { width: 15px; height: 15px; }

/* Perch's check: the seven checks tick off one by one */
.pr-pa { min-width: 0; }
.pr-pa-bar { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.pr-back { display: none; align-items: center; gap: 4px; padding: 6px 12px 6px 8px; border: 0; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 650; background: var(--pcard-2); color: var(--p1); }
.pr-back svg { width: 15px; height: 15px; }
.pr-eb { display: flex; align-items: center; gap: 7px; margin: 0 0 0 auto; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--pacc); }
.pr-eb svg { width: 19px; height: 15px; }
.pr-pa-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pr-title { margin: 6px 0 0; font-size: 26px; font-weight: 800; font-stretch: 110%; line-height: 1.1; letter-spacing: -0.015em; }
.pr-pa-top .pr-pill { margin-top: 8px; flex: none; }
.pr-verdict { margin: 8px 0 0; font-size: 15px; font-weight: 650; }
.pr-verdict.clear { color: var(--ok); } .pr-verdict.review { color: var(--warn); } .pr-verdict.flag { color: var(--bad); }
.pr-say { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--pacc) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pacc) 28%, transparent); }
.pr-say > svg { width: 22px; height: 18px; margin-top: 2px; color: var(--pacc); }
.pr-say p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.pr-say p b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--pacc); }
.pr-say p span { display: block; }
.pr-say.pending p span { color: var(--p3); }
.pr-scan { margin-top: 14px; padding: 4px 0 6px; border-radius: 18px; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); overflow: hidden; }
.pr-scan-head { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 10px 14px 6px; }
.pr-scan-head b { flex: none; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--p2); }
.pr-scan-head span { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--p3); }
.pr-sc-line { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 14px; list-style: none; }
summary.pr-sc-line { cursor: pointer; }
.pr-sc-line::-webkit-details-marker, .pr-risk > summary::-webkit-details-marker { display: none; }
.pr-sc-line b { font-size: 14px; font-weight: 650; white-space: nowrap; }
.pr-sc-line small { justify-self: end; display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; font-size: 12.5px; color: var(--p3); }
.pr-sc-line .chev { display: inline-grid; font-style: normal; }
.pr-sc-line .chev svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
details[open] > .pr-sc-line .chev svg { transform: rotate(180deg); }
.pr-sc.review { background: linear-gradient(90deg, color-mix(in srgb, var(--warn-solid) 16%, transparent), color-mix(in srgb, var(--warn-solid) 3%, transparent)); }
.pr-sc.flag { background: linear-gradient(90deg, color-mix(in srgb, var(--bad-solid) 13%, transparent), color-mix(in srgb, var(--bad-solid) 3%, transparent)); }
.pr-sc.tip { background: linear-gradient(90deg, color-mix(in srgb, var(--tip-solid) 12%, transparent), color-mix(in srgb, var(--tip-solid) 3%, transparent)); }
.pr-sc.review small { color: var(--warn); } .pr-sc.flag small { color: var(--bad); } .pr-sc.tip small { color: var(--tip); }
.pr-sc.hl { box-shadow: inset 3px 0 0 var(--hlc, var(--pacc)); }
.pr-sc.flag { --hlc: var(--bad-solid); } .pr-sc.review { --hlc: var(--warn-solid); } .pr-sc.tip { --hlc: var(--tip-solid); }
.pr-sc-i { position: relative; width: 22px; height: 22px; }
.pr-sc-i em { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.pr-sc-i svg { width: 12px; height: 12px; }
.pr-sc.clear .pr-sc-i em { background: var(--ok-bg); color: var(--ok); }
.pr-sc.review .pr-sc-i em { background: var(--warn-solid); color: var(--warn-on); }
.pr-sc.flag .pr-sc-i em { background: var(--bad-solid); color: var(--bad-on); }
.pr-sc.tip .pr-sc-i em { background: var(--tip-solid); color: var(--tip-on); }
/* before a check has run: a spinner where its mark will be */
.pr-sc { opacity: 0; transform: translateY(6px); }
.pr-sc-i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--p1) 14%, transparent); border-top-color: var(--pacc); }
.pr-sc-i em, .pr-sc-line small, .pr-pa-top .pr-pill, .pr-score { opacity: 0; }
.pr-sc-i em { transform: scale(.3); }
.pr-mark { opacity: 0; transform: scale(.6); }
.pr-pa.go .pr-sc { animation: prRise .3s var(--ease-out) forwards; animation-delay: calc(var(--t0) + var(--k) * var(--gap)); }
.pr-pa.go .pr-sc-i::before { animation: spin .7s linear infinite, prOut .2s linear forwards; animation-delay: 0s, calc(var(--t0) + var(--k) * var(--gap) + var(--dwell)); }
.pr-pa.go .pr-sc-i em { animation: prPop .45s var(--ease-spring) forwards; animation-delay: calc(var(--t0) + var(--k) * var(--gap) + var(--dwell)); }
.pr-pa.go .pr-sc-line small { animation: prFade .3s ease forwards; animation-delay: calc(var(--t0) + var(--k) * var(--gap) + var(--dwell)); }
.pr-pa.go .pr-pa-top .pr-pill, .pr-pa.go .pr-score { animation: prRise .5s var(--ease-out) forwards; animation-delay: calc(var(--t0) + 7 * var(--gap) + var(--dwell)); }
.pr-pair.go .pr-mark { animation: prPop .5s var(--ease-spring) forwards; animation-delay: calc(var(--t0) + var(--k) * var(--gap) + var(--dwell) + 80ms); }
/* once it has played, it stays still */
.pr-pa.played .pr-sc, .pr-pa.played .pr-sc-i em, .pr-pa.played .pr-sc-line small, .pr-pa.played .pr-pa-top .pr-pill, .pr-pa.played .pr-score,
.pr-pair.played .pr-mark { opacity: 1; transform: none; animation: none; }
.pr-pa.played .pr-sc-i::before { display: none; }
.pr-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pline); font-size: 14px; color: var(--p2); }
.pr-score b { color: var(--p1); font-size: 16px; font-variant-numeric: tabular-nums; }
.pr-score small { margin-left: -7px; font-size: 12px; color: var(--p3); }
/* a finding, opened in place: what was found, why it matters, how to fix it */
.pr-rd { display: grid; gap: 4px; padding: 2px 14px 12px 46px; font-size: 13.5px; line-height: 1.45; animation: prRise .3s var(--ease-out); }
.pr-rd p { margin: 0; }
.pr-rd .note { font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--tip); }
.pr-rd .q { margin-top: 2px; padding: 6px 10px; border-radius: 10px; background: var(--pcard-2); font-style: italic; overflow-wrap: anywhere; }
.pr-rd .q small { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: var(--p3); }
.pr-rd .why { font-size: 12.5px; color: var(--p2); }
.pr-rd .fix { display: flex; gap: 6px; margin-top: 2px; font-size: 12.5px; }
.pr-rd .fix svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--ok); }

/* Risk rows: tappable, a little alarming */
.pr-risk { border-radius: 16px; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); }
.pr-risk > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; border-radius: 16px; }
.pr-risk.review { background: linear-gradient(90deg, color-mix(in srgb, var(--warn-solid) 16%, transparent), color-mix(in srgb, var(--warn-solid) 4%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn-solid) 40%, transparent); }
.pr-risk.flag { background: linear-gradient(90deg, color-mix(in srgb, var(--bad-solid) 14%, transparent), color-mix(in srgb, var(--bad-solid) 4%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad-solid) 40%, transparent); }
.pr-risk.tip { background: linear-gradient(90deg, color-mix(in srgb, var(--tip-solid) 14%, transparent), color-mix(in srgb, var(--tip-solid) 4%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tip-solid) 36%, transparent); }
.pr-risk-i { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pcard-2); color: var(--p2); }
.pr-risk-i svg { width: 16px; height: 16px; }
.pr-risk.review .pr-risk-i { background: var(--warn-solid); color: var(--warn-on); --ring: var(--warn-solid); }
.pr-risk.flag .pr-risk-i { background: var(--bad-solid); color: var(--bad-on); --ring: var(--bad-solid); }
.pr-risk.tip .pr-risk-i { background: var(--tip-solid); color: var(--tip-on); --ring: var(--tip-solid); }
.pr-risk-i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ring, transparent); opacity: 0; animation: ping 2.2s var(--ease-out) infinite; }
.pr-risk b { display: block; font-size: 15px; line-height: 1.25; }
.pr-risk small { display: block; margin-top: 2px; font-size: 13px; color: var(--p2); }
.pr-go svg { width: 18px; height: 18px; color: var(--p3); transition: transform .3s var(--ease-out); }
.pr-risk[open] .pr-go svg { transform: rotate(180deg); }
.pr-risk .pr-rd { padding-left: 60px; }

/* ---------- The report itself: the page fades into it once a handle is checked ---------- */
.pr-ov { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .75s var(--ease-out), visibility 0s .75s; }
.pr-ov.open { opacity: 1; visibility: visible; transition: opacity .75s var(--ease-out); }
.pr-ov::before { position: fixed; }
.pr-ov-bar { position: sticky; top: 0; z-index: 2; background: rgba(10, 14, 44, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--pline); }
.pr-ov-in { max-width: 560px; margin: 0 auto; padding: 12px 20px 10px; }
.pr-pct { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; font-size: 13px; color: var(--p2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--pcard-2); color: var(--p1); transition: background-color .2s; }
.pr-close:hover { background: rgba(255, 255, 255, .18); }
.pr-close svg { width: 16px; height: 16px; }
.pr-ov :focus-visible { outline-color: #8EA3FF; }
.pr-ov-ch { max-width: 560px; min-height: calc(100vh - 62px); min-height: calc(100svh - 62px); margin: 0 auto; padding: 40px 20px 56px; display: flex; flex-direction: column; justify-content: center; }
.pr-ov .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 300ms); }
.pr-ov.open .rv { opacity: 1; transform: none; }
.pr-eyebrow { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--p2); }
.pr-h2 { margin: 8px 0 0; font-size: 28px; font-weight: 800; font-stretch: 112%; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.pr-pcard { margin-top: 18px; padding: 18px; border-radius: 22px; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); }
.pr-p-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pr-av64 { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 750; font-size: 20px; background: linear-gradient(135deg, #2C46E6, #182069); box-shadow: 0 0 0 2.5px #1A2370, 0 0 0 4px rgba(255, 255, 255, .3); }
.pr-p-name { font-size: 18px; font-weight: 750; overflow-wrap: anywhere; }
.pr-p-type { font-size: 13.5px; color: var(--p2); }
.pr-p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; text-align: center; }
.pr-p-stats div { padding: 12px 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.pr-p-stats .pr-sk { width: 56%; height: 18px; margin: 0 auto 6px; }
.pr-p-stats span { font-size: 12.5px; color: var(--p2); }
.pr-sk { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08) linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent) no-repeat; background-size: 50% 100%; animation: prShimmer 1.4s linear infinite; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 12px; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); font-size: 13px; font-weight: 600; color: var(--p3); }
.pr-chip .spin-i { width: 12px; height: 12px; }
.pr-next { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 20px; border: 0; border-radius: 999px; font: inherit; font-weight: 650; font-size: 15px; background: var(--pcard); color: var(--p3); box-shadow: inset 0 0 0 1px var(--pline); }
.pr-next small { font-size: 12px; font-weight: 600; opacity: .75; }
html.ov-open { overflow: hidden; }

@keyframes prRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes prPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes prFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes prOut { to { opacity: 0; } }
@keyframes prShimmer { from { background-position: -100% 0; } to { background-position: 200% 0; } }
@keyframes ping { 0% { transform: scale(.85); opacity: .85; } 80%, 100% { transform: scale(1.45); opacity: 0; } }

/* phones: the report's two faces – the post, then Perch's check laid over it */
@media (max-width: 860px) {
  .pr-pair { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 460px; margin-inline: auto; }
  .pr-pair > * { grid-area: 1 / 1; }
  .pr-face-post { transition: filter .45s var(--ease-out), opacity .45s; }
  .pr-pair[data-face="check"] .pr-face-post { filter: blur(12px); opacity: .28; pointer-events: none; }
  .pr-face-check { align-self: start; padding: 14px; border-radius: 22px; background: color-mix(in srgb, var(--white) 92%, transparent); box-shadow: 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s .45s; }
  .pr-pair[data-face="check"] .pr-face-check { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out); }
  .pr-to-pa, .pr-back { display: inline-flex; }
}
@media (max-width: 640px) {
  .report { padding: 16px 14px 18px; border-radius: 24px; }
  .pr-title { font-size: 22px; }
  .pr-media .rtext { font-size: 16px; }
  .pr-ov-ch { padding-top: 28px; justify-content: flex-start; }
  .pr-ov .pr-step { display: none; }
  .pr-ov .pr-close { margin-left: auto; }
  .pr-h2 { font-size: 25px; }
}

/* ---------- Hero: the report on a phone, with what Perch found either side ---------- */
.ph-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; max-width: 1120px; margin: 0 auto; padding-bottom: 24px; }
.ph-side { display: flex; min-width: 0; }
.ph-left { align-items: flex-end; justify-content: flex-end; padding-bottom: 156px; }      /* level with the flag under the picture */
.ph-left .ph-card { margin-bottom: -60px; }
.ph-right { align-items: center; justify-content: flex-start; padding-bottom: 50px; }
.ph-wire { flex: none; width: 64px; border-top: 2px dashed #C8CEDD; }
.ph-left .ph-wire { border-top-color: var(--wire, var(--red)); }
.ph-card { flex: none; color: var(--text); width: 280px; padding: 16px 18px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px var(--shadow-blue); }
.ph-card p { margin: 0; }
.ph-find.flag { box-shadow: 0 0 0 1.5px #F2B5B8, 0 24px 48px -30px var(--shadow-blue); }
.ph-find.review { box-shadow: 0 0 0 1.5px #F3D59B, 0 24px 48px -30px var(--shadow-blue); }
.ph-k { display: flex; align-items: center; gap: 10px; }
.ph-k b { font-size: 16px; font-weight: 750; }
.ph-find.flag .ph-k b { color: #B4262C; } .ph-find.review .ph-k b { color: var(--amber-text); }
.ph-i { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.ph-i svg { width: 15px; height: 15px; }
.ph-find.flag .ph-i { background: var(--red); color: var(--white); }
.ph-find.review .ph-i { background: var(--amber); color: #3D2A00; }
.ph-find > p:nth-child(2) { margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
.ph-fix { display: flex; gap: 7px; margin-top: 10px !important; font-size: 13.5px; line-height: 1.45; color: var(--grey); }
.ph-fix svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--green); }
.ph-clear { width: 240px; }
.ph-clear b { display: block; font-size: 14.5px; font-weight: 700; }
.ph-clear ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--grey); }
.ph-clear li { display: flex; align-items: center; gap: 9px; }
.ph-ok { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.ph-ok svg { width: 11px; height: 11px; }

.ph-center { display: flex; flex-direction: column; align-items: center; }
.ph-phone { position: relative; width: 344px; padding: 10px; border-radius: 50px; background: #05081F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 90px -40px rgba(5, 10, 50, .8); }
.ph-screen { position: relative; border-radius: 40px; overflow: hidden; padding: 20px 0 24px; color: var(--white); }
.ph-bar { display: flex; align-items: center; gap: 6px; padding: 4px 22px 0; }
.ph-bar .pr-logo { font-size: 13px; gap: 6px; }
.ph-bar .pr-logo svg { width: 19px; height: 15px; transform: translateY(-1.3px); }
.ph-bar .pr-step { font-size: 11px; }
.ph-screen .pr-segs { margin: 11px 22px 0; gap: 4px; }
.ph-screen .pr-segs i { height: 3px; transition: background-color .4s; }
.ph-screen .pr-segs i.warn { background: var(--warn-solid); }
.ph-track { display: flex; margin-top: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; transition: opacity .35s; }
.ph-track::-webkit-scrollbar { display: none; }
.ph-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.ph-track:focus-visible { outline: 2px solid #8EA3FF; outline-offset: -2px; border-radius: 18px; }
.ph-slide { flex: 0 0 100%; box-sizing: border-box; padding: 0 16px; scroll-snap-align: center; }
.ph-post { border-radius: 18px; overflow: hidden; background: var(--pglass); box-shadow: inset 0 0 0 1px var(--pline); }
.ph-head { display: flex; align-items: center; gap: 9px; padding: 11px 12px; }
.ph-av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #C9D4FF; color: #172B8F; font-size: 10px; font-weight: 750; }
.ph-who { flex: 1; min-width: 0; line-height: 1.2; }
.ph-who b { display: flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; }
.ph-who b svg { width: 12px; height: 12px; color: var(--verified); }
.ph-who small { display: block; font-size: 10.5px; color: var(--p2); }
.ph-head .pr-perch { font-size: 11px; padding: 3px 9px 3px 6px; }
.ph-head .pr-perch svg { width: 15px; height: 12px; }
.ph-img { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ph-g1 { background: linear-gradient(160deg, #3A3F6E 0%, #2A2D52 55%, #1C1E3A 100%); }
.ph-g2 { background: linear-gradient(160deg, #4A2F5E 0%, #33224A 55%, #1F1633 100%); }
.ph-g3 { background: linear-gradient(160deg, #2C4A5C 0%, #1F3546 55%, #142430 100%); }
.ph-ph { display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .5); }
.ph-ph svg { width: 34px; height: 34px; }
.ph-ph small { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.ph-flags { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 12px 13px; }
.ph-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: var(--pcard); box-shadow: inset 0 0 0 1px var(--pline); font-size: 11.5px; font-weight: 700; }
.ph-flag svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; flex: none; }
.ph-flag.flag { color: var(--bad); } .ph-flag.flag svg { background: var(--bad-solid); color: var(--bad-on); }
.ph-flag.review { color: var(--warn); } .ph-flag.review svg { background: var(--warn-solid); color: var(--warn-on); }
.ph-cta { display: flex; justify-content: center; margin-top: 18px; transition: opacity .35s; }
.ph-see { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px 9px 11px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 650; color: var(--white); background: linear-gradient(135deg, #2C46E6, #182069); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 26px -14px #8EA3FF; transition: transform .2s var(--ease-out); }
.ph-see:hover { transform: translateY(-1px); }
.ph-see svg { width: 17px; height: 14px; }
/* the check of the shown post, laid over the screen */
.ph-check { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; padding: 14px 20px 22px; overflow-y: auto; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.ph-check::-webkit-scrollbar { display: none; }
.ph-phone.checking .ph-check { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.ph-phone.checking .ph-track, .ph-phone.checking .ph-cta { opacity: 0; pointer-events: none; }
.ph-check .pr-pa { --t0: 150ms; --gap: 170ms; --dwell: 380ms; }
.ph-check .pr-back { display: inline-flex; font-size: 12px; padding: 5px 10px 5px 6px; }
.ph-check .pr-eb { font-size: 10.5px; }
.ph-check .pr-eb svg { width: 16px; height: 13px; }
.ph-check .pr-title { font-size: 21px; margin-top: 16px; }
.ph-check .pr-pa-top .pr-pill { font-size: 11px; padding: 4px 9px; margin-top: 18px; }
.ph-check .pr-verdict { margin-top: 8px; font-size: 13px; }
.ph-check .pr-scan { margin-top: 18px; padding: 4px 0 8px; border-radius: 16px; }
.ph-check .pr-scan-head { padding: 11px 14px 7px; }
.ph-check .pr-scan-head b { font-size: 10px; }
.ph-check .pr-sc-line { padding: 7.5px 14px; gap: 10px; grid-template-columns: 18px auto minmax(0, 1fr); }
.ph-check .pr-sc-i { width: 18px; height: 18px; }
.ph-check .pr-sc-i svg { width: 10px; height: 10px; }
.ph-check .pr-sc-line b { font-size: 12.5px; }
.ph-check .pr-sc-line small { font-size: 10.5px; }
.ph-check .pr-score { font-size: 12.5px; margin-top: 18px; padding-top: 14px; }
.ph-check .pr-score b { font-size: 14px; }
.ph-check .pr-score .pr-pill { font-size: 11px; padding: 4px 9px; }
.ph-arrow { position: absolute; top: 42%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--white); color: var(--blue); box-shadow: 0 10px 24px -10px var(--shadow-blue), 0 0 0 1px rgba(16, 30, 120, .08); transition: transform .2s var(--ease-out); }
.ph-arrow:hover { transform: scale(1.06); }
.ph-arrow svg { width: 18px; height: 18px; }
.ph-arrow.prev { left: -20px; } .ph-arrow.next { right: -20px; }
.ph-phone.checking .ph-arrow { opacity: 0; pointer-events: none; }
.ph-dots { display: flex; justify-content: center; gap: 2px; margin-top: 20px; }
.ph-dot { width: 32px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ph-dot i { width: 8px; height: 8px; border-radius: 4px; background: #C8CEDD; transition: width .35s var(--ease-out), background-color .35s; }
.ph-dot[aria-selected="true"] i { width: 24px; background: var(--blue); }
@media (max-width: 1040px) {
  .ph-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ph-side { display: none; }
}
@media (max-width: 640px) {
  .ph-arrow { display: none; }
}
@media (max-width: 400px) {
  .ph-phone { width: 316px; }
}
/* ---------- Features: the Perch Score and live monitoring ----------
   The final score from a report, filling to 72 with the gap to 100 lit up, and Perch's alerts as they land. */
#features .fcard { padding: 40px; }
#features .visual { padding-top: 36px; }
.fx-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 14px; font-weight: 650; color: var(--blue); }
.fx-eyebrow > i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.fx-pulse { position: relative; display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.fx-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; animation: fxPing 1.8s var(--ease-out) infinite; }
@keyframes fxPing { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fxRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fx-rise { animation: fxRise .45s var(--ease-out); }

/* Always on: the night card */
.fx-night { --d1: #FFFFFF; --d2: #BAC4F6; --d3: #8F9BD6; --dline: rgba(255, 255, 255, .1); --mint: #6EE7A8;
  position: relative; isolation: isolate; overflow: hidden; color: var(--d1); background: radial-gradient(130% 90% at 0% 0%, #2B3DCB 0%, #141C63 44%, #0A0E2C 100%) #0A0E2C; box-shadow: 0 40px 70px -44px rgba(10, 14, 44, .7); }
.fx-night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(85% 65% at 100% 100%, #000 10%, transparent 80%); mask-image: radial-gradient(85% 65% at 100% 100%, #000 10%, transparent 80%); }
#always h2 { color: var(--d1); }
#always .lede { color: var(--d2); }
#always .fx-eyebrow { color: #AEBBFF; }
#always .visual { display: flex; flex-direction: column; flex: 1; }
.fx-stack { position: relative; height: 118px; margin: auto 0; }
.fx-note { position: absolute; left: 0; right: 0; top: 0; height: 94px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 13px; align-items: center; padding: 0 16px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #3D4BB2, #303D9C); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .14), 0 22px 40px -22px rgba(0, 0, 0, .75); transform-origin: 50% 100%; transition: transform .6s var(--ease-out), opacity .5s var(--ease-out); }
.fx-note.n0 { z-index: 3; }
.fx-note.n1 { z-index: 2; transform: translateY(11px) scale(.945); background: #27318A; }
.fx-note.n2 { z-index: 1; transform: translateY(21px) scale(.89); background: #1E2770; }
.fx-note.n1 > *, .fx-note.n2 > * { visibility: hidden; }
.fx-note.enter { transform: translateY(-14px); opacity: 0; }
.fx-app { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #fff; background: linear-gradient(155deg, #5673FF 0%, #2E4BE6 55%, #2441D8 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .25); }
.fx-app svg { width: 24px; height: 19px; }
.fx-top { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--d2); white-space: nowrap; }
.fx-top b { color: var(--d1); font-weight: 700; }
.fx-top span:last-child { margin-left: auto; font-size: 12.5px; }
.fx-note p { margin: 3px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .84); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fx-note p strong { color: var(--d1); font-weight: 700; }
.fx-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--dline); }
.fx-groups { display: flex; align-items: stretch; gap: 18px; }
.fx-group { display: flex; flex-direction: column; gap: 10px; }
.fx-group small { display: inline-flex; align-items: center; gap: 8px; height: 14px; font-size: 12.5px; font-weight: 650; color: var(--d3); white-space: nowrap; }
.fx-group.live small { color: var(--mint); }
.fx-group .fx-pulse { width: 6px; height: 6px; }
.fx-tiles { display: flex; gap: 8px; }
.fx-tile { position: relative; width: 40px; height: 40px; border-radius: 10px; transition: transform .45s var(--ease-spring), box-shadow .45s; }
.fx-tile.on { transform: translateY(-3px); box-shadow: 0 0 0 2px #10164F, 0 0 0 4px #8EA3FF, 0 12px 20px -8px rgba(0, 0, 0, .6); }
.fx-lg { display: block; width: 100%; height: 100%; border-radius: 10px; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.fx-group.dim .fx-lg { filter: grayscale(1); opacity: .34; }
.fx-div { width: 1px; background: var(--dline); }
.fx-count { margin-left: auto; text-align: right; }
.fx-count b { display: block; font-size: 32px; font-weight: 750; font-stretch: 108%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fx-count span { display: block; font-size: 13px; color: var(--d3); }
@media (max-width: 640px) {
  #features .fcard { padding: 24px 20px; }
  .fx-note { padding: 0 14px; gap: 12px; }
  .fx-groups { gap: 14px; }
  .fx-tiles { gap: 7px; }
  .fx-tile, .fx-lg { width: 38px; height: 38px; }
  .fx-count { display: flex; align-items: baseline; gap: 8px; margin-left: 0; text-align: left; }
  .fx-count b { font-size: 26px; }
  .fx-count span { margin-top: 0; }
}
/* platform logos, 500×500 */
.fx-lg-tiktok { background-image: url(img/logo-tiktok.png); }
.fx-lg-facebook { background-image: url(img/logo-facebook.png); }
.fx-lg-x { background-image: url(img/logo-x.png); }
.fx-lg-instagram { background-image: url(img/logo-instagram.png); }
.fx-lg-youtube { background-image: url(img/logo-youtube.png); }
/* ---------- What Perch reads: a quiet, centred row, grouped by platform ---------- */
.reads { padding-block: 44px 0; }
.reads-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.reads-label { margin: 0; width: min(100%, 520px); display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.reads-label::before, .reads-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marquee { width: 100%; max-width: 1040px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-run { display: flex; align-items: baseline; }
.mq-g { display: inline-flex; align-items: baseline; gap: 9px; padding-right: 48px; white-space: nowrap; }
.mq-p { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }
.mq-i { font-size: 17px; font-weight: 550; color: var(--ink-2); }
.mq-dot { font-size: 17px; color: #B4BBCE; }

/* ---------- Features: two cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fcard { display: flex; flex-direction: column; border-radius: 28px; padding: 32px; min-width: 0; }
.fcard-light { background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px var(--shadow-blue); }
.fcard-ink { background: var(--ink); color: var(--on-ink); }
.fcard h2 { margin: 0; font-size: clamp(28px, 2.7vw, 38px); font-weight: 800; font-stretch: 112%; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.fcard-ink h2 { color: var(--white); }
.fcard .lede { font-size: 16.5px; max-width: 46ch; margin-top: 12px; }
.fcard-ink .lede { color: var(--on-ink-soft); }
.visual { margin-top: auto; padding-top: 28px; }

/* Footprint */
.fp-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.fp-who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--grey); }
.fp-who .avatar { width: 36px; height: 36px; font-size: 13px; background: #C9D4FF; color: #172B8F; }
.fp-who b { display: block; color: var(--text); font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--grey); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- Pricing ---------- */
.price-head { text-align: center; }
.price-head .lede { margin-inline: auto; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 26px; padding: 26px; box-shadow: 0 1px 0 var(--line); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 750; font-stretch: 106%; }
.plan .for { margin: 4px 0 0; font-size: 15px; color: var(--grey); }
.price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 44px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; }
.price span { font-size: 15px; color: var(--grey); }
/* An introductory offer: the pill, the old price struck through, and what it is after */
.plan .deal { align-self: flex-start; margin: 16px 0 -4px; padding: 5px 11px; border-radius: 999px; background: var(--sky); color: var(--blue);
  font-size: 12.5px; font-weight: 750; letter-spacing: .01em; }
.price s { font-size: 24px; font-weight: 700; font-stretch: 106%; color: var(--grey-2); text-decoration-thickness: 2px; }
.plan .then { margin: 6px 0 0; font-size: 14.5px; color: var(--grey); }
.plan.featured .deal { background: var(--white); }
.plan.featured .price s { color: var(--on-blue-soft); }
.plan.featured .then { color: var(--on-blue); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: var(--blue); color: var(--white); box-shadow: 0 40px 70px -40px var(--shadow-blue); }
.plan.featured .for, .plan.featured .price span { color: var(--on-blue); }
.plan.featured ul { border-top-color: var(--hairline-white); }
.plan.featured li svg { color: var(--white); }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq li { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; background: transparent; border: 0; padding: 19px 2px; cursor: pointer; font-size: 18px; font-weight: 650; }
.faq .plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); flex: none; transition: background-color .3s, transform .4s var(--ease-out); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .4s var(--ease-out), background-color .3s; }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq button[aria-expanded="true"] .plus { background: var(--blue); transform: rotate(180deg); }
.faq button[aria-expanded="true"] .plus::before, .faq button[aria-expanded="true"] .plus::after { background: var(--white); }
.faq button[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq .ans > div { overflow: hidden; }
.faq .ans p { margin: 0; padding: 0 60px 20px 2px; color: var(--grey); font-size: 16px; max-width: 62ch; }
.faq button[aria-expanded="true"] + .ans { grid-template-rows: 1fr; }

/* ---------- Contact us / Book a demo ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-pts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16.5px; font-weight: 550; }
.contact-pts li { display: flex; gap: 12px; align-items: center; }
.contact-pts svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.cf-card { background: var(--white); border-radius: 28px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -48px var(--shadow-blue); }
.cf-fields { display: grid; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.cf-f { display: grid; gap: 7px; min-width: 0; align-content: start; }
.cf-f label { font-size: 14.5px; font-weight: 650; }
.cf-f label span { font-weight: 500; color: var(--grey-2); }
.cf-f input, .cf-f textarea, .cf-f select {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s; }
.cf-f textarea { resize: vertical; min-height: 120px; }
.cf-f select { padding-right: 42px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23575C6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.cf-f input::placeholder, .cf-f textarea::placeholder { color: var(--grey-2); }
.cf-f input:hover, .cf-f textarea:hover, .cf-f select:hover { border-color: var(--dot); }
.cf-f input:focus, .cf-f textarea:focus, .cf-f select:focus { background-color: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 85, 244, .14); }
.cf-f.bad input, .cf-f.bad textarea { border-color: var(--red); background-color: var(--white); }
.cf-f.bad:focus-within input, .cf-f.bad:focus-within textarea { box-shadow: 0 0 0 4px rgba(216, 52, 58, .12); }
.cf-f .cf-why { margin: 0; font-size: 13.5px; font-weight: 550; color: var(--red); }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--red-bg); color: var(--red); font-size: 14.5px; font-weight: 550; }
.cf-go { width: 100%; padding: 17px 24px; font-size: 16px; margin-top: 4px; }
.cf-go[disabled] { opacity: .75; cursor: progress; }
.cf-go .spin-i { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--white); }
.cf-note { margin: -4px 0 0; font-size: 13.5px; color: var(--grey); text-align: center; }
.cf-done { text-align: center; padding: clamp(20px, 5vw, 48px) 8px; animation: fadeUp .6s var(--ease-out) both; }
.cf-tick { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green-bg); color: var(--green); }
.cf-tick svg { width: 28px; height: 28px; }
.cf-done h2, .cf-done h3 { margin: 16px 0 0; font-size: 26px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; outline: none; }
.cf-done p { margin: 8px auto 0; max-width: 36ch; color: var(--grey); }
.cf-done b { color: var(--text); font-weight: 650; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-pts { margin-top: 20px; }
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-card { border-radius: 24px; margin-inline: -4px; }
}

/* ---------- The small pages: /contact, /demo and the 404 page ---------- */
.nav.sub .nav-links a[aria-current="page"] { color: var(--white); font-weight: 650; }
.sub-hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  padding: calc(150px + env(safe-area-inset-top, 0px)) 0 clamp(64px, 8vw, 110px);
  background: radial-gradient(120% 90% at 85% 0%, var(--blue-glow) 0%, var(--blue) 45%, var(--blue-deep) 100%); }
.sub-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1.2px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.sub-hero .title { font-size: clamp(40px, 5.2vw, 72px); }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-blue-soft); }
.on-dark .contact-pts li { color: var(--white); }
.on-dark .contact-pts svg { background: rgba(255, 255, 255, .14); color: var(--white); }
.contact-swap { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--hairline-white); font-size: 16px; color: var(--on-blue-soft); }
.contact-swap a { color: var(--white); font-weight: 650; text-decoration: none; white-space: nowrap; }
.contact-swap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sub-hero .cf-card { color: var(--text); box-shadow: 0 50px 90px -40px rgba(10, 18, 80, .55); }
/* the blue section fills the screen above the footer, however tall the screen */
body:has(> main > .sub-hero) { display: flex; flex-direction: column; min-height: 100svh; }
body:has(> main > .sub-hero) > main { flex: 1; display: flex; flex-direction: column; }
main > .sub-hero { flex: 1; }
.nf { display: flex; align-items: center; text-align: center; }
.nf > .wrap { width: 100%; }
.nf .title { margin-inline: auto; }
.nf .lede { margin-inline: auto; }
.nf .nf-go { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.nf .btn-line { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--hairline-white); }
.nf .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
@media (max-width: 640px) {
  .nav.sub .nav-actions { display: flex; margin-left: auto; }
  .nav.sub .nav-actions .btn { padding: 11px 16px; font-size: 14px; }
  .sub-hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
}

/* ---------- Final CTA ---------- */
.cta { position: relative; isolation: isolate; color: var(--white); text-align: center; background: radial-gradient(100% 90% at 50% 70%, var(--blue-glow) 0%, var(--blue) 50%, var(--blue-deep) 100%); }
.cta .wrap { position: relative; z-index: 1; }
.cta .title { font-size: clamp(34px, 4.6vw, 64px); font-stretch: 118%; max-width: 16ch; margin-inline: auto; }
.cta .lede { margin-inline: auto; }
.cta .search-wrap { margin-top: 58px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-soft); padding-block: 32px; font-size: 14.5px; }
.foot-row { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.foot-row img { height: 30px; width: auto; display: block; }
.foot-row ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--white); }
.foot-row .copy { margin-left: auto; }

/* ---------- Motion ---------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .feature-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --bird-w: 50px; }
  .nav-inner { padding: 14px var(--gutter); gap: 12px; }
  .nav.scrolled .nav-inner { margin-inline: 10px; padding: 8px 8px 8px 16px; }
  .nav .logo img { height: 28px; }
  .nav.scrolled .logo img { height: 26px; }
  .nav-actions { gap: 6px; margin-left: auto; }
  .nav-actions .login { padding: 9px 12px; font-size: 14px; gap: 0; background: none; }
  .nav-actions .login svg { display: none; }
  .nav-actions .btn { padding: 10px 15px; font-size: 14px; }
  .menu-btn { display: inline-flex; margin-left: 0; padding: 10px 12px; }
  .menu-btn .mb-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* phones: icon only, so Log in + Sign up fit */
  html.menu-open .nav-actions { display: none; }          /* the open menu has both, big */
  html.menu-open .menu-btn .mb-t { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  html.menu-open .menu-btn { margin-left: auto; }
  .hero { padding-top: 104px; }
  .hero .switch-pill label { padding: 11px 16px; font-size: 14.5px; }
  .search { padding: 6px 6px 6px 18px; }
  .search:has(.plat) { padding-left: 13px; gap: 10px; }
  .search:has(.plat) .btn { padding: 14px 14px; }
  .plat { width: 36px; height: 36px; }
  .plat img { border-radius: 10px; }
  .plat-sw { width: 17px; height: 17px; right: -4px; bottom: -4px; }
  .search .at { font-size: 19px; }
  .search input { font-size: 17px; padding: 12px 0; }
  .search .btn { padding: 14px 16px; font-size: 15px; }
  .search-wrap { margin-top: 54px; }
  .reads { padding-top: 36px; }
  .reads-inner { gap: 14px; }
  .reads-label { width: 100%; font-size: 11.5px; }
  .marquee { width: calc(100% + var(--gutter) * 2); max-width: none; margin-inline: calc(var(--gutter) * -1); }   /* edge to edge, faded both sides */
  .mq-g { gap: 8px; padding-right: 36px; }
  .mq-p { font-size: 11px; }
  .mq-i, .mq-dot { font-size: 16px; }
  .fcard { padding: 22px 18px; border-radius: 24px; }
  .plan { padding: 22px 20px; }
  .faq button { font-size: 16.5px; padding: 17px 2px; }
  .faq .ans p { padding-right: 8px; }
  .foot-row .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {                                /* small phones: everything a little tighter so it all fits */
  .nav-inner, .nav.scrolled .nav-inner { gap: 8px; }
  .nav.scrolled .nav-inner { padding-left: 12px; }
  .nav .logo img, .nav.scrolled .logo img { height: 22px; }
  .nav-actions { gap: 4px; }
  .nav-actions .login { padding: 8px 10px; font-size: 13.5px; }
  .nav-actions .btn, .nav.sub .nav-actions .btn { padding: 9px 12px; font-size: 13.5px; }
  .menu-btn { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }                  /* still: the list sits centred and wraps */
  .marquee-track { width: auto; justify-content: center; }
  .mq-run { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .mq-g { padding: 0 18px; max-width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 4px; white-space: normal; }
  .mq-i { white-space: nowrap; }
  .mq-run[aria-hidden="true"] { display: none; }
}

/* ---------- Live site: form errors and the human check ---------- */
.form-error { margin: 12px auto 0; max-width: 740px; padding: 10px 16px; border-radius: 14px; background: rgba(216, 52, 58, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 138, .45); color: #FFE4E4; font-size: 14.5px; font-weight: 600; text-align: center; }
.form-error[hidden] { display: none; }
/* The human check (assets/perch-api.js): a centred card, only when Cloudflare wants a tick. Out of sight it
   stays in the page, transparent and click-through, so Cloudflare's box keeps working. */
.ts-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px;
  background: rgba(10, 14, 44, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.ts-modal.show { opacity: 1; pointer-events: auto; }
.ts-card { position: relative; width: min(380px, 100%); padding: 30px 24px 26px; border-radius: 26px; background: var(--white);
  color: var(--ink); text-align: center; outline: none; box-shadow: 0 40px 80px -30px rgba(10, 14, 44, .65);
  transform: translateY(12px) scale(.98); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); }
.ts-modal.show .ts-card { transform: none; }
.ts-bird { display: block; width: 44px; height: 36px; margin: 0 auto; color: var(--blue); }
.ts-card h2 { margin: 12px 0 0; font-size: 22px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.15; }
.ts-card p { margin: 6px auto 0; max-width: 280px; color: var(--grey); font-size: 15px; line-height: 1.45; }
.ts-slot { display: flex; justify-content: center; min-height: 65px; margin-top: 20px; }
.ts-err { color: var(--red) !important; font-weight: 650; font-size: 14px !important; }
.ts-err[hidden] { display: none; }
.ts-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0;
  border-radius: 50%; background: transparent; color: var(--grey); cursor: pointer; }
.ts-x:hover { background: var(--paper); color: var(--ink); }
.ts-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ts-modal, .ts-card { transition: none; } }

/* Starting a check: the page fades to the report's own background, then the live report opens */
.handoff { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .32s ease;
  background: radial-gradient(120% 70% at 0% 0%, #2A3BC4 0%, #141C63 46%, #0A0E2C 100%), #0A0E2C; }
.handoff.on { opacity: 1; pointer-events: auto; }

/* ---------- The Perch Score: the final score from the end of a report, in light mode ----------
   The ring fills to 72 in its band's colour; then the gap to 100 glows, dots march towards 100 and a
   star sweeps it – the two fixes below are what close it. */
.ps-card { --p: .72; --m: .6831; --low: #7FC769; border-radius: 22px; background: var(--paper); border: 1px solid #E8EBF3; overflow: hidden; }
.ps-top { display: flex; align-items: center; gap: 22px; padding: 22px 22px 0; }
.ps-ring { position: relative; width: 132px; height: 132px; flex: none; }
.ps-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ps-ring circle { fill: none; stroke-width: 6; }
.ps-ring .trk { stroke: #E3E7F2; }
.ps-ring .arc { stroke: var(--low); stroke-linecap: round; stroke-dasharray: 213.63; stroke-dashoffset: 213.63; transition: stroke-dashoffset 1.7s cubic-bezier(.33, 1, .68, 1) .25s; }
.ps-card.go .ps-ring .arc { stroke-dashoffset: calc(213.63px * (1 - var(--p))); }
.ps-ring circle.glow { stroke: var(--blue); stroke-width: 12; filter: blur(3px); opacity: 0;
  stroke-dasharray: calc(213.63px * (1 - var(--p))) 213.63px; stroke-dashoffset: calc(-213.63px * var(--p)); transition: opacity .6s ease 1.9s; }
.ps-ring circle.dots { stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: .01 4.451; opacity: 0; transition: opacity .6s ease 1.9s; animation: psMarch 1.3s linear infinite; }
.ps-card.go .ps-ring circle.glow { opacity: .14; }
.ps-card.go .ps-ring circle.dots { opacity: .8; }
.ps-comet { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.ps-card.go .ps-comet { animation: psSweep 3.6s cubic-bezier(.45, 0, .25, 1) 2.2s infinite; }
.ps-tail { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from -52deg, transparent 0deg, rgba(51, 85, 244, 0) 6deg, rgba(51, 85, 244, .55) 52deg, transparent 52.5deg);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 90%, transparent 91%); mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 90%, transparent 91%); }
.ps-star { position: absolute; left: 50%; top: 7.5%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--blue);
  filter: drop-shadow(0 0 4px rgba(51, 85, 244, .55)); }
.ps-star svg { display: block; width: 100%; height: 100%; animation: psTwinkle 1.8s ease-in-out infinite; }
@keyframes psMarch { to { stroke-dashoffset: -4.451; } }
@keyframes psTwinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.74); opacity: .8; } }
@keyframes psSweep { 0% { transform: rotate(calc(var(--p) * 360deg)); opacity: 0; } 10% { opacity: 1; }
  62% { transform: rotate(360deg); opacity: 1; } 76%, 100% { transform: rotate(360deg); opacity: 0; } }
.ps-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ps-n b { font-size: 42px; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.ps-n small { margin-top: 4px; font-size: 12px; color: var(--grey-2); }
.ps-txt { min-width: 0; }
.ps-t { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.ps-band { margin: 4px 0 0; font-size: 26px; font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.1; color: #3F9A2E; }
.ps-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--grey); }
.ps-bar { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 22px; padding-top: 22px; }
.ps-bar i { height: 6px; border-radius: 99px; opacity: .3; }
.ps-bar i.on { opacity: 1; height: 8px; margin-top: -1px; }
.ps-bar .critical { background: #EC6A84; } .ps-bar .high { background: #F3956F; } .ps-bar .medium { background: #F5C86A; }
.ps-bar .low { background: var(--low); } .ps-bar .minimal { background: #3FC08E; }
.ps-mark { position: absolute; top: 10px; left: 0; width: 0; height: 0; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--text); transition: left 1.7s cubic-bezier(.33, 1, .68, 1) .25s; }
.ps-card.go .ps-mark { left: calc(var(--m) * 100%); }
.ps-ends { display: flex; justify-content: space-between; margin: 6px 22px 0; font-size: 12px; color: var(--grey-2); }
.ps-gap { margin-top: 20px; padding: 16px 22px 18px; border-top: 1px solid var(--line); background: var(--white); }
.ps-gap-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.ps-gap-h b { font-weight: 750; }
.ps-gain { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ps-gap ul { list-style: none; display: grid; gap: 10px; margin: 12px 0 0; padding: 0; }
.ps-gap li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--paper);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); transition-delay: calc(1.6s + var(--k) * 160ms); }
.ps-card.go .ps-gap li { opacity: 1; transform: none; }
.ps-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-bg); }
.ps-dot.risk { background: var(--red); box-shadow: 0 0 0 4px var(--red-bg); }
.ps-what { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.ps-what b { font-size: 14.5px; font-weight: 700; }
.ps-what small { font-size: 13px; color: var(--grey); }
.ps-ck { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-bg); color: var(--green); }
.ps-ck svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .ps-top { gap: 16px; padding: 18px 16px 0; }
  .ps-ring { width: 112px; height: 112px; }
  .ps-n b { font-size: 36px; }
  .ps-band { font-size: 22px; }
  .ps-sub { font-size: 13px; }
  .ps-bar { margin: 0 16px; padding-top: 18px; }
  .ps-mark { top: 6px; }
  .ps-ends { margin: 6px 16px 0; }
  .ps-gap { padding: 14px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-ring .arc, .ps-mark, .ps-gap li { transition: none; }
  .ps-ring circle.dots { animation: none; }
  .ps-card.go .ps-comet { animation: none; opacity: 1; } .ps-tail { display: none; } .ps-star svg { animation: none; }
}

/* ---------- Pricing on phones: a Free · Pro · Historical switch above one plan at a time ---------- */
.pr-tabs { display: none; }
@media (max-width: 640px) {
  .pr-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; margin: 26px auto 0; padding: 4px;
    border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .pr-tabs button { position: relative; z-index: 1; height: 40px; border: 0; border-radius: 999px; background: none; font-size: 14.5px; font-weight: 700; color: var(--grey); cursor: pointer; transition: color .25s; }
  .pr-tabs button[aria-selected="true"] { color: var(--white); }
  .pr-thumb { position: absolute; top: 4px; left: 0; width: 0; height: 40px; border-radius: 999px; background: var(--blue); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
  .plans { margin-top: 16px; }
  .plan:not(.pr-on) { display: none; }
  .plan.pr-on { animation: fxRise .4s var(--ease-out); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .plan.pr-on { animation: none; } .pr-thumb { transition: none; } }

/* Historical scan: the black of the Perch logo */
.plan.plan-ink { background: #181818; color: var(--white); box-shadow: 0 40px 70px -44px rgba(0, 0, 0, .55); }
.plan.plan-ink .for, .plan.plan-ink .price span { color: #B5B5B5; }
.plan.plan-ink ul { border-top-color: rgba(255, 255, 255, .14); }
.plan.plan-ink li svg { color: var(--white); }
.plan.plan-ink .plan-ink-btn { color: #181818; }
.plan.plan-ink .plan-ink-btn:hover { background: #E8E8E8; }
.plan .plan-note { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--on-blue-soft, #C2CCFF); opacity: .85; }
.pr-tabs button[data-i="2"][aria-selected="true"] ~ .pr-thumb, .pr-tabs:has(button[data-i="2"][aria-selected="true"]) .pr-thumb { background: #181818; }

/* ---------- /privacy and /terms ---------- */
.legal-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.legal { background: var(--white); padding-block: clamp(40px, 6vw, 80px); }
.legal-body { color: var(--text); font-size: 16.5px; line-height: 1.65; }
.legal-body h2 { margin: 40px 0 10px; font-size: clamp(21px, 2vw, 25px); line-height: 1.25; }
.legal-body h3 { margin: 22px 0 6px; font-size: 17px; }
.legal-body p, .legal-body ul { margin: 0 0 12px; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: 4px 0; }
.legal-body a { color: var(--blue); font-weight: 600; }
.legal-date { color: var(--grey); font-size: 14.5px; }
.legal-body > * { max-width: 760px; }

/* ---------- Know your risk score: the dashboard's check-by-check radar, in its dark look ---------- */
.fx-dash { --d1: #FFFFFF; --d2: #B8C1EA; --d3: #8790BC; position: relative; isolation: isolate; overflow: hidden; color: var(--d1);
  background: radial-gradient(120% 80% at 100% 0%, #1B2577 0%, #0D1236 46%, #070A1F 100%) #070A1F; box-shadow: 0 40px 70px -44px rgba(10, 14, 44, .7); }
#history h2 { color: var(--d1); }
#history .lede { color: var(--d2); }
#history .fx-eyebrow { color: #AEBBFF; }
.rd { display: flex; flex-direction: column; flex: 1; margin-top: 24px; }
.rd-card { margin-top: auto; border-radius: 22px; padding: 18px 18px 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.rd-top { display: flex; align-items: center; gap: 14px; }
.rd-n { display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.rd-n b { font-size: 46px; font-weight: 820; font-stretch: 110%; line-height: 1; letter-spacing: -.03em; color: #8FE3A0; }
.rd-n small { font-size: 14px; font-weight: 700; color: var(--d3); }
.rd-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rd-band { font-size: 15px; font-weight: 750; color: #8FE3A0; }
.rd-sub { font-size: 13px; color: var(--d3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--d2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); white-space: nowrap; }
.rd-chip i { width: 7px; height: 7px; border-radius: 50%; background: #6EE7A8; }
.rd-svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 6px auto 2px; overflow: visible; }
.rd-ring { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.rd-axis { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.rd-poly { fill: url(#rd-g); stroke: #6E8BFF; stroke-width: 2; stroke-linejoin: round; }
.rd-dot { stroke: #0D1236; stroke-width: 2; }
.rd-lab { font: 650 12.5px var(--font, inherit); fill: var(--d2); }
.rd-lab.flag { fill: #FF8DA3; font-weight: 800; }
.rd-lab.look { fill: #FFD27A; font-weight: 800; }
.rd-gap-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 14px; }
.rd-gap-h b { color: var(--d1); font-weight: 750; }
.rd-gap-h span { color: #8FE3A0; font-weight: 650; }
.rd-gap ul { list-style: none; display: grid; gap: 8px; margin: 10px 0 0; padding: 0; }
.rd-gap li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.rd-gap .ps-ck { display: none; }
.rd-gap .ps-what b { color: var(--d1); font-size: 14px; }
.rd-gap .ps-what small { color: var(--d3); }
.rd-gap .ps-dot { background: #FFC24D; box-shadow: 0 0 0 4px rgba(255, 194, 77, .16); }
.rd-gap .ps-dot.risk { background: #FF5E7E; box-shadow: 0 0 0 4px rgba(255, 94, 126, .16); }
/* once, when it scrolls into view: the shape grows from the middle, the dots and fixes follow */
.rd-shape { transform-box: fill-box; transform-origin: center; }
.rd-card:not(.go) .rd-shape { transform: scale(.15); opacity: 0; }
.rd-card:not(.go) .rd-gap li { opacity: 0; transform: translateY(8px); }
.rd-card .rd-shape { transition: transform 1.1s cubic-bezier(.2, .9, .25, 1.05), opacity .5s; }
.rd-card .rd-gap li { transition: opacity .5s ease, transform .6s var(--ease-out); }
.rd-card.go .rd-gap li:nth-child(1) { transition-delay: .9s; } .rd-card.go .rd-gap li:nth-child(2) { transition-delay: 1.05s; }
@media (max-width: 640px) {
  .rd-card { padding: 14px 12px 12px; }
  .rd-n b { font-size: 38px; }
  .rd-chip { display: none; }
  .rd-lab { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .rd-card .rd-shape, .rd-card .rd-gap li { transition: none; } }

/* ── Language and currency (locale.js): a globe in the top bar, a row in the phone menu ── */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 999px; background: transparent;
  color: var(--white); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .2s; }
.lang-btn:hover { background: rgba(255, 255, 255, .14); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 220px; padding: 12px; border-radius: 18px; background: #0B1030;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; text-align: left; }
.lp-k { margin: 4px 6px 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8790BC; }
.lp-k + .lp-list { margin-bottom: 8px; }
.lp-list { display: grid; gap: 2px; }
.lp-list a, .lp-list button { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: #DCE2FF;
  font: inherit; font-size: 14.5px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.lp-list a:hover, .lp-list button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lp-list [aria-current="true"] { background: rgba(85, 119, 255, .22); color: #fff; }
.m-lang { width: 100%; text-align: left; }
.m-lang .lp-list { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.m-lang .lp-k { color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .lang { display: none; } }

.plan-ink .then { color: rgba(255, 255, 255, .74); }

/* Pay per vet (update 108): Live Monitoring as an add-on under the three vets, and the small print */
.plan-addon { display: flex; align-items: center; gap: 18px; max-width: 1000px; margin: 20px auto 0; padding: 22px 26px; border-radius: 26px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.plan-addon .pa-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); }
.plan-addon .pa-ic svg { width: 24px; height: 24px; }
.plan-addon h3 { margin: 0; font-size: 19px; font-weight: 750; font-stretch: 106%; }
.plan-addon h3 span { margin-left: 8px; font-size: 15px; font-weight: 650; color: var(--blue); white-space: nowrap; }
.plan-addon p { margin: 4px 0 0; font-size: 15px; color: var(--grey); }
.plan-fine { max-width: 760px; margin: 18px auto 0; font-size: 14px; text-align: center; color: var(--grey); text-wrap: balance; }
@media (max-width: 760px) { .plan-addon { align-items: flex-start; padding: 20px; } .plan-addon h3 span { display: block; margin: 2px 0 0; } }
/* the home page is for agencies only: no switch to the creator page (update 108) */
html[data-aud="brands"] #aud-switch, html[data-aud="brands"] #menu-aud { display: none; }

/* =========================================================
   Update 172: three parts of the update 165 design, back on this page
   ========================================================= */
/* The free-check box: Instagram and TikTok side by side in the box, ticks underneath */
.search:has(.plat-pick) { padding: 8px 8px 8px 10px; gap: 10px; }
.plat-pick { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: #F4F6FB; box-shadow: inset 0 0 0 1px #E2E6F0; }
.plat-pick button { width: 40px; height: 40px; border: 0; padding: 0; border-radius: 999px; background: transparent; cursor: pointer; display: grid; place-items: center;
  opacity: .45; transition: opacity .2s, background-color .2s, box-shadow .2s; }
.plat-pick button img { width: 22px; height: 22px; display: block; }
.plat-pick button:hover { opacity: .8; }
.plat-pick button[aria-pressed="true"] { opacity: 1; background: var(--white); box-shadow: 0 2px 8px -2px rgba(11, 16, 48, .25); }
.plat-pick button:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.search:has(.plat-pick) input { font-size: 18px; padding: 12px 0; }
.search:has(.plat-pick) .btn { padding: 16px 26px; }
.check-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 18px auto 0; font-size: 14.5px; color: var(--on-blue-soft); }
.check-note span { display: inline-flex; align-items: center; gap: 7px; }
.check-note svg { flex: none; color: var(--white); }
@media (max-width: 640px) {
  .search:has(.plat-pick) { flex-wrap: wrap; border-radius: 26px; padding: 8px; gap: 8px; }
  .search:has(.plat-pick) input { flex: 1 1 50%; font-size: 16px; padding: 10px 0; }
  .search:has(.plat-pick) .btn { flex: 1 1 100%; padding: 14px 20px; }
  .check-note { font-size: 13.5px; gap: 6px 14px; }
}

/* The price cards: white cards with a line above the list, outline buttons, the featured card in the blue */
#pricing .plan { padding: 30px 28px 28px; border-radius: 24px; background: var(--white); color: #0B1030;
  box-shadow: 0 0 0 1px #E2E6F0, 0 24px 48px -36px rgba(20, 30, 80, .45); }
#pricing .plan h3 { font-size: 22px; font-weight: 850; font-stretch: 110%; }
#pricing .plan .for { margin-top: 6px; font-size: 15px; color: #464F74; }
#pricing .plan .price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 0; }
#pricing .plan .price b { font-size: 54px; font-weight: 850; font-stretch: 112%; letter-spacing: -.04em; line-height: 1; }
#pricing .plan .price span { font-size: 15px; font-weight: 600; color: #626B90; }
#pricing .plan ul { flex: 1; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid #E2E6F0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: #464F74; }
#pricing .plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
#pricing .plan .btn { min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: 15.5px; font-weight: 750; }
#pricing .plan.featured { background: radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, .16), transparent 70%), var(--blue); color: var(--white);
  box-shadow: 0 40px 70px -32px rgba(36, 65, 216, .75); }
#pricing .plan.featured .for, #pricing .plan.featured ul { color: rgba(255, 255, 255, .88); }
#pricing .plan.featured .price span { color: rgba(255, 255, 255, .75); }
#pricing .plan.featured ul { border-top-color: rgba(255, 255, 255, .22); }
#pricing .plan.featured li svg { color: var(--white); }
#pricing .plan.featured .btn-white { color: var(--blue); box-shadow: 0 14px 30px -16px rgba(16, 30, 120, .7); }
#pricing .plan.featured .btn-white:hover { background: #EEF1FF; }
.btn-line { background: transparent; color: #0B1030; box-shadow: inset 0 0 0 1.5px #D3D9E8; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #626B90; }
@media (max-width: 640px) {
  #pricing .plan { padding: 24px 22px; }
  #pricing .plan .price b { font-size: 46px; }
}

/* The FAQ: the heading and a demo button on the left, the questions in one white card */
#faq.faq-sec { background: var(--paper); }
#faq .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
#faq .eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
#faq .faq-side .lede { margin-top: 18px; font-size: 17px; }
#faq .faq-side .lede a { color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
#faq .faq-side .btn { margin-top: 24px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15.5px; font-weight: 750; }
#faq .faq { border: 0; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px #E2E6F0; overflow: hidden; }
#faq .faq li { border: 0; }
#faq .faq li + li { border-top: 1px solid #E2E6F0; }
#faq .faq button { padding: 22px 26px; font-size: 17px; font-weight: 750; color: #0B1030; }
#faq .faq .plus { width: 28px; height: 28px; background: #F4F6FB; }
#faq .faq .plus::before, #faq .faq .plus::after { width: 11px; background: #464F74; }
#faq .faq button[aria-expanded="true"] .plus { background: #F4F6FB; transform: none; }
#faq .faq button[aria-expanded="true"] .plus::before, #faq .faq button[aria-expanded="true"] .plus::after { background: #464F74; }
#faq .faq .ans p { padding: 0 26px 22px; font-size: 15.5px; color: #464F74; max-width: 68ch; }
@media (max-width: 860px) { #faq .faq-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { #faq .faq button { padding: 18px; font-size: 16px; } #faq .faq .ans p { padding: 0 18px 18px; } }
