/* /ai-kiosk/ : the AI Kiosk page. Classes prefixed pgk-.
   A calm product page in the site's own theme: dark sections on the site
   background, light sections in .cs-light. Kiosk screens come from the kiosk
   kit (case-kiosk.css, kiosk_ui.py); this file lays out the page, draws the
   models to scale and styles the request form. Mobile first. */

.pgk { --pk-acc: #a9abff; --pk-ink: #4c4fd7; --pk-mute: #9a9aa6; --pk-line: rgba(255,255,255,0.09); --live: #22c55e; }
.pgk :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.pgk .cs-section { padding: 88px 0; }
.pgk-head { max-width: 760px; }
.pgk-head .cs-lead { max-width: 640px; }

/* the live pill (true facts only) */
  color: #8ff0b9; background: rgba(61,220,132,0.1); border: 1px solid rgba(61,220,132,0.3); white-space: nowrap; }

/* ================================================================ hero */
.pgk-hero { position: relative; z-index: 2; padding: 112px 0 56px; }
.pgk-hero-grid { display: grid; gap: 40px; align-items: center; }
.pgk-hero-txt { max-width: 600px; }
.pgk-hero h1 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.01em; color: #fff; }
.pgk-hero-sub { margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #b4b4bd; max-width: 520px; }
.pgk-hero .cs-btns { margin-top: 30px; }
.pgk-facts { list-style: none; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--pk-line); display: grid; gap: 12px; }
.pgk-facts li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #c9c9d1; }
.pgk-facts svg { width: 18px; height: 18px; flex: none; color: var(--pk-acc); }
.pgk-hero-k { margin: 0; justify-self: center; width: min(74vw, 330px); display: flex; flex-direction: column; align-items: center; }
.pgk-hero-k .dv-totem { width: 100%; }
.pgk-hero-k figcaption, .pgk-stage-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 26px; font-size: 13px; color: var(--pk-mute); text-align: center; }

@media (min-width: 900px) {
  .pgk-hero { padding: 132px 0 72px; }
  .pgk-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 5vw, 80px); }
  .pgk-hero-k { width: clamp(270px, calc((100vh - 170px) / 2.6), 360px); }
}

