@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-800.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-900.woff2") format("woff2"); }

:root {
  --honey: #f5a623;
  --honey-hover: #ffb93d;
  --accent-text: #e08600;
  --ink: #111111;
  --bg: #faf7f1;
  --panel: #ffffff;
  --muted: #4a4540;
  --soft: #fff3dc;
  --radius: 14px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Component display rules (grid, flex) would otherwise override the hidden
   attribute and show elements meant to be hidden. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 800px; }

.accent { color: var(--accent-text); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--soft);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- squiggle underline ---------- */
.squiggle {
  color: var(--accent-text);
  font-weight: 500;
  padding-bottom: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q 20 2 40 5.5 T 80 5 T 118 3' fill='none' stroke='%23e08600' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    bottom / 100% 9px no-repeat;
}

/* ---------- sticker headings ---------- */
.sticker {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  word-spacing: 0.22em;
  text-align: center;
  margin: 0;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.section-sub {
  text-align: center;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  margin: 18px 0 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--ink);
  font: 700 17px var(--font);
  text-decoration: none;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  cursor: pointer;
}
.btn:hover {
  background: var(--honey-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-sm { padding: 8px 20px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { padding: 14px 44px; font-size: 22px; font-weight: 800; }

/* ---------- announcement + nav ---------- */
.announce {
  padding: 7px 16px;
  font-size: 13px;
  background: #fff;
  border-bottom: 1px solid #ece4d4;
  text-align: center;
}
.announce a {
  color: var(--accent-text);
  font-weight: 700;
}
.announce-dot {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 6px 0 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 166, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand b { color: var(--accent-text); font-weight: 800; }
.brand-bee { width: 56px; height: 56px; }
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--accent-text); }
.menu {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 40px; overflow: hidden; }
.hero-inner { text-align: center; }
h1 {
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 auto;
  max-width: 900px;
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 24px);
  max-width: 820px;
  margin: 26px auto 0;
  line-height: 1.75;
}
.hero-price {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  margin: 26px 0 22px;
}

.hero-stage {
  position: relative;
  max-width: 460px;
  margin: 56px auto 0;
}
.hero-bee {
  position: absolute;
  width: 170px;
  height: 170px;
  left: -128px;
  top: -64px;
  transform: rotate(-12deg);
  animation: bob 4s ease-in-out infinite;
  z-index: 2;
  filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, 0.12));
}
@keyframes bob {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-12px); }
}

/* ---------- demo card ---------- */
.demo-card {
  position: relative;
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  padding: 14px;
  text-align: left;
}
.demo-head {
  background: var(--honey);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}
.demo-head b { font-weight: 800; }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 10px 0;
}
.tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f4efe4;
  display: grid;
  place-items: center;
  font-size: clamp(30px, 7vw, 44px);
  border: 2.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s, opacity 0.3s;
  overflow: hidden;
}
.tile.hit { border-color: var(--ink); background: var(--soft); transform: scale(0.94); }
.tile.hit::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat, var(--honey);
  border: 2px solid var(--ink);
}
.obj { width: 64%; height: 64%; }
.tile.hit .obj { transform: scale(0.94); }
.verify-check {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -2px;
}
.tile.swap { opacity: 0; }
.score {
  position: absolute;
  left: 6px;
  bottom: 5px;
  font: 600 10px ui-monospace, Menlo, monospace;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}
.tile.scored .score { opacity: 1; }
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.demo-status { font-weight: 600; color: var(--muted); }
.demo-verify {
  padding: 7px 18px;
  border-radius: 999px;
  background: #eee7da;
  font-weight: 700;
  color: #8a8172;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.demo-verify.go {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--ink);
}
.demo-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }

.watermark { overflow: hidden; }
.watermark::before {
  content: "HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER HONEYSOLVER";
  position: absolute;
  inset: -20% -20%;
  font-size: 120px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: rgba(0, 0, 0, 0.035);
  transform: rotate(-9deg);
  word-break: break-all;
  pointer-events: none;
  z-index: 0;
}
.watermark > .wrap { position: relative; z-index: 1; }

.section + .section { border-top: 2px dashed rgba(245, 166, 35, 0.55); }

