/* =====================================================================
   Peoplera — Professional Light Theme v2 (pure CSS)
   Fonts: Inter (UI/body) + Space Grotesk (display/numbers)
   Restrained, premium, modern SaaS. Mobile-first. No frameworks.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root{
  /* Neutral surfaces (cool, crisp) */
  --bg:#FCFCFD;
  --bg-alt:#F5F6F8;
  --surface:#FFFFFF;
  --ink:#0B0E16;
  --ink-2:#3A3F4C;
  --muted:#697086;
  --faint:#9AA1AF;
  --line:#ECEEF2;
  --line-2:#E1E4EA;

  /* Accent (refined brand orange, used sparingly) */
  --accent:#FF5A1F;
  --accent-2:#FF7A45;
  --accent-deep:#E64E16;
  --accent-soft:#FFF1EB;
  --accent-line:rgba(255,90,31,.22);
  --grad:linear-gradient(135deg,#FF7A45 0%,#FF5A1F 100%);

  /* Status */
  --green:#0E9F6E;
  --green-soft:#E7F7F0;
  --red:#E5484D;
  --red-soft:#FDECEC;
  --amber:#F5A623;
  --amber-soft:#FEF3E2;

  /* Depth */
  --sh-xs:0 1px 2px rgba(11,14,22,.05);
  --sh-sm:0 4px 14px -4px rgba(11,14,22,.10);
  --sh-md:0 16px 40px -16px rgba(11,14,22,.18);
  --sh-lg:0 40px 80px -28px rgba(11,14,22,.28);
  --ring:0 0 0 4px rgba(255,90,31,.15);

  /* Shape */
  --r-xs:10px;
  --r-sm:12px;
  --r:16px;
  --r-lg:22px;
  --r-xl:28px;
  --pill:999px;

  /* Layout */
  --container:1200px;
  --gutter:clamp(20px,4vw,40px);
  --section-y:clamp(72px,9vw,128px);

  --font:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display:"Inter Tight", "Inter", system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:92px; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation:none !important; transition:none !important; } }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font);
  font-size:clamp(15px,1vw,16px); line-height:1.6; font-weight:400;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  font-feature-settings:"cv05","ss01"; overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
::selection{ background:rgba(255,90,31,.18); }
:focus-visible{ outline:none; box-shadow:var(--ring); border-radius:8px; }

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.1; letter-spacing:-.022em; color:var(--ink); margin:0; text-wrap:balance; }
p{ text-wrap:pretty; }

