/* ============================================================
   ImageWiper — Landing site styles
   Clean / calm / modern, slightly playful. Distraction-free.
   ============================================================ */

:root {
  /* Brand — matched to app icon (blue #0070f7 → violet #5a31ec) */
  --grad: linear-gradient(135deg, #1f6bf6 0%, #5a31ec 100%);
  --grad-soft: linear-gradient(135deg, rgba(31,107,246,0.13), rgba(90,49,236,0.13));
  --indigo: #2f6bf3;
  --violet: #5a31ec;

  /* Accents */
  --green: #4CAF50;
  --green-dark: #3d9140;
  --blue: #006dfd;
  --gold: #ffd700;

  /* Neutrals */
  --text: #333333;
  --muted: #666666;
  --faint: #8a8a8a;
  --surface: #f5f5f5;
  --surface-2: #f0f0f0;
  --border: #eeeeee;
  --border-2: #cccccc;
  --white: #ffffff;

  /* Shape */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 18px 48px rgba(47,55,140,0.24);

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1120px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; color: #1f1f23; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Keyboard chip ─────────────────────────────────────────── */
.kbd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.kbd .key {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-bottom-width: 2px;
  border-radius: var(--r-sm);
  color: #444;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  line-height: 1;
}
.kbd .plus { color: var(--faint); font-family: var(--sans); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(47,107,243,0.5); outline-offset: 2px; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(76,175,80,0.32); }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(76,175,80,0.4); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(47,55,140,0.34); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47,55,140,0.46); filter: saturate(1.05); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--indigo); color: var(--indigo); background: var(--grad-soft); }
.btn--white { background: #fff; color: var(--violet); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); box-shadow: 0 2px 16px rgba(0,0,0,0.06); border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 700; color: #1f1f23; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; border-radius: 7px; display: block; filter: drop-shadow(0 2px 5px rgba(47,55,140,0.28)); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .18s ease; }
.nav-links a:hover { color: var(--indigo); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; overflow: hidden; }
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; border-radius: 50%;
  background: var(--grad); opacity: 0.16; filter: blur(80px);
  top: -260px; right: -160px;
}
.hero-glow.two { left: -240px; right: auto; top: 160px; width: 520px; height: 520px; opacity: 0.1; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.55; max-width: 500px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { margin-top: 22px; display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 14px; flex-wrap: wrap; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 9px; margin-bottom: 22px; white-space: nowrap;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.hero-eyebrow .he-logos { display: inline-flex; align-items: center; gap: 4px; }
.hero-eyebrow .blogo { width: 20px; height: 20px; }
.blogo { width: 18px; height: 18px; display: block; flex: none; }
.blogo--btn { width: 18px; height: 18px; margin-right: -2px; }
.store-signal { margin-top: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.store-signal .stars { font-size: 15px; }
.store-signal b { color: #1f1f23; font-weight: 700; }
.store-signal .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); }
.trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); }
.browser-logos { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.browser-logos .blogo { width: 18px; height: 18px; }
.bchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ── Demo browser window ───────────────────────────────────── */
.demo { position: relative; }
.win {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f7f7f9; border-bottom: 1px solid var(--border); }
.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 12px; height: 12px; border-radius: 50%; }
.win-dots .r { background: #ff5f57; } .win-dots .y { background: #febc2e; } .win-dots .g { background: #28c840; }
.win-url { flex: 1; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 12.5px; color: var(--faint); }
.win-url .lock { width: 11px; height: 11px; opacity: .6; }
.win-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  background: var(--green); color: #fff;
  opacity: 0; transform: scale(0.8); transition: opacity .3s ease, transform .3s ease;
  box-shadow: 0 2px 8px rgba(76,175,80,0.4);
}
.win-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
.win.wiped .win-badge { opacity: 1; transform: scale(1); }
.win.wiped .win-badge .pulse { animation: badge-pulse 1.6s ease-out infinite; }
@keyframes badge-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6);} 70%{ box-shadow:0 0 0 6px rgba(255,255,255,0);} 100%{ box-shadow:0 0 0 0 rgba(255,255,255,0);} }

