:root {
  font-family: Inter, Arial, sans-serif;
  color: #263c35;
  background: #f6f4ef;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5vw;
  border-bottom: 1px solid #dcded5;
}
header > a:first-child {
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 24px;
}
header span {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 6px;
}
a {
  color: inherit;
  text-decoration: none;
}
.back {
  font-size: 13px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 40px 5vw;
}
.intro {
  max-width: 800px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #748277;
  margin: 16px 0;
}
h1 {
  font:
    500 clamp(34px, 4vw, 60px) / 1.1 Georgia,
    serif;
  margin: 16px 0;
}
p {
  line-height: 1.65;
  font-size: 14px;
}
.intro p {
  max-width: 670px;
  color: #69756b;
}
.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
button,
.upload,
.load {
  cursor: pointer;
  border: 1px solid #d1d7ca;
  background: #fffdf7;
  color: #263c35;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  font-size: 12px;
}
button:hover,
.upload:hover {
  border-color: #718c70;
}
.products button {
  text-align: left;
  padding: 16px;
}
.products strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.products small {
  display: block;
  line-height: 1.5;
  color: #788174;
}
.selected {
  border-color: #3c5947 !important;
  background: #e6eddf !important;
}
.workspace {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 30px;
  align-items: start;
}
.controls {
  background: #fffdf8;
  border: 1px solid #dedfd5;
  border-radius: 16px;
  padding: 22px;
}
.controls > .eyebrow:not(:first-child) {
  margin-top: 30px;
}
label {
  display: block;
  font-size: 12px;
  margin: 12px 0;
}
input:not([type='checkbox']):not([type='range']):not([type='color']),
select {
  display: block;
  background: #fffdf8;
  border: 1px solid #d7d9ce;
  border-radius: 7px;
  padding: 10px;
  width: 100%;
  font: inherit;
  color: inherit;
  margin-top: 6px;
}
input[type='range'] {
  width: 100%;
  accent-color: #405d45;
  margin-top: 12px;
}
input[type='checkbox'] {
  accent-color: #405d45;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.row > * {
  flex: 1;
}
.motifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 270px;
  overflow: auto;
  padding: 3px;
}
.motifs button {
  padding: 8px;
}
.motifs svg {
  width: 100%;
  height: 54px;
}
.motifs small {
  font-size: 9px;
  display: block;
  line-height: 1.4;
  margin-top: 4px;
}
.muted {
  font-size: 12px;
  color: #737d70;
}
.upload {
  display: block;
  text-align: center;
}
.upload input,
.load input {
  display: block;
  font-size: 11px;
  width: 100%;
  margin-top: 8px;
}
.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2 {
  font:
    400 29px Georgia,
    serif;
  margin: 8px 0 24px;
}
input[type='color'] {
  display: block;
  width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  margin-top: 5px;
}
.tile-stage {
  background: #eae6dc;
  border-radius: 20px;
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 30px;
}
#tile {
  width: min(340px, 100%);
  aspect-ratio: 1;
  background: #fffdf3;
  box-shadow: 0 15px 35px #35453318;
  padding: 18px;
  border-radius: 12px;
}
#tile svg {
  width: 100%;
  height: 100%;
}
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.pipeline span {
  border: 1px solid #d3dbcb;
  background: #eef1e7;
  padding: 12px;
  border-radius: 7px;
  font-size: 11px;
}
.pipeline b {
  font-weight: 400;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.primary {
  background: #304d3d;
  color: #fff;
  border-color: #304d3d;
}
.actions .load {
  margin: 0;
}
.concept,
.light-notes {
  background: #fffdf8;
  border: 1px solid #d9ded1;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
footer {
  font-size: 11px;
  line-height: 1.6;
  color: #7b8575;
  margin: 35px 0 0;
}
#feedback {
  min-height: 20px;
  font-size: 12px;
  color: #73512c;
}
@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .workspace {
    grid-template-columns: 280px 1fr;
    gap: 16px;
  }
  .pipeline {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  main {
    padding: 24px 5vw;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace {
    display: flex;
    flex-direction: column;
  }
  .controls,
  .view {
    width: 100%;
  }
  .tile-stage {
    min-height: 300px;
  }
  .controls {
    order: 2;
  }
  .view {
    order: 1;
  }
  .pipeline span {
    padding: 8px;
  }
  header {
    padding: 18px 5vw;
  }
}
