:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  color: #162d28;
  background: #f2f5ee;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #508774;
  outline-offset: 3px;
}
.top {
  max-width: 1120px;
  margin: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 55px);
  border-bottom: 1px solid #d9e1d8;
}
.studio { font-weight: 750; letter-spacing: -0.035em; text-decoration: none; }
.back { text-underline-offset: 4px; font-size: .89rem; }
.layout {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  gap: clamp(36px, 8vw, 110px);
  padding: clamp(35px, 7vw, 94px) clamp(18px, 5vw, 55px) 54px;
}
.intro { padding-top: clamp(12px, 3vw, 52px); }
.preview { color: #365b4c; font-weight: 650; font-size: .88rem; margin: 0 0 12px; }
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.4rem, 7.8vw, 6.4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.07em;
  margin: 0 0 20px;
}
.intro > p:not(.preview) { max-width: 29ch; margin-bottom: 22px; }
#example { border: 1px solid #7b9486; color: #244a3d; background: transparent; }
.card {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #d7e1d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px #23412b0b;
}
h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 0 0 4px; }
.hint { color: #4c6158; margin: 0 0 22px; font-size: .9rem; }
.field { margin: 0 0 16px; }
label { display: block; margin-bottom: 5px; font-size: .92rem; font-weight: 650; }
input, textarea {
  display: block;
  width: 100%;
  border: 1px solid #8e9e95;
  border-radius: 8px;
  background: #fbfdfb;
  color: inherit;
  padding: 10px 12px;
}
textarea { resize: vertical; min-height: 110px; }
[aria-invalid="true"] { border-color: #ad3c2e; }
.error { margin: 5px 0 0; color: #943328; font-size: .87rem; }
.error:empty { display: none; }
button { min-height: 44px; padding: 9px 15px; border-radius: 8px; cursor: pointer; }
.submit { background: #244f42; color: #fff; border: 1px solid #244f42; font-weight: 650; }
.submit:hover { background: #173e32; }
button:disabled { cursor: wait; opacity: .65; }
.feedback { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; background: #e4f3e9; }
.feedback[data-error] { color: #7c2d20; background: #fcece8; }
@media (max-width: 690px) {
  .layout { grid-template-columns: 1fr; gap: 25px; }
  .intro { padding-top: 0; }
  .intro > p:not(.preview) { max-width: 40ch; }
}
