@font-face {
  font-family: "Minicomputer";
  src: url("fonts/minicomputer-lt.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff7e8;
  --paper-dark: #f3dfc2;
  --ink: #2b2018;
  --brown: #875a31;
  --brown-dark: #4a2e1b;
  --orange: #e65313;
  --orange-hot: #ff7332;
  --blue: #2f84bf;
  --cyan: #15c7ee;
  --button-cream: #fff9ea;
  --button-yellow: #ffe38f;
  --button-yellow-hot: #ffd95f;
  --button-stroke: #222222;
  --green: #0ccf54;
  --red: #f01818;
  --yellow: #e9a900;
  --white: #ffffff;
  --shadow: rgba(43, 32, 24, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.8), transparent 22%),
    linear-gradient(135deg, #fff9ed 0%, #f5e2c2 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(74, 46, 27, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(74, 46, 27, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: multiply;
}

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

.soon-stamp {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 48%;
  width: min(70vw, 940px);
  transform: translate(-50%, -50%) rotate(-14deg);
  padding: clamp(16px, 3.5vw, 40px);
  border: clamp(7px, 1vw, 14px) solid var(--button-stroke);
  border-radius: 20px 34px 18px 28px;
  color: #d94c19;
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(88px, 16vw, 235px);
  line-height: 0.8;
  text-align: center;
  text-shadow:
    4px 0 0 var(--button-cream),
    8px 8px 0 rgba(43, 32, 24, 0.15);
  background:
    linear-gradient(135deg, rgba(255, 249, 234, 0.92), rgba(255, 227, 143, 0.72)),
    repeating-linear-gradient(
      -45deg,
      rgba(217, 76, 25, 0.08),
      rgba(217, 76, 25, 0.08) 12px,
      rgba(255, 255, 255, 0.18) 12px,
      rgba(255, 255, 255, 0.18) 24px
    );
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.75),
    10px 12px 0 rgba(43, 32, 24, 0.24);
  opacity: 0.82;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.poster-shell {
  height: 100vh;
  padding: clamp(10px, 1.4vw, 18px);
  display: grid;
  grid-template-columns: clamp(210px, 20vw, 280px) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
}

.poster-sidebar {
  min-height: 0;
  height: calc(100vh - clamp(20px, 2.8vw, 36px));
  padding: clamp(10px, 1vw, 14px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  background: rgba(255, 248, 235, 0.86);
  border: 4px solid var(--ink);
  border-radius: 7px;
  box-shadow: 8px 8px 0 var(--shadow);
  overflow: hidden;
}

.brand-mark {
  display: block;
  padding: 4px 8px 0;
  border: 3px solid rgba(43, 32, 24, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.brand-mark img {
  display: block;
  width: min(150px, 100%);
  margin: 0 auto;
  height: auto;
  filter: drop-shadow(3px 5px 0 rgba(43, 32, 24, 0.18));
}

.stack-menu {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(-0.45deg);
  display: grid;
  gap: 5px;
}

.stack-link {
  min-height: clamp(36px, 5vh, 48px);
  padding: 9px 8px 7px;
  display: grid;
  place-items: center;
  background: var(--button-cream);
  border: 3px solid var(--button-stroke);
  border-radius: 7px 13px 5px 11px;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.82),
    4px 5px 0 rgba(43, 32, 24, 0.2);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 0.9;
  text-align: center;
  text-shadow: none;
  position: relative;
}

.stack-link:last-child {
  border-bottom: 3px solid var(--button-stroke);
}

.stack-link:nth-child(2),
.stack-link:nth-child(4) {
  transform: rotate(0.35deg);
}

.stack-link:hover,
.stack-link:focus-visible {
  background: var(--button-yellow-hot);
  outline: none;
}

.stack-link-active {
  background: var(--button-yellow);
}

.stack-label {
  position: relative;
  z-index: 1;
}

.active-corner {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
}

.corner-tl {
  left: -15px;
  top: -14px;
  border-width: 7px 0 0 7px;
  border-radius: 10px 0 0 0;
}

.corner-tr {
  right: -15px;
  top: -14px;
  border-width: 7px 7px 0 0;
  border-radius: 0 10px 0 0;
}

.corner-bl {
  left: -15px;
  bottom: -14px;
  border-width: 0 0 7px 7px;
  border-radius: 0 0 0 10px;
}

.corner-br {
  right: -15px;
  bottom: -14px;
  border-width: 0 7px 7px 0;
  border-radius: 0 0 10px 0;
}

.chat-card {
  padding: clamp(8px, 0.9vw, 11px);
  background: var(--button-cream);
  border: 3px solid var(--button-stroke);
  border-radius: 9px 15px 7px 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.8),
    5px 5px 0 rgba(43, 32, 24, 0.2);
}

.watch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.watch-head h2 {
  margin: 0;
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1;
}

.watch-head span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  border: 3px solid var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.watch-row {
  min-height: 28px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid rgba(43, 32, 24, 0.25);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
}

.watch-row:last-child {
  border-bottom: 0;
}

.watch-row strong {
  font-size: 11px;
}

.trade {
  color: var(--green);
}

.no-trade {
  color: var(--red);
}

.wait {
  color: var(--yellow);
}

.chat-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
}

.chat-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  grid-row: span 2;
}

