:root {
  color-scheme: light;
  --paper: #f8f2e7;
  --ink: #241c18;
  --muted: #60544e;
  --rust: #bb3420;
  --line: #dfd2c1;
  --soft: #f1e7d6;
  font-family: "Inter","Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 5px;
}

a:hover {
  text-underline-offset: 5px;
}

img {
  display: block;
}

.shell {
  max-width: 1200px;
  margin: auto;
  padding-inline: 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.topbar nav a {
  text-decoration: none;
}

.nav-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: clamp(22px,4vw,65px);
  padding-block: 74px 66px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rust);
  font-weight: 850;
  font-size: 11px;
  letter-spacing: .12em;
  margin: 0 0 16px;
}

.kicker span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1 {
  font-size: clamp(56px,7vw,106px);
  line-height: 1.05;
  letter-spacing: -.085em;
  margin-bottom: 19px;
  font-weight: 950;
}

h1 span {
  color: var(--rust);
}

.intro,.download>div>p:not(.kicker) {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 37ch;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 10px 18px;
  border-radius: 9px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 780;
  box-shadow: 0 3px 0 #842519;
}

.button:hover {
  background: #9c2b1a;
}

.button span {
  font-size: 19px;
}

.secondary,.hash {
  font-weight: 680;
  font-size: 13px;
  color: var(--muted);
}

.platform {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.preview {
  margin: 0;
  min-width: 0;
}

.editor {
  background: #171618;
  color: #fff;
  border: 1px solid #171618;
  border-radius: 16px;
  box-shadow: 10px 13px 0 #e4cfb7;
  overflow: hidden;
  font-size: 11px;
}

.editor-top {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3d373a;
}

.dots {
  letter-spacing: 2px;
  color: #f48260;
  font-size: 9px;
}

.editor-export {
  background: #ed754f;
  color: #241814;
  border-radius: 5px;
  padding: 4px 8px;
  font-weight: 800;
}

.editor-board {
  display: grid;
  grid-template-columns: minmax(0,.6fr) minmax(0,2fr) minmax(0,.75fr);
  gap: 10px;
  padding: 10px;
}

.library,.controls {
  background: #252327;
  border-radius: 7px;
  padding: 9px;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #dad2d6;
}

.tile {
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 19px;
  background: #4d3d47;
}

.tile.two {
  background: #3e4739;
}

.tile.three {
  background: #453d54;
  color: #d9b8fd;
}

.controls div {
  height: 17px;
  border-radius: 3px;
  background: #3c373d;
}

.controls p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  font-size: 9px;
}

.controls b {
  color: #fff;
}

.screen {
  display: grid;
  place-items: center;
  background: #0e0d0e;
  border-radius: 6px;
  min-width: 0;
  padding: 9px;
}

.poster {
  position: relative;
  overflow: hidden;
  background: #f5a36f;
  width: min(100%,170px);
  aspect-ratio: 4/5;
  border-radius: 4px;
  color: #291713;
  isolation: isolate;
}

.poster i {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-34deg,transparent 0 14px,#ffddac 15px 16px);
  opacity: .5;
  z-index: -1;
}

.poster b {
  position: absolute;
  left: 9%;
  top: 8%;
  font-size: clamp(10px,1.45vw,20px);
  line-height: 1.32;
}

.poster small {
  position: absolute;
  bottom: 6%;
  left: 9%;
  font-size: 8px;
  letter-spacing: .17em;
  font-weight: 900;
}

.cat {
  position: absolute;
  width: 65%;
  height: 46%;
  left: 19%;
  bottom: 12%;
  transform: rotate(-7deg);
}

.face {
  position: absolute;
  inset: 14% 0 0;
  border: 3px solid #2f1b14;
  background: #ffe0a0;
  border-radius: 45% 45% 43% 43%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.ears {
  position: absolute;
  inset: 0;
  background: #2f1b14;
  clip-path: polygon(3% 0,33% 22%,67% 22%,97% 0,97% 75%,3% 75%);
}

.ears::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #f78c65;
  clip-path: inherit;
}

.face span {
  width: 19%;
  height: 9%;
  background: #2f1b14;
  border-radius: 30px;
  transform: rotate(-9deg);
}

.face span+span {
  transform: rotate(9deg);
}

.face em {
  position: absolute;
  left: 46%;
  top: 64%;
  width: 11%;
  height: 12%;
  border-radius: 50%;
  background: #bd472f;
}

.timeline {
  position: relative;
  padding: 0 10px 12px;
  background: #211e22;
  border-top: 1px solid #3d373a;
}

.ruler {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 5px 48px;
  color: #d6cdd2;
  font-variant-numeric: tabular-nums;
}

.track {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  text-indent: 5px;
  margin: 3px 0;
  color: #ded5da;
}

.track>div {
  display: flex;
  gap: 3px;
  background: #151416;
  padding: 3px 0;
  overflow: hidden;
}

.clip {
  white-space: nowrap;
  overflow: hidden;
  color: #221913;
  padding: 3px 5px;
  border-radius: 3px;
  width: 42%;
  font-size: 9px;
}

.clip.short {
  width: 25%;
}

.clip.wide {
  width: 73%;
}

.orange {
  background: #f39768;
}

.violet {
  background: #c6a8ef;
}

.green {
  background: #96c6a8;
}

.playhead {
  position: absolute;
  left: 43%;
  top: 26px;
  bottom: 8px;
  width: 2px;
  background: #fc926c;
  pointer-events: none;
}

.playhead::before {
  content: "";
  position: absolute;
  left: -3px;
  border-inline: 4px solid transparent;
  border-top: 6px solid #fc926c;
}

.preview figcaption {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 0;
  text-align: right;
}

.workflow {
  background: var(--soft);
  padding-block: 48px;
  border-block: 1px solid var(--line);
}

h2 {
  font-size: clamp(30px,4vw,50px);
  line-height: 1.13;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.steps article {
  border-top: 1px solid #cbbba7;
  padding-top: 17px;
}

.step-icon {
  color: var(--rust);
  font-size: 24px;
  line-height: 1;
}

.steps h3 {
  margin: 8px 0;
  font-size: 18px;
}

.steps p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  margin: 0;
}

.download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 58px;
}

.release-card {
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 5px 6px 0 #e4cfb7;
}

.release-card strong {
  display: block;
  font-size: 20px;
}

.version {
  display: inline-block;
  vertical-align: middle;
  font-size: 11px;
  border-radius: 30px;
  background: #eee0cb;
  padding: 3px 8px;
}

.release-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 7px 0 14px;
  line-height: 1.65;
}

.release-card .note {
  font-size: 12px;
  margin: 18px 0 7px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width:850px) {
  .shell {
    padding-inline: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px;
  }

  .preview {
    max-width: 560px;
    width: 100%;
  }

  .poster b {
    font-size: 16px;
  }

  .download {
    gap: 24px;
  }
}

@media (max-width:560px) {
  .shell {
    padding-inline: 18px;
  }

  .topbar {
    min-height: 63px;
  }

  .wordmark {
    font-size: 14px;
  }

  .wordmark img {
    width: 28px;
    height: 28px;
  }

  .topbar nav {
    gap: 12px;
    font-size: 12px;
  }

  .nav-action {
    padding: 6px 9px;
  }

  .hero {
    padding-block: 36px;
  }

  .steps,.download {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 15px;
  }

  .download {
    padding-block: 42px;
  }

  .editor-board {
    gap: 5px;
    padding: 6px;
  }

  .library,.controls {
    padding: 5px;
    gap: 5px;
  }

  .preview figcaption {
    text-align: left;
  }

  .release-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
  }
}
