:root {
  --cream: #fff4e6;
  --paper: #fffaf3;
  --ink: #2a1a10;
  --muted: #7a6455;
  --orange: #f26b1d;
  --orange-2: #ffa24a;
  --line: rgba(42, 26, 16, 0.12);
  --display: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 0 rgba(42, 26, 16, 0.06), 0 12px 30px -12px rgba(42, 26, 16, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, #ffe0bd 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 10%, #ffe9d2 0%, transparent 55%),
    var(--cream);
  color: var(--ink);
  font: 500 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
kbd {
  display: inline-block; min-width: 1.6em; padding: 1px 6px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); border-bottom-width: 3px;
  font: 800 13px/1.5 var(--body); text-align: center;
}
code { font: 600 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: rgba(42, 26, 16, 0.07); padding: 1px 6px; border-radius: 6px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 244, 230, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.nav nav { display: flex; gap: 6px; align-items: center; }
.nav nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); background: rgba(42, 26, 16, 0.06); }
.nav nav a.gh { color: #fff; background: var(--ink); }
.nav nav a.gh:hover { background: #000; color: #fff; }

/* hero */
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 8vw, 96px) 0 48px;
}
.eyebrow { margin: 0 0 16px; font-weight: 800; font-size: 14px; letter-spacing: 0.02em; color: var(--orange); }
h1 {
  margin: 0; font: 800 clamp(44px, 6.6vw, 84px)/0.98 var(--display); letter-spacing: -0.045em;
}
.scribble { position: relative; color: var(--orange); white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.18em;
  background: var(--orange); opacity: 0.22; border-radius: 99px; transform: rotate(-1.5deg);
}
.lede { margin: 22px 0 30px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 800 17px/1 var(--body); padding: 16px 24px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn.primary {
  color: #fff; background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 10px 24px -8px rgba(242, 107, 29, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn.bookmarklet {
  color: var(--ink); background: #fff; border: 2px dashed rgba(242, 107, 29, 0.6); cursor: grab;
}
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.small { font-size: 15px; padding: 11px 18px; }
.drag-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.wiggle { animation: wiggle 0.5s ease; }
@keyframes wiggle { 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } }

/* fake browser */
.browser {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow), 0 40px 80px -40px rgba(242, 107, 29, 0.45);
  border: 1px solid var(--line); transform: rotate(1.2deg);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f6efe7; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.url { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 8px; background: #fff; font-size: 13px; color: var(--muted); font-weight: 700; }
.browser-body { padding: 18px 22px 24px; }
.mini-nav { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mini-logo { color: #4b3cf5; font-weight: 800; margin-right: auto; }
.mini-btn { border: 0; background: #4b3cf5; color: #fff; font: 800 12px/1 var(--body); padding: 8px 12px; border-radius: 8px; }
.mini-h { margin: 22px 0 8px; font: 800 26px/1.1 var(--display); letter-spacing: -0.03em; }
.mini-p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.mini-row { display: flex; gap: 10px; }
.mini-card { flex: 1; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.mini-card b { font: 800 20px/1.1 var(--display); }
.mini-card small { font-size: 12px; color: var(--muted); font-weight: 700; }
.mini-card .ico { font-size: 20px; }
.c1 { background: #e8f7ee; } .c2 { background: #fff1e0; } .c3 { background: #eeeaff; }
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 78px; margin: 16px 0; padding: 0 4px; border-bottom: 2px solid var(--line); }
.mini-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #7b6cff, #4b3cf5); }
.mini-cta { border: 0; background: var(--ink); color: #fff; font: 800 14px/1 var(--body); padding: 12px 16px; border-radius: 10px; }

/* victims */
.victims {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 22px;
  padding: 36px 0 80px;
}
.sticky {
  width: 150px; padding: 14px 14px 18px; font: 700 15px/1.35 "Comic Sans MS", "Chalkboard SE", var(--body);
  box-shadow: var(--shadow); transform: rotate(-3deg);
}
.s1 { background: #fff3a8; } .s2 { background: #ffd1e1; transform: rotate(4deg); }
.post { width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.post-head { display: flex; gap: 10px; align-items: center; }
.post-head small { display: block; color: var(--muted); font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ffe7cf; font-size: 22px; }
.post p { margin: 10px 0; font-size: 15px; }
.post-actions { display: flex; gap: 22px; font-size: 13px; color: var(--muted); font-weight: 700; }
.mug, .plant, .vase { font-size: 64px; line-height: 1; filter: drop-shadow(0 8px 8px rgba(42, 26, 16, 0.2)); }
.price { width: 200px; background: var(--ink); color: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.price small { color: var(--orange-2); font-weight: 800; letter-spacing: 0.08em; font-size: 11px; }
.price b { display: block; font: 800 40px/1.1 var(--display); margin: 4px 0 8px; }
.price b span { font-size: 15px; opacity: 0.6; }
.price ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; line-height: 1.9; }
.price button { width: 100%; border: 0; border-radius: 10px; padding: 11px; font: 800 14px/1 var(--body); background: var(--orange); color: #fff; }
.todo { width: 230px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.todo label { display: flex; gap: 8px; align-items: center; }
.todo input { accent-color: var(--orange); width: 16px; height: 16px; }

/* modes */
.modes, .install, .faq { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { margin: 0 0 8px; font: 800 clamp(32px, 4vw, 48px)/1.05 var(--display); letter-spacing: -0.035em; }
.sub { margin: 0 0 30px; color: var(--muted); }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.mode {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.mode:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow); border-color: rgba(242, 107, 29, 0.4); }
.mode-ico { font-size: 40px; display: block; margin-bottom: 8px; }
.mode h3 { margin: 0 0 6px; font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; }
.mode p { margin: 0 0 14px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.try { font-weight: 800; color: var(--orange); font-size: 15px; }

/* install */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.step h3 { margin: 10px 0 6px; font: 800 22px/1.1 var(--display); }
.step p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.keys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }

/* faq */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

footer { text-align: center; padding: 40px 16px 120px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
footer a { font-weight: 800; }
.tiny { font-size: 13px; opacity: 0.7; }

.toast {
  position: fixed; left: 50%; top: 84px; transform: translate(-50%, -10px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: opacity 0.2s, transform 0.2s; z-index: 20; box-shadow: var(--shadow);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .browser { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .nav nav a:not(.gh) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