.chat-card strong {
  color: var(--ink);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 0.95;
}

.chat-card span {
  font-weight: 800;
  line-height: 1.2;
  font-size: 12px;
}

.poster-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(430px, 1.25fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.35vw, 18px);
  align-items: center;
  overflow: hidden;
}

.top-decision-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(110px, 170px));
  gap: 9px;
  align-items: center;
  filter: drop-shadow(5px 6px 0 rgba(43, 32, 24, 0.22));
  position: relative;
  z-index: 4;
}

.decision-question,
.decision-pill {
  min-height: 44px;
  padding: 10px 14px 7px;
  display: grid;
  place-items: center;
  background: var(--button-yellow);
  color: var(--ink);
  border: 3px solid var(--button-stroke);
  border-radius: 7px 15px 5px 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.78),
    4px 5px 0 rgba(43, 32, 24, 0.2);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 30px);
  line-height: 0.9;
  text-align: center;
  position: relative;
  transform: rotate(-0.45deg);
}

.decision-question::after,
.decision-pill::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px 4px 12px 6px;
  pointer-events: none;
}

.decision-question {
  background: var(--button-cream);
  color: #d94c19;
  text-shadow: 2px 2px 0 rgba(255, 227, 143, 0.9);
}

.decision-pill {
  background: var(--button-yellow);
  color: var(--ink);
  border-radius: 10px 5px 12px 4px;
  font-size: clamp(17px, 1.25vw, 24px);
  transform: rotate(0.55deg);
}

.decision-pill:nth-child(2) {
  background: var(--button-cream);
  color: var(--ink);
  transform: rotate(-0.5deg);
}

.decision-pill:nth-child(3) {
  background: var(--button-yellow);
  color: var(--ink);
  transform: rotate(0.35deg);
}

.decision-pill:nth-child(4) {
  background: var(--button-cream);
  color: var(--ink);
  transform: rotate(-0.25deg);
}

.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(9px, 1.2vh, 14px);
  min-height: 0;
}

.headline-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 170px);
  align-items: center;
  gap: 10px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Minicomputer", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  display: none;
}

.hero-cat {
  width: min(170px, 100%);
  align-self: end;
  filter: drop-shadow(5px 8px 0 rgba(43, 32, 24, 0.18));
}

.hero-kicker {
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 1000;
}

.hero-text {
  max-width: 650px;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.26;
  font-weight: 700;
}

.speech-card {
  position: relative;
  padding: clamp(12px, 1.2vw, 16px) clamp(14px, 1.5vw, 20px);
  background: rgba(255, 248, 235, 0.9);
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--shadow);
  transform: rotate(-0.35deg);
}

.speech-card::after {
  content: "";
  position: absolute;
  right: 120px;
  top: -25px;
  width: 78px;
  height: 42px;
  background: rgba(255, 248, 235, 0.9);
  border-top: 4px solid var(--ink);
  border-left: 4px solid var(--ink);
  transform: skewX(-28deg) rotate(15deg);
}

