/* =========================================================================
   Quakpit — landing page
   Art direction: hand-made "school notebook" (cahier d'écolier) — cream
   graph paper, felt-tip colours, wobbly hand-drawn boxes, tape & post-its.
   100% static. Fonts are self-hosted (no CDN). No analytics.
   ========================================================================= */

/* ---- Self-hosted handwriting fonts (SIL OFL, see fonts/OFL.txt) ---- */
@font-face {
  font-family: "Caveat";
  src: url("./fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand";
  src: url("./fonts/patrickhand-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paper */
  --paper: #fbf6e9;
  --paper-2: #f5eed9; /* alt bands */
  --paper-card: #fffdf6; /* white-ish cards / stickers */
  --grid: rgba(40, 70, 110, 0.07);
  --grid-strong: rgba(40, 70, 110, 0.12);

  /* ink + felt-tips */
  --ink: #20262f;
  --ink-soft: #5d6675;
  --yellow: #ffd34d; /* the Quakpit brand colour, now a highlighter */
  --yellow-deep: #f4b400;
  --blue: #2b4cff;
  --red: #e23b3b;
  --green: #15a06a;
  --purple: #8b5cf6;
  --pink: #ff7eb6;
  --sky: #cdeafc; /* crayon sky */

  /* fonts */
  --font-hand: "Caveat", "Comic Sans MS", "Bradley Hand", cursive; /* big titles */
  --font-note: "Patrick Hand", "Comic Sans MS", "Bradley Hand", cursive; /* labels */
  --font-body: "Nunito", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    -apple-system, system-ui, "Segoe UI", sans-serif;

  /* hand-drawn box radius (the wobble trick) */
  --wobble-a: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobble-b: 15px 225px 15px 255px / 255px 15px 225px 15px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background-color: var(--paper);
  /* graph-paper grid */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
}
/* notebook red margin line (wide screens only) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 64px;
  width: 2px;
  background: rgba(226, 59, 59, 0.35);
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  body::before {
    display: none;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-hand);
  line-height: 1.02;
  font-weight: 700;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.defs {
  position: absolute;
}

/* eyebrow label above section titles (handwritten note) */
.eyebrow {
  font-family: var(--font-note);
  color: var(--blue);
  font-size: 18px;
  letter-spacing: 0.5px;
  transform: rotate(-1.5deg);
  display: inline-block;
  margin-bottom: 4px;
}

/* highlighter marker behind a word */
.hl {
  background: linear-gradient(120deg, rgba(255, 211, 77, 0.85), rgba(255, 211, 77, 0.7));
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.12em;
  border-radius: 4px;
}
.ink-blue {
  color: var(--blue);
}
.ink-red {
  color: var(--red);
}

/* ---- Icons (OpenMoji, self-hosted) ---- */
.ic {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.25em;
  display: inline-block;
  margin: 0 0.08em;
}
.ic-lg {
  width: 46px;
  height: 46px;
  display: inline-block;
  margin: 0 4px;
}
.card-ic {
  width: 44px;
  height: 44px;
  display: block;
  margin-bottom: 8px;
}
.cmp-ic {
  width: 54px;
  height: 54px;
  display: inline-block;
}
.lock-ic {
  width: 50px;
  height: 50px;
  display: inline-block;
}
.chip-ic {
  width: 24px;
  height: 24px;
  display: block;
}
.brand-ic {
  width: 30px;
  height: 30px;
  vertical-align: -0.34em;
}

/* hand-drawn wavy underline (svg) used under titles */
.scribble-underline {
  position: relative;
  display: inline-block;
}
.scribble-underline::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -0.32em;
  height: 0.32em;
  background: no-repeat center/100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' viewBox='0 0 240 14'%3E%3Cpath d='M2 8 C 40 2, 70 12, 110 6 S 190 2, 238 8' fill='none' stroke='%23e23b3b' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- hand-drawn box (wobble trick) ---- */
.doodle {
  background: var(--paper-card);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-a);
  box-shadow: 3px 4px 0 rgba(32, 38, 47, 0.16);
}
.doodle:nth-child(even) {
  border-radius: var(--wobble-b);
}

/* washi tape strips (decorative) */
.tape {
  position: relative;
}
.tape::before,
.tape::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 24px;
  background: rgba(255, 211, 77, 0.6);
  border-left: 1px dashed rgba(0, 0, 0, 0.12);
  border-right: 1px dashed rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  z-index: 4;
}
.tape::before {
  top: -12px;
  left: 18px;
  transform: rotate(-6deg);
}
.tape::after {
  top: -12px;
  right: 18px;
  transform: rotate(5deg);
  background: rgba(43, 76, 255, 0.18);
}

