* { box-sizing: border-box; }
body { margin: 0; color: #293c31; background: #f8f8f3; font: 15px/1.5 "DM Sans", "Helvetica Neue", Arial, sans-serif; }
button, input, textarea, select { font: inherit; }
button, .file-control { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible, .file-control:focus-within { outline: 3px solid #b86614; outline-offset: 4px; }
header, main, footer { max-width: 1344px; padding-left: 42px; padding-right: 42px; margin: auto; }
header { height: 92px; display: flex; gap: 32px; align-items: center; border-bottom: 1px solid #dce1d7; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 650; letter-spacing: -.8px; text-decoration: none; }
.brand-mark { background: #2a6048; border-radius: 8px; color: white; display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 22px; }
.brand-description { color: #768070; font-size: 12px; }
.guide { margin-left: auto; font-size: 12px; }
.intro { padding: 48px 0 34px; }
.eyebrow { font-size: 11px; color: #677b5d; letter-spacing: .04em; margin: 0 0 16px; }
h1 { font-size: clamp(36px,4.2vw,57px); line-height: 1.05; letter-spacing: -2px; font-weight: 500; margin: 0 0 20px; }
.intro-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.intro-bottom p { color: #6a7567; font-size: 13px; margin: 0; }
.project-actions { display: flex; gap: 8px; flex-shrink: 0; }
.project-actions button, .file-control { position: relative; padding: 9px 14px; border: 1px solid #cbd5c6; border-radius: 6px; background: transparent; font-size: 11px; color: #354b39; }
.file-control { display: inline-flex; align-items: center; overflow: hidden; }
.file-control input { position: absolute; inset: 0; height: 100%; width: 100%; opacity: 0; cursor: pointer; }
.studio { display: grid; grid-template-columns: minmax(0,1fr) 302px; gap: 30px; align-items: start; }
h2 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.2px; }
h3 { font-weight: 500; margin: 0; font-size: 13px; }
.gallery-heading, .preview-heading, .settings-title, .code-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gallery-heading { padding: 0 0 15px; }
.gallery-heading span, .preview-heading span { font-size: 10px; color: #7b8674; }
.effects-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.effect-card { border: 1px solid #dbe2d6; border-radius: 10px; background: #ffffff; overflow: hidden; min-width: 0; }
.effect-stage { min-height: 120px; display: flex; align-items: center; justify-content: center; background: #eef1e9; padding: 24px 16px; }
.effect-stage .presswell { font-size: 12px; min-height: 43px; padding: 11px 15px; gap: 12px; max-width: 100%; overflow-wrap: anywhere; }
.effect-card-body { padding: 16px 18px; }
.effect-card-body h3 { font-size: 12px; }
.effect-card-body p { margin: 5px 0 13px; font-size: 11px; color: #7b8475; }
.choose-effect { font-size: 10px; border: 0; background: none; color: #48653d; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.choose-effect[aria-pressed=true] { font-weight: 700; color: #244832; }
.effect-card:has(.choose-effect[aria-pressed=true]) { border-color: #71865e; box-shadow: 0 0 0 1px #71865e; }
.preview-heading { padding: 28px 0 14px; }
.context-card { display: grid; grid-template-columns: 1fr .8fr; background: #e7ecdd; border-radius: 12px; overflow: hidden; min-height: 270px; }
.context-copy { padding: 34px; }
.context-copy .eyebrow { font-size: 9px; margin-bottom: 12px; }
.context-copy h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.7px; }
.context-copy > p:not(.eyebrow) { font-size: 11px; color: #6d7a60; max-width: 230px; margin-bottom: 22px; }
.context-copy .presswell { max-width: 100%; font-size: 12px; padding: 11px 15px; overflow-wrap: anywhere; }
.landscape { position: relative; background: #d6dec7; overflow: hidden; }
.sun { position: absolute; top: 18%; left: 40%; border-radius: 50%; width: 72px; height: 72px; background: #f0e5b5; }
.hill { position: absolute; width: 170%; height: 80%; bottom: -30%; border-radius: 50%; transform: rotate(-20deg); }
.hill-back { left: -25%; background: #9aaa82; bottom: -18%; }
.hill-front { left: 0; background: #71835f; }
.state-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 20px; }
.state-row p { font-size: 10px; color: #78836f; }
.state-row .presswell { font-size: 12px; min-height: 42px; }
.state-note { text-align: right; }
#action-status { font-size: 11px; color: #536c46; margin-top: 18px; }
.settings { border: 1px solid #d9e1d3; border-radius: 10px; padding: 23px; background: white; }
.text-button { border: 0; background: transparent; padding: 4px 0; font-size: 11px; color: #527142; text-decoration: underline; text-underline-offset: 3px; }
form { margin-top: 22px; }
form label { display: block; font-size: 11px; color: #6d7865; margin-bottom: 16px; }
form input, form select { display: block; width: 100%; min-height: 40px; border: 1px solid #d5ddcd; border-radius: 5px; background: #fafbf8; padding: 9px 10px; margin-top: 7px; color: #344731; font-size: 12px; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.numbers span { float: right; color: #8b9385; }
.code-title { border-top: 1px solid #e6eadd; padding-top: 17px; margin-top: 17px; }
textarea { width: 100%; min-height: 120px; resize: vertical; background: #f4f6ef; color: #3e5334; font: 11px/1.6 "Courier New",monospace; border: 1px solid #e0e6d8; border-radius: 6px; padding: 12px; margin-top: 10px; }
details { margin: 13px 0 18px; }
summary { font-size: 11px; cursor: pointer; color: #526c43; }
#css-code { min-height: 240px; }
.download-primary, .download-secondary { width: 100%; border-radius: 6px; padding: 11px; font-size: 11px; font-weight: 600; }
.download-primary { background: #2c563c; color: white; border: 1px solid #2c563c; display: flex; justify-content: space-between; }
.download-primary:hover { background: #1c3f2a; }
.download-secondary { background: white; color: #48613c; border: 1px solid #d5decc; margin-top: 8px; }
.note { text-align: center; font-size: 10px; color: #818b77; line-height: 1.8; margin: 16px 0 0; }
#error { color: #9d2933; background: #fff0f1; border-radius: 5px; padding: 10px; font-size: 12px; }
#status { min-height: 24px; color: #49683b; font-size: 11px; margin: 22px 0; }
footer { border-top: 1px solid #dce1d7; display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 25px; font-size: 10px; color: #7b8572; margin-top: 25px; }
@media (max-width:1050px) { header,main,footer { padding-left: 24px; padding-right: 24px; } .studio { grid-template-columns:minmax(0,1fr) 270px; gap:20px; } .effect-stage { padding:20px 10px; } .context-card { grid-template-columns:1fr; } .landscape { display:none; } }
@media (max-width:720px) { header,main,footer { padding-left:20px; padding-right:20px; } header { height:76px; } .brand-description { display:none; } h1 { letter-spacing:-1.3px; } .intro { padding-top:36px; } .intro-bottom { display:block; } .project-actions { margin-top:22px; } .studio { display:flex; flex-direction:column; } .showcase,.settings { width:100%; } .effects-grid { grid-template-columns:minmax(0,1fr); } .effect-stage { min-height:115px; } .effect-card-body { display:grid; grid-template-columns:1fr auto; gap:6px 10px; } .effect-card-body p { grid-column:1/-1; grid-row:2; margin:0; } .effect-card-body .choose-effect { grid-column:2; grid-row:1; } .context-copy { padding:30px; } .state-row { display:block; } .state-note { text-align:left; } .settings { padding:24px; margin-top:10px; } footer { display:block; } footer span,footer a { display:block; margin-bottom:8px; } }
