/* HandWave — paper, ink and stickers. */

:root {
  --paper: #FFF6E9;
  --paper-2: #FFECD2;
  --white: #FFFFFF;
  --ink: #17130F;
  --ink-2: #3D352D;
  --muted: #6E6356;
  --orange: #FF6A3D;
  --yellow: #FFD449;
  --blue: #7CC8FF;
  --mint: #6BDDA4;
  --pink: #FFA9CB;
  --lilac: #CBB8FF;

  --line: 2.5px solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
  --radius: 20px;

  --display: "Bricolage Grotesque", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wave-cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='2' y='26' font-size='24'>👋</text></svg>") 6 6, pointer;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--paper);
  /* Subtle dot grid, like a notebook. */
  background-image: radial-gradient(rgba(23, 19, 15, 0.09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
b, strong { font-weight: 700; }
::selection { background: var(--yellow); color: var(--ink); }
.bg { display: none; }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); }
h1 { font-size: clamp(52px, 7.6vw, 100px); font-weight: 800; line-height: 0.94; letter-spacing: -0.045em; }
h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }

/* Highlighter-marker emphasis. */
.hl, .grad { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.hl::before, .grad::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.12em; right: -0.12em; top: 0.48em; bottom: 0.02em;
  background: var(--yellow); border-radius: 0.18em;
  transform: rotate(-1.2deg) skewX(-6deg);
}
h2 .hl { white-space: normal; display: inline; background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 94%, transparent 94%); padding: 0 0.08em; }
h2 .hl::before { display: none; }

.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 540px; margin: 28px 0 32px; }
.fine { font-size: 13.5px; color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 5px 14px;
  font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--white); border: var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
}

/* ---------- Buttons ---------- */

.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 14px;
  font: 700 16px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--white); border: var(--line); box-shadow: var(--shadow-sm);
  cursor: var(--wave-cursor);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--orange); }
