@charset "UTF-8";
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242925;
  background: #f6f5f1;
  font-synthesis: none;
  --line: #dedfd7;
  --soft: #777e74;
  --green: #506545;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #586d45;
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 88px;
  padding: 0 4.5%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  font-size: 38px;
  line-height: 1;
  transform: rotate(-35deg);
}
.brand strong {
  font-size: 22px;
  letter-spacing: -1px;
}
.brand strong span {
  font-weight: 400;
  color: #66725f;
}
.tag {
  margin-left: 12px;
  border: 1px solid #d4d7cd;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1px;
}
.topbar nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.topbar nav span {
  color: var(--soft);
  margin-left: 7px;
}
main {
  max-width: 1680px;
  margin: auto;
  padding: 0 4.5%;
}
.intro {
  padding: 64px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.eyebrow,
.section-label,
.stage-top,
.page-kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.eyebrow {
  color: #7d856e;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(40px, 4.5vw, 66px);
  letter-spacing: -3.8px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 19px;
}
h1 > span {
  color: #879573;
}
.lede {
  color: #737970;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.intro-note {
  font-size: 12px;
  padding-bottom: 2px;
  color: #697360;
  white-space: nowrap;
}
.intro-note small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 20px;
  color: #92968b;
}
.status-dot {
  display: inline-block;
  background: #8ea279;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 7px 1px 0;
}
.workspace {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 268px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fbfbf8;
  min-height: 615px;
}
.presets {
  padding: 23px 14px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.section-label {
  color: #94998d;
  letter-spacing: 1.1px;
  font-size: 9px;
  margin: 0 7px 23px;
  display: flex;
  justify-content: space-between;
}
.section-label span {
  font-size: 8px;
  letter-spacing: 0;
}
.preset {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  padding: 12px 10px;
  width: 100%;
  border-radius: 9px;
  margin-bottom: 6px;
  position: relative;
}
.preset[aria-pressed="true"] {
  background: #efefe8;
  border-color: #dfe0d5;
}
.preset:hover {
  background: #f1f1eb;
}
.swatch {
  height: 33px;
  width: 33px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #0000000f;
  flex-shrink: 0;
}
.preset strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.preset small {
  color: #91958a;
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.preset .check {
  margin-left: auto;
  font-size: 12px;
  color: #637554;
}
.preset-foot {
  margin-top: auto;
  padding: 22px 7px 0;
  font-size: 11px;
  color: #90958b;
  line-height: 1.7;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  color: #657359;
}
.preset-foot .text-button {
  margin-top: 15px;
}
.stage-wrap {
  padding: 23px 24px 18px;
  min-width: 0;
}
.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #91968b;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.tiny-dot {
  height: 5px;
  width: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #9ea68b;
  margin: 0 6px 1px 0;
}
.stage-top button {
  background: none;
  border: 1px solid #dadfd4;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  color: #687361;
}
.stage-top button span {
  margin-left: 6px;
  color: #8e9687;
}
.stage {
  height: 382px;
  border-radius: 9px;
  background: radial-gradient(ellipse at 50% 12%, #e5e8e0, #d8dfd2 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  position: relative;
}
.window-shadow {
  width: 100%;
  filter: drop-shadow(0 22px 15px #24283226);
}
.preview-window {
  position: relative;
  min-height: 288px;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(130deg, #252944, #12182d);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #ffffff30;
}
.preview-page {
  background: #f9f8f4;
  border-radius: 12px;
  overflow: hidden;
  min-height: 276px;
  color: #465040;
}
.page-nav {
  padding: 15px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  border-bottom: 1px solid #e5e6de;
}
.page-wordmark {
  font:
    italic 12px Georgia,
    serif;
}
.page-content {
  padding: 28px 25px 22px;
}
.page-kicker {
  font-size: 5px;
  letter-spacing: 1.5px;
  color: #8b9281;
}
.page-content h2 {
  font:
    34px/0.99 Georgia,
    serif;
  letter-spacing: -1.4px;
  margin: 15px 0 10px;
}
.page-content p {
  font-size: 7px;
  color: #8a917f;
  margin-bottom: 16px;
}
.page-links {
  display: flex;
  gap: 7px;
  font-size: 5px;
}
.page-links span {
  border: 1px solid #dddfd3;
  padding: 6px 9px;
  border-radius: 3px;
}
.page-bottom {
  padding: 11px 17px;
  border-top: 1px solid #e5e6de;
  font-size: 5px;
  letter-spacing: 1.4px;
  display: flex;
  justify-content: space-between;
}
.browser-controls {
  height: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  padding: 0 5px 8px;
  color: #ffffffad;
}
.traffic {
  letter-spacing: 2px;
  font-size: 8px;
}
.palette {
  position: absolute;
  width: 88%;
  max-width: 640px;
  left: 50%;
  top: 26%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #182934, #20242c);
  color: #f4f5fa;
  border: 1px solid #46515b;
  border-radius: 16px;
  box-shadow: 0 15px 36px #00000038;
  padding: 8px;
}
.palette-input {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 11px 17px;
  font-size: clamp(11px, 1vw, 15px);
  color: #a0adba;
}
.palette-input > span:first-child {
  font-size: 25px;
  color: #f4f5fa;
  line-height: 14px;
}
.palette-input kbd {
  font-size: 8px;
  border: 1px solid #ffffff20;
  border-radius: 3px;
  padding: 2px 4px;
  margin-left: auto;
}
.palette-divider {
  height: 1px;
  background: #46515b;
  opacity: 0.65;
  margin: 0 3px 7px;
}
.palette-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  font-size: 10px;
  padding: 0 10px;
  border-radius: 7px;
  color: #a0adba;
  font-weight: 500;
  margin-bottom: 2px;
}
.palette-row.selected {
  background: #6d68e8;
  color: #fff;
}
.row-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.row-icon {
  width: 14px;
  font-size: 15px;
}
.row-hint {
  font-size: 8px;
  opacity: 0.7;
  white-space: nowrap;
}
.stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 19px;
}
.stage-caption h2 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.stage-caption p {
  margin: 0;
  font-size: 11px;
  color: #8a9282;
  line-height: 1.5;
}
.stage-caption > span {
  border: 1px solid #dcded4;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #8e9785;
}
.preview-note {
  font-size: 10px;
  line-height: 1.5;
  color: #a0a698;
  max-width: 440px;
}
.inspector {
  padding: 24px 20px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.inspector-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.inspector h2 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
}
.name-label {
  display: block;
  font-size: 10px;
  color: #8b9382;
  margin-bottom: 8px;
}
input[type="text"] {
  background: #f9f9f4;
  border: 1px solid #dcdfd3;
  border-radius: 6px;
  padding: 9px 10px;
  color: #4b5446;
  width: 100%;
  font-size: 12px;
}
.inspector-tabs {
  display: flex;
  background: #edeee7;
  padding: 3px;
  border-radius: 6px;
  margin: 19px 0;
}
.inspector-tabs button {
  flex: 1;
  border: 0;
  border-radius: 4px;
  padding: 6px 0;
  background: none;
  font-size: 10px;
  color: #8a9480;
}
.inspector-tabs button[aria-selected="true"] {
  background: #fff;
  color: #55634a;
  box-shadow: 0 1px 3px #27391912;
}
.group-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #939b89;
  margin: 18px 0 10px;
}
.group-label:first-child {
  margin-top: 0;
}
.color-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  color: #75806a;
}
.color-input {
  display: flex;
  gap: 7px;
  align-items: center;
}
input[type="color"] {
  width: 25px;
  height: 25px;
  border: 1px solid #d7dcce;
  border-radius: 6px;
  background: none;
  padding: 2px;
  cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 3px;
}
.hex {
  font:
    9px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #9ca58f;
  width: 46px;
  text-transform: uppercase;
}
.range-control {
  display: block;
  margin: 0 0 17px;
  font-size: 11px;
  color: #75806a;
}
.range-control .range-caption {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}
.range-control output {
  font:
    10px ui-monospace,
    monospace;
  color: #929d85;
}
input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: #738761;
  cursor: pointer;
}
.toggle-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  font-size: 11px;
  color: #75806a;
}
.toggle-control input {
  accent-color: #738761;
}
.export-area {
  margin-top: auto;
  padding-top: 24px;
}
.primary,
.secondary {
  width: 100%;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 550;
}
.primary {
  background: #34452e;
  border: 1px solid #34452e;
  color: #f3f7ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.primary:hover {
  background: #44583c;
}
.secondary {
  border: 1px solid #d5dbcc;
  background: none;
  color: #5e7050;
  margin-top: 8px;
}
.export-area p,
#json-help {
  color: #9ca68f;
  font-size: 9px;
  line-height: 1.6;
  margin-bottom: 0;
}
textarea {
  resize: vertical;
  width: 100%;
  min-height: 255px;
  border: 1px solid #d5dbcc;
  background: #f5f6ef;
  border-radius: 6px;
  padding: 9px;
  font:
    10px/1.6 ui-monospace,
    monospace;
  color: #56614d;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 30px;
  color: #9ba292;
  font-size: 10px;
}
footer > span:first-child {
  font:
    italic 14px Georgia,
    serif;
  color: #7c896f;
}
footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#message {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #293326;
  color: #f4f5ef;
  border-radius: 9px;
  padding: 13px 20px;
  font-size: 12px;
  box-shadow: 0 8px 30px #0002;
  max-width: min(600px, 90vw);
  z-index: 5;
}
#message:empty {
  display: none;
}
@media (min-width: 1450px) {
  .stage {
    height: 440px;
  }
  .preview-page {
    min-height: 330px;
  }
  .page-content {
    padding: 38px;
  }
  .page-content h2 {
    font-size: 43px;
  }
  .palette {
    top: 28%;
  }
  .palette-row {
    font-size: 12px;
  }
  .page-nav {
    font-size: 9px;
  }
  .page-bottom {
    font-size: 7px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 150px minmax(0, 1fr) 238px;
  }
  .stage-wrap {
    padding: 20px 16px;
  }
  .stage {
    padding: 14px;
  }
  .presets {
    padding: 22px 8px;
  }
  .preset {
    padding: 10px 7px;
  }
  .section-label span {
    display: none;
  }
  .row-hint {
    display: none;
  }
  .intro {
    padding-top: 42px;
  }
  .tag {
    display: none;
  }
  .inspector {
    padding: 22px 15px;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  .inspector {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: block;
  }
  .inspector-heading {
    margin-bottom: 14px;
  }
  .export-area {
    max-width: 360px;
  }
  .inspector-tabs {
    max-width: 360px;
  }
  #colors,
  #shape {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .group-label {
    grid-column: 1/-1;
  }
  .intro-note {
    display: none;
  }
  .stage {
    height: 360px;
  }
  .stage-wrap {
    min-width: 0;
  }
  .inspector input[type="text"] {
    max-width: 360px;
  }
  .preview-note {
    margin-bottom: 0;
  }
}
@media (max-width: 570px) {
  .topbar {
    height: 70px;
  }
  .topbar nav {
    gap: 16px;
    font-size: 11px;
  }
  .brand strong {
    font-size: 19px;
  }
  .mark {
    font-size: 30px;
  }
  .intro {
    padding-top: 34px;
    padding-bottom: 28px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -2.6px;
  }
  .lede {
    font-size: 12px;
  }
  .workspace {
    display: block;
  }
  .presets {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 12px;
  }
  .section-label {
    margin-bottom: 12px;
  }
  #theme-list {
    display: flex;
    gap: 5px;
    overflow: auto;
  }
  .preset {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 8px;
    min-width: 69px;
    margin-bottom: 0;
  }
  .preset small,
  .check,
  .preset-foot {
    display: none;
  }
  .preset strong {
    font-size: 9px;
  }
  .swatch {
    width: 29px;
    height: 29px;
  }
  .stage {
    padding: 12px;
    height: 330px;
  }
  .stage-wrap {
    padding: 18px 12px;
  }
  .preview-page {
    min-height: 260px;
  }
  .palette {
    width: 94%;
    top: 27%;
  }
  .palette-input {
    font-size: 11px;
    padding: 10px 7px 12px;
  }
  .palette-row {
    font-size: 10px;
    gap: 7px;
    padding: 0 7px;
  }
  .page-content {
    padding: 24px 18px;
  }
  .page-content h2 {
    font-size: 31px;
  }
  .page-nav > span:last-child {
    font-size: 5px;
  }
  .stage-caption p {
    font-size: 10px;
    max-width: 230px;
  }
  .stage-caption h2 {
    font-size: 16px;
  }
  .inspector {
    padding: 22px 18px;
  }
  .intro .eyebrow {
    font-size: 8px;
  }
  footer {
    gap: 18px;
    flex-direction: column;
  }
  #colors,
  #shape {
    gap: 0 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.12s,
      color 0.12s;
  }
  .preview-window,
  .palette,
  .palette-row {
    transition:
      background 0.18s,
      border-color 0.18s,
      color 0.18s;
  }
}
