/* Pibo Draw marketing site. One stylesheet, no build step.
   Every rule is scoped under .pibo so it can be pasted into Squarespace custom CSS
   without fighting the template. */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f3ef;
  --bg-rail: #efeee9;
  --surface: #eae9e3;
  --surface-2: #e1e0d9;
  --text: #1d1d1d;
  --text-2: #55544f;
  --text-3: #62615b;
  --border: rgba(29, 29, 29, 0.1);
  --border-strong: rgba(29, 29, 29, 0.16);
  --hairline: rgba(60, 60, 67, 0.18);
  --material: rgba(255, 255, 255, 0.72);
  --material-solid: #fbfaf7;
  --accent: #1d1d1d;
  --on-accent: #f4f3ef;
  --focus: #0a84ff;
  --key-bg: #fbfaf7;
  --key-shadow: 0 1px 0 rgba(29, 29, 29, 0.14);
  --shadow-pop: 0 10px 40px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08);
  --face: #e8e7e1;
  --face-top: #fbfaf7;
  --face-side: #d3d2cb;
  --edge: #1d1d1d;
  --viewport: #fafafa;
  --component: #7c4dff;
  --on-component: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r-pill: 999px;
  --r-card: 20px;
  color-scheme: light;
}

/* Colors come from the logo: paper #F4F3EF and charcoal #1D1D1D. Dark: follows the system unless the toggle forces light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1d1d;
    --bg-rail: #171717;
    --surface: #292928;
    --surface-2: #343432;
    --text: #f4f3ef;
    --text-2: #b9b8b2;
    --text-3: #9e9d97;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.16);
    --hairline: rgba(84, 84, 88, 0.6);
    --material: rgba(44, 44, 46, 0.72);
    --material-solid: #2a2a28;
    --accent: #f4f3ef;
    --on-accent: #1d1d1d;
    --key-bg: #292928;
    --key-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
    --shadow-pop: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    --face: #363634;
    --face-top: #474744;
    --face-side: #292928;
    --edge: #f4f3ef;
    --viewport: #151515;
    --component: #a78bfa;
    --on-component: #1a1033;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1d1d;
  --bg-rail: #171717;
  --surface: #292928;
  --surface-2: #343432;
  --text: #f4f3ef;
  --text-2: #b9b8b2;
  --text-3: #9e9d97;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --hairline: rgba(84, 84, 88, 0.6);
  --material: rgba(44, 44, 46, 0.72);
  --material-solid: #2a2a28;
  --accent: #f4f3ef;
  --on-accent: #1d1d1d;
  --key-bg: #292928;
  --key-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
  --face: #363634;
  --face-top: #474744;
  --face-side: #292928;
  --edge: #f4f3ef;
  --viewport: #151515;
  --component: #a78bfa;
  --on-component: #1a1033;
  color-scheme: dark;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
.pibo, .pibo *, .pibo *::before, .pibo *::after { box-sizing: border-box; }
.pibo {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}
.pibo h1, .pibo h2, .pibo h3, .pibo p { margin: 0; }
.pibo a { color: inherit; }
.pibo button { font: inherit; color: inherit; }
.pibo :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.pibo [hidden] { display: none !important; }
.pibo .mono { font-family: var(--mono); }
.pibo .muted { color: var(--text-2); }
.pibo .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  text-transform: uppercase;
}
.pibo .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.pibo .skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--accent); color: var(--on-accent);
  padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none;
}
.pibo .skip:focus { top: 12px; }

/* ---------- Header ---------- */
.pibo .bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.pibo .brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.pibo .brand svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.pibo .bar nav { display: flex; gap: 4px; margin-left: 16px; }
.pibo .bar nav a {
  text-decoration: none; color: var(--text-2); font-size: 14px;
  padding: 6px 10px; border-radius: var(--r-pill);
}
.pibo .bar nav a:hover { background: var(--surface); color: var(--text); }
.pibo .bar .spacer { flex: 1; }
.pibo .more-anchor { display: none; }

