:root {
  --bg: #fbf6ea;
  --card: #ffffff;
  --ink: #2e241b;
  --muted: #74695b;
  --wood: #3b2a1e;
  --wood-ink: #fbf0dc;
  --coral: #f0806a;
  --green: #6faa63;
  --green-ink: #2f6b33;
  --soft: #f4ead6;
  --line: #eadfca;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1510;
    --card: #261e17;
    --ink: #f3eadb;
    --muted: #b3a690;
    --wood: #120d09;
    --soft: #33281e;
    --green-ink: #9fd193;
    --line: #3a2f24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--green-ink); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.bar { background: var(--wood); color: var(--wood-ink); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--wood-ink); text-decoration: none; font-weight: 800; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.bar nav { display: flex; gap: 18px; font-size: 15px; }
.bar nav a { color: var(--wood-ink); opacity: .85; text-decoration: none; font-weight: 600; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero { background: var(--wood); color: var(--wood-ink); padding: 40px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 64px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.35); margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; opacity: .9; margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  border: 1px solid #555; border-radius: 12px; padding: 9px 18px; text-decoration: none; font-weight: 700;
}
a.badge:hover, a.badge:focus-visible { border-color: #aaa; background: #1a1a1a; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.badge span { line-height: 1.15; }
.note { font-size: 14px; opacity: .75; }
.hero-shots { display: flex; justify-content: center; gap: 18px; }
.hero-shots img { width: 220px; border-radius: 28px 28px 0 0; box-shadow: 0 -6px 30px rgba(0,0,0,.4); }
.hero-shots img:nth-child(2) { margin-bottom: -40px; }

/* Pills */
.pills { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pills li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.pills strong { display: block; font-size: 18px; }
.pills .e { font-size: 26px; display: block; margin-bottom: 4px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 0; }
.feature.flip .shots { order: -1; }
.feature h2 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.kicker { color: var(--coral); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; margin: 0 0 6px; }
.feature ul { padding-left: 20px; margin: 12px 0 0; }
.feature li { margin-bottom: 8px; }
.shots { display: flex; gap: 16px; justify-content: center; }
.shots img { width: 46%; max-width: 240px; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(60,40,20,.15); }

/* Live camera illustration: a real photo with the app's lock-on overlay */
.cam-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cam {
  width: 100%; max-width: 300px; background: #000; color: #fff; border-radius: 34px; overflow: hidden;
  border: 6px solid #1a1410; box-shadow: 0 14px 40px rgba(60,40,20,.25);
}
.cam-status { display: flex; justify-content: space-between; padding: 10px 22px 8px; font-size: 13px; font-weight: 700; }
.cam-view { position: relative; aspect-ratio: 520 / 640; }
.cam-view img { width: 100%; height: 100%; object-fit: cover; }
.cam-chip {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 88%;
  background: #fbf0dc; color: #2e241b; font-weight: 700; font-size: 12.5px; line-height: 1.3;
  padding: 7px 12px; border-radius: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.cam-box { position: absolute; left: 13%; right: 15%; top: 16%; bottom: 22%; }
.cam-box i { position: absolute; width: 22%; height: 18%; border: 4px solid #f2b631; filter: drop-shadow(0 0 3px rgba(0,0,0,.4)); }
.cam-box i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.cam-box i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.cam-box i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.cam-box i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.cam-got {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: #f2b631; color: #2e241b; font-weight: 900; font-size: 15px; padding: 5px 16px; border-radius: 999px;
}
.cam-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 18px 18px; }
.cam-thumb { width: 38px; height: 38px; border-radius: 9px; background: url(img/catch-ladybird.jpg) center/cover; border: 2px solid #fff; }
.cam-shutter { width: 62px; height: 62px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #000, 0 0 0 7px #fff; }
.cam-auto { justify-self: end; display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 800; gap: 3px; }
.cam-bolt {
  width: 46px; height: 46px; border-radius: 50%; background: #f2b631; display: grid; place-items: center;
  font-size: 22px; box-shadow: 0 0 0 3px #000, 0 0 0 5px #f2b631;
}
.cam-fig figcaption { max-width: 320px; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.45; }
.cam-fig figcaption span { display: block; font-size: 12px; margin-top: 4px; }
.cam-fig figcaption a { color: var(--muted); }

/* Share illustration: the app's "Give a bug" sheet beside the friend's phone */
.share-art { align-items: center; position: relative; }
.mock {
  width: 46%; max-width: 240px; aspect-ratio: 660 / 1434; background: #fbf0dc; color: #2e241b;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgba(60,40,20,.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center;
}
.mock-title { font-weight: 900; font-size: 17px; line-height: 1.2; margin: 0 0 14px; }
.mock .qr { width: 100%; background: #fff; border-radius: 12px; padding: 8px; }
.mock-hint { font-size: 12px; font-weight: 700; line-height: 1.35; margin: 14px 0 0; }
.hop {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 50%;
  width: 54px; height: 54px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(60,40,20,.2);
}

/* Closing */
.closing { background: var(--soft); border-radius: 28px; padding: 40px 28px; text-align: center; margin: 24px 0 64px; }
.closing h2 { font-size: 30px; margin: 0 0 8px; }
.closing p { margin: 0 auto 8px; max-width: 36em; }

/* Document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.doc h1 { font-size: 40px; margin: 0 0 4px; letter-spacing: -0.02em; }
.doc section { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 14px; margin: 24px 0; }
.doc h2 { font-size: 24px; margin: 0 0 6px; }
.doc h3 { font-size: 17px; margin: 20px 0 4px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.button { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 20px; border-radius: 999px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 22px; padding-bottom: 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }

/* The video and its four steps */
.watch { margin: 14px 0 0; font-size: 16px; }
.watch a { color: var(--wood-ink); font-weight: 700; }
.ad { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 8px; }
.ad video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 24px; background: var(--wood); box-shadow: 0 14px 40px rgba(60,40,20,.25); display: block; }
.ad h2 { font-size: 34px; line-height: 1.15; margin: 0 0 20px; letter-spacing: -0.01em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps li { font-size: 14px; line-height: 1.4; color: var(--muted); counter-increment: step; }
.steps img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; }
.steps strong { display: block; color: var(--ink); font-size: 16px; }
.steps strong::before { content: counter(step) ". "; color: var(--coral); }

@media (max-width: 760px) {
  .ad { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; justify-items: center; }
  .ad video { max-width: 320px; }
  .ad h2 { font-size: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar nav { gap: 12px; font-size: 14px; }
  .bar nav .wide { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-shots img { width: 44%; border-radius: 20px 20px 0 0; }
  .hero-shots img:nth-child(2) { margin-bottom: -24px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .feature.flip .shots { order: 0; }
  .feature h2 { font-size: 28px; }
  .mock-title { font-size: 14px; margin-bottom: 10px; }
  .mock-hint { font-size: 10px; }
  .hop { font-size: 22px; width: 42px; height: 42px; }
  .doc section { padding: 20px 18px 8px; }
}
