@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("vendor/fonts/plus-jakarta-sans-latin-wght-normal.woff2")
    format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("vendor/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --flame: #ff623d;
  --ink: #191919;
  --paper: #f4f3ed;
  --sage: #bbd9ac;
  --lilac: #c7bcf4;
  --honey: #f6da8b;
  --sky: #a8dce8;
  --rose: #eac6df;
  --muted: #4e4b45;
  --line: #d4d0c5;
  font:
    16px/1.55 "Plus Jakarta Sans",
    Inter,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1120px, 100% - 64px);
  margin-inline: auto;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: white;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 17px;
  font-weight: 700;
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: progress;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-150%);
  padding: 10px;
  background: white;
  z-index: 1;
}
.skip-link:focus {
  transform: translateY(8px);
}
.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.brand,
.footer-brand {
  font-weight: 800;
  letter-spacing: -0.045em;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand-dot {
  color: var(--flame);
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.875rem;
}
nav a {
  text-underline-offset: 4px;
}
.secondary-button {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.intro {
  margin-block: clamp(40px, 7vw, 88px) 27px;
}
h1 {
  font-size: clamp(3rem, 9vw, 7.25rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin: 0 0 25px;
  font-weight: 800;
}
p {
  color: var(--muted);
}
.intro p {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  max-width: 40rem;
  margin: 0;
}
.search-field {
  position: relative;
  max-width: 420px;
}
.search-field svg {
  position: absolute;
  inset: 50% auto auto 15px;
  transform: translateY(-50%);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding-inline-start: 44px;
}
input,
select,
textarea {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #78736a;
  border-radius: 10px;
  background: white;
  color: var(--ink);
}
input[type="file"] {
  display: block;
  margin-top: 6px;
}
label {
  display: block;
  margin-block: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-block: 24px;
}
.tile {
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  min-height: 167px;
  gap: 6px;
  padding: 20px;
  color: var(--ink);
  border-radius: 19px;
}
.tile:hover {
  border-color: var(--ink);
}
.tile b {
  font-size: 1.12rem;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.tile small {
  font-weight: 500;
  font-size: 0.875rem;
}
.tile-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: rgb(255 255 255 / 0.5);
  margin-bottom: 5px;
}
.tile-icon svg {
  width: 21px;
  height: 21px;
}
.support {
  background: color-mix(in srgb, var(--honey) 26%, var(--paper));
  margin-block: 50px 30px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.support h2 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.support p {
  margin: 0;
  font-size: 0.875rem;
}
.site-footer {
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 1.1rem;
  color: var(--ink);
}
#workspace {
  margin-block: 36px;
}
#heading {
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.065em;
  line-height: 1.1;
  margin: 22px 0 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin: 18px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-block: 16px;
}
canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  touch-action: none;
}
#status {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#result {
  margin-top: 12px;
}
.swatch {
  min-height: 110px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.swatch button {
  background: white;
  color: var(--ink);
  font-size: 0.8rem;
  padding: 7px;
}
@media (max-width: 865px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .shell {
    width: calc(100% - 32px);
  }
  .site-header {
    padding-block: 15px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
    gap: 6px;
  }
  .brand img {
    height: 26px;
    width: 26px;
  }
  nav {
    font-size: 0.78rem;
    gap: 9px;
  }
  nav button {
    padding: 6px 8px;
  }
  .grid {
    gap: 10px;
  }
  .tile {
    min-height: 152px;
    padding: 13px;
  }
  .tile b {
    font-size: 0.98rem;
  }
  .tile small {
    font-size: 0.78rem;
  }
  .panel {
    padding: 15px;
  }
}