/* ---------- Buttons ---------- */
.pibo .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; font-size: 15px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, opacity .15s, transform .1s;
}
.pibo .btn:active { transform: scale(0.98); }
.pibo .btn-primary { background: var(--accent); color: var(--on-accent); }
.pibo .btn-primary:hover { opacity: 0.85; }

.pibo .icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--r-pill); border: 0; background: transparent; cursor: pointer;
  color: var(--text-2);
}
.pibo .icon-btn:hover, .pibo .icon-btn[aria-expanded="true"] { background: var(--surface); color: var(--text); }
.pibo .icon-btn svg { width: 20px; height: 20px; }

/* ---------- Appearance icon (Lucide-style strokes) ---------- */
.pibo .lucide { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pibo .theme-btn .lucide { display: none; }
.pibo .theme-btn[data-mode="light"] [data-icon="light"],
.pibo .theme-btn[data-mode="dark"] [data-icon="dark"],
.pibo .theme-btn[data-mode="auto"] [data-icon="auto"] { display: block; }
.pibo .menu-narrow { min-width: 200px; }
.pibo .menu .trail .lucide { width: 16px; height: 16px; display: block; }

/* ---------- Layout ---------- */
.pibo main { display: block; }
.pibo section { padding: 96px 20px; }
.pibo .wrap { max-width: 1040px; margin: 0 auto; }
.pibo .narrow { max-width: 720px; margin: 0 auto; }
.pibo .section-head { text-align: center; margin-bottom: 48px; }
.pibo .section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15;
}
.pibo .section-head p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.pibo .section-head .label { display: block; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.pibo .hero { padding-top: 28px; padding-bottom: 72px; text-align: center; }
.pibo .hero h1 {
  font-size: clamp(34px, 6vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05;
}
.pibo .hero h1.name { margin-top: 10px; font-size: clamp(52px, 8.5vw, 84px); letter-spacing: -0.035em; line-height: 1; }
.pibo .hero .sub { margin: 12px auto 0; max-width: 600px; font-size: 18px; color: var(--text-2); }

/* ---------- App window (HTML mock of the Pibo Draw window) ---------- */
.pibo .window {
  margin: 32px auto 0; max-width: 1040px; text-align: left;
  border-radius: 14px; overflow: hidden; background: var(--viewport);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14), 0 0 0 1px var(--border-strong);
}

.pibo .cap {
  display: inline-flex; padding: 3px; gap: 1px; border-radius: 999px;
  background: var(--material); box-shadow: 0 0 0 0.5px var(--border-strong), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.pibo .cap b {
  display: grid; place-items: center; width: 28px; height: 26px; border-radius: 999px;
  font: 600 12px var(--mono); color: var(--text-2);
}
.pibo .cap b.on { background: var(--accent); color: var(--on-accent); }

.pibo .win-video { position: relative; aspect-ratio: 16 / 10; background: var(--viewport); }
.pibo .win-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.pibo .win-video video.on { opacity: 1; }
/* Liquid Glass chrome over the full-bleed video, like the app (the viewport runs under the toolbar). */
.pibo .window.app { position: relative; }
.pibo .window.app .win-video { border-radius: inherit; }
.pibo .win-chrome {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
}
.pibo .win-left, .pibo .win-right { display: flex; align-items: center; gap: 8px; flex: none; }
.pibo .win-left .dots { display: inline-flex; gap: 8px; margin: 0 6px 0 4px; }
.pibo .win-left .dots i { width: 12px; height: 12px; border-radius: 50%; }
.pibo .win-left .dots i:nth-child(1) { background: #ff5f57; }
.pibo .win-left .dots i:nth-child(2) { background: #febc2e; }
.pibo .win-left .dots i:nth-child(3) { background: #28c840; }
.pibo .win-tools { flex: 1; display: flex; justify-content: center; gap: 8px; min-width: 0; }
.pibo .lg {
  --lg-tint: 255, 255, 255; --lg-alpha: 0.22; --lg-hi: 0.85; --lg-edge: 0.45;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center;
  background: rgba(var(--lg-tint), var(--lg-alpha));
  -webkit-backdrop-filter: blur(10px) saturate(1.9) brightness(1.06);
  backdrop-filter: blur(10px) saturate(1.9) brightness(1.06);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, var(--lg-hi)),
    inset 0 -1px 0.5px rgba(255, 255, 255, calc(var(--lg-hi) * 0.35)),
    inset 0 0 0 0.5px rgba(255, 255, 255, var(--lg-edge)),
    0 0 0 0.5px rgba(0, 0, 0, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.08);
}
/* The specular sheen: a soft highlight across the top and a faint rim at the bottom. */
.pibo .lg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.18));
  opacity: 0.8;
}
:root[data-theme="dark"] .pibo .lg { --lg-tint: 44, 44, 46; --lg-alpha: 0.42; --lg-hi: 0.28; --lg-edge: 0.14; }
:root[data-theme="dark"] .pibo .lg::before { opacity: 0.25; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .pibo .lg { --lg-tint: 44, 44, 46; --lg-alpha: 0.42; --lg-hi: 0.28; --lg-edge: 0.14; }
  :root:not([data-theme]) .pibo .lg::before { opacity: 0.25; }
}
.pibo .lg.cap { padding: 3px; gap: 1px; }
.pibo .lg.cap i { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 999px; color: var(--text); transition: background-color .2s, color .2s; }
.pibo .lg.cap i.on { background: rgba(0, 0, 0, 0.12); }
:root[data-theme="dark"] .pibo .lg.cap i.on { background: rgba(255, 255, 255, 0.2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .pibo .lg.cap i.on { background: rgba(255, 255, 255, 0.2); } }
.pibo .lg .lucide { width: 17px; height: 17px; stroke-width: 1.7; }
.pibo .lg.btn { width: 36px; height: 36px; justify-content: center; border: 0; padding: 0; color: var(--text); }
.pibo .lg.pill { height: 36px; padding: 0 12px; gap: 6px; font-size: 13px; color: var(--text); }
.pibo .win-flip, .pibo .win-pause { cursor: pointer; font: inherit; }
.pibo .win-flip:hover, .pibo .win-pause:hover { filter: brightness(1.05); }
.pibo .win-pause .lucide { fill: currentColor; stroke: none; }
.pibo .win-pause [data-icon="play"] { display: none; }
.pibo .win-pause[data-state="stopped"] [data-icon="play"] { display: block; }
.pibo .win-pause[data-state="stopped"] [data-icon="pause"] { display: none; }
.pibo .win-flip .lucide { display: none; }
:root:not([data-theme="dark"]) .pibo .win-flip [data-icon="dark"] { display: block; }
:root[data-theme="dark"] .pibo .win-flip [data-icon="light"] { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .pibo .win-flip [data-icon="dark"] { display: none; }
  :root:not([data-theme]) .pibo .win-flip [data-icon="light"] { display: block; }
}
@media (max-width: 1100px) { .pibo .lg.cap.view { display: none; } }
@media (max-width: 860px) { .pibo .lg.cap i { width: 28px; } .pibo .win-right .units, .pibo .win-right .lg.btn:last-child, .pibo .win-left .lg.btn { display: none; } }
/* A phone gets the video and its two real buttons, without the pretend window. */
@media (max-width: 600px) { .pibo .win-tools, .pibo .win-left { display: none; } .pibo .win-chrome { justify-content: flex-end; } }

.pibo .hero .ctas, .pibo .cta-band .ctas { align-items: center; }
.pibo .cta-band .ctas { display: flex; justify-content: center; margin-top: 4px; }

/* ---------- Features grid ---------- */
.pibo .feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pibo .feat { background: var(--surface); border-radius: var(--r-card); padding: 24px; }
.pibo .feat-ico { width: 22px; height: 22px; color: var(--text); }
.pibo .feat h3 { margin-top: 18px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pibo .feat p { margin-top: 6px; font-size: 14px; color: var(--text-2); }

/* ---------- Spotlights ---------- */
.pibo .spot { padding-top: 56px; padding-bottom: 56px; }
.pibo .spot-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.pibo .spot.flip .spot-copy { order: 2; }
.pibo .spot-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 12px 0 16px; }
.pibo .spot-copy p { color: var(--text-2); font-size: 17px; max-width: 460px; }
.pibo .spot-copy p + p { margin-top: 12px; }
.pibo .small { font-size: 14px !important; }
.pibo .spot-art { margin: 0; padding: 28px; display: grid; place-items: center; gap: 18px; }
.pibo .spot-art svg { width: 100%; max-width: 460px; height: auto; display: block; overflow: visible; }
.pibo .spot-art .edge { stroke: var(--edge); stroke-width: 1.4; stroke-linejoin: round; fill: none; }
.pibo .spot-art .f-front { fill: var(--face); }
.pibo .spot-art .f-top { fill: var(--face-top); }
.pibo .spot-art .f-side { fill: var(--face-side); }
.pibo .spot-art .f-door { fill: var(--face-side); }
.pibo .spot-art .cursor .arrow { fill: var(--text); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
.pibo .spot-art .cursor .badge { fill: var(--bg); stroke: var(--border-strong); }
.pibo .spot-art .cursor .badge-key { fill: var(--text); font-weight: 600; }
.pibo .spot-art .dim { stroke: var(--text-2); stroke-width: 1.2; }
.pibo .spot-art .dim-dot { fill: var(--text-2); }
.pibo .spot-art .chip { fill: var(--bg); stroke: var(--border-strong); }
.pibo .spot-art .chip-t { fill: var(--text); }
.pibo .spot-art .grain { stroke: var(--text-3); stroke-width: 1; opacity: 0.7; }
.pibo .spot-art .guide { stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 5 4; }
.pibo .spot-art .guide-pt line { stroke: var(--text-2); stroke-width: 1.4; }
.pibo .spot-art .comp.sel polygon { stroke: var(--component); stroke-width: 2; }
.pibo .spot-art .tag { fill: var(--component); }
.pibo .spot-art .tag-t { fill: var(--on-component); font-weight: 600; }
.pibo .formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pibo .formats span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong); color: var(--text-2); }
.pibo .formats span.on { background: var(--accent); color: var(--on-accent); box-shadow: none; }

.pibo .hero .soon { display: inline-flex; align-items: center; height: 40px; padding: 0 6px; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.pibo .hero .ctas { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Steps ---------- */
.pibo .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pibo .card {
  background: var(--surface); border-radius: var(--r-card); padding: 28px;
}
.pibo .step .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.pibo .step svg { display: block; width: 100%; max-width: 160px; height: 110px; margin: 18px 0 22px; }
.pibo .step svg .edge { stroke: var(--edge); stroke-width: 1.5; fill: none; stroke-linejoin: round; }
.pibo .step svg .f { fill: var(--bg); }
.pibo .step svg .fs { fill: var(--face-side); }
.pibo .step svg .dash { stroke-dasharray: 3 3; }
.pibo .step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.pibo .step p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* ---------- Keycaps ---------- */
.pibo kbd, .pibo .key {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 7px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1;
  color: var(--text); background: var(--key-bg);
  border: 1px solid var(--border-strong); border-radius: 7px;
  box-shadow: var(--key-shadow);
}
.pibo .keys {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
}
.pibo .keyrow {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px; background: var(--surface);
}
.pibo .keyrow .key { min-width: 36px; height: 36px; font-size: 15px; border-radius: 9px; }
.pibo .keyrow span:last-child { font-size: 15px; }
.pibo .keyrow small { display: block; color: var(--text-3); font-family: var(--mono); font-size: 11px; }
.pibo .keys-note { margin-top: 20px; text-align: center; color: var(--text-3); font-size: 14px; }

/* ---------- Native ---------- */
.pibo .native { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pibo .native .card h3 { font-size: 17px; font-weight: 600; margin-top: 14px; }
.pibo .native .card p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.pibo .native .card .label { display: inline-block; }

/* ---------- FAQ ---------- */
.pibo .faq details { border-bottom: 1px solid var(--border); }
.pibo .faq details:first-child { border-top: 1px solid var(--border); }
.pibo .faq summary {
  list-style: none; cursor: pointer; padding: 20px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 500;
}
.pibo .faq summary::-webkit-details-marker { display: none; }
.pibo .faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; color: var(--text-3);
  transition: transform .2s;
}
.pibo .faq details[open] summary::after { transform: rotate(45deg); }
.pibo .faq details p { padding: 0 4px 22px; color: var(--text-2); font-size: 15px; max-width: 620px; }

/* ---------- CTA band + footer ---------- */
.pibo .cta-band { text-align: center; }
.pibo .cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.025em; }
.pibo .cta-band p { margin: 12px 0 28px; color: var(--text-2); }
.pibo footer {
  padding: 32px 20px 48px; border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 13px;
}
.pibo footer .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.pibo footer .brand { font-size: 14px; color: var(--text-2); }
.pibo footer .brand svg { width: 16px; height: 16px; }
.pibo footer p { max-width: 520px; }

/* ---------- Popover menu (iOS style) ---------- */
.pibo .menu-anchor { position: relative; }
.pibo .menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 248px; padding: 6px 0;
  background: var(--material-solid);
  border-radius: 14px; box-shadow: var(--shadow-pop);
  transform-origin: top right;
  animation: pibo-pop .18s cubic-bezier(.2, .9, .3, 1.2);
}
.pibo .menu[hidden] { display: none; }
.pibo .menu .menu-label {
  padding: 8px 16px 6px; font-family: var(--mono); font-size: 11px;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em;
}
.pibo .menu hr { border: 0; height: 0.5px; background: var(--hairline); margin: 6px 0; }

.pibo .menu [role^="menuitem"] {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 16px; border: 0; background: transparent; cursor: pointer;
  font-size: 15px; text-align: left; text-decoration: none; color: var(--text);
}
.pibo .menu [role^="menuitem"]:hover,
.pibo .menu [role^="menuitem"]:focus-visible {
  background: color-mix(in srgb, var(--text) 8%, transparent); outline: none; border-radius: 0;
}
.pibo .menu .check { width: 16px; flex: none; font-size: 14px; visibility: hidden; }
.pibo .menu [aria-checked="true"] .check { visibility: visible; }
.pibo .menu .trail { margin-left: auto; color: var(--text-3); font-family: var(--mono); font-size: 12px; }
@keyframes pibo-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .pibo .bar nav { display: none; }
  .pibo .more-anchor { display: block; }
  .pibo .steps, .pibo .native { grid-template-columns: 1fr; }
  .pibo .feats { grid-template-columns: repeat(2, 1fr); }
  .pibo .spot-grid { grid-template-columns: 1fr; gap: 28px; }
  .pibo .spot.flip .spot-copy { order: 0; }
  
  
  .pibo .step svg { margin: 12px 0 16px; }
}
@media (max-width: 600px) {
  .pibo .feats { grid-template-columns: 1fr; }
  .pibo .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pibo .keyrow { gap: 10px; padding: 8px 10px; }
  .pibo .keyrow span:last-child { font-size: 14px; }
  .pibo .keyrow small { display: none; }
  
  .pibo .window { margin-top: 36px; border-radius: 12px; }
  
  .pibo section { padding: 64px 16px; }
  .pibo .hero { padding-top: 40px; }
  .pibo .bar { padding: 0 12px; gap: 6px; }
  
  
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pibo *, .pibo *::before, .pibo *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
