/* piggylover.com. Builds on tokens.css and controls.css (copies of ui/ in the repo). See brand/BRAND.md. */
:root {
  color-scheme: light dark;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8.5vw, 120px);
  --card-radius: 28px;
  --lens: #2B2F38;
  --code-bg: #15181E;
  --code-ink: #E6E8EE;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--pb-paper);
  color: var(--pb-ink);
  font: 17px/1.6 var(--pb-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pb-blue); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--pb-blue); outline-offset: 3px; border-radius: 8px; }
code, pre { font-family: var(--pb-mono); }
p code, li code, dd code { padding: 1px 6px; border-radius: 6px; background: color-mix(in srgb, var(--pb-ink) 7%, transparent); font-size: 0.86em; }
::selection { background: color-mix(in srgb, var(--pb-pink) 45%, transparent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--pb-blue); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
section { position: relative; padding-block: var(--section); scroll-margin-top: 64px; }

/* A soft wash of the three brand colours behind the glass. */
.wash { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.wash::before, .wash::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); }
.page-wash {
  position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
  background:
    radial-gradient(46rem 32rem at 4% -4%, color-mix(in srgb, var(--pb-pink) 34%, transparent), transparent 70%),
    radial-gradient(40rem 30rem at 100% 6%, color-mix(in srgb, var(--pb-blue) 22%, transparent), transparent 70%),
    radial-gradient(44rem 26rem at 60% 100%, color-mix(in srgb, var(--pb-green) 14%, transparent), transparent 70%);
}

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--pb-muted); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pb-pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pb-pink) 25%, transparent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.lead { max-width: 40rem; margin: 20px 0 0; color: var(--pb-muted); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; text-wrap: pretty; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.muted { color: var(--pb-muted); }
.block { display: block; }

/* Glass card */
.card {
  position: relative;
  border: 1px solid var(--pb-glass-edge);
  border-radius: var(--card-radius);
  background: var(--pb-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--pb-glass-edge), 0 0 0 1px var(--pb-glass-line), var(--pb-lift);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--pb-glass-edge);
  border-radius: 999px;
  background: var(--pb-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--pb-glass-line);
  color: var(--pb-muted);
  font-size: 14px; font-weight: 600; line-height: 1.3;
  white-space: nowrap;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.top.scrolled {
  background: color-mix(in srgb, var(--pb-paper) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: var(--pb-glass-line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--pb-ink); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.lockup img { width: 38px; height: 38px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--pb-muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--pb-ink); background: color-mix(in srgb, var(--pb-ink) 6%, transparent); }
.top .pb-btn { margin-left: 8px; }
@media (max-width: 860px) {
  .nav { display: none; }
  .top .pb-btn { margin-left: auto; }
}

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-title {
  font-size: clamp(38px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  padding-top: 0.5em;
}
.hero-title .line { display: block; white-space: nowrap; }
.fix { position: relative; display: inline-block; }
.fix .old { color: color-mix(in srgb, var(--pb-ink) 38%, transparent); }
/* The strike: a pink marker line drawn across "Factor". */
.fix .old::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%;
  height: 0.09em; border-radius: 0.05em;
  background: var(--pb-pink-deep);
  transform: rotate(-3deg) scaleX(0); transform-origin: left center;
  animation: strike 0.5s 0.5s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
.fix .new {
  position: absolute; left: 50%; bottom: 72%;
  color: var(--pb-pink-deep);
  font-size: 0.8em;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-6deg);
  opacity: 0;
  animation: write 0.55s 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes strike { to { transform: rotate(-3deg) scaleX(1); } }
@keyframes write { from { opacity: 0; transform: translateX(-50%) translateY(0.3em) rotate(-6deg) scale(0.8); } to { opacity: 1; transform: translateX(-50%) rotate(-6deg); } }
.hero .lead { margin-top: 28px; max-width: 34rem; }
.hero .lead strong { color: var(--pb-ink); font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.pb-btn.big { min-height: 56px; padding: 0 28px; font-size: 17px; font-weight: 700; }
.pb-btn svg { width: 20px; height: 20px; flex: none; }
.pb-btn .arrow { transition: transform 0.2s ease; }
.pb-btn:hover .arrow { transform: translateX(3px); }
.hint { margin: 18px 0 0; color: var(--pb-muted); font-size: 15px; }
.hint code { font-weight: 700; color: var(--pb-ink); }

/* The scanner: a phone-shaped lens, a line around it, the judge at the bottom. */
.scanner { position: relative; margin: 0; display: grid; justify-items: center; gap: 18px; }
.stage { position: relative; width: min(330px, 78vw); }
.lens-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(20, 22, 26, 0.22)); }
.lens-frame { fill: color-mix(in srgb, var(--pb-paper) 70%, transparent); stroke: var(--pb-glass-line); }
.ring { fill: none; stroke-width: 3; stroke-linecap: round; }
.ring-track { stroke: color-mix(in srgb, var(--pb-ink) 14%, transparent); }
.ring-green { stroke: var(--pb-green); stroke-dasharray: 100 200; stroke-dashoffset: 100; opacity: 0; animation: ring-green 10s infinite; }
.ring-pink { stroke: var(--pb-pink); stroke-dasharray: 100 200; stroke-dashoffset: 100; opacity: 0; animation: ring-pink 10s infinite; }
.guide { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 2.4; filter: url(#glow); opacity: 0; animation: guide 10s infinite; }
.foot { opacity: 0; animation: foot 10s infinite; }
.toes { transform-box: fill-box; transform-origin: 50% 100%; animation: toes 10s infinite; }
.ripple { fill: none; stroke: var(--pb-pink); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ripple 10s infinite; }
.ripple.r2 { animation-name: ripple2; }
.ripple.r3 { animation-name: ripple3; }
.judge-tile { fill: rgba(255, 255, 255, 0.16); stroke: rgba(255, 255, 255, 0.35); animation: judge 10s infinite; }
.judge-pig { transform-box: fill-box; transform-origin: center bottom; animation: bob 2.4s ease-in-out infinite; }
.judge-check { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: check 10s infinite; }
.scan-beam { opacity: 0; animation: beam 10s infinite; }

.hero-pig {
  position: absolute; left: -34%; bottom: -6%;
  width: 46%; height: auto;
  filter: drop-shadow(0 18px 18px rgba(20, 22, 26, 0.18));
  animation: hero-bob 4.8s ease-in-out infinite;
}
@keyframes hero-bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }

.status { display: grid; place-items: center; }
.status .chip { grid-area: 1 / 1; opacity: 0; color: var(--pb-ink); font-size: 15px; padding: 8px 16px; }
.status .s-search { animation: s-search 10s infinite; }
.status .s-search .dot { color: var(--pb-blue); animation: blink 1s steps(2, jump-none) infinite; }
.status .s-hold { animation: s-hold 10s infinite; }
.status .s-hold .dot { color: var(--pb-green); }
.status .s-wiggle { animation: s-wiggle 10s infinite; }
.status .s-wiggle .dot { color: var(--pb-pink); }
.status .s-match { animation: s-match 10s infinite; color: var(--pb-green-ink); background: color-mix(in srgb, var(--pb-green) 14%, var(--pb-glass)); }
.status .s-match .dot { color: var(--pb-green); }

@keyframes guide { 0% { opacity: 0; } 3% { opacity: 0.95; } 7% { opacity: 0.45; } 11% { opacity: 0.95; } 15%, 100% { opacity: 0; } }
@keyframes foot {
  0%, 11% { opacity: 0; transform: translateY(26px); }
  17% { opacity: 1; transform: none; animation-timing-function: linear; }
  93% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes beam { 0%, 16% { opacity: 0; transform: translateY(0); } 18% { opacity: 0.9; } 44% { opacity: 0.9; transform: translateY(300px); } 47%, 100% { opacity: 0; transform: translateY(300px); } }
@keyframes ring-green {
  0%, 17% { opacity: 0; stroke-dashoffset: 99; }
  18% { opacity: 1; stroke-dashoffset: 99; animation-timing-function: cubic-bezier(0.3, 0.1, 0.3, 1); }
  45% { opacity: 1; stroke-dashoffset: 0; }
  51% { opacity: 0; stroke-dashoffset: 0; }
  73% { opacity: 0; stroke-dashoffset: 0; }
  76%, 93% { opacity: 1; stroke-dashoffset: 0; }
  98%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes ring-pink {
  0%, 48% { opacity: 0; stroke-dashoffset: 99; }
  49% { opacity: 1; stroke-dashoffset: 99; animation-timing-function: cubic-bezier(0.4, 0.1, 0.3, 1); }
  72% { opacity: 1; stroke-dashoffset: 0; }
  77%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes toes {
  0%, 50% { transform: none; }
  53% { transform: translateY(-6px) scale(1.07); }
  56.5% { transform: none; }
  60% { transform: translateY(-6px) scale(1.07); }
  63.5% { transform: none; }
  67% { transform: translateY(-6px) scale(1.07); }
  70.5%, 100% { transform: none; }
}
@keyframes ripple { 0%, 51% { opacity: 0; transform: scale(0.3); } 53% { opacity: 0.9; } 57%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ripple2 { 0%, 58% { opacity: 0; transform: scale(0.3); } 60% { opacity: 0.9; } 64%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ripple3 { 0%, 65% { opacity: 0; transform: scale(0.3); } 67% { opacity: 0.9; } 71%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes judge { 0%, 74% { fill: rgba(255, 255, 255, 0.16); } 76%, 93% { fill: #4CD992; } 98%, 100% { fill: rgba(255, 255, 255, 0.16); } }
@keyframes check { 0%, 75% { transform: scale(0); } 78% { transform: scale(1.18); } 80%, 93% { transform: scale(1); opacity: 1; } 97%, 100% { transform: scale(0.6); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-2px); } }
@keyframes s-search { 0%, 13% { opacity: 1; } 16%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes s-hold { 0%, 15% { opacity: 0; } 18%, 46% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes s-wiggle { 0%, 47% { opacity: 0; } 50%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes s-match { 0%, 73% { opacity: 0; } 76%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: 0.25; } }

/* Works-with strip */
.strip { padding-block: 0 clamp(24px, 4vw, 40px); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 10px; }
.strip p { margin: 0 6px 0 0; color: var(--pb-muted); font-size: 15px; font-weight: 600; }
.strip .chip { color: var(--pb-ink); }
.strip .chip code { font-size: 13.5px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-rows: auto 1fr; gap: 28px; padding: 28px 28px 32px; }
.step .phone { width: min(236px, 100%); margin: 0 auto; }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, var(--pb-pink), var(--pb-pink-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 14px -8px var(--pb-pink-deep);
  color: #fff; font-size: 16px; font-weight: 800;
}
.step p { margin: 10px 0 0; color: var(--pb-muted); font-size: 16px; line-height: 1.6; }

/* Phone frame around a real screenshot. */
.phone {
  position: relative;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #3A3E47, #15171C 40%, #0E1013);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(20, 22, 26, 0.12), 0 30px 50px -24px rgba(20, 22, 26, 0.5);
}
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; z-index: 1; width: 26%; height: 18px; border-radius: 999px; background: #0B0C0F; transform: translateX(-50%); }
.phone img { width: 100%; height: auto; aspect-ratio: 554 / 1200; object-fit: cover; object-position: top; border-radius: 33px; background: #F3F4F6; }
.phone figcaption, .shot-caption { margin-top: 14px; color: var(--pb-muted); font-size: 13px; text-align: center; }

/* Soft washes behind a couple of sections, for rhythm. */
.band-why::before, .band-privacy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.band-why::before {
  background:
    radial-gradient(52rem 30rem at -6% 35%, color-mix(in srgb, var(--pb-pink) 13%, transparent), transparent 70%),
    radial-gradient(48rem 30rem at 106% 75%, color-mix(in srgb, var(--pb-blue) 11%, transparent), transparent 70%);
}
.band-privacy::before {
  background:
    radial-gradient(50rem 30rem at 104% 25%, color-mix(in srgb, var(--pb-green) 12%, transparent), transparent 70%),
    radial-gradient(46rem 28rem at -4% 80%, color-mix(in srgb, var(--pb-pink) 10%, transparent), transparent 70%);
}

/* Handoff */
.handoff .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.ticks { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--pb-muted); }
.ticks li strong { color: var(--pb-ink); }
.tick { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%), var(--pb-green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.tick svg { width: 14px; height: 14px; }
.devices { position: relative; padding-bottom: 8%; padding-right: 9%; }
.browser { overflow: hidden; border-radius: 18px; background: var(--pb-paper); box-shadow: 0 0 0 1px var(--pb-glass-line), 0 40px 70px -30px rgba(20, 22, 26, 0.45); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: color-mix(in srgb, var(--pb-ink) 5%, var(--pb-paper)); border-bottom: 1px solid var(--pb-glass-line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--pb-ink) 18%, transparent); }
.browser-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: color-mix(in srgb, var(--pb-ink) 6%, transparent); color: var(--pb-muted); font-size: 12px; font-weight: 600; transform: translateX(-20px); }
.browser img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 27%; padding: 6px; border-radius: 30px; }
.devices .phone::before { top: 11px; height: 11px; }
.devices .phone img { border-radius: 24px; }

/* Why feet */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.reason { padding: 28px 26px 30px; }
.reason p { margin: 10px 0 0; color: var(--pb-muted); font-size: 16px; line-height: 1.6; }
.bead {
  --tint: var(--pb-blue);
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%), var(--tint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 20px -12px var(--tint);
  color: #fff;
}
.bead svg { width: 28px; height: 28px; }
.bead.pink { --tint: var(--pb-pink-deep); }
.bead.green { --tint: #2FBF78; }
.bead.glass { background: var(--pb-glass); border-color: var(--pb-glass-edge); box-shadow: inset 0 1px 0 var(--pb-glass-edge), 0 0 0 1px var(--pb-glass-line); }
.bead.glass img { width: 38px; height: 38px; }

/* Developers */
.dev-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.dev-main { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 22px; min-width: 0; }
.tabs { display: flex; width: 100%; }
.tabs.pb-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tabs button { padding: 0 10px; white-space: nowrap; }
.tabs .short { display: none; }
.panel-note { margin: 0; color: var(--pb-muted); font-size: 15px; }
.panel-note a { font-weight: 600; }
.panel-note code { white-space: nowrap; }
.code {
  position: relative;
  margin: 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--code-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--code-ink);
  font: 13.5px/1.75 var(--pb-mono);
  white-space: pre;
  overflow-x: auto;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}
.code:focus-visible { outline: 2px solid var(--pb-blue); outline-offset: 3px; }
.code .c { color: #7E8696; }
.code .t { color: #FF8FB1; }
.code .a { color: #8FB0FF; }
.code .s { color: #6FE3A8; }
.code .k { color: #C9A2FF; }
.code .p { color: #7E8696; user-select: none; }
.tab-panel { display: grid; gap: 16px; align-content: start; min-width: 0; }
.idps { display: flex; flex-wrap: wrap; gap: 8px; }
.idps .chip { color: var(--pb-ink); }
.dev-side { display: grid; align-content: start; gap: 16px; padding: 30px 28px; overflow: hidden; }
.dev-side h3 { font-size: 24px; }
.dev-side p { margin: 0; color: var(--pb-muted); font-size: 16px; }
.oneliner { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--code-bg); color: var(--code-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.oneliner code { flex: 1; min-width: 0; overflow-x: auto; font-size: 15px; white-space: nowrap; }
.oneliner code .p { color: #7E8696; }
.copy { appearance: none; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font: 600 13px/1 var(--pb-font); cursor: pointer; transition: background 0.15s; }
.copy:hover { background: rgba(255, 255, 255, 0.16); }
.copy svg { width: 15px; height: 15px; }
.facts { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--pb-muted); }
.facts li { display: flex; gap: 10px; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--pb-pink); }
.facts code { font-size: 13px; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.links a, .pb-link { color: var(--pb-blue); font-weight: 700; font-size: 15px; text-decoration: none; }
.links a:hover, .pb-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dev-side .peek { position: absolute; right: -18px; bottom: -36px; width: 104px; opacity: 0.95; transform: rotate(-8deg); pointer-events: none; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.privacy-grid .card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px; align-items: start; }
.privacy-grid .bead { margin: 0; }
.privacy-grid p { margin: 6px 0 0; color: var(--pb-muted); font-size: 16px; }
.honest {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  margin-top: 20px; padding: 28px 30px;
  background: color-mix(in srgb, var(--pb-pink) 13%, var(--pb-glass));
}
.honest img { width: 76px; height: 76px; }
.honest h3 { margin-bottom: 6px; }
.honest p { margin: 0; color: var(--pb-muted); font-size: 16px; }
.honest p + p { margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; border-radius: 24px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: 24px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--pb-ink) 6%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 24px 22px; color: var(--pb-muted); font-size: 16px; max-width: 64ch; }

/* Final call */
.final { padding-bottom: clamp(56px, 8vw, 96px); }
.final-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) 0;
  overflow: hidden;
  background:
    radial-gradient(30rem 20rem at 0% 0%, color-mix(in srgb, var(--pb-pink) 26%, transparent), transparent 70%),
    radial-gradient(30rem 22rem at 100% 100%, color-mix(in srgb, var(--pb-blue) 20%, transparent), transparent 70%),
    var(--pb-glass);
}
.final-card .copytext { padding-bottom: clamp(32px, 5vw, 64px); }
.final-card h2 { font-size: clamp(36px, 5.6vw, 68px); }
.final-card img { width: clamp(150px, 20vw, 230px); height: auto; margin-bottom: -4px; }

/* Footer */
.foot-nav { padding-block: 40px 56px; border-top: 1px solid var(--pb-glass-line); }
.foot-nav .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-nav .about p { margin: 12px 0 0; color: var(--pb-muted); font-size: 14px; max-width: 30ch; }
.foot-nav h4 { margin: 6px 0 12px; font-size: 14px; font-weight: 700; }
.foot-nav ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.foot-nav ul a { color: var(--pb-muted); font-size: 15px; text-decoration: none; }
.foot-nav ul a:hover { color: var(--pb-ink); text-decoration: underline; text-underline-offset: 3px; }
.fine { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--pb-glass-line); color: var(--pb-muted); font-size: 13px; }

/* Ease sections in as they scroll into view. Pure CSS: where scroll timelines aren't supported, everything simply shows. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Dark */
@media (prefers-color-scheme: dark) {
  .lens-svg { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
  .lens-frame { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.12); }
  .ring-track { stroke: rgba(255, 255, 255, 0.16); }
  .phone { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 50px -24px rgba(0, 0, 0, 0.8); }
  .browser { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
  .fix .old { color: color-mix(in srgb, var(--pb-ink) 42%, transparent); }
  .fix .new { color: #FF8FB1; }
  .fix .old::after { background: #FF8FB1; }
  .code, .oneliner { --code-bg: #0B0D11; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.08); }
  .status .s-match { background: color-mix(in srgb, var(--pb-green) 16%, var(--pb-paper)); }
}

/* Layout: tablets and phones */
@media (max-width: 1080px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-title { font-size: min(12.2vw, 88px); }
  .hero-visual { order: 2; }
  .stage { width: min(280px, 64vw); margin-left: calc(min(280px, 64vw) * 0.36); justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .step { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 24px; padding: 22px; }
  .handoff .wrap { grid-template-columns: minmax(0, 1fr); }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-nav .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-nav .about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { min-height: 60px; }
  .lockup { font-size: 19px; }
  .lockup img { width: 34px; height: 34px; }
  .hero .lead { margin-top: 22px; }
  .cta { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cta .pb-btn { width: 100%; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); padding: 24px 22px 26px; }
  .step .phone { width: min(200px, 62%); }
  .tabs .long { display: none; }
  .tabs .short { display: inline; }
  .copy { padding: 0 11px; }
  .copy .copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dev-main { padding: 14px; }
  .code { padding: 16px; font-size: 12.5px; }
  .dev-side { padding: 26px 22px; }
  .privacy-grid .card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 22px; }
  .honest { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; gap: 14px; }
  .honest img { width: 60px; height: 60px; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq details p { margin: -4px 20px 20px; }
  .final-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .final-card .copytext { padding-bottom: 0; }
  .final-card .cta { justify-items: stretch; }
  .final-card img { width: 160px; }
  .foot-nav .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .devices .phone { border-radius: 22px; padding: 4px; }
  .devices .phone::before { display: none; }
  .devices .phone img { border-radius: 18px; }
  .browser-bar { height: 28px; }
  .browser-bar i { width: 8px; height: 8px; }
  .browser-bar span { font-size: 10px; padding: 2px 10px; }
}

/* Motion off: show the end of the story, a matched foot, and stop everything else. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .fix .old::after { transform: rotate(-3deg) scaleX(1); }
  .fix .new { opacity: 1; }
  .foot { opacity: 1; }
  .ring-green { opacity: 1; stroke-dashoffset: 0; }
  .judge-tile { fill: #4CD992; }
  .judge-check { transform: none; }
  .status .s-match { opacity: 1; }
}
