/* /demo-a/ — a client approval to try: the request on a phone (as the home page's demo phone), then the preview. */
html { overflow-x: clip; }
.demo-intro { max-width: 680px; margin: 0 auto; padding: 32px 20px 8px; }
.demo-intro h1 { margin: 0 0 12px; }
.demo-intro p { font-size: 1.05rem; line-height: 1.55; }
.demo-stage { display: flex; justify-content: center; padding: 12px 16px 56px; }
#demo { width: 100%; max-width: 640px; } /* as wide as the intro's text (680px less its 20px sides) */

.demo-phone {
  box-sizing: border-box; width: 352px; max-width: 100%; margin: 0 auto; border: 11px solid #1d1d1f; border-radius: 50px; overflow: hidden;
  background: var(--ag-groupedBg); box-shadow: 0 0 0 1px #3a3a3c, 0 30px 70px rgba(0, 0, 0, .22);
}
.demo-phone-screen { color: var(--ag-label); padding-bottom: 24px; } /* as tall as the request, no taller */
.demo-phone .ag-screen { min-height: 0; } /* the request fills a real phone's window (agenteer-ios.css); in this drawn phone, only its content */
.demo-phone-from { display: flex; flex-direction: column; gap: 1px; padding: 14px 18px 0; font-size: 13px; color: var(--ag-secondaryLabel); }
.demo-phone-from b { font-size: 15px; color: var(--ag-label); }
.demo-phone-error { padding: 24px; text-align: center; color: var(--ag-secondaryLabel); }
.demo-hint { margin: 8px 18px 0; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #8a4b00; font-size: 14px; line-height: 1.4; }

.demo-result { margin: 0 auto; }
.demo-label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ag-secondaryLabel, #6c6c70); }
.demo-card { border: 1px solid var(--ag-separator, #e5e5ea); border-radius: 16px; padding: 16px 18px; background: var(--ag-secondaryGroupedBg, #fff); }
.demo-card-head { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; }
.demo-card-head span { font-size: 13px; color: var(--ag-secondaryLabel, #6c6c70); }
.demo-rows { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.demo-rows dt { color: var(--ag-secondaryLabel, #6c6c70); }
.demo-rows dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.demo-small { font-size: 15px; line-height: 1.5; color: var(--ag-label, #1c1c1e); } /* the text colour: the light grey was too faint to read (the founder, 2026-11-13) */
.demo-result h2 { margin: 36px 0 8px; font-size: 1.3rem; }
.demo-recipe { margin: 12px 0 20px; padding: 12px 16px; border-left: 3px solid var(--ag-blue, #007aff); background: var(--ag-secondaryGroupedBg, #f2f2f7); border-radius: 0 10px 10px 0; line-height: 1.5; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.demo-primary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 22px; background: var(--ag-blue, #007aff); color: #fff; font-weight: 600; text-decoration: none; }
.demo-again { min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--ag-blue, #007aff); font: inherit; font-weight: 600; cursor: pointer; }

@media (prefers-color-scheme: dark) {
  .demo-hint { background: #3a2a10; color: #ffcf8a; }
  .demo-card { background: #1c1c1e; border-color: #3a3a3c; } /* the text turns light in dark mode, so the card does too */
  .demo-recipe { background: #1c1c1e; }
}
@media (max-width: 640px) {
  .demo-intro { padding: 16px 20px 2px; }
  .demo-intro h1 { font-size: 1.7rem; }
}
.demo-builders { margin: 18px 0 0; }
.demo-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ag-blue, #007aff); text-decoration: none; }
.demo-video { display: block; width: min(1040px, calc(100vw - 32px)); max-width: none; height: auto; margin: 8px 0 10px 50%; transform: translateX(-50%); border-radius: 18px; background: #f5f5f7; box-shadow: 0 12px 40px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .08); } /* as wide as the home page video (business.css .biz-video: 1040px), centred out of the text column */
/* Alex Twigg's feedback (2026-11-15): say it's a preview above the phone; start free with a test; the software line under the result */
.demo-start { margin: 4px 0 0; }
.demo-start-link { font-weight: 600; color: var(--ag-blue, #007aff); text-decoration: none; }
.demo-intro .demo-preview-note { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--ag-label, #1c1c1e); }
.demo-software { margin: 16px 0 4px; font-size: 1.05rem; font-weight: 600; line-height: 1.45; }
.demo-phone .ag-screen { padding-top: 0; }
