@font-face {
  font-family: "Anton";
  src: url("/assets/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Marker";
  src: url("/assets/PermanentMarker-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0d0d0d;
  --paper: #f7f1e4;
  --white: #fffdf5;
  --pink: #ff3971;
  --coral: #ff684b;
  --teal: #06c9c3;
  --lemon: #f6ed48;
  --purple: #4f2aa7;
  --line: rgba(255, 253, 245, 0.22);
  --display: "Anton", Impact, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --marker: "Marker", "Comic Sans MS", cursive;
  --wrap: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  line-height: 1.55;
  max-width: 100%;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--lemon);
  outline-offset: 5px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links > a:not(.store-button) {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 8px 17px 9px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.store-button strong {
  display: block;
  font-size: 16px;
  line-height: 1;
}

.store-button small {
  display: block;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple {
  font-family: system-ui, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 36px 0 86px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.hero h1 {
  font-size: clamp(76px, 10.7vw, 154px);
  max-width: 6.4ch;
}

.hero h1 .hit {
  color: var(--pink);
  -webkit-text-stroke: 2px var(--pink);
}

.hero-copy {
  max-width: 55ch;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.45vw, 19px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-note {
  font-family: var(--marker);
  color: var(--lemon);
  transform: rotate(-4deg);
  font-size: 19px;
}

.hero-art {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.party-burst {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.paper-sprite {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  aspect-ratio: 1;
  background-image: url("/assets/grunge-sprites.webp");
  background-repeat: no-repeat;
  background-size: 400% 400%;
  background-position: var(--sx) var(--sy);
  transform: rotate(var(--r));
  filter:
    var(--tone, brightness(1))
    drop-shadow(2px 3px 0 rgba(13, 13, 13, 0.6));
}

.bolt-cyan { --sx: 0%; --sy: 0%; }
.bolt-purple { --sx: 33.333%; --sy: 0%; }
.bolt-yellow { --sx: 66.667%; --sy: 0%; }
.bolt-white { --sx: 100%; --sy: 0%; }
.star-pink { --sx: 0%; --sy: 33.333%; }
.star-cyan { --sx: 33.333%; --sy: 33.333%; }
.star-yellow { --sx: 66.667%; --sy: 33.333%; }
.star-white { --sx: 100%; --sy: 33.333%; }
.shard-pink { --sx: 0%; --sy: 66.667%; }
.shard-cyan { --sx: 33.333%; --sy: 66.667%; }
.shard-yellow { --sx: 66.667%; --sy: 66.667%; }
.tape-white { --sx: 100%; --sy: 66.667%; }
.streamer-cyan { --sx: 0%; --sy: 100%; }
.streamer-yellow { --sx: 33.333%; --sy: 100%; }
.confetti-pink { --sx: 66.667%; --sy: 100%; }
.confetti-purple { --sx: 100%; --sy: 100%; }
.bolt-pink {
  --sx: 66.667%;
  --sy: 0%;
  --tone: hue-rotate(285deg) saturate(1.2);
}
.shard-purple {
  --sx: 33.333%;
  --sy: 66.667%;
  --tone: hue-rotate(95deg) saturate(1.15);
}
.star-purple {
  --sx: 33.333%;
  --sy: 33.333%;
  --tone: hue-rotate(95deg) saturate(1.15);
}
.paper-sprite.fleck { opacity: 0.92; }

.hero-shot {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  aspect-ratio: 1848 / 851;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(16px 18px 0 var(--pink));
  transform: rotate(2.8deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 180ms ease-out;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  width: 38%;
  height: 42px;
  z-index: 3;
  background: rgba(246, 237, 72, 0.82);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(13, 13, 13, 0.07) 0 5px,
    transparent 5px 10px
  );
  border: 1px solid rgba(0, 0, 0, 0.22);
  clip-path: polygon(0 7%, 8% 1%, 17% 8%, 27% 2%, 39% 7%, 51% 0, 62% 6%, 74% 2%, 84% 8%, 94% 1%, 100% 7%, 98% 92%, 89% 98%, 79% 91%, 69% 97%, 58% 90%, 47% 98%, 36% 91%, 25% 96%, 14% 90%, 3% 97%);
}

.hero-art::before {
  top: -12px;
  left: 30%;
  transform: rotate(-4deg);
}

.hero-art::after {
  bottom: -19px;
  right: 12%;
  transform: rotate(6deg);
}

.scribble {
  position: absolute;
  z-index: 4;
  right: -16px;
  top: -72px;
  width: 145px;
  height: 145px;
  border: 5px solid var(--teal);
  border-radius: 48% 52% 45% 55%;
  display: grid;
  place-items: center;
  font-family: var(--marker);
  color: var(--teal);
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(13, 13, 13, 0.82);
  transform: rotate(11deg);
  text-align: center;
  line-height: 1.05;
  font-size: 19px;
}

.ticker {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--lemon);
  border-block: 3px solid var(--ink);
  transform: none;
  z-index: 2;
}

.ticker-track {
  width: max-content;
  padding: 10px 0;
  font-weight: 700;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.how {
  padding: 110px 0 90px;
  color: var(--ink);
  background: var(--coral);
}

.section-heading {
  font-size: clamp(56px, 8vw, 112px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 46px 0 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
}

.step {
  min-height: 300px;
  padding: clamp(24px, 4vw, 44px);
  position: relative;
}

.step + .step {
  border-left: 3px solid var(--ink);
}

.step-mark {
  margin: 0 0 54px;
  font-family: var(--display);
  font-size: 82px;
  line-height: 0.75;
}

.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  text-transform: uppercase;
  line-height: 1;
}

.step p {
  margin: 13px 0 0;
  font-size: 13px;
}

.decks {
  padding: 110px 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 57, 113, 0.3), transparent 30%),
    var(--purple);
}

.deck-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 40px;
}

.deck-intro p {
  max-width: 46ch;
  margin: 0 0 8px;
}

.deck-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.deck-card {
  grid-column: span 3;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 23px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(var(--r, 0deg));
}

.deck-card:nth-child(2n) { --r: 1.2deg; background: var(--teal); }
.deck-card:nth-child(3n) { --r: -1.4deg; background: var(--lemon); }
.deck-card:nth-child(4n) { --r: 0.7deg; background: var(--pink); color: var(--white); }
.deck-card.wide { grid-column: span 6; }

.deck-card b {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
}

.deck-card span {
  font-size: 10px;
  text-transform: uppercase;
}

.feature {
  padding: 110px 0;
  color: var(--ink);
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.portrait-shot {
  max-height: 760px;
  margin-inline: auto;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink);
}

.fact-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--ink);
}

.fact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 3px solid var(--ink);
}

.fact-list b {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.final-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--pink);
  color: var(--ink);
}

.final-cta h2 {
  font-size: clamp(72px, 13vw, 180px);
}

.final-cta .store-button {
  margin-top: 34px;
  box-shadow: 7px 7px 0 var(--ink);
}

.footer {
  padding: 30px 0 42px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Concept B: the tilt-test landing page. */
.tilt-page {
  --blue: #1237c7;
  --yellow: #ffd735;
  color: #111;
  background: #f4f0e7;
}

.tilt-page::before { opacity: .04; }
.tilt-page .site-nav { color: #111; }
.tilt-page .store-button { color: #fff; background: var(--blue); }

.tilt-hero {
  min-height: calc(100vh - 78px);
  padding: 50px 0 90px;
  display: grid;
  align-items: center;
}

.tilt-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.tilt-copy h1 {
  max-width: 8ch;
  font-size: clamp(65px, 9.2vw, 132px);
  color: var(--blue);
}

.tilt-copy p {
  max-width: 45ch;
  font-size: 17px;
}

.tilt-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.demo-phone {
  width: min(620px, 100%);
  aspect-ratio: 1.92;
  display: grid;
  grid-template-rows: 62px 1fr 68px;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  border: 12px solid #111;
  border-radius: 52px;
  box-shadow: 20px 22px 0 var(--yellow);
  transform: rotate(-5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 160ms ease-out;
}

.demo-status,
.demo-controls {
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
}

.demo-word {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 106px);
  text-align: center;
  line-height: .9;
}

.demo-controls {
  background: rgba(0,0,0,.14);
}

.demo-controls button {
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.tilt-label {
  position: absolute;
  padding: 10px 14px;
  color: #111;
  background: var(--yellow);
  border: 2px solid #111;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #111;
}

.tilt-label.down { right: -12px; bottom: 62px; transform: rotate(-4deg); }
.tilt-label.up { left: -12px; top: 54px; transform: rotate(5deg); }

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

.split-panel {
  min-height: 620px;
  padding: clamp(42px, 7vw, 94px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-panel:first-child { color: #fff; background: var(--blue); }
.split-panel:last-child { color: #111; background: var(--yellow); }
.split-panel h2 { font-size: clamp(58px, 7vw, 105px); }
.split-panel p { max-width: 36ch; font-size: 17px; }

.proof-strip {
  padding: 110px 0;
  color: #111;
  background: #f4f0e7;
}

.proof-strip h2 { color: var(--blue); }
.proof-image {
  margin-top: 46px;
  border: 4px solid #111;
  border-radius: 25px;
  box-shadow: 14px 14px 0 var(--yellow);
}

/* Concept C: deck-collage landing page. */
.deck-page {
  --cyan: #40d9d0;
  --red: #f24d3d;
  --violet: #3b1978;
  color: #18120f;
  background: var(--cyan);
}

.deck-page::before { opacity: .05; }
.deck-page .site-nav { color: #18120f; }
.deck-page .store-button { background: var(--red); color: #fff; }

.collage-hero {
  min-height: calc(100vh - 78px);
  padding: 30px 0 100px;
  display: grid;
  align-items: center;
  position: relative;
}

.collage-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 50px;
}

.collage-copy h1 {
  max-width: 6ch;
  font-size: clamp(82px, 11vw, 158px);
}

.collage-copy .marker-line {
  display: block;
  margin-top: 18px;
  font-family: var(--marker);
  font-size: clamp(24px, 3vw, 42px);
  color: var(--violet);
  transform: rotate(-3deg);
}

.collage-stack {
  position: relative;
  min-height: 620px;
}

.polaroid {
  position: absolute;
  width: min(610px, 88%);
  padding: 12px 12px 54px;
  background: #fff9e9;
  border: 3px solid #18120f;
  box-shadow: 10px 10px 0 #18120f;
}

.polaroid.one { top: 60px; left: 3%; transform: rotate(-7deg); }
.polaroid.two { top: 220px; right: -4%; transform: rotate(7deg); }
.polaroid figcaption {
  position: absolute;
  bottom: 12px;
  left: 22px;
  font-family: var(--marker);
  font-size: 19px;
}

.burst {
  position: absolute;
  z-index: 3;
  right: 5%;
  top: 0;
  width: 140px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  background: var(--red);
  clip-path: polygon(50% 0,61% 18%,79% 7%,82% 29%,100% 35%,84% 50%,100% 66%,79% 71%,79% 94%,59% 83%,47% 100%,38% 81%,17% 94%,18% 71%,0 62%,17% 48%,0 32%,22% 27%,21% 5%,41% 18%);
  transform: rotate(9deg);
}

.deck-rack {
  padding: 100px 0;
  background: #fff9e9;
  border-block: 4px solid #18120f;
}

.rack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.rack-card {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid #18120f;
  box-shadow: 7px 7px 0 #18120f;
  background: var(--cyan);
}

.rack-card:nth-child(2) { background: var(--red); color: white; transform: translateY(25px); }
.rack-card:nth-child(3) { background: #f0dc35; transform: rotate(-2deg); }
.rack-card:nth-child(4) { background: var(--violet); color: white; transform: translateY(-18px) rotate(2deg); }
.rack-card b { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: .95; text-transform: uppercase; }
.rack-card small { text-transform: uppercase; }

.shout {
  padding: 120px 0;
  color: white;
  background: var(--violet);
  text-align: center;
}

.shout h2 {
  margin-inline: auto;
  max-width: 10ch;
  font-size: clamp(65px, 10vw, 140px);
}

.word-button {
  margin-top: 35px;
  padding: 14px 20px;
  color: #18120f;
  background: var(--cyan);
  border: 3px solid #18120f;
  box-shadow: 5px 5px 0 #18120f;
  font: 700 13px var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}

.mini-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

.mini-page .site-nav { color: var(--ink); }
.mini-main {
  width: min(760px, calc(100vw - 40px));
  margin: 70px auto 120px;
}
.mini-main h1 { font-size: clamp(64px, 10vw, 116px); }
.mini-main h2 { margin-top: 42px; font-family: var(--display); font-size: 32px; font-weight: 400; text-transform: uppercase; }
.mini-main p, .mini-main li { max-width: 68ch; }
.mini-main a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .hero-grid,
  .deck-intro,
  .feature-grid,
  .tilt-grid,
  .collage-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 55px; }
  .hero h1 { max-width: 7ch; }
  .hero-art { margin-top: 38px; }
  .party-burst { opacity: 1; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step + .step { border-left: 0; border-top: 3px solid var(--ink); }
  .deck-card { grid-column: span 6; }
  .feature-grid { display: flex; flex-direction: column-reverse; }
  .portrait-shot { max-height: 600px; }
  .tilt-stage { min-height: 440px; }
  .split-story { grid-template-columns: 1fr; }
  .split-panel { min-height: 520px; }
  .collage-stack { min-height: 570px; }
  .rack-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .site-nav { min-height: 70px; }
  .brand span { display: none; }
  .nav-links > a:not(.store-button) { display: none; }
  .nav-links .store-button { min-height: 42px; padding: 6px 11px; box-shadow: 3px 3px 0 var(--ink); }
  .nav-links .store-button strong { font-size: 12px; }
  .nav-links .apple { font-size: 21px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(65px, 22vw, 98px); }
  .scribble { width: 105px; height: 105px; right: -8px; top: -60px; font-size: 14px; }
  .hero-shot { filter: drop-shadow(8px 10px 0 var(--pink)); }
  .how, .decks, .feature, .proof-strip, .deck-rack, .shout { padding-block: 78px; }
  .section-heading { font-size: 58px; }
  .deck-card, .deck-card.wide { grid-column: span 12; min-height: 150px; }
  .demo-phone { border-width: 7px; border-radius: 28px; grid-template-rows: 42px 1fr 48px; box-shadow: 10px 12px 0 var(--yellow); }
  .demo-status, .demo-controls { padding-inline: 15px; font-size: 8px; }
  .tilt-stage { min-height: 330px; }
  .tilt-label { font-size: 9px; }
  .split-panel { min-height: 430px; }
  .collage-copy h1 { font-size: 88px; }
  .collage-stack { min-height: 420px; }
  .polaroid { padding: 7px 7px 38px; box-shadow: 6px 6px 0 #18120f; }
  .polaroid.two { top: 165px; }
  .polaroid figcaption { bottom: 8px; font-size: 14px; }
  .burst { width: 90px; font-size: 11px; }
  .rack-grid { grid-template-columns: 1fr; }
  .rack-card:nth-child(n) { transform: none; min-height: 210px; }
}

@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-reveal] { opacity: 1; transform: none; }
}
