.demo-layout {
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(32px,6vw,104px);
  padding-block:clamp(36px,6vw,88px);
  align-items:start;
}
.demo-heading h1 {
  font-size:clamp(42px,5vw,78px);
  line-height:1.04;
  letter-spacing:-.06em;
  max-width:11ch;
}
.demo-heading > p { font-size:clamp(17px,1.35vw,22px); max-width:39ch; color:var(--muted); }
#demo-selection {
  border-inline-start:3px solid var(--signal,#137548);
  padding:0 0 0 18px;
  margin-top:clamp(28px,4vw,48px);
}
#demo-selection h2 { font-size:clamp(23px,2.4vw,34px); line-height:1.12; }
#demo-selection p { color:var(--muted); margin:0 0 8px; }
#demo-selection a { display:inline-block; padding-block:7px; color:var(--signal,#137548); }
#demo-request {
  padding:clamp(16px,3vw,38px);
  background:#f7faf8;
  border:1px solid #d5dfd9;
  border-radius:18px;
  width:100%;
  max-width:720px;
  gap:22px;
  color:#18241d;
}
.demo-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.demo-fields label:first-child {grid-column:1/-1}
#demo-request :is(input:not([type=radio]):not([type=checkbox]),textarea,select) {
  margin-top:6px; border-radius:8px; font-size:16px; font-weight:400;
  line-height:1.4; padding:11px 12px; color:#15251c; background:white;
}
#demo-request label {font-size:15px;line-height:1.42;font-weight:540}
#demo-request input::placeholder,#demo-request textarea::placeholder {color:#626d65;opacity:1}
#demo-request textarea {resize:vertical;min-height:96px}
#demo-request fieldset {border:0;margin:0;padding:0;min-width:0;display:flex;flex-wrap:wrap;gap:6px 12px}
#demo-request legend {font-size:16px;font-weight:640;padding:0 0 4px}
#demo-request label:has(input:is([type=radio],[type=checkbox])) {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:450;cursor:pointer
}
#demo-request input:is([type=radio],[type=checkbox]) {flex:none; accent-color:#166844; width:19px; height:19px; margin:0}
#demo-request fieldset label:has(input[type=checkbox]),#messenger-field {flex-basis:100%}
#demo-request label[hidden],#demo-selection[hidden] {display:none}
#demo-request details {font-size:14px;color:#425147;margin-top:-14px}
#demo-request summary {cursor:pointer;min-height:38px;padding-block:8px;text-decoration:underline;text-underline-offset:.2em}
#demo-request button {min-height:48px}
#demo-status {margin:0;border-left:3px solid #397855;padding:8px 12px;color:#203e2a;font-weight:550}
#demo-status:empty {display:none}
@media(max-width:820px) {
  .demo-layout {grid-template-columns:1fr;gap:24px}
  .demo-heading h1 {max-width:18ch}
  #demo-selection {margin-top:22px}
}
@media(max-width:540px) {
  .demo-layout {padding-block:32px}
  .demo-fields {grid-template-columns:1fr;gap:14px}
  #demo-request {gap:18px}
  #demo-request button {width:100%}
}
