:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #17242d; background: #faf6f8; }
* { box-sizing: border-box; }
body { width: min(1400px, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 4rem; }
nav { display: flex; align-items: center; gap: .5rem; color: #61717c; font-size: .82rem; }
nav a { color: #a41449; font-weight: 750; text-decoration: none; }
header { max-width: 58rem; margin: 4rem 0 2.5rem; }
h1, h2, h3 { margin: .2rem 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { line-height: 1.65; }
header > p:last-child, .guide > p, #status { color: #61717c; }
.eyebrow { margin: 0; color: #c31756; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
main { display: grid; gap: 1.25rem; }
.guide, .demo { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #eadde3; border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(72, 20, 38, .08); }
.section-heading { margin-bottom: 1rem; }
pre { margin: 1rem 0; padding: 1rem; border-radius: .7rem; overflow-x: auto; color: #fff; background: #35101e; font-size: .8rem; line-height: 1.55; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
p code { padding: .15rem .32rem; border-radius: .3rem; color: #8f103f; background: #f8eaf0; font-size: .88em; }
.demo-heading { margin-bottom: 1rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.demo-heading div { display: grid; gap: .15rem; }
.demo-heading h2 { margin-bottom: 0; }
#status { font-size: .8rem; }
button { padding: .65rem .8rem; border: 1px solid #d9c8cf; border-radius: .55rem; color: #8f103f; background: #fff; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; }
button:hover { border-color: #c31756; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); align-items: start; gap: 1rem; }
iframe { display: block; width: 100%; height: min(75vh, 850px); border: 1px solid #eadde3; border-radius: .75rem; }
.result-card { padding: 1.15rem; border: 1px solid #eadde3; border-left: 4px solid #c31756; border-radius: .75rem; background: #fff; }
.result-card ol { margin: 1rem 0; padding-left: 1.4rem; }
.result-card li { margin-top: .65rem; }
.result-card li strong, .result-card li span { display: block; }
.result-card li strong { color: #8f103f; font-size: .76rem; }
.result-card li span { margin-top: .12rem; font-size: .86rem; }
output { display: block; padding: .7rem; border-radius: .55rem; overflow-wrap: anywhere; color: #fff; background: #481426; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; }
output:empty { display: none; }
@media (min-width: 900px) { main { grid-template-columns: 1fr 1fr; } .demo { grid-column: 1 / -1; } }
@media (max-width: 850px) { .demo-grid { grid-template-columns: 1fr; } iframe { height: 78vh; } .demo-heading { align-items: start; flex-direction: column; } }
