/* MOTALE website styles. Landing, responsive, and legal-page rules live here. */
/* If a color has a name, it probably has a job. */
@font-face {
  font-family: Display;
  src: url('assets/fonts/display.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Body;
  src: url('assets/fonts/body.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Brand;
  src: url('assets/fonts/brand.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #131414;
  --panel: #1b1c1d;
  --paper: #f2efe8;
  --orange: #ff4d00;
  --grey: #817f7b;
  --line: #393a3a;
  --service: #6e9bd8;
  --adventure: #4fae9e;
  --fuel: #d4a72c;
  --mod: #6541b6;
  --pad: clamp(18px, 4vw, 68px);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Body, Arial, sans-serif;
}

p, h1, h2, ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 18px;
  top: -80px;
  padding: 12px;
  background: var(--orange);
  color: var(--ink);
  font-weight: bold;
}

.skip-link:focus {
  top: 18px;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(#131414de, #131414de), url('assets/grunge-texture.webp'), repeating-linear-gradient(90deg, transparent 0 22px, #ffffff04 23px 24px);
  background-size: auto, 900px auto, auto;
  background-blend-mode: normal, screen, normal;
}

.topbar {
  min-height: 81px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 700 clamp(25px, 2.2vw, 36px)/1 Brand, Display, sans-serif;
  letter-spacing: -.04em;
}

.logo img {
  width: 45px;
  height: 45px;
  box-shadow: 3px 3px 0 var(--orange);
}

.topbar p, .header-id {
  font: 700 8px/1.4 'Courier New', monospace;
  letter-spacing: .11em;
}

.topbar b, .header-id b {
  color: var(--orange);
  font-size: 9px;
}

.header-id {
  text-align: right;
}

.workbench {
  position: relative;
  flex: 1;
  isolation: isolate;
  max-width: 1600px;
  width: 100%;
  margin: auto;
  padding: clamp(26px, 4vw, 60px) var(--pad) clamp(28px, 4vw, 55px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .7fr);
  grid-template-rows: auto 1fr;
  gap: 20px clamp(35px, 5vw, 85px);
}

.workbench:before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 8%;
  right: -7%;
  bottom: 6%;
  height: 27%;
  background: var(--orange);
  opacity: .92;
  clip-path: polygon(0 13%, 14% 6%, 26% 14%, 41% 5%, 54% 15%, 69% 8%, 83% 15%, 100% 7%, 100% 100%, 0 100%);
}

.workbench:after {
  content: 'MOTALE';
  position: absolute;
  z-index: -1;
  right: -.07em;
  top: 6%;
  color: #f2efe808;
  font: 900 clamp(190px, 26vw, 430px)/.7 Brand, Display, sans-serif;
  letter-spacing: -.08em;
}

.section-line {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 700 9px/1 'Courier New', monospace;
  letter-spacing: .11em;
}

.section-line b {
  color: var(--orange);
  font-size: 14px;
}

.section-line i {
  font-size: 10px;
  color: var(--adventure);
  margin-left: auto;
}

.copy {
  align-self: center;
  position: relative;
  z-index: 1;
}

.pretitle {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  padding: 8px 10px;
  font: 700 9px/1 'Courier New', monospace;
  letter-spacing: .1em;
  transform: rotate(-1.5deg);
}

.copy h1 {
  margin: 20px 0;
  font: 900 clamp(78px, 11vw, 180px)/.72 Display, Impact, sans-serif;
  letter-spacing: -.075em;
}

.copy h1 span {
  display: block;
}

.copy h1 span:nth-child(2) {
  color: var(--orange);
  margin-left: clamp(17px, 4vw, 58px);
  text-shadow: 3px 3px 0 var(--paper);
}

.copy h1 span:nth-child(3) {
  margin-left: clamp(7px, 1.2vw, 18px);
}

.copy h1 span:nth-child(4) {
  color: var(--paper);
  margin-left: clamp(29px, 6vw, 95px);
  text-shadow: 5px 5px 0 var(--ink);
}

.deck {
  max-width: 380px;
  margin-left: clamp(4px, 1vw, 15px);
  padding-left: 13px;
  border-left: 5px solid var(--adventure);
  color: #c5c3bc;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.55;
}

.motor-card {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: end;
  width: min(100%, 455px);
  background: var(--panel);
  border: 2px solid var(--orange);
  box-shadow: 10px 10px 0 #000;
  transform: rotate(2deg);
  padding: 17px;
}

.card-top, .card-foot {
  display: flex;
  justify-content: space-between;
  font: 700 8px/1 'Courier New', monospace;
  letter-spacing: .08em;
}

.card-top {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.card-top b {
  color: var(--orange);
  margin-right: 8px;
  font-size: 11px;
}

.motor-title {
  padding: 31px 0 22px;
  border-bottom: 1px solid var(--line);
}

.tag {
  display: inline-block;
  padding: 7px 12px;
  background: var(--orange);
  color: var(--ink);
  font: 700 9px 'Courier New', monospace;
  letter-spacing: .12em;
}

.motor-title h2 {
  margin: 14px 0 6px;
  font: 900 clamp(48px, 5.2vw, 76px)/.78 Display, Impact, sans-serif;
  letter-spacing: -.06em;
}

.motor-title p {
  color: var(--grey);
  font: 700 8px/1.4 'Courier New', monospace;
  letter-spacing: .1em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0;
}

.metric-grid div {
  padding: 0 8px;
  border-right: 1px solid var(--line);
}

.metric-grid div:first-child {
  padding-left: 0;
}

.metric-grid div:last-child {
  border: 0;
}

.metric-grid b {
  display: block;
  font: 900 clamp(22px, 2.1vw, 32px)/.85 Display, sans-serif;
}

.metric-grid div:nth-child(2) b {
  color: var(--service);
}

.metric-grid div:nth-child(3) b {
  color: var(--mod);
}

.metric-grid div:nth-child(4) b {
  color: var(--adventure);
}

.metric-grid span {
  display: block;
  margin-top: 7px;
  color: var(--grey);
  font: 700 6px/1.3 'Courier New', monospace;
  letter-spacing: .05em;
}

.card-foot {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--grey);
}

.card-foot b {
  font-size: 21px;
  color: var(--orange);
  line-height: 0;
}

.index-card {
  position: absolute;
  z-index: 3;
  right: calc(var(--pad) - 16px);
  bottom: clamp(28px, 6vw, 90px);
  width: 150px;
  padding: 11px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  transform: rotate(-6deg);
}

.index-card>span {
  font: 700 7px 'Courier New', monospace;
  letter-spacing: .1em;
}

.index-card strong {
  display: block;
  margin: 19px 0 18px;
  font: 900 35px/.72 Display, Impact, sans-serif;
  letter-spacing: -.05em;
}

.index-card ul {
  list-style: none;
  padding: 8px 0 0;
  border-top: 2px solid;
}

.index-card li {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 4px 0;
  font: 700 7px 'Courier New', monospace;
  letter-spacing: .08em;
}

.index-card i {
  width: 8px;
  height: 8px;
  background: var(--service);
}

.index-card i.fuel {
  background: var(--fuel);
}

.index-card i.mod {
  background: var(--mod);
}

.index-card i.adventure {
  background: var(--adventure);
}

.side-print {
  position: absolute;
  left: 8px;
  top: 30%;
  writing-mode: vertical-rl;
  color: #f2efe84f;
  font: 900 clamp(18px, 2vw, 31px)/1 Display, sans-serif;
  letter-spacing: .1em;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 15px var(--pad);
  border-top: 2px solid var(--orange);
  background: var(--panel);
}

.download-row>div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.download-row>div b {
  font: 900 20px/.8 Display, sans-serif;
}

.download-row>div span {
  max-width: 230px;
  color: #b3b0a7;
  font-size: 12px;
  line-height: 1.25;
}

.download {
  min-width: min(100%, 328px);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  font: 700 11px/1 'Courier New', monospace;
  letter-spacing: .06em;
  box-shadow: 5px 5px 0 #000;
  transition: transform .18s, box-shadow .18s;
}

.download span, .download b {
  font: 400 25px/0 Arial;
}

.download:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #000;
}

.download-row>p {
  text-align: right;
  color: var(--grey);
  font: 700 8px/1.4 'Courier New', monospace;
  letter-spacing: .08em;
}

.download-row>p b {
  color: var(--paper);
  font-size: 8px;
}

.app-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 var(--pad);
  background: #1b1c1d;
  border-top: 1px solid var(--line);
  color: var(--grey);
}

