/* Shared demo presentation. Scoped classes preserve each app's own interface. */
@font-face{font-family:"OpenAI Sans Demo";src:url("../demo-home/20260929/fonts/OpenAISans-Regular.woff2") format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"OpenAI Sans Demo";src:url("../demo-home/20260929/fonts/OpenAISans-Medium.woff2") format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"OpenAI Sans Demo";src:url("../demo-home/20260929/fonts/OpenAISans-Semibold.woff2") format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"OpenAI Sans Demo";src:url("../demo-home/20260929/fonts/OpenAISans-Bold.woff2") format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{
  --tlgd-ink:#070b16;--tlgd-navy:#101727;--tlgd-navy-2:#192238;--tlgd-line:#2b3550;
  --tlgd-paper:#f4efe4;--tlgd-muted:#a1afc4;--tlgd-bulb:#ffd98a;
  --tlgd-shadow:0 24px 64px rgba(0,0,0,.4),0 2px 8px rgba(0,0,0,.24);
  --tlgd-font:"OpenAI Sans Demo",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --tlgd-bar-height:64px;
}
.tlgd-bar,.tlgd-tour,.tlgd-note,.tlgd-phone-page,.tlgd-device{box-sizing:border-box}
/* Scroll with the page; Crew pins this above its own safe-area inset. */
.tlgd-bar{
  position:relative;z-index:2147483000;display:flex;align-items:center;gap:18px;
  min-height:calc(var(--tlgd-bar-height) + env(safe-area-inset-top,0px));padding:0 24px;padding-top:env(safe-area-inset-top,0px);
  background:var(--tlgd-ink);color:var(--tlgd-paper);border-bottom:1px solid var(--tlgd-line);
  font:500 13px/1.2 var(--tlgd-font);-webkit-font-smoothing:antialiased;
}
.tlgd-bar a{color:inherit;text-decoration:none}
.tlgd-brand{display:inline-flex;align-items:center;gap:8px;font-weight:600;white-space:nowrap;min-height:44px;flex:none}
.tlgd-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--tlgd-bulb);box-shadow:0 0 12px #ffd98a70}
.tlgd-sub{font-weight:400;color:var(--tlgd-muted)}
.tlgd-links{display:flex;gap:4px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.tlgd-links::-webkit-scrollbar{display:none}
.tlgd-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:0 14px;border:1px solid transparent;border-radius:999px;color:var(--tlgd-muted);white-space:nowrap}
.tlgd-links a:hover{color:var(--tlgd-paper);background:var(--tlgd-navy)}
.tlgd-links a[aria-current="page"]{color:var(--tlgd-bulb);background:var(--tlgd-navy);border-color:var(--tlgd-line)}
.tlgd-tour-btn{flex:none;min-height:44px;border:0;border-radius:999px;padding:0 20px;cursor:pointer;background:var(--tlgd-bulb);color:#291e0a;font:600 13px/1 var(--tlgd-font)}
.tlgd-tour-btn:hover,.tlgd-next:hover{background:#ffe4ac}
.tlgd-bar a:focus-visible,.tlgd-tour-btn:focus-visible,.tlgd-tour a:focus-visible,.tlgd-tour button:focus-visible,.tlgd-phone-side a:focus-visible,.tlgd-sample:focus-visible{outline:2px solid #5cc8ff;outline-offset:3px}
.tlgd-short{display:none}
html.tlgd-in-crew:not(.tlgd-framed){--sat:calc(env(safe-area-inset-top,0px) + var(--tlgd-bar-height))}
html.tlgd-in-crew:not(.tlgd-framed) .tlgd-bar{position:fixed;left:0;right:0;top:0}
html.tlgd-framed .tlgd-bar,html.tlgd-framed .tlgd-tour{display:none!important}
html.tlgd-site .tlgc-bubble,html.tlgd-site .tlgc-panel{display:none!important}
.tlgd-note{
  position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:2147483600;
  transform:translate(-50%,12px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:10px;max-width:min(92vw,440px);
  padding:14px 18px;border:1px solid var(--tlgd-line);border-radius:18px;background:var(--tlgd-navy);color:var(--tlgd-paper);box-shadow:var(--tlgd-shadow);
  font:400 14px/1.4 var(--tlgd-font);transition:opacity .18s ease,transform .18s ease;
}
.tlgd-note.is-on{opacity:1;transform:translate(-50%,0)}
.tlgd-note b{color:var(--tlgd-bulb);font-weight:600;white-space:nowrap}
/* One existing tour, with the homepage's navy card and warm gold actions. */
.tlgd-tour{
  position:fixed;left:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:2147483500;
  width:min(400px,calc(100vw - 40px));max-height:calc(100dvh - 40px - env(safe-area-inset-bottom,0px));
  background:var(--tlgd-navy);color:var(--tlgd-paper);border:1px solid var(--tlgd-line);border-radius:24px;box-shadow:var(--tlgd-shadow);
  font:400 14px/1.55 var(--tlgd-font);overflow:auto;
}
.tlgd-tour[hidden]{display:none}
.tlgd-tour-top{display:flex;align-items:center;gap:6px;padding:10px 12px 0 20px}
.tlgd-step{font:600 10px/1.2 var(--tlgd-font);letter-spacing:.09em;text-transform:uppercase;color:var(--tlgd-muted)}
.tlgd-progress{display:flex;gap:5px;margin-left:auto}
.tlgd-progress i{width:7px;height:7px;border-radius:50%;background:var(--tlgd-line)}
.tlgd-progress i.on{background:var(--tlgd-bulb);box-shadow:0 0 8px #ffd98a40}
.tlgd-progress i.on:nth-child(2){background:#ff5c5c}.tlgd-progress i.on:nth-child(3){background:#5cc8ff}.tlgd-progress i.on:nth-child(4){background:#5ee08a}.tlgd-progress i.on:nth-child(5){background:#b48cff}.tlgd-progress i.on:nth-child(6){background:#ff7ac8}
.tlgd-x{flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--tlgd-muted);font:400 22px/1 var(--tlgd-font);cursor:pointer;padding:0}
.tlgd-x:hover{color:var(--tlgd-paper);background:var(--tlgd-navy-2)}
.tlgd-tour h2{margin:4px 20px 8px;font:500 24px/1.15 var(--tlgd-font);letter-spacing:-.035em;color:var(--tlgd-paper)}
.tlgd-tour p{margin:0 20px;color:var(--tlgd-muted)}
.tlgd-choices{display:grid;gap:8px;margin:16px 20px 0}
.tlgd-choices a{display:block;padding:12px 14px;border:1px solid var(--tlgd-line);background:var(--tlgd-navy-2);border-radius:14px;color:var(--tlgd-paper);text-decoration:none;font-weight:500}
.tlgd-choices a span{display:block;font-weight:400;font-size:12.5px;color:var(--tlgd-muted);margin-top:2px}
.tlgd-choices a:hover{border-color:var(--tlgd-bulb)}
.tlgd-actions{display:flex;align-items:center;gap:8px;padding:18px 20px 20px}
.tlgd-actions .tlgd-back{flex:none;min-width:44px;min-height:44px;border:0;border-radius:999px;background:transparent;color:var(--tlgd-muted);font:500 13px/1 var(--tlgd-font);cursor:pointer;padding:0 8px}
.tlgd-back:hover{color:var(--tlgd-paper);background:var(--tlgd-navy-2)}
.tlgd-actions .tlgd-next{margin-left:auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:0;border-radius:999px;padding:12px 18px;cursor:pointer;text-decoration:none;background:var(--tlgd-bulb);color:#291e0a;font:600 13px/1.25 var(--tlgd-font);text-align:center}
.tlgd-tour .tlgd-go{display:inline-flex;align-items:center;min-height:44px;margin:8px 20px 0;font-weight:500;color:var(--tlgd-bulb);text-underline-offset:4px}
.tlgd-tour.is-small{width:min(420px,calc(100vw - 40px));cursor:pointer}
.tlgd-tour.is-small p,.tlgd-tour.is-small .tlgd-choices,.tlgd-tour.is-small .tlgd-go,.tlgd-tour.is-small .tlgd-progress,.tlgd-tour.is-small .tlgd-back{display:none}
.tlgd-tour.is-small .tlgd-tour-top{padding:4px 8px 0 18px}
.tlgd-tour.is-small h2{font-size:18px;margin:0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tlgd-tour.is-small .tlgd-actions{padding:12px 16px 16px}
/* The phone previews sit on the same black canvas as the homepage. */
.tlgd-phone-page{
  min-height:calc(100dvh - var(--tlgd-bar-height) - env(safe-area-inset-top,0px));display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:40px;padding:24px 28px;
  background:var(--tlgd-ink);color:var(--tlgd-paper);font:400 15px/1.65 var(--tlgd-font);-webkit-font-smoothing:antialiased;
}
.tlgd-phone-side{max-width:300px;justify-self:end}
.tlgd-phone-side.right{justify-self:start}
.tlgd-phone-side h1{margin:0 0 14px;font:500 34px/1.1 var(--tlgd-font);letter-spacing:-.045em;color:var(--tlgd-paper)}
.tlgd-phone-side p{margin:0 0 18px;color:var(--tlgd-muted)}
.tlgd-phone-side a{display:inline-flex;align-items:center;min-height:44px;color:var(--tlgd-bulb);font-weight:500;text-decoration:none}
.tlgd-phone-side a:hover{text-decoration:underline;text-underline-offset:5px}
.tlgd-phone-side ul{margin:0;padding:0;list-style:none;display:grid;gap:10px;color:var(--tlgd-paper);font-size:14px}
.tlgd-phone-side li::before{content:"";display:inline-block;width:7px;height:7px;margin-right:10px;border-radius:50%;background:var(--tlgd-bulb);vertical-align:1px}
.tlgd-phone-side li:nth-child(2)::before{background:#ff5c5c}.tlgd-phone-side li:nth-child(3)::before{background:#5cc8ff}.tlgd-phone-side li:nth-child(4)::before{background:#5ee08a}
.tlgd-device{
  position:relative;width:min(402px,calc((100dvh - var(--tlgd-bar-height) - 48px - env(safe-area-inset-top,0px)) * 402 / 868),calc(100vw - 56px));aspect-ratio:402 / 868;
  padding:10px;border-radius:48px;background:#05070c;box-shadow:0 0 0 2px var(--tlgd-line),0 32px 64px #0008,inset 0 0 0 1px #192238;
}
.tlgd-device::before{content:"";position:absolute;top:2.5%;left:50%;width:28%;height:3.5%;transform:translateX(-50%);border-radius:20px;background:#05070c;z-index:2;pointer-events:none}
.tlgd-device iframe{display:block;width:100%;height:100%;border:0;border-radius:38px;background:var(--tlgd-navy)}
@media(max-width:1100px){.tlgd-phone-page{grid-template-columns:auto;justify-content:center}.tlgd-phone-side{display:none}}
@media(max-width:720px){
  :root{--tlgd-bar-height:56px}
  .tlgd-bar{gap:6px;padding-inline:8px;font-size:12px}
  .tlgd-brand{gap:6px}.tlgd-sub,.tlgd-long{display:none}.tlgd-short{display:inline}
  .tlgd-links{gap:0}.tlgd-links a{min-width:44px;padding-inline:6px;font-size:12px}
  .tlgd-tour-btn{min-width:44px;padding-inline:10px;font-size:12px}
  html.tlgd-in-home{--tlgd-bar-height:146px}
  .tlgd-tour,.tlgd-tour.is-small{left:8px;right:8px;width:auto;bottom:auto;top:calc(var(--tlgd-bar-height) + 8px + env(safe-area-inset-top,0px));max-height:calc(100dvh - var(--tlgd-bar-height) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:20px}
  .tlgd-tour-top{gap:2px;padding-left:16px;padding-right:6px}.tlgd-progress{gap:4px}
  .tlgd-tour h2{margin-inline:16px;font-size:22px}.tlgd-tour p{margin-inline:16px}
  .tlgd-choices{margin-inline:16px}.tlgd-actions{padding-inline:16px}
  .tlgd-phone-page{padding-inline:20px}.tlgd-device{width:min(402px,calc((100dvh - var(--tlgd-bar-height) - 48px - env(safe-area-inset-top,0px)) * 402 / 868),calc(100vw - 40px))}
}
@media(prefers-reduced-motion:reduce){.tlgd-note{transition:none}}
/* Sample-home choices are demo controls, rather than production form styling. */
.upload-actions.tlgd-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.upload-actions.tlgd-samples .tlgd-sample{display:grid;grid-template-rows:auto auto;gap:8px;padding:8px;text-align:left;cursor:pointer;border:1px solid var(--tlgd-line);border-radius:14px;background:var(--tlgd-navy);font:400 14px/1.5 var(--tlgd-font);color:var(--tlgd-paper)}
.upload-actions.tlgd-samples .tlgd-sample:hover{border-color:var(--tlgd-bulb);background:var(--tlgd-navy-2)}
.upload-actions.tlgd-samples .tlgd-sample img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:9px}
.upload-actions.tlgd-samples .tlgd-sample span{display:grid;gap:2px;padding:0 4px 4px}
@media(max-width:640px){.upload-actions.tlgd-samples{grid-template-columns:1fr}}
html.tlgd-site [data-turnstile-action]{display:none!important}
