:root {
  --bg: #f3e9c5;
  --paper: #faf3d4;
  --card: #ffffff;
  --ink: #141414;
  --green: #5cb36a;
  --yellow: #ffd562;
  --red: #d64545;
  --muted: rgba(20, 20, 20, 0.66);
  --soft: rgba(0, 0, 0, 0.10);
  --border: 2.5px solid var(--ink);
  --border-thin: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-soft: 4px 4px 0 var(--soft);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(rgba(20, 20, 20, 0.07) 1.4px, transparent 1.4px),
    var(--bg);
  background-size: 22px 22px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* ============================================================
   SHELL: header + footer
   ============================================================ */

.site-header,
.site-footer,
.hero,
.story,
.closer,
.legal-shell {
  margin-inline: auto;
  max-width: 1180px;
  width: calc(100% - 32px);
}

.site-header {
  align-items: center;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 10px 12px;
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand.small {
  font-size: 18px;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.top-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  flex: 1;
}

.top-nav a {
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
  transition: background 0.15s;
}

.top-nav a:hover {
  background: var(--bg);
}

.header-cta {
  align-items: center;
  background: var(--ink);
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  color: var(--bg);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  padding: 9px 16px;
  transition: transform 0.12s, box-shadow 0.12s;
}

.header-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.site-footer {
  align-items: center;
  border-top: var(--border-thin);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-block: 22px 30px;
  margin-top: 40px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--ink);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  align-items: center;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  gap: 10px;
  padding: 14px 22px;
  transition: transform 0.12s, box-shadow 0.12s;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--paper);
  box-shadow: none;
  transform: none;
}

.btn.big {
  padding: 18px 30px;
  font-size: 17px;
}

.btn-icon {
  display: inline-block;
  width: 18px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM256 84.5c20.4-24.2 18.6-46.2 18-54.5-18.1 1-39 12.3-50.9 26.2-13.1 14.9-20.8 33.3-19.1 54.1 19.6 1.5 37.5-8.6 52-25.8z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM256 84.5c20.4-24.2 18.6-46.2 18-54.5-18.1 1-39 12.3-50.9 26.2-13.1 14.9-20.8 33.3-19.1 54.1 19.6 1.5 37.5-8.6 52-25.8z'/></svg>") center / contain no-repeat;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  padding-block: 50px 80px;
}

.hero-text {
  max-width: 620px;
  min-width: 0;
}

.sticker {
  align-items: center;
  background: var(--yellow);
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  padding: 7px 14px;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero-text h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 26px;
}

.hero-text h1 em {
  background: var(--green);
  border: var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: inline-block;
  font-style: italic;
  margin-top: 8px;
  padding: 0 16px 4px;
  transform: rotate(-1.2deg);
}

