:root {
  color-scheme: light;
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #12130f;
  background: #e7dcae;
  font-synthesis: none;
  --paper: #e7dcae;
  --paper-light: #f0e8c9;
  --ink: #12130f;
  --umber: #5b3b12;
  --rust: #b83317;
  --ochre: #d58a09;
  --blue-gray: #718886;
  --mauve: #756064;
  --sage: #7f9178;
  --peach: #d69c77;
}

* { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.25), transparent 22rem),
    linear-gradient(105deg, rgba(101,72,29,.045), transparent 35%, rgba(255,255,255,.13) 65%, transparent),
    var(--paper);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: .27;
  background-image: radial-gradient(rgba(53,42,21,.35) .45px, transparent .6px);
  background-size: 5px 5px;
}

body::after {
  opacity: .18;
  background-image: repeating-linear-gradient(92deg, transparent 0 37px, rgba(83,64,28,.12) 38px, transparent 39px 81px);
}

.canvas {
  width: min(100%, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  padding: 32px clamp(24px, 5vw, 72px) 48px;
}

.folio {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.folio-rule { height: 1px; background: rgba(18,19,15,.65); transform: rotate(-.25deg); }
.folio-state { display: flex; align-items: center; gap: 8px; }
.folio-state i { display: block; width: 8px; height: 8px; background: var(--rust); transform: rotate(45deg); }

.stage {
  position: relative;
  min-height: 680px;
  margin-top: 8px;
  isolation: isolate;
}

.proun { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.form { position: absolute; display: block; }
.disc { top: 88px; left: 42%; width: 340px; height: 340px; border-radius: 50%; background: rgba(214,156,119,.38); }
.plane-umber { top: -72px; left: 47%; width: 210px; height: 620px; background: rgba(91,59,18,.93); transform: rotate(-17deg); }
.plane-blue { top: 425px; left: 17%; width: 190px; height: 104px; background: var(--blue-gray); transform: rotate(-25deg); }
.plane-rust-a { top: 115px; right: 5%; width: 220px; height: 21px; background: var(--rust); transform: rotate(-43deg); }
.plane-rust-b { top: 175px; right: 11%; width: 150px; height: 34px; background: rgba(184,51,23,.9); transform: rotate(-43deg); }
.plane-mauve { top: 400px; left: 2%; width: 54px; height: 112px; background: var(--mauve); transform: rotate(-12deg); }
.beam-black { top: 62px; left: 45%; width: 24px; height: 500px; background: var(--ink); transform: rotate(-17deg); }
.beam-ochre { top: 280px; left: 8%; width: 12px; height: 240px; background: var(--ochre); transform: rotate(-19deg); }
.axis { top: 365px; left: -3%; width: 75%; height: 4px; background: var(--ink); transform: rotate(-28deg); transform-origin: left; }
.wedge { top: 44px; left: 57%; width: 160px; height: 150px; background: var(--ink); border-radius: 80% 0 65% 30%; transform: rotate(-24deg); }

.brand {
  position: absolute;
  top: 94px;
  left: 1%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 34px;
}

.icon-plane {
  position: relative;
  padding: 12px;
  background: var(--blue-gray);
  transform: rotate(-9deg);
}

.icon-plane::before {
  position: absolute;
  inset: -10px 16px 18px -13px;
  z-index: -1;
  content: "";
  background: var(--rust);
  transform: rotate(5deg);
}

.app-mark { display: block; width: 112px; height: 112px; border: 3px solid var(--ink); border-radius: 0; object-fit: cover; }
.title-block { transform: rotate(-1.5deg); }
.kicker { display: block; margin-left: 5px; font-size: 11px; font-weight: 900; letter-spacing: .28em; }
h1 { margin: 5px 0 2px; font-size: clamp(86px, 10vw, 140px); font-weight: 950; line-height: .78; letter-spacing: -.12em; }
.edition { display: block; margin-left: 8px; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; font-weight: 800; letter-spacing: .14em; }

.tagline {
  position: absolute;
  top: 396px;
  left: 8%;
  z-index: 2;
  width: 380px;
  margin: 0;
  padding-left: 36px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.75;
  transform: rotate(-3deg);
}

.tagline::before { position: absolute; top: 3px; bottom: 4px; left: 14px; width: 7px; content: ""; background: var(--ochre); }
.tagline > span { position: absolute; top: -23px; left: 0; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 10px; }

.release-card {
  position: absolute;
  top: 235px;
  right: 2%;
  z-index: 3;
  width: min(42%, 455px);
  padding: 30px 30px 32px 42px;
  background: rgba(240,232,201,.96);
  box-shadow: -12px 13px 0 rgba(113,136,134,.8);
  clip-path: polygon(0 0, 93% 0, 100% 11%, 100% 100%, 7% 100%, 0 88%);
  transform: rotate(1.1deg);
}

.release-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 9px; content: ""; background: var(--ink); }
.plate-number { position: absolute; top: 14px; right: 28px; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; font-weight: 800; }
.release-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 11px; }
.label { display: block; margin-bottom: 8px; color: var(--rust); font-size: 11px; font-weight: 950; letter-spacing: .17em; }
#version { font-size: 31px; font-weight: 950; letter-spacing: -.045em; }
.date { padding-bottom: 3px; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 10px; font-weight: 800; white-space: nowrap; }

.release-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 27px 0 29px; border-block: 2px solid var(--ink); }
.release-facts div { padding: 15px 12px; border-right: 1px solid rgba(18,19,15,.65); }
.release-facts div:first-child { padding-left: 0; }
.release-facts div:last-child { padding-right: 0; border: 0; }
.release-facts dt { margin-bottom: 7px; color: #625b49; font-size: 10px; font-weight: 800; }
.release-facts dd { margin: 0; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 13px; font-weight: 900; }

.install-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: calc(100% - 6px);
  padding: 16px 18px;
  color: var(--paper-light);
  background: var(--rust);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transform: rotate(-1deg);
  transition: transform .15s ease, box-shadow .15s ease;
}