/* ---------- Layout helpers ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--section-y); }
.section--tint{ background:var(--bg-alt); border-block:1px solid var(--line); }
.section-head{ max-width:720px; margin:0 auto clamp(40px,5vw,64px); text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent); background:transparent; border:0; padding:0; margin-bottom:18px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
.h1{ font-size:clamp(40px,5.4vw,66px); line-height:1.05; letter-spacing:-.038em; font-weight:600; }
.h2{ font-size:clamp(28px,3.5vw,44px); line-height:1.1; letter-spacing:-.032em; font-weight:600; }
.lead{ color:var(--muted); font-size:clamp(16.5px,1.3vw,19px); line-height:1.62; margin:18px 0 0; font-weight:450; }
.muted{ color:var(--muted); }
.text-grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- Buttons ---------- */
.btn{
  --h:48px; display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:var(--h); padding:0 20px; border-radius:var(--r-sm);
  font-family:var(--font); font-weight:600; font-size:15px; letter-spacing:-.01em;
  cursor:pointer; border:1px solid transparent; white-space:nowrap;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:active{ transform:translateY(0) scale(.99); }
.btn-primary{ background:linear-gradient(180deg,#FF6B33,#FF5A1F); color:#fff; box-shadow:inset 0 1px 0 rgba(255,255,255,.26), 0 1px 2px rgba(11,14,22,.10), 0 10px 22px -10px rgba(255,90,31,.6); }
.btn-primary:hover{ background:linear-gradient(180deg,#FF5A1F,#E64E16); transform:translateY(-2px); box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(11,14,22,.10), 0 18px 32px -12px rgba(255,90,31,.7); }
.btn svg{ transition:transform .16s ease; }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ transform:translateY(-2px); box-shadow:var(--sh-md); }
.btn-outline{ background:var(--surface); color:var(--ink); border-color:var(--line-2); box-shadow:var(--sh-xs); }
.btn-outline:hover{ border-color:var(--ink); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--ink-2); }
.btn-ghost:hover{ background:rgba(11,14,22,.05); color:var(--ink); }
.btn-sm{ --h:42px; font-size:14px; padding:0 16px; }
.btn-lg{ --h:54px; font-size:16px; padding:0 26px; }
.btn-block{ width:100%; }
.btn-google svg{ flex:0 0 auto; }

/* ---------- Cards ---------- */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(22px,2.4vw,30px); box-shadow:var(--sh-xs); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card-hover:hover{ transform:translateY(-4px); box-shadow:var(--sh-md); border-color:var(--line-2); }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal{ opacity:0; transform:translateY(20px); transition:opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); }
.js .reveal.on{ opacity:1; transform:none; }
.js .reveal[data-d="1"]{ transition-delay:.06s; }
.js .reveal[data-d="2"]{ transition-delay:.12s; }
.js .reveal[data-d="3"]{ transition-delay:.18s; }

/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */
.announce{ background:var(--ink); color:rgba(255,255,255,.92); text-align:center; font-size:13px; font-weight:500; padding:10px 16px; letter-spacing:-.01em; }
.announce b{ color:#fff; font-weight:700; }
.announce a{ color:var(--accent-2); font-weight:600; text-decoration:none; }
.announce a:hover{ color:#fff; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav{ position:sticky; top:0; z-index:60; }
.nav-inner{ display:flex; align-items:center; gap:18px; height:70px; background:rgba(252,252,253,.72); backdrop-filter:saturate(180%) blur(16px); border-bottom:1px solid transparent; transition:border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.nav.scrolled .nav-inner{ border-bottom-color:var(--line); background:rgba(252,252,253,.9); box-shadow:0 1px 0 rgba(11,14,22,.02); }
.brand{ display:inline-flex; align-items:center; gap:9px; }
.brand img{ height:28px; width:auto; }
.brand .word{ font-family:var(--font-display); font-weight:600; font-size:20px; letter-spacing:-.03em; }
.brand .peopl{ color:var(--ink); }
.brand .era{ color:var(--accent); }
.nav-links{ display:flex; align-items:center; gap:2px; margin-inline:auto; }
.nav-links a{ padding:9px 14px; border-radius:10px; font-weight:500; font-size:15px; color:var(--ink-2); transition:background .15s ease, color .15s ease; }
.nav-links a:hover{ background:rgba(11,14,22,.05); color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-burger{ display:none; width:44px; height:44px; border-radius:12px; border:1px solid var(--line-2); background:var(--surface); cursor:pointer; align-items:center; justify-content:center; flex:0 0 auto; }
.nav-burger span{ position:relative; width:18px; height:2px; background:var(--ink); border-radius:2px; }
.nav-burger span::before,.nav-burger span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); border-radius:2px; transition:transform .25s ease, top .25s ease; }
.nav-burger span::before{ top:-6px; } .nav-burger span::after{ top:6px; }
body.menu-open .nav-burger span{ background:transparent; }
body.menu-open .nav-burger span::before{ top:0; transform:rotate(45deg); }
body.menu-open .nav-burger span::after{ top:0; transform:rotate(-45deg); }

.mobile-menu{ position:fixed; inset:70px 0 0; z-index:55; background:var(--bg); display:flex; flex-direction:column; padding:14px var(--gutter) 40px; transform:translateX(100%); transition:transform .3s cubic-bezier(.22,.7,.2,1); overflow-y:auto; }
body.menu-open .mobile-menu{ transform:none; }
.mobile-menu .m-link{ font-size:17px; font-weight:600; padding:16px 4px; border-bottom:1px solid var(--line); color:var(--ink); }
.mobile-menu .m-actions{ display:grid; gap:12px; margin-top:24px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero{ position:relative; padding-block:clamp(56px,8vw,108px) clamp(48px,6vw,88px); overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(48% 42% at 78% 8%, rgba(255,122,69,.16), transparent 60%), radial-gradient(40% 38% at 10% 0%, rgba(255,90,31,.10), transparent 55%); }
.hero::after{ content:""; position:absolute; inset:0; z-index:-1; background-image:radial-gradient(circle, rgba(11,14,22,.05) 1px, transparent 1.4px); background-size:24px 24px; -webkit-mask:radial-gradient(75% 65% at 50% 30%, #000, transparent 75%); mask:radial-gradient(75% 65% at 50% 30%, #000, transparent 75%); opacity:.6; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,72px); align-items:center; }
.hero h1{ margin-top:20px; }
.hero .lead{ max-width:548px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:32px; }
.hero-actions .note{ font-size:13px; color:var(--muted); font-weight:500; }
.hero-proof{ display:flex; align-items:center; gap:14px; margin-top:30px; flex-wrap:wrap; }
.avatars{ display:flex; }
.avatars img,.avatars .more{ width:38px; height:38px; border-radius:50%; border:2.5px solid var(--surface); margin-left:-12px; box-shadow:0 2px 6px -1px rgba(11,14,22,.18); transition:transform .2s ease; }
.avatars img{ object-fit:cover; background:var(--bg-alt); }
.avatars .more{ display:flex; align-items:center; justify-content:center; background:var(--ink); color:#fff; font-size:11.5px; font-weight:700; letter-spacing:-.01em; }
.avatars img:first-child{ margin-left:0; }
.hero-proof:hover .avatars img,.hero-proof:hover .avatars .more{ transform:translateY(-2px); }
.proof-text{ font-size:13px; color:var(--muted); font-weight:500; line-height:1.4; }
.proof-text b{ color:var(--ink); font-weight:700; }
.stars{ display:inline-flex; gap:2px; color:var(--amber); }
.hero-trust{ margin-top:26px; font-size:13px; color:var(--muted); font-weight:500; display:flex; flex-direction:column; gap:8px; }
.hero-logos b{ color:var(--ink); font-weight:700; }

/* Product preview */
.preview{ position:relative; background:var(--surface); border-radius:var(--r-lg); border:1px solid var(--line); box-shadow:var(--sh-lg); overflow:hidden; }
.preview-bar{ display:flex; align-items:center; gap:7px; padding:13px 16px; border-bottom:1px solid var(--line); background:#fff; }
.preview-bar i{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.preview-bar .t{ margin-left:6px; font-size:12px; font-weight:600; color:var(--muted); }
.preview-bar .live{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:var(--green); }
.preview-bar .live::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.preview-body{ padding:16px; display:grid; gap:14px; grid-template-columns:1fr 1fr; background:linear-gradient(180deg,#fff,#FAFBFC); }
.pv-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px; }
.pv-card.full{ grid-column:1 / -1; }
.pv-h{ font-size:10.5px; font-weight:700; letter-spacing:.07em; color:var(--faint); text-transform:uppercase; }
.pv-score{ font-family:var(--font-display); font-weight:600; font-size:46px; line-height:1; letter-spacing:-.05em; }
.pv-score span{ font-size:18px; color:var(--faint); }
.pv-spark{ width:100%; height:36px; margin-top:8px; display:block; }
.pv-meter{ height:7px; border-radius:999px; background:rgba(11,14,22,.06); overflow:hidden; margin-top:12px; }
.pv-meter > i{ display:block; height:100%; border-radius:999px; background:var(--grad); }
.pv-pill{ display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:.01em; }
.pv-pill.crit{ background:var(--red-soft); color:var(--red); }
.pv-pill.high{ background:var(--amber-soft); color:#B5780C; }
.pv-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; font-weight:600; font-size:13.5px; }
.pv-row:first-of-type{ margin-top:14px; }
.pv-tags{ display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
.pv-tags span{ font-size:10px; font-weight:600; color:var(--muted); background:var(--bg-alt); border:1px solid var(--line); padding:3px 7px; border-radius:6px; }
.pv-brief{ display:flex; gap:9px; align-items:flex-start; font-size:12.5px; font-weight:500; color:var(--ink-2); padding-left:11px; border-left:2px solid var(--accent); }
.pv-brief + .pv-brief{ margin-top:9px; }
.pv-brief strong{ color:var(--ink); }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.truststrip{ border-block:1px solid var(--line); background:var(--surface); }
.truststrip-inner{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(20px,4vw,52px); padding-block:22px; }
.trust-item{ display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:14px; color:var(--ink-2); }
.trust-item svg{ color:var(--accent); flex:0 0 auto; }

/* =====================================================================
   GRIDS
   ===================================================================== */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.2vw,24px); }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,2.4vw,24px); }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,22px); }

/* Feature card */
.feature .num{ display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; border-radius:14px; background:var(--accent-soft); border:1px solid var(--accent-line); color:var(--accent); margin-bottom:20px; }
.feature .num svg{ width:24px; height:24px; }
.feature .klabel{ font-size:11.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--accent); }
.feature h3{ font-size:21px; margin:10px 0 8px; letter-spacing:-.02em; }
.feature p{ color:var(--muted); margin:0 0 18px; font-size:15px; }
.feature .learn{ font-weight:600; font-size:14px; color:var(--ink); display:inline-flex; gap:6px; align-items:center; transition:gap .2s ease, color .2s ease; }
.feature .learn:hover{ gap:10px; color:var(--accent); }

/* Output card */
.out-card{ position:relative; }
.out-card::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; border-radius:var(--r-lg) var(--r-lg) 0 0; background:var(--accent); }
.out-card.c-coral::before{ background:#FF6B6B; }
.out-card.c-amber::before{ background:var(--amber); }
.out-head{ display:flex; align-items:center; gap:10px; }
.out-ic{ width:30px; height:30px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.out-ic.accent{ background:var(--accent-soft); color:var(--accent); }
.out-ic.coral{ background:#FFECEC; color:#FF6B6B; }
.out-ic.amber{ background:var(--amber-soft); color:#B5780C; }
.out-tag{ font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--faint); }
.out-big{ font-family:var(--font-display); font-weight:600; font-size:32px; letter-spacing:-.04em; }
.out-line{ display:flex; gap:9px; align-items:flex-start; font-size:13.5px; font-weight:500; color:var(--ink-2); margin-top:11px; }
.out-line .b{ color:var(--accent); font-weight:700; line-height:1.5; font-size:9px; }

/* Stats */
.stat{ text-align:center; padding-block:clamp(26px,3vw,34px); }
.stat-ic{ width:52px; height:52px; border-radius:15px; margin:0 auto 16px; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); border:1px solid var(--accent-line); color:var(--accent); transition:transform .22s ease, box-shadow .22s ease; }
.card-hover:hover .stat-ic{ transform:translateY(-3px); box-shadow:0 8px 18px -8px rgba(255,90,31,.5); }
.stat .n{ font-family:var(--font-display); font-weight:600; font-size:clamp(38px,4.6vw,56px); letter-spacing:-.04em; color:var(--ink); }
.stat .n .text-grad,.stat .n.text-grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .d{ color:var(--muted); font-weight:500; margin-top:10px; max-width:260px; margin-inline:auto; font-size:14.5px; }

/* =====================================================================
   COMPARISON
   ===================================================================== */
.compare-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(32px,4vw,60px); align-items:center; }
.reasons{ list-style:none; counter-reset:r; margin:26px 0 0; padding:0; display:grid; gap:20px; }
.reasons li{ counter-increment:r; position:relative; padding-left:52px; color:var(--muted); font-size:15px; }
.reasons li::before{ content:counter(r,decimal-leading-zero); position:absolute; left:0; top:-2px; width:36px; height:36px; border-radius:11px; background:var(--surface); border:1px solid var(--line-2); color:var(--accent); font-family:var(--font-display); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; box-shadow:var(--sh-xs); }
.reasons li strong{ color:var(--ink); font-weight:600; }
.ctable{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-sm); overflow:hidden; }
.ctable .row{ display:grid; grid-template-columns:1.7fr .65fr .65fr; align-items:center; gap:8px; padding:15px 20px; border-bottom:1px solid var(--line); font-size:14px; }
.ctable .row:last-child{ border-bottom:0; }
.ctable .head{ background:var(--bg-alt); font-weight:600; }
.ctable .head .th{ text-align:center; font-family:var(--font-display); font-size:13.5px; }
.ctable .head .th.us{ color:var(--accent); }
.ctable .row > div:first-child{ font-weight:500; color:var(--ink-2); }
.ctable .yes,.ctable .no{ text-align:center; font-weight:700; }
.ctable .yes{ color:var(--green); } .ctable .no{ color:var(--faint); font-weight:500; font-size:13px; }
.ctable .yes svg{ color:var(--green); background:var(--green-soft); border-radius:50%; padding:4px; width:15px; height:15px; box-sizing:content-box; vertical-align:middle; }
.ctable .no svg{ color:var(--faint); vertical-align:middle; }
.ctable .row:not(.head) > .yes{ position:relative; }

/* =====================================================================
   INTEGRATIONS
   ===================================================================== */
.int-card{ display:flex; flex-direction:column; gap:14px; }
.int-top{ display:flex; align-items:center; gap:12px; }
.int-logo{ width:46px; height:46px; border-radius:13px; display:inline-flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:14px; color:#fff; flex:0 0 auto; }
.int-title{ font-family:var(--font-display); font-weight:600; font-size:18px; letter-spacing:-.02em; }
.int-card p{ color:var(--muted); margin:0; font-size:14px; }

/* =====================================================================
   SECURITY
   ===================================================================== */
.sec-card{ text-align:left; }
.sec-ic{ width:48px; height:48px; border-radius:14px; background:var(--accent-soft); border:1px solid var(--accent-line); display:flex; align-items:center; justify-content:center; color:var(--accent); margin-bottom:16px; }
.sec-card h3{ font-size:17px; letter-spacing:-.02em; }
.sec-card p{ color:var(--muted); font-size:14px; margin:6px 0 0; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.quote{ display:flex; flex-direction:column; gap:18px; }
.quote .stars{ color:var(--amber); }
.quote p{ font-size:16px; line-height:1.6; color:var(--ink); margin:0; font-weight:450; letter-spacing:-.01em; }
.quote .who{ display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:6px; }
.quote .av{ width:46px; height:46px; border-radius:50%; object-fit:cover; background:var(--bg-alt); border:2px solid var(--surface); box-shadow:0 3px 10px -3px rgba(11,14,22,.25); flex:0 0 auto; }
.quote .who b{ display:block; font-size:14px; color:var(--ink); }
.quote .who span{ font-size:12.5px; color:var(--muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq{ max-width:800px; margin-inline:auto; display:grid; gap:12px; }
.faq details{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--sh-xs); overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease; }
.faq details[open]{ border-color:var(--line-2); box-shadow:var(--sh-sm); }
.faq summary{ list-style:none; cursor:pointer; padding:20px 22px; font-weight:600; font-size:16px; display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--ink); letter-spacing:-.01em; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .pm{ flex:0 0 auto; width:22px; height:22px; position:relative; }
.faq summary .pm::before,.faq summary .pm::after{ content:""; position:absolute; inset:0; margin:auto; background:var(--accent); border-radius:2px; }
.faq summary .pm::before{ width:13px; height:2px; }
.faq summary .pm::after{ width:2px; height:13px; transition:transform .25s ease, opacity .25s ease; }
.faq details[open] summary .pm::after{ transform:rotate(90deg); opacity:0; }
.faq .a{ padding:0 22px 22px; color:var(--muted); font-size:15px; line-height:1.65; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band{ position:relative; border-radius:var(--r-xl); padding:clamp(36px,5vw,64px); overflow:hidden; background:var(--ink); color:#fff; }
.cta-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(50% 120% at 100% 0%, rgba(255,90,31,.5), transparent 55%), radial-gradient(45% 120% at 0% 100%, rgba(255,122,69,.32), transparent 55%); }
.cta-band::after{ content:""; position:absolute; inset:0; background-image:radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.4px); background-size:26px 26px; opacity:.5; }
.cta-band .inner{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; font-size:clamp(26px,3vw,38px); max-width:640px; }
.cta-band p{ color:rgba(255,255,255,.74); margin:12px 0 0; max-width:560px; font-size:16px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{ background:var(--surface); border-top:1px solid var(--line); padding-block:clamp(48px,6vw,72px) 28px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 2fr; gap:clamp(32px,4vw,60px); }
.footer-tag{ color:var(--muted); margin-top:16px; max-width:300px; font-size:14.5px; }
.footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.footer-cols .ct{ font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); margin-bottom:14px; }
.footer-cols a{ display:block; color:var(--ink-2); font-weight:500; padding:6px 0; font-size:14.5px; transition:color .15s ease; }
.footer-cols a:hover{ color:var(--accent); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-top:clamp(32px,4vw,48px); padding-top:24px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; font-weight:500; }

/* =====================================================================
   COOKIE BANNER
   ===================================================================== */
.cookie{ position:fixed; left:18px; right:auto; bottom:18px; z-index:9990; max-width:392px; background:var(--ink); color:#fff; border-radius:var(--r); box-shadow:var(--sh-lg); padding:16px 18px; display:none; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cookie.show{ display:flex; }
.cookie p{ margin:0; font-size:13px; color:rgba(255,255,255,.82); line-height:1.5; flex:1 1 240px; }
.cookie a{ color:var(--accent-2); font-weight:600; }

/* =====================================================================
   DEMO MODAL
   ===================================================================== */
.modal{ position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(11,14,22,.5); backdrop-filter:blur(8px); }
.modal.show{ display:flex; }
.modal-card{ position:relative; width:100%; max-width:472px; max-height:92vh; overflow-y:auto; background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--sh-lg); padding:clamp(24px,3vw,32px); }
.modal-close{ position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:10px; border:1px solid var(--line); background:var(--bg); font-size:20px; line-height:1; color:var(--muted); cursor:pointer; transition:color .15s ease, border-color .15s ease; }
.modal-close:hover{ color:var(--ink); border-color:var(--line-2); }
.modal h3{ font-size:22px; letter-spacing:-.02em; }
.modal .sub{ color:var(--muted); font-size:14px; margin-top:6px; }
.field{ margin-top:16px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:7px; }
.field .req{ color:var(--accent); }
.input{ width:100%; padding:12px 14px; border:1px solid var(--line-2); border-radius:var(--r-sm); font-size:15px; font-family:inherit; background:var(--bg); color:var(--ink); transition:border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.input::placeholder{ color:var(--faint); }
.input:focus{ outline:none; border-color:var(--accent); box-shadow:var(--ring); background:var(--surface); }
textarea.input{ resize:vertical; min-height:84px; }
.form-error{ display:none; color:var(--red); font-size:13px; font-weight:600; margin-top:12px; }
.hp{ position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; opacity:0; pointer-events:none; }
.modal .btn{ margin-top:20px; }

/* =====================================================================
   SUBPAGES: page hero, steps, pricing, legal
   ===================================================================== */
/* Page hero (subpages) */
.page-hero{ position:relative; padding-block:clamp(54px,7vw,96px) clamp(10px,3vw,28px); overflow:hidden; text-align:center; }
.page-hero::before{ content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(50% 70% at 50% 0%, rgba(255,122,69,.13), transparent 68%); }
.page-hero .container{ max-width:800px; }
.page-hero .lead{ margin-inline:auto; max-width:620px; }

/* How-it-works steps */
.step{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center; padding-block:clamp(30px,4vw,48px); }
.step + .step{ border-top:1px solid var(--line); }
.step.rev .step-media{ order:-1; }
.step-num{ width:42px; height:42px; border-radius:12px; background:var(--ink); color:#fff; font-family:var(--font-display); font-weight:600; font-size:17px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.step h2{ font-size:clamp(23px,2.6vw,31px); }
.step p{ color:var(--muted); margin:14px 0 0; font-size:15.5px; }
.step .note-box{ margin-top:16px; padding:14px 16px; border:1px solid var(--line); background:var(--bg-alt); border-radius:var(--r); }
.step .note-box .nl{ font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--faint); margin-bottom:6px; }
.step .note-box p{ margin:0; font-size:13.5px; }
.step-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.chip{ font-size:12.5px; font-weight:600; color:var(--ink-2); background:var(--surface); border:1px solid var(--line-2); border-radius:var(--pill); padding:7px 13px; }
.signal-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; }
.signal{ display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:500; color:var(--ink-2); background:var(--surface); border:1px solid var(--line); border-radius:11px; padding:10px 12px; }
.signal svg{ color:var(--accent); flex:0 0 auto; }
.risk-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.risk{ font-size:11px; font-weight:700; padding:5px 11px; border-radius:999px; }
.risk.low{ background:var(--green-soft); color:var(--green); }
.risk.med{ background:var(--amber-soft); color:#9a6b08; }
.risk.high{ background:rgba(249,115,22,.12); color:#c2410c; }
.risk.crit{ background:var(--red-soft); color:var(--red); }
/* generic mock cell for hiw visuals */
.mock-stat{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; }
.mock-stat > div{ background:var(--bg-alt); border:1px solid var(--line); border-radius:11px; padding:11px; text-align:center; }
.mock-stat b{ font-family:var(--font-display); font-weight:600; font-size:18px; display:block; }
.mock-stat span{ font-size:10px; font-weight:600; color:var(--muted); }
.mock-row{ display:flex; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:12px; }
.mock-row + .mock-row{ margin-top:9px; }
.mock-row .nm{ font-weight:600; font-size:13.5px; }
.mock-row .sub{ font-size:11.5px; color:var(--muted); font-weight:500; }
.mock-row .sc{ margin-left:auto; text-align:right; }
.mock-row .sc b{ font-family:var(--font-display); font-weight:600; font-size:20px; }

/* Pricing */
.price-card{ max-width:560px; margin-inline:auto; text-align:center; }
.price-amount{ font-family:var(--font-display); font-weight:600; font-size:clamp(46px,7vw,72px); letter-spacing:-.04em; line-height:1; margin:16px 0 4px; }
.price-amount .per{ font-size:18px; color:var(--faint); font-weight:500; }
.price-list{ list-style:none; margin:24px 0 0; padding:0; display:grid; gap:13px; text-align:left; }
.price-list li{ display:flex; gap:11px; align-items:flex-start; font-size:15px; color:var(--ink-2); }
.price-list li svg{ color:var(--green); flex:0 0 auto; margin-top:1px; }

/* Legal / prose */
.legal{ max-width:760px; margin-inline:auto; }
.legal-meta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; margin-bottom:8px; padding:14px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); font-size:13.5px; color:var(--muted); }
.legal-meta a{ color:var(--accent); font-weight:600; }
.legal-item{ padding-block:26px; border-top:1px solid var(--line); }
.legal-item h2{ font-size:20px; margin-bottom:12px; letter-spacing:-.02em; }
.legal-item p{ color:var(--muted); font-size:15.5px; line-height:1.78; margin:0 0 12px; }
.legal-item p:last-child{ margin-bottom:0; }
.legal-item a{ color:var(--accent); font-weight:600; }
.legal-item ul{ margin:6px 0 0; padding-left:20px; color:var(--muted); display:grid; gap:6px; font-size:15px; }

/* =====================================================================
   FINISHING DETAILS
   ===================================================================== */
/* Refined typography wrapping */
.lead,.feature p,.sec-card p,.int-card p,.quote p,.faq .a{ text-wrap:pretty; }

/* Custom scrollbar */
*{ scrollbar-width:thin; scrollbar-color:var(--line-2) transparent; }
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:var(--line-2); border-radius:999px; border:3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover{ background:var(--faint); }

/* Gentle float on the hero preview (disabled under reduced-motion globally) */
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
.hero-right{ position:relative; }
.hero-right .preview{ animation:floaty 7s ease-in-out infinite; will-change:transform; }

/* Floating status badges over the hero preview */
.fbadge{ position:absolute; z-index:3; display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-md); border-radius:var(--pill); padding:9px 14px; font-size:12.5px; font-weight:700; color:var(--ink); white-space:nowrap; letter-spacing:-.01em; }
.fbadge svg{ flex:0 0 auto; }
.fbadge .fb-dot{ width:8px; height:8px; border-radius:50%; flex:0 0 auto; }
.fbadge .fb-dot.red{ background:var(--red); animation:redPulse 2s ease-out infinite; }
@keyframes redPulse{ 0%{ box-shadow:0 0 0 0 rgba(229,72,77,.5); } 70%{ box-shadow:0 0 0 7px rgba(229,72,77,0); } 100%{ box-shadow:0 0 0 0 rgba(229,72,77,0); } }
.fbadge-tr{ top:26px; right:-14px; animation:floaty 6s ease-in-out infinite; }
.fbadge-bl{ bottom:34px; left:-16px; animation:floaty 7.5s ease-in-out .6s infinite; }

/* Pulsing "Live" indicator */
@keyframes livePulse{ 0%{ box-shadow:0 0 0 0 rgba(14,159,110,.5); } 70%{ box-shadow:0 0 0 7px rgba(14,159,110,0); } 100%{ box-shadow:0 0 0 0 rgba(14,159,110,0); } }
.preview-bar .live::before{ animation:livePulse 2.2s ease-out infinite; }

/* Icon micro-interaction on card hover */
.feature .num,.sec-ic{ transition:transform .22s ease, box-shadow .22s ease; }
.card-hover:hover .num,.card-hover:hover .sec-ic{ transform:translateY(-3px); box-shadow:0 8px 18px -8px rgba(255,90,31,.5); }
.int-logo{ transition:transform .22s ease; }
.card-hover:hover .int-logo{ transform:scale(1.06) rotate(-2deg); }

/* Comparison: highlight the Peoplera column */
.ctable .row > div:nth-child(2){ background:var(--accent-soft); color:var(--ink); font-weight:700; }
.ctable .head > div:nth-child(2){ box-shadow:inset 0 -1px 0 var(--accent-line); }
.ctable .row:not(.head){ transition:background .15s ease; }
.ctable .row:not(.head):hover{ background:#FBFAFB; }
.ctable .row:not(.head):hover > div:nth-child(2){ background:#FFE9DF; }

/* FAQ summary hover */
.faq summary:hover{ background:rgba(11,14,22,.018); }

/* Trust + footer link micro-feedback */
.trust-item{ transition:color .15s ease; }
.trust-item:hover{ color:var(--ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; gap:clamp(32px,5vw,44px); }
  .hero .lead{ max-width:620px; }
  .compare-grid{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-cta .btn-google,.nav-cta .signin-hint{ display:none; }
  .nav-burger{ display:inline-flex; }
  .nav-cta{ margin-left:auto; }
  .grid-3{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .footer-cols{ grid-template-columns:repeat(2,1fr); }
  .cta-band .inner{ flex-direction:column; align-items:flex-start; }
  .preview-body{ grid-template-columns:1fr; }
  .step{ grid-template-columns:1fr; gap:28px; }
  .step.rev .step-media{ order:0; }
  .fbadge{ display:none; }
}
@media (max-width:560px){
  :root{ --section-y:clamp(52px,13vw,76px); }
  .grid-2,.grid-4{ grid-template-columns:1fr; }
  .hero-actions .btn{ width:100%; }
  .footer-cols{ grid-template-columns:1fr 1fr; }
  .ctable .row{ grid-template-columns:1.5fr .5fr .5fr; padding:13px 14px; font-size:13px; }
  .cookie{ inset:auto 10px 10px; }
  .signal-grid{ grid-template-columns:1fr; }
}
@media (min-width:861px){ .mobile-menu{ display:none !important; } }
