@font-face {
  font-family: 'Silkscreen';
  src: url('./assets/fonts/silkscreen-regular.ttf') format('truetype');
  font-display: swap;
}

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

@font-face {
  font-family: 'Nunito';
  src: url('./assets/fonts/nunito-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #071a3d;
  --blue: #1672f5;
  --blue-dark: #0751c7;
  --sky: #dcecff;
  --paper: #f7f8f2;
  --white: #ffffff;
  --yellow: #ffe43d;
  --green: #54d400;
  --pink: #ff5fa2;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(var(--max), calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  font-family: 'Silkscreen', monospace;
  font-size: 0.85rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  image-rendering: pixelated;
}

.no-ads-stamp {
  margin: 0;
  padding: 10px 15px 9px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: 'Silkscreen', monospace;
  font-size: 0.7rem;
  line-height: 1;
  transform: rotate(-1.5deg);
}

.header-link {
  justify-self: end;
  font-weight: 700;
  font-size: 0.95rem;
}

.header-link span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 64px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.75fr);
  align-items: center;
  gap: clamp(38px, 6vw, 94px);
}

.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgb(7 26 61 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 26 61 / 4%) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-copy,
.hero-art,
.story-copy,
.phone-panel {
  min-width: 0;
}

.eyebrow,
.section-label,
.art-note,
.scroll-cue,
.promise-item > span,
.micro-proof,
.final-status strong {
  font-family: 'Silkscreen', monospace;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue-dark);
  font-size: clamp(0.67rem, 1vw, 0.88rem);
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.eyebrow-light {
  color: var(--yellow);
}

.hero h1,
h2,
h3 {
  font-family: 'Silkscreen', monospace;
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.2rem, 6vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0.11em 0 0.09em;
  color: var(--blue);
}

.hero h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  right: -2%;
  bottom: -0.05em;
  height: 0.13em;
  z-index: -1;
  background: var(--yellow);
  transform: rotate(-1deg);
}

.hero-description {
  max-width: 610px;
  margin: 34px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 20px 16px;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  font-family: 'Silkscreen', monospace;
  font-size: 0.75rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--blue);
}

.primary-action:focus-visible,
.brand:focus-visible,
.header-link:focus-visible,
.footer-links a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.availability span {
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-art {
  position: relative;
  min-height: min(690px, 74vh);
  isolation: isolate;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 4% 4% 8%;
  z-index: -4;
  background: var(--sky);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
  clip-path: polygon(0 0, 94% 0, 94% 6%, 100% 6%, 100% 100%, 6% 100%, 6% 94%, 0 94%);
}

.hero-art::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 8%;
  height: 23%;
  z-index: -3;
  background:
    linear-gradient(90deg, transparent 18%, rgb(7 26 61 / 14%) 18% 31%, transparent 31% 72%, rgb(7 26 61 / 14%) 72% 82%, transparent 82%),
    var(--green);
  border-top: 3px solid var(--ink);
}

.pixel-sun {
  position: absolute;
  right: 12%;
  top: 13%;
  z-index: -2;
  width: 92px;
  aspect-ratio: 1;
  background: var(--yellow);
  box-shadow:
    0 -14px 0 -7px var(--yellow),
    0 14px 0 -7px var(--yellow),
    14px 0 0 -7px var(--yellow),
    -14px 0 0 -7px var(--yellow);
}

.hero-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(68%, 400px);
  height: auto;
  transform: translate(-50%, -48%) rotate(1.5deg);
  filter: drop-shadow(16px 22px 0 rgb(7 26 61 / 17%));
}

.hero-animal,
.edge-animal,
.final-animals img {
  image-rendering: pixelated;
  will-change: translate;
}

.hero-animal {
  position: absolute;
  z-index: 4;
  width: clamp(128px, 13vw, 205px);
  height: auto;
  filter: drop-shadow(8px 10px 0 rgb(7 26 61 / 12%));
}

.hero-capybara {
  left: -2%;
  bottom: 2%;
  transform: rotate(-4deg);
}

.hero-raccoon {
  right: -4%;
  bottom: 7%;
  width: clamp(118px, 12vw, 190px);
  transform: rotate(5deg);
}

