/* ============================================================================
   ZEN EDITORIAL — the product-page layer (2026-11-16)
   Eric's handoff grammar (oversized two-line Outfit headlines, spaced
   uppercase kickers, hairline rules, numbered lists, editorial splits,
   one pale chapter) set inside the site's Velvet chrome (aurora, glass,
   gradient buttons, pill nav). Loaded AFTER site.css; adds classes only,
   never restyles existing ones.
   ============================================================================ */

:root {
    /* Perfect EQ's own palette, taken from the plug-in's mode colours */
    --peq-target: #c46bff;
    --peq-pure:   #ff6bd6;
    --peq-smooth: #11dfff;
    --peq-live:   #00e08a;
    --peq-tone:   #00aaf7;
    --peq-pop:    #8f7bff;
    --peq-zero:   #00ccb6;
    --peq-grad:   linear-gradient(100deg, #efe2ff 0%, #d6a4ff 38%, #ff8fe0 100%);
    --lb-grad:    linear-gradient(100deg, #efe7ff 0%, hsl(265, 90%, 78%) 40%, hsl(220, 95%, 72%) 100%);
    --hairline:   rgba(255, 255, 255, 0.08);
    --ink-dim:    rgba(236, 232, 245, 0.62);
    --ink-faint:  rgba(236, 232, 245, 0.42);
}

/* ---------- type ---------------------------------------------------------- */
.kicker {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: #cdb4ff;
}
.kicker.peq { color: #e2b6ff; }
.kicker .bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.kicker .bars i {
    width: 3px; border-radius: 2px;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}
.kicker.peq .bars i { background: linear-gradient(180deg, var(--peq-pure), var(--peq-target)); }
.kicker .bars i:nth-child(1) { height: 6px; }  .kicker .bars i:nth-child(2) { height: 11px; }
.kicker .bars i:nth-child(3) { height: 16px; } .kicker .bars i:nth-child(4) { height: 9px; }
.kicker .sep { opacity: 0.45; }

.display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(54px, 8.2vw, 116px);
    line-height: 0.94;
    letter-spacing: -0.048em;
    margin: 0 0 28px;
    color: #f6f2ff;
    text-wrap: balance;
}
.display .tone, .chapter-title .tone {
    display: inline-block;
    background: var(--lb-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding: 0 0.06em 0.12em 0; margin: 0 -0.06em -0.12em 0;
}
.is-peq .display .tone, .is-peq .chapter-title .tone { background-image: var(--peq-grad); }

.chapter-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(38px, 5.2vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.042em;
    text-transform: none;      /* base h2 (colors_and_type.css) is uppercase */
    margin: 0;
    color: #f6f2ff;
    text-wrap: balance;
}
.lede-strong {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 24px); font-weight: 500;
    letter-spacing: -0.01em;
    color: #f1ecfb;
    margin: 0 0 14px;
}
.lede {
    font-size: 17px; line-height: 1.65;
    color: var(--ink-dim);
    max-width: 520px;
    margin: 0 0 32px;
}
.fine {
    font-size: 12.5px; line-height: 1.6;
    color: var(--ink-faint);
}

/* ---------- beta badge ---------------------------------------------------- */
.beta-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 11px 5px 9px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: #f4ecff;
    background: linear-gradient(135deg, hsla(265, 80%, 65%, 0.22), hsla(220, 90%, 65%, 0.14));
    border: 1px solid hsla(265, 90%, 78%, 0.35);
    white-space: nowrap;
}
.beta-badge::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #7dffc4; box-shadow: 0 0 10px rgba(125, 255, 196, 0.85);
    animation: za-sparkle 2s ease-in-out infinite;
}
.is-peq .beta-badge, .beta-badge.peq {
    background: linear-gradient(135deg, rgba(196, 107, 255, 0.22), rgba(255, 107, 214, 0.14));
    border-color: rgba(230, 160, 255, 0.38);
}

/* ---------- editorial layout ---------------------------------------------- */
.ed-section { position: relative; padding: 120px 0; }
.ed-section.tight { padding: 80px 0; }
.ed-rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.ed-split {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 64px; align-items: end;
    margin-bottom: 56px;
}
.ed-split .aside { font-size: 16.5px; line-height: 1.7; color: var(--ink-dim); margin: 0; max-width: 430px; justify-self: end; }
@media (max-width: 900px) {
    .ed-split { grid-template-columns: 1fr; gap: 22px; align-items: start; }
    .ed-split .aside { justify-self: start; }
    .ed-section { padding: 84px 0; }
}