.page { padding: 22px; height: 392px; overflow: hidden; position: relative; }
.page-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo); }
.page h3 { font-size: 21px; margin-top: 8px; color: #1f1f23; letter-spacing: -0.02em; }
.page .byline { font-size: 12px; color: var(--faint); margin-top: 6px; }
.page p.copy { font-size: 13px; color: #555; margin-top: 14px; line-height: 1.62; }

/* media blocks that get wiped */
.media {
  margin-top: 16px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  transition: opacity .42s ease, transform .42s ease, max-height .42s ease, margin .42s ease, filter .42s ease;
  transform-origin: top;
}
.media.hero-img { height: 132px; background: linear-gradient(120deg,#7f8cf0,#a86fd6 55%,#f0a3c0); }
.media.video { height: 150px; background: #15151c; display: flex; align-items: center; justify-content: center; }
.media.video::after { content:""; }
.media .play { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.media .play::before { content:""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #15151c; margin-left: 3px; }
.media .vlabel { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.55); padding: 3px 8px; border-radius: 4px; }
.media .tag { position: absolute; top: 10px; left: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.35); padding: 4px 8px; border-radius: 5px; backdrop-filter: blur(2px); }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-row .media { margin-top: 16px; height: 92px; }
.media-row .m1 { background: linear-gradient(120deg,#ffd28a,#ff8a8a); }
.media-row .m2 { background: linear-gradient(120deg,#8ad0ff,#6f8cff); }

.win.wiped .media { opacity: 0; max-height: 0 !important; height: 0 !important; margin: 0; transform: scaleY(0.4); filter: blur(4px); }

/* wiped placeholder line that appears in place */
.wiped-note {
  margin-top: 14px; font-size: 12px; color: var(--faint);
  display: flex; align-items: center; gap: 8px;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .4s ease .15s, max-height .4s ease;
}
.win.wiped .wiped-note { opacity: 1; max-height: 40px; }
.wiped-note .tick { color: var(--green); font-weight: 700; }

/* demo controls */
.demo-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.try-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.try-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--indigo); }
.try-chip:focus-visible { outline: 3px solid rgba(47,107,243,0.5); outline-offset: 2px; }
.try-chip .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.try-chip.pressed .key { background: var(--grad); color: #fff; border-color: transparent; }
.demo-state { font-size: 13px; color: var(--faint); min-width: 116px; }
.demo-state b { color: var(--green); }

/* ── How it works ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; }
.step .num { position: absolute; top: -16px; left: 28px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; box-shadow: 0 4px 10px rgba(47,55,140,0.38); }
.step .icon { font-size: 30px; margin-top: 10px; }
.step h3 { font-size: 19px; margin-top: 16px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--border-2); }

/* ── Features grid ─────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e3def4; }
.feature .ico {
  width: 50px; height: 50px; border-radius: var(--r-md);
  background: var(--grad-soft); display: flex; align-items: center; justify-content: center;
  font-size: 25px;
}
.feature h3 { font-size: 18px; margin-top: 18px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.feature p .ic { font-family: var(--mono); font-size: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; color: #555; }

/* ── Use cases ─────────────────────────────────────────────── */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usecase { text-align: left; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid transparent; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.usecase:hover { transform: translateY(-3px); background: #fff; border-color: var(--border); box-shadow: var(--shadow-sm); }
.usecase .ico { font-size: 30px; }
.usecase h3 { font-size: 17px; margin-top: 14px; }
.usecase p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ── Social proof / testimonials ───────────────────────────── */
.proof-stat { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 48px; }
.stars { display: inline-flex; gap: 3px; color: #f5a623; font-size: 20px; line-height: 1; letter-spacing: 1px; }
.proof-stat .stat-line { font-size: 17px; color: var(--text); }
.proof-stat .stat-line b { color: #1f1f23; font-weight: 700; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e3def4; }
.tcard .stars { font-size: 15px; margin-bottom: 14px; }
.tcard blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: #444; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.tcard .who .name { font-size: 14.5px; font-weight: 700; color: #1f1f23; }
.tcard .who .role { font-size: 13px; color: var(--faint); }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; }
.plan--free { }
.plan--pro { border: none; background: #fff; }
.plan--pro::before {
  content:""; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.ribbon { position: absolute; top: 20px; right: -2px; white-space: nowrap; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 6px 16px 6px 14px; border-radius: var(--r-pill) 0 0 var(--r-pill); box-shadow: 0 4px 12px rgba(47,55,140,0.32); }
.plan .plan-name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.pro-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--r-pill); background: var(--gold); color: #333; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-size: 46px; font-weight: 800; color: #1f1f23; letter-spacing: -0.03em; }
.price .per { font-size: 15px; color: var(--faint); }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 20px; }
.plan .feats { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.feat-line { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: #444; }
.feat-line .ck { flex: none; width: 21px; height: 21px; border-radius: 50%; background: rgba(76,175,80,0.14); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.feat-line.star .ck { background: var(--grad-soft); color: var(--violet); }
.feat-line .soon { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet); background: var(--grad-soft); padding: 2px 7px; border-radius: var(--r-pill); margin-left: 2px; white-space: nowrap; align-self: center; }
.plan .btn { margin-top: 28px; }
.pay-note { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--faint); }
.pay-note .lock { width: 11px; height: 11px; vertical-align: -1px; margin-right: 4px; opacity: .6; }
.install-notice {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.install-notice code { font-family: var(--mono); font-size: 12px; background: #fff; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }
.activate-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--faint); }
.link-btn {
  background: none; border: none; padding: 0; font: inherit; font-weight: 600;
  color: var(--indigo); cursor: pointer; text-decoration: underline;
}
.link-btn:hover { color: var(--violet); }
.checkout-hint {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.35);
  font-size: 14px; color: #2e6b32; line-height: 1.55;
}
.checkout-hint p { margin: 0; }

/* ── Pricing: how it's enforced + popup mock ───────────────── */
.enforce {
  margin-top: 48px; max-width: 880px; margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 36px;
}
.enforce-copy h3 { font-size: 20px; }
.enforce-copy p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.enforce-copy .pay-note { margin-top: 16px; text-align: left; }
.popup-mock {
  width: 100%; max-width: 280px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md);
  box-shadow: var(--shadow); overflow: hidden;
}
.pm-head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.pm-icon { width: 24px; height: 24px; border-radius: 6px; }
.pm-name { font-size: 14px; font-weight: 700; color: #1f1f23; flex: 1; }
.pm-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--green); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; }
.pm-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pm-body { padding: 16px 14px; }
.pm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pm-label { font-size: 12px; color: var(--muted); }
.pm-count { font-size: 13px; color: var(--faint); }
.pm-count b { color: #1f1f23; font-weight: 700; }
.pm-bar { margin-top: 10px; height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.pm-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad); }
.pm-hint { margin-top: 10px; font-size: 11.5px; color: var(--faint); }
.pm-cta { margin-top: 14px; width: 100%; height: 38px; border: none; border-radius: var(--r-sm); background: var(--grad); color: #fff; font-family: var(--sans); font-size: 13.5px; font-weight: 600; cursor: pointer; }

/* ── Privacy / trust ───────────────────────────────────────── */
.privacy { background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px; }
.trust-card .ico { font-size: 26px; }
.trust-card h3 { font-size: 16px; margin-top: 14px; }
.trust-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 600; color: #1f1f23; text-align: left; }
.faq-q:hover { color: var(--indigo); }
.faq-q:focus-visible { outline: 3px solid rgba(47,107,243,0.4); outline-offset: 3px; border-radius: var(--r-sm); }
.faq-q .chev { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--indigo); transition: transform .3s ease; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 660px; }
.faq-a .kbd .key { background: var(--surface); }

/* ── Final CTA ─────────────────────────────────────────────── */
.final { background: var(--grad); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::after { content:""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -10%, rgba(255,255,255,0.18), transparent 70%); pointer-events: none; }
.final h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); position: relative; }
.final p { margin-top: 16px; color: rgba(255,255,255,0.85); font-size: 18px; position: relative; }
.final .final-lead { max-width: 600px; margin: 18px auto 0; font-size: clamp(18px, 2.4vw, 22px); color: rgba(255,255,255,0.94); line-height: 1.5; }
.final .final-press { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: #fff; }
.final .final-press .kbd { font-size: 15px; }
.final .final-press .kbd .plus { color: rgba(255,255,255,0.75); }
.final .final-note { margin-top: 20px; color: rgba(255,255,255,0.78); font-size: 15px; }
.final .btn { margin-top: 30px; position: relative; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: #1b1b22; color: #cfcfd6; padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer-tag { margin-top: 14px; color: #9a9aa5; font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a96; margin-bottom: 16px; }
.footer-col a { display: block; color: #cfcfd6; font-size: 14.5px; padding: 6px 0; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2c2c35; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7d7d89; font-size: 13.5px; }
.footer-bottom .browser-logos .blogo { width: 22px; height: 22px; opacity: 0.6; }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
.reveal.d5 { transition-delay: .35s; }

/* ── Mobile menu panel ─────────────────────────────────────── */
.mobile-menu { display: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 620px; }
  .demo { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}

@media (max-width: 767px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border);
    background: #fff; cursor: pointer; color: #1f1f23;
  }
  .nav-toggle svg { width: 22px; height: 22px; }

  .mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 12px 24px 22px;
    display: block;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 13px 4px; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 16px; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 30px; }
  .enforce { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .popup-mock { order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .page { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