/* ---------- plan-style cards ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.plan {
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.plan-head {
  margin: 0;
  background: var(--honey);
  padding: 18px 10px;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}
.plan-body { padding: 24px 24px 30px; }
.plan-num {
  margin: 0;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}
.plan-cap { margin: 8px 0 18px; font-weight: 500; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.plan-list li { font-size: 15px; }
.ic {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: -4px;
  color: var(--accent-text);
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.big {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.split p { font-size: 17px; margin: 0 0 16px; }
.split .btn { margin-top: 10px; }
.hex-stack {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: var(--honey);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.hex-stack::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--bg);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.hex-stack svg {
  position: relative;
  width: 72%;
  height: 72%;
  animation: bob 4s ease-in-out infinite;
}

/* ---------- guarantee cards ---------- */
.guarantees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.g-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.g-art svg { width: 40px; height: 40px; color: var(--ink); }
.g-art {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  font-size: 42px;
  background: var(--soft);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}
.g-card h3 { margin: 0 0 4px; font-size: 24px; font-weight: 600; }
.g-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- install ---------- */
.install {
  list-style: none;
  padding: 0;
  margin: 60px auto 0;
  max-width: 820px;
  display: grid;
  gap: 22px;
}
.install .g-card { align-items: start; }
.install p { margin: 0 0 14px; }
.install li > div > :last-child { margin-bottom: 0; }
.step-n {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
  background: var(--honey);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}
.code {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffd27a;
  font: 14px ui-monospace, "SF Mono", Menlo, monospace;
  overflow-x: auto;
}
.code code { background: none; padding: 0; color: inherit; }

/* ---------- FAQ ---------- */
details {
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-top: 16px;
}
#faq .section-sub { margin-bottom: 44px; }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--honey);
  border: 2px solid var(--ink);
  font-weight: 800;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- bee cursor ---------- */
@media (pointer: fine) {
  html.has-bee-cursor,
  html.has-bee-cursor * { cursor: none !important; }
  html.has-bee-cursor :is(input, textarea, select, [contenteditable="true"]) { cursor: text !important; }
}
.bee-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  /* The bee's nose is the hotspot, so it sits on the pointer's tip. */
  margin: -20px 0 0 -3px;
  transform-origin: 3px 20px;
  will-change: transform;
}
.bee-cursor.on { opacity: 1; }
.bee-cursor.hidden { opacity: 0; }
.bee-cursor svg {
  display: block;
  overflow: visible;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: 6px 30px;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.15));
}
.bee-cursor.hover svg { transform: scale(1.25) rotate(-8deg); }
.bee-cursor.press svg { transform: scale(0.85); }
.bc-wing ellipse {
  fill: rgba(255, 255, 255, 0.92);
  stroke: #111;
  stroke-width: 2.6;
}
.bc-wing {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flap 0.09s ease-in-out infinite alternate;
}
.bc-wing-back { animation-delay: -0.045s; opacity: 0.85; }
.bee-cursor.hover .bc-wing { animation-duration: 0.06s; }
@keyframes flap {
  from { transform: scaleY(1) rotate(0deg); }
  to { transform: scaleY(0.35) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bc-wing { animation: none; }
}

/* ---------- legal and content pages ---------- */
.legal-hero {
  position: relative;
  padding: 70px 0 54px;
  text-align: center;
}
.legal-hero .sticker { font-size: clamp(42px, 7vw, 72px); }
.legal {
  padding-bottom: 96px;
  font-size: 16.5px;
}
.legal-lead {
  font-size: 19px;
  font-weight: 500;
  padding: 22px 26px;
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  margin: 0 0 12px;
}
.legal h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 44px 0 10px;
}
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 7px 0; }
.legal li::marker { color: var(--honey); }
.legal a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal b { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent-text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- API docs ---------- */
.docs h3 { margin: 26px 0 8px; font-size: 17px; }
.docs .code { margin: 10px 0 14px; white-space: pre; }
.docs code { font-size: 0.86em; }
.verb {
  display: inline-block;
  padding: 2px 9px;
  margin-right: 6px;
  border-radius: 6px;
  background: var(--honey);
  border: 2px solid var(--ink);
  font: 800 12px var(--font);
  letter-spacing: 0.5px;
}
.verb.get { background: #bfe6b8; }
.api-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 12px 0 16px;
  font-size: 14.5px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}
.api-table th {
  text-align: left;
  background: var(--honey);
  padding: 10px 12px;
  font-weight: 800;
}
.api-table td {
  padding: 10px 12px;
  border-top: 1px solid #eadfca;
  vertical-align: top;
  color: var(--muted);
}
.api-table td:first-child { white-space: nowrap; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .api-table { display: block; overflow-x: auto; }
}

/* ---------- demo page ---------- */
.demo-page { display: grid; gap: 30px; padding-bottom: 96px; }
.pg-card {
  background: var(--panel);
  border: 2.5px dashed var(--honey);
  border-radius: var(--radius);
  padding: 28px;
}
.pg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.pg-head h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.pg-head p { margin: 0; max-width: 560px; }
.muted { color: var(--muted); }
.engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: #f4efe4;
}
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #aaa; }
.engine-pill.ok .pill-dot { background: #2fa84f; box-shadow: 0 0 0 4px rgba(47, 168, 79, 0.2); }
.engine-pill.warn .pill-dot { background: var(--honey); }
.engine-pill.bad .pill-dot { background: #e2553a; }

.pg-body {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}
.drop {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border: 2.5px dashed #d9cdb4;
  border-radius: 12px;
  background: #f8f3e8;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.drop:hover, .drop.over { border-color: var(--honey); background: var(--soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop canvas { width: 100%; height: 100%; display: block; }
.drop-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
  color: var(--muted);
}
.drop-hint b { color: var(--ink); }
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}
.ov-cell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: rise 0.4s var(--d, 0s) both;
}
.ov-cell.hit {
  border: 4px solid var(--honey);
  background: rgba(245, 166, 35, 0.22);
}
.ov-score {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font: 700 12px ui-monospace, Menlo, monospace;
}
.ov-cell.hit .ov-score { background: var(--honey); color: var(--ink); }

