@charset "UTF-8";
/* ==========================================================================
   Interactive Demo page (D2). Loaded after site-d2.css and interactive-demo.css.
   The page is built from the kit's section components (cinematic hero, feature
   row, steps, bento, form, FAQ, related links). The simulator itself
   (#interactive-demo-stage: device, voice, proof timeline, packet) keeps the styles
   in interactive-demo.css and stays a dark product stage in both themes; the
   workflow cards and packet are built by interactive-demo.js.
   ========================================================================== */

.d2 .demo-page{background:var(--bg)}
/* interactive-demo.css gives the body a fixed dark-navy text colour; the kit's nav links inherit it, so restore the theme ink */
body.d2.interactive-demo-page{background:var(--bg);color:var(--ink)}
.d2 #demoPacket .container{width:auto;max-width:1068px;margin:0 auto;padding:0 22px}
/* resets for the simulator and the generated packet only; the kit sections bring their own spacing */
.d2 .demo-page :where(#interactive-demo-stage,#demoPacket) :where(h1,h2,h3,p,ul,ol,fieldset,legend){margin:0;font-family:inherit;letter-spacing:inherit}
.d2 .demo-page :where(#interactive-demo-stage,#demoPacket) :where(ul,ol){padding:0;list-style:none}

/* the simulator stage keeps its dark look in both themes, so it uses the dark token values */
.d2 #interactive-demo-stage{--bg:#071724;--alt:#0a1f2e;--tile:#0e2635;--ink:#f2f8fa;--ink-2:#a9bcc8;--ink-3:#8aa0ad;--rule:#244252;--accent:#5ee5ee;--accent-hover:#8af0f5;--on-accent:#04131f;--link:#5ee5ee;--platter:#133144;color-scheme:dark}

/* eyebrow used by the generated packet */
.d2 .demo-eyebrow{display:block;padding:0;border:0;border-radius:0;background:none;color:var(--link);font-size:21px;line-height:1.19;font-weight:600;letter-spacing:.004em;text-transform:none}

/* buttons inside the simulator and the generated packet (built by interactive-demo.js) */
.d2 .demo-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 21px;border:0;border-radius:980px;font-size:17px;line-height:1.18;font-weight:400;letter-spacing:-.016em;white-space:nowrap;cursor:pointer;transition:background-color .2s,box-shadow .2s;transform:none}
.d2 .demo-btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:none}
.d2 .demo-btn-primary:hover{background:var(--accent-hover);color:var(--on-accent);box-shadow:none}
.d2 .demo-btn-secondary,.d2 .demo-btn-ghost{background:transparent;box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}
.d2 .demo-btn-secondary:hover,.d2 .demo-btn-ghost:hover{background:transparent;box-shadow:inset 0 0 0 2px var(--accent);color:var(--accent)}

/* workflow picker: the cards are built by interactive-demo.js */
.d2 .workflow-selector{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:56px}
.d2 .workflow-card{display:flex;flex-direction:column;align-items:stretch;padding:0 0 26px;overflow:hidden;border:0;border-radius:24px;background:var(--alt);box-shadow:none;color:var(--ink);text-align:left;cursor:pointer;transition:box-shadow .2s,transform .2s}
.d2 .workflow-card > *:not(.demo-workflow-thumb){margin-left:24px;margin-right:24px}
.d2 .workflow-card:hover{transform:none;box-shadow:0 0 0 1px var(--rule)}
.d2 .workflow-card[aria-pressed="true"]{box-shadow:0 0 0 2px var(--accent)}
.d2 .workflow-card .demo-workflow-thumb{height:180px;margin:0 0 20px;border:0;border-radius:0}
.d2 .workflow-card small{display:block;font-size:12px;color:var(--ink-2)}
.d2 .workflow-card h3{margin-top:6px;font-size:21px;line-height:1.24;font-weight:600;color:var(--ink)}
.d2 .workflow-card p{margin-top:8px;font-size:15px;line-height:1.47;color:var(--ink-2)}
.d2 .demo-workflow-card-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.d2 .demo-workflow-card-chips span{padding:4px 9px;border:0;border-radius:999px;background:var(--platter);color:var(--ink);font-size:12px;font-weight:600}
.d2 .workflow-card__pain{display:block;margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid var(--rule);border-radius:0;background:none;color:var(--ink);font-size:14px;font-weight:600;line-height:1.4}