.btn-light { background: var(--white); }
.btn-ghost { background: var(--white); }
.btn-lg { --h: 58px; padding: 0 28px; font-size: 18px; border-radius: 16px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.wave-on-hover { display: inline-block; transform-origin: 70% 80%; }
.btn:hover .wave-on-hover { animation: wave 0.9s ease; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 14px; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: 1160px; margin: 14px auto 0; padding: 9px 10px 9px 14px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px var(--display); letter-spacing: -0.03em; text-decoration: none; }
.logo {
  display: inline-grid; place-items: center; width: 34px; height: 34px; font-size: 19px;
  background: var(--orange); border: var(--line); border-radius: 10px; transform: rotate(-6deg);
  transition: transform 0.3s;
}
.logo.sm { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; border-width: 2px; }
.brand:hover .logo { animation: wave 0.9s ease; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { padding: 6px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; transition: background 0.2s; }
.links a:hover { background: var(--paper-2); color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  max-width: 1160px; margin: 0 auto; padding: 84px 24px 70px;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 14px 7px 12px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 700;
  background: var(--mint); border: var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}
.pill:hover { transform: rotate(-1.5deg) scale(1.02); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.hero-visual { position: relative; padding: 20px 10px 40px; }
.mac {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--white); border: var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg); transition: transform 0.5s cubic-bezier(.2,.9,.3,1.3);
}
.hero-visual:hover .mac { transform: rotate(0deg) scale(1.01); }
.titlebar { display: flex; gap: 7px; padding: 10px 12px; border-bottom: var(--line); background: var(--paper); }
.titlebar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.titlebar i:nth-child(1) { background: #FF6159; }
.titlebar i:nth-child(2) { background: #FFC130; }
.titlebar i:nth-child(3) { background: #2ACB42; }
.menubar {
  display: flex; gap: 16px; align-items: center; height: 30px; padding: 0 14px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); border-bottom: 1.5px solid rgba(23,19,15,.12);
}
.mb-app { font-weight: 700; color: var(--ink); }
.mb-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.mb-hand { display: inline-grid; place-items: center; width: 22px; height: 18px; border-radius: 5px; background: var(--mint); font-size: 11px; }
.mb-hand.wave { animation: wave 0.6s ease; }
.screen {
  position: relative; aspect-ratio: 16 / 10.5; padding: 28px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
}
.player {
  width: 88%; display: flex; gap: 18px; align-items: center; padding: 16px;
  background: var(--white); border: var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.art { width: 92px; height: 92px; flex: none; border-radius: 12px; border: var(--line); background: var(--orange); transition: background 0.4s; }
.meta { flex: 1; min-width: 0; }
.track { font: 800 19px var(--display); letter-spacing: -0.02em; }
.artist { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.bar { height: 10px; border-radius: 9px; background: var(--paper-2); border: 2px solid var(--ink); overflow: hidden; }
.bar span { display: block; height: 100%; width: 30%; background: var(--orange); transition: width 0.4s linear; }
.hud {
  position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 14px) rotate(-2deg) scale(0.9); opacity: 0;
  display: flex; gap: 12px; align-items: center; padding: 10px 18px 10px 12px; border-radius: 16px;
  background: var(--yellow); border: var(--line); box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(.2,.9,.3,1.4); white-space: nowrap;
}
.hud.show { opacity: 1; transform: translate(-50%, 0) rotate(-2deg) scale(1); }
.hud-emoji { font-size: 28px; }
.hud b { display: block; font: 800 16px var(--display); }
.hud small { display: block; color: var(--ink-2); font-size: 12px; }

.sticker {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 74px; height: 74px; font-size: 38px; border-radius: 50%;
  border: var(--line); box-shadow: var(--shadow-sm); cursor: grab; user-select: none;
  animation: bob 4s ease-in-out infinite;
}
.sticker:hover { animation: wiggle 0.5s ease; }
.st-1 { top: -14px; left: -18px; background: var(--yellow); }
.st-2 { bottom: 20px; left: -30px; background: var(--pink); animation-delay: -1.3s; width: 64px; height: 64px; font-size: 32px; }
.st-3 { top: 36%; right: -26px; background: var(--mint); animation-delay: -2.6s; width: 60px; height: 60px; font-size: 30px; }
.doodle { position: absolute; z-index: 2; top: -30px; right: 60px; width: 110px; color: var(--ink); transform: rotate(8deg); }
.floating-hand {
  position: absolute; z-index: 3; right: -6px; bottom: -6px; display: grid; place-items: center;
  width: 110px; height: 110px; font-size: 62px; border-radius: 50%;
  background: var(--orange); border: var(--line); box-shadow: var(--shadow);
  animation: bob 3s ease-in-out infinite;
}
.floating-hand.swipe-right { animation: swipeR 0.7s ease; }
.floating-hand.swipe-left { animation: swipeL 0.7s ease; }
.floating-hand.pulse { animation: pulse 0.6s ease; }

@keyframes bob { 50% { transform: translateY(-10px) rotate(-5deg); } }
@keyframes wiggle { 25% { transform: rotate(-14deg) scale(1.08); } 75% { transform: rotate(12deg) scale(1.08); } }
@keyframes wave { 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(8deg); } }
@keyframes swipeR { 0% { transform: translateX(-70px) rotate(-10deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes swipeL { 0% { transform: translateX(50px) rotate(10deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes pulse { 50% { transform: scale(1.15) rotate(-6deg); } }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden; margin: 30px -10px 0; padding: 16px 0;
  background: var(--orange); border-block: var(--line); transform: rotate(-1.5deg);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { font: 800 22px var(--display); letter-spacing: -0.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { max-width: 1160px; margin: 0 auto; padding: 128px 24px 0; }
.section.narrow { max-width: 800px; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head p { color: var(--ink-2); font-size: 19px; margin: 22px auto 0; max-width: 620px; }

.grid { display: grid; gap: 18px; }
.card {
  background: var(--white); border: var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }

/* Gestures */
.gestures { grid-template-columns: repeat(5, 1fr); }
.g .e {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px;
  font-size: 34px; border: var(--line); border-radius: 50%; transition: transform 0.3s;
}
.g:hover .e { animation: wiggle 0.5s ease; }
.g:nth-child(5n+1) .e { background: var(--yellow); }
.g:nth-child(5n+2) .e { background: var(--blue); }
.g:nth-child(5n+3) .e { background: var(--pink); }
.g:nth-child(5n+4) .e { background: var(--mint); }
.g:nth-child(5n+5) .e { background: var(--lilac); }
.g p { color: var(--ink-2); font-size: 15px; margin: 6px 0 16px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }

/* Modes */
.modes { grid-template-columns: repeat(6, 1fr); }
.mode { grid-column: span 2; position: relative; padding-top: 28px; }
.mode:nth-child(4), .mode:nth-child(5) { grid-column: span 3; }
.mode-icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px;
  font-size: 32px; border: var(--line); border-radius: 18px; transform: rotate(-5deg);
}
.m-media .mode-icon { background: var(--yellow); }
.m-present .mode-icon { background: var(--blue); }
.m-hands .mode-icon { background: var(--mint); }
.m-cursor .mode-icon { background: var(--pink); }
.m-custom .mode-icon { background: var(--lilac); }
.m-cursor { background: var(--yellow); }
.mode p { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 0; }
.new {
  display: inline-block; margin-left: 6px; padding: 3px 9px; vertical-align: 3px;
  font: 800 12px var(--display); background: var(--orange); border: 2px solid var(--ink); border-radius: 999px;
  transform: rotate(6deg);
}

/* ---------- Demo ---------- */

.demo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.demo-cam {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--ink); border: var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.demo-cam video, .demo-cam canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.demo-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background-color: var(--pink);
  background-image: radial-gradient(rgba(255,255,255,.45) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  transition: opacity 0.4s;
}
.demo-overlay.hidden { opacity: 0; pointer-events: none; }
.demo-start { background: var(--white); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 32px; max-width: 380px; }
.demo-start h3 { font-size: 28px; margin: 8px 0 8px; }
.demo-start p { color: var(--ink-2); margin: 0 0 20px; }
.big-emoji { font-size: 70px; animation: wave 2.2s ease-in-out infinite; display: inline-block; transform-origin: 70% 80%; }
.demo-gesture {
  position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--yellow); border: var(--line); opacity: 0; transition: opacity 0.2s;
}
.demo-gesture.on { opacity: 1; }
.demo-gesture i { display: inline-block; height: 8px; width: 64px; margin-left: 10px; vertical-align: middle; border-radius: 6px; border: 2px solid var(--ink); background: var(--white); overflow: hidden; position: relative; }
.demo-gesture i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--orange); }
.demo-side { display: flex; flex-direction: column; gap: 18px; }
.demo-player {
  position: relative; display: flex; gap: 16px; align-items: center; padding: 16px; overflow: hidden;
  background: var(--white); border: var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.demo-player .art { width: 80px; height: 80px; }
.controls { display: flex; gap: 14px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.controls [data-demo-like].liked { color: var(--orange); font-weight: 800; }
.demo-hud {
  position: absolute; right: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800;
  background: var(--yellow); border: 2px solid var(--ink); opacity: 0; transform: translateY(-8px) rotate(3deg); transition: all 0.3s;
}
.demo-hud.show { opacity: 1; transform: rotate(3deg); }
.flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }
.flash.go { animation: flash 0.5s ease; }
@keyframes flash { 10% { opacity: 0.95; } 100% { opacity: 0; } }
.checklist { list-style: none; margin: 0; padding: 8px; background: var(--white); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; color: var(--ink-2); font-weight: 500; transition: background 0.3s; }
.checklist li span { font-size: 22px; width: 30px; text-align: center; }
.checklist li em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.checklist li.done { background: var(--mint); color: var(--ink); }
.checklist li.done em { color: var(--ink); font-weight: 700; }
.checklist li.done em::after { content: " ✓"; }
.demo-done { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--yellow); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); transform: rotate(-1deg); }
.demo-done b { font: 800 22px var(--display); }
.demo-done span { color: var(--ink-2); }

/* Confetti */
.confetti { position: fixed; top: -20px; z-index: 200; width: 12px; height: 16px; border: 2px solid var(--ink); border-radius: 3px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- Privacy ---------- */

.privacy-card {
  text-align: center; padding: 72px 52px; border-radius: 32px;
  background: var(--ink); color: var(--paper); border: var(--line); box-shadow: 9px 9px 0 var(--orange);
}
.privacy-card h2 { color: var(--paper); }
.privacy-card h2 .hl { color: var(--yellow); background: none; padding: 0; }
.lock { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 22px; font-size: 42px; background: var(--yellow); border: 2.5px solid var(--paper); border-radius: 50%; transform: rotate(-8deg); }
.privacy-points { grid-template-columns: repeat(3, 1fr); gap: 30px 36px; margin-top: 56px; text-align: left; }
.privacy-points b { display: block; font: 800 19px var(--display); margin-bottom: 6px; color: var(--yellow); }
.privacy-points span { color: #D9CFC2; font-size: 15.5px; }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ladder { display: flex; flex-direction: column; gap: 14px; }
.rung {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--white); border: 2.5px dashed var(--ink); border-radius: 18px;
}
.rung .r-name { font: 800 18px var(--display); }
.rung .r-seats { color: var(--muted); font-size: 14px; }
.rung .r-price { margin-left: auto; font: 800 26px var(--display); letter-spacing: -0.03em; }
.rung.past { opacity: 0.5; }
.rung.past .r-price { text-decoration: line-through 3px; }
.rung.current { background: var(--yellow); border-style: solid; box-shadow: var(--shadow); transform: rotate(-1deg) scale(1.02); }
.rung.current::before {
  content: "NOW"; position: absolute; top: -13px; right: 18px; padding: 2px 10px;
  font: 800 12px var(--display); letter-spacing: 0.06em; background: var(--orange); border: 2px solid var(--ink); border-radius: 999px; transform: rotate(4deg);
}
.rung.future .r-price { color: var(--muted); }
.price-card { padding: 34px; background: var(--white); border: var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); transform: rotate(0.8deg); }
.badge { display: inline-block; padding: 5px 13px; font: 800 14px var(--display); background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.amount { font: 800 80px/1 var(--display); letter-spacing: -0.05em; }
.was { font: 700 26px var(--display); color: var(--muted); text-decoration: line-through 3px var(--orange); }
.per { color: var(--ink-2); margin: 8px 0 0; }
.seats { margin: 24px 0 4px; }
.seats-bar { height: 18px; border-radius: 10px; background: var(--paper); border: var(--line); overflow: hidden; }
.seats-bar span {
  display: block; height: 100%; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1);
  background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, #FF8A63 10px 20px);
  background-size: 28px 28px; animation: stripes 1s linear infinite;
}
@keyframes stripes { to { background-position: 28px 0; } }
.seats p { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 0; }
.features { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 12px; }
.features li { padding-left: 34px; position: relative; font-weight: 500; }
.features li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; background: var(--mint); border: 2px solid var(--ink); border-radius: 7px;
}

/* ---------- FAQ ---------- */

details { background: var(--white); border: var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
details[open] { box-shadow: var(--shadow); transform: translate(-2px, -2px); }
summary { cursor: pointer; font: 700 19px var(--display); letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  font-size: 20px; border: 2px solid var(--ink); border-radius: 9px; background: var(--yellow); transition: transform 0.25s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
details p { color: var(--ink-2); margin: 12px 0 2px; }

/* ---------- Final CTA ---------- */

.final {
  position: relative; text-align: center; padding: 70px 30px 56px;
  background: var(--orange); border: var(--line); border-radius: 32px; box-shadow: var(--shadow-lg);
}
.final h2 { max-width: 760px; margin: 0 auto 34px; }
.final-hand { font-size: 84px; display: inline-block; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out infinite; margin-bottom: 8px; }
.share { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; font-weight: 500; }

/* ---------- Footer ---------- */

.footer { max-width: 1160px; margin: 90px auto 0; padding: 30px 24px 50px; border-top: var(--line); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; font-size: 15px; }
.footer .brand { font-size: 17px; }
.footer nav { margin-left: auto; display: flex; gap: 20px; }
.footer nav a { text-decoration: none; font-weight: 500; }
.footer nav a:hover { text-decoration: underline 2px; text-underline-offset: 4px; }
.footer .fine { flex-basis: 100%; margin: 0; }

.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 100; padding: 12px 20px; pointer-events: none;
  font-weight: 700; background: var(--yellow); border: var(--line); border-radius: 14px; box-shadow: var(--shadow);
  transform: translate(-50%, 30px); opacity: 0; transition: all 0.3s cubic-bezier(.2,.9,.3,1.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) rotate(-1deg); }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.9,.3,1.2); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translate(-3px, -3px) rotate(-0.6deg); }

/* ---------- Legal & thanks pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: 70px 24px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 40px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal a:not(.btn) { color: var(--ink); text-decoration: underline 2px var(--orange); text-underline-offset: 3px; }
.legal .card { text-align: left; }
.legal .card:hover { transform: none; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .gestures { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .mode, .mode:nth-child(4), .mode:nth-child(5) { grid-column: auto; }
  .demo, .pricing { grid-template-columns: 1fr; }
  .privacy-points { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { margin: 10px 12px 0; }
  .nav .btn span { display: none; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 96px; }
  .hero-visual { padding: 14px 6px 30px; }
  .sticker { width: 52px; height: 52px; font-size: 26px; }
  .st-1 { left: -6px; top: -10px; }
  .st-2 { left: -8px; width: 48px; height: 48px; font-size: 24px; }
  .st-3 { right: -8px; width: 46px; height: 46px; font-size: 22px; }
  .doodle { display: none; }
  .floating-hand { width: 78px; height: 78px; font-size: 42px; right: 0; bottom: 0; }
  .screen { padding: 14px; }
  .player { width: 100%; gap: 12px; padding: 12px; }
  .art { width: 64px; height: 64px; }
  .hud { padding: 8px 12px 8px 10px; }
  .gestures { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 18px; }
  .privacy-card { padding: 52px 22px; }
  .amount { font-size: 64px; }
  .price-card { padding: 24px; transform: none; }
  .final { padding: 52px 18px 40px; }
  .footer nav { margin-left: 0; }
  .marquee-track span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