.art-note {
  position: absolute;
  z-index: 5;
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.art-note-top {
  left: 1%;
  top: 0;
}

.art-note-bottom {
  right: 0;
  bottom: 0;
}

[data-parallax] {
  translate: 0 var(--parallax-y, 0);
}

.scroll-cue {
  width: min(var(--max), calc(100% - 48px));
  margin: -42px auto 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.56rem;
}

.scroll-cue i {
  position: relative;
  width: 92px;
  height: 2px;
  background: var(--ink);
}

.scroll-cue i::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.section-wrap {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  font-size: 0.68rem;
}

.pain-section {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 190px) 0;
  background: var(--ink);
  color: var(--white);
}

.pain-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.86fr) minmax(390px, 0.74fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: start;
}

.pain-heading h2,
.promise-intro h2,
.story-copy h2,
.ritual-copy h2,
.final-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.3vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pain-list {
  border-top: 2px solid rgb(255 255 255 / 76%);
}

.pain-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 2px solid rgb(255 255 255 / 32%);
}

.pain-row > span {
  color: var(--yellow);
  font-family: 'Silkscreen', monospace;
  font-size: 0.66rem;
}

.pain-row p {
  margin: -5px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.edge-animal {
  position: absolute;
  z-index: 1;
  width: clamp(110px, 13vw, 200px);
  height: auto;
}

.pain-fox {
  left: max(-56px, calc(50% - 780px));
  bottom: 20px;
  transform: rotate(5deg);
}

.pain-duck {
  right: max(-58px, calc(50% - 780px));
  top: 44px;
  transform: rotate(-6deg);
}

.marquee {
  overflow: hidden;
  padding: 22px 0 18px;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  font-family: 'Silkscreen', monospace;
  font-size: clamp(0.65rem, 1.2vw, 0.88rem);
  white-space: nowrap;
}

.marquee div {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
}

.marquee i {
  font-style: normal;
}

.promise-section {
  position: relative;
  overflow: hidden;
  padding: clamp(108px, 14vw, 190px) 0 clamp(140px, 18vw, 240px);
}

.promise-intro {
  max-width: 990px;
}

.promise-intro .section-label {
  margin-bottom: 38px;
}

.promise-intro h2 {
  max-width: 920px;
}

.promise-list {
  margin-top: clamp(62px, 8vw, 110px);
  border-top: 3px solid var(--ink);
}

.promise-item {
  display: grid;
  grid-template-columns: 210px minmax(260px, 0.75fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: 160px;
  padding: 30px 34px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.promise-item > span {
  font-size: 0.64rem;
}

.promise-item h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  line-height: 1;
}

.promise-item p {
  max-width: 390px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.promise-yellow {
  background: var(--yellow);
}

.promise-blue {
  background: var(--sky);
}

.promise-pink {
  background: #ffd7e7;
}

.promise-panda {
  left: max(-50px, calc(50% - 770px));
  bottom: 2px;
  transform: rotate(-4deg);
}

.promise-bear {
  right: max(-54px, calc(50% - 770px));
  bottom: 12px;
  transform: rotate(5deg);
}

.story {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 13vw, 170px) 0;
  border-top: 3px solid var(--ink);
}

.story-blue {
  background: var(--blue);
  color: var(--white);
}

.story-paper {
  background: var(--paper);
}

.story-pink {
  background: #ff8cbb;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 0.65fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: center;
}

.story-reverse .story-copy {
  order: 2;
}

.story-reverse .phone-panel {
  order: 1;
}

.story-copy h2 {
  max-width: 800px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 34px 0 0;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.micro-proof {
  display: block;
  width: fit-content;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 3px solid currentColor;
  font-size: 0.67rem;
  line-height: 1.5;
}

.phone-panel {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 16px 16px 0 var(--ink);
  clip-path: polygon(0 0, calc(100% - 34px) 0, calc(100% - 34px) 18px, 100% 18px, 100% 100%, 34px 100%, 34px calc(100% - 18px), 0 calc(100% - 18px));
}

.phone-panel-yellow {
  background: var(--yellow);
}

.phone-panel-green {
  background: var(--green);
}

.phone-panel-blue {
  background: var(--sky);
}

.phone-panel img {
  position: relative;
  z-index: 2;
  width: min(68%, 390px);
  height: auto;
  filter: drop-shadow(14px 18px 0 rgb(7 26 61 / 18%));
  will-change: translate;
}

.phone-index {
  position: absolute;
  left: 24px;
  top: 18px;
  z-index: 1;
  color: rgb(7 26 61 / 16%);
  font-family: 'Silkscreen', monospace;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
}

.ritual-section {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 250px) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.ritual-copy {
  max-width: 1180px;
}

.ritual-copy h2 {
  font-size: clamp(2.15rem, 4.5vw, 5rem);
  line-height: 1.16;
}

.ritual-copy > p:last-child {
  margin: 42px auto 0;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.ritual-red-panda {
  left: max(-42px, calc(50% - 760px));
  bottom: 26px;
}

.ritual-unicorn {
  right: max(-50px, calc(50% - 760px));
  top: 42px;
}

.final-section {
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding: clamp(110px, 14vw, 190px) 0 300px;
  display: flex;
  align-items: flex-start;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
}

.final-copy {
  max-width: 980px;
  text-align: center;
}

.final-copy h2 {
  font-size: clamp(2.8rem, 5.6vw, 6.4rem);
}

.final-status {
  width: fit-content;
  margin: 48px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 8px 8px 0 var(--blue);
}

.final-status strong {
  color: var(--yellow);
  font-size: 0.76rem;
}

.final-status span {
  font-weight: 700;
}

.final-animals {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(860px, 88vw);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transform: translateX(-50%);
}

.final-animals img {
  width: 30%;
  height: auto;
  margin: 0 -2%;
  filter: drop-shadow(9px 12px 0 rgb(7 26 61 / 15%));
}

.final-animals .final-capybara {
  width: 36%;
  z-index: 2;
}

.site-footer {
  min-height: 120px;
  padding: 28px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--paper);
  border-top: 3px solid var(--ink);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-art {
    min-height: 720px;
  }

  .hero-phone {
    width: min(54%, 410px);
  }

  .pain-layout {
    grid-template-columns: 64px 1fr;
  }

  .pain-list {
    grid-column: 2;
  }

  .story-grid {
    gap: 58px;
  }

  .phone-panel {
    min-height: 650px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .no-ads-stamp {
    display: none;
  }

  .promise-item {
    grid-template-columns: 150px 1fr;
    gap: 18px 30px;
  }

  .promise-item p {
    grid-column: 2;
  }

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

  .story-reverse .story-copy,
  .story-reverse .phone-panel {
    order: initial;
  }

  .phone-panel {
    width: min(620px, 100%);
    min-height: 690px;
    margin: 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section-wrap,
  .scroll-cue {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 0.68rem;
  }

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

  .header-link {
    font-size: 0;
  }

  .header-link span {
    margin: 0;
    font-size: 1.45rem;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 78px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13.7vw, 4rem);
    line-height: 1;
  }

  .hero h1 span {
    width: auto;
  }

  .hero-description {
    margin-top: 28px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .primary-action {
    width: 100%;
  }

  .hero-art {
    min-height: 550px;
  }

  .hero-art::before {
    inset: 4% 2% 9%;
  }

  .hero-art::after {
    left: 2%;
    right: 2%;
    bottom: 9%;
  }

  .hero-phone {
    width: min(70%, 330px);
  }

  .hero-animal {
    width: 126px;
  }

  .hero-capybara {
    left: -7%;
  }

  .hero-raccoon {
    right: -7%;
    width: 112px;
  }

  .scroll-cue {
    display: none;
  }

  .pain-layout {
    grid-template-columns: 1fr;
  }

  .pain-layout .section-label,
  .pain-heading,
  .pain-list {
    grid-column: 1;
  }

  .pain-heading h2,
  .promise-intro h2,
  .story-copy h2,
  .ritual-copy h2 {
    font-size: clamp(2rem, 9.7vw, 3.15rem);
  }

  .pain-list {
    margin-top: 16px;
  }

  .pain-fox,
  .pain-duck,
  .promise-panda,
  .promise-bear,
  .ritual-red-panda,
  .ritual-unicorn {
    width: 112px;
  }

  .marquee {
    font-size: 0.58rem;
  }

  .promise-item {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .promise-item p {
    grid-column: 1;
  }

  .phone-panel {
    min-height: 580px;
    box-shadow: 9px 9px 0 var(--ink);
  }

  .phone-panel img {
    width: min(70%, 330px);
  }

  .final-section {
    min-height: 760px;
    padding-bottom: 230px;
  }

  .final-copy h2 {
    font-size: clamp(2.35rem, 11.6vw, 4rem);
  }

  .final-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .final-animals {
    bottom: -12px;
    width: 114vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 26px 16px;
  }

  .footer-links {
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.85rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-parallax] {
    translate: none !important;
  }
}
