/* The Triadic #pricing instrument (Window GSP-31A · price-deck.ts · price-deck.js) — the sealed AG-LOGO5 Part 3 and AG-POCKET1C
 * craft: Light #EDE7DC stone · Dark #121720 gunmetal (the page's own Light | Dark key, else the phone's scheme), Signal Amber keys,
 * ONE Harbor Teal primary. A picked key paints a raised keycap at the rest weight (0.0 px shift); every hit box is at least 44 px;
 * no text under 12 px; no blur.
 * GSP-31C (Ty-P0's visual ruling): the console follows the page's look — on Light a warm #F4EFE6 ivory plate (1.5 px #C8BFA9, a
 * #DDD4C2 lip), a #FFFFFF screen card, #E5DEC9 switch wells with a #FFFFFF latch, a #FFFFFF count field (2 px #8C8270), #161F29 ·
 * #575046 ink and the hero price in Harbor Teal #0A6354 (Deep Signal Amber #9A4D02 on glyphradio.com) — no dark slab on Light;
 * on Dark the #252C35 smoked-charcoal console and the lifted #29364C field (2 px #5E7498 on a #1C2432 well) keep their values. */
.pd-wrap { --pd-bg: #EDE7DC; --pd-shell: #E6DFD2; --pd-card: #FFFFFF; --pd-edge: #CFC6B4; --pd-well: #E0D8C8; --pd-well-bd: #8C8270; --pd-ink: #161F29; --pd-ink-2: #4A4237; --pd-key: #FFFFFF; --pd-amber: #EA8C06; --pd-shadow: rgba(60, 48, 28, 0.18);
  --pd-lcd: #F4EFE6; --pd-lcd-2: #E5DEC9; --pd-lcd-bd: #C8BFA9; --pd-lcd-lip: #DDD4C2; --pd-lcd-ink: #161F29; --pd-lcd-ink-2: #575046; --pd-screen: #FFFFFF; --pd-screen-bd: #D6CEBC; --pd-teal: #0D7A68; --pd-teal-top: #0E8572; --pd-teal-lip: #075246;
  --pd-latch: #FFFFFF; --pd-latch-bd: #C8BFA9; --pd-latch-lip: #C8BFA9; --pd-stepwell: #F0EADF; --pd-field: #FFFFFF; --pd-field-bd: #8C8270; --pd-field-ink: #161F29; --pd-hero: #0A6354; --pd-curve: var(--pd-hero); --pd-dot: #EA8C06; --pd-note: #9A4D02; --pd-link: #0A6354; --pd-qkey: #EAE3D4; --pd-qkey-bd: #C8BFA9; --pd-qkey-lip: #C8BFA9; --pd-focus: #9A4D02;
  --pd-mono: "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--pd-bg); color: var(--pd-ink); border-radius: 22px; padding: 28px 24px 24px; margin: 0 auto; max-width: 1240px; box-sizing: border-box; }
html[data-door="glyphradio"] .pd-wrap { --pd-hero: #9A4D02; --pd-curve: #9A4D02; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .pd-wrap { --pd-bg: #121720; --pd-shell: #151C27; --pd-card: #1C2432; --pd-edge: #313E52; --pd-well: #0E131B; --pd-well-bd: #495A73; --pd-ink: #F1F5F9; --pd-ink-2: #A9B6C8; --pd-key: #2A3546; --pd-amber: #F59E0B; --pd-shadow: rgba(0, 0, 0, 0.45);
    --pd-lcd: #252C35; --pd-lcd-2: #1D232B; --pd-lcd-bd: #3E4754; --pd-lcd-lip: transparent; --pd-lcd-ink: #F8FAFC; --pd-lcd-ink-2: #C3CCD8; --pd-screen: #1D232B; --pd-screen-bd: #3E4754; --pd-latch: #F8FAFC; --pd-latch-bd: #F8FAFC; --pd-latch-lip: #0E131B; --pd-stepwell: #1C2432; --pd-field: #29364C; --pd-field-bd: #5E7498; --pd-field-ink: #F8FAFC; --pd-hero: #FBBF24; --pd-curve: #6EE7B7; --pd-dot: #FBBF24; --pd-note: #FDE68A; --pd-link: #99F6E4; --pd-qkey: #1D232B; --pd-qkey-bd: #3E4754; --pd-qkey-lip: #0E131B; --pd-focus: #FBBF24; }
}
html[data-theme="dark"] .pd-wrap { --pd-bg: #121720; --pd-shell: #151C27; --pd-card: #1C2432; --pd-edge: #313E52; --pd-well: #0E131B; --pd-well-bd: #495A73; --pd-ink: #F1F5F9; --pd-ink-2: #A9B6C8; --pd-key: #2A3546; --pd-amber: #F59E0B; --pd-shadow: rgba(0, 0, 0, 0.45);
  --pd-lcd: #252C35; --pd-lcd-2: #1D232B; --pd-lcd-bd: #3E4754; --pd-lcd-lip: transparent; --pd-lcd-ink: #F8FAFC; --pd-lcd-ink-2: #C3CCD8; --pd-screen: #1D232B; --pd-screen-bd: #3E4754; --pd-latch: #F8FAFC; --pd-latch-bd: #F8FAFC; --pd-latch-lip: #0E131B; --pd-stepwell: #1C2432; --pd-field: #29364C; --pd-field-bd: #5E7498; --pd-field-ink: #F8FAFC; --pd-hero: #FBBF24; --pd-curve: #6EE7B7; --pd-dot: #FBBF24; --pd-note: #FDE68A; --pd-link: #99F6E4; --pd-qkey: #1D232B; --pd-qkey-bd: #3E4754; --pd-qkey-lip: #0E131B; --pd-focus: #FBBF24; }
.pd-wrap *, .pd-wrap *::before, .pd-wrap *::after { box-sizing: border-box; }
.pd-wrap { scroll-margin-top: 76px; }
.pd-head { margin: 0 0 18px; }
.pd-head .eyebrow { color: var(--pd-ink-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 6px; }
.pd-head h2 { color: var(--pd-ink); margin: 0 0 6px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.15; }
.pd-head p { color: var(--pd-ink-2); margin: 0; font-size: 15px; line-height: 1.5; max-width: 72ch; }

.pd { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.pd-console { order: -1; }
@media (min-width: 960px) { .pd { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); } .pd-console { order: 0; } }

/* the cartridge bay */
.pd-bay { background: var(--pd-shell); border: 1.5px solid var(--pd-edge); border-radius: 20px; padding: 14px; display: grid; gap: 12px; }
.pd-rail, .pd-switch { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 22px; height: 52px; flex: none; }
.pd-rail { background: var(--pd-well); border: 1.5px solid var(--pd-well-bd); }
.pd-rail__key, .pd-sw { appearance: none; min-height: 44px; height: 42px; margin: 0; padding: 0 10px; border: 1.5px solid transparent; border-radius: 18px; background: transparent; color: var(--pd-ink); font: 600 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; white-space: nowrap; transition: background 140ms cubic-bezier(0.22, 1, 0.36, 1); }
.pd-rail__key[aria-pressed="true"] { background: var(--pd-key); border-color: var(--pd-edge); box-shadow: 0 2px 0 var(--pd-well-bd); }
.pd-team-note { margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--pd-well); color: var(--pd-ink); font-size: 14px; line-height: 1.4; }
.pd-carts { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.pd-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-cart { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "mark name state" "mark line line"; column-gap: 12px; row-gap: 2px; align-items: center; min-height: 76px; padding: 12px 14px 14px 18px; border-radius: 16px; background: var(--pd-card); border: 1.5px solid var(--pd-edge); box-shadow: 0 2px 0 var(--pd-shadow); cursor: pointer; }
.pd-cart::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 0 4px 4px 0; background: var(--pd-cart-c); }
.pd-cart[data-cart="slip"] { --pd-cart-c: #0D7A68; }
.pd-cart[data-cart="shift"] { --pd-cart-c: #1E408A; }
.pd-cart[data-cart="radio"] { --pd-cart-c: #EA8C06; }
.pd-cart__box { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.pd-cart__box:focus-visible + .pd-cart__slot { outline: 3px solid var(--pd-cart-c); outline-offset: 3px; }
.pd-cart__slot { position: absolute; top: 6px; right: 14px; font: 700 12px/1 var(--pd-mono); letter-spacing: 0.08em; color: var(--pd-ink-2); }
.pd-cart__led { position: absolute; top: 7px; right: 86px; width: 10px; height: 10px; border-radius: 50%; background: var(--pd-well-bd); }
.pd-cart[data-on="true"] .pd-cart__led { background: var(--pd-cart-c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-cart-c) 28%, transparent); }
.pd-cart__mark { grid-area: mark; width: 44px; height: 44px; }
.pd-cart__name { grid-area: name; font-weight: 700; font-size: 16px; color: var(--pd-ink); padding-top: 10px; }
.pd-cart__line { grid-area: line; font-size: 13px; line-height: 1.4; color: var(--pd-ink-2); }
.pd-cart__state { grid-area: state; font-size: 12px; font-weight: 700; padding-top: 10px; color: var(--pd-ink); }
.pd-cart__state [data-st] { display: none; }
.pd-cart[data-on="true"] [data-st="on"], .pd-cart[data-on="false"] [data-st="off"], .pd-cart[data-on="team"] [data-st="team"] { display: inline; }
.pd-cart[data-on="false"], .pd-cart[data-on="team"] { box-shadow: none; background: var(--pd-well); }
.pd-cart[data-on="team"] { cursor: not-allowed; }
.pd-cart__pins { position: absolute; left: 50%; bottom: -1px; width: 48px; height: 5px; transform: translateX(-50%); border-radius: 2px 2px 0 0; background: repeating-linear-gradient(90deg, var(--pd-well-bd) 0 4px, transparent 4px 8px); }
.pd-lugs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 8px; padding: 0 22%; }
.pd-lugs span { background: var(--pd-well-bd); border-radius: 0 0 3px 3px; }
.pd-chassis { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--pd-card); border: 1.5px dashed var(--pd-well-bd); }
.pd-chassis__words p { margin: 0; }
.pd-chassis__name { font-weight: 700; font-size: 15px; color: var(--pd-ink); }
.pd-free { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: #0D7A68; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.pd-chassis__list { font-size: 13px; line-height: 1.45; color: var(--pd-ink-2); margin-top: 2px; }

/* the console: an ivory instrument on Light, smoked charcoal on Dark (the tokens above) */
.pd-console { background: var(--pd-lcd); color: var(--pd-lcd-ink); border: 1.5px solid var(--pd-lcd-bd); border-radius: 20px; padding: 16px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); box-shadow: 0 3px 0 var(--pd-lcd-lip); }
@media (min-width: 560px) {
  .pd-console { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "sw lcd" "step lcd" "go lcd" "note note" "range range" "fleet fleet" "quick quick" "terms terms" "links links"; }
  .pd-switches { grid-area: sw; } .pd-step { grid-area: step; } .pd-lcd { grid-area: lcd; } .pd-go-row { grid-area: go; } .pd-note { grid-area: note; } .pd-range { grid-area: range; } .pd-range-note { grid-area: fleet; } .pd-quick { grid-area: quick; } .pd-terms { grid-area: terms; } .pd-links { grid-area: links; }
}
.pd-switches { display: grid; gap: 8px; }
.pd-console .pd-switch { background: var(--pd-lcd-2); border: 1.5px solid var(--pd-lcd-bd); }
.pd-console .pd-sw { color: var(--pd-lcd-ink-2); }
.pd-console .pd-sw[aria-pressed="true"] { background: var(--pd-latch); color: #161F29; border-color: var(--pd-latch-bd); box-shadow: 0 2px 0 var(--pd-latch-lip); }
.pd-step { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; align-items: center; padding: 8px; border-radius: 16px; background: var(--pd-stepwell); }
.pd-key { appearance: none; height: 52px; min-width: 44px; margin: 0; border: 1.5px solid #9A4D02; border-radius: 14px; background: var(--pd-amber); color: #11161D; font: 800 26px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 2px 0 #9A4D02; }
.pd-key:active, .pd-q:active, .pd-go:active { transform: translateY(1px); box-shadow: none; }
.pd-count { display: grid; gap: 2px; min-width: 0; }
.pd-count__label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--pd-lcd-ink-2); text-align: center; }
.pd-count__box { width: 100%; min-width: 0; height: 44px; margin: 0; padding: 0 8px; border: 2px solid var(--pd-field-bd); border-radius: 12px; background: var(--pd-field); color: var(--pd-field-ink); font: 700 24px/1 var(--pd-mono); font-variant-numeric: tabular-nums; text-align: center; }
.pd-count__box:focus-visible { outline: 3px solid var(--pd-focus); outline-offset: 2px; }
.pd-lcd { background: var(--pd-screen); border: 1.5px solid var(--pd-screen-bd); border-radius: 16px; padding: 14px; min-width: 0; }
.pd-price { margin: 0; font-family: var(--pd-mono); font-variant-numeric: tabular-nums; color: var(--pd-hero); }
.pd-price b { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.pd-price span { font-size: 15px; color: var(--pd-lcd-ink-2); }
.pd-bill { margin: 4px 0 8px; min-height: 2.8em; font-size: 13px; line-height: 1.4; color: var(--pd-lcd-ink); }
.pd-curve { display: block; width: 100%; height: 48px; margin: 0 0 8px; }
.pd-curve__line { fill: none; stroke: var(--pd-curve); stroke-width: 2.5; stroke-linejoin: round; }
.pd-curve__dot { fill: var(--pd-dot); stroke: var(--pd-screen); stroke-width: 2; }
.pd-break { margin: 0; display: grid; gap: 4px; align-content: start; min-height: 104px; } /* four rows reserved: no key below moves when a row comes or goes */
.pd-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.35; border-top: 1px dashed var(--pd-screen-bd); padding-top: 4px; }
.pd-row dt { color: var(--pd-lcd-ink-2); margin: 0; }
.pd-row dd { margin: 0; font-family: var(--pd-mono); font-variant-numeric: tabular-nums; color: var(--pd-curve); white-space: nowrap; }
.pd-go-row { display: grid; gap: 10px; }
.pd-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 44px; font-size: 12px; line-height: 1.45; color: var(--pd-lcd-ink); cursor: pointer; }
.pd-consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #0D7A68; }
.pd-go { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 18px; border: 1.5px solid var(--pd-teal-lip); border-radius: 14px; background: linear-gradient(180deg, var(--pd-teal-top), var(--pd-teal)); color: #FFFFFF; font: 800 17px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 2px 0 var(--pd-teal-lip); }
.pd-go[aria-busy="true"] { cursor: progress; }
.pd-go:focus-visible, .pd-key:focus-visible, .pd-q:focus-visible, .pd-sw:focus-visible, .pd-rail__key:focus-visible { outline: 3px solid var(--pd-focus); outline-offset: 2px; }
.pd-go[hidden] { display: none; }
.pd-note { margin: 0; min-height: 18px; font-size: 13px; line-height: 1.4; color: var(--pd-note); }
.pd-range { width: 100%; height: 44px; margin: 0; accent-color: #F59E0B; }
.pd-range-note { margin: 0; font-size: 12px; color: var(--pd-lcd-ink-2); }
.pd-range-note a, .pd-links a { color: var(--pd-link); }
.pd-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pd-q { appearance: none; min-height: 44px; margin: 0; border: 1.5px solid var(--pd-qkey-bd); border-radius: 12px; background: var(--pd-qkey); color: var(--pd-lcd-ink); font: 700 15px/1 var(--pd-mono); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: 0 2px 0 var(--pd-qkey-lip); }
.pd-q[aria-pressed="true"] { background: #F59E0B; color: #11161D; border-color: #9A4D02; box-shadow: 0 2px 0 #9A4D02; }
.pd-terms { margin: 0; font-size: 12px; line-height: 1.5; color: var(--pd-lcd-ink-2); }
.pd-links { margin: 0; font-size: 12px; color: var(--pd-lcd-ink-2); }
@media (max-width: 420px) { .pd-wrap { padding: 20px 12px 16px; border-radius: 16px; } .pd-console { padding: 12px; } .pd-cart { grid-template-columns: 40px minmax(0, 1fr) auto; } .pd-cart__mark { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .pd-rail__key, .pd-sw { transition-duration: 0.01ms; } }
/* GSP-31B: the floating Ask ENVOY steps aside while the slider is in view on a narrow screen (price-deck.js sets the flag). */
.sales-fab[data-pd-dodge="true"] { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* GSP-31C · the 3-module switching stack (glyphslip.com · price-deck.ts trioSection · the vendored AG-PACK4 trio): ONE front ticket in
 * ONE fixed 720 : 520 box — every ticket and every line is drawn and only the front one shows, so a switch moves no box (0.0 px);
 * the rear two tickets peek and bring theirs forward; 180 ms, and a reduced-motion phone swaps at once. */
.pd-trio { margin-top: 24px; margin-bottom: 24px; }
.pd-trio__row { display: grid; gap: 16px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pd-trio__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } .pd-trio__stage { grid-row: 1 / span 2; } .pd-trio__tabs { align-self: end; } .pd-trio__say { align-self: start; } }
.pd-trio__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 26px; background: var(--pd-well); border: 1.5px solid var(--pd-well-bd); }
.pd-trio__tab { appearance: none; min-height: 44px; margin: 0; padding: 0 8px; border: 1.5px solid transparent; border-radius: 22px; background: transparent; color: var(--pd-ink); font: 700 14px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; transition: background 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.pd-trio__tab[data-trio="slip"] { --pd-tab-c: #0D7A68; --pd-tab-ink: #FFFFFF; }
.pd-trio__tab[data-trio="shift"] { --pd-tab-c: #1E408A; --pd-tab-ink: #FFFFFF; }
.pd-trio__tab[data-trio="radio"] { --pd-tab-c: #EA8C06; --pd-tab-ink: #11161D; }
.pd-trio__tab[aria-pressed="true"] { background: var(--pd-tab-c); color: var(--pd-tab-ink); border-color: var(--pd-tab-c); box-shadow: 0 2px 0 var(--pd-well-bd); }
.pd-trio__tab:focus-visible, .pd-trio__peek:focus-visible { outline: 3px solid var(--pd-focus); outline-offset: 2px; }
.pd-trio__stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 720 / 520; justify-self: center; }
.pd-trio__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-trio__img, .pd-trio__say > p { opacity: 0; visibility: hidden; transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 180ms; }
[data-front="slip"] [data-trio-img="slip"], [data-front="shift"] [data-trio-img="shift"], [data-front="radio"] [data-trio-img="radio"],
[data-front="slip"] [data-trio-say="slip"], [data-front="shift"] [data-trio-say="shift"], [data-front="radio"] [data-trio-say="radio"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.pd-trio__peek { position: absolute; z-index: 1; margin: 0; padding: 0; border: 0; border-radius: 18px; background: transparent; cursor: pointer; }
.pd-trio__peek[data-trio-peek="1"] { left: min(67.2%, calc(80% - 44px)); top: 18.2%; width: max(12.8%, 44px); height: 55.2%; } /* GSP-33A: 44 px on a 360 px phone; the front ticket's key ends where the rear one starts */
.pd-trio__peek[data-trio-peek="2"] { left: 80%; top: 8.2%; width: max(12.8%, 44px); height: 50.4%; }
.pd-trio__peek:hover { box-shadow: inset 0 0 0 2px var(--pd-well-bd); }
.pd-trio__say { display: grid; }
.pd-trio__say > p { grid-area: 1 / 1; margin: 0; font-size: 15px; line-height: 1.5; color: var(--pd-ink-2); }
.pd-trio__say b { display: block; color: var(--pd-ink); font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .pd-trio__img, .pd-trio__say > p, .pd-trio__tab { transition-duration: 0.01ms; transition-delay: 0s; } }
