:root { color-scheme: light; --paper: #f6f3eb; --ink: #192925; --green: #185b46; --line: #c9d1c3; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
header, footer, main { width: min(100% - 2rem, 66rem); margin: auto; }
header, nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.2rem; }
header { justify-content: space-between; border-bottom: 1px solid var(--line); padding: 1rem 0; }
footer { border-top: 1px solid var(--line); padding: 1rem 0 2rem; font-size: .9rem; }
main { padding: 2rem 0 3rem; }
main > p, main > ol { max-width: 68ch; }
a { color: var(--green); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: .22em; }
.brand { font-weight: 750; }
h1, h2 { font-family: Georgia, serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.9rem); max-width: 16ch; margin: .6rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); }
.hero > p:not(.tag) { font-size: 1.25rem; max-width: 55ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
article, .demo { background: #fffef9; border: 1px solid var(--line); padding: 1.25rem; }
article h2 { margin: .55rem 0; }
.tag { font: 700 .76rem/1.4 ui-monospace, monospace; letter-spacing: .08em; color: var(--green); }
.button { display: inline-block; background: var(--green); color: white; text-decoration: none; padding: .4rem .8rem; border-radius: .15rem; }
.demo { margin-top: 1rem; }
pre { background: #e9efe5; padding: .75rem; overflow: auto; font-size: .86rem; }
code { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
summary { font-weight: 650; cursor: pointer; }
details { padding: .45rem 0; }
table { border-collapse: collapse; margin: 1rem 0; }
th, td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: .5rem; }

.sku-video { display: block; width: min(100%, 40rem); height: auto; border-radius: 0.75rem; }

.brand-mark { border-radius: 6px; margin-right: 0.5rem; vertical-align: middle; }

pre.text { white-space: pre-wrap; overflow-wrap: anywhere; }
pre.text code { overflow-wrap: anywhere; }
.copy-prompt { font: inherit; border: 0; cursor: pointer; }
.copy-prompt:focus-visible { outline: 2px solid var(--green); outline-offset: .22em; }
.copy-status { margin-left: .6rem; }

.guide h1 { font-size: clamp(2.15rem, 5vw, 3.65rem); max-width: 24ch; line-height: 1.08; }
.guide > p > a:only-child[href*="/examples/"] { display: inline-block; background: var(--green); color: white; padding: .65rem 1rem; text-decoration: none; border-radius: .2rem; font-weight: 650; }