.speech-card h2 {
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.05;
  margin-bottom: 6px;
}

.speech-card ul {
  margin: 0;
  padding-left: 20px;
}

.speech-card li {
  margin: 5px 0;
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.18;
  font-weight: 800;
}

.paw-note {
  margin: 5px 0 0;
  text-align: right;
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: 15px;
  transform: rotate(-7deg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comic-button {
  min-height: 52px;
  padding: 13px 22px 10px;
  display: inline-grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--orange);
  color: var(--white);
  border: 6px solid var(--button-stroke);
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.18),
    inset 4px 4px 0 rgba(255, 255, 255, 0.08),
    8px 8px 0 rgba(43, 32, 24, 0.32);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(19px, 1.55vw, 28px);
  line-height: 0.9;
  text-align: center;
  position: relative;
  transform: rotate(-0.25deg);
}

.comic-button.brown {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    var(--brown);
  color: var(--white);
  transform: rotate(0.25deg);
}

.comic-button.blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%),
    var(--blue);
  color: var(--white);
  transform: rotate(-0.15deg);
}

.comic-button:hover,
.comic-button:focus-visible {
  filter: brightness(1.08);
  outline: 5px solid var(--cyan);
  outline-offset: 2px;
}

.comic-button.selected::before,
.comic-button.selected::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--cyan);
  border-style: solid;
}

.comic-button.selected::before {
  top: -14px;
  left: -14px;
  border-width: 7px 0 0 7px;
  border-radius: 9px 0 0 0;
}

.comic-button.selected::after {
  right: -14px;
  bottom: -14px;
  border-width: 0 7px 7px 0;
  border-radius: 0 0 9px 0;
}

.trust-line {
  margin: 0;
  padding-left: 36px;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.2;
  font-weight: 800;
  position: relative;
}

.trust-line::before {
  content: "OK";
  position: absolute;
  left: 0;
  top: -7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #384043;
  color: var(--white);
  border-radius: 50%;
}

.dashboard-frame {
  margin: 0;
  align-self: center;
  justify-self: stretch;
  max-width: calc(100% - 18px);
  padding: clamp(8px, 0.9vw, 11px);
  background: #1f2930;
  border: 5px solid var(--ink);
  border-radius: 15px;
  box-shadow:
    10px 12px 0 var(--shadow),
    22px 24px 0 #2c2119,
    42px 44px 24px rgba(43, 32, 24, 0.24);
  transform: perspective(1500px) rotateY(-6deg) rotateX(1.7deg) rotateZ(0.35deg);
  transform-origin: 42% 50%;
  position: relative;
  isolation: isolate;
}

.dashboard-frame::before,
.dashboard-frame::after {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.dashboard-frame::before {
  content: "LIVE APP PREVIEW";
  left: 22px;
  top: -22px;
  padding: 9px 15px 7px;
  background: #1f1c19;
  color: var(--orange-hot);
  border: 4px solid var(--ink);
  border-radius: 8px 8px 3px 3px;
  box-shadow: 6px 6px 0 rgba(43, 32, 24, 0.22);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 22px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
}

.dashboard-frame::after {
  content: "WAIT";
  right: -18px;
  bottom: -21px;
  padding: 11px 17px 9px;
  background: #ffd34d;
  color: #18120d;
  border: 4px solid var(--ink);
  border-radius: 13px;
  box-shadow: 7px 7px 0 rgba(43, 32, 24, 0.28);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 0.9;
  transform: rotate(2deg);
}

.dashboard-slider {
  aspect-ratio: 4 / 3;
  max-height: calc(100vh - 150px);
  border: 4px solid #0d171c;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  animation: preview-slide 16s infinite;
}

.slide-two {
  animation-delay: 4s;
}

.slide-three {
  animation-delay: 8s;
}

.slide-four {
  animation-delay: 12s;
}

.slider-caption {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.slider-caption span {
  padding: 7px 7px 5px;
  background: var(--button-yellow);
  color: var(--ink);
  border: 3px solid var(--button-stroke);
  border-radius: 6px 12px 5px 10px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.72),
    3px 4px 0 rgba(43, 32, 24, 0.2);
  font-family: "Minicomputer", Arial, sans-serif;
  font-size: clamp(12px, 1vw, 17px);
  line-height: 0.9;
  text-align: center;
  transform: rotate(-0.4deg);
}

.slider-caption span:nth-child(even) {
  background: var(--button-cream);
  color: var(--ink);
  transform: rotate(0.45deg);
}

@keyframes preview-slide {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    animation: none;
  }

  .slide-one {
    opacity: 1;
  }
}

