/* jiggler.ch — status-green world */
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-var.woff2") format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-ext-var.woff2") format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #08b230;
  --green-hi: #0cc23a;
  --green-lo: #079c2a;
  --ink: #04360f;
  --ink-soft: #0b4a1b;
  --white: #ffffff;
  --mist: #effbf1;
  --led-green: #0bd14a;
  --led-blue: #2e7bff;
  --led-yellow: #ffd21a;
  --shadow-soft: 0 10px 30px rgba(4, 54, 15, .22);
  --shadow-lift: 0 18px 44px rgba(4, 54, 15, .32);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--green);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--ink) var(--green-lo); }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: clamp(14px, 3vw, 28px) var(--gutter);
}
.wordmark {
  font-weight: 850; font-size: 23px; letter-spacing: -0.03em; color: var(--white); text-decoration: none;
  -webkit-text-stroke: 1.2px var(--ink); paint-order: stroke fill; text-shadow: 0 2px 0 var(--ink);
}
.footer .wordmark { -webkit-text-stroke: 0; text-shadow: none; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 8px 16px 8px 11px;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 18px rgba(4, 54, 15, .18);
  white-space: nowrap;
}
.status b { font-weight: 800; }
.dot { width: 13px; height: 13px; border-radius: 50%; background: var(--led-green); position: relative; flex: none; box-shadow: inset 0 -2px 3px rgba(0,0,0,.18); }
.dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--led-green); opacity: 0;
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: clamp(96px, 12vh, 116px) var(--gutter) clamp(80px, 10vh, 96px);
  background: radial-gradient(110% 80% at 50% 42%, var(--green-hi) 0%, var(--green) 72%);
  overflow: hidden;
}
.hero-inner {
  display: grid; justify-items: center; text-align: center;
  gap: clamp(22px, 3.2vw, 34px);
  perspective: 1100px;
}
.sub { font-size: clamp(17px, 2.1vw, 22px); font-weight: 560; max-width: 36ch; color: var(--ink); text-wrap: pretty; }
.hero-facts {
  position: absolute; inset: auto 0 clamp(18px, 3vh, 30px) 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px;
  font-size: 14.5px; font-weight: 650; color: var(--ink); padding-inline: var(--gutter);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; flex: none; }

/* ---------- 3D type (stacked preserve-3d layers) ---------- */
.t3d {
  position: relative;
  font-weight: 900;
  line-height: .9; letter-spacing: -0.045em;
  color: var(--white);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.t3d .face {
  position: relative; display: block; transform: translateZ(0);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}
.t3d .depth {
  position: absolute; inset: 0; display: block;
  transform: translate3d(calc(var(--i) * 0.0028em), calc(var(--i) * 0.0046em), calc(var(--i) * -0.004em));
  pointer-events: none; user-select: none;
  -webkit-text-stroke: 0;
}
.t3d .depth.shade { transform: translate3d(0.05em, 0.12em, -0.1em); color: rgba(2, 40, 10, .18); filter: blur(12px); }
.hero h1.t3d { font-size: clamp(52px, 11.4vw, 160px); }
@media (max-width: 520px) { .hero h1.t3d { font-size: 14.6vw; } }

/* ---------- buttons ---------- */
.buy {
  display: inline-flex; align-items: baseline; gap: 14px;
  background: var(--white); color: var(--ink);
  text-decoration: none; font-weight: 820;
  font-size: clamp(20px, 2.8vw, 27px); line-height: 1.1;
  padding: 20px 36px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  font-family: inherit;
}
.buy small { font-weight: 700; font-size: .7em; color: var(--ink-soft); }
.buy:hover, .buy.is-hovered { transform: translateY(-3px) scale(1.035); box-shadow: var(--shadow-lift); }
.buy:active { transform: translateY(0) scale(.99); }
.buy:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ---------- section rhythm ---------- */
.section { padding-block: clamp(80px, 12vw, 150px) clamp(64px, 9vw, 110px); }
.section-head { display: grid; gap: clamp(20px, 2.4vw, 28px); margin-bottom: clamp(28px, 4vw, 48px); }
.h2 {
  font-weight: 900; font-size: clamp(38px, 6.4vw, 84px);
  line-height: .95; letter-spacing: -0.04em; color: var(--white);
  -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill;
  text-shadow: 0 .02em 0 var(--ink), 0 .04em 0 var(--ink), 0 .06em 0 var(--ink), 0 .08em 0 var(--ink), 0 .2em .3em rgba(2, 40, 10, .22);
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.9vw, 21px); font-weight: 520; max-width: var(--measure); text-wrap: pretty; }