.lede {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-meta li {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-meta li::before {
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 12px;
  width: 12px;
}

/* hero art — stacked screenshots */
.hero-art {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  position: relative;
}

.hero-art picture,
.story-shot picture {
  display: contents;
}

.hero-shot {
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: auto;
  max-width: 340px;
  width: 100%;
}

.hero-shot.front {
  position: relative;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero-shot.back {
  max-width: 250px;
  opacity: 0.96;
  position: absolute;
  right: 4%;
  top: 30px;
  transform: rotate(7deg);
  z-index: 1;
}

.doodle {
  align-items: center;
  border: var(--border);
  display: grid;
  font-weight: 900;
  place-items: center;
  position: absolute;
  z-index: 3;
}

.doodle-arrow {
  background: var(--yellow);
  border-radius: 50%;
  bottom: 30px;
  font-size: 28px;
  height: 56px;
  left: 2%;
  box-shadow: var(--shadow);
  transform: rotate(-12deg);
  width: 56px;
}

.doodle-star {
  background: var(--green);
  border-radius: 50%;
  font-size: 20px;
  height: 44px;
  right: 2%;
  top: 10px;
  box-shadow: var(--shadow);
  transform: rotate(15deg);
  width: 44px;
}

/* ============================================================
   STORY ROWS
   ============================================================ */

.story {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding-block: 70px;
}

.story-row {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.story-row.flip .story-shot {
  order: -1;
}

.story-copy {
  max-width: 520px;
}

.step-tag {
  align-items: center;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding: 6px 14px;
  text-transform: uppercase;
}

.step-tag.green {
  background: var(--green);
}

.step-tag.yellow {
  background: var(--yellow);
}

.story-copy h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 16px;
}

.story-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 22px;
}

.bullets {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullets li {
  font-size: 15px;
  font-weight: 700;
  padding-left: 32px;
  position: relative;
}

.bullets li::before {
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: 1px;
  width: 20px;
}

.bullets li::after {
  border-bottom: 2.5px solid var(--ink);
  border-left: 2.5px solid var(--ink);
  content: "";
  height: 5px;
  left: 5px;
  position: absolute;
  top: 7px;
  transform: rotate(-45deg);
  width: 9px;
}

.story-shot {
  display: flex;
  justify-content: center;
  margin: 0;
  position: relative;
}

.story-shot img {
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: auto;
  max-width: 380px;
  width: 100%;
}

.story-shot.tilt-left img {
  transform: rotate(-2deg);
}

.story-shot.tilt-right img {
  transform: rotate(2deg);
}

/* ============================================================
   CLOSER
   ============================================================ */

.closer {
  padding-block: 30px 80px;
}

.closer-card {
  background: var(--ink);
  border: var(--border);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--green);
  color: var(--bg);
  margin-inline: auto;
  max-width: 820px;
  padding: 64px 36px 56px;
  position: relative;
  text-align: center;
}

.closer-sticker {
  background: var(--green);
  color: var(--ink);
  left: 50%;
  margin-bottom: 0;
  position: absolute;
  top: -22px;
  transform: translateX(-50%) rotate(-2deg);
}

.closer-card h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.closer-card p {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 28px;
  opacity: 0.82;
}

.closer-card .btn-light {
  border-color: var(--bg);
}

.closer-foot {
  font-size: 13px;
  font-weight: 700;
  margin: 22px 0 0;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-shell {
  padding-block: 54px 76px;
}

.legal-hero {
  background: var(--yellow);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: 24px;
}

.legal-hero h1 {
  font-size: 58px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.legal-hero p:last-child {
  font-weight: 800;
  margin: 0;
}

.legal-content {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 10px 24px;
}

.legal-content section {
  border-bottom: 2px solid rgba(0, 0, 0, 0.18);
  padding-block: 20px;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--muted);
  font-weight: 700;
}

.legal-content a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .top-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .hero {
    gap: 40px;
    grid-template-columns: 1fr;
    padding-block: 30px 50px;
  }

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

  .hero-shot {
    max-width: 300px;
  }

  .hero-shot.back {
    max-width: 220px;
  }

  .story {
    gap: 80px;
    padding-block: 50px;
  }

  .story-row,
  .story-row.flip {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .story-row.flip .story-shot {
    order: 0;
  }
}

@media (max-width: 680px) {
  body {
    background-size: 18px 18px;
  }

  .site-header,
  .site-footer,
  .hero,
  .story,
  .closer,
  .legal-shell {
    width: calc(100% - 20px);
  }

  .site-header {
    margin-top: 10px;
    position: static;
  }

  .header-cta {
    font-size: 13px;
    padding: 8px 12px;
  }

  .top-nav a {
    font-size: 13px;
    padding: 7px 9px;
  }

  .hero {
    padding-block: 24px 40px;
  }

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

  .hero-shot {
    max-width: 240px;
  }

  .hero-shot.back {
    max-width: 180px;
    right: 8%;
    top: 14px;
  }

  .doodle-arrow {
    bottom: 14px;
    font-size: 22px;
    height: 46px;
    left: 4%;
    width: 46px;
  }

  .doodle-star {
    height: 36px;
    font-size: 16px;
    width: 36px;
  }

  .lede {
    font-size: 17px;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .story {
    gap: 60px;
  }

  .story-shot img {
    max-width: 280px;
  }

  .closer-card {
    padding: 54px 22px 40px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-content {
    padding-inline: 16px;
  }
}
