/* Steamie: the app's own design language on the web.
   Ink outlines, hard offset shadows, flat candy colours, Unbounded for display, DM Sans for text. */

@font-face { font-family: "Unbounded"; src: url("fonts/Unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #1B1830;
  --secondary: #3F3B55;
  --muted: #5E5A72;
  --ground: #F2F1F6;
  --surface: #FFFFFF;
  --well: #ECEAF2;
  --hairline: #E4E2EC;
  --mint: #3DDBB4;
  --mint-soft: #A8F0DC;
  --mint-wash: #E6FBF5;
  --coral: #FF6A3D;
  --coral-soft: #FFB199;
  --lavender: #C9BBFF;
  --yellow: #FFD452;
  --yellow-soft: #FFE69A;
  --blush: #FFB3C7;
  --sky: #7FD3FF;
  --pebble: #DDDAE6;

  --display: "Unbounded", ui-rounded, system-ui, sans-serif;
  --text: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 36px;
  --radius: 28px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 500 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 14px;
  font: 700 13px/1 var(--text);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow--sm { font-size: 11px; margin-bottom: 6px; color: var(--ink); }

.section__title {
  margin: 0 0 18px;
  font: 700 clamp(30px, 4.4vw, 52px)/1.06 var(--display);
  letter-spacing: -.035em;
  max-width: 18ch;
}
.section__title.center { margin-inline: auto; }
.section__lede { color: var(--secondary); max-width: 46ch; margin: 0 auto 40px; font-size: 19px; }

.fineprint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hl, .keep { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--coral-soft); border-radius: 6px;
  transform-origin: left; transform: scaleX(0);
  animation: underline .9s .5s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */

.btn {
  --fill: var(--surface); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--fill); color: var(--fg);
  font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--coral { --fill: var(--coral); }
.btn--ink { --fill: var(--ink); --fg: #fff; box-shadow: 4px 4px 0 var(--coral); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--coral); }
.btn--ink:active { box-shadow: 1px 1px 0 var(--coral); }
.btn--ghost { --fill: transparent; box-shadow: none; }
.btn--ghost:hover { --fill: var(--surface); box-shadow: 4px 4px 0 var(--ink); }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: inherit; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
  padding: 10px 0;
}
.nav__inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--secondary); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero { padding: 36px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(520px 380px at 82% 30%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 70%),
    radial-gradient(420px 320px at 8% 10%, color-mix(in srgb, var(--lavender) 34%, transparent), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero__title {
  margin: 0 0 22px;
  font: 800 clamp(40px, 5.6vw, 74px)/1.02 var(--display);
  letter-spacing: -.045em;
}
.hero__lede { margin: 0 0 32px; font-size: 20px; color: var(--secondary); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Demo (a stand-in for the popover) ---------- */

.demo { position: relative; max-width: 540px; justify-self: end; width: 100%; }
/* A slice of the macOS menu bar, edge to edge, with the popover hanging from Steamie's item. */
.menubar {
  display: flex; align-items: center; gap: 18px;
  height: 30px; padding: 0 14px;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(27, 24, 48, .08);
  font: 500 13.5px/1 var(--text); color: var(--ink);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%);
          mask-image: linear-gradient(to right, transparent, #000 12%);
}
.menubar > * { flex: none; white-space: nowrap; }
.menubar > .menubar__spacer { flex: 1; }
.menubar__apple { width: 13px; height: 15px; flex: none; }
.menubar__app { font-weight: 800; }
.menubar__spacer { flex: 1; }
.menubar__glyph { height: 13px; width: auto; flex: none; opacity: .85; }
.menubar__clock { font-variant-numeric: tabular-nums; }
.menubar__item--steamie {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; margin: 0 -4px; border-radius: 6px;
  background: rgba(27, 24, 48, .12); font-weight: 600; font-variant-numeric: tabular-nums;
  color: #E2501F; transition: color .4s;
}
.menubar__item--steamie.is-calm { color: var(--ink); }
.menubar__flame { width: 14px; height: 14px; }

/* The popover: a plain macOS surface. Only the cards inside carry the ink outline, as in the app. */
.pop {
  position: relative; width: min(420px, 100%); margin-top: 8px;
  padding: 12px; border-radius: 28px;
  background: color-mix(in srgb, var(--ground) 92%, white);
  border: 1px solid rgba(27, 24, 48, .1);
  box-shadow: 0 1px 2px rgba(27, 24, 48, .08), 0 24px 60px -18px rgba(27, 24, 48, .35), 0 50px 100px -40px rgba(27, 24, 48, .3);
}
.pop__hero {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 18px 18px 20px; margin-bottom: 12px;
  border: 2px solid var(--ink); border-radius: 24px; box-shadow: 4px 4px 0 var(--ink);
  background: var(--yellow);
  transition: background .8s var(--ease);
}
.pop__hero.is-calm { background: var(--mint); }
.pop__watts { margin: 0; font: 800 58px/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pop__watts small { font-size: 26px; margin-left: 4px; letter-spacing: -.02em; }
.pop__status { margin: 8px 0 0; font-weight: 700; font-size: 16px; }
.pop__face { margin: -4px -6px 0 0; }

.pop__card { background: var(--surface); border-radius: 24px; padding: 18px 16px 16px; }
.pop__head { display: flex; align-items: center; gap: 10px; margin: 0 4px 8px; }
.pop__title { margin: 0; font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.badge {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--coral); font: 700 13px/1 var(--text);
  transition: transform .3s var(--spring), background .3s;
}
.badge.is-zero { background: var(--mint); }
.badge.bump { animation: bump .35s var(--spring); }
@keyframes bump { 50% { transform: scale(1.3); } }

.leftovers { list-style: none; margin: 0 0 14px; padding: 0; }
.leftovers li {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px;
  padding: 8px 4px; border-radius: 16px;
  transition: opacity .35s, transform .45s var(--ease), max-height .45s var(--ease), padding .45s, margin .45s;
  max-height: 80px;
}
.leftovers li.is-gone { opacity: 0; transform: translateX(40px) scale(.96); max-height: 0; padding-block: 0; }
.leftover__text { display: grid; min-width: 0; }
.leftover__text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leftover__text span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leftover__size { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.x {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  font: 600 20px/1 var(--text); cursor: pointer; display: grid; place-items: center; padding: 0 0 2px;
  transition: background .2s, color .2s, transform .2s var(--spring);
}
.x:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

.tile {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--ink);
}
.tile svg { width: 22px; height: 22px; }
.tile--yellow { background: var(--yellow-soft); }
.tile--mint { background: var(--mint-soft); }
.tile--blush { background: var(--blush); }
.tile--pebble { background: var(--pebble); }
.tile--yellowsoft { background: var(--yellow-soft); }

.pop__done {
  padding: 14px 16px; border-radius: 18px; background: var(--mint-wash);
  font-size: 15px; line-height: 1.45; animation: rise .5s var(--ease);
}
.pop__done .link { display: block; margin-top: 6px; font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.demo__hint {
  margin: 18px 0 0; text-align: center; width: min(420px, 100%); font-weight: 700; font-size: 15px; color: var(--secondary);
  transition: opacity .4s;
}
.demo__hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
.demo__hint.is-hidden { opacity: 0; }
@keyframes nudge { 50% { transform: translateY(-4px); } }

/* Little bursts of steam when something is freed. */
.puff {
  position: fixed; pointer-events: none; z-index: 60;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint); border: 2px solid var(--ink);
  animation: puff .8s var(--ease) forwards;
}
@keyframes puff {
  to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; }
}

/* ---------- Promises strip ---------- */

.promises { border-block: 2px solid var(--ink); background: var(--surface); }
.promises__list {
  list-style: none; margin-block: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  font-weight: 700; font-size: 15.5px;
}
.promises__list li { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.dot--mint { background: var(--mint); }
.dot--lavender { background: var(--lavender); }
.dot--yellow { background: var(--yellow); }
.dot--coral { background: var(--coral); }

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section--tight { padding: 56px 0; }

.familiar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.say {
  padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; gap: 14px;
}
.say--coral { background: var(--coral-soft); }
.say--yellow { background: var(--yellow-soft); }
.say--lavender { background: var(--lavender); }
.say__quote { margin: 0; font: 700 22px/1.25 var(--display); letter-spacing: -.025em; }
.say__answer { margin: auto 0 0; padding-top: 14px; border-top: 2px dashed rgba(27, 24, 48, .25); font-size: 16px; color: var(--ink); }

.feature {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center;
  margin-top: 96px;
}
.feature--flip .feature__copy { order: 2; }
.feature__title { margin: 14px 0 14px; font: 700 clamp(26px, 3.2vw, 38px)/1.1 var(--display); letter-spacing: -.035em; }
.feature__copy > p { color: var(--secondary); margin: 0 0 20px; }
.chip {
  display: inline-block; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--ink);
  font: 700 13px/1 var(--text); letter-spacing: .02em;
}
.chip--coral { background: var(--coral); }
.chip--mint { background: var(--mint); }
.chip--lavender { background: var(--lavender); }
.chip--yellow { background: var(--yellow); }
.chip--sky { background: var(--sky); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%231B1830' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  border: 2px solid var(--ink);
}

.window {
  margin: 0; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--ink), 0 40px 80px -40px rgba(27, 24, 48, .5);
  transition: transform .5s var(--ease);
}
.window:hover { transform: translateY(-4px) rotate(-.3deg); }
.window__bar { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 2px solid var(--ink); background: var(--surface); }
.window__bar i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.window__bar i:nth-child(1) { background: var(--coral); }
.window__bar i:nth-child(2) { background: var(--yellow); }
.window__bar i:nth-child(3) { background: var(--mint); }

.fits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 28px; background: var(--surface); border-radius: var(--radius);
}
.fits__item { display: flex; gap: 16px; align-items: center; }
.fits__item div { display: grid; }
.fits__item strong { font-size: 17px; }
.fits__item span { font-size: 15px; color: var(--muted); line-height: 1.4; }

/* ---------- Safe ---------- */

.safe { background: var(--ink); color: #fff; border-radius: 48px; margin: 0 16px; }
.safe .eyebrow { color: var(--mint); }
.safe__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.safe__lede { color: rgba(255, 255, 255, .72); font-size: 19px; }
.safe__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.safe__list li { color: rgba(255, 255, 255, .75); font-size: 16px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .14); }
.safe__list strong { display: block; color: #fff; font: 700 19px/1.3 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; align-items: start; }
.plan {
  position: relative; padding: 34px; border-radius: var(--radius-lg);
  background: var(--surface); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; gap: 6px;
}
.plan--pro { background: var(--lavender); box-shadow: 10px 10px 0 var(--ink); }
.plan__flag {
  position: absolute; top: -16px; right: 26px; padding: 8px 14px; border-radius: 999px;
  background: var(--coral); border: 2px solid var(--ink); font: 700 13px/1 var(--text);
  transform: rotate(3deg);
}
.plan__name { margin: 0; font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.plan__price { margin: 14px 0 0; font: 800 58px/1 var(--display); letter-spacing: -.05em; }
.plan__price small { font-size: 16px; letter-spacing: 0; font-weight: 600; color: var(--secondary); }
.plan__note { margin: 4px 0 22px; font-weight: 700; color: var(--secondary); }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan__small { margin: 12px 0 0; font-size: 14px; text-align: center; color: var(--secondary); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; margin-top: 36px; }
.faq details {
  background: var(--surface); border-radius: 22px; padding: 4px 24px;
  border: 2px solid transparent; transition: border-color .2s;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font: 700 18px/1.35 var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; background: var(--well);
  display: grid; place-items: center; font-size: 20px; transition: rotate .3s var(--ease), background .2s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--mint); }
.faq details p { margin: 0 0 20px; color: var(--secondary); font-size: 16.5px; }

/* ---------- Final CTA ---------- */

.final { padding: 40px 0 112px; }
.final__card {
  display: flex; align-items: center; gap: 44px;
  padding: 56px; border-radius: 44px;
  background: var(--mint); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.final__title { margin: 0 0 12px; font: 800 clamp(32px, 4.6vw, 56px)/1.03 var(--display); letter-spacing: -.045em; }
.final__copy > p { margin: 0 0 26px; font-size: 19px; }
.final .fineprint { color: var(--ink); opacity: .7; }

/* ---------- Footer ---------- */

.footer { padding: 36px 0 48px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand p { margin: 0; }
.footer__brand strong { color: var(--ink); }
.footer__links { display: flex; gap: 22px; margin-left: auto; }
.footer__links a { text-decoration: none; font-weight: 600; color: var(--secondary); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__copy { margin: 0; width: 100%; }

/* ---------- After-download dialog ---------- */

.next {
  width: min(440px, 100% - 32px); padding: 34px 32px 28px; text-align: center;
  border: 2px solid var(--ink); border-radius: 32px; box-shadow: 10px 10px 0 var(--ink);
  background: var(--surface); color: var(--ink);
}
.next[open] { animation: pop-in .45s var(--spring); }
.next::backdrop { background: rgba(27, 24, 48, .45); backdrop-filter: blur(4px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.next h2 { margin: 12px 0 18px; font: 700 26px/1.15 var(--display); letter-spacing: -.03em; }
.next__face { display: inline-block; }
.next__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--well); font-size: 22px; cursor: pointer; color: var(--ink);
}
.next__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; text-align: left; }
.next__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--ground); font-size: 16px; }
.next__steps p { margin: 0; }
.next__num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); border: 2px solid var(--ink); font-weight: 800; font-size: 14px;
}
.next__small { margin: 0; font-size: 14px; color: var(--muted); }
.next__body { color: var(--secondary); margin: 0 0 22px; }

/* ---------- Mascot ---------- */

.mascot { display: block; overflow: visible; }
.mascot .face, .mascot .tuft-fill { transition: fill .8s var(--ease); }
.mascot .part { transition: opacity .45s var(--ease); }
.mascot .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; }
.mascot .pupils { transition: transform .12s linear; }
.mascot.is-boop { animation: boop .5s var(--spring); }
.mascot .tuft { transform-box: fill-box; transform-origin: 0% 100%; animation: sway 2.6s ease-in-out infinite; }
.mascot .drop { animation: drip 2.4s ease-in infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sway { 50% { transform: rotate(-12deg); } }
@keyframes boop { 40% { transform: scale(1.12, .9); } 70% { transform: scale(.96, 1.04); } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Narrow screens ---------- */

@media (max-width: 980px) {
  .hero__grid, .feature, .safe__grid { grid-template-columns: 1fr; gap: 40px; }
  .feature--flip .feature__copy { order: 0; }
  .demo { justify-self: center; }
  .familiar__grid, .fits { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__inner .btn { margin-left: auto; }
  .feature { margin-top: 72px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .menubar__extra, .menubar__menu { display: none; }
  .menubar { gap: 14px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 16px; }
  .hero__lede { font-size: 18px; }
  .hero__cta .btn { width: 100%; }
  .promises__list { justify-content: flex-start; flex-direction: column; }
  .safe { border-radius: 32px; margin: 0 8px; }
  .safe__list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 36px; }
  .final__card { flex-direction: column; text-align: center; padding: 40px 24px; }
  .final .hero__cta { justify-content: center; }
  .footer__links { margin-left: 0; }
  .pop__watts { font-size: 48px; }
  .leftovers li { gap: 10px; }
  .leftover__size { font-size: 14px; }
}