.button-index { font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; opacity: .8; }
.button-label { text-align: center; }
.install-button > span:last-child { font-size: 22px; line-height: .7; }
.install-button:not(.is-disabled):hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(5px, 5px) rotate(-1deg); }
.install-button.is-disabled { cursor: wait; filter: grayscale(.65); opacity: .65; }
.error { margin: 18px 0 0; color: var(--rust); font-size: 12px; font-weight: 800; text-align: center; }

.procedure { position: relative; margin: -5px 3% 0 8%; overflow: clip; padding-top: 25px; }
.procedure::before { position: absolute; top: 90px; right: -13%; left: -12%; height: 3px; content: ""; background: var(--ink); transform: rotate(-4deg); }
.procedure-heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(18,19,15,.45); font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.procedure-heading span:first-child { font-family: inherit; font-size: 15px; letter-spacing: .25em; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(34px, 7vw, 90px);
  margin: 0;
  padding: 38px 0 12px;
  list-style: none;
}

.steps li { position: relative; min-height: 125px; padding: 45px 0 0 22px; }
.steps li:nth-child(2) { transform: translateY(-18px); }
.steps li:nth-child(3) { transform: translateY(15px); }
.steps li::before { position: absolute; top: 18px; bottom: 0; left: 0; width: 8px; content: ""; background: var(--mauve); transform: rotate(-5deg); }
.steps li:nth-child(2)::before { background: var(--ochre); }
.steps li:nth-child(3)::before { background: var(--blue-gray); }
.steps li > span { position: absolute; top: 0; left: 20px; padding: 5px 7px; color: var(--paper-light); background: var(--ink); font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; font-weight: 900; transform: rotate(-4deg); }
.steps p { margin: 0; font-size: 13px; font-weight: 750; line-height: 1.65; }

.notice { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 38px; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 9px; font-weight: 800; }
.notice span { width: 38px; height: 8px; background: var(--sage); transform: rotate(-8deg); }

@media (max-width: 900px) {
  .canvas { padding-inline: 22px; }
  .stage { display: flex; min-height: auto; flex-direction: column; gap: 48px; padding: 95px 0 70px; }
  .proun { opacity: .78; }
  .disc { top: 170px; left: 30%; width: 280px; height: 280px; }
  .plane-umber { top: -50px; left: 70%; width: 120px; height: 460px; }
  .beam-black { top: 22px; left: 68%; height: 400px; }
  .wedge { top: 8px; left: 68%; width: 120px; height: 110px; }
  .plane-rust-a, .plane-rust-b { right: -8%; }
  .brand, .tagline, .release-card { position: relative; inset: auto; }
  .brand { align-self: flex-start; }
  .tagline { align-self: flex-start; margin: 85px 0 0 8%; }
  .release-card { align-self: flex-end; width: min(88%, 500px); margin-top: 6px; }
  .plane-blue { top: 465px; left: 2%; }
  .procedure { margin: 0 2%; }
}

@media (max-width: 600px) {
  .canvas { padding: 23px 15px 38px; }
  .folio { grid-template-columns: auto 1fr; gap: 12px; }
  .folio-state { grid-column: 1 / -1; justify-self: end; }
  .stage { gap: 40px; padding: 75px 0 60px; }
  .proun { opacity: .62; }
  .plane-umber { left: 78%; width: 90px; }
  .beam-black { left: 74%; }
  .disc { top: 185px; left: 22%; width: 230px; height: 230px; }
  .axis { top: 370px; left: -8%; width: 108%; }
  .plane-rust-a { top: 120px; right: -15%; }
  .plane-rust-b { top: 175px; right: -12%; }
  .wedge { left: 73%; }
  .brand { gap: 22px; }
  .icon-plane { padding: 8px; }
  .app-mark { width: 78px; height: 78px; }
  .kicker { font-size: 8px; }
  h1 { font-size: 78px; }
  .edition { font-size: 7px; }
  .tagline { width: min(90%, 350px); margin-top: 64px; padding-left: 30px; font-size: 16px; }
  .release-card { align-self: center; width: calc(100% - 14px); padding: 29px 24px 29px 34px; }
  .release-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .release-facts { grid-template-columns: 1fr; }
  .release-facts div, .release-facts div:first-child, .release-facts div:last-child { display: flex; justify-content: space-between; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(18,19,15,.55); }
  .release-facts div:last-child { border: 0; }
  .release-facts dt { margin: 0; }
  .procedure { padding-top: 0; }
  .procedure::before { top: 87px; right: -8%; left: -8%; transform: rotate(-8deg); }
  .procedure-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 10px; padding-top: 30px; }
  .steps li, .steps li:nth-child(2), .steps li:nth-child(3) { min-height: 105px; transform: none; }
  .notice { align-items: flex-start; justify-content: flex-start; margin-top: 26px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
