/* Extends the existing IconBundlr dark/lavender system; no remote assets. */
.demo-page { color-scheme: dark; overflow-x: visible; }
.demo-page ::selection { background: #A5B4FC; color: #15152C; }
.demo-page a { text-underline-offset: .24em; }
.demo-page a:hover { text-decoration: underline; }
.demo-page :focus-visible { outline: 3px solid #C4B5FD; outline-offset: 6px; }
.demo-skip { position: absolute; top: -100px; left: 24px; padding: 12px; background: var(--bg-surface); z-index: 5; }
.demo-skip:focus { top: 12px; }
.demo-header, .demo-footer { max-width: 1200px; margin: auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.demo-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); font-size: 20px; font-weight: 700; }
.demo-header nav, .demo-footer nav { display: flex; gap: 28px; }
.demo-main { max-width: 1200px; margin: auto; padding: 60px 40px 0; }
.demo-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; padding-bottom: 88px; }
.demo-copy h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.demo-lead { font-size: 19px; color: #BAC5D5; margin: 26px 0 30px; max-width: 43ch; }
.demo-download { display: inline-flex; gap: 24px; align-items: center; padding: 16px 24px; border-radius: 10px; background: #A5B4FC; color: #15152C; font-weight: 750; transition: background .18s ease-out; }
.demo-download:hover { background: #C4B5FD; color: #15152C; }
.demo-download-note { margin-top: 12px; color: #BAC5D5; font-size: 14px; font-variant-numeric: tabular-nums; }
.demo-provenance { margin-top: 26px; max-width: 49ch; color: var(--text-secondary); font-size: 14px; }
.demo-art img { width: 100%; border-radius: 14px; }
.demo-art figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; color: #BAC5D5; font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-output { border-top: 1px solid #35364A; padding-top: 48px; }
.demo-section-heading { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.demo-section-heading h2, .demo-process h2, .demo-next h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.demo-section-heading p { color: #BAC5D5; }
.demo-file-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #35364A; align-items: center; }
.demo-file-row code { color: #C4B5FD; overflow-wrap: anywhere; font-size: 14px; }
.demo-file-row span { color: #BAC5D5; font-size: 15px; font-variant-numeric: tabular-nums; }
.demo-file-head span { font-weight: 650; color: var(--text-primary); }
.demo-limit { max-width: 74ch; margin: 28px 0; color: #BAC5D5; }
.demo-manifest { padding: 20px 24px; background: var(--bg-surface); border-radius: 12px; }
.demo-manifest summary { cursor: pointer; color: #C4B5FD; font-weight: 650; min-height: 28px; }
.demo-manifest pre { overflow-x: auto; padding: 24px 0; font-size: 13px; scrollbar-color: #A5B4FC #111122; }
.demo-process { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 88px 0; }
.demo-process p { color: #BAC5D5; margin-top: 22px; max-width: 48ch; }
.demo-process-copy a { display: block; width: fit-content; margin-top: 20px; text-decoration: underline; }
.demo-resize { display: grid; grid-template-columns: 2fr 28px 1fr; align-items: center; gap: 24px; }
.demo-resize img { border-radius: 12px; }
.demo-resize figcaption { color: #BAC5D5; font-size: 13px; padding-top: 16px; font-variant-numeric: tabular-nums; }
.demo-resize > span { text-align: center; color: #C4B5FD; font-size: 26px; }
.demo-next { padding: 48px 0 70px; border-top: 1px solid #35364A; }
.demo-next p { margin-top: 24px; max-width: 72ch; color: #BAC5D5; }
.demo-next > a { display: inline-block; margin: 28px 28px 0 0; text-decoration: underline; }
.demo-store { font-weight: 700; }
.demo-footer { border-top: 1px solid #35364A; padding-top: 30px; padding-bottom: 40px; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) { .demo-art { animation: sample-arrive .5s cubic-bezier(.16,1,.3,1) both; } @keyframes sample-arrive { from { transform: translateY(10px); clip-path: inset(0 0 3% 0 round 14px); } to { transform: translateY(0); clip-path: inset(0 0 0 0 round 14px); } } }
@media (max-width: 820px) { .demo-intro { gap: 36px; } .demo-section-heading { display: block; } .demo-section-heading p { margin-top: 16px; } .demo-process { gap: 36px; } }
@media (max-width: 650px) { .demo-header, .demo-footer { padding: 24px; } .demo-header nav, .demo-footer nav { gap: 18px; } .demo-main { padding: 36px 24px 0; } .demo-intro { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; } .demo-copy h1 { font-size: clamp(2.45rem, 9.5vw, 3.8rem); } .demo-lead { font-size: 18px; } .demo-art { max-width: 420px; } .demo-file-head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); } .demo-file-row { grid-template-columns: 1fr; gap: 5px; padding: 20px 0; } .demo-file-row code { font-size: 15px; } .demo-manifest { padding: 18px 16px; } .demo-process { grid-template-columns: 1fr; padding: 56px 0; } .demo-resize { max-width: 420px; } .demo-next { padding: 40px 0 48px; } .demo-footer { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .demo-page * { transition: none; } }
