/* The demo collection has its own layout; shared header and hero styles stay in styles.css. */
.collection{padding-top:90px;padding-bottom:64px}
.demos-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:48px}
.demos-heading .eyebrow{margin-bottom:14px}
.demos-heading h2{font-size:clamp(2.5rem,4.6vw,4.2rem);letter-spacing:-.055em;line-height:1.06;margin:0}
.demos-intro{max-width:355px;padding-bottom:4px}
.demos-count{font-size:.75rem;letter-spacing:.12em;font-weight:700;color:var(--blue)}
.demos-intro p{font-size:1rem;color:var(--muted);margin:12px 0 0;line-height:1.7}
.demo-list{display:grid;gap:32px}
.demo-feature{--stage:#f9df9d;--accent:#87520f;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);background:white;border:1px solid #dce4ed;border-radius:12px;overflow:hidden}
.demo-alder{--stage:#dce3d5;--accent:#4e6044}
.demo-northline{--stage:#cfe4eb;--accent:#155769}
.demo-rustic{--stage:#e8d4bf;--accent:#74513a}
.demo-stage{background:var(--stage);padding:42px 30px 25px;display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative}
.demo-browser{background:#fff;border:1px solid #122d4a20;border-radius:7px;overflow:hidden;box-shadow:0 18px 25px -12px #122d4a45;transition:transform .3s,box-shadow .3s}
.demo-stage:hover .demo-browser{transform:translateY(-6px);box-shadow:0 24px 32px -12px #122d4a45}
.demo-browser-bar{height:30px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;color:#526272;font-size:.625rem;letter-spacing:.08em;background:#fff}
.demo-dots{display:flex;gap:4px}
.demo-dots i{width:5px;height:5px;border-radius:50%;background:#cad1d7}
.demo-screen{container-type:inline-size;aspect-ratio:1.5;position:relative;overflow:hidden;background:var(--stage)}
.demo-screen iframe{border:0;position:absolute;top:0;left:0;width:1440px;height:960px;transform:scale(calc(100cqw / 1440px));transform-origin:top left;pointer-events:none}
.demo-stage-note{display:flex;justify-content:space-between;gap:15px;font-size:.75rem;letter-spacing:.07em;color:var(--accent);margin-top:24px}
.demo-copy{padding:38px 36px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}
.demo-kicker{display:flex;align-items:center;gap:12px;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.demo-kicker>span{color:var(--accent);background:var(--stage);padding:4px 8px;border-radius:3px;font-size:.875rem;letter-spacing:0}
.demo-copy h3{font-size:clamp(1.8rem,2.65vw,2.6rem);letter-spacing:-.045em;line-height:1.13;margin:20px 0 12px}
.demo-mood{font-size:1rem;line-height:1.5;font-weight:700;margin:0;color:var(--ink)}
.demo-description{font-size:1rem;line-height:1.75;color:var(--muted);margin:14px 0 0;max-width:42ch}
.demo-features{display:flex;flex-wrap:wrap;list-style:none;gap:8px 15px;padding:0;margin:22px 0 26px;color:#50647b;font-size:.875rem}
.demo-features li+li{border-left:1px solid #c3cfdd;padding-left:15px}
.demo-link{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-width:154px;min-height:46px;padding:11px 17px;background:var(--navy);color:#fff;border-radius:4px;font-size:.875rem;font-weight:700;transition:background .2s}
.demo-link:hover{background:#0862c9}
.demo-link span{font-size:1.2rem;line-height:1}
.demo-feature:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
.demo-feature:nth-child(even) .demo-stage{grid-column:2;grid-row:1}
.demo-feature:nth-child(even) .demo-copy{grid-column:1;grid-row:1}
.demos-endnote{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;font-size:.875rem;color:var(--muted)}
.demos-endnote>span{font-weight:700;color:var(--ink)}
.demos-endnote p{margin:0;font-size:.8125rem}
@media(max-width:1050px){.demo-stage{padding:30px 22px 24px}.demo-copy{padding:30px 25px}.demo-feature,.demo-feature:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.demo-stage-note{font-size:.75rem}.demo-features{gap:8px;margin-bottom:22px}.demo-features li+li{padding-left:8px}.demo-description{line-height:1.6}}
@media(max-width:740px){.collection{padding:52px 5% 38px}.demos-heading{display:block;margin-bottom:28px}.demos-heading h2{font-size:2.75rem}.demos-intro{margin-top:24px;max-width:40ch}.demos-count{display:none}.demos-intro p{margin:0}.demo-list{gap:24px}.demo-feature,.demo-feature:nth-child(even){display:flex;flex-direction:column}.demo-stage{padding:25px 18px 20px}.demo-stage-note{font-size:.75rem;margin-top:18px}.demo-copy{padding:26px 23px 28px}.demo-copy h3{font-size:2rem;margin:18px 0 10px}.demo-description{line-height:1.7}.demo-features{font-size:.8125rem;margin-top:19px;margin-bottom:23px}.demo-link{width:100%;padding:13px 17px;font-size:1rem}.demos-endnote{display:block;margin-top:24px}.demos-endnote p{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.demo-browser,.demo-link{transition:none}.demo-stage:hover .demo-browser{transform:none}}
