/* EveryBattery landing page
   Brand: Cue Yellow, Ink, Paper; Plus Jakarta Sans headlines, one Instrument Serif word, Inter body.
   App pastels for device tiles. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(fonts/inter-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url(fonts/instrument-serif-italic-latin.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cue: #FFC814;
  --cue-soft: #F6D96B;
  --ink: #18140F;
  --paper: #FFF8E6;
  --cream: #FBF5E6;
  --white: #FFFDF8;
  --amber-text: #8A5A00;
  --muted: #4F4A3E;
  --muted-green: #2E3120;
  --pink: #F2B8D8;
  --berry: #B0306F;
  --lavender: #D6CCF4;
  --blue: #B8C8EE;
  --green: #A9BC72;
  --peach: #F8C9A8;
  --rule: rgba(24, 20, 15, .12);
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --shadow: 0 30px 60px -30px rgba(70, 45, 0, .45), 0 12px 24px -16px rgba(70, 45, 0, .25);
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M101.5 50.0L100.9 52.4L99.2 54.7L96.8 56.7L94.3 58.5L92.3 60.3L91.3 62.1L91.2 64.3L91.9 66.8L93.0 69.6L93.9 72.6L94.1 75.5L93.3 77.8L91.5 79.5L88.8 80.5L85.7 80.9L82.7 81.1L80.1 81.5L78.2 82.5L76.9 84.2L76.2 86.8L75.5 89.7L74.7 92.8L73.3 95.3L71.4 96.8L68.9 97.3L66.1 96.7L63.3 95.3L60.6 93.9L58.2 92.8L56.1 92.6L54.1 93.4L52.1 95.1L50.0 97.2L47.7 99.3L45.2 100.7L42.7 101.0L40.4 100.0L38.4 98.0L36.7 95.3L35.2 92.6L33.8 90.4L32.1 89.1L30.0 88.7L27.4 89.1L24.5 89.7L21.4 90.2L18.5 90.0L16.3 88.9L14.9 86.9L14.3 84.1L14.3 80.9L14.5 77.9L14.5 75.3L13.8 73.2L12.3 71.8L9.9 70.7L7.0 69.6L4.2 68.4L1.9 66.7L0.6 64.5L0.5 62.0L1.5 59.3L3.2 56.7L5.1 54.3L6.5 52.1L7.0 50.0L6.5 47.9L5.1 45.7L3.2 43.3L1.5 40.7L0.5 38.0L0.6 35.5L1.9 33.3L4.2 31.6L7.0 30.4L9.9 29.3L12.3 28.2L13.8 26.8L14.5 24.7L14.5 22.1L14.3 19.1L14.3 15.9L14.9 13.1L16.3 11.1L18.5 10.0L21.4 9.8L24.5 10.3L27.4 10.9L30.0 11.3L32.1 10.9L33.8 9.6L35.2 7.4L36.7 4.7L38.4 2.0L40.4 -0.0L42.7 -1.0L45.2 -0.7L47.7 0.7L50.0 2.8L52.1 4.9L54.1 6.6L56.1 7.4L58.2 7.2L60.6 6.1L63.3 4.7L66.1 3.3L68.9 2.7L71.4 3.2L73.3 4.7L74.7 7.2L75.5 10.3L76.2 13.2L76.9 15.8L78.2 17.5L80.1 18.5L82.7 18.9L85.7 19.1L88.8 19.5L91.5 20.5L93.3 22.2L94.1 24.5L93.9 27.4L93.0 30.4L91.9 33.2L91.2 35.7L91.3 37.9L92.3 39.7L94.3 41.5L96.8 43.3L99.2 45.3L100.9 47.6Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #FFE38F; color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber-text); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 10px;
  padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.02; text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 1.3rem + 3.7vw, 4.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; }
h1 em, h2 em, h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; letter-spacing: -.012em; line-height: .8;
}
.label {
  display: flex; align-items: center; gap: .6em;
  margin-bottom: 1.1rem;
  font: 600 .78rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-text);
}
.label::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.label--ink { color: var(--ink); }
.section-lede {
  margin-top: 1.1rem; max-width: 34em;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted);
}
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > * { max-width: 780px; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.5; max-width: 31em; color: #2B2519; text-wrap: balance; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem/1.2 var(--body);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em;
}
.text-link .ic { width: 18px; height: 18px; transition: translate .3s var(--ease); }
.text-link:hover .ic { translate: 0 3px; }
.privacy .text-link:hover .ic { translate: 3px 0; }
.fine { font-size: .9rem; color: var(--muted); }

/* ---------- Shared bits ---------- */
.flower {
  --fill: #fff;
  width: 2.5em; height: 2.5em; flex: none;
  display: grid; place-items: center;
  background: var(--fill); color: var(--ink);
  -webkit-mask: var(--flower) center / 100% 100% no-repeat;
          mask: var(--flower) center / 100% 100% no-repeat;
}
.flower .ic { width: 46%; height: 46%; }
.flower--pink { --fill: var(--pink); }
.flower--berry { --fill: var(--berry); color: #fff; }
.flower--yellow { --fill: var(--cue-soft); }
.flower--cream { --fill: var(--cream); }
.flower--paper { --fill: var(--paper); }
.flower--green { --fill: var(--green); }

.tile--pink { --tile-bg: var(--pink); }
.tile--blue { --tile-bg: var(--blue); }
.tile--lavender { --tile-bg: var(--lavender); }
.tile--peach { --tile-bg: var(--peach); }
.tile--green { --tile-bg: var(--green); }
.tile--yellow { --tile-bg: var(--cue-soft); }
.tile--surface { --tile-bg: var(--white); }

.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1em;
  min-height: 9.25em; padding: 1em;
  border-radius: 1.625em;
  background: var(--tile-bg, var(--pink));
  color: var(--ink);
  font-family: var(--display);
}
.tile--surface { box-shadow: inset 0 0 0 1px var(--rule); }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5em; }
.tile-head > span:first-child { display: flex; flex-direction: column; gap: .15em; min-width: 0; }
.tile-head b { font-size: .94em; font-weight: 700; letter-spacing: -.01em; }
.tile-head small { font-size: .76em; font-weight: 500; color: var(--muted); line-height: 1.3; }
.tile .flower { width: 1.9em; height: 1.9em; }
.tile-level {
  display: inline-flex; align-items: baseline; gap: .05em;
  font-size: 2.1em; font-weight: 600; letter-spacing: -.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tile-level i { font-style: normal; font-size: .48em; margin-left: .08em; }
.tile-level .bolt { width: .34em; height: .34em; align-self: center; margin-left: .12em; }
.tile-level--stale { opacity: .5; }
.tile-note { font-size: .9em; font-weight: 700; }

.meter {
  display: block; position: relative; height: 6px; overflow: hidden;
  border-radius: 99px; background: rgba(24, 20, 15, .12);
}
.meter::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--ink);
  transition: background .3s, width .6s var(--ease);
}