.contact-strip {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 900;
  color: var(--brown-dark);
}

.contact-strip a {
  padding: 6px 10px 4px;
  background: var(--button-cream);
  color: var(--ink);
  border: 3px solid var(--button-stroke);
  border-radius: 5px 10px 4px 9px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.72),
    3px 4px 0 rgba(43, 32, 24, 0.18);
  font-family: "Minicomputer", Arial, sans-serif;
  line-height: 0.9;
}

@media (max-width: 1200px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .soon-stamp {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 10px;
    width: auto;
    padding: 8px 12px 6px;
    border-width: 4px;
    border-radius: 10px 16px 8px 14px;
    font-size: clamp(36px, 12vw, 58px);
    transform: rotate(4deg);
    opacity: 0.9;
    z-index: 30;
  }

  .poster-shell {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
  }

  .poster-sidebar {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    overflow: visible;
  }

  .brand-mark {
    padding: 0;
  }

  .brand-mark img {
    width: 72px;
  }

  .stack-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    transform: none;
  }

  .stack-link {
    min-height: 38px;
    padding: 8px 6px 6px;
    border-right: 0;
    border-bottom: 3px solid var(--button-stroke);
    font-size: clamp(14px, 4.4vw, 18px);
  }

  .stack-link:first-child {
    grid-column: 1 / -1;
  }

  .active-corner {
    width: 30px;
    height: 30px;
  }

  .chat-card {
    grid-column: 1 / -1;
    margin-top: 0;
    grid-template-columns: 38px 1fr;
    padding: 8px;
  }

  .chat-card img {
    width: 38px;
    height: 38px;
  }

  .chat-card strong {
    font-size: 17px;
  }

  .chat-card span {
    font-size: 11px;
  }

  .poster-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
  }

  .top-decision-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .decision-question {
    grid-column: 1 / -1;
  }

  .decision-question,
  .decision-pill {
    min-height: 36px;
    padding: 8px 6px 6px;
    font-size: clamp(14px, 4vw, 20px);
  }

  .headline-wrap {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 8px;
  }

  .hero-cat {
    width: 92px;
    justify-self: end;
    margin-top: 0;
  }

  .hero-kicker {
    font-size: clamp(24px, 8vw, 34px);
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.25;
  }

  h1 {
    display: none;
  }

  .speech-card {
    padding: 12px;
  }

  .speech-card h2 {
    font-size: clamp(19px, 5vw, 24px);
  }

  .speech-card::after {
    display: none;
  }

  .speech-card li {
    font-size: 13px;
    line-height: 1.2;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .comic-button {
    min-height: 48px;
    padding: 11px 14px 8px;
    border-width: 5px;
    font-size: 18px;
  }

  .dashboard-frame {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    transform: rotate(0.35deg);
    box-shadow:
      7px 8px 0 var(--shadow),
      13px 14px 0 #2c2119;
  }

  .dashboard-frame::before {
    left: 12px;
    top: -18px;
    padding: 7px 10px 5px;
    font-size: 13px;
  }

  .dashboard-frame::after {
    right: -7px;
    bottom: -14px;
    padding: 8px 12px 6px;
    font-size: 18px;
  }

  .dashboard-slider {
    max-height: none;
  }

  .slider-caption {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .slider-caption span {
    font-size: 12px;
  }

  .trust-line {
    font-size: 13px;
  }

  .contact-strip {
    padding-bottom: 72px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }
}
