/* Project Board: navy plate, teal, blue and purple bars (from the app icon), with the panel's Brutalist look:
   cream boxes, 2px black outlines, hard offset shadows, heavy uppercase headings, monospace labels. */

/* Self-hosted from Google Fonts (SIL Open Font License). Latin subset only. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../../assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../../assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.pb {
  --navy: #0a162f;
  --navy-2: #102041;
  --deep: #060d1e;
  --cyan: #06e0fd;
  --purple: #8659fd;
  --purple-hi: #ab8eff;
  --white: #fefefe;
  --cream: #fff4d6;
  --cream-hi: #ffe9a8;
  --black: #000;
  --ink: #f3f6ff;
  --soft: #c5cde3;
  --muted: #93a0bf;
  --line: rgba(140, 175, 255, .16);
  --card: rgba(16, 32, 65, .62);
  --warn: #ff9f0a;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, -apple-system, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "IBM Plex Sans", sans-serif;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--body);
}
.pb::selection, .pb ::selection { background: var(--cyan); color: #000; }
.pb .nav { background: rgba(6, 13, 30, .6); }
.pb .nav.scrolled { background: rgba(6, 13, 30, .88); }
.pb main { overflow-x: clip; }
.pb section { max-width: 1200px; padding-block: clamp(64px, 9vw, 120px); }
.pb p { color: var(--soft); font-size: 18px; line-height: 1.6; }
.pb kbd {
  font-family: var(--mac); font-size: .88em; font-weight: 700; color: #000; white-space: nowrap;
  padding: 1px 7px 2px; background: var(--cream); border: 2px solid #000; box-shadow: 2px 2px 0 var(--cyan);
}
.pb code { font-family: var(--mono); font-size: .86em; color: var(--ink); background: rgba(255, 255, 255, .07); padding: 1px 6px; overflow-wrap: anywhere; }

/* Backdrop: the icon's navy plate, a little cyan and purple light */
.pb-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(800px circle at 88% -8%, rgba(6, 224, 253, .14), transparent 60%),
    radial-gradient(900px circle at 0% 30%, rgba(134, 89, 253, .16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0, var(--deep) 1000px);
}

/* ---------- Type ---------- */
.pb-h1, .pb-h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: .96; margin: 0; color: var(--ink);
}
.pb-h1 { font-size: clamp(44px, 5.6vw, 80px); }
.pb-h2 { font-size: clamp(36px, 5.2vw, 70px); }
.pb-h1 mark, .pb-h2 mark {
  background: var(--cream); color: #000; padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  box-shadow: .07em .07em 0 var(--cyan);
}
.pb-h2 em { font-style: normal; color: var(--cyan); }
.pb-h3 { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 8px; text-transform: uppercase; }
.pb-eyebrow {
  font-family: var(--mono); font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan) !important; margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.pb-eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--cyan); border: 2px solid #000; box-shadow: 2px 2px 0 var(--purple); flex: none; }
.pb-lede { font-size: clamp(18px, 1.8vw, 21px) !important; max-width: 640px; }
.pb-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.pb-head .pb-lede { margin: 22px 0 0; }
.pb-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Brutalist pieces ---------- */
.pb-box {
  background: var(--cream); color: #000; border: 2px solid #000; box-shadow: 6px 6px 0 var(--sh, var(--cyan));
}
.pb-box p, .pb-box li { color: #222; }
.pb-card {
  background: var(--card); border: 2px solid rgba(160, 190, 255, .22); padding: 24px 24px 22px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .55);
}
.pb-card p { font-size: 16.5px; margin: 0; }
.pb-card p + p { margin-top: 10px; }