.pulse { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--cue); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 3; } }

/* Device frames for real app screens */
.iphone-frame {
  position: relative;
  padding: 3.1%;
  border-radius: 15% / 7%;
  background: #16130F;
  box-shadow: inset 0 0 0 1.5px #3B3322, inset 0 0 0 3px #0B0907, var(--shadow);
}
.iphone-frame img { width: 100%; border-radius: 12.3% / 5.7%; }
.ipad-frame {
  padding: 2.1%;
  border-radius: 5% / 7.2%;
  background: #16130F;
  box-shadow: inset 0 0 0 1.5px #3B3322, var(--shadow);
}
.ipad-frame img { width: 100%; border-radius: 1.7% / 2.45%; }
.mac-window {
  border-radius: 1.4% / 2.1%;
  background: #F5F4EF;
  box-shadow: 0 0 0 1px rgba(24, 20, 15, .1), 0 50px 90px -40px rgba(70, 45, 0, .55), 0 18px 36px -24px rgba(70, 45, 0, .35);
  overflow: hidden;
}
.mac-window img { width: 100%; }

/* Store badge (Coming soon; becomes an App Store link on launch day) */
.store-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 22px 13px 18px; border-radius: 18px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  box-shadow: 0 14px 30px -18px rgba(24, 20, 15, .8);
}
.store-badge-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.store-badge small { font: 500 .78rem/1 var(--body); color: #DCD2BC; }
.store-badge strong { font: 700 1.1rem/1.05 var(--display); letter-spacing: -.01em; }
a.store-badge { transition: transform .25s var(--ease), box-shadow .25s; }
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(24, 20, 15, .8); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 12px;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.top.is-scrolled {
  padding-block: 6px;
  background: rgba(251, 245, 230, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
          backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--rule);
}
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 52px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.22rem/1 var(--display); letter-spacing: -.04em; text-decoration: none;
}
.brand img { border-radius: 22.37%; }
.brand-icon--light, .top.is-scrolled .brand-icon--dark { display: none; }
.top.is-scrolled .brand-icon--light { display: block; }
.top-nav { display: flex; gap: 2px; margin-left: auto; }
.top-nav a {
  padding: 10px 14px; border-radius: 99px;
  font: 600 .92rem/1 var(--body); text-decoration: none;
  transition: background .2s;
}
.top-nav a:hover { background: rgba(24, 20, 15, .08); }
.top-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  font: 600 .84rem/1 var(--body); text-decoration: none; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding-top: clamp(116px, 13vw, 168px);
  background: var(--cue);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { margin-top: 4px; font-size: clamp(3rem, 1.4rem + 6.2vw, 7rem); line-height: .93; letter-spacing: -.048em; }
