:root {
  color-scheme: light;
  --cyan: #00f0ff;
  --blue: #0737ff;
  --pink: #ff2bd6;
  --yellow: #fff000;
  --green: #38ff00;
  --orange: #ff8c00;
  --purple: #7b00ff;
  --ink: #080808;
  --panel: #f1f1e8;
  --shadow: #404040;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(
      circle at 12px 12px,
      rgba(255, 255, 255, 0.7) 0 3px,
      transparent 4px
    ),
    linear-gradient(
      45deg,
      var(--cyan) 25%,
      var(--yellow) 25% 50%,
      var(--pink) 50% 75%,
      var(--green) 75%
    );
  background-size:
    28px 28px,
    56px 56px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page-shell {
  width: min(980px, calc(100% - 24px));
  margin: 12px auto 24px;
  border: 4px ridge #ffffff;
  background: #c0c0c0;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.42);
}

.browser {
  border-bottom: 3px solid #707070;
  background: #c0c0c0;
}

.browser-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, #000082, #1084d0);
  font-size: 15px;
}

.browser-caption {
  margin-left: auto;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

.traffic {
  display: inline-flex;
  gap: 4px;
}

.traffic span {
  width: 14px;
  height: 14px;
  border: 2px outset #ffffff;
  background: #d7d7d7;
}

.toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
}

.toolbar span {
  padding: 3px 12px;
  border: 2px outset #ffffff;
  background: #e4e4e4;
}

.poster {
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.6) 50%, transparent 50%), #ffe8fb;
  background-size: 18px 18px;
}

.marquee {
  overflow: hidden;
  border: 4px inset #ffffff;
  background: #000000;
  color: var(--yellow);
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: clamp(17px, 2.5vw, 26px);
  font-weight: 700;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  min-width: 100%;
  padding: 8px 0;
  animation: crawl 11s linear infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 16px;
  padding: clamp(18px, 4vw, 34px) 12px 20px;
  text-align: center;
}

h1 {
  display: grid;
  gap: 0;
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(48px, 12vw, 118px);
  line-height: 0.86;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow:
    4px 4px 0 var(--blue),
    8px 8px 0 var(--pink),
    12px 12px 0 #000000;
}

.gif-frame {
  width: min(360px, 78vw);
  margin: 4px 0 0;
  padding: 12px;
  border: 6px ridge #ffffff;
  background: linear-gradient(
    45deg,
    #ffffff 25%,
    #e8ff00 25% 50%,
    #ffffff 50% 75%,
    #e8ff00 75%
  );
  background-size: 24px 24px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
  transform: rotate(-1.5deg);
}

.gif-frame img {
  display: block;
  width: 100%;
  min-height: 220px;
  object-fit: contain;
  border: 3px solid #000000;
  background: #ffffff;
  image-rendering: auto;
}

.gif-frame figcaption {
  margin-top: 8px;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
}

.contact-panel {
  width: min(760px, 100%);
  padding: clamp(14px, 3vw, 24px);
  border: 5px outset #ffffff;
  background: var(--panel);
  box-shadow: 7px 7px 0 var(--shadow);
}

.instruction {
  margin: 0 0 10px;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  color: #d00000;
}

.phone {
  display: block;
  padding: 10px;
  border: 4px dashed #000000;
  background: var(--green);
  color: #000000;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(32px, 8.4vw, 76px);
  line-height: 1.12;
  text-decoration: underline;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.replace-note {
  margin: 12px 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #333333;
}

.sticker {
  position: absolute;
  top: 24px;
  width: 136px;
  padding: 8px 10px;
  border: 3px solid #000000;
  background: var(--orange);
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 5px 5px 0 #000000;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.info-grid article {
  min-height: 142px;
  padding: 12px;
  border: 4px ridge #ffffff;
  background: #ffffff;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

.info-grid h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  text-decoration: underline;
}

.info-grid p {
  margin: 0;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 18px;
  line-height: 1.25;
}

.status-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 5px;
  border: 3px inset #ffffff;
  background: #c0c0c0;
  font-size: 13px;
}

.status-bar span {
  flex: 1 1 180px;
  padding: 3px 8px;
  border: 2px inset #ffffff;
  background: #d7d7d7;
}

@keyframes crawl {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 14px);
    margin-top: 7px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.42);
  }

  .browser-caption,
  .sticker {
    display: none;
  }

  .poster {
    padding: 8px;
  }

  .hero {
    padding-inline: 4px;
  }

  h1 {
    text-shadow:
      2px 2px 0 var(--blue),
      4px 4px 0 var(--pink),
      6px 6px 0 #000000;
  }

  .gif-frame {
    width: min(300px, 90vw);
    padding: 8px;
    transform: none;
  }

  .gif-frame img {
    min-height: 180px;
  }

  .phone {
    font-size: clamp(30px, 8.4vw, 36px);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