/* ================================================================ what it does */
.pgk-does { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pgk-does-l .pgk-tabs { margin-top: 32px; }
.pgk-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.pgk-tabs::-webkit-scrollbar { display: none; }
.pgk-tab { position: relative; flex: none; display: grid; grid-template-columns: 30px auto; gap: 10px; align-items: center; padding: 9px 18px 11px 10px; border-radius: 100px;
  font: inherit; text-align: left; color: #3b3b42; background: #fff; border: 1px solid rgba(0,0,0,0.08); cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }
.pgk-tab:hover { border-color: rgba(76,79,215,0.35); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.pgk-tab:active { transform: scale(0.98); }
.pgk-tab .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--pk-ink); background: rgba(76,79,215,0.08); transition: background 0.3s ease, color 0.3s ease; }
.pgk-tab .ic svg { width: 15px; height: 15px; }
.pgk-tab-t b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.pgk-tab .more { display: none; }
.pgk-tab.is-on { color: #fff; background: #0d0d0d; border-color: #0d0d0d; }
.pgk-tab.is-on .ic { color: #0d0d0d; background: #fff; }
.pgk-tab .bar { position: absolute; left: 18px; right: 18px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.14); opacity: 0; overflow: hidden; }
.pgk-tab.is-on .bar { opacity: 1; }
.pgk-tab .bar i { display: block; height: 100%; background: #a9abff; transform: scaleX(0); transform-origin: left; }
.pgk-does.is-auto .pgk-tab.is-on .bar i { animation: cxBar var(--dur, 9s) linear forwards; }
.pgk-does.is-paused .pgk-tab.is-on .bar i { animation-play-state: paused; }

.pgk-stage { position: relative; display: grid; container-type: inline-size; }
@container (max-width: 660px) {
  .pgk-hl-reach .pgk-pane-k { width: min(calc(100cqw - 150px), 280px); margin-left: max(0px, calc(50cqw - 210px)); }
}
.pgk-pane { grid-area: 1 / 1; }
.pgk-pane-in { width: 100%; }
.pgk-pane-k { position: relative; width: min(64vw, 280px); margin: 0 auto; }
.pgk-pane-k .dv-totem { width: 100%; }
.pgk-pane-text { margin: 22px auto 0; max-width: 520px; text-align: center; font-size: 15px; line-height: 1.6; color: #55555c; }
.pgk-stage-cap { grid-area: 2 / 1; margin-top: 22px; color: #77777e; }

/* what the scene points at, on the kit's own elements (outlines only, the kit is untouched) */
.pgk-hl-reach .kx-comp, .pgk-hl-reach .kx-quick, .pgk-hl-reach .kx-start { box-shadow: 0 0 0 calc(8 * var(--u)) rgba(169,171,255,0.9); }
.pgk-reach { position: absolute; inset: 0; pointer-events: none; }
.pgk-reach > span { position: absolute; left: 100%; margin-left: 14px; padding-left: 16px; font-size: 12px; line-height: 1.35; color: #5f5f67; white-space: nowrap; }
.pgk-reach > span::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; border: 1px solid #4c4fd7; border-right: 0; }
.pgk-reach b { display: block; font-size: 13px; color: #111; }
.pgk-reach-eye { top: 6%; height: 26%; }
.pgk-reach-hand { top: 46%; height: 30%; }
.pgk-reach > span { display: flex; flex-direction: column; justify-content: center; }

@media (min-width: 900px) {
  .pgk-does { grid-template-columns: minmax(340px, 520px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .pgk-does-l .pgk-tabs { margin-top: 40px; }
  .pgk-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 6px; }
  .pgk-tab { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px 18px; border-radius: 18px; background: transparent; border-color: transparent; }
  .pgk-tab:hover { background: rgba(255,255,255,0.6); transform: none; box-shadow: none; }
  .pgk-tab.is-on { color: #111; background: #fff; border-color: rgba(0,0,0,0.06); box-shadow: 0 20px 44px rgba(0,0,0,0.06); }
  .pgk-tab .ic { width: 40px; height: 40px; border-radius: 12px; }
  .pgk-tab .ic svg { width: 19px; height: 19px; }
  .pgk-tab.is-on .ic { color: #fff; background: #0d0d0d; }
  .pgk-tab-t b { padding-top: 9px; font-size: 16.5px; white-space: normal; }
  .pgk-tab .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(0.16,1,0.3,1); }
  .pgk-tab .more > span { overflow: hidden; font-size: 14.5px; line-height: 1.6; color: #62626a; }
  /* never more than two lines under the title (owner, 18 Oct 2026) */
  .pgk-tab .more > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  .pgk-tab.is-on .more { grid-template-rows: 1fr; }
  .pgk-tab.is-on .more > span { padding-top: 8px; }
  .pgk-tab .bar { left: 18px; right: 18px; bottom: 0; background: rgba(0,0,0,0.06); }
  .pgk-tab .bar i { background: #4c4fd7; }
  .pgk-pane-text { display: none; }
  .pgk-pane-k { width: clamp(260px, calc((100vh - 200px) / 2.2), 320px); }
}
@media (max-width: 899px) {
  .pgk-reach > span { margin-left: 10px; padding-left: 13px; font-size: 11px; }
}

/* ================================================================ models drawn in centimetres */
.pgk-dev { position: relative; width: 100%; aspect-ratio: var(--ar); container-type: inline-size; }
.pgk-dev > i { position: absolute; display: block; }
.pgk-cab { border-radius: 3cqw 3cqw 1.2cqw 1.2cqw; background: linear-gradient(90deg, #0b0b0e 0%, #26262e 7%, #17171c 50%, #26262e 93%, #0b0b0e 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.pgk-pillar { background: linear-gradient(90deg, #0b0b0e, #24242b 45%, #15151a 70%, #0b0b0e); }
.pgk-base-d { border-radius: 1cqw 1cqw 1.6cqw 1.6cqw; background: linear-gradient(180deg, #3a3a44 0%, #17171c 55%, #060608 100%); }
/* the transparent kiosk (SVG in centimetres): flat fills, a clear glass body, the screen leaning back on one post */
.pgk-glass svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.pgk-glass .gk-base-f { fill: #2f323a; }
.pgk-glass .gk-base-t { fill: #4a4f59; }
.pgk-glass .gk-base-s { fill: #22252b; }
.pgk-glass .gk-glass { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.3); stroke-width: 0.25; }
.pgk-glass .gk-scr-bg { fill: rgba(255,255,255,0.05); }
.pgk-glass .gk-av { opacity: 0.92; }
.pgk-glass .gk-scr-edge { fill: none; stroke: rgba(255,255,255,0.36); stroke-width: 0.25; }
.pgk-glass .gk-top { fill: none; stroke: #1a1c21; stroke-width: 0.9; stroke-linecap: round; }
.pgk-glass .gk-post { fill: #3a3e46; }
.pgk-glass .gk-post-hi { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 0.5; }
.pgk-glass--ghost { color: rgba(169,171,255,0.6); }
.pgk-glass--ghost em { position: absolute; transform: translate(-50%, -50%); font: 600 12px/1.2 'Inter', sans-serif; color: var(--pk-acc); font-style: normal; white-space: nowrap; }
.pgk-scr { position: absolute; overflow: hidden; border-radius: 0.8cqw; background: #0b0d12; box-shadow: 0 0 0 0.5cqw #040406; isolation: isolate; }
.pgk-scr .pgk-av { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

.pgk-line-scroll { margin-top: 56px; }
.pgk-line-box { max-width: 1240px; margin: 0 auto; padding-top: 22px; }
.pgk-swipe { display: none; }
.pgk-line-scroll:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 8px; }
.pgk-line-box { --cap: 150px; position: relative; padding-left: 58px; container-type: inline-size; }
.pgk-ruler { position: absolute; inset: 0; pointer-events: none; }
.pgk-tick { position: absolute; left: 0; right: 0; bottom: calc(var(--cap) + var(--cm) * 100cqw / 523); height: 0; border-top: 1px dashed rgba(255,255,255,0.09); }
.pgk-tick em { position: absolute; left: 0; top: -7px; font: 600 11px/1 'Inter', sans-serif; font-style: normal; color: rgba(255,255,255,0.4); }
.pgk-line { position: relative; display: flex; align-items: flex-end; justify-content: space-between; }
.pgk-li { margin: 0; width: calc(var(--w) / 523 * 100%); display: flex; flex-direction: column; align-items: stretch; }
.pgk-li-vis { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); display: flex; align-items: flex-end; }
.pgk-li-vis > .pgk-dev, .pgk-li-vis > svg { width: 100%; height: 100%; }
.pgk-li figcaption { height: var(--cap); padding-top: 30px; text-align: center; }
.pgk-li figcaption b { display: block; font-family: var(--font-display); font-size: 16px; line-height: 1.25; color: #fff; white-space: nowrap; }
.pgk-li figcaption small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--pk-mute); white-space: nowrap; }
/* the model's one line, under its size (owner, 18 Oct 2026: the cards below were folded into the lineup) */
.pgk-li-p { display: block; margin: 10px auto 0; max-width: 170px; font-size: 12.5px; line-height: 1.5; color: #a3a3ad; }
.pgk-floor { position: absolute; left: 0; right: 0; bottom: var(--cap); height: 1px; background: rgba(255,255,255,0.22); }
.pgk-person { fill: rgba(255,255,255,0.16); }
.pgk-line-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: #7c7c86; }

.pgk-specs { display: grid; gap: 14px; margin-top: 48px; }
.pgk-spec { display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: 20px; border: 1px solid var(--pk-line); background: rgba(255,255,255,0.025); transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.pgk-spec:hover { border-color: rgba(169,171,255,0.35); transform: translateY(-2px); }
.pgk-spec-k { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pk-acc); }
.pgk-spec h3 { margin: 10px 0 0; font-family: var(--font-display); font-size: 22px; color: #fff; }
.pgk-spec-d { margin-top: 6px; font-size: 15px; font-weight: 600; color: #e4e4ea; }
.pgk-spec-d small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--pk-mute); }
.pgk-spec p { flex: 1; margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: #a3a3ad; }
.pgk-spec-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pgk-spec-cta small { font-size: 13px; color: var(--pk-mute); }
.pgk-spec-go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease; }
.pgk-spec-go svg { width: 15px; height: 15px; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.pgk-spec-go:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.pgk-spec-go:hover svg { transform: translateX(3px); }
.pgk-spec-go:active { transform: scale(0.97); }
.pgk-spec.is-more { border-style: dashed; }

@media (max-width: 899px) {
  .pgk-line-scroll { overflow-x: auto; margin: 40px -16px 0; padding: 0 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pgk-line-scroll::-webkit-scrollbar { display: none; }
  .pgk-line-box { min-width: 820px; --cap: 140px; }
  .pgk-li figcaption b { font-size: 13px; }
}
@media (max-width: 759px) {
  .pgk-swipe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 12.5px; color: #9a9aa6; }
  .pgk-swipe svg { width: 15px; height: 15px; }
}
@media (min-width: 640px) { .pgk-specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pgk-specs { grid-template-columns: repeat(5, 1fr); } .pgk-spec { padding: 22px 20px 20px; } .pgk-spec h3 { font-size: 20px; } }

/* ================================================================ trust */
.pgk-certs { margin-top: 40px; }

/* ================================================================ the request */
.pgk-sector-link { margin: 22px 0 0; text-align: center; font-size: 15px; color: #a9a9b3; }
.pgk-sector-link a { color: var(--pk-acc); }
.pgk-req-grid { display: grid; gap: 36px; }
.pgk-req-alt { margin: 22px 0 0; font-size: 14.5px; color: #5f5f67; }
.pgk-req-alt a { color: var(--pk-ink); }
.pgk-form { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 30px 70px rgba(0,0,0,0.06); }
.pgk-fields { display: grid; gap: 14px; }
.pgk-f { display: flex; flex-direction: column; gap: 7px; }
.pgk-f > span, .pgk-group legend { font-size: 13.5px; font-weight: 600; color: #26262c; }
.pgk-f em, .pgk-group legend em { font-style: normal; font-weight: 400; color: #8a8a92; margin-left: 4px; }
.pgk-f input, .pgk-f textarea { width: 100%; box-sizing: border-box; font: 400 16px/1.4 'Inter', sans-serif; color: #111; background: #f5f5f7; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.pgk-f textarea { resize: vertical; min-height: 84px; }
.pgk-f input:focus, .pgk-f textarea:focus { outline: none; background: #fff; border-color: #4c4fd7; box-shadow: 0 0 0 3px rgba(76,79,215,0.16); }
.pgk-f input.is-bad { border-color: #d0353f; box-shadow: 0 0 0 3px rgba(208,53,63,0.14); }
.pgk-group { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.pgk-group legend { padding: 0; margin-bottom: 10px; }
.pgk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pgk-chip { position: relative; cursor: pointer; }
.pgk-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pgk-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 100px; font-size: 14.5px; font-weight: 500; color: #2a2a30; background: #f5f5f7; border: 1px solid rgba(0,0,0,0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1); }
.pgk-chip:hover span { border-color: rgba(76,79,215,0.45); transform: translateY(-1px); }
.pgk-chip:active span { transform: scale(0.96); }
.pgk-chip input:checked + span { color: #fff; background: #0d0d0d; border-color: #0d0d0d; }
.pgk-chips.is-bad .pgk-chip span { border-color: #d0353f; box-shadow: 0 0 0 3px rgba(208,53,63,0.12); }
.pgk-chip input:focus-visible + span { outline: 2px solid #4c4fd7; outline-offset: 2px; }
.pgk-f--note { margin-top: 22px; }
.pgk-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 13.5px; line-height: 1.55; color: #55555c; cursor: pointer; }
.pgk-consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #0d0d0d; }
.pgk-consent input.is-bad { outline: 2px solid #d0353f; outline-offset: 2px; }
.pgk-consent a { color: var(--pk-ink); }
.pgk-send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.pgk-send { border: 0; cursor: pointer; font: inherit; }
.pgk-form.is-sending .pgk-send { opacity: 0.7; pointer-events: none; }
.pgk-form.is-sent .pgk-send { background: #1f9a58; pointer-events: none; }
.pgk-status { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.55; color: #55555c; }
.pgk-status:empty { display: none; }
.pgk-status.is-ok { color: #17803f; }
.pgk-status.is-err { color: #c0303a; }
.pgk-status a { color: inherit; font-weight: 600; }

@media (min-width: 640px) {
  .pgk-form { padding: 32px; }
  .pgk-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pgk .cs-section { padding: 120px 0; }
  .pgk-req-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .pgk-req-grid .pgk-head { position: sticky; top: 130px; }
  .pgk-form { padding: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgk-tab, .pgk-spec, .pgk-chip span, .pgk-spec-go { transition: none !important; }
}

/* each model's own request link: invisible until focused (one visible button under the grid), so Leo and
   keyboard users can still ask for a specific model; it shows as a small link when it has focus */
.pgk-spec { position: relative; }
.pgk-spec-pick { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pgk-spec-pick:focus-visible { position: static; width: auto; height: auto; clip: auto; clip-path: none; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--pk-acc); outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* Phones (owner, 18 Oct 2026): the page keeps its main messages; interface demos that a phone cannot show
   well, and sections that repeat another page, are left out. */
@media (max-width: 767px) {
  /* what it does: the five points as text, without the five kiosk scenes beside them */
  #what-it-does .pgk-stage { display: none; }
  #what-it-does .pgk-tabs { display: grid; gap: 10px; overflow: visible; margin: 28px 0 0; padding: 0; }
  #what-it-does .pgk-tab, #what-it-does .pgk-tab.is-on { grid-template-columns: 34px minmax(0, 1fr); align-items: start; padding: 16px 18px 16px 14px; border-radius: 18px;
    color: #1d1d22; background: #fff; border-color: rgba(0,0,0,0.07); box-shadow: none; transform: none; cursor: default; }
  #what-it-does .pgk-tab .ic, #what-it-does .pgk-tab.is-on .ic { width: 34px; height: 34px; color: var(--pk-ink); background: rgba(76,79,215,0.08); }
  #what-it-does .pgk-tab-t b { white-space: normal; font-size: 15.5px; }
  #what-it-does .pgk-tab .more { display: block; }
  #what-it-does .pgk-tab .more > span { display: block; padding-top: 6px; font-size: 14.5px; line-height: 1.6; color: #62626a; }
  #what-it-does .pgk-tab .bar { display: none; }
}