.hero-line { display: block; }
.hero .lede { margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 26px; font: 500 .92rem/1.3 var(--body); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .ic { width: 20px; height: 20px; }

.hero-in { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-stage { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.theme-switch {
  display: flex; width: max-content; margin: 0 auto 26px; padding: 4px; gap: 2px;
  border-radius: 99px; background: rgba(24, 20, 15, .1);
}
.theme-switch button {
  height: 38px; padding: 0 16px; border: 0; border-radius: 99px; cursor: pointer;
  background: transparent; font: 600 .86rem/1 var(--body);
  transition: background .25s, color .25s;
}
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.devices { position: relative; aspect-ratio: 1200 / 760; max-width: 1140px; margin-inline: auto; }
.hdev { position: absolute; margin: 0; will-change: translate; }
.hdev-mac { left: 13%; top: 0; width: 74%; animation: devIn 1.2s var(--ease) .45s both; }
.hdev-ipad { left: 0; top: 36%; width: 43%; animation: devIn 1.2s var(--ease) .65s both; }
.hdev-iphone { right: 1%; top: 19%; width: 20%; animation: devIn 1.2s var(--ease) .8s both; }
@keyframes devIn { from { opacity: 0; transform: translateY(70px) scale(.97); } to { opacity: 1; transform: none; } }

.mac-window, .ipad-frame, .iphone-frame { position: relative; }
.shot--night {
  position: absolute; opacity: 0;
  transition: opacity .6s var(--ease);
}
.mac-window .shot--night { inset: 0; }
.ipad-frame .shot--night { inset: 2.1%; width: 95.8%; }
.iphone-frame .shot--night { inset: 3.1%; width: 93.8%; }
.devices[data-theme="night"] .shot--night { opacity: 1; }

.float-notif {
  position: absolute; z-index: 3; right: 13%; top: 9%;
  display: flex; gap: 12px; align-items: flex-start;
  width: min(330px, 36%); padding: 13px 15px;
  border-radius: 24px;
  background: rgba(255, 253, 248, .84);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
          backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 24px 44px -22px rgba(60, 40, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .7);
  font: 400 .86rem/1.35 var(--body);
  animation: notifDrop .8s var(--spring) 2.1s both;
}
.float-notif img { width: 38px; height: 38px; border-radius: 22.37%; }
.fn-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fn-meta { display: flex; justify-content: space-between; margin-bottom: 1px; }
.fn-meta b { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6B6352; }
.fn-meta small { font-size: .74rem; color: #6B6352; }
.fn-text > b { font-weight: 600; }
@keyframes notifDrop { from { opacity: 0; transform: translateY(-26px) scale(.94); } to { opacity: 1; transform: none; } }

.stage-caption { padding-block: 18px 22px; text-align: center; font: 500 .78rem/1 var(--body); color: rgba(24, 20, 15, .62); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding-block: 17px; background: var(--ink); color: var(--paper); font: 500 .95rem/1 var(--body); }
.ticker-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; }
.ticker-list li { position: relative; display: flex; align-items: center; gap: 8px; padding-inline: 26px; white-space: nowrap; }
.ticker-list li::after { content: ""; position: absolute; right: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--cue); }
.ticker-list .ic { width: 18px; height: 18px; opacity: .8; }
.ticker-list b { font-weight: 600; }
.ticker-list span { color: #BDB39E; }
.ticker-list .is-low { color: #F7C0DC; }
.ticker-list .is-quiet { color: #D9D0F7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(96px, 11vw, 150px) clamp(64px, 7vw, 100px); }
.statement {
  max-width: 21em;
  font: 700 clamp(1.75rem, 1rem + 2.7vw, 3.35rem)/1.16 var(--display);
  letter-spacing: -.032em; text-wrap: pretty;
}
.statement .w { opacity: .16; transition: opacity .3s; }
.statement .w.is-lit { opacity: 1; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.platform { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 16px 20px 16px 16px; border-radius: 26px; font-size: 17px; }
.platform .flower { width: 46px; height: 46px; }
.platform b { font: 800 1.3rem/1 var(--display); letter-spacing: -.03em; }
.platform small { margin-left: auto; font: 500 .9rem/1.2 var(--body); color: var(--muted); text-align: right; }

/* ---------- How it works ---------- */
.how { padding-block: clamp(40px, 5vw, 60px) clamp(90px, 10vw, 140px); }
.how-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-step {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 64vh; padding-block: 24px;
  opacity: .3; transition: opacity .45s var(--ease);
}
.how-step:first-child { min-height: 52vh; }
.how-step.is-active { opacity: 1; }
.how-num { font: 600 .82rem/1 var(--body); letter-spacing: .1em; color: var(--amber-text); }
.how-step h3 { margin-top: 14px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.how-step p { margin-top: 12px; max-width: 25em; font-size: 1.08rem; color: var(--muted); }
.how-sticky { position: sticky; top: max(96px, calc(50vh - 300px)); }

.diagram {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; margin-inline: auto;
  border-radius: 40px;
  background: var(--white) radial-gradient(rgba(24, 20, 15, .09) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.dg-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dg-line { stroke: rgba(24, 20, 15, .25); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dg-packets circle { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }
.dg-node, .dg-cloud { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; }
.dg-node {
  width: 11.2em; min-height: 0; gap: .2em; padding: .9em 1em;
  border-radius: 1.4em; font-size: clamp(10px, 1.08vw, 15px);
  box-shadow: 0 14px 28px -16px rgba(60, 40, 0, .45);
  transition: scale .4s var(--spring);
}
.dg-node-head { display: flex; justify-content: space-between; align-items: center; }
.dg-node-head b { font-size: .95em; font-weight: 700; }
.dg-node-head .ic { width: 1.2em; height: 1.2em; }
.dg-level { font-size: 2.1em; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dg-level i { font-style: normal; font-size: .48em; }
.dg-time { font: 500 .76em/1.2 var(--display); color: var(--muted); }
.dg-others { display: flex; flex-wrap: wrap; gap: .3em; max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.dg-others > span { padding: .45em .6em; border-radius: 99px; background: rgba(255, 255, 255, .7); font: 700 .7em/1 var(--display); white-space: nowrap; }
.diagram[data-step="3"] .dg-others, .diagram[data-step="4"] .dg-others { max-height: 3em; margin-top: .4em; opacity: 1; }
.dg-pad-chip.is-new { background: var(--ink) !important; color: var(--paper); }
.dg-ask {
  position: absolute; left: 50%; bottom: -1.2em; translate: -50% 0;
  padding: .7em 1em; border-radius: 99px; white-space: nowrap;
  background: var(--ink); color: var(--paper); font: 700 .72em/1 var(--display);
  opacity: 0; scale: .8; transition: opacity .35s, scale .45s var(--spring);
}
.diagram[data-step="4"] .dg-ask { opacity: 1; scale: 1; }
.dg-ring { position: absolute; inset: -5px; border-radius: 1.65em; border: 2px solid var(--ink); opacity: 0; pointer-events: none; }
.diagram[data-step="1"] .dg-ring { animation: ring 2s ease-out infinite; }
.diagram[data-step="1"] [data-node="mac"] .dg-ring { animation-delay: .5s; }
.diagram[data-step="1"] [data-node="pad"] .dg-ring { animation-delay: 1s; }
.dg-node.is-pinged .dg-ring { animation: ring 1s ease-out 2; }
.dg-node.is-pinged { scale: 1.05; }
@keyframes ring { 0% { opacity: .55; scale: .97; } 100% { opacity: 0; scale: 1.14; } }
.dg-cloud {
  display: flex; flex-direction: column; align-items: center; gap: .3em;
  padding: 1em 1.3em; border-radius: 1.5em;
  background: var(--ink); color: var(--paper); text-align: center;
  font-size: clamp(10px, 1.05vw, 14px);
  box-shadow: 0 16px 30px -16px rgba(24, 20, 15, .7);
}
.dg-cloud .ic { width: 2em; height: 2em; color: var(--cue); }
.dg-cloud b { font: 700 1em/1.15 var(--display); }
.dg-cloud small { font: 500 .8em/1 var(--body); color: #C9BFA8; }

.add-card {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 24px 40px; align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.5vw, 40px);
  border-radius: 36px; background: var(--green);
}
.add-card h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.add-card-head p { margin-top: 8px; color: var(--muted-green); font-weight: 500; }
.add-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.add-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, .5); }
.add-steps li:first-child { background: #fff; }
.add-num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--cream); font: 700 .85rem/1 var(--display); }
.add-steps b { display: block; font: 700 1rem/1.25 var(--display); letter-spacing: -.01em; }
.add-steps small { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.4; color: var(--muted-green); }

/* ---------- Panels ---------- */
.panel { padding: clamp(28px, 4.5vw, 64px); border-radius: clamp(28px, 3.5vw, 44px); color: var(--ink); }
.panel--pink { background: var(--pink); }
.panel--lavender { background: var(--lavender); }
.panel--blue { background: var(--blue); }
.panel--green { background: var(--green); }
.panel p { color: var(--muted); }

/* ---------- Alerts ---------- */
.alerts { padding-bottom: clamp(90px, 10vw, 140px); }
.alerts-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.alerts-copy > p:not(.label) { margin-top: 18px; max-width: 27em; font-size: 1.1rem; }
.threshold { margin-top: 30px; }
.threshold-label { display: block; margin-bottom: 12px; font: 600 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.threshold-options { display: inline-flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .55); }
.threshold button {
  height: 44px; padding: 0 20px; border: 0; border-radius: 99px; cursor: pointer;
  background: transparent; font: 700 1rem/1 var(--display);
  transition: background .25s, color .25s;
}
.threshold button:hover { background: rgba(255, 255, 255, .7); }
.threshold button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.alerts-copy .fine { margin-top: 14px; }

.alerts-demo { display: flex; flex-direction: column; gap: 18px; }
.notif-stack { position: relative; display: grid; min-height: 118px; }
.notif {
  grid-area: 1 / 1;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; border-radius: 22px;
  background: #FFFDF8;
  box-shadow: 0 16px 32px -20px rgba(90, 20, 50, .55);
  font: 400 .9rem/1.38 var(--body);
  transform-origin: 50% 0;
  transition: translate .5s var(--spring), scale .5s var(--spring), opacity .4s;
}
.notif img { width: 36px; height: 36px; border-radius: 22.37%; }
.notif-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.notif-meta { display: flex; justify-content: space-between; margin-bottom: 1px; font-size: .72rem; color: #6B6352; }
.notif-meta b { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.notif-text > b { font-weight: 600; }
.notif-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.notif-actions span { padding: 7px 11px; border-radius: 99px; background: rgba(24, 20, 15, .07); font: 600 .76rem/1 var(--body); }
.notif[data-pos="1"] { translate: 0 14px; scale: .95; opacity: .8; z-index: -1; }
.notif[data-pos="2"] { translate: 0 28px; scale: .9; opacity: .55; z-index: -2; }
.notif.is-entering { animation: notifIn .55s var(--spring) both; }
.notif.is-leaving { opacity: 0; scale: .9; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-18px) scale(.96); } }
.notif-count { position: absolute; right: 8px; bottom: -22px; font: 600 .76rem/1 var(--body); color: var(--muted); }
.notif--calm .flower { width: 36px; height: 36px; }

.dev-list { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 30px; background: rgba(255, 255, 255, .45); }
.dev {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "badge text level" "badge meter meter";
  align-items: center; gap: 6px 12px;
  padding: 10px 16px 12px 10px; border-radius: 22px;
  background: rgba(255, 255, 255, .5);
  transition: background .35s;
}
.dev .flower { grid-area: badge; width: 42px; height: 42px; --fill: var(--cream); transition: background .35s, color .35s; }
.dev-text { grid-area: text; display: flex; flex-direction: column; min-width: 0; }
.dev-text b { font: 700 1rem/1.25 var(--display); }
.dev-text small { font-size: .82rem; color: var(--muted); }
.dev-level { grid-area: level; font: 600 1.4rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .3s; }
.dev .meter { grid-area: meter; }
.dev.is-low { background: #fff; }
.dev.is-low .flower { --fill: var(--berry); color: #fff; }
.dev.is-low .dev-level { color: var(--berry); }
.dev.is-low .meter::after { background: var(--berry); }

.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.split-cards h3 { font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.4rem); }
.split-cards .panel p:not(.label) { margin-top: 14px; max-width: 30em; }
.quiet-card { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.quiet-scene { display: flex; flex-direction: column; gap: 14px; }
.quiet-scene .dev { background: rgba(255, 255, 255, .55); }
.dev--stale .dev-level { opacity: .5; }
.meter--hatch::after { background: repeating-linear-gradient(-45deg, var(--ink) 0 3px, transparent 3px 6px); opacity: .55; }
.notif--static { box-shadow: 0 20px 40px -24px rgba(50, 30, 90, .55); }
.fresh-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }

.detail-card {
  width: 100%; max-width: 430px; padding: 18px 20px 20px;
  border-radius: 30px; background: var(--pink);
  font-family: var(--display);
  box-shadow: 0 24px 44px -26px rgba(20, 40, 90, .55);
}
.detail-top { display: flex; align-items: center; gap: 4px; font: 600 .9rem/1 var(--display); }
.detail-top .ic { width: 18px; height: 18px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 16px; }
.detail-head b { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.detail-head small { display: block; margin-top: 3px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.detail-head .flower { width: 44px; height: 44px; }
.detail-level { display: flex; align-items: baseline; margin-top: 16px; font-size: 4.2rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.detail-level i { font-style: normal; font-size: .4em; margin-left: .06em; }
.seg-meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; height: 8px; margin-top: 14px; }
.seg-meter i { position: relative; overflow: hidden; border-radius: 99px; background: rgba(24, 20, 15, .14); }
.seg-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--berry); transition: width .6s var(--ease); }
.detail-button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 50px; margin-top: 20px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--ink); color: var(--paper); font: 700 1rem/1 var(--display);
  transition: transform .2s var(--ease), opacity .2s;
}
.detail-button:hover { transform: translateY(-1px); }
.detail-button:active { transform: scale(.98); }
.detail-button .ic { width: 18px; height: 18px; }
.detail-button[aria-busy="true"] { opacity: .85; cursor: progress; }
.detail-button[aria-busy="true"] .ic { animation: spin .9s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.detail-status { min-height: 2.9em; margin-top: 12px; font: 500 .86rem/1.4 var(--body); color: var(--muted) !important; }
.detail-status.is-done { color: var(--ink) !important; }

/* ---------- Tour ---------- */
.tour { position: relative; background: var(--paper); }
.tour-pin { padding-block: clamp(80px, 9vw, 120px) clamp(48px, 5vw, 72px); overflow: hidden; }
.tour-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.tour-head .section-lede { margin-top: 0; }
.tour-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.tour-rail::-webkit-scrollbar { display: none; }
.tour-track {
  display: flex; gap: clamp(20px, 3vw, 40px); width: max-content;
  padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
}
.tour-item { width: clamp(220px, 21vw, 290px); scroll-snap-align: center; }
.tour-item h3 { margin-top: 22px; font-size: 1.2rem; letter-spacing: -.02em; }
.tour-item p { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.tour-progress { height: 3px; margin-top: 36px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.tour-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, .1)); }

.tour.is-pinned .tour-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 84px 24px; }
.tour.is-pinned .tour-rail { overflow: visible; scroll-snap-type: none; }
.tour.is-pinned .tour-track { will-change: transform; }
.tour.is-pinned .tour-item { width: clamp(170px, min(18vw, 25vh), 270px); }
.tour.is-pinned .tour-head h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 3.8rem); }
.tour.is-pinned .tour-item p { font-size: .9rem; }
.tour.is-pinned .tour-item h3 { margin-top: 16px; }
.tour.is-pinned .tour-progress { margin-top: 24px; }
.tour.is-pinned .tour-head { margin-bottom: clamp(20px, 3vh, 40px); }

/* ---------- Glance bento ---------- */
.glance { padding-block: clamp(90px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bento-card { position: relative; display: flex; flex-direction: column; gap: 28px; min-height: 460px; padding: clamp(24px, 3vw, 36px); overflow: hidden; border-radius: 36px; }
.bento-copy p { margin-top: 10px; max-width: 30em; color: var(--muted); }
.bento-widgets { grid-column: span 7; background: var(--cue-soft); }
.bento-menubar { grid-column: span 5; background: var(--blue); }
.bento-lock { grid-column: span 5; background: var(--lavender); padding-bottom: 0; }
.bento-desktop { grid-column: span 7; background: var(--peach); }
.bento-shortcut { grid-column: span 12; flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; background: var(--green); }
.bento-shortcut .bento-copy { max-width: 520px; }
.bento-shortcut .bento-copy p { color: var(--muted-green); }

.wimg { display: block; container-type: inline-size; }
.wimg img { width: 100%; box-shadow: 0 24px 40px -26px rgba(70, 45, 0, .6); }
.wimg--s img { border-radius: 12.9cqi; }
.wimg--l img { border-radius: 6.06cqi; }
.wimg--xl img { border-radius: 2.88cqi; }
.widget-grid { display: grid; grid-template-columns: 2.14fr 1fr; grid-template-rows: auto auto; gap: 16px; align-items: start; margin-top: auto; }
.widget-grid .wimg--l { grid-row: span 2; }
.bento-card .wimg, .widget-grid .wimg { transition: transform .5s var(--spring); }
.bento-card .wimg:hover { transform: translateY(-4px) rotate(-.6deg); }
.bento-desktop .wimg--xl { margin-top: auto; }

.mac-scene { position: relative; margin-top: auto; }
.mac-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  height: 34px; padding-inline: 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .72); font: 600 .8rem/1 var(--body);
}
.mac-bar-app { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mac-bar-app .ic { width: 15px; height: 15px; }
.mac-bar-items { display: flex; align-items: center; gap: 14px; }
.fm-item { display: flex; align-items: center; gap: 5px; }
.fm-item .ic { width: 15px; height: 15px; }
.fm-low { color: #B83318; }
.mac-pop {
  position: relative; width: min(100%, 340px); margin: 12px 0 0 auto; padding: 14px;
  border-radius: 18px; background: #FAF8F3;
  box-shadow: 0 30px 50px -26px rgba(20, 30, 70, .55), 0 0 0 1px rgba(0, 0, 0, .06);
}
.mac-pop-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 12px; border-bottom: 1px solid #E6DFCF; }
.mac-pop-head b { font: 800 .98rem/1 var(--display); letter-spacing: -.03em; }
.mac-pop-head small { display: block; margin-top: 4px; font: 400 .72rem/1 var(--body); color: #57524A; }
.mac-pop-buttons { display: flex; gap: 6px; }
.mac-pop-buttons i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F4F0E6; }
.mac-pop-buttons .ic { width: 13px; height: 13px; }
.mac-rows { margin-top: 6px; }
.mac-rows li {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ic text pct" "ic meter meter";
  align-items: center; gap: 5px 10px; padding: 8px 6px; border-radius: 10px;
}
.mac-rows li > .ic { grid-area: ic; width: 18px; height: 18px; }
.mac-rows li > span:not(.meter) { grid-area: text; min-width: 0; }
.mac-rows b { display: block; font: 600 .82rem/1.2 var(--body); }
.mac-rows small { font-size: .7rem; color: #57524A; }
.mac-rows .pct { grid-area: pct; font: 700 .86rem/1 var(--body); font-variant-numeric: tabular-nums; }
.mac-rows .meter { grid-area: meter; height: 4px; }
.mac-rows .is-low { background: #FBEFE9; }
.mac-rows .is-low .pct { color: #B83318; }
.mac-rows .is-low .meter::after { background: #E5482B; }
.mac-rows .is-stale .pct, .mac-rows .is-stale small { color: #8A8173; }
.mac-rows .is-stale .meter::after { background: repeating-linear-gradient(-45deg, #8A8173 0 3px, transparent 3px 6px); }
.mac-rows .is-charging .meter::after { background: #3DBA6A; }

.lock-peek { position: relative; margin-top: auto; height: clamp(300px, 30vw, 380px); overflow: hidden; }
.lock-peek .iphone-frame { width: min(78%, 300px); margin-inline: auto; transition: translate .8s var(--ease); }
.bento-lock:hover .lock-peek .iphone-frame { translate: 0 -24px; }

.shortcut-scene { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.sc-step { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 16px 30px -22px rgba(30, 40, 10, .6); }
.sc-step small { display: block; font: 600 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-step b { display: block; margin-top: 4px; font: 700 1rem/1.2 var(--display); }
.sc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 22.37%; }
.sc-icon--ink { background: var(--ink); color: var(--cue); }
.sc-icon .ic { width: 20px; height: 20px; }
.sc-join { position: relative; width: 44px; height: 2px; background: var(--ink); }
.sc-join::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 8px); } }

/* ---------- Honest readings ---------- */
.honest { padding-block: clamp(40px, 5vw, 60px) clamp(90px, 10vw, 140px); }
.honest-copy { max-width: 780px; }
.state-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.state-tile { min-height: 190px; font-size: 17px; }
.state-row p { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.state-row p b { display: block; margin-bottom: 2px; font: 700 1.05rem/1.2 var(--display); color: var(--ink); }

/* ---------- Sharing ---------- */
.share { padding-block: clamp(40px, 5vw, 60px) clamp(90px, 10vw, 140px); }
.share-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .ic { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--ink); color: var(--cue); }
.share-scene { position: relative; padding: 0 0 40px; }
.share-phone { width: min(300px, 64%); margin-left: 8%; rotate: -2deg; }
.share-tile { position: absolute; right: 0; bottom: 0; width: min(250px, 50%); font-size: 16px; rotate: 3deg; box-shadow: 0 30px 50px -28px rgba(70, 20, 50, .55); }
.share-tile-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .7); font: 600 .74rem/1 var(--body); }
.share-tile-tag .ic { width: 15px; height: 15px; }

/* ---------- Privacy ---------- */
.privacy { padding-bottom: clamp(90px, 10vw, 140px); }
.privacy-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.privacy-copy h2 { margin-bottom: 28px; }
.privacy-copy .text-link .ic { width: 16px; height: 16px; }
.privacy-list { display: grid; gap: 12px; }
.privacy-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 26px; background: rgba(255, 255, 255, .42); color: var(--muted-green); font-size: .98rem; }
.privacy-list .flower { width: 44px; height: 44px; }
.privacy-list b { display: block; margin-bottom: 3px; font: 700 1.08rem/1.25 var(--display); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(90px, 10vw, 140px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head a { font-weight: 600; color: var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font: 700 clamp(1.08rem, 1rem + .4vw, 1.3rem)/1.3 var(--display); letter-spacing: -.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; transition: rotate .35s var(--spring); }
.faq-list details[open] summary .ic { rotate: 45deg; }
.faq-a { max-width: 40em; padding: 0 4px 26px; color: var(--muted); }
.faq-a a { color: var(--ink); font-weight: 600; }
.faq-list details[open] .faq-a { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Finale ---------- */
.finale { overflow: hidden; padding-top: clamp(96px, 11vw, 150px); background: var(--cue); text-align: center; }
.finale-inner { display: flex; flex-direction: column; align-items: center; }
.finale-icon { width: clamp(96px, 10vw, 132px); border-radius: 22.37%; box-shadow: 0 30px 50px -24px rgba(70, 45, 0, .6); }
.finale h2 { margin-top: 32px; font-size: clamp(2.7rem, 1.3rem + 5.4vw, 6rem); letter-spacing: -.048em; }
.finale .lede { margin: 18px auto 0; }
.store-badge--center { margin-top: 32px; }
.finale-tiles { display: flex; justify-content: center; gap: 14px; margin-top: clamp(64px, 8vw, 100px); margin-bottom: -48px; }
.mini-tile {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 14px;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1; padding: 16px;
  border-radius: 30px; background: var(--tile-bg);
  font: 600 clamp(1.2rem, 1rem + .8vw, 1.7rem)/1 var(--display); letter-spacing: -.03em; text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.mini-tile .ic { width: 22px; height: 22px; }
.mini-tile:nth-child(2) { animation-delay: -1s; }
.mini-tile:nth-child(3) { animation-delay: -2s; }
.mini-tile:nth-child(4) { animation-delay: -3s; }
.mini-tile:nth-child(5) { animation-delay: -4s; }
.mini-tile:nth-child(6) { animation-delay: -5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Footer ---------- */
.foot { padding-block: 40px 48px; border-top: 1px solid var(--rule); background: var(--cream); position: relative; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; gap: 24px; margin-left: auto; }
.foot nav a { font-weight: 600; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.foot-legal { flex-basis: 100%; font-size: .8rem; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .top-nav a { padding-inline: 10px; }
  .float-notif { width: min(300px, 42%); right: 4%; top: 6%; }
}

@media (max-width: 900px) {
  .top-nav { display: none; }
  .top-badge { margin-left: auto; }
  .devices { aspect-ratio: 1200 / 900; }
  .hdev-mac { left: 4%; width: 92%; }
  .hdev-ipad { top: 46%; width: 50%; }
  .hdev-iphone { top: 34%; width: 23%; right: 3%; }
  .float-notif { top: auto; bottom: 0; right: 50%; translate: 50% 0; width: min(340px, 86%); }
  .how-grid, .alerts-panel, .split-cards, .share-grid, .privacy-panel, .faq-grid, .add-card, .tour-head { grid-template-columns: minmax(0, 1fr); }
  .how-sticky { position: relative; top: 0; order: -1; }
  .how-step { min-height: 0; padding-block: 20px; }
  .how-step:first-child { min-height: 0; }
  .faq-head { position: static; }
  .bento-card { grid-column: span 12 !important; min-height: 0; }
  .bento-shortcut { flex-direction: column; align-items: flex-start; }
  .state-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .share-scene { max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-badge { padding: 9px 12px; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 30px; height: 30px; }
  .cta-row { flex-direction: column; gap: 18px; }
  .hdev-mac { left: 0; width: 100%; }
  .hdev-ipad { top: 40%; width: 64%; }
  .hdev-iphone { top: 30%; width: 31%; right: 0; }
  .float-notif { font-size: .8rem; }
  .add-steps { grid-template-columns: minmax(0, 1fr); }
  .threshold-options { display: flex; width: 100%; }
  .threshold button { flex: 1; padding: 0 8px; }
  .widget-grid { gap: 10px; }
  .state-row { gap: 12px; }
  .state-tile { min-height: 160px; font-size: 14px; }
  .shortcut-scene { flex-direction: column; align-items: flex-start; }
  .sc-join { width: 2px; height: 22px; margin-left: 31px; }
  .sc-join::after { left: -3px; animation: none; }
  .finale-tiles .mini-tile:nth-child(n+5) { display: none; }
  .finale-tiles { margin-bottom: -16px; }
  .devices { aspect-ratio: 1 / 1; }
  .foot nav { margin-left: 0; }
  .float-notif { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none !important; }
  .ticker-list[aria-hidden] { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}