.pg-controls { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.field input {
  font: 500 15px var(--font);
  padding: 12px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}
.field input:focus { outline: none; box-shadow: 4px 4px 0 var(--honey); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 13px var(--font);
  padding: 5px 13px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
}
.chip:hover { background: var(--soft); }
#solve:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 var(--ink); }
#solve.busy { animation: pulse 1.2s infinite; }
.result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.result div {
  background: var(--soft);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  font-size: 13px;
}
.result b { font-size: 17px; overflow-wrap: anywhere; }
.pg-msg { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--muted); }
.pg-msg.err { color: #c43d24; font-weight: 600; }
.pg-msg.ok { color: #23803d; font-weight: 600; }
.offline p { margin: 0 0 8px; }
.widget-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.widget-status { margin: 0; font-weight: 600; color: var(--muted); }
.widget-status.ok { color: #23803d; }
@media (max-width: 760px) {
  .pg-body { grid-template-columns: 1fr; }
  .pg-card { padding: 20px; }
  .result { grid-template-columns: 1fr 1fr; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0 80px;
}
.notfound .sticker { font-size: clamp(110px, 22vw, 200px); }
.notfound-bee {
  width: 150px;
  height: 150px;
  margin-bottom: -20px;
  animation: bob 4s ease-in-out infinite;
}
.notfound-text { color: var(--muted); margin: 10px 0 30px; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #f2ead9;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-light { font-size: 24px; }
.brand-light .brand-bee { width: 44px; height: 44px; }
.brand-light b { color: var(--honey); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: 14px; opacity: 0.8; }
.footer-links a:hover { opacity: 1; color: var(--honey); }
.footer-domain { font-size: 14px; opacity: 0.7; }

/* ==========================================================================
   Motion and polish. Everything here animates transform/opacity only, so it
   stays on the compositor; prefers-reduced-motion switches it all off below.
   ========================================================================== */

/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 50;
  background: linear-gradient(90deg, var(--honey), #ff8a1f);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* nav tightens once the page scrolls */
.nav { transition: box-shadow 0.25s, background 0.25s; }
.nav-inner { transition: height 0.25s; }
.nav.scrolled { box-shadow: 0 6px 24px -14px rgba(60, 40, 0, 0.45); }
.nav.scrolled .nav-inner { height: 66px; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* button shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}
.btn:hover::before { transform: translateX(120%); }
.btn-ghost {
  background: var(--panel);
}
.btn-ghost:hover { background: var(--soft); }
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* hero entrance: lines rise in one after another */
.hero { position: relative; }
.hero h1 .line { display: block; }
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero h1.rise { animation: none; }
.hero h1 .line { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero h1 .line:nth-child(2) { animation-delay: 0.09s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.18s; }
.rise-2 { animation-delay: 0.28s; }
.rise-3 { animation-delay: 0.36s; }
.rise-4 { animation-delay: 0.44s; }
.rise-5 { animation-delay: 0.56s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* squiggles draw themselves in */
.squiggle {
  background-size: 0% 9px;
  animation: draw 0.9s 0.7s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}
@keyframes draw { to { background-size: 100% 9px; } }

/* faint honeycomb behind the hero */
.hero-comb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V18L28 2l28 16v32L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23f5a623' stroke-opacity='.16' stroke-width='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; }

/* a small bee on a looping flight path */
.flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.flyer {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  offset-path: path("M -60 260 C 180 80, 380 420, 640 220 S 1000 60, 1180 260 S 1500 420, 1700 180");
  offset-rotate: auto 0deg;
  animation: fly 16s linear infinite, buzz 0.18s ease-in-out infinite alternate;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.1));
}
@keyframes fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes buzz {
  from { translate: 0 -1.5px; }
  to { translate: 0 1.5px; }
}

/* honey dripping off the hero into the next section */
.hero { padding-bottom: 0; }
.drip {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 90px;
  margin-top: 70px;
  fill: var(--honey);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.08));
}

/* feature ticker */
.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-block: 3px solid var(--ink);
  transform: rotate(-1.2deg);
  margin: 26px -10px 0;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  padding: 14px 26px;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.ticker span::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 15px;
  margin-left: 52px;
  vertical-align: -1px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* scroll reveal: only elements that start below the fold get hidden, so
   nothing visible on load ever flickers */
.reveal-pending { opacity: 0; transform: translateY(34px); }
.reveal-in {
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.sticker.reveal-pending { transform: scale(0.82) rotate(-3deg); }
.sticker.reveal-in {
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* cards lift */
.plan, .g-card, details {
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.7s, border-color 0.2s;
}
.plan:hover, .g-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 10px 0 -2px var(--honey);
}
.g-card:hover .g-art { animation: wiggle 0.5s ease-in-out; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg) scale(1.06); }
  75% { transform: rotate(8deg) scale(1.06); }
}
details[open] { border-style: solid; }
details p { animation: rise 0.35s ease-out; }

/* demo tiles pop when selected */
.tile.hit::after { animation: pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.demo-verify.go { animation: pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .split-art { order: -1; }
  .hex-stack { width: 240px; }
  .guarantees { grid-template-columns: 1fr; }
  .hero-bee { width: 120px; height: 120px; left: -40px; top: -76px; }
}
@media (max-width: 820px) {
  .nav-inner { height: 70px; }
  .nav-cta { display: none; }
  .menu { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 2.5px dashed var(--honey);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .brand { font-size: 24px; }
  .brand-bee { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .sticker { -webkit-text-stroke-width: 2px; text-shadow: 4px 4px 0 var(--ink); }
  .g-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .install .g-card { text-align: left; justify-items: start; }
  .hero-bee { width: 92px; height: 92px; left: -12px; top: -62px; }
  .btn-lg { font-size: 19px; padding: 12px 34px; }
  .watermark::before { font-size: 80px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .flyer { width: 34px; height: 34px; }
  .drip { height: 50px; margin-top: 48px; }
  .ticker span { font-size: 15px; padding: 11px 18px; }
  .ticker span::after { margin-left: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .flight { display: none; }
  .squiggle { background-size: 100% 9px; }
  .reveal-pending { opacity: 1; transform: none; }
}
