:root {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: #f6f4ed;
  color: #30483b;
  line-height: 1.65;
  font-size: 15px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.shell {
  max-width: 1190px;
  margin: auto;
  padding: 36px 45px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #dce0d3;
}
.brand {
  font: 600 29px Georgia,serif;
  color: #30483b;
  text-decoration: none;
}
header span,
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.4px;
  color: #778370;
}
.eyebrow {
  margin: 0 0 17px;
}
main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  padding: 66px 0 58px;
  align-items: start;
}
h1 {
  font: 400 68px/1.04 Georgia,serif;
  letter-spacing: -2px;
  margin: 0 0 26px;
}
h2 {
  font: 400 30px/1.25 Georgia,serif;
  margin: 0 0 16px;
}
.lead {
  font-size: 18px;
  color: #78816f;
  line-height: 1.8;
  margin: 0 0 28px;
}
.terms {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid #dce0d3;
  border-bottom: 1px solid #dce0d3;
}
.terms strong {
  font: 32px Georgia,serif;
  white-space: nowrap;
}
.terms span {
  font-size: 12px;
  color: #687861;
}
ol {
  padding-left: 21px;
  font-size: 13px;
  line-height: 1.8;
  margin: 26px 0;
}
li {
  padding: 5px 0 5px 8px;
}
.fine {
  font-size: 11px;
  color: #858b7e;
  max-width: 400px;
}
.card {
  padding: 35px;
  background: #fffefa;
  border: 1px solid #e0e1d5;
  border-radius: 14px;
  box-shadow: 0 14px 35px #40563305;
}
.muted {
  font-size: 13px;
  color: #798471;
}
form {
  display: grid;
  gap: 19px;
  margin-top: 26px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
}
input {
  font: inherit;
  color: inherit;
  padding: 12px;
  border: 1px solid #d4daca;
  border-radius: 7px;
  width: 100%;
  min-width: 0;
  background: white;
}
input[type=checkbox] {
  accent-color: #466147;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #67755f;
  line-height: 1.65;
}
button {
  font: inherit;
  font-size: 13px;
  border-radius: 7px;
  border: 1px solid #bfcbb5;
  padding: 12px 17px;
  color: #385238;
  background: #edf2e7;
  cursor: pointer;
}
button.primary {
  background: #3d5b42;
  color: white;
  border-color: #3d5b42;
}
button:disabled {
  opacity: .45;
  cursor: default;
}
button:hover:not(:disabled) {
  filter: brightness(.95);
}
a {
  color: #4d6c42;
  text-underline-offset: 3px;
}
#feedback:not(:empty) {
  background: #f4efdf;
  border: 1px solid #e4dac0;
  border-radius: 6px;
  padding: 12px;
  font-size: 12px;
  margin: 19px 0;
  overflow-wrap: anywhere;
}
#preview {
  padding: 10px;
  text-align: center;
  background: #e8eddb;
  color: #586b43;
  font-size: 12px;
}
.code {
  font: 16px/1.7 ui-monospace,monospace;
  word-break: break-all;
  background: #edf2e7;
  border: 1px dashed #b7c8a5;
  padding: 20px;
  border-radius: 8px;
  margin: 23px 0 14px;
}
.result-steps {
  font-size: 13px;
  padding-left: 20px;
  color: #67755f;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dce0d3;
  padding: 20px 0;
  font-size: 11px;
  color: #89907f;
}
footer div {
  display: flex;
  gap: 20px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
:focus-visible {
  outline: 3px solid #a0b080;
  outline-offset: 3px;
}
#challenge {
  min-height: 65px;
  max-width: 100%;
}
@media (max-width:800px) {
  .shell {
    padding: 23px;
  }
  main {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 35px;
  }
  h1 {
    font-size: 51px;
  }
  header span {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .card {
    padding: 20px;
  }
  .intro .fine {
    max-width: 100%;
  }
  footer {
    gap: 20px;
    flex-wrap: wrap;
  }
  .terms {
    justify-content: flex-start;
    gap: 30px;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto;
  }
}