.app-nav span {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 19px;
  border-right: 1px solid #323333;
}

.app-nav b {
  font: 700 8px 'Courier New', monospace;
  letter-spacing: .13em;
}

.app-nav .active {
  color: var(--orange);
  border-top: 4px solid var(--orange);
}

.app-nav .add {
  margin: 7px 20%;
  min-height: 48px;
  background: var(--orange);
  color: var(--ink);
  font-size: 33px;
  line-height: 1;
  box-shadow: 4px 4px 0 #000;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px var(--pad);
  background: var(--ink);
  font: 700 8px/1 'Courier New', monospace;
  letter-spacing: .08em;
  color: var(--paper);
}

footer nav {
  display: flex;
  gap: 20px;
}

footer a:hover {
  color: var(--orange);
}

dialog {
  width: 470px;
  max-width: calc(100% - 32px);
  padding: 30px;
  border: 2px solid var(--orange);
  background: var(--panel);
  color: var(--paper);
  box-shadow: 8px 8px 0 #000;
}

dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  right: 8px;
  top: 7px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 30px;
}

.download-dialog>img {
  box-shadow: 3px 3px 0 var(--orange);
}

.download-dialog>p {
  margin-top: 20px;
  color: var(--orange);
  font: 700 9px 'Courier New', monospace;
  letter-spacing: .1em;
}

