:root {
  --paper: #f4ead5;
  --paper-light: #fffaf0;
  --ink: #2c2825;
  --muted: #6f665f;
  --red: #d9534f;
  --blue: rgba(91, 192, 222, 0.48);
  --blue-solid: #5bc0de;
  --shadow: rgba(44, 40, 37, 0.18);
  --line: rgba(44, 40, 37, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Comic Sans MS", "Marker Felt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(217, 83, 79, 0.08), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(91, 192, 222, 0.12), transparent 30%),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

a {
  color: inherit;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 3px solid var(--ink);
  border-radius: 18px 16px 19px 15px;
  background: var(--paper-light);
  box-shadow: 4px 5px 0 var(--shadow);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px 820px 920px 760px;
  background: rgba(255, 250, 240, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 3px 4px 0 var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: center;
  padding: 58px 0 72px;
}

.hero > div {
  position: relative;
  z-index: 1;
}

.tape {
  position: absolute;
  width: 130px;
  height: 32px;
  border: 2px dashed rgba(44, 40, 37, 0.24);
  background: var(--blue);
  transform: rotate(-8deg);
}

.tape-one {
  top: 34px;
  left: -12px;
}

.tape-two {
  right: 34px;
  bottom: 42px;
  background: rgba(217, 83, 79, 0.16);
  transform: rotate(7deg);
}

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 9px 11px 8px 12px;
  background: var(--paper-light);
  font-size: 14px;
  font-weight: 900;
  color: var(--red);
  box-shadow: 3px 4px 0 var(--shadow);
}

h1 {
  margin: 18px 0 18px;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 750;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 16px 10px 13px;
  border: 3px solid var(--ink);
  border-radius: 12px 10px 14px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 46%),
    var(--red);
  color: #fff;
  text-decoration: none;
  box-shadow: 5px 6px 0 var(--shadow);
  transform: rotate(-1deg);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-badge[hidden] {
  display: none;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 6px 8px 0 var(--shadow);
}

.store-badge:active {
  transform: translateY(1px) rotate(-1deg);
  box-shadow: 3px 4px 0 var(--shadow);
}

.store-badge-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 0 rgba(44, 40, 37, 0.22));
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.store-badge-kicker {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.store-badge-name {
  margin-top: 3px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.hero-card {
  position: relative;
  min-height: 430px;
  border: 3px solid var(--ink);
  border-radius: 28px 22px 30px 24px;
  background:
    radial-gradient(circle at 24% 18%, rgba(217, 83, 79, 0.10), transparent 24%),
    radial-gradient(circle at 78% 26%, rgba(91, 192, 222, 0.16), transparent 28%),
    rgba(255, 250, 240, 0.78);
  box-shadow: 10px 12px 0 var(--shadow);
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  height: 34px;
  border: 2px dashed rgba(44, 40, 37, 0.23);
  background: rgba(91, 192, 222, 0.34);
}

.hero-card::before {
  top: 28px;
  left: -18px;
  width: 128px;
  transform: rotate(-10deg);
}

.hero-card::after {
  right: -22px;
  bottom: 34px;
  width: 140px;
  background: rgba(217, 83, 79, 0.16);
  transform: rotate(8deg);
}

.note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 38px;
  padding: 6px 12px;
  border: 3px solid var(--ink);
  border-radius: 12px 10px 13px 11px;
  background: var(--paper-light);
  color: var(--red);
  font-weight: 950;
  box-shadow: 4px 5px 0 var(--shadow);
}

.note-one {
  top: 84px;
  left: 40px;
  transform: rotate(-8deg);
}

.note-two {
  top: 58px;
  right: 54px;
  transform: rotate(7deg);
}

.note-three {
  right: 42px;
  bottom: 96px;
  transform: rotate(-5deg);
}

.flying-cat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  height: 178px;
  margin: -94px 0 0 -89px;
  animation: float 2.2s ease-in-out infinite;
  z-index: 2;
}

.mascot-shadow {
  position: absolute;
  left: 50%;
  top: calc(50% + 92px);
  width: 132px;
  height: 16px;
  margin-left: -66px;
  border-radius: 50%;
  background: rgba(44, 40, 37, 0.14);
  filter: blur(1px);
}

.section {
  padding: 54px 0;
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
}

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

.note-card {
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 16px 13px 18px 14px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 5px 6px 0 var(--shadow);
}

.note-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.note-card p {
  color: var(--muted);
  font-weight: 700;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  margin-left: 12px;
}

.policy-page {
  max-width: 820px;
  padding: 42px 0 64px;
}

.policy-updated {
  margin: -10px 0 28px;
  color: var(--muted);
  font-weight: 800;
}

.policy-section {
  padding: 24px 0;
  border-top: 1px solid rgba(44, 40, 37, 0.22);
}

.policy-section h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.policy-section p,
.policy-section li {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.policy-section a {
  color: var(--ink);
  font-weight: 800;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero > .tape {
    display: none;
  }

  .hero-card {
    min-height: 360px;
  }

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

  .flying-cat {
    width: 150px;
    height: 150px;
    margin: -80px 0 0 -75px;
  }

  .note-one {
    left: 28px;
  }

  .note-two {
    right: 34px;
  }

  .note-three {
    right: 28px;
    bottom: 72px;
  }
}