/* simulator stage: lined up with the rest of the page; only its heading moves to the kit's type */
.d2 #interactive-demo-stage > .container{width:auto;max-width:1168px;margin:0 auto;padding-left:22px;padding-right:22px}
.d2 #interactive-demo-stage .demo-btn{white-space:normal;text-align:center}

/* generated proof packet (a light document in both themes, as in interactive-demo.css) */
.d2 .packet-preview h2{font-size:32px;line-height:1.125;font-weight:600;letter-spacing:-.01em}
.d2 .packet-box h3{margin-bottom:8px;font-size:21px;line-height:1.24;font-weight:600}


/* ---------- hero ---------- */
.d2 .idemo-hero{min-height:min(88vh,880px)}
.d2 .idemo-hero h1{font-size:64px;line-height:1.06}
.d2 .idemo-hero__chips{margin-top:28px}
.d2 .idemo-hero__chips li{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#e7f4f7}

/* workflow picker note */
.d2 .demo-note{margin:20px 0 0;font-size:14px;color:var(--ink-2)}

/* simulator stage heading on the kit's type */
.d2 #interactive-demo-stage .demo-stage-header{align-items:end}
.d2 #interactive-demo-stage .d2-h2{margin-top:12px;color:#f2f8fa}
.d2 #interactive-demo-stage .d2-lede{margin-top:24px;color:#a9bcc8}
.d2 #interactive-demo-stage .idemo-next__copy p{margin-top:12px}
.d2 #interactive-demo-stage .idemo-next__path{margin:0}

/* step controls: Back sits on the same line as the step's action buttons */
.d2 .demo-step-controls{display:flex;align-items:flex-start;gap:12px;margin-top:1rem}
.d2 .demo-step-controls .demo-actions{flex:1 1 auto;min-width:0;margin-top:0}
.d2 .demo-step-controls .demo-link-btn{flex:none;min-height:52px;padding-left:20px;padding-right:20px}

/* next steps under the simulator */
.d2 .idemo-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px 64px;margin-top:72px;padding:44px;border-radius:32px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(143,241,246,.12)}
.d2 .idemo-next__copy h3{margin:0;font-size:32px;line-height:1.125;font-weight:600;letter-spacing:-.005em;color:#fff}
.d2 .idemo-next__copy p{margin:12px 0 0;font-size:17px;line-height:1.47;color:#a9bcc8}
.d2 .idemo-next__copy .idemo-next__note{font-size:14px;line-height:1.43}
.d2 .idemo-next__copy a{color:#8ff1f6;text-decoration:underline;text-underline-offset:2px}
.d2 .idemo-next__path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;align-self:center}
.d2 .idemo-next__path li{padding:16px 16px 0 0;border-top:2px solid rgba(255,255,255,.14)}
.d2 .idemo-next__path li:first-child{border-top-color:#5ee5ee}
.d2 .idemo-next__path span{display:block;font-size:12px;font-weight:600;color:#8ff1f6}
.d2 .idemo-next__path strong{display:block;margin-top:8px;font-size:17px;line-height:1.24;font-weight:600;color:#fff}
.d2 .idemo-next__path em{display:block;margin-top:4px;font-size:14px;font-style:normal;color:#a9bcc8}
.d2 .idemo-next__acts{grid-column:1 / -1;margin-top:8px;padding-top:28px;border-top:1px solid rgba(255,255,255,.1)}

/* what the demo shows: the spoken exchange as a product card */
.d2 .idemo-convo{display:grid;place-items:center;min-height:480px;padding:48px;border-radius:32px;background:radial-gradient(120% 90% at 85% 0%,rgba(94,229,238,.22),transparent 60%),linear-gradient(150deg,#0c2638 0%,#071724 70%);box-shadow:var(--shadow)}
.d2 .idemo-convo__card{width:100%;max-width:440px;padding:28px;border-radius:28px;background:rgba(10,31,46,.72);-webkit-backdrop-filter:saturate(160%) blur(24px);backdrop-filter:saturate(160%) blur(24px);box-shadow:0 0 0 1px rgba(143,241,246,.16),0 30px 80px rgba(0,0,0,.4)}
.d2 .idemo-convo__top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.1)}
.d2 .idemo-convo__top span{font-size:12px;color:#a9bcc8}
.d2 .idemo-convo__top strong{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#8ff1f6}
.d2 .idemo-convo__top strong::before{content:"";width:7px;height:7px;border-radius:50%;background:#5ee5ee;box-shadow:0 0 0 3px rgba(94,229,238,.25)}
.d2 .idemo-bubble{max-width:86%;margin:0;padding:14px 18px;border-radius:20px;font-size:17px;line-height:1.35;font-weight:600}
.d2 .idemo-bubble--tech{margin-left:auto;border-bottom-right-radius:6px;background:#5ee5ee;color:#04131f}
.d2 .idemo-bubble--ai{margin-top:12px;border-bottom-left-radius:6px;background:rgba(255,255,255,.08);color:#f2f8fa}
.d2 .idemo-convo__chips{gap:6px;margin-top:22px}
.d2 .idemo-convo__chips li{padding:5px 11px;background:rgba(255,255,255,.08);color:#e7f4f7;font-size:12px}
.d2 .idemo-shows__steps{margin-top:112px}
.d2 .idemo-shows__steps p a{color:var(--link);text-decoration:underline;text-underline-offset:2px}

/* guides: the last tile runs full width */
.d2 .idemo-guides .d2-btile__links{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:22px}
.d2 .idemo-guides .d2-btile__links a{color:var(--link);font-size:17px}
.d2 .idemo-guides .d2-btile__links a:hover{text-decoration:underline}
.d2 .idemo-guides__wide{flex-direction:row;align-items:center;gap:28px}
.d2 .idemo-guides__wide .d2-btile__ic{margin-bottom:0}
.d2 .idemo-guides__wide > div:not(.d2-btile__links){flex:1}
.d2 .idemo-guides__wide h3{font-size:28px!important}
.d2 .idemo-guides__wide .d2-btile__links{flex:none;margin-top:0;padding-top:0}

/* sample packet request */
.d2 .idemo-lead{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:64px;align-items:start}
.d2 .idemo-lead__intro{position:sticky;top:96px}
.d2 .idemo-lead .d2-form > .d2-choices{margin-top:32px}
/* interactive-demo.js resets the status class to demo-form-status plus demo-error / demo-success */
.d2 #demoLeadForm .demo-form-status{min-height:1.5rem;margin-top:18px;padding:0;border:0;background:none;font-size:15px;font-weight:600;color:var(--link)}
.d2 #demoLeadForm .demo-form-status.demo-error{color:#c2410c}
html[data-theme="dark"] body.d2 #demoLeadForm .demo-form-status.demo-error{color:#ffb26d}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.d2 #demoLeadForm .demo-form-status.demo-error{color:#ffb26d}}
.d2 #demoLeadSubmit[disabled]{cursor:wait;opacity:.72}

/* printing the page prints only the generated packet */
@media print{
  .d2 .demo-page > :not(#demoPacket){display:none!important}
}

/* ---------- responsive ---------- */
@media (max-width:1068px){
  .d2 .idemo-hero h1{font-size:56px}
  .d2 .workflow-selector{grid-template-columns:repeat(2,minmax(0,1fr))}
  .d2 .idemo-next{grid-template-columns:1fr;padding:36px}
  .d2 .idemo-lead{grid-template-columns:1fr;gap:40px}
  .d2 .idemo-lead__intro{position:static}
  .d2 .idemo-guides__wide{flex-direction:column;align-items:flex-start;grid-column:span 2}
  .d2 .idemo-guides__wide .d2-btile__links{padding-top:8px}
}
@media (max-width:734px){
  .d2 .idemo-hero h1{font-size:40px;line-height:1.1;letter-spacing:-.02em}
  .d2 .workflow-selector{grid-template-columns:1fr;gap:12px;margin-top:40px}
  .d2 .idemo-next{margin-top:48px;padding:24px;border-radius:24px}
  .d2 .idemo-next__copy h3{font-size:24px}
  .d2 .idemo-next__path{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}
  .d2 .idemo-convo{min-height:0;padding:20px;border-radius:24px}
  .d2 .idemo-convo__card{padding:20px;border-radius:22px}
  .d2 .idemo-bubble{font-size:15px}
  .d2 .idemo-shows__steps{margin-top:72px}
  .d2 .idemo-guides__wide{grid-column:auto}
  .d2 .idemo-guides__wide h3{font-size:24px!important}
}
