:root {
  --good: #0FC580;
  --alert: #F8BD32;
  --limit: #F2994A;
  --out: #EE2B47;
  --state: var(--good);
  --on-state: #141414;
  --on-state-muted: rgba(20, 20, 20, 0.72);

  --paper: #F2F3F5;
  --surface: #FFFFFF;
  --ink: #141414;
  --muted: #53585F;
  --panel: #141414;
  --on-panel: #F4F5F7;
  --on-panel-muted: #B4B8BE;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --outer: calc(var(--max) + 2 * var(--gutter));
  --gap-section: clamp(88px, 11vw, 168px);
  --r-xl: clamp(28px, 4vw, 48px);
  --r-l: clamp(22px, 2.6vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141414;
    --surface: #1F1F1F;
    --ink: #F4F5F7;
    --muted: #A9ADB3;
    --panel: #1F1F1F;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .get-panel :focus-visible { outline-color: #141414; }
.widget-panel :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 8px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--state);
  color: var(--on-state);
  transition: background-color 0.5s ease;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 0 var(--gutter) clamp(48px, 7vw, 96px);
  overflow-x: clip;
}
.hero[data-status="alert"] { --state: var(--alert); }
.hero[data-status="out"] { --state: var(--out); }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  flex: none;
}
.hero .brand-mark { background: var(--on-state); }
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  background: var(--state, var(--good));
  border-radius: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand-mark::before { width: 15px; height: 3px; }
.brand-mark::after { width: 3px; height: 15px; }
.footer .brand-mark::before, .footer .brand-mark::after { background: var(--good); }
@media (prefers-color-scheme: dark) { .footer .brand-mark { background: var(--ink); } }

.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 550; font-size: 16px; padding: 8px 0; opacity: 0.8; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-cta {
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--on-state);
  color: #fff;
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta:active { transform: scale(0.97); }

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  column-gap: clamp(32px, 6vw, 112px);
  padding-top: clamp(8px, 2vh, 32px);
}
.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(64px, min(10.6vw, 16.5vh), 152px);
  font-weight: 700;
  font-variation-settings: "wdth" 78, "opsz" 96;
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.hero-lede {
  margin-top: clamp(16px, 2.4vh, 28px);
  font-size: clamp(18px, 1.7vw, 22px);
  max-width: 36ch;
  color: var(--on-state);
  font-weight: 450;
}

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2.6vh, 28px); }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 16px;
  border-radius: 14px;
  background: #141414;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease;
}
.store svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.store small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0; opacity: 0.85; margin-bottom: 2px; }
.store:hover { transform: translateY(-2px); }
.store:active { transform: scale(0.97); }
.store:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #141414; }
.hero-note { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--on-state-muted); }