.download-dialog h2 {
  margin: 12px 0;
  font: 900 61px/.76 Display, sans-serif;
  letter-spacing: -.06em;
}

.download-dialog>span {
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.download-dialog .download {
  width: 100%;
  min-width: 0;
}

@media(max-width:760px) {
  .topbar {
    min-height: 67px;
    padding-top: 10px;
    padding-bottom: 10px;
    grid-template-columns: 1fr auto;
  }

  .logo {
    font-size: 26px;
  }

  .logo img {
    width: 35px;
    height: 35px;
  }

  .topbar p {
    display: none;
  }

  .header-id {
    font-size: 7px;
  }

  .header-id b {
    font-size: 8px;
  }

  .workbench {
    min-height: calc(100svh - 246px);
    display: block;
    padding-top: 25px;
  }

  .section-line {
    font-size: 7px;
    padding-bottom: 9px;
  }

  .section-line b {
    font-size: 11px;
  }

  .copy {
    margin-top: 29px;
  }

  .pretitle {
    font-size: 7px;
    padding: 7px;
  }

  .copy h1 {
    font-size: clamp(73px, 22vw, 140px);
    margin: 16px 0;
  }

  .copy h1 span:nth-child(2) {
    margin-left: 8vw;
  }

  .copy h1 span:nth-child(4) {
    margin-left: 12vw;
  }

  .deck {
    font-size: 12px;
    max-width: 290px;
  }

  .motor-card {
    width: min(78vw, 340px);
    margin: 38px 4vw 35px auto;
    padding: 12px;
    transform: rotate(1.5deg);
  }

  .motor-title {
    padding: 21px 0 16px;
  }

  .motor-title h2 {
    font-size: 52px;
  }

  .motor-title p {
    font-size: 6.5px;
  }

  .metric-grid {
    padding: 13px 0;
  }

  .metric-grid b {
    font-size: 25px;
  }

  .metric-grid span {
    font-size: 5px;
  }

  .index-card {
    right: var(--pad);
    bottom: 25px;
    width: 118px;
    padding: 8px;
  }

  .index-card strong {
    font-size: 28px;
    margin: 14px 0;
  }

  .index-card li {
    font-size: 5.5px;
    padding: 3px 0;
  }

  .side-print {
    display: none;
  }

  .workbench:before {
    height: 32%;
    bottom: 0;
  }

  .download-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .download-row>div span {
    max-width: 280px;
  }

  .download-row>p {
    display: none;
  }

  .download {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .app-nav {
    padding: 0;
  }

  .app-nav span {
    min-height: 57px;
    font-size: 17px;
  }

  .app-nav b {
    font-size: 6px;
  }

  .app-nav .add {
    margin: 6px 17%;
    min-height: 45px;
  }

  footer {
    font-size: 7px;
  }

  footer>span:last-child {
    display: none;
  }

  footer nav {
    gap: 13px;
  }

  .download-dialog {
    padding: 25px 22px;
  }

  .download-dialog h2 {
    font-size: 52px;
  }
}

@media(max-width:370px) {
  .copy h1 {
    font-size: 21.3vw;
  }

  .motor-card {
    margin-top: 27px;
  }

  .index-card {
    width: 105px;
  }

  .index-card strong {
    font-size: 25px;
  }

  .deck {
    font-size: 11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
}

/* Responsive landing-page composition. */
/* Final cover constraints: one complete, non-scrolling landing composition. */
body:not(.legal-page), body:not(.legal-page) main {
  height: 100%;
  overflow: hidden;
}

.hero {
  height: 100svh;
  min-height: 0;
}

.workbench {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.deck {
  padding-left: 0;
  border-left: 0;
}

.hero {
  background-size: 100% 100%, cover, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, repeat;
}

.workbench {
  grid-template-rows: 1fr;
}

.workbench:after {
  content: none;
}

.workbench:before {
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  clip-path: none;
}

.workbench:before {
  height: 29%;
  bottom: 5%;
  clip-path: polygon(0 7%, 7% 4%, 14% 8%, 22% 3%, 31% 7%, 39% 2%, 48% 8%, 57% 4%, 65% 7%, 74% 2%, 82% 6%, 91% 3%, 100% 7%, 100% 93%, 92% 97%, 84% 94%, 75% 98%, 67% 94%, 58% 97%, 49% 93%, 40% 98%, 31% 94%, 22% 97%, 13% 93%, 6% 97%, 0 94%);
  filter: drop-shadow(0 4px 0 #131414);
}

.workbench:before {
  background-color: #ff642b;
  background-image: linear-gradient(#ff642be8, #ff642be8), url('assets/grunge-texture.webp');
  background-size: 100% 100%, cover;
  background-blend-mode: normal, soft-light;
}

.workbench:before {
  background-image: linear-gradient(#ff642be0, #ff642be0), url('assets/grunge-texture.webp'), repeating-linear-gradient(112deg, transparent 0 8px, #fff3 9px 10px, #9f240b22 11px 12px);
  background-size: 100% 100%, cover, auto;
  background-blend-mode: normal, soft-light, normal;
}

.workbench:before {
  background-color: #e9865d;
  background-image: linear-gradient(#f26d38ae, #f26d38ae), url('assets/crumpled-paper-texture.webp');
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: multiply;
}

@media(min-width:761px) {
  .workbench {
    overflow: visible;
  }

  .workbench:before {
    bottom: -2%;
  }
}

@media(max-width:760px) {
  .workbench:before {
    bottom: -2%;
  }
}

/* Play-store art language: blueprint grid, wheel geometry, torn stock, and orange tape. */
.hero {
  position: relative;
  isolation: isolate;
}

.hero:before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .75;
  background-image: radial-gradient(circle at -7% 42%, transparent 0 88px, #f2efe826 89px 94px, transparent 95px 122px, #f2efe81a 123px 129px, transparent 130px 160px, #f2efe80e 161px 166px, transparent 167px), radial-gradient(circle at 101% 81%, transparent 0 105px, #f2efe820 106px 111px, transparent 112px 147px, #f2efe816 148px 154px, transparent 155px), repeating-linear-gradient(90deg, transparent 0 8.25vw, #f2efe80d 8.3vw 8.37vw), repeating-linear-gradient(0deg, transparent 0 8.25vw, #f2efe80a 8.3vw 8.37vw);
  background-size: auto, auto, auto, auto;
}

.hero:after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -12vw;
  top: -24%;
  width: 31vw;
  height: 89%;
  background-color: var(--orange);
  background-image: linear-gradient(#ff4d00d5, #ff4d00d5), url('assets/grunge-texture.webp');
  background-size: 100% 100%, cover;
  background-blend-mode: multiply;
  clip-path: polygon(26% 0, 100% 0, 72% 100%, 0 100%);
  transform: rotate(4deg);
  opacity: .9;
  pointer-events: none;
}

.topbar, .workbench, .download-row, footer {
  position: relative;
  z-index: 1;
}

.workbench:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -9vw;
  bottom: 9%;
  width: 27vw;
  height: 24vw;
  min-height: 210px;
  background: linear-gradient(#f2efe8dc, #f2efe8dc), url('assets/crumpled-paper-texture.webp');
  background-size: 100% 100%, cover;
  background-blend-mode: multiply;
  clip-path: polygon(0 12%, 18% 2%, 38% 8%, 57% 0, 79% 7%, 100% 1%, 94% 25%, 100% 48%, 93% 70%, 100% 92%, 78% 100%, 59% 94%, 38% 100%, 17% 92%, 0 100%);
  transform: rotate(-9deg);
  opacity: .52;
  pointer-events: none;
}

@media(max-width:760px) {
  .hero:before {
    opacity: .5;
    background-image: radial-gradient(circle at -18% 40%, transparent 0 62px, #f2efe829 63px 68px, transparent 69px 91px, #f2efe816 92px 97px, transparent 98px), repeating-linear-gradient(90deg, transparent 0 20vw, #f2efe80c 20.2vw 20.5vw), repeating-linear-gradient(0deg, transparent 0 20vw, #f2efe80b 20.2vw 20.5vw);
  }

  .hero:after {
    right: -20vw;
    top: -8%;
    width: 48vw;
    height: 45%;
    opacity: .55;
  }

  .workbench:after {
    left: -13vw;
    bottom: 14%;
    width: 44vw;
    height: 48vw;
    min-height: 0;
    opacity: .34;
  }
}

/* Rebuilt from the Play Store artwork: two cropped physical poster fragments frame the UI. */
.hero {
  background-color: #101112;
  background-image: linear-gradient(#101112d7, #101112d7), url('assets/grunge-texture.webp');
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
}

.hero:before {
  left: 0;
  top: 0;
  right: auto;
  bottom: 0;
  width: 34vw;
  opacity: .64;
  background-image: linear-gradient(90deg, #10111210, #101112ed), url('assets/motale-play-garage-art.webp');
  background-size: 100% 100%, auto 100%;
  background-position: center, left center;
  background-repeat: no-repeat, no-repeat;
  filter: grayscale(1) contrast(1.35);
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 76% 23%, 100% 47%, 71% 72%, 92% 100%, 0 100%);
}

.hero:after {
  right: 0;
  top: 0;
  width: 39vw;
  height: 100%;
  opacity: .8;
  background-color: transparent;
  background-image: linear-gradient(90deg, #101112e8, #10111218), url('assets/motale-play-garage-art.webp');
  background-size: 100% 100%, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: normal;
  clip-path: polygon(31% 0, 100% 0, 100% 100%, 8% 100%, 31% 74%, 0 49%, 27% 25%);
  transform: none;
  filter: contrast(1.18) saturate(.9);
}

.workbench:after {
  left: -7vw;
  bottom: 11%;
  width: 30vw;
  height: 29vw;
  min-height: 250px;
  background-image: linear-gradient(#f2efe8d8, #f2efe8d8), url('assets/crumpled-paper-texture.webp');
  background-size: 100% 100%, cover;
  background-blend-mode: multiply;
  opacity: .72;
  transform: rotate(-7deg);
}

.motor-card {
  box-shadow: 13px 13px 0 #000, 17px 17px 0 #ff4d0069;
}

.index-card {
  box-shadow: 6px 6px 0 var(--orange), 10px 10px 0 #000;
}

.workbench:after {
  opacity: .74;
  filter: drop-shadow(7px 8px 0 #080808b8) drop-shadow(13px 16px 18px #00000096);
}

@media(max-width:760px) {
  .hero:before {
    top: 0;
    width: 48vw;
    opacity: .5;
    background-image: linear-gradient(90deg, #10111205, #101112f2), url('assets/motale-play-garage-art.webp');
    background-size: 100% 100%, auto 100%;
    background-position: center, left center;
    clip-path: polygon(0 0, 100% 0, 76% 38%, 100% 70%, 66% 100%, 0 100%);
  }

  .hero:after {
    right: 0;
    top: 0;
    width: 42vw;
    height: 42%;
    opacity: .55;
    background-size: 100% 100%, auto 100%;
    background-position: center, right top;
    clip-path: polygon(39% 0, 100% 0, 100% 100%, 0 100%, 24% 55%);
  }

  .workbench:after {
    left: -11vw;
    bottom: 18%;
    width: 50vw;
    height: 46vw;
    min-height: 0;
    opacity: .45;
  }
}

@media(min-width:761px) {
  .hero:before {
    left: 0;
    top: 0;
    width: 27vw;
    height: 100%;
    opacity: .62;
    background-image: radial-gradient(circle at -10% 25%, transparent 0 13vw, #f2efe832 13.1vw 13.55vw, transparent 13.6vw 16.6vw, #f2efe81b 16.7vw 17.1vw, transparent 17.2vw), repeating-linear-gradient(90deg, transparent 0 5.5vw, #f2efe813 5.55vw 5.62vw), repeating-linear-gradient(0deg, transparent 0 5.5vw, #f2efe80c 5.55vw 5.62vw);
    background-size: auto, auto, auto;
    background-position: left top;
    filter: none;
    mix-blend-mode: normal;
    clip-path: polygon(0 0, 100% 0, 82% 25%, 100% 48%, 77% 74%, 94% 100%, 0 100%);
  }

  .hero:after {
    right: 0;
    top: 0;
    width: 25vw;
    height: 57%;
    opacity: .82;
    background-color: var(--orange);
    background-image: linear-gradient(#ff4d00d5, #ff4d00d5), url('assets/grunge-texture.webp');
    background-size: 100% 100%, cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%, 27% 58%);
    transform: none;
    filter: none;
  }

  .workbench:after {
    opacity: .58;
  }
}

@media(min-width:761px) {
  .hero:before {
    content: none;
  }

  .hero:after {
    right: 0;
    top: 0;
    width: 39vw;
    height: 100%;
    opacity: .8;
    background-color: transparent;
    background-image: linear-gradient(90deg, #101112e8, #10111218), url('assets/motale-play-garage-art.webp');
    background-size: 100% 100%, auto 100%;
    background-position: center, right center;
    background-repeat: no-repeat, no-repeat;
    background-blend-mode: normal;
    clip-path: polygon(31% 0, 100% 0, 100% 100%, 8% 100%, 31% 74%, 0 49%, 27% 25%);
    transform: none;
    filter: contrast(1.18) saturate(.9);
  }
}

@media(min-width:761px) {
  .workbench:before, .workbench:after {
    content: none;
  }

  .hero {
    background-color: #151617;
    background-image: linear-gradient(#151617db, #151617db), url('assets/crumpled-paper-texture.webp'), url('assets/grunge-texture.webp');
    background-size: 100% 100%, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-blend-mode: multiply, soft-light, screen;
  }
}

@media(min-width:761px) {
  .copy {
    isolation: isolate;
  }

  .copy:before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -42px -58px -38px -38px;
    background-color: #171819;
    background-image: linear-gradient(#171819b8, #171819b8), url('assets/crumpled-paper-texture.webp');
    background-size: 100% 100%, cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    opacity: .86;
    pointer-events: none;
  }
}

@media(min-width:761px) {
  .hero {
    background-color: var(--ink);
    background-image: linear-gradient(#131414de, #131414de), url('assets/grunge-texture.webp'), repeating-linear-gradient(90deg, transparent 0 22px, #ffffff04 23px 24px);
    background-size: 100% 100%, cover, auto;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    background-blend-mode: normal, screen, normal;
  }

  .copy:before {
    content: none;
  }

  .hero:before {
    content: '';
    inset: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 62vw;
    height: 100%;
    opacity: .22;
    background: url('assets/crumpled-paper-texture.webp') center/cover no-repeat;
    clip-path: none;
    filter: none;
    mix-blend-mode: soft-light;
    pointer-events: none;
  }
}

@media(min-width:761px) {
  .hero:before {
    right: 0;
    width: 100%;
    opacity: .14;
  }

  .motor-card {
    transform: translateX(clamp(-150px, -8vw, -90px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(90px, 8vw, 150px));
  }
}

@media(min-width:761px) {
  .hero:before {
    opacity: .24;
    filter: grayscale(1) contrast(1.55) brightness(.64);
    mix-blend-mode: screen;
  }

  .motor-card {
    transform: translateX(clamp(-210px, -11vw, -150px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(150px, 11vw, 210px));
  }
}

@media(min-width:761px) {
  .hero:before {
    opacity: .34;
    filter: grayscale(1) contrast(2.15) brightness(.48);
    mix-blend-mode: screen;
  }
}

@media(min-width:761px) {
  .motor-card {
    transform: translateX(clamp(-340px, -17vw, -250px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(250px, 17vw, 340px));
  }
}

@media(min-width:761px) {
  .motor-card {
    transform: translateX(clamp(-250px, -13vw, -185px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(185px, 13vw, 250px));
  }
}

@media(min-width:761px) {
  .motor-card {
    transform: translateX(clamp(-78px, -4vw, -38px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(38px, 4vw, 78px));
  }
}

.deck {
  width: min(100%, 410px);
  margin-top: 28px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 4px 4px 0 var(--ink);
  clip-path: polygon(0 4%, 15% 0, 35% 3%, 53% 0, 73% 3%, 100% 0, 99% 84%, 100% 100%, 80% 98%, 61% 100%, 42% 98%, 22% 100%, 0 97%, 1% 75%);
}

@media(max-width:760px) {
  .workbench {
    min-height: 0;
    overflow: hidden;
  }

  .copy {
    margin-top: 19px;
  }

  .motor-card {
    margin-top: 25px;
    margin-bottom: 18px;
  }

  .index-card {
    bottom: 15px;
  }

  .download-row {
    padding-top: 11px;
    padding-bottom: 12px;
  }
}

@media(max-width:760px) {
  .workbench {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .copy {
    margin-top: 12px;
  }

  .copy h1 {
    font-size: clamp(68px, 19.5vw, 122px);
    margin: 12px 0;
  }

  .deck {
    margin-top: 17px;
    padding: 10px 11px;
    font-size: 11px;
    line-height: 1.35;
  }

  .motor-card {
    width: min(72vw, 300px);
    margin-top: 15px;
    margin-bottom: 0;
    padding: 10px;
  }

  .motor-title {
    padding: 15px 0 12px;
  }

  .motor-title h2 {
    font-size: 43px;
    margin: 10px 0 5px;
  }

  .motor-title p {
    font-size: 5.5px;
  }

  .metric-grid {
    padding: 10px 0;
  }

  .metric-grid b {
    font-size: 21px;
  }

  .metric-grid span {
    margin-top: 4px;
    font-size: 4px;
  }

  .card-top, .card-foot {
    font-size: 6px;
  }

  .card-foot {
    padding-top: 8px;
  }

  .index-card {
    transform: rotate(-6deg) scale(.82);
    transform-origin: bottom right;
    bottom: 8px;
  }

  .download-row>div {
    display: none;
  }
}

/* Final desktop hero positioning. */
/* Final desktop positioning: intentionally sits away from the app screenshot. */
@media(min-width:761px) {
  .motor-card {
    transform: translateX(clamp(-340px, -17vw, -250px)) rotate(2deg);
  }

  .index-card {
    right: calc(var(--pad) + clamp(250px, 17vw, 340px));
  }
}

/* Legal pages. Variables and body typography are scoped so the landing page stays unchanged. */
/* Same engine, different paperwork. */
body.legal-page {
  --ink: #131414;
  --panel: #1b1c1d;
  --paper: #f2efe8;
  --orange: #ff4d00;
  --muted: #aaa8a1;
  --line: #393a3a;
  --pad: clamp(20px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body.legal-page {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Body, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 18px;
  top: -80px;
  padding: 12px;
  background: var(--orange);
  color: var(--ink);
  font-weight: bold;
}

.skip-link:focus {
  top: 18px;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.mono {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: .08em;
}

.small {
  font-size: 9px;
}

.site-header {
  min-height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 13px var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 clamp(24px, 2.2vw, 34px)/1 Brand, Display, sans-serif;
  letter-spacing: -.04em;
}

.brand img {
  width: 39px;
  height: 39px;
  box-shadow: 3px 3px 0 var(--orange);
}

.header-caption {
  font-size: 8px;
  color: var(--muted);
}

.site-header>a:last-child {
  text-align: right;
  color: var(--orange);
  font-size: 9px;
  text-decoration: none;
}

.site-header>a:last-child:hover {
  color: var(--paper);
}

.section-pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(35px, 6vw, 90px);
  padding-bottom: clamp(45px, 7vw, 105px);
  border-bottom: 2px solid var(--orange);
  background-color: var(--panel);
  background-image: linear-gradient(#1b1c1de8, #1b1c1de8), url('assets/grunge-texture.webp');
  background-size: auto, 900px auto;
  background-blend-mode: normal, screen;
}

.legal-hero:after {
  content: 'MOTALE';
  position: absolute;
  right: -.08em;
  bottom: -.18em;
  color: #f2efe807;
  font: 900 clamp(160px, 24vw, 390px)/.7 Brand, Display, sans-serif;
  letter-spacing: -.09em;
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f2efe83b;
  font-size: 9px;
}

.eyebrow span:first-child {
  color: var(--orange);
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: clamp(36px, 5vw, 70px) 0 16px;
  font: 900 clamp(58px, 10vw, 164px)/.76 Display, Impact, sans-serif;
  letter-spacing: -.07em;
}

.legal-hero>p {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 11px;
  background: var(--orange);
  color: var(--ink);
  font: 700 9px/1 'Courier New', monospace;
  letter-spacing: .1em;
  transform: rotate(-1deg);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(40px, 8vw, 140px);
  padding-top: clamp(38px, 6vw, 78px);
  padding-bottom: clamp(55px, 8vw, 110px);
  background-color: var(--ink);
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, #ffffff03 23px 24px);
}

.legal-layout>aside {
  align-self: start;
  position: sticky;
  top: clamp(36px, 6vh, 72px);
}

.legal-layout aside>span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
}

.legal-layout aside nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.legal-layout aside nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font: 700 14px/1.35 'Courier New', monospace;
  letter-spacing: .05em;
  text-decoration: none;
}

.legal-layout aside nav a:hover {
  padding-left: 8px;
  color: var(--orange);
}

.text-link {
  display: flex;
  margin-top: 28px;
  padding: 13px 0;
  border-bottom: 1px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  text-decoration: none;
}

.text-link:hover {
  color: var(--paper);
}

.legal-content section {
  padding: 0 0 clamp(35px, 5vw, 62px);
  margin-bottom: clamp(35px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}

.legal-content section:last-child {
  margin: 0;
  border: 0;
}

.legal-content h2 {
  margin-bottom: 22px;
  font: 900 clamp(25px, 3vw, 42px)/.95 Display, Impact, sans-serif;
  letter-spacing: -.03em;
}

.legal-content h3 {
  margin: 31px 0 8px;
  color: var(--orange);
  font: 900 19px/1 Display, Impact, sans-serif;
  letter-spacing: .02em;
}

.legal-content p {
  max-width: 710px;
  margin: 0 0 17px;
  color: #d2d0c8;
}

.legal-content a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--paper);
}

.legal-callout {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--orange);
  border-left: 8px solid var(--orange);
  background: var(--panel);
  box-shadow: 5px 5px 0 #000;
}

.legal-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font: 900 20px/1 Display, sans-serif;
  letter-spacing: .03em;
}

.legal-callout p {
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.wordmark {
  font: 700 23px/1 Brand, Display, sans-serif;
  letter-spacing: -.04em;
  text-decoration: none;
}

.site-footer>span {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 17px;
  font: 700 8px 'Courier New', monospace;
  letter-spacing: .08em;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover, .site-footer nav a[aria-current] {
  color: var(--orange);
}

@media(max-width:720px) {
  body.legal-page {
    font-size: 15px;
    line-height: 1.62;
  }

  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    font-size: 25px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-caption {
    display: none;
  }

  .site-header>a:last-child {
    font-size: 8px;
  }

  .legal-hero {
    padding-top: 31px;
    padding-bottom: 45px;
  }

  .eyebrow {
    display: block;
    font-size: 8px;
    line-height: 1.55;
  }

  .eyebrow span {
    display: block;
  }

  .eyebrow span+span {
    margin-top: 4px;
    color: var(--muted);
  }

  .legal-hero h1 {
    margin: 36px 0 14px;
    font-size: clamp(52px, 17vw, 92px);
  }

  .legal-layout {
    display: block;
    padding-top: 35px;
    padding-bottom: 60px;
  }

  .legal-layout>aside {
    position: static;
    margin-bottom: 38px;
  }

  .legal-layout aside nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout aside nav a {
    padding: 11px 8px 11px 0;
    font-size: 11px;
    line-height: 1.3;
  }

  .legal-layout aside nav a:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 10px;
  }

  .legal-layout aside nav a:nth-child(even) {
    padding-left: 10px;
  }

  .text-link {
    margin-top: 17px;
    font-size: 11px;
  }

  .legal-content h2 {
    font-size: 28px;
    margin-bottom: 17px;
  }

  .legal-content h3 {
    font-size: 18px;
    margin-top: 25px;
  }

  .legal-content p {
    margin-bottom: 15px;
  }

  .legal-callout {
    margin: 22px 0;
    padding: 16px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 17px var(--pad);
    gap: 14px;
  }

  .site-footer>span {
    display: none;
  }

  .site-footer nav {
    width: 100%;
    justify-content: space-between;
    font-size: 7px;
  }
}

@media(max-width:360px) {
  .legal-layout aside nav {
    grid-template-columns: 1fr;
  }

  .legal-layout aside nav a:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .legal-layout aside nav a:nth-child(even) {
    padding-left: 0;
  }
}

/* Legal-page responsive reading measure. */
/* Desktop reading measure: keep navigation and policy copy as one centered unit. */
.legal-hero>p {
  padding: 0;
  background: transparent;
  color: var(--orange);
  transform: none;
}

body.legal-page .site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

body.legal-page .legal-hero {
  padding-top: clamp(112px, 12vw, 170px);
}

body.legal-page .legal-hero {
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

@media(min-width:721px) {
  .legal-layout {
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: start;
    gap: clamp(52px, 7vw, 105px);
  }
}

@media(max-width:720px) {
  body.legal-page .site-header {
    display: none;
  }

  body.legal-page .legal-hero {
    padding-top: 31px;
  }
}

/* The shared file also contains the landing page's generic footer rule. */
body.legal-page .site-footer {
  font: inherit;
  letter-spacing: normal;
  color: inherit;
}

/* Center and slightly enlarge the landing-page header message and footer links. */
/* Tiny type, surprisingly strong opinions. */
body:not(.legal-page) .topbar p {
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
}

body:not(.legal-page) .topbar b {
  font-size: 10px;
}

body:not(.legal-page) .hero>footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: initial;
  font-size: 10px;
}

body:not(.legal-page) .hero>footer nav {
  justify-content: center;
  gap: 28px;
}

body:not(.legal-page) .hero>footer>span:last-child {
  text-align: right;
}

@media(max-width:760px) {
  body:not(.legal-page) .hero>footer {
    display: flex;
    justify-content: center;
    font-size: 9px;
  }

  body:not(.legal-page) .hero>footer>span {
    display: none;
  }

  body:not(.legal-page) .hero>footer nav {
    gap: 18px;
  }
}

/* Keep the download strip's three content areas on one visual centerline. */
body:not(.legal-page) .download-row>div {
  align-items: center;
}

body:not(.legal-page) .download-row>.download {
  justify-self: center;
}

body:not(.legal-page) .download-row>p {
  align-self: center;
}

/* Match legal-page header and footer microcopy to the enlarged landing-page type. */
body.legal-page .header-caption {
  font-size: 10px;
}

body.legal-page .site-header>a:last-child {
  font-size: 10px;
}

body.legal-page .site-footer .small {
  font-size: 10px;
}

body.legal-page .site-footer nav {
  font-size: 10px;
}

@media(max-width:720px) {
  body.legal-page .site-header>a:last-child {
    font-size: 9px;
  }

  body.legal-page .site-footer .small {
    font-size: 9px;
  }

  body.legal-page .site-footer nav {
    font-size: 9px;
  }
}
