@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/static/fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/static/fonts/inter-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #171e18;
  --paper: #fbfaf5;
  --muted: #555f55;
  --lime: #d6fa52;
  --border: #d2d7ca;
  font:
    100%/1.55 Inter,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
label,
input {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
header,
main,
footer {
  width: min(1120px, 91vw);
  margin: auto;
}
header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand,
.header-link {
  text-decoration: none;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 1.4rem;
}
.mark {
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: var(--lime);
  background: var(--ink);
  border-radius: 9px;
  width: 34px;
  height: 34px;
  transform: rotate(-5deg);
}
.header-link,
.quiet {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: 30px;
  padding: 65px 0 74px;
}
.intro h1 {
  font-size: clamp(3.75rem, 7.8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
  margin: 0;
  font-weight: 900;
}
.intro h1 em {
  font-style: normal;
  display: inline-block;
  position: relative;
  isolation: isolate;
}
.intro h1 em:before {
  content: "";
  position: absolute;
  inset: 67% -2% 0;
  background: var(--lime);
  transform: rotate(-2deg);
  z-index: -1;
}
.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  margin: 25px 0;
}
.button {
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 11px 19px;
  cursor: pointer;
  font-weight: 700;
}
.primary {
  background: var(--lime);
  box-shadow: 2px 3px 0 var(--ink);
}
.button:hover {
  filter: brightness(0.96);
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hero-cta {
  background: var(--ink);
  color: white;
  box-shadow: none;
}
.live-dot {
  display: inline-block;
  background: #4b7838;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
}
.hero-note {
  margin: 14px 0;
}
.demo {
  height: clamp(242px, 31vw, 360px);
  position: relative;
  isolation: isolate;
  background: #dfe9da;
  border: 1px solid #cad5c7;
  border-radius: 32px;
  overflow: hidden;
}
.card {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 6px;
  border-radius: 14px;
  box-shadow: 3px 4px 0 #253022;
}
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}
.card span {
  position: absolute;
  left: 12px;
  bottom: 11px;
  padding: 2px 11px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: bold;
}
.before {
  width: 43%;
  left: 5.3%;
  top: 19%;
  transform: rotate(-9deg);
}
.after {
  width: 52%;
  right: 5%;
  top: 8%;
  transform: rotate(7deg);
}
.after span {
  background: var(--lime);
}
.workspace,
#how,
#gallerySection {
  max-width: 740px;
  margin: 0 auto 65px;
  scroll-margin-top: 24px;
}
.workspace {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(20px, 4vw, 39px);
  border-radius: 22px;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}
h3 {
  font-size: 1.6rem;
  margin: 20px 0;
}
.queue-info {
  font-size: 0.86rem;
  color: var(--muted);
}
.drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 111px;
  border: 1.5px dashed #87937c;
  border-radius: 14px;
  background: #f5f8f0;
  cursor: pointer;
  text-align: left;
  padding: 18px;
}
.drop small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.drop:focus-within,
:focus-visible {
  outline: 3px solid #436e39;
  outline-offset: 3px;
}
.drop.drag {
  background: var(--lime);
}
.plus {
  font-size: 1.8rem;
  line-height: 1;
}
.drop img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 19px 0 10px;
}
legend {
  font-weight: bold;
  margin: 0 0 7px;
  padding: 0;
}
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  cursor: pointer;
}
.choice input,
.check input {
  accent-color: #38602d;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.choice b {
  margin-left: auto;
  white-space: nowrap;
}
.choice:has(input:disabled) {
  color: #74786f;
  cursor: default;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0;
  font-size: 0.92rem;
}
.check input {
  margin-top: 3px;
}
#details {
  padding: 10px 16px;
  border-radius: 12px;
  background: #f4f6f1;
}
#details > label:not(.check) {
  display: grid;
  gap: 3px;
  margin: 10px 0;
}
#details input:not([type="checkbox"]),
select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.fine,
footer small {
  font-size: 0.82rem;
  color: var(--muted);
}
.fine {
  margin: 12px 0 0;
}
#error {
  padding: 10px 12px;
  background: #fff0e7;
  border-radius: 8px;
  color: #813511;
}
#actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.link-button {
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  color: var(--muted);
}
#result {
  max-width: 100%;
  max-height: 530px;
  display: block;
  margin: 12px auto 20px;
  border-radius: 12px;
}
#how h2,
#gallerySection h2 {
  margin-bottom: 20px;
}
details {
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  color: var(--muted);
  margin: 9px 0;
}
#gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
#gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
footer {
  padding: 24px 0 38px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: baseline;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer small {
  flex-basis: 100%;
}
@media (max-width: 720px) {
  header {
    height: 64px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 35px 0;
  }
  .demo {
    height: clamp(208px, 55vw, 345px);
  }
  .hero-note {
    margin-bottom: 0;
  }
  .lead {
    margin: 15px 0;
  }
  .intro h1 {
    font-size: clamp(3.6rem, 12vw, 5.3rem);
  }
  .workspace,
  #how,
  #gallerySection {
    margin-bottom: 38px;
  }
  .workspace-head {
    flex-wrap: wrap;
  }
  .header-link {
    font-size: 0.85rem;
  }
  .choice {
    font-size: 0.95rem;
  }
  footer nav {
    gap: 12px;
  }
  .drop {
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