/* post-it note */
.postit {
  font-family: var(--font-note);
  background: #fff3a8;
  color: #4a3b00;
  padding: 10px 14px;
  border-radius: 3px;
  box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.18);
  transform: rotate(-2.5deg);
  font-size: 16px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(251, 246, 233, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 2.5px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 30px;
  transform: rotate(-2deg);
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 2px solid var(--ink);
  box-shadow: 1px 2px 0 rgba(32, 38, 47, 0.2);
}
.foot-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  vertical-align: -0.35em;
}
.nav nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav nav a {
  font-family: var(--font-note);
  color: var(--ink);
  font-size: 18px;
}
.nav nav a:not(.nav-cta):hover {
  color: var(--blue);
}
.nav-cta {
  position: relative;
  background: var(--yellow);
  color: var(--ink) !important;
  padding: 7px 16px;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-a);
  font-weight: 700;
}
.nav-cta:hover {
  transform: rotate(-1.5deg);
}

/* ---- Layout bands ---- */
.band {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 78px 24px;
}
.band.alt {
  background: var(--paper-2);
  max-width: none;
  border-top: 2.5px dashed rgba(32, 38, 47, 0.25);
  border-bottom: 2.5px dashed rgba(32, 38, 47, 0.25);
}
.band.alt > * {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.band h2 {
  font-size: clamp(34px, 6vw, 54px);
  text-align: center;
  margin: 0 0 10px;
}
.band .lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 18px;
}
.center {
  text-align: center;
}

/* ---- Hero (flight scene framed & taped into the notebook, copy below) ---- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 24px 44px;
}
.sky-wrap {
  position: relative;
}
/* the flight scene = a drawing framed into the notebook */
.sky {
  position: relative;
  height: 320px;
  border: 3px solid var(--ink);
  border-radius: var(--wobble-b);
  background: linear-gradient(180deg, #e9f6ff, var(--sky));
  overflow: hidden;
  box-shadow: 4px 6px 0 rgba(32, 38, 47, 0.14);
}
.sun {
  position: absolute;
  top: 18px;
  right: 30px;
  width: 60px;
  height: 60px;
  z-index: 1;
}
.cloud {
  position: absolute;
  width: 120px;
  height: 40px;
  z-index: 1;
}
.c1 {
  top: 13%;
  animation: drift 36s linear infinite;
}
.c2 {
  top: 64%;
  width: 92px;
  animation: drift 46s linear infinite;
  animation-delay: -16s;
}
.c3 {
  top: 40%;
  width: 152px;
  animation: drift 60s linear infinite;
  animation-delay: -30s;
}
@keyframes drift {
  from {
    transform: translateX(-180px);
  }
  to {
    transform: translateX(105vw);
  }
}

/* Flying rig (shared by hero + playground) */
.flyer {
  position: absolute;
  top: 20%;
  left: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transform: translateX(-130%);
  z-index: 2;
}
/* Hero planes: each loops across the sky with its own speed/phase (set inline). */
.flyer.hero-plane {
  animation: fly var(--dur, 16s) linear var(--delay, 0s) infinite;
}
.flyer.hero-plane.parked {
  animation: none;
}
.flyer.flying {
  animation: fly var(--fly-duration, 6s) linear 1;
}
@keyframes fly {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(110vw);
  }
}
.aircraft,
.banner,
.rope {
  animation: bob 1.7s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
.banner {
  order: 1;
  --stripe-a: #ffffff;
  --stripe-b: #ffe24d;
  --banner-ink: #1a1a1a;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  background: repeating-linear-gradient(-8deg, var(--stripe-a) 0 18px, var(--stripe-b) 18px 36px);
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transform: skewX(-7deg);
  filter: url(#banner-wave);
}
.banner span {
  display: inline-block;
  transform: skewX(7deg);
  font-weight: 800;
  font-size: 22px;
  color: var(--banner-ink);
  font-family: var(--banner-font, var(--font-body));
}
.rope {
  order: 2;
  position: relative;
  z-index: 1;
  width: 56px;
  height: 3px;
  background: rgba(35, 35, 35, 0.78);
  transform: translateY(-8px);
  margin-right: -16px;
}
.aircraft {
  order: 3;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3));
}
.aircraft img {
  display: block;
  width: 130px;
  height: auto;
}
/* coloured plane (base) + character head + spinning prop, stacked & aligned */
.aircraft .plane {
  position: relative;
  z-index: 1;
}
.aircraft .head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.aircraft .prop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  transform-origin: 94.5% 56.2%;
  animation: spin 0.3s linear infinite;
}
/* custom uploaded plane (playground) replaces the composed plane */
.aircraft .custom {
  display: none;
  position: relative;
  z-index: 1;
  width: auto;
  height: 120px;
  max-width: 200px;
}
@keyframes spin {
  from {
    transform: perspective(200px) rotateX(0deg);
  }
  to {
    transform: perspective(200px) rotateX(360deg);
  }
}
.emoji-flier {
  display: none;
  line-height: 1;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.25));
}
.emoji-flier img {
  height: 86px;
  width: auto;
  max-width: 200px;
  display: block;
}