/* ---------- product stage ---------- */
.stage-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.stage-figure {
  position: relative; margin: 0;
  aspect-ratio: 9 / 13; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 40, 10, .28), 0 0 0 6px var(--white);
  background: #dfe4e8;
  isolation: isolate;
}
.stage-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  transition: opacity .6s var(--ease-out);
}
.stage-figure img[data-led]:not(.is-on) { opacity: 0; }
.screen {
  position: absolute; left: 0; top: 0;
  width: 1000px; height: 625px;
  transform-origin: 0 0;
  overflow: hidden;
  filter: blur(.5px) saturate(.95);
  pointer-events: none;
}
.screen-ui {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #f4f6f9 0%, #eceff3 100%);
}
.screen-ui .win {
  position: absolute; left: 34%; top: 9%; width: 58%; height: 70%;
  background: #fff; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 30, 40, .14);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
}
.screen-ui .win-bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 2px solid #eef1f4; font: 700 26px/1 "Onest", sans-serif; color: #1d2a22; }
.screen-ui .win-bar i { width: 22px; height: 22px; border-radius: 50%; background: var(--led-green); box-shadow: 0 0 0 5px rgba(11, 209, 74, .2); }
.screen-ui .win-body { padding: 26px 28px; display: grid; gap: 14px; align-content: start; font-family: "Onest", sans-serif; color: #12301c; }
.screen-ui .pres { display: flex; align-items: center; gap: 16px; font-weight: 900; font-size: 64px; letter-spacing: -0.04em; line-height: 1; }
.screen-ui .pres-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--led-green); box-shadow: 0 0 0 10px rgba(11, 209, 74, .22); flex: none; }
.screen-ui .pres-since { font-weight: 700; font-size: 30px; color: #3b5a43; font-variant-numeric: tabular-nums; }
.screen-ui .pres-away { justify-self: start; margin-top: 6px; font-weight: 800; font-size: 24px; padding: 6px 16px; border-radius: 999px; background: #ffe680; color: #6b5300; text-decoration: line-through; text-decoration-thickness: 3px; }
.screen-trail { position: absolute; inset: 0; pointer-events: none; }
.screen-trail i { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -2px 0 0 -2px; border-radius: 50%; background: #1d2a22; }
.screen-ui .taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: rgba(230, 235, 240, .92); border-top: 1px solid #dde2e7; }
.screen-cursor { position: absolute; left: 0; top: 0; width: 64px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); will-change: transform; }

.modes { display: grid; gap: 12px; margin-top: 8px; }
.mode {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
  text-align: left; width: 100%;
  background: rgba(255, 255, 255, .16); color: var(--ink);
  border: 2px solid transparent; border-radius: 22px;
  padding: 14px 18px; cursor: pointer; font: inherit;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.mode:hover { background: rgba(255, 255, 255, .3); }
.mode[aria-pressed="true"] { background: var(--white); border-color: var(--ink); transform: translateX(4px); }
.mode .led { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 0 18px var(--c); }
.mode strong { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.mode span:last-child { font-size: 15.5px; font-weight: 520; color: var(--ink-soft); }
.stage-note { font-size: 14.5px; font-weight: 560; margin-top: 4px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); counter-reset: step; list-style: none; padding: 0; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 3px solid var(--ink); }
.steps .num { font-weight: 900; font-size: clamp(64px, 8vw, 104px); line-height: .8; letter-spacing: -0.05em; color: var(--white); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 .03em 0 var(--ink), 0 .06em 0 var(--ink), 0 .08em 0 var(--ink); }
.steps h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 850; letter-spacing: -0.02em; }
.steps p { font-size: 16.5px; font-weight: 520; max-width: 34ch; }

/* ---------- facts: ruled list on the ground ---------- */
.props { max-width: 860px; border-top: 3px solid var(--ink); }
.props dl { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; }
.props dt, .props dd { padding: 15px 0; border-bottom: 1px solid rgba(4, 54, 15, .3); font-size: 17px; }
.props dt { font-weight: 650; }
.props dd { font-weight: 780; }
.props dd .chip { display: inline-flex; align-items: center; gap: 7px; margin: 2px 12px 2px 0; }
.props dd .chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }

/* ---------- shipping ---------- */
.ship { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ship-facts { list-style: none; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.ship-facts li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(4, 54, 15, .3); font-weight: 650; font-size: 17px; }
.ship-facts li b { font-weight: 850; text-align: right; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: rgba(255, 255, 255, .16); border-radius: 20px; transition: background .3s var(--ease-out); }
.faq details[open] { background: var(--white); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 800; font-size: clamp(18px, 2vw, 21px); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .a { padding: 0 22px 22px; font-size: 17px; font-weight: 500; max-width: 68ch; }

/* ---------- order ---------- */
.order {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 100% at 50% 0%, var(--green-hi) 0%, var(--green) 60%);
  border-top: 3px solid var(--ink);
}
.order-inner { display: grid; justify-items: center; text-align: center; gap: clamp(18px, 2.6vw, 28px); perspective: 1100px; }
.price.t3d { font-size: clamp(110px, 20vw, 236px); }
.price small { font-size: .3em; letter-spacing: -0.02em; vertical-align: .9em; margin-right: .1em; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--white); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-soft); }
.qty button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--mist); color: var(--ink); font: 800 24px/1 "Onest", sans-serif;
  transition: background .2s var(--ease-out);
}
.qty button:hover { background: #d8f3de; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 112px; text-align: center; font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.order-total { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.order-total b { font-weight: 900; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 14px; font-weight: 700; }
.pay span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.notice {
  font-size: 15px; font-weight: 650; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 12px 16px; max-width: 46ch;
}
.notice[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #d8f3de; padding-block: 48px 120px; font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: #ffffff; font-weight: 650; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .wordmark { font-size: 20px; }

/* ---------- sticky buy bar (mobile) ---------- */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 6;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 0 14px 36px rgba(2, 30, 8, .4);
  transform: translateY(140%); transition: transform .45s var(--ease-out);
}
.buybar.is-shown { transform: translateY(0); }
.buybar .bb-text { display: grid; line-height: 1.15; font-size: 14px; font-weight: 650; color: #cdeed4; }
.buybar .bb-text b { color: var(--white); font-size: 17px; font-weight: 850; }
.buybar a { background: var(--white); color: var(--ink); text-decoration: none; font-weight: 850; font-size: 17px; padding: 14px 22px; border-radius: 999px; }

/* ---------- the roaming jiggler cursor ---------- */
#ghost {
  position: fixed; left: 0; top: 0; z-index: 7;
  width: clamp(54px, 6.6vw, 84px); height: auto; pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 8px 10px rgba(0, 30, 8, .35));
}