/* ---------- Hero ---------- */
.pb-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 70px); align-items: center;
  padding-top: clamp(40px, 6vw, 80px) !important;
}
.pb-app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.pb-app-id img { width: 68px; height: 68px; }
.pb-kicker { font-family: var(--display); font-weight: 800; font-size: 22px !important; color: var(--ink) !important; margin: 0; line-height: 1.1 !important; text-transform: uppercase; letter-spacing: -0.01em; }
.pb-kicker a { color: inherit; text-decoration: none; }
.pb-sub { font-family: var(--mono); font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; margin: 3px 0 0; line-height: 1.3 !important; }
.pb-hero .pb-lede { margin: 26px 0 0; }
.pb-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.pb-btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #000;
  background: var(--cream); border: 2px solid #000; padding: 11px 22px 11px 12px;
  box-shadow: 5px 5px 0 var(--cyan); transition: transform .15s, box-shadow .15s, background .15s;
}
a.pb-btn:hover { transform: translate(-1px, -2px); box-shadow: 7px 7px 0 var(--cyan); background: var(--cream-hi); }
a.pb-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--cyan); }
.pb-btn-mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); border: 2px solid #000; flex: none; }
.pb-btn-mark svg { width: 26px; height: 22px; }
.pb-btn span:last-child { font-family: var(--display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.pb-btn small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; color: #333; margin-bottom: 3px; }
.pb-ghost { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.pb-ghost i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--cyan); color: var(--cyan); font-size: 12px; }
.pb-ghost:hover { color: var(--cyan); }
.pb-meta { font-family: var(--mono); font-size: 13px !important; letter-spacing: .04em; color: var(--muted) !important; margin: 26px 0 0; }

/* The stage: a screen drawn in code, the panel a real screenshot */
.pb-stage { position: relative; }
.pb-screen {
  position: relative; aspect-ratio: 20 / 19; overflow: hidden; background: #0c0f16;
  border: 2px solid #000; box-shadow: 10px 10px 0 var(--purple), 0 50px 120px -40px rgba(6, 224, 253, .35);
}
.pb-mbar {
  position: absolute; inset: 0 0 auto; height: 24px; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 0 12px; background: rgba(28, 32, 44, .92); color: #e8ecf5; font-family: var(--mac); font-size: 12px; font-weight: 600;
}
.pb-mbar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e8ecf5; opacity: .9; margin-right: auto; }
.pb-mbar svg { width: 16px; height: 14px; display: block; }
.pb-mbar .board { padding: 2px 5px; border-radius: 4px; transition: background .2s; }
.pb-stage.open .pb-mbar .board { background: rgba(255, 255, 255, .2); }
.pb-app { position: absolute; inset: 24px 0 0; display: grid; grid-template-columns: 26% 1fr; background: #141823; transition: filter .24s; }
.pb-app .side { background: #10131c; border-right: 1px solid #1f2533; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; }
.pb-app .side i { display: block; height: 7px; border-radius: 4px; background: #2a3245; }
.pb-app .side i:nth-child(3n) { width: 70%; }
.pb-app .side i:nth-child(4n+1) { width: 84%; background: #343e57; }
.pb-app .code { padding: 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.pb-app .code i { display: block; height: 8px; border-radius: 4px; }
.pb-app .code i:nth-child(5n+1) { width: 42%; background: #c678dd55; }
.pb-app .code i:nth-child(5n+2) { width: 66%; margin-left: 18px; background: #61afef55; }
.pb-app .code i:nth-child(5n+3) { width: 54%; margin-left: 36px; background: #98c37955; }
.pb-app .code i:nth-child(5n+4) { width: 30%; margin-left: 36px; background: #e5c07b55; }
.pb-app .code i:nth-child(5n) { width: 22%; margin-left: 18px; background: #abb2bf44; }
.pb-stage.open .pb-app { filter: brightness(.86); }
.pb-panel {
  position: absolute; z-index: 2; top: 30px; right: 6px; bottom: 6px; width: 55%; overflow: hidden;
  transform: none; opacity: 1;
  transition: transform .24s cubic-bezier(.16, 1, .3, 1), opacity .24s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.pb-panel img { width: 100%; height: auto; }
.pb-stage:not(.open) .pb-panel { transform: translateX(calc(100% + 12px)); opacity: 0; }
.pb-tag { font-family: var(--mono); font-size: 12px !important; letter-spacing: .04em; color: var(--muted) !important; margin: 20px 0 0; line-height: 1.4 !important; }
.pb-keyrow { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.pb-keys {
  display: inline-flex; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; flex: none;
}
.pb-keys b {
  width: 50px; height: 50px; display: grid; place-items: center; font-family: var(--mac); font-size: 22px; font-weight: 800; color: #000;
  background: var(--white); border: 2px solid #000; box-shadow: 4px 4px 0 #000, 4px 4px 0 2px var(--cyan); transition: transform .1s, box-shadow .1s;
}
.pb-keys:hover b { background: var(--cream); }
.pb-keys.down b, .pb-keys:active b { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000, 1px 1px 0 2px var(--cyan); }
.pb-keys:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
.pb-keynote { font-size: 15px !important; line-height: 1.45 !important; margin: 0; color: var(--muted) !important; }
.pb-keynote b { color: var(--ink); }

/* ---------- Band ---------- */
.pb-band { position: relative; z-index: 2; border-block: 2px solid #000; background: var(--cream); color: #000; overflow: hidden; }
.pb-band ul {
  max-width: 1200px; margin: 0 auto; padding: 18px var(--gutter); list-style: none;
  display: flex; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap;
}
.pb-band li { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.pb-band li::before { content: ""; width: 16px; height: 16px; border: 2px solid #000; background: var(--c, var(--cyan)); flex: none; }
.pb-band li:nth-child(2) { --c: var(--purple); }
.pb-band li:nth-child(3) { --c: #fff; }

/* ---------- Problem ---------- */
.pb-problem { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.pb-problem p + p { margin-top: 0; }
.pb-mess { position: relative; height: 380px; }
.pb-mess span {
  position: absolute; font-family: var(--mono); font-size: 13.5px; color: #cfd6ea; white-space: nowrap;
  background: #151c2e; border: 1px solid #2c3855; padding: 9px 14px 9px 34px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}
.pb-mess span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 9px; margin-top: -5px; border-radius: 2px; background: var(--c, #5d6b8f); }
.pb-mess span:nth-child(1) { left: 2%; top: 4%; transform: rotate(-4deg); --c: #4aa3ff; }
.pb-mess span:nth-child(2) { left: 34%; top: 15%; transform: rotate(3deg); --c: #8a96b5; }
.pb-mess span:nth-child(3) { left: 8%; top: 30%; transform: rotate(2deg); --c: #ffb84a; }
.pb-mess span:nth-child(4) { left: 42%; top: 41%; transform: rotate(-3deg); --c: #5ad17a; }
.pb-mess span:nth-child(5) { left: 0; top: 55%; transform: rotate(-2deg); --c: #8a96b5; }
.pb-mess span:nth-child(6) { left: 30%; top: 68%; transform: rotate(4deg); --c: #ff6b6b; }
.pb-mess span:nth-child(7) { left: 6%; top: 84%; transform: rotate(-1deg); --c: #b48cff; }
.pb-mess span:nth-child(8) { left: 50%; top: 88%; transform: rotate(-5deg); --c: #4aa3ff; }
.pb-arrow { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; color: var(--ink); display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.pb-arrow::before { content: "→"; color: var(--cyan); }

/* ---------- Buttons section ---------- */
.pb-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pb-type .pb-tiles { display: flex; gap: 8px; margin-bottom: 20px; min-height: 66px; }
.pb-tile {
  width: 62px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: #fff; color: #000; border: 2px solid #000; box-shadow: 3px 3px 0 #000; transition: transform .12s, background .12s;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; line-height: 1;
}
.pb-tile svg { width: 22px; height: 22px; }
.pb-type:hover .pb-tile { transform: translateY(-1px); background: var(--pc, #ffe9a8); }
.pb-type:nth-child(1) { --pc: #3b8cff; }
.pb-type:nth-child(2) { --pc: #c86af0; }
.pb-type:nth-child(3) { --pc: #ffcd3c; }
.pb-type:nth-child(4) { --pc: #3ccf6a; }
.pb-ill { font-family: var(--mono); font-size: 12px !important; color: var(--muted) !important; margin: 18px 0 0 !important; }
.pb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.pb-rows { margin: 18px 0 0; border: 2px solid #000; background: #fff; box-shadow: 5px 5px 0 #000; }
.pb-rows div {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #000; font-family: var(--mono); font-size: 14px;
}
.pb-rows div + div { border-top: 2px solid #000; }
.pb-rows div > svg { width: 16px; height: 16px; flex: none; }
.pb-rows .mini { margin-left: auto; display: flex; gap: 6px; }
.pb-rows .mini i { width: 26px; height: 24px; border: 2px solid #000; display: grid; place-items: center; }
.pb-rows .mini svg { width: 14px; height: 14px; }
.pb-menu { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pb-menu li { font-family: var(--mac); font-size: 14px; color: #000; background: #fff; border: 2px solid #000; padding: 5px 10px; }

/* ---------- Describe with AI ---------- */
.pb-ai { position: relative; }
.pb-ai::before {
  content: ""; position: absolute; inset: 0 -40vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px circle at 25% 30%, rgba(134, 89, 253, .26), transparent 65%),
    radial-gradient(600px circle at 85% 70%, rgba(6, 224, 253, .14), transparent 65%);
}
.pb-new { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; background: var(--purple); color: #fff; padding: 2px 8px; border: 2px solid #000; margin-right: 4px; }
.pb-ai-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.pb-shot { margin: 0; }
.pb-shot img { width: 100%; height: auto; border: 2px solid #000; box-shadow: 10px 10px 0 var(--sh, var(--purple)); background: #fff; }
.pb-shot figcaption { font-size: 15px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.pb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.pb-steps li { position: relative; padding: 20px 22px 20px 74px; background: var(--card); border: 2px solid rgba(160, 190, 255, .22); }
.pb-steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 20px; width: 38px; height: 38px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: #000;
  background: var(--cyan); border: 2px solid #000; box-shadow: 3px 3px 0 var(--purple);
}
.pb-steps li:nth-child(2)::before { background: var(--purple); color: #fff; box-shadow: 3px 3px 0 var(--cyan); }
.pb-steps li:nth-child(3)::before { background: var(--cream); }
.pb-steps b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 19px; margin-bottom: 4px; }
.pb-steps p { font-size: 16px; margin: 0; }
.pb-btnlike { font-family: var(--mac); font-weight: 700; font-size: .92em; color: #000; background: #fff; border: 2px solid #000; padding: 0 6px; white-space: nowrap; }
.pb-btnlike.dark { background: #000; color: #fff; }
.pb-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 70px); }
.pb-ai-grid .pb-card .pb-label { display: block; margin-bottom: 12px; color: var(--cyan); }
.pb-say { font-family: var(--mac); font-size: 15.5px !important; color: #000 !important; background: #fff; border: 2px solid #000; padding: 10px 12px; margin: 14px 0 0 !important; line-height: 1.45 !important; }
.pb-warn { font-family: var(--mac); font-size: 14.5px !important; color: #ffb547 !important; margin: 10px 0 0 !important; }
.pb-keybox { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 64px); align-items: center; margin-top: clamp(50px, 7vw, 90px); }
.pb-lock { padding: clamp(24px, 3vw, 34px); --sh: var(--purple); }
.pb-lock .pb-h3 { display: flex; gap: 12px; align-items: center; font-size: clamp(24px, 2.6vw, 30px); }
.pb-lock .pb-h3 i { width: 34px; height: 34px; display: grid; place-items: center; background: var(--cream-hi); border: 2px solid #000; flex: none; }
.pb-lock .pb-h3 svg { width: 16px; height: 18px; }
.pb-lock ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.pb-lock li { padding-left: 26px; position: relative; font-size: 16.5px; line-height: 1.5; }
.pb-lock li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--purple); border: 2px solid #000; }
.pb-lock li b { color: #000; }
.pb-lock a { color: #4b1fd1; font-weight: 600; }
.pb-lock p.small { font-size: 14.5px; margin: 18px 0 0; color: #333; }

/* ---------- Looks ---------- */
.pb-looks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 6vw, 90px); align-items: start; }
.pb-look-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.pb-look-tabs button {
  text-align: left; font: inherit; cursor: pointer; padding: 12px 14px 12px 50px; position: relative; color: var(--ink);
  background: var(--card); border: 2px solid rgba(160, 190, 255, .22); transition: background .15s, border-color .15s, transform .15s;
}
.pb-look-tabs button b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: -0.005em; }
.pb-look-tabs button span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.pb-look-tabs button::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border: 2px solid #000; background: var(--sw);
}
.pb-look-tabs button:hover { border-color: var(--cyan); }
.pb-look-tabs button[aria-selected="true"] { background: var(--cream); border-color: #000; box-shadow: 5px 5px 0 var(--cyan); color: #000; }
.pb-look-tabs button[aria-selected="true"] span { color: #333; }
.pb-look-tabs button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.pb-look-frame {
  position: relative; aspect-ratio: 760 / 1480; overflow: hidden; border: 2px solid #000; box-shadow: 10px 10px 0 var(--purple); background: #fff;
}
.pb-look-frame img { width: 100%; height: auto; transition: opacity .18s; }
.pb-look-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, transparent, var(--fade, rgba(255, 244, 214, .95))); pointer-events: none; }
.pb-look-cap { font-size: 15px !important; color: var(--muted) !important; margin: 18px 0 0; }

/* ---------- Setup ---------- */
.pb-setup-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 82vw); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 14px 26px 2px; margin-top: 10px; scrollbar-color: var(--purple) transparent;
}
.pb-setup-strip figure { margin: 0; scroll-snap-align: start; }
.pb-setup-strip img { width: 100%; height: auto; border: 2px solid #000; box-shadow: 8px 8px 0 var(--sh, var(--cyan)); border-radius: 12px; }
.pb-setup-strip figure:nth-child(even) { --sh: var(--purple); }
.pb-setup-strip figcaption { font-size: 15.5px; color: var(--soft); margin-top: 18px; line-height: 1.5; }
.pb-setup-strip figcaption b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.pb-setup-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }

/* ---------- Keys and links ---------- */
.pb-keys-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.pb-dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; align-items: baseline; }
.pb-dl dt { white-space: nowrap; }
.pb-dl dd { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.5; }
.pb-urls { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 9px; }
.pb-urls li { display: grid; grid-template-columns: minmax(0, auto) 1fr; gap: 6px 14px; align-items: baseline; font-size: 15.5px; color: var(--soft); }
.pb-urls code { color: var(--cyan); background: rgba(6, 224, 253, .08); }

/* ---------- Config + settings ---------- */
.pb-config { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.pb-json {
  margin: 26px 0 0; padding: 18px 20px; overflow-x: auto; background: #050a17; border: 2px solid #000; box-shadow: 6px 6px 0 var(--cyan);
  font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #c9d3ec;
}
.pb-json .k { color: var(--cyan); }
.pb-json .s { color: #ffd479; }
.pb-json .c { color: #7d8aa8; }
.pb-config .pb-shot { --sh: var(--cyan); }
.pb-config .pb-shot img { max-width: 465px; margin-left: auto; }

/* ---------- Film ---------- */
.pb-film-head { text-align: center; margin-bottom: 36px; }
.pb-film-head .pb-eyebrow { justify-content: center; }
.pb-film-frame { aspect-ratio: 16 / 9; border: 2px solid #000; box-shadow: 12px 12px 0 var(--cyan); background: #000; }
.pb-film-frame video { width: 100%; height: 100%; display: block; background: #000; }

/* ---------- Privacy ---------- */
.pb-private { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.pb-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.pb-facts li { font-size: 16.5px; line-height: 1.55; color: var(--soft); padding-left: 28px; position: relative; }
.pb-facts li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--cyan); border: 2px solid #000; box-shadow: 2px 2px 0 var(--purple); }
.pb-facts b { color: var(--ink); }
.pb-link { color: var(--cyan); font-weight: 600; text-underline-offset: 4px; }
.pb-flow { display: grid; gap: 16px; }
.pb-flow > div { padding: 22px 24px; }
.pb-flow .pb-label { color: #333; display: block; margin-bottom: 10px; }
.pb-flow ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pb-flow li { font-size: 14.5px; color: #000; background: #fff; border: 2px solid #000; padding: 4px 10px; }
.pb-flow .out { background: #fff; --sh: var(--purple); }
.pb-flow .out li { background: var(--cream); }
.pb-flow p { font-size: 14.5px; margin: 12px 0 0; color: #333; line-height: 1.5; }

/* ---------- Specs + CTA ---------- */
.pb-specs { text-align: center; }
.pb-specs > img { width: 112px; height: 112px; margin: 0 auto 22px; }
.pb-specs .pb-lede { margin: 22px auto 0; }
.pb-specs .pb-cta { justify-content: center; }
.pb-specs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 50px; text-align: left; }
.pb-specs-grid div { padding: 18px; background: var(--card); border: 2px solid rgba(160, 190, 255, .22); }
.pb-specs-grid b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 6px; line-height: 1.15; }
.pb-specs-grid span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; }

/* ---------- Support + FAQ ---------- */
.pb-support { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.pb-support a, .pb-faq a { color: var(--cyan); font-weight: 600; }
.pb-faq details { background: var(--card); border: 2px solid rgba(160, 190, 255, .22); padding: 16px 20px; margin-bottom: 10px; }
.pb-faq details[open] { border-color: #000; background: var(--cream); box-shadow: 5px 5px 0 var(--cyan); }
.pb-faq details[open] summary, .pb-faq details[open] p { color: #000; }
.pb-faq details[open] a { color: #4b1fd1; }
.pb-faq summary { font-weight: 600; font-size: 17.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: .9; color: var(--cyan); transition: transform .3s; }
.pb-faq details[open] summary::after { transform: rotate(45deg); color: #000; }
.pb-faq details p { margin: 12px 0 0; font-size: 16px; }

.pb .footer .brand img { width: 24px; height: 24px; }

/* ---------- Privacy page ---------- */
.pb .doc-head .pb-app-id { margin-bottom: 26px; }
.pb .doc-head h1 { font-size: clamp(38px, 6vw, 64px); }
.pb .tldr { background: var(--cream); border: 2px solid #000; border-radius: 0; box-shadow: 8px 8px 0 var(--cyan); backdrop-filter: none; -webkit-backdrop-filter: none; }
.pb .tldr h2 { color: #000; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.pb .tldr li { color: #1b1b1b; }
.pb .tldr li::marker { color: var(--purple); }
.pb .tldr strong { color: #000; }
.pb .doc-body a { color: var(--cyan); }
.pb .doc-body h2 { font-family: var(--display); }
.pb .doc-body h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; scroll-margin-top: 90px; }
.pb .doc-body code { font-size: .85em; }
.pb .doc-body table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; }
.pb .doc-body th, .pb .doc-body td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); color: #c9c7d1; }
.pb .doc-body th { color: var(--ink); background: rgba(255, 255, 255, .04); font-weight: 600; }
.pb .doc-body .wrap { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pb-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-ai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pb-specs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .pb-hero, .pb-problem, .pb-ai-hero, .pb-keybox, .pb-looks, .pb-config, .pb-private, .pb-support, .pb-split, .pb-keys-grid, .pb-setup-notes { grid-template-columns: minmax(0, 1fr); }
  .pb-stage { max-width: 560px; }
  .pb-looks .pb-look-frame { max-width: 380px; }
  .pb-config .pb-shot img { margin-left: 0; }
  .pb-mess { height: 330px; }
}
@media (max-width: 600px) {
  .pb-types, .pb-ai-grid, .pb-specs-grid, .pb-look-tabs { grid-template-columns: minmax(0, 1fr); }
  .pb-look-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pb-look-tabs button { padding: 10px 10px 10px 42px; }
  .pb-look-tabs button::before { left: 10px; top: 12px; width: 20px; height: 20px; }
  .pb-look-tabs button span { display: none; }
  .pb-look-tabs button b { font-size: 15px; }
  .pb-screen { aspect-ratio: 9 / 10; }
  .pb-panel { width: 64%; }
  .pb-keys b { width: 44px; height: 44px; font-size: 19px; }
  .pb-keyrow { gap: 14px; }
  .pb-mess { height: 290px; }
  .pb-mess span { font-size: 12.5px; }
  .pb-mess span:nth-child(n+7) { display: none; }
  .pb-mess span:nth-child(2), .pb-mess span:nth-child(4) { left: 22%; }
  .pb-mess span:nth-child(8) { left: 30%; }
  .pb-steps li { padding-left: 66px; }
  .pb-steps li::before { left: 14px; }
  .pb-dl { grid-template-columns: 1fr; gap: 4px; }
  .pb-dl dd { margin-bottom: 10px; }
  .pb-urls li { grid-template-columns: 1fr; gap: 2px; }
  .pb-btn span:last-child { font-size: 17px; }
  .pb-band ul { flex-direction: column; gap: 8px; }
  .pb .doc-body thead { display: none; }
  .pb .doc-body table, .pb .doc-body tbody, .pb .doc-body tr, .pb .doc-body td { display: block; }
  .pb .doc-body tr + tr { margin-top: 12px; }
  .pb .doc-body td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-panel { transition: none; }
}