.try {
  margin-top: clamp(18px, 2.6vh, 28px);
  max-width: 440px;
  padding: 14px 22px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.3);
}
.try-label { display: block; font-weight: 600; font-size: 16px; }
.try-state { margin-top: 4px; font-size: 15px; color: var(--on-state-muted); min-height: 1.5em; }
.try-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  margin: 2px 0 0;
  background: transparent;
  cursor: grab;
}
.try-range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: rgba(20, 20, 20, 0.25); }
.try-range::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(20, 20, 20, 0.25); }
.try-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px; height: 32px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--on-state);
  border: 5px solid #fff;
}
.try-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--on-state);
  border: 5px solid #fff;
}
.try-range:active { cursor: grabbing; }

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; width: 320px; height: 650px; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; animation: rise 0.9s 0.1s cubic-bezier(.2,.8,.2,1) both; }
.phone-stage.is-dragging { cursor: grabbing; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-shadow { position: absolute; inset: 0; border-radius: 48px; background: #141414; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); z-index: 0; }
.phone { position: absolute; inset: 0; padding: 10px; }
/* The bezel is drawn above the scenery with a hole cut where the scene shows through */
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #141414;
  clip-path: path(evenodd, "M48 0H272A48 48 0 0 1 320 48V602A48 48 0 0 1 272 650H48A48 48 0 0 1 0 602V48A48 48 0 0 1 48 0ZM10 48A38 38 0 0 1 48 10H272A38 38 0 0 1 310 48V440A30 30 0 0 1 280 470H40A30 30 0 0 1 10 440Z");
  pointer-events: none;
}
.screen {
  position: relative;
  width: 300px;
  height: 630px;
  border-radius: 38px;
  overflow: hidden;
  z-index: 3;
}
.panel {
  position: relative;
  height: 460px;
  border-radius: 0 0 30px 30px;
}

.app-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 18px 0;
}
.app-month {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  color: #141414;
}
.app-menu { display: grid; gap: 5px; justify-items: end; }
.app-menu i { display: block; width: 18px; height: 2px; border-radius: 1px; background: #141414; }
.app-menu i + i { width: 12px; }

.app-hero { position: relative; text-align: center; padding-top: 34px; color: #141414; }
.app-label { font-size: 13px; font-weight: 500; color: var(--on-state-muted); }
.app-amount {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.app-amount .cur { font-size: 0.42em; vertical-align: 0.95em; color: var(--on-state-muted); margin-right: 2px; font-weight: 500; }
.app-meta { margin-top: 6px; font-size: 12.5px; color: var(--on-state-muted); line-height: 1.5; }
.app-meta b { color: #141414; font-weight: 600; }

.mascot {
  position: absolute;
  left: 92px;
  top: 282px;
  width: 116px;
  height: 102px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  animation: float 3.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.mascot svg { width: 100%; height: 100%; overflow: visible; }
.mascot-inner { width: 100%; height: 100%; transform-origin: 50% 90%; }
.mascot.jump .mascot-inner { animation: jump 0.75s cubic-bezier(.3,.6,.4,1); }
.mascot.wobble .mascot-inner { animation: wobble 0.5s ease-in-out; }
.mascot.shrug .mascot-inner { animation: shrug 0.8s ease-in-out; }
.drop {
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  animation: drop 2s ease-in infinite;
  opacity: 0;
  pointer-events: none;
}

.dial {
  position: absolute;
  left: 72px;
  bottom: -78px;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: #141414;
  display: grid;
  place-items: center;
}
.dial svg { position: absolute; inset: 8px; width: 140px; height: 140px; transform: rotate(-90deg); }
.ring-track, .ring-fill { fill: none; stroke-width: 4; }
.ring-track { stroke: #292929; }
.ring-fill { stroke: var(--state); stroke-linecap: round; stroke-dasharray: 402.1; transition: stroke-dashoffset 0.4s ease, stroke 0.5s; }
.plus {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #141414; border-radius: 2px; transform: translate(-50%, -50%); }
.plus::before { width: 30px; height: 3.5px; }
.plus::after { width: 3.5px; height: 30px; }

.app-circles {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: space-between;
  padding: 0 22px;
}
.app-circles span {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--state);
  display: grid;
  place-items: center;
  transition: background-color 0.5s;
}
.app-circles svg { width: 20px; height: 20px; fill: none; stroke: #141414; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone-hint { font-size: 14px; font-weight: 550; color: var(--on-state-muted); }

/* Month carousel: current scene sits under the phone window, neighbours fade out to each side */
.carousel {
  position: absolute;
  top: 10px;
  left: calc(10px - 312px);
  width: 924px;
  height: 460px;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.5) 30%, #000 34%, #000 66%, rgba(0, 0, 0, 0.5) 70%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.5) 30%, #000 34%, #000 66%, rgba(0, 0, 0, 0.5) 70%, transparent 96%);
}
.track { display: flex; gap: 12px; height: 100%; will-change: transform; }
.slide {
  flex: none;
  width: 300px;
  height: 460px;
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--state);
  transition: background-color 0.5s;
}
.slide svg { display: block; width: 100%; height: 100%; }
.slide--side { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.slide--side:focus-visible { outline-offset: -4px; }

/* ---------- Sections ---------- */
main > section {
  max-width: var(--outer);
  margin: 0 auto;
  padding: var(--gap-section) var(--gutter) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px clamp(32px, 6vw, 96px);
}
.section-title {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 700;
  font-variation-settings: "wdth" 80, "opsz" 72;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; justify-self: end; }

/* Steps */
.step-list {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.4vw, 16px);
}
.step {
  background: var(--surface);
  border-radius: var(--r-l);
  padding: clamp(14px, 1.6vw, 20px);
  display: grid;
  grid-template-columns: clamp(120px, 13vw, 168px) 1fr;
  align-items: center;
  gap: clamp(18px, 2.6vw, 32px);
}
.step-text { min-width: 0; }
.step h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; max-width: 38ch; }
.step-art {
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--r-l) - 10px);
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.big-plus {
  width: 40%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  box-shadow: 0 0 0 7px var(--paper), 0 0 0 10px var(--good);
}
.big-plus::before, .big-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--paper); border-radius: 3px; transform: translate(-50%, -50%); }
.big-plus::before { width: 34%; height: 3px; }
.big-plus::after { width: 3px; height: 34%; }
.step-art--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); place-items: stretch; gap: 4px; padding: 10px; align-content: center; }
.cat {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 0 5px;
  border-radius: 9px;
  background: var(--surface);
  font-size: 7.6px;
  font-weight: 500;
  color: var(--muted);
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.cat svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat.is-picked { background: var(--good); color: #141414; }
.cat.is-picked svg { stroke: #141414; }
.step-art--keys { align-content: center; gap: 6px; padding: 10px 16px; }
.keys-amount { text-align: center; font-size: 20px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.keys-amount span { color: var(--muted); font-weight: 400; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px 10px; text-align: center; font-size: 9.5px; font-weight: 500; }
.keys-cta { text-align: center; width: 100%; background: var(--good); color: #141414; font-weight: 650; border-radius: 7px; padding: 5px; font-size: 8.5px; }

/* Moods */
.mood-row { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.mood { background: var(--surface); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.mood img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mood figcaption { padding: clamp(20px, 2vw, 28px); font-size: 17px; color: var(--muted); }
.mood figcaption strong { display: block; font-size: clamp(22px, 1.9vw, 27px); color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }

/* Wallpaper */
.wall-row { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.wall-card { background: var(--c); border-radius: var(--r-l); padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) 0; display: grid; gap: 16px; color: #141414; justify-items: center; }
.wall-card figcaption { order: -1; justify-self: start; font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; letter-spacing: -0.02em; }
.wall-art { position: relative; width: min(100%, 300px); background: var(--c); border-radius: 26px 26px 0 0; overflow: hidden; border: 7px solid #141414; border-bottom: 0; }
.wall-art svg { display: block; width: 100%; height: auto; }
.wall-mascot { position: absolute; left: 50%; bottom: 4%; width: 44%; transform: translateX(-50%); pointer-events: none; }
.wall-mascot svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2)); }

/* Limits */
main > .limits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--outer); }
.limits-copy { display: grid; gap: 24px; justify-items: start; }
.limits-copy .section-lede { justify-self: start; }
.check-list { display: grid; gap: 14px; font-size: 18px; font-weight: 550; max-width: 44ch; }
.check-list li { padding-left: 34px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--good); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 4px; border-left: 2.5px solid #141414; border-bottom: 2.5px solid #141414; transform: rotate(-45deg); }
.limit-cards { display: grid; gap: 14px; }
.lim { background: var(--surface); border-radius: var(--r-l); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 14px; --f: var(--good); }
.lim--warn { --f: var(--alert); }
.lim--over { --f: var(--out); }
.lim--goal { --f: #141414; }
@media (prefers-color-scheme: dark) { .lim--goal { --f: #F4F5F7; } }
.lim-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 17px; }
.lim-top b { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.lim-top span { color: var(--muted); }
.lim p { font-weight: 650; font-size: 16px; }
.bar { height: 14px; border-radius: 999px; background: rgba(127, 127, 127, 0.2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--f, var(--good)); }

/* Insights */
.ins-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.ins { background: var(--surface); border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.ins h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.ins--chart { grid-column: span 4; grid-row: span 2; gap: 28px; }
.ins--stat { grid-column: span 2; justify-content: flex-end; }
.ins--saved { background: var(--good); color: #141414; }
.ins--note { grid-column: span 6; min-height: 0; background: var(--panel); color: var(--on-panel); flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.ins--note p { color: var(--on-panel-muted); font-size: 17px; }
.ins .big-num { font-size: clamp(64px, 7vw, 100px); margin-bottom: auto; }
.ins-bars { display: grid; gap: 22px; flex: 1; align-content: space-evenly; }
.ins-bars li { display: grid; grid-template-columns: 110px 1fr 56px; gap: 16px; align-items: center; font-size: 17px; }
.ins-bars b { text-align: right; }
.ins-bars .bar { height: 22px; }
.ins-bars .bar i { background: var(--ink); }


/* Months */
main > .months { max-width: none; padding-left: 0; padding-right: 0; }
.months .sec-head { max-width: var(--outer); margin: 0 auto; padding: 0 var(--gutter); }
.month-strip {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  margin-top: clamp(40px, 5vw, 72px);
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 20px;
  scrollbar-width: none;
}
.month-strip::-webkit-scrollbar { display: none; }
.month-card {
  flex: none;
  width: clamp(200px, 21vw, 264px);
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.month-card .art {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--good);
  transition: transform 0.25s ease;
}
.month-card .art svg { width: 100%; height: 100%; }
.month-card:hover .art { transform: translateY(-6px); }
.month-card:active .art { transform: scale(0.98); }
.month-card[aria-pressed="true"] .art { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.month-card strong { display: block; margin-top: 14px; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.month-card span { color: var(--muted); font-size: 15.5px; }
.strip-nav { max-width: var(--outer); margin: 8px auto 0; padding: 0 var(--gutter); display: flex; gap: 10px; }
.strip-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--paper); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.15s, opacity 0.15s;
}
.strip-nav button:hover { transform: scale(1.06); }
.strip-nav button:active { transform: scale(0.94); }
.strip-nav button:disabled { opacity: 0.3; cursor: default; transform: none; }
.strip-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Widget */
.widget-panel {
  background: var(--panel);
  color: var(--on-panel);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(28px, 5vw, 72px);
}
.widget-copy { display: grid; gap: 24px; min-width: 0; }
.widget-copy .section-lede { color: var(--on-panel-muted); justify-self: start; }
.widget-note { color: var(--on-panel); font-weight: 550; font-size: 17px; max-width: 40ch; }
.homescreen {
  position: relative;
  width: 340px;
  height: 460px;
  border-radius: 44px;
  overflow: hidden;
  background: #1B5E37;
  padding: 28px 24px;
}
.homescreen-scene { position: absolute; inset: 0; opacity: 0.9; }
.homescreen-scene svg { width: 100%; height: 100%; }
.home-widget {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: var(--good);
  color: #141414;
  display: grid;
  justify-items: center;
  align-content: center;
  transition: background-color 0.5s;
}
.home-widget strong { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.home-widget small { font-size: 12px; color: rgba(20, 20, 20, 0.75); font-weight: 500; }
.home-mascot svg { width: 92px; height: 80px; }
.home-plus {
  position: absolute; top: 9px; right: 9px;
  width: 27px; height: 27px; border-radius: 50%;
  background: #141414; color: #fff;
  display: grid; place-items: center;
  font-size: 18px; line-height: 1;
}
.home-icons { position: relative; display: grid; grid-template-columns: repeat(4, 56px); gap: 22px 18px; margin-top: 28px; }
.home-icons i { width: 56px; height: 56px; border-radius: 17px; background: rgba(255, 255, 255, 0.28); }

/* More: bento */
.bento { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.tile {
  grid-column: span 3;
  background: var(--surface);
  border-radius: var(--r-l);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 280px;
}
.tile--wide { grid-column: span 4; }
.tile--sm, .tile--num { grid-column: span 2; }
.tile svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.tile h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.tile p:not(.big-num) { color: var(--muted); font-size: 17px; max-width: 36ch; }
.big-num {
  margin-bottom: auto;
  font-size: clamp(88px, 10vw, 140px);
  font-weight: 700;
  font-variation-settings: "wdth" 78, "opsz" 96;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.tile--num { background: var(--alert); color: #141414; }
.tile--num p:not(.big-num) { color: rgba(20, 20, 20, 0.78); }
.tile--accent { background: var(--good); color: #141414; }
.tile--accent p { color: rgba(20, 20, 20, 0.78) !important; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border-radius: 22px; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { padding: 0 26px 24px; color: var(--muted); max-width: 52ch; }

/* Get */
main > .get { padding-bottom: var(--gap-section); }
.get-panel {
  background: var(--good);
  color: #141414;
  border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.get-title {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 700;
  font-variation-settings: "wdth" 78, "opsz" 96;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.get-lede { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; }
.get-mascot { justify-self: center; width: min(100%, 360px); }
.get-mascot svg { width: 100%; height: auto; animation: float 3.2s ease-in-out infinite; }

.footer { max-width: var(--outer); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 550; padding: 6px 0; }
.footer-links a:hover { color: var(--ink); }
.footer-big {
  margin-top: clamp(32px, 5vw, 64px);
  font-size: clamp(56px, 13.6vw, 200px);
  font-weight: 700;
  font-variation-settings: "wdth" 78, "opsz" 96;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--ink);
}
.footer-fine { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* Mobile dock + toast */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  transform: translateY(110%);
  transition: transform 0.3s ease;
  z-index: 20;
  display: none;
}
.dock.is-on { transform: none; }
.dock-btn {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 650;
  font-size: 18px;
  padding: 16px;
  border-radius: 16px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #141414;
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 40;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
@keyframes float { 50% { transform: translateY(-4px); } }
@keyframes jump {
  0% { transform: none; }
  12% { transform: scale(1.1, 0.86); }
  45% { transform: translateY(-30px) scale(0.94, 1.08); }
  78% { transform: translateY(0) scale(1.08, 0.9); }
  100% { transform: none; }
}
@keyframes wobble {
  15% { transform: rotate(-9deg); } 30% { transform: rotate(9deg); }
  50% { transform: rotate(-6deg); } 70% { transform: rotate(5deg); } 85% { transform: rotate(-2deg); }
}
@keyframes shrug {
  20%, 60% { transform: scale(1.04, 0.9); }
  40%, 80% { transform: none; }
}
@keyframes drop {
  0% { transform: translateY(-12px) rotate(-25deg); opacity: 0; }
  12% { opacity: 1; }
  45% { transform: translateY(40px) rotate(20deg); opacity: 1; }
  52%, 100% { transform: translateY(44px) rotate(20deg); opacity: 0; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-title, .hero-lede, .stores, .hero-note, .try { animation: rise 0.7s cubic-bezier(.2,.8,.2,1) both; }
.hero-lede { animation-delay: 0.08s; }
.hero .stores { animation-delay: 0.16s; }
.hero-note { animation-delay: 0.2s; }
.try { animation-delay: 0.26s; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step-list .reveal:nth-child(2), .js .mood-row .reveal:nth-child(2), .js .wall-row .reveal:nth-child(2), .js .bento .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .mood-row .reveal:nth-child(4), .js .wall-row .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .step-list .reveal:nth-child(3), .js .mood-row .reveal:nth-child(3), .js .wall-row .reveal:nth-child(3), .js .bento .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .bento .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Layout breakpoints ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .bento .tile, .bento .tile--wide { grid-column: span 3; }
  .bento .tile--sm, .bento .tile--num { grid-column: span 3; }
  .tile { min-height: 240px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .try { max-width: none; }
  .phone-wrap { justify-self: center; margin-top: 40px; }
  .sec-head { grid-template-columns: 1fr; }
  .section-lede { justify-self: start; }
  .mood-row { grid-template-columns: repeat(2, 1fr); }
  .wall-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .wall-card { scroll-snap-align: start; }
  main > .limits { grid-template-columns: 1fr; }
  .ins--chart { grid-column: span 6; grid-row: auto; }
  .ins--stat { grid-column: span 3; }
  .mood { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; }
  .widget-panel { grid-template-columns: 1fr; justify-items: start; }
  .homescreen { justify-self: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .get-panel { grid-template-columns: 1fr; }
  .get-mascot { width: 220px; justify-self: start; }
}
@media (max-width: 720px) {
  .dock { display: block; }
  .footer { padding-bottom: 96px; }
  .toast { bottom: 88px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 20vw; }
  .hero-lede { margin-top: 20px; font-size: 17px; }
  .stores { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .store { padding: 8px 12px 8px 12px; gap: 9px; font-size: 17px; min-height: 54px; }
  .store svg { width: 24px; height: 24px; }
  .store small { font-size: 10.5px; }
  .hero-note { margin-top: 12px; }
  .try { margin-top: 18px; padding: 12px 18px 10px; border-radius: 20px; }
  .try-label { font-size: 15px; }
  .try-range { height: 40px; margin-top: 2px; }
  .try-state { font-size: 14px; }
  .step { grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 14px; }
  .step-art--cats { gap: 3px; padding: 7px; }
  .cat { font-size: 0; padding: 5px 0; border-radius: 7px; }
  .cat svg { width: 15px; height: 15px; }
  .step-art--keys { padding: 8px 12px; }
  .keys-amount { font-size: 17px; }
  .keys { font-size: 8px; gap: 1px 6px; }
  .keys-cta { font-size: 7.5px; padding: 4px; }
  .footer-big { font-size: 24.5vw; }
  .widget-panel { padding: 28px 20px 20px; }
  .homescreen { width: 100%; height: 440px; padding: 22px 18px; }
  .home-icons { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
  .home-icons i { width: auto; aspect-ratio: 1; }
  .bento .tile, .bento .tile--wide, .bento .tile--sm, .bento .tile--num { grid-column: span 6; min-height: 200px; }
  .mood { grid-template-columns: 1fr; }
  .mood-row { grid-template-columns: 1fr; }
  .ins--stat { grid-column: span 6; }
  .ins-bars li { grid-template-columns: 84px 1fr 48px; gap: 10px; }
  .stores { display: grid; }
  .store { justify-content: flex-start; }
  .brand { font-size: 22px; }
  .nav { height: 72px; }
  .faq-list summary { font-size: 18px; padding: 18px 20px; }
  .faq-list details p { padding: 0 20px 20px; }
}
@media (max-width: 400px) {
  .phone-stage { zoom: 0.9; }
}