/* ---------- reveal ---------- */
/* content is always fully opaque: sections only glide in, they never fade through the green */
.reveal { transform: none; }
.js .reveal.is-pending { transform: translateY(14px); }
.js .reveal { transition: transform .45s var(--ease-out); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .stage-grid, .ship { grid-template-columns: minmax(0, 1fr); }
  .stage-figure { aspect-ratio: 4 / 5; max-width: 560px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .buybar { display: flex; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .status { font-size: 13px; padding: 6px 12px 6px 9px; gap: 8px; }
  .wordmark { font-size: 20px; }
  .props dl { grid-template-columns: minmax(0, 1fr); }
  .props dt { padding-bottom: 2px; border-bottom: 0; font-size: 14.5px; }
  .props dd { padding-top: 0; }
  .buy { padding: 18px 28px; }
  .hero-facts { font-size: 13.5px; gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dot::after { animation: none; }
  .js .reveal.is-pending { transform: none; }
}

/* ---------- legal pages ---------- */
.legal-top { position: static; }
.legal-top .wordmark { color: var(--white); }
.legal {
  background: var(--white); color: var(--ink);
  border-radius: 28px; box-shadow: 0 30px 60px rgba(2, 40, 10, .22);
  padding: clamp(28px, 5vw, 64px); margin: 8px auto 80px; max-width: 860px;
}
.legal h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.legal .stand { color: var(--ink-soft); font-weight: 600; margin-bottom: 28px; }
.legal h2 { font-size: 22px; font-weight: 850; letter-spacing: -0.01em; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; max-width: 70ch; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal .ph { background: #fff4c2; border-radius: 6px; padding: 0 4px; font-weight: 700; }
.legal a { color: var(--ink); }

/* ---------- uses: status messages ---------- */
.uses { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.chat { list-style: none; padding: 0; display: grid; gap: 14px; }
.chat li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--white); border-radius: 22px 22px 22px 6px;
  padding: 16px 20px; box-shadow: var(--shadow-soft);
  max-width: 520px;
}
.chat li:nth-child(even) { justify-self: end; border-radius: 22px 22px 6px 22px; }
.chat i { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--led-green); box-shadow: 0 0 0 4px rgba(11, 209, 74, .2); }
.chat p { font-size: 17px; font-weight: 520; }
.chat b { font-weight: 800; }

/* ---------- comparison: ruled table, jiggler column in white ---------- */
.compare { max-width: 980px; border-top: 3px solid var(--ink); }
.compare table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(4, 54, 15, .3); vertical-align: top; }
.compare thead th { font-size: 14.5px; font-weight: 750; }
.compare tbody th { font-weight: 650; padding-left: 0; }
.compare td { font-weight: 620; }
.compare .us { background: var(--white); font-weight: 820; }
.compare thead .us { font-size: 16px; border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 14px 14px; }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid rgba(4, 54, 15, .3); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { padding: 0 0 8px; border: 0; font-size: 18px; font-weight: 820; }
  .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 12px; border: 0; border-radius: 10px; }
  .compare td::before { content: attr(data-label); font-weight: 600; }
  .compare td.us, .compare tbody tr:last-child .us { border-radius: 10px; }
}