/* ---------- product hero -------------------------------------------------- */
.p-hero { position: relative; padding: 72px 0 40px; }
.p-hero-grid {
    display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 64px; align-items: center;
}
.p-hero .badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.p-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.p-hero .meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    padding-top: 22px; border-top: 1px solid var(--hairline);
    font-size: 13px; color: var(--ink-faint);
}
.p-hero .meta b { color: #ece8f5; font-weight: 600; }
@media (max-width: 1000px) {
    .p-hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* Listen Buddy lockup inside a hero */
.p-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.p-lockup img.mascot { width: 54px; height: 54px; filter: drop-shadow(0 6px 18px var(--glow)); }
.p-lockup img.word { height: 30px; width: auto; }

/* ---------- frozen live UI ------------------------------------------------ */
/* A real capture of the plug-in, presented like a window on the desk:
   no fake chrome, a soft bloom in the product's colour, a hairline edge. */
.ui-still {
    --still-glow: rgba(196, 107, 255, 0.34);
    position: relative;
    margin: 0;
}
.ui-still .pane {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0d0b16;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.09),
        0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
        0 50px 120px -30px rgba(0, 0, 0, 0.75),
        0 0 110px -18px var(--still-glow);
}
.ui-still .pane::after {   /* glass sheen across the top-left */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 28%);
    mix-blend-mode: screen;
}
.ui-still img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 700; }
.ui-still.lb img { aspect-ratio: 1025 / 647; }
.ui-still.lb { --still-glow: hsla(250, 90%, 65%, 0.38); }
.ui-still figcaption {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 16px;
    font-size: 12.5px; color: var(--ink-faint);
}
.ui-still figcaption .live {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em;
    color: #ece8f5;
}
.ui-still figcaption .live::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--peq-live); box-shadow: 0 0 8px rgba(0, 224, 138, 0.8);
}
.ui-still figcaption a { color: #d8c4ff; border-bottom: 1px solid rgba(216, 196, 255, 0.35); padding-bottom: 1px; }
.ui-still figcaption a:hover { color: #fff; border-color: #fff; }

/* hero still: a gentle float-in, then still */
.p-hero .ui-still { animation: stillIn 1.1s cubic-bezier(.2, .7, .2, 1) both 0.15s; }
@keyframes stillIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .p-hero .ui-still { animation: none; } }

/* ---------- band chain (Perfect EQ: different modes in every band) -------- */
.band-chain {
    position: relative;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
    padding: 28px 0 0;
}
.band-chain::before {     /* the signal line the bands sit on */
    content: ''; position: absolute; left: 0; right: 0; top: 52px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 8%, rgba(255, 255, 255, 0.16) 92%, transparent);
}
.band-chip {
    position: relative;
    padding: 14px 14px 16px;
    border-radius: 12px;
    background: rgba(13, 11, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.band-chip .n {
    display: inline-grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    font: 700 11px/1 var(--font-mono);
    color: #0b0913; background: var(--c);
    box-shadow: 0 0 14px var(--c);
    margin-bottom: 12px;
}
.band-chip .m { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #f2eefb; letter-spacing: -0.01em; }
.band-chip .f { display: block; margin-top: 4px; font: 500 12px/1.4 var(--font-mono); color: var(--ink-faint); }
.band-chip .plus { color: var(--c); }
@media (max-width: 760px) {
    .band-chain { grid-template-columns: 1fr 1fr; }
    .band-chain::before { display: none; }
    .band-chip:last-child { grid-column: 1 / -1; }
}

/* ---------- numbered list ------------------------------------------------- */
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li {
    display: grid; grid-template-columns: 44px 1fr; gap: 6px;
    padding: 24px 0;
    border-top: 1px solid var(--hairline);
}
.numbered li:last-child { border-bottom: 1px solid var(--hairline); }
.numbered .idx { font: 600 12px/2.2 var(--font-mono); color: #d6a4ff; }
.numbered strong {
    display: block;
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; letter-spacing: -0.025em;
    color: #f6f2ff;
}
.numbered p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-dim); }

/* ---------- protected-attack concept art (Eric's illustration) ------------ */
.protect-grid {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px; align-items: center;
}
@media (max-width: 960px) { .protect-grid { grid-template-columns: 1fr; } }
.concept {
    margin: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 15, 34, 0.86), rgba(12, 9, 22, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.concept-top, .concept figcaption {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 14px 20px;
    font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-faint);
}
.concept-top { border-bottom: 1px solid var(--hairline); }
.concept-top .mark { display: inline-flex; align-items: center; gap: 8px; color: #f1e3ff; }
.concept-top .mark::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--peq-target); box-shadow: 0 0 10px var(--peq-target); }
.concept figcaption { border-top: 1px solid var(--hairline); letter-spacing: 0.04em; text-transform: none; font-weight: 500; font-size: 12px; }
.concept figcaption .legend { display: inline-flex; align-items: center; gap: 8px; }
.concept figcaption .legend i { display: inline-block; width: 18px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.concept figcaption .legend i + i { background: #d9a6ff; margin-left: 8px; }
.concept svg { display: block; width: 100%; height: auto; }
.pure-grid path { stroke: rgba(255, 255, 255, 0.055); stroke-width: 1; fill: none; }
.pure-zone-edge { stroke: rgba(119, 220, 222, 0.45); stroke-dasharray: 3 5; fill: none; }
.pure-source-wave { stroke: rgba(255, 255, 255, 0.42); stroke-width: 1.6; fill: none; }
.pure-output-halo { stroke: rgba(214, 140, 255, 0.28); stroke-width: 9; fill: none; filter: blur(5px); }
.pure-output-wave { stroke: #e0b2ff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.pure-travel { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 14 986; stroke-dashoffset: 1000; opacity: 0; }
.concept.in .pure-output-wave { animation: drawWave 2.6s cubic-bezier(.45, .1, .25, 1) forwards 0.3s; }
.concept.in .pure-travel { animation: travelWave 5.5s linear infinite 3s; }
@keyframes drawWave { to { stroke-dashoffset: 0; } }
@keyframes travelWave { 0% { stroke-dashoffset: 1000; opacity: 0; } 4% { opacity: .9; } 92% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pure-annotation { stroke: rgba(255, 255, 255, 0.32); stroke-width: 1; fill: none; }
.pure-art-small { fill: #8ee9e6; font: 700 12px var(--font-display); letter-spacing: 0.16em; }
.pure-art-index { fill: rgba(255, 255, 255, 0.72); font: 600 13px var(--font-mono); }
.pure-art-label { fill: rgba(255, 255, 255, 0.5); font: 500 14px var(--font-body); }
.pure-attack-dot { fill: #fff; }
.pure-attack-ring { fill: none; stroke: rgba(255, 255, 255, 0.35); }
@media (prefers-reduced-motion: reduce) {
    .pure-output-wave { stroke-dashoffset: 0; }
    .concept.in .pure-output-wave, .concept.in .pure-travel { animation: none; }
}
.scope {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline);
    display: grid; grid-template-columns: 220px 1fr; gap: 24px;
}
.scope .lbl { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.scope p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-dim); max-width: 760px; }
.scope details { margin-top: 12px; }
.scope summary { cursor: pointer; color: #d8c4ff; font-size: 14px; }
.scope details p { margin-top: 10px; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- explorer (Perfect EQ) ----------------------------------------- */
.explorer-cats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
    margin-bottom: 26px;
}
.explorer-cat {
    text-align: left; cursor: pointer;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit; font: inherit;
    transition: background .2s, border-color .2s, transform .2s;
}
.explorer-cat:hover { background: rgba(255, 255, 255, 0.05); }
.explorer-cat strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: #f2eefb; }
.explorer-cat span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-faint); }
.explorer-cat[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(196, 107, 255, 0.18), rgba(255, 107, 214, 0.07));
    border-color: rgba(214, 164, 255, 0.55);
    box-shadow: 0 0 40px -12px rgba(196, 107, 255, 0.5);
}
.explorer-cat:focus-visible, .explorer-opt:focus-visible { outline: 2px solid #e2b6ff; outline-offset: 2px; }
.explorer-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 32px; align-items: start; }
.explorer-rail { position: sticky; top: 110px; }
.explorer-rail .rail-lbl { font-size: 13px; color: var(--ink-faint); margin: 0 0 12px 2px; }
.explorer-opts { display: flex; flex-direction: column; gap: 4px; }
.explorer-opt {
    display: flex; align-items: center; gap: 12px;
    width: 100%; text-align: left; cursor: pointer;
    padding: 12px 14px; border-radius: 10px;
    background: transparent; border: 1px solid transparent;
    color: var(--ink-dim); font: 500 15px/1.2 var(--font-display);
    transition: background .15s, color .15s, border-color .15s;
}
.explorer-opt i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.explorer-opt:hover { color: #f2eefb; background: rgba(255, 255, 255, 0.04); }
.explorer-opt[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.explorer-rail .rail-note { margin: 16px 2px 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); }
.explorer-detail { margin-bottom: 22px; min-height: 150px; }
.explorer-detail .nm { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--c, #e2b6ff); }
.explorer-detail .nm::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #e2b6ff); box-shadow: 0 0 10px var(--c, #e2b6ff); }
.explorer-detail h3 { margin: 10px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.03em; line-height: 1.05; color: #f6f2ff; }
.explorer-detail p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-dim); max-width: 720px; }
.explorer-detail .spec { margin-top: 12px; font: 500 12.5px/1.5 var(--font-mono); color: var(--ink-faint); }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tiers span {
    padding: 6px 12px; border-radius: 999px;
    font-size: 12.5px; color: #e9e3f7;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
}
.tiers span em { font-style: normal; color: var(--ink-faint); margin-left: 6px; }
.explorer-stage .pane { display: grid; }
.explorer-stage .pane img { grid-area: 1 / 1; transition: opacity .45s ease; }
.explorer-stage .pane img.out { opacity: 0; }
@media (max-width: 1000px) {
    .explorer-cats { grid-template-columns: 1fr 1fr; }
    .explorer-body { grid-template-columns: 1fr; gap: 18px; }
    .explorer-rail { position: static; }
    .explorer-opts { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .explorer-opts::-webkit-scrollbar { display: none; }
    .explorer-opt { width: auto; white-space: nowrap; border-color: rgba(255, 255, 255, 0.08); }
    .explorer-rail .rail-note { display: none; }
    .explorer-detail { min-height: 0; }
}
@media (max-width: 520px) {
    .explorer-cat { padding: 14px 14px; }
    .explorer-cat strong { font-size: 18px; }
    .explorer-cat span { font-size: 12px; }
}

/* ---------- the one pale chapter (founder note) --------------------------- */
.pale {
    position: relative;
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(214, 164, 255, 0.35), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(140, 200, 255, 0.28), transparent 60%),
        #f5f2fb;
    color: #17122b;
    padding: 120px 0;
}
.pale .kicker { color: #7a3fd0; }
.pale .chapter-title { color: #120d24; }
.pale .chapter-title .tone {
    background: linear-gradient(100deg, #6d2fd6, #c53fae);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.founder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.founder .byline { margin-top: 36px; display: flex; align-items: center; gap: 14px; }
.founder .byline .marks { display: flex; }
.founder .byline .marks span {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    font: 700 14px/1 var(--font-display); color: #fff;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border: 2px solid #f5f2fb;
}
.founder .byline .marks span + span { margin-left: -10px; background: linear-gradient(135deg, #c026d3, #7c3aed); }
.founder .byline b { display: block; font-family: var(--font-display); font-size: 15px; color: #120d24; }
.founder .byline small { font-size: 13px; color: #5d5677; }
.founder .note p { font-size: 18px; line-height: 1.7; color: #3a3352; margin: 0 0 18px; }
.founder .note p.pull {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; letter-spacing: -0.025em;
    color: #120d24;
}
.founder .note p.sign { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: #6d2fd6; margin-top: 26px; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 32px; } .pale { padding: 84px 0; } }

/* ---------- product cards (home) ------------------------------------------ */
.instruments { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.instrument {
    position: relative; display: flex; flex-direction: column;
    border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, rgba(34, 27, 60, 0.72), rgba(16, 12, 30, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .35s;
    color: inherit;
}
.instrument:hover { transform: translateY(-4px); border-color: rgba(214, 180, 255, 0.32); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 80px -30px var(--card-glow, rgba(150, 110, 255, 0.6)); }
.instrument.peq { --card-glow: rgba(214, 107, 255, 0.65); }
.instrument .copy { padding: 34px 34px 26px; }
.instrument .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.instrument .name { display: flex; align-items: center; gap: 12px; }
.instrument .name img.mascot { width: 40px; height: 40px; }
.instrument .name img.word { height: 24px; width: auto; }
.instrument .peq-word {
    font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: 0.34em;
    color: #f4efff; text-transform: uppercase; white-space: nowrap;
}
.instrument .peq-word b { font-weight: 500; background: var(--peq-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.instrument .peq-word svg { width: 34px; height: 18px; vertical-align: -3px; margin-right: 10px; }
.instrument h3 {
    margin: 0 0 12px;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.04em;
    color: #f6f2ff;
}
.instrument h3 .tone { background: var(--lb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .1em; margin-bottom: -.1em; }
.instrument.peq h3 .tone { background-image: var(--peq-grad); }
.instrument p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-dim); max-width: 470px; }
.instrument .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-faint); }
.instrument .facts li::before { content: '—'; margin-right: 8px; opacity: .5; }
.instrument .visual { position: relative; margin: auto 0 0; padding: 0 34px; }
.instrument .visual .pane {
    border-radius: 14px 14px 0 0; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 -20px 80px -30px var(--card-glow, rgba(150, 110, 255, 0.6));
    transform: translateY(10px);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.instrument:hover .visual .pane { transform: translateY(0); }
.instrument .visual img { display: block; width: 100%; height: auto; }
.instrument .go {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 22px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff;
}
.instrument .go svg { transition: transform .25s; }
.instrument:hover .go svg { transform: translateX(4px); }
@media (max-width: 900px) {
    .instruments { grid-template-columns: 1fr; }
    .instrument .copy { padding: 28px 24px 22px; }
    .instrument .visual { padding: 0 24px; }
}

/* ---------- beta program -------------------------------------------------- */
.beta-panel {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px;
    padding: 64px;
    border-radius: 24px;
    background:
        radial-gradient(80% 120% at 100% 0%, hsla(265, 80%, 60%, 0.22), transparent 60%),
        radial-gradient(70% 100% at 0% 100%, rgba(255, 107, 214, 0.12), transparent 60%),
        rgba(18, 14, 34, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
}
.beta-panel .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.beta-status { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.beta-status .row {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px; color: #ece8f5;
}
.beta-status .row small { color: var(--ink-faint); font-size: 12px; }
@media (max-width: 900px) { .beta-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; } }

/* ---------- FAQ ----------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-list details { border-top: 1px solid var(--hairline); padding: 20px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; gap: 20px;
    font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: #f2eefb;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-weight: 400; color: var(--ink-faint); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; font-size: 15px; line-height: 1.68; color: var(--ink-dim); max-width: 680px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- small helpers -------------------------------------------------- */
.ed-section .section-head { margin-bottom: 48px; }
.anchor-offset { scroll-margin-top: 110px; }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link[aria-current="page"]::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 8px var(--glow);
}
.mobile-link[aria-current="page"] { color: var(--accent); }
@media (max-width: 720px) {
    .p-hero { padding: 40px 0 24px; }
    .display { letter-spacing: -0.042em; }
    .lede { font-size: 16px; }
}

/* ---------- editorial section heads for moved markup (Listen Buddy page) -- */
/* The LB sections came over from the home page verbatim; .ed-heads on <body>
   turns their centred .section-head into Eric's left-aligned split. */
.ed-heads .section-head {
    max-width: none; margin: 0 0 56px; text-align: left;
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    column-gap: 64px; align-items: end;
}
.ed-heads .section-head > * { grid-column: 1; }
.ed-heads .section-head > p {
    grid-column: 2; grid-row: 1 / span 3; align-self: end; justify-self: end;
    margin: 0; max-width: 430px; font-size: 16.5px; line-height: 1.7; color: var(--ink-dim);
}
.ed-heads .section-head .eyebrow {
    background: none; border: 0; padding: 0; border-radius: 0;
    color: #cdb4ff; font-size: 12px; letter-spacing: 0.22em;
}
.ed-heads .section-head .eyebrow .dot { display: none; }
.ed-heads .section-head h2, .ed-heads .section-head h3 {
    font-weight: 700; font-size: clamp(38px, 5.2vw, 72px); line-height: 0.98;
    letter-spacing: -0.042em; margin: 16px 0 0 !important; color: #f6f2ff; text-transform: none;
}
.ed-heads .section-head h3 { font-size: clamp(30px, 3.6vw, 50px); }
.ed-heads .section-head h2 .grad, .ed-heads .section-head h3 .grad {
    background: var(--lb-grad); background-size: 100% auto; animation: none;
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ed-heads .section-head .talk-free-pill { grid-column: 1 / -1; margin-top: 26px; justify-self: start; }
@media (max-width: 900px) {
    .ed-heads .section-head { grid-template-columns: 1fr; }
    .ed-heads .section-head > p { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
}

/* ---------- size tunings ---------------------------------------------------- */
.p-hero .display { font-size: clamp(52px, 6.3vw, 96px); }
.beta-panel .chapter-title { font-size: clamp(32px, 3.5vw, 50px) !important; }
.p-hero .display.long { font-size: clamp(44px, 4.9vw, 76px); line-height: 0.98; letter-spacing: -0.04em; }
.instrument.xsell { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: end; }
.instrument.xsell .copy { align-self: center; padding: 44px; }
.instrument.xsell .visual { padding: 40px 40px 0 0; }
@media (max-width: 900px) {
    .instrument.xsell { grid-template-columns: 1fr; }
    .instrument.xsell .copy { padding: 28px 24px 22px; }
    .instrument.xsell .visual { padding: 0 24px; }
}
.btn.is-peq-cta:hover { border-color: #ff6bd6; box-shadow: 0 0 24px -6px rgba(255, 107, 214, 0.5); }
/* both home cards show the same window onto their UI, top-aligned */
.instruments .instrument .visual .pane { aspect-ratio: 2 / 1; }
.instruments .instrument .visual img { height: 100%; object-fit: cover; object-position: top center; }

/* ---------- phone/tablet: single columns may never grow past the viewport -- */
@media (max-width: 1000px) {
    .p-hero-grid, .explorer-body { grid-template-columns: minmax(0, 1fr); }
    .explorer-rail, .explorer-body > div { min-width: 0; }
}
@media (max-width: 900px) {
    .ed-split, .protect-grid, .founder, .beta-panel, .faq-grid, .instruments, .instrument.xsell,
    .ed-heads .section-head { grid-template-columns: minmax(0, 1fr); }
}
.p-lockup { flex-wrap: wrap; }
@media (max-width: 520px) {
    .p-lockup img.word { height: 24px; }
    .p-lockup img.mascot { width: 44px; height: 44px; }
    .explorer-cats { gap: 8px; }
    .p-hero .meta { font-size: 12.5px; }
    .beta-status .row { width: 100%; justify-content: space-between; }
}
.instrument .top { flex-wrap: wrap; row-gap: 12px; }
@media (max-width: 480px) { .hero .eyebrow { font-size: 10px; letter-spacing: 0.1em; } }

/* ---------- the live interface (/peq-live/, mounted by /js/peq-live.js) ------ */
.ui-still .pane { position: relative; }
.live-frame {
    position: absolute; left: 0; top: 0;
    width: 1200px; height: 700px; border: 0; display: block;
    transform-origin: 0 0; transform: scale(var(--live-s, 1));
    background: #0d0b16;
    opacity: 0; transition: opacity .6s ease;
}
.pane.is-live .live-frame { opacity: 1; }
.pane.is-live > img, .pane.is-live > picture { visibility: hidden; transition: visibility 0s linear .6s; }
.ui-still .pane.is-live::after { display: none; }            /* no glass sheen over a live, touchable UI */
.ui-still .cap-live { display: none; }
.ui-still.is-live .cap-live { display: inline; }
.ui-still.is-live .cap-still { display: none; }
.ui-still.is-live figcaption .live::before { animation: za-sparkle 2s ease-in-out infinite; }
.tiers button {
    padding: 6px 12px; border-radius: 999px; cursor: pointer;
    font: 500 12.5px/1.3 var(--font-body); color: #e9e3f7;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background .15s, border-color .15s;
}
.tiers button em { font-style: normal; color: var(--ink-faint); margin-left: 6px; }
.tiers button:hover { background: rgba(255, 255, 255, 0.08); }
.tiers button[aria-pressed="true"] { border-color: var(--c, #e2b6ff); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 18px -6px var(--c, #e2b6ff); }
.tiers button:focus-visible { outline: 2px solid #e2b6ff; outline-offset: 2px; }
.live-reset { background: none; border: 0; padding: 0; font: inherit; color: #d8c4ff; cursor: pointer; border-bottom: 1px solid rgba(216, 196, 255, 0.35); }
.live-reset:hover { color: #fff; border-color: #fff; }
@media (hover: none), (pointer: coarse) { .ui-still .cap-drag { display: none !important; } }   /* view-only on touch */
