:root { color-scheme: light; font: 15px/1.48 system-ui, sans-serif; color: #20342f; background: #f5f3eb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #14584c; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #ac5a12; outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); background: #fff; padding: .7rem; }
.skip:focus { transform: none; z-index: 2; }
header, main, footer { width: min(100% - 2rem, 57rem); margin: auto; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid #c8d2c5; }
header a:first-child { font-weight: 780; text-decoration: none; }
main { padding: 1.6rem 0 1rem; }
h1, h2 { font-family: Georgia, serif; line-height: 1.13; }
h1 { font-size: clamp(1.95rem, 5.5vw, 3.15rem); margin: .25rem 0 .55rem; }
h2 { font-size: 1.32rem; margin: .35rem 0; }
.category { margin: 0; color: #366055; font-size: .8rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.hook { margin: .35rem 0 .7rem; color: #335e52; font-size: 1.13rem; }
.hero, .activity, .publish, .catalog li { border: 1px solid #c5d0bf; border-radius: 1.1rem; background: #fffdf7; }
.activity, .hero, .publish { padding: clamp(.9rem, 3.3vw, 1.75rem); }
.visual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding: .42rem; margin: .9rem 0; border-radius: .85rem; background: #1e483e; }
.visual span { display: grid; place-items: center; text-align: center; min-height: 3.5rem; padding: .35rem; border-radius: .51rem; background: #dcebd6; color: #1e3d31; font: 700 clamp(.83rem, 3vw, 1.4rem)/1.15 Georgia, serif; }
.visual span:nth-child(2) { background: #f5d59d; color: #493315; }
.question { margin: .75rem 0; font-weight: 620; }
.choices { display: grid; gap: .35rem; }
[hidden] { display: none !important; }
button, .button { display: inline-flex; align-items: center; min-height: 43px; padding: .5rem .7rem; border: 1px solid #94ad9f; border-radius: .55rem; color: #20483c; background: #f7faf3; font: inherit; font-weight: 640; cursor: pointer; text-align: left; }
button:hover, button.picked { background: #dfedda; border-color: #537769; }
.feedback, .copy-status { margin: .3rem 0; color: #254f42; font-weight: 630; }
.explain { padding: .55rem 0; }
summary { cursor: pointer; font-weight: 690; color: #265348; }
.explain p { margin: .4rem 0; }
.app { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; border-top: 1px solid #cbd5c9; margin-top: .35rem; padding-top: .65rem; }
.app p { flex: 1 1 15rem; margin: 0; font-size: .91rem; }
.button { text-decoration: none; border-color: #1c4e42; background: #1c4e42; color: white; }
.button span { margin-left: .4rem; }
.publish { margin-top: 1rem; }
label { display: block; margin: .6rem 0 .24rem; font-weight: 670; }
label small { margin-left: .25rem; font-weight: 480; }
input, textarea { max-width: 100%; width: 100%; padding: .55rem; color: #233f35; background: #f8faf3; border: 1px solid #94ad9f; border-radius: .5rem; font: inherit; }
textarea { resize: vertical; }
.actions { display: flex; gap: .4rem; flex-wrap: wrap; margin: .55rem 0; }
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.catalog li { padding: 1rem; }
.catalog p { margin: .24rem 0; }
.catalog small, footer { color: #485e56; }
footer { padding: .65rem 0 1.2rem; }
.embedded header, .embedded footer, .embedded .publish, .embedded .all-demos { display: none; }
.embedded main { width: min(100% - 1rem, 38rem); padding-top: .5rem; }
.embedded h1 { font-size: clamp(1.52rem, 4vw, 2.35rem); }
@media (min-width: 40rem) { .choices { grid-template-columns: repeat(2,minmax(0, 1fr)); } }