.ph-inline { background: rgba(255, 255, 255, .35); border-radius: 6px; padding: 0 4px; font-weight: 750; }

@media (max-width: 900px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- order: total price + one 3D jiggler per unit ---------- */
.order-stage { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 28px); flex-wrap: wrap; perspective: 1100px; }
@media (min-width: 900px) {
  .order-stage { position: relative; flex-wrap: nowrap; }
  .units { position: absolute; left: calc(50% + var(--price-half, 300px) + 12px); top: 50%; transform: translateY(-38%); min-height: 0; }
  .units[data-count="4"] .unit, .units[data-count="5"] .unit { margin-left: -52px; }
  .units .unit:first-child { margin-left: 0; }
}
.price-wrap { display: inline-block; }
.price-wrap.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.12) translateY(-6px); } 100% { transform: scale(1); } }
.units { display: flex; align-items: center; min-height: clamp(110px, 14vw, 170px); }
.unit {
  width: clamp(96px, 10vw, 140px); aspect-ratio: 1; margin-left: clamp(-40px, -3.2vw, -22px);
  background: url("../img/jiggler-spin.webp") 0 0 / 600% 400% no-repeat;
  filter: hue-rotate(var(--hue, 0deg)) drop-shadow(0 14px 14px rgba(2, 40, 10, .32));
  animation: spin 4.8s steps(1) infinite; animation-delay: var(--delay, 0s);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.unit:first-child { margin-left: 0; }
.unit.is-new { transform: translateY(24px) scale(.4); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .unit { animation: none; } .price-wrap.bump { animation: none; } }

/* 24-frame turntable of the jiggler (rendered from the Blender model) */
@keyframes spin {
  0.000% { background-position: 0.000% 0.000%; }
  4.167% { background-position: 20.000% 0.000%; }
  8.333% { background-position: 40.000% 0.000%; }
  12.500% { background-position: 60.000% 0.000%; }
  16.667% { background-position: 80.000% 0.000%; }
  20.833% { background-position: 100.000% 0.000%; }
  25.000% { background-position: 0.000% 33.333%; }
  29.167% { background-position: 20.000% 33.333%; }
  33.333% { background-position: 40.000% 33.333%; }
  37.500% { background-position: 60.000% 33.333%; }
  41.667% { background-position: 80.000% 33.333%; }
  45.833% { background-position: 100.000% 33.333%; }
  50.000% { background-position: 0.000% 66.667%; }
  54.167% { background-position: 20.000% 66.667%; }
  58.333% { background-position: 40.000% 66.667%; }
  62.500% { background-position: 60.000% 66.667%; }
  66.667% { background-position: 80.000% 66.667%; }
  70.833% { background-position: 100.000% 66.667%; }
  75.000% { background-position: 0.000% 100.000%; }
  79.167% { background-position: 20.000% 100.000%; }
  83.333% { background-position: 40.000% 100.000%; }
  87.500% { background-position: 60.000% 100.000%; }
  91.667% { background-position: 80.000% 100.000%; }
  95.833% { background-position: 100.000% 100.000%; }
}

/* payment methods are only claimed once a checkout is actually connected */
html:not(.has-checkout) [data-needs-checkout] { display: none !important; }

/* the price is the largest type on the page: a shallower extrusion keeps the bands proportionate */
.price.t3d .depth { transform: translate3d(calc(var(--i) * 0.002em), calc(var(--i) * 0.0034em), calc(var(--i) * -0.003em)); }
.price.t3d .depth.shade { transform: translate3d(0.04em, 0.1em, -0.08em); }
.order-stage { margin-bottom: clamp(10px, 2vw, 28px); }

.buy.buy-sm { font-size: 17px; padding: 12px 22px; }

/* ---------- readability: information sits on white sheets ---------- */
.props, .compare, .ship-facts {
  background: var(--white); border-top: 0; border-radius: 24px;
  box-shadow: 0 18px 40px rgba(2, 40, 10, .18);
  padding: 6px clamp(18px, 3vw, 30px);
}
.props dt, .props dd { border-bottom-color: #e3ece5; }
.props dt { color: #3b5a43; }
.compare { padding: 6px clamp(10px, 2vw, 18px); }
.compare th, .compare td { border-bottom-color: #e3ece5; }
.compare thead th, .compare tbody th { color: #3b5a43; }
.compare .us { background: #e6f9ea; }
.ship-facts li { border-bottom-color: #e3ece5; padding-inline: 2px; }
.ship-facts li:last-child { border-bottom: 0; }
.steps li { background: var(--white); border-top: 0; border-radius: 24px; padding: 24px; box-shadow: 0 18px 40px rgba(2, 40, 10, .16); }
.steps p { color: #2c4a34; }
.faq details { background: var(--white); box-shadow: 0 8px 22px rgba(2, 40, 10, .12); }
.mode { background: var(--white); box-shadow: 0 8px 22px rgba(2, 40, 10, .12); }
.mode:hover { background: var(--white); border-color: rgba(4, 54, 15, .35); }
.mode span:last-child { color: #3b5a43; }
@media (max-width: 640px) {
  .compare td { background: #f4faf5; }
  .compare td.us { background: #e6f9ea; }
}

/* ---------- the flying 3D cursor ---------- */
#ghost.ghost3d { width: clamp(66px, 7.5vw, 98px); height: clamp(66px, 7.5vw, 98px); filter: none; perspective: 520px; }
.ghost3d .g-body { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ghost3d .g-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.ghost3d .g-shadow {
  position: absolute; left: 22%; top: 36%; width: 62%; height: 62%;
  background: radial-gradient(closest-side, rgba(1, 30, 8, .38), rgba(1, 30, 8, 0));
  filter: blur(4px); will-change: transform, opacity;
}

/* shipping: heading and facts stacked, the long headline never runs under the card */
.ship { grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(8px, 2vw, 16px); }
.ship .section-head { max-width: 980px; }
.ship-facts { width: 100%; max-width: 760px; }

/* unit models: compact, and below the price whenever they would not fit beside it */
@media (min-width: 900px) {
  .unit { width: clamp(80px, 7vw, 104px); margin-left: calc(clamp(80px, 7vw, 104px) * -0.48); }
  .units .unit:first-child { margin-left: 0; }
  .units[data-count="4"] .unit, .units[data-count="5"] .unit { margin-left: calc(clamp(80px, 7vw, 104px) * -0.52); }
  .order-stage.units-below { flex-direction: column; }
  .order-stage.units-below .units { position: static; transform: none; left: auto; top: auto; }
}

/* ---------- hero = shop: headline, 3D price with the spinning jiggler, quantity, checkout ---------- */
.hero {
  grid-template-rows: 1fr auto; gap: clamp(14px, 2.4vh, 26px);
  padding: clamp(84px, 11vh, 104px) var(--gutter) clamp(16px, 2.6vh, 26px);
}
.hero-facts { position: static; inset: auto; }
.hero .hero-inner { gap: clamp(12px, 2vh, 20px); width: 100%; }
.hero h1.t3d { font-size: clamp(38px, 5.6vw, 84px); text-wrap: balance; }
.hero .order-stage { margin: clamp(4px, 1.2vh, 14px) 0 clamp(2px, .8vh, 10px); }
.hero .price.t3d { font-size: clamp(120px, 15.5vw, 224px); }
.hero .units { min-height: 0; }
.hero .unit { --u: calc(clamp(124px, 12.4vw, 190px) * var(--u-scale, 1)); width: var(--u); margin-left: calc(var(--u) * -0.46); }
.hero .units .unit:first-child { margin-left: 0; }
.hero .units[data-count="3"] { --u-scale: .86; }
.hero .units[data-count="4"], .hero .units[data-count="5"] { --u-scale: .72; }
.hero [data-price-note] { font-weight: 700; }
.buy-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); font-weight: 560; max-width: 44ch; color: var(--ink); text-wrap: pretty; margin-top: 2px; }
.buy[aria-busy="true"] { cursor: progress; opacity: .85; }

@media (max-width: 899px) {
  .hero .order-stage { flex-wrap: wrap; gap: 4px 6px; }
  .hero .price.t3d { font-size: clamp(80px, 23.5vw, 150px); }
  .hero .unit { --u: calc(clamp(84px, 26vw, 150px) * var(--u-scale, 1)); }
  .hero .units[data-count="2"] { --u-scale: .9; }
}
@media (max-width: 520px) {
  .hero h1.t3d { font-size: 10.4vw; }
  .hero .qty button { width: 44px; height: 44px; }
  .hero .qty output { min-width: 84px; font-size: 17px; }
  .hero .buy { font-size: 19px; padding: 15px 24px; }
}

.closing { text-align: center; }
.closing-inner { display: grid; justify-items: center; gap: clamp(16px, 2.4vw, 24px); perspective: 1100px; }