.hero-copy {
  max-width: 760px;
  margin: 30px auto 0;
  text-align: center;
}
.hero-copy h1 {
  font-size: clamp(44px, 9vw, 84px);
  margin: 0 0 8px;
}
.sub {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 600px;
  margin: 0 auto 26px;
}

/* ---- Download buttons ---- */
.downloads-wrap {
  position: relative;
  display: inline-block;
}
.downloads {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* scribbled arrow that points at the main button */
.dl-arrow {
  position: absolute;
  left: -86px;
  top: 2px;
  width: 80px;
  height: 70px;
  transform: rotate(-6deg);
}
@media (max-width: 720px) {
  .dl-arrow {
    display: none;
  }
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--wobble-a);
  background: var(--paper-card);
  border: 2.5px solid var(--ink);
  min-width: 232px;
  box-shadow: 3px 4px 0 rgba(32, 38, 47, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.btn:hover {
  transform: translate(-1px, -2px) rotate(-0.6deg);
  box-shadow: 5px 7px 0 rgba(32, 38, 47, 0.2);
}
.btn:active {
  transform: translate(1px, 2px);
  box-shadow: 1px 2px 0 rgba(32, 38, 47, 0.2);
}
.btn .lbl {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn .lbl b {
  font-size: 16px;
  font-weight: 800;
}
.btn .lbl small {
  color: var(--ink-soft);
  font-size: 12.5px;
}
.btn .ico {
  width: 26px;
  height: 26px;
  flex: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#dl-mac .ico {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2320262f'%3E%3Cpath d='M16.4 12.9c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.1-2.8.8-3.5.8s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .7 1.1 1.6 2.3 2.7 2.2 1.1 0 1.5-.7 2.8-.7s1.7.7 2.8.7c1.2 0 1.9-1.1 2.6-2.2.8-1.2 1.2-2.4 1.2-2.5-.1 0-2.3-.9-2.3-3.5zM14.2 6.3c.6-.7 1-1.7.9-2.7-.9 0-2 .6-2.6 1.3-.5.6-1 1.6-.9 2.6 1 .1 2-.5 2.6-1.2z'/%3E%3C/svg%3E");
}
#dl-win .ico {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2320262f'%3E%3Cpath d='M3 5.6 10.4 4.6v7.0H3zM10.4 12.4v7.0L3 18.4v-6zM11.4 4.4 21 3v8.6h-9.6zM21 12.4V21l-9.6-1.4v-7.2z'/%3E%3C/svg%3E");
}
.btn.primary {
  background: var(--yellow);
  border-color: var(--ink);
}
.btn.primary .lbl small {
  color: rgba(0, 0, 0, 0.55);
}
/* keep the icon dark on the yellow button too */
.dl-note {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 18px;
  font-family: var(--font-note);
}
.dl-note a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-style: wavy;
}
.dl-soon {
  font-family: var(--font-note);
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 6px 0 0;
  transform: rotate(-1deg);
}
.os-line {
  font-family: var(--font-note);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.os-line a {
  color: var(--blue);
}

/* ---- How it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 26px 22px 22px;
}
.step .n {
  position: absolute;
  top: -22px;
  left: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-hand);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 3px 0 rgba(32, 38, 47, 0.18);
}
.step h3 {
  font-size: 26px;
  margin: 12px 0 6px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---- Comparison ---- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 880px;
  margin: 0 auto;
}
.compare .vs {
  align-self: center;
  font-family: var(--font-hand);
  font-size: 40px;
  color: var(--ink-soft);
  transform: rotate(-8deg);
}
.cmp {
  padding: 24px 22px;
  text-align: center;
}
.cmp .cmp-emoji {
  font-size: 40px;
}
.cmp h3 {
  font-size: 26px;
  margin: 8px 0 8px;
}
.cmp p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.cmp.bad {
  transform: rotate(-1deg);
}
.cmp.bad h3 {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
}
.cmp.good {
  transform: rotate(1deg);
  border-color: var(--green);
}
.cmp.good h3 {
  color: var(--green);
}
@media (max-width: 720px) {
  .compare {
    grid-template-columns: 1fr;
  }
  .compare .vs {
    transform: rotate(0);
  }
}

/* ---- Playground ---- */
.pg {
  max-width: 920px;
  margin: 0 auto;
}
.pg-sky {
  position: relative;
  height: 230px;
  border: 3px solid var(--ink);
  border-radius: var(--wobble-a);
  background: linear-gradient(180deg, #eef9ff, var(--sky));
  overflow: hidden;
  box-shadow: 4px 6px 0 rgba(32, 38, 47, 0.14);
}
.pg-sky .hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-note);
  color: rgba(32, 38, 47, 0.5);
  font-size: 19px;
  pointer-events: none;
}
.pg-controls {
  margin-top: 26px;
  display: grid;
  gap: 22px;
}
.pg-row {
  display: grid;
  gap: 10px;
}
.pg-row > .label {
  font-family: var(--font-note);
  font-size: 19px;
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--paper-card);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-a);
  font-family: var(--font-note);
  font-size: 17px;
  cursor: pointer;
  box-shadow: 2px 3px 0 rgba(32, 38, 47, 0.14);
  transition: transform 0.1s ease;
}
.chip:nth-child(even) {
  border-radius: var(--wobble-b);
}
.chip:hover {
  transform: translateY(-2px) rotate(-1deg);
}
.chip[aria-pressed="true"] {
  background: var(--yellow);
  transform: rotate(-1.5deg);
}
.chip .glyph {
  font-size: 22px;
}
.chip .swatch {
  width: 30px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
}
.chip .pro {
  font-family: var(--font-note);
  font-size: 11px;
  font-weight: 700;
  color: #4a3b00;
  background: #fff3a8;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0 5px;
  border-radius: 3px;
  transform: rotate(3deg);
}
/* TEMPORARY: upload-your-own-flier chip */
.upload-chip {
  border-style: dashed;
  cursor: pointer;
}
.upload-chip .up-ic {
  width: 20px;
  height: 20px;
  display: block;
}
.upload-chip .up-thumb {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: none;
}
.pg-msg {
  width: 100%;
  max-width: 440px;
  padding: 10px 14px;
  font-family: var(--font-note);
  font-size: 18px;
  color: var(--ink);
  background: var(--paper-card);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-b);
}
.pg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-note);
  font-size: 17px;
  cursor: pointer;
}
.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.btn.launch {
  background: var(--green);
  color: #fff;
  border-color: var(--ink);
  min-width: 0;
}
.btn.launch .lbl b {
  color: #fff;
}
.btn.ghost {
  min-width: 0;
}
.pg-note {
  font-family: var(--font-note);
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 6px;
}
.pg-note a {
  color: var(--blue);
  text-decoration: underline wavy;
}

