/* Hero background demos (ChatGPT, PDF, Google Calendar, Slack): live HTML drawn at 1440x900 and scaled by the demo engine. Redraws, not recordings. */
.cg, .pd, .cal, .sk { position: absolute; inset: 0; width: 1440px; height: 900px; overflow: hidden; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.cg *, .pd *, .cal *, .sk * { box-sizing: border-box; }
.cg p, .pd p, .sk p, .cg h2, .pd h2, .sk h3 { margin: 0; }
.cg u, .cal u, .sk u { text-decoration: none; }

/* ChatGPT */
.cg { background: #212121; color: #ececec; font-size: 22px; }
.cg-side { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; background: #171717; padding: 18px 14px; }
.cg-new { height: 50px; border-radius: 10px; background: #2a2a2a; padding: 0 16px; display: flex; align-items: center; font-weight: 500; margin-bottom: 26px; }
.cg-side .h { font-size: 15px; color: #8e8e8e; padding: 14px 16px 6px; } .cg-side .it { padding: 11px 16px; border-radius: 8px; font-size: 18px; color: #cfcfcf; } .cg-side .it.on { background: #2a2a2a; }
.cg-top { position: absolute; left: 300px; right: 0; top: 0; height: 64px; padding: 0 28px; display: flex; align-items: center; font-size: 22px; color: #d0d0d0; }
.cg-old, .cg-chat { position: absolute; left: 490px; width: 760px; top: 130px; }
.cg .u { margin-left: auto; width: fit-content; max-width: 600px; background: #303030; padding: 14px 22px; border-radius: 26px; line-height: 1.45; margin-bottom: 26px; }
.cg .a { line-height: 1.6; color: #e4e4e4; }
.cg-hi { position: absolute; left: 300px; right: 0; top: 330px; text-align: center; display: none; } .cg-hi h2 { font-size: 46px; font-weight: 500; }
.cg.fresh .cg-old { display: none; } .cg.fresh .cg-hi { display: block; } .cg.sent .cg-hi { display: none; }
.cg-chat { display: none; } .cg.sent .cg-chat { display: block; }
.cg-act { margin-top: 18px; display: flex; gap: 22px; font-style: normal; color: #9b9b9b; font-size: 22px; } .cg-act i { font-style: normal; padding: 4px 8px; border-radius: 8px; } .cg.copied .cg-act i:first-child { background: #3a3a3a; color: #fff; }
.cg-box { position: absolute; left: 490px; width: 760px; bottom: 70px; height: 74px; background: #303030; border-radius: 40px; padding: 0 28px; display: flex; align-items: center; font-size: 22px; }
.cg-box u { color: #8e8e8e; } .cg-typed:not(:empty) + u { display: none; } .cg-typed { white-space: nowrap; overflow: hidden; }
.cg-send { position: absolute; right: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 24px; }

/* PDF reader */
.pd { background: #525659; color: #222; }
.pd-bar { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: #323639; color: #e8e8e8; display: flex; align-items: center; gap: 30px; padding: 0 28px; font-size: 20px; } .pd-bar span { margin-left: auto; color: #b8b8b8; } .pd-bar i { font-style: normal; font-size: 24px; color: #cfcfcf; }
.pd-page { position: absolute; left: 380px; width: 680px; top: 90px; height: 1000px; background: #fff; padding: 64px 62px; font-family: Georgia, "Times New Roman", serif; box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.pd-page small { font: 600 14px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: .12em; color: #8a8a8a; } .pd-page h2 { font-size: 40px; margin: 12px 0 30px; line-height: 1.1; color: #111; }
.pd .l { height: 12px; border-radius: 4px; background: #e4e4e4; margin: 0 0 16px; } .pd .l.s { width: 62%; }
.pd .para { font-size: 22px; line-height: 1.65; margin: 26px 0 34px; padding: 6px 8px; border-radius: 6px; transition: background .5s; } .pd.hl .para { background: #fff2a8; }
.pd .fig { border: 1px solid #ddd; border-radius: 10px; padding: 26px 18px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; font: 500 20px/1.2 -apple-system, "Segoe UI", sans-serif; margin-bottom: 30px; }
.pd .bx { padding: 14px 18px; border-radius: 8px; background: #e6f0ff; } .pd .bx.g { background: #dff3dc; } .pd .bx.y { background: #fff0c9; } .pd .ar { font-size: 28px; color: #888; } .pd .fig em { flex-basis: 100%; text-align: center; font-size: 15px; color: #777; margin-top: 8px; }
.pd .eq { text-align: center; font-size: 26px; font-style: italic; padding: 16px 8px; margin-bottom: 30px; border-radius: 6px; transition: background .5s; } .pd.hl2 .eq { background: #dcefff; }

/* Google Calendar */
.cal { background: #fff; color: #3c4043; font-family: "Google Sans", Roboto, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 20px; }
.cal-top { position: absolute; left: 0; right: 0; top: 0; height: 68px; border-bottom: 1px solid #dadce0; display: flex; align-items: center; gap: 28px; padding: 0 28px; } .cal-top .lg { font-size: 26px; width: 200px; } .cal-top u { border: 1px solid #dadce0; border-radius: 8px; padding: 9px 20px; } .cal-top b { font-weight: 400; font-size: 28px; }
.cal-side { position: absolute; left: 0; top: 68px; bottom: 0; width: 256px; padding: 24px 16px; }
.cal-create { width: 160px; height: 64px; border-radius: 32px; background: #fff; box-shadow: 0 1px 4px rgba(60, 64, 67, .4); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; }
.cal .mini { margin-top: 36px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px 0; text-align: center; font-size: 15px; } .cal .mini i { font-style: normal; padding: 6px 0; } .cal .mini .td { background: #1a73e8; color: #fff; border-radius: 50%; }
.cal-grid { position: absolute; left: 256px; right: 0; top: 68px; bottom: 0; }
.cal .hd { margin-left: 64px; height: 56px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; text-align: center; font-size: 18px; color: #70757a; border-bottom: 1px solid #dadce0; } .cal .hd .td { color: #1a73e8; font-weight: 600; }
.cal .r { height: 80px; border-bottom: 1px solid #e8eaed; position: relative; } .cal .r em { position: absolute; left: 8px; top: -11px; font-style: normal; font-size: 14px; color: #70757a; background: #fff; padding: 0 4px; }
.cal .rows { position: relative; }
.cal .ev { position: absolute; width: calc((100% - 64px) / 7 - 8px); margin-left: 4px; border-radius: 6px; padding: 8px 10px; font-size: 17px; color: #fff; background: #039be5; }
.cal .e1 { left: 64px; top: 56px; height: 76px; } .cal .e2 { left: calc(64px + (100% - 64px) / 7); top: 216px; height: 76px; background: #33b679; } .cal .e3 { left: calc(64px + (100% - 64px) / 7 * 2); top: 296px; height: 50px; background: #8e24aa; }
.cal .ne { display: none; left: calc(64px + (100% - 64px) / 7 * 3); top: 536px; height: 76px; background: #1a73e8; line-height: 1.3; } .cal.saved .ne { display: block; }
.cal-dlg { display: none; position: absolute; left: 470px; top: 170px; width: 520px; background: #fff; border-radius: 12px; box-shadow: 0 8px 40px rgba(0, 0, 0, .35); padding: 22px 30px 26px; } .cal.open .cal-dlg { display: block; }
.cal-dlg .dh { display: flex; justify-content: space-between; color: #9aa0a6; font-size: 15px; margin-bottom: 14px; } .cal-dlg .dh i { font-style: normal; }
.cal-dlg .ttl { height: 54px; border-bottom: 2px solid #1a73e8; font-size: 28px; display: flex; align-items: center; margin-bottom: 22px; } .cal-dlg .ttl u, .cal-dlg .gs u { color: #80868b; } .c-typed:not(:empty) + u, .g-typed:not(:empty) + u { display: none; }
.cal-dlg .tm { height: 52px; border-radius: 8px; background: #f1f3f4; display: flex; align-items: center; padding: 0 16px; margin-bottom: 16px; font-size: 19px; } .cal-dlg .gs { height: 52px; border-radius: 8px; background: #f1f3f4; display: flex; align-items: center; padding: 0 16px; margin-bottom: 22px; font-size: 19px; }
.cal-dlg .sv { text-align: right; } .cal-dlg .sv b { display: inline-block; background: #1a73e8; color: #fff; border-radius: 22px; padding: 12px 34px; font-weight: 500; }
.cal-toast { display: none; position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); background: #323232; color: #fff; padding: 14px 26px; border-radius: 8px; font-size: 18px; } .cal.saved .cal-toast { display: block; }

/* Slack */
.sk { background: #fff; color: #1d1c1d; font-size: 22px; font-family: Lato, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.sk-side { position: absolute; left: 0; top: 0; bottom: 0; width: 280px; background: #3f0e40; color: #d1bfd2; padding: 20px 18px; }
.sk-side h3 { color: #fff; font-size: 24px; padding: 0 8px 22px; } .sk-side .h { font-size: 15px; padding: 18px 8px 6px; color: #b89cb9; } .sk-side .c { padding: 8px 12px; border-radius: 6px; font-size: 20px; }
.sk.chan .sk-side [data-t="chan"] { background: #1164a3; color: #fff; }
.sk-top { position: absolute; left: 280px; right: 0; top: 0; height: 64px; border-bottom: 1px solid #ddd; display: flex; align-items: center; padding: 0 28px; font-size: 24px; } .sk-top .t2 { display: none; } .sk.chan .sk-top .t1 { display: none; } .sk.chan .sk-top .t2 { display: inline; }
.sk-msgs { position: absolute; left: 280px; right: 0; top: 64px; padding: 26px 28px; display: flex; flex-direction: column; gap: 26px; }
.sk-msgs > div { display: flex; gap: 16px; line-height: 1.4; } .sk-msgs i { width: 56px; height: 56px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; }
.sk .a1 { background: #e8912d; } .sk .a2 { background: #2eb67d; } .sk .a3 { background: #36c5f0; } .sk-msgs em { font-style: normal; font-size: 15px; color: #777; margin-left: 8px; } .sk mark { background: #d6ebfb; color: #1264a3; border-radius: 4px; padding: 0 3px; }
.sk .m3 { display: none; } .sk.sent .m3 { display: flex; } .sk.chan .m1 { display: none; }
.sk-box { position: absolute; left: 312px; right: 32px; bottom: 44px; height: 130px; border: 1px solid #aaa; border-radius: 10px; padding: 18px 20px; font-size: 22px; } .sk-box u { color: #868686; } .sk-typed:not(:empty) + u { display: none; }
.sk-go { position: absolute; right: 14px; bottom: 14px; width: 54px; height: 40px; border-radius: 6px; background: #007a5a; color: #fff; display: grid; place-items: center; font-size: 18px; }

/* ---- multi-step additions ---- */
/* ChatGPT: a thread of three turns */
.cg-chat { top: 96px; font-size: 21px; } .cg-chat .tn { display: none; } .cg.s1 .tn1, .cg.s2 .tn2, .cg.s3 .tn3 { display: block; }
.cg-chat .u { margin-bottom: 12px; padding: 12px 20px; } .cg-chat .a { margin-bottom: 26px; min-height: 30px; } .cg:not(.s3) .cg-act { visibility: hidden; }
/* PDF: summary and quiz panel */
.pd-notes { position: absolute; left: 1090px; top: 90px; width: 320px; padding: 24px; border-radius: 12px; background: #2f3235; color: #eee; font-size: 20px; line-height: 1.45; opacity: 0; transition: opacity .4s; } .pd.notes .pd-notes { opacity: 1; }
.pd-notes h4 { margin: 0 0 14px; font: 600 15px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #9bb8ff; }
.pd-notes .b { margin: 0 0 12px; padding-left: 22px; position: relative; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; } .pd-notes .b::before { content: "•"; position: absolute; left: 4px; color: #9bb8ff; }
.pd.n1 .b1, .pd.n2 .b2, .pd.n3 .b3 { opacity: 1; transform: none; }
.pd-notes .q { margin-top: 26px; padding-top: 20px; border-top: 1px solid #4a4d51; opacity: 0; transition: opacity .4s; } .pd.quiz .q { opacity: 1; } .pd-notes .q p { margin: 0 0 12px; }
.pd-notes .o { padding: 10px 14px; border-radius: 8px; background: #3c4043; margin-bottom: 8px; font-size: 18px; } .pd.right .o.ok { background: #1e8e3e; color: #fff; }
/* Calendar: taller dialog with repeat and video call */
.cal-dlg { top: 100px; padding-bottom: 22px; } .cal-dlg .tm, .cal-dlg .gs { margin-bottom: 12px; } .cal-dlg .ttl { margin-bottom: 16px; }
.cal.rpt .rp { color: #1a73e8; font-weight: 500; } .cal.met .meet { background: #e8f0fe; color: #1a73e8; }
/* Slack: create-channel dialog, welcome note, pin */
.sk-shade { display: none; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); } .sk.modal .sk-shade { display: block; }
.sk-modal { display: none; position: absolute; left: 470px; top: 150px; width: 520px; padding: 28px 32px 26px; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); } .sk.modal .sk-modal { display: block; }
.sk-modal h4 { margin: 0 0 18px; font-size: 28px; } .sk-modal .lb { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.sk-modal .fld { min-height: 54px; border: 1px solid #aaa; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 21px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .sk-modal .fld u { color: #868686; }
.s-typed:not(:empty) ~ u { display: none; } .sk-modal .chips { display: contents; } .sk-modal .chips b { display: none; background: #e8f5fa; color: #1264a3; font-weight: 500; border-radius: 6px; padding: 4px 10px; font-size: 18px; } .sk.i1 .chips .c1, .sk.i2 .chips .c2 { display: inline-block; } .sk.i1 .fld u { display: none; }
.sk-modal .sv { text-align: right; } .sk-modal .sv b { display: inline-block; background: #007a5a; color: #fff; padding: 12px 30px; border-radius: 8px; font-size: 19px; }
.sk .nc { display: none; } .sk.chan .nc { display: block; background: #1164a3; color: #fff; }
.sk .mw { display: none; padding: 20px 24px; border-radius: 10px; background: #f8f8f8; font-size: 20px; line-height: 1.5; } .sk.chan .mw { display: block; } .sk.chan .m2 { display: none; }
.sk .m3 { position: relative; } .sk .pinbtn { position: absolute; right: 20px; top: -6px; padding: 6px 10px; background: #fff; border: 1px solid #ddd; border-radius: 8px; font-size: 20px; } .sk .pin { visibility: hidden; color: #8a6d00; } .sk.pinned .pin { visibility: visible; } .sk.pinned .m3 { background: #fff8e1; }
.sk-sent { display: inline; }
.cal .ne { height: 104px; }