/* ---- Features grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  padding: 22px;
}
.card .emoji {
  font-size: 34px;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 24px;
  margin: 0 0 6px;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---- Pricing ---- */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}
.tier {
  position: relative;
  padding: 28px 26px;
}
.tier h3 {
  font-size: 28px;
  margin: 0;
}
.tier .price {
  font-family: var(--font-hand);
  font-size: 52px;
  font-weight: 700;
  margin: 2px 0 14px;
}
.tier .price span {
  font-family: var(--font-note);
  font-size: 17px;
  color: var(--ink-soft);
}
.tier ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  font-size: 15.5px;
}
.tier .btn {
  width: 100%;
  justify-content: center;
  min-width: 0;
}
.tier.featured {
  border-color: var(--ink);
  transform: rotate(-1deg);
}
.ribbon {
  position: absolute;
  top: -14px;
  right: 18px;
  font-family: var(--font-note);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  transform: rotate(4deg);
}
.tier-note {
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-note);
  font-size: 14px;
  margin: 12px 0 0;
}

/* ---- Privacy ---- */
.privacy {
  text-align: center;
  max-width: 760px;
}
.privacy .lock {
  font-size: 46px;
}
.privacy p {
  color: var(--ink-soft);
  font-size: 18px;
}
.privacy b {
  color: var(--ink);
}

/* ---- FAQ ---- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq details {
  padding: 4px 20px;
}
.faq summary {
  font-family: var(--font-hand);
  font-size: 24px;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-hand);
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---- Footer ---- */
.foot {
  position: relative;
  z-index: 1;
  border-top: 2.5px dashed rgba(32, 38, 47, 0.3);
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-soft);
  font-family: var(--font-note);
  font-size: 16px;
}
.foot .links {
  display: flex;
  gap: 18px;
}
.foot a:hover {
  color: var(--blue);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px) rotate(-0.5deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nav nav a:not(.nav-cta) {
    display: none;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .tiers {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 460px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ---- About Ooble Studio ---- */
.studio {
  text-align: center;
}
.studio-card {
  max-width: 660px;
  margin: 28px auto 0;
  padding: 30px 34px;
  text-align: center;
}
.studio-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.studio-quote {
  font-family: var(--font-hand);
  font-size: 27px;
  color: var(--blue);
  margin: 20px 0 0;
  transform: rotate(-1.2deg);
}
.studio-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---- Respect reduced motion: stop the auto-animations ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .flyer.hero-plane,
  .cloud,
  .aircraft,
  .banner,
  .rope,
  .aircraft .prop {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
