/*
  Brightwater: cloud backup landing page (Screenery template)
  Frutiger Aero: an azure sky, white clouds, rising bubbles, glossy aqua and lime pills with a top highlight,
  translucent glass windows over a grass horizon. Varela Round for the voice, Nunito Sans for everything else.
  Text always sits on a panel solid enough for AA contrast; the glass is the world, not a decoration on top of it.

  Contents
   1. Tokens
   2. Base and browser surfaces
   3. Components: pills, glass, icons, orbs, fields
   4. Header
   5. Hero: sky, clouds, bubbles, hills
   6. Sync window: phone, cards, cloud drop zone, ring, strip, meter, status bar, flying bubbles
   7. Features
   8. Family pond
   9. Devices
  10. Security
  11. Pricing
  12. Sign-up
  13. Questions
  14. Footer
  15. Motion
  16. Narrow screens
*/

/* ---------- 1. Tokens ---------- */
:root {
  /* Sky and water */
  --sky-1: #2f9fe6;
  --sky-2: #7fcdf5;
  --sky-3: #cdeefe;
  --mist: #eaf8ff;          /* page ground below the hero */
  --mist-2: #dff3fc;
  --aqua: #18b4d8;
  --aqua-deep: #0a6e96;     /* white text on it: 5.6:1 */
  --aqua-ink: #06506f;      /* aqua text on white: 8.4:1 */
  --deep-1: #0a6a92;        /* security band, under the water */
  --deep-2: #083e66;

  /* Grass */
  --lime-hi: #b4f070;
  --lime: #6cc61f;
  --lime-lo: #4fae0e;
  --lime-ink: #133904;      /* text on lime: 6:1 or better */
  --soil-1: #245f10;
  --soil-2: #173f08;

  /* Ink */
  --ink: #0b2a44;           /* 14:1 on white */
  --ink-2: #24506f;         /* 8.3:1 on white */
  --ink-3: #3a627f;         /* 6.3:1 on white, 5.4:1 on --sky-3 */
  --on-deep: #f2fbff;
  --on-deep-2: #d6f0fb;     /* 4.9:1 on --deep-1, more below */

  /* Status */
  --ok: #2b7a0b;
  --warn: #a8261c;          /* 6.6:1 on white */
  --warn-bg: #fff1ee;
  --gold: #f2c94c;

  /* Glass */
  --glass: rgb(255 255 255 / 0.8);
  --glass-strong: rgb(255 255 255 / 0.92);
  --glass-edge: rgb(255 255 255 / 0.95);
  --glass-blur: blur(14px) saturate(1.35);

  /* Shape and depth */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow: 0 18px 40px -18px rgb(8 60 100 / 0.45), 0 2px 6px rgb(8 60 100 / 0.08);
  --shadow-lg: 0 34px 70px -26px rgb(8 60 100 / 0.6), 0 4px 12px rgb(8 60 100 / 0.12);

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;

  /* Type */
  --f-display: "Varela Round", "Nunito Sans", system-ui, sans-serif;
  --f-body: "Nunito Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--aqua-deep);
}

/* ---------- 2. Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--aqua) var(--mist); accent-color: var(--aqua-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  caret-color: var(--aqua-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: #9be3fa; color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: linear-gradient(#7fe0ff, var(--aqua)); border-radius: 8px; border: 3px solid var(--mist); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--aqua-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); max-width: 22ch; letter-spacing: -0.01em; }
.lede { margin-top: var(--s-4); max-width: 60ch; color: var(--ink-2); font-size: 1.125rem; }
section { position: relative; }

/* ---------- 3. Components ---------- */
/* Glossy pill: gradient body, a white highlight on the top half, a soft offset shadow */
.pill {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.7em 1.6em;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px -8px rgb(8 60 100 / 0.55), inset 0 -3px 6px rgb(0 0 0 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.9);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}
.pill::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 7%;
  right: 7%;
  top: 2px;
  height: 50%;
  border-radius: var(--r-pill);
  background: linear-gradient(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.12));
  pointer-events: none;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.04) saturate(1.08); box-shadow: 0 12px 22px -8px rgb(8 60 100 / 0.6), inset 0 -3px 6px rgb(0 0 0 / 0.1), inset 0 1px 0 #fff; }
.pill:active { transform: translateY(1px); }
.pill:disabled { filter: grayscale(0.7) brightness(1.05); opacity: 0.72; transform: none; }
.pill--lime { background: linear-gradient(var(--lime-hi), var(--lime) 55%, var(--lime-lo)); color: var(--lime-ink); border-color: #3f9a12; }
.pill--lime:hover { color: var(--lime-ink); }
.pill--aqua { background: linear-gradient(#f6feff, #c4f0fd 55%, #93ddf3); color: #053f5a; border-color: #5ec4e6; }
.pill--aqua:hover { color: #053f5a; }
.pill--sm { min-height: 44px; padding: 0.5em 1.2em; font-size: 0.9375rem; }
.pill--block { display: flex; width: 100%; }
.pill .icon { width: 1.2em; height: 1.2em; stroke-width: 2.2; }

.link-btn { background: none; border: 0; padding: 10px 4px; font-weight: 700; font-size: 0.875rem; color: var(--aqua-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* Aero glass panel: translucent white, bright edge, inner top light. Solid enough for AA text. */
.glass {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.94), rgb(255 255 255 / 0.84));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
}

/* Glossy orb: a sphere with a highlight cap and a coloured body */
.orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  flex: none;
  box-shadow: 0 10px 18px -8px rgb(8 60 100 / 0.6), inset 0 -6px 12px rgb(0 0 0 / 0.18), inset 0 2px 2px rgb(255 255 255 / 0.6);
}
.orb::before { content: ""; position: absolute; left: 14%; right: 14%; top: 5%; height: 44%; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0)); }
.orb .icon { position: relative; width: 26px; height: 26px; stroke-width: 2; filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.25)); }
.orb--aqua { background: radial-gradient(circle at 50% 80%, #6fe4ff, #0a8cc0 70%); }
.orb--lime { background: radial-gradient(circle at 50% 80%, #c9f58f, #3f9a12 70%); }
.orb--sky { background: radial-gradient(circle at 50% 80%, #9fd8ff, #2f6fd0 70%); }

/* ---------- 4. Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: 10px var(--gutter);
  background: linear-gradient(rgb(255 255 255 / 0.9), rgb(235 249 255 / 0.82));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 6px 20px -12px rgb(8 60 100 / 0.5);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo__drop { width: 30px; height: 30px; filter: drop-shadow(0 3px 4px rgb(8 60 100 / 0.3)); }
.logo__word { font-family: var(--f-display); font-size: 1.375rem; letter-spacing: -0.01em; }
.nav { display: flex; gap: var(--s-1); margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: var(--r-pill); color: var(--ink-2); font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.nav a:hover { background: rgb(24 180 216 / 0.12); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff; background: linear-gradient(#fff, #d4f1ff); place-items: center; box-shadow: var(--shadow); }
.menu-btn .icon { width: 22px; height: 22px; }

/* ---------- 5. Hero ---------- */
.hero {
  padding: var(--s-8) 0 200px;
  background: linear-gradient(180deg, var(--sky-1) 0%, #55b7ef 28%, var(--sky-2) 58%, var(--sky-3) 86%, #e4f7ff 100%);
  overflow: hidden;
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute;
  top: -120px;
  right: 8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 240 / 0.95) 0 14%, rgb(255 255 220 / 0.55) 22%, rgb(255 255 255 / 0) 62%);
}
/* lens flare, kept to two faint rings */
.sun::before, .sun::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.28); }
.sun::before { width: 70px; height: 70px; left: -40px; top: 290px; background: rgb(255 255 255 / 0.08); }
.sun::after { width: 26px; height: 26px; left: -90px; top: 380px; background: rgb(190 255 220 / 0.14); }
.cloud { position: absolute; height: auto; filter: drop-shadow(0 14px 18px rgb(10 80 140 / 0.18)); }
.cloud--a { width: 240px; top: auto; bottom: 250px; left: -70px; opacity: 0.95; }
.cloud--b { width: 180px; top: 40px; left: 44%; opacity: 0.85; }
.cloud--c { width: 320px; top: 330px; right: -80px; opacity: 0.9; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.95) 0 10%, rgb(255 255 255 / 0.25) 24%, rgb(160 230 255 / 0.18) 60%, rgb(255 255 255 / 0.55) 100%);
  border: 1px solid rgb(255 255 255 / 0.7);
}
.b1 { width: 46px; height: 46px; left: 6%; bottom: 220px; }
.b2 { width: 22px; height: 22px; left: 14%; bottom: 330px; }
.b3 { width: 34px; height: 34px; left: 40%; bottom: 190px; }
.b4 { width: 16px; height: 16px; left: 48%; bottom: 420px; }
.b5 { width: 58px; height: 58px; right: 4%; bottom: 260px; }
.b6 { width: 26px; height: 26px; right: 12%; bottom: 470px; }
.hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: var(--s-7);
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.9rem); letter-spacing: -0.02em; max-width: 14ch; text-shadow: 0 2px 0 rgb(255 255 255 / 0.35); }
.hero__lede { margin-top: var(--s-5); max-width: 46ch; font-size: 1.1875rem; color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__facts { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-2); font-weight: 700; color: var(--ink); }
.hero__facts li { display: flex; gap: var(--s-2); align-items: center; }
.hero__facts .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--glass-strong); color: var(--ok); stroke-width: 2.6; }

/* ---------- 6. Sync window ---------- */
.win {
  position: relative;
  border-radius: 20px;
  padding: 6px;
  background: linear-gradient(160deg, rgb(220 246 255 / 0.75), rgb(120 205 240 / 0.55));
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff, inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.win__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 12px 10px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.55) 50%, rgb(210 242 255 / 0.5) 51%, rgb(255 255 255 / 0.7));
}
.win__drop { width: 22px; height: 22px; }
.win__title { font-size: 1rem; white-space: nowrap; }
.win__plan { margin-left: auto; font-size: 0.8125rem; font-weight: 700; color: var(--aqua-ink); background: rgb(255 255 255 / 0.9); padding: 3px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.win__body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 6px;
}

/* Phone panel: a drawn phone with the photo grid on its screen */
.phone {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: 14px 12px 12px;
  background: #fff;
  border: 5px solid #1d2a3a;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px #3a4b60, 0 10px 20px -12px rgb(8 40 70 / 0.6);
}
.phone__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.phone__title { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 1rem; }
.phone__title .icon { color: var(--aqua-deep); }
.phone__hint { font-size: 0.8125rem; line-height: 1.4; color: var(--ink-3); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3px 3px 5px;
  text-align: left;
  border: 1px solid #d5e7f2;
  border-radius: 10px;
  background: #f7fcff;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.3s;
}
.card:hover { box-shadow: 0 6px 12px -6px rgb(8 60 100 / 0.45); transform: translateY(-1px); }
.card__img { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: 7px; overflow: hidden; }
.card__name { margin-top: 3px; font-size: 0.75rem; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__meta { font-size: 0.6875rem; line-height: 1.25; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__len { position: absolute; top: 6px; left: 6px; padding: 0 5px; border-radius: 6px; background: rgb(11 42 68 / 0.82); color: #fff; font-size: 0.6875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card__tag { position: absolute; top: 6px; right: 6px; display: none; padding: 1px 6px; border-radius: var(--r-pill); font-size: 0.6875rem; font-weight: 800; background: #fff; color: var(--ink); box-shadow: 0 2px 4px rgb(0 0 0 / 0.15); }
.card[aria-pressed="true"] { border-color: var(--aqua-deep); background: #e5f7ff; box-shadow: 0 0 0 2px var(--aqua-deep); }
.card[aria-pressed="true"]::after {
  content: "";
  position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--aqua-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 2px #fff;
}
.card[data-status] .card__tag { display: block; }
.card[data-status] .card__len { display: none; }
.card[data-status="queued"] .card__tag { background: #fff; color: var(--aqua-ink); }
.card[data-status="uploading"] .card__tag { background: var(--aqua-deep); color: #fff; }
.card[data-status="done"] .card__tag { background: var(--ok); color: #fff; }
.card[data-status="skipped"] .card__tag { background: #fff6d6; color: #6a4a00; }
.card[data-status="failed"] .card__tag { background: var(--warn); color: #fff; }
.card[data-status="done"] .card__img, .card[data-status="skipped"] .card__img { opacity: 0.55; }
.card[data-status="uploading"] .card__img { opacity: 0.35; }
.card.is-dragging { opacity: 0.4; }

/* Cloud panel */
.vault {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.9), rgb(240 251 255 / 0.92));
}
.drop {
  flex: 1 1 auto;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 30%, #bfeaff, #73c6ef 75%);
  border: 2px dashed rgb(255 255 255 / 0.95);
  box-shadow: inset 0 6px 16px rgb(255 255 255 / 0.5), inset 0 -10px 20px rgb(10 110 150 / 0.2);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;
}
.drop__cloud { position: absolute; inset: 8% 6%; width: 88%; height: 84%; filter: drop-shadow(0 10px 12px rgb(8 80 130 / 0.25)); }
.ring { position: relative; width: 112px; height: 112px; transform: rotate(-90deg); margin-top: 12px; }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: rgb(10 110 150 / 0.14); }
.ring__fill { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 0.25s linear; filter: drop-shadow(0 0 2px rgb(255 255 255 / 0.9)); }
.drop__read { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -38%); text-align: center; width: 70%; }
.drop__pct { display: block; font-family: var(--f-display); font-size: 1.625rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.drop__count { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 800; color: var(--ink-2); line-height: 1.25; }
.drop__label { position: absolute; left: 0; right: 0; text-align: center; font-size: 0.8125rem; font-weight: 800; color: var(--ink); }
.drop__label--top { top: 12px; font-family: var(--f-display); font-weight: 400; font-size: 1rem; }
.drop__label--bottom { bottom: 12px; }
.drop__label--top, .drop__label--bottom { text-shadow: 0 1px 0 rgb(255 255 255 / 0.6); }
.drop.is-over { transform: scale(1.03); background: radial-gradient(ellipse at 50% 30%, #d9f6ff, #8fe0a0 80%); box-shadow: 0 0 0 4px rgb(108 198 31 / 0.6), inset 0 6px 16px rgb(255 255 255 / 0.6); }
.drop.is-catch { animation: catch 0.5s var(--ease-out); }
@keyframes catch { 40% { transform: scale(1.04); } }

.strip__label { font-size: 0.75rem; font-weight: 800; color: var(--ink-2); }
.strip__list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; min-height: 30px; }
.strip__list li:not(.strip__empty) { width: 40px; height: 30px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 3px 6px -2px rgb(8 60 100 / 0.4); animation: pop 0.45s var(--ease-out); }
.strip__list svg { width: 100%; height: 100%; }
.strip__empty { font-size: 0.8125rem; color: var(--ink-3); line-height: 30px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

.meter__row { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meter__used strong { color: var(--ink); }
.meter__bar { margin-top: 6px; height: 16px; border-radius: var(--r-pill); background: linear-gradient(#d4e8f3, #eef7fc); box-shadow: inset 0 2px 3px rgb(8 60 100 / 0.25); overflow: hidden; }
.meter__fill {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(#8fe9ff, #18b4d8 55%, #0a8cc0);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8);
  transition: width 0.6s var(--ease-out);
}
.win[data-full] .meter__fill { background: linear-gradient(#ffb59e, #e0573a 55%, #b33a20); }

.win__status {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: 6px;
  padding: 8px 8px 8px 14px;
  border-radius: 0 0 14px 14px;
  background: rgb(255 255 255 / 0.9);
}
.status { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 0.875rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.status .icon { color: var(--ok); stroke-width: 2.4; }
.status[data-tone="busy"] .icon { color: var(--aqua-deep); }
.status[data-tone="warn"] .icon { color: var(--warn); }
.win__tools { display: flex; gap: 6px; flex: none; }
.tool {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid #b9dcee;
  background: linear-gradient(#fff, #e3f4fc);
  font-weight: 800; font-size: 0.8125rem; color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgb(8 60 100 / 0.12);
}
.tool:disabled { color: #5d7a90; background: #f1f6f9; }
.tool .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.switch { position: relative; width: 34px; height: 20px; border-radius: 10px; background: #8aa3b5; transition: background 0.3s; box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.3); }
.switch span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(#fff, #dfeaf1); box-shadow: 0 1px 2px rgb(0 0 0 / 0.3); transition: transform 0.3s var(--ease-out); }
.tool--switch[aria-checked="true"] .switch { background: var(--lime-lo); }
.tool--switch[aria-checked="true"] .switch span { transform: translateX(14px); }

.win__alert {
  display: flex; align-items: flex-start; gap: var(--s-3);
  margin-top: 6px; padding: 12px 14px;
  border-radius: 14px;
  background: var(--warn-bg);
  border: 1px solid #f3b9ae;
  color: #5c140e; font-size: 0.875rem; font-weight: 600; line-height: 1.45;
}
.win__alert[hidden] { display: none; }
.win__alert .icon { color: var(--warn); width: 22px; height: 22px; margin-top: 1px; }
.win__alert--info { background: #fff8dd; border-color: #ecd58a; color: #4a3600; }
.win__alert--info .icon { color: #8a6400; }
.win__alert strong { display: block; font-weight: 800; }
.win__alert .pill { margin-top: 8px; min-height: 40px; font-size: 0.875rem; padding: 0.4em 1.1em; }
.win__alert-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Flying bubbles: a photo inside a soap bubble, drawn above everything */
.bubble-layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; overflow: visible; }
.fly {
  position: absolute; left: 0; top: 0;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 50%;
  will-change: transform;
}
.fly svg { width: 100%; height: 100%; border-radius: 50%; }
.fly::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, rgb(255 255 255 / 0.95) 0 9%, rgb(255 255 255 / 0.2) 22%, rgb(160 230 255 / 0.12) 62%, rgb(255 255 255 / 0.7) 100%);
  border: 1.5px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 8px 16px -6px rgb(8 60 100 / 0.5);
}
.fly.is-pop { transition: transform 0.3s var(--ease-out), opacity 0.3s; opacity: 0; }
.ghost {
  position: fixed; z-index: 60; left: 0; top: 0; width: 84px; height: 63px; margin: -32px 0 0 -42px;
  border-radius: 10px; overflow: hidden; pointer-events: none;
  box-shadow: 0 0 0 3px #fff, 0 16px 26px -10px rgb(8 60 100 / 0.7);
  transform: rotate(-4deg);
}
.ghost svg { width: 100%; height: 100%; }
.ghost__n { position: absolute; right: 4px; bottom: 4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--aqua-deep); color: #fff; font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; }

/* ---------- 7. Features ---------- */
.features { padding: var(--s-8) 0; background: linear-gradient(#e4f7ff, var(--mist)); }
.features__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-6); margin-top: var(--s-7); align-items: start; }
.charge { margin: 0; padding: 12px 12px var(--s-5); overflow: hidden; }
.charge__art { width: 100%; height: auto; border-radius: 16px; }
.charge figcaption { padding: var(--s-5) var(--s-3) 0; }
.charge h3 { font-size: 1.5rem; }
.charge p { margin-top: var(--s-2); color: var(--ink-2); }
.orbs { list-style: none; margin: 0; padding: var(--s-3) var(--s-5); }
.orbs li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) 0; }
.orbs li + li { border-top: 1px solid #d6eaf4; }
.orbs h3 { font-size: 1.1875rem; }
.orbs p { margin-top: 4px; color: var(--ink-2); font-size: 1rem; }

/* ---------- 8. Family pond ---------- */
.family { padding: var(--s-8) 0; background: linear-gradient(var(--mist), #e3f8ee 70%, var(--mist)); }
.family__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; }
.album { margin-top: var(--s-6); padding: var(--s-5); }
.album__head { display: flex; gap: var(--s-4); align-items: center; }
.album__img { width: 88px; height: 66px; border-radius: 10px; box-shadow: 0 0 0 3px #fff, 0 6px 12px -6px rgb(8 60 100 / 0.5); flex: none; }
.album h3 { font-size: 1.25rem; }
.album__head p { color: var(--ink-3); font-size: 0.9375rem; }
.person { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid #d6eaf4; }
.person__name { font-weight: 800; }
.person__facts { margin: var(--s-3) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.person__facts dt { font-size: 0.8125rem; color: var(--ink-3); font-weight: 700; }
.person__facts dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }

.pond { position: relative; }
.pond__water { width: 100%; height: auto; aspect-ratio: 560 / 420; }
.avatars { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 0 auto 0; aspect-ratio: 560 / 420; }
.avatars li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(var(--s)); }
.ava {
  position: relative;
  display: grid; justify-items: center; gap: 4px;
  padding: 0; border: 0; background: none;
  border-radius: 50%;
}
.ava svg {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 50% 75%, var(--h), #fff 95%);
  border: 2px solid rgb(255 255 255 / 0.95);
  box-shadow: 0 14px 22px -10px rgb(8 60 100 / 0.6), inset 0 -8px 14px rgb(0 0 0 / 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.ava::before { content: ""; position: absolute; z-index: 1; left: 20px; top: 6px; width: 40px; height: 22px; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0)); pointer-events: none; transform: rotate(-18deg); }
.ava span { white-space: nowrap; padding: 2px 10px; border-radius: var(--r-pill); background: var(--glass-strong); font-weight: 800; font-size: 0.875rem; color: var(--ink); box-shadow: 0 2px 6px rgb(8 60 100 / 0.15); }
.ava:hover svg { transform: translateY(-3px); }
.ava[aria-checked="true"] svg { box-shadow: 0 0 0 4px var(--lime), 0 18px 26px -10px rgb(8 60 100 / 0.65); }
.ava[aria-checked="true"] span { background: var(--lime-ink); color: #fff; }
.ava:focus-visible { box-shadow: none; }
.ava:focus-visible svg { box-shadow: var(--focus); }
.pool { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r); }
.pool__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pool__row strong { color: var(--ink); }
.pool__bar { display: flex; margin-top: 8px; height: 14px; border-radius: var(--r-pill); overflow: hidden; background: linear-gradient(#d4e8f3, #eef7fc); box-shadow: inset 0 2px 3px rgb(8 60 100 / 0.2); }
.pool__bar span { width: var(--w); background: linear-gradient(rgb(255 255 255 / 0.6), rgb(255 255 255 / 0) 50%), var(--c); }
.pool__key { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pool__key li { display: flex; align-items: center; gap: 6px; }
.pool__key li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -1px 2px rgb(0 0 0 / 0.2); }

/* ---------- 9. Devices ---------- */
.devices { padding: var(--s-8) 0 var(--s-9); background: linear-gradient(var(--mist), #d8f1fd); }
.shelf {
  list-style: none; margin: var(--s-7) 0 0; padding: var(--s-6) var(--s-5) var(--s-5);
  display: grid; grid-template-columns: 0.75fr 1fr 1.2fr 1.35fr 0.9fr; gap: var(--s-5); align-items: end;
  border-radius: var(--r-lg);
  background: linear-gradient(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.85));
  border: 1px solid #fff;
  box-shadow: var(--shadow);
}
.dev svg { width: 100%; height: auto; max-height: 150px; margin: 0 auto; }
.dev h3 { margin-top: var(--s-3); font-size: 1.125rem; }
.dev p { margin-top: 2px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.45; }
.web-note { display: block; margin-top: var(--s-5); font-weight: 700; color: var(--ink-2); }
.web-note .icon { display: inline-block; vertical-align: -4px; color: var(--aqua-deep); }

/* ---------- 10. Security: under the water line ---------- */
.security {
  padding: var(--s-9) 0;
  color: var(--on-deep);
  background: linear-gradient(180deg, var(--deep-1), var(--deep-2));
  overflow: hidden;
}
.security::before {
  /* the water surface */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v14c-120 18-240 18-360 0s-240-18-360 0-240 18-360 0S120-4 0 14z' fill='%23d8f1fd'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.security .wrap { position: relative; z-index: 1; }
.security__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: center; }
.vault-art { width: 100%; max-width: 360px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgb(0 20 40 / 0.45)); }
.security .lede { color: var(--on-deep-2); }
.facts { margin: var(--s-6) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.facts dt { display: flex; align-items: center; gap: var(--s-2); font-weight: 800; font-size: 1.0625rem; }
.facts dt .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 0.3), rgb(255 255 255 / 0.08)); border: 1px solid rgb(255 255 255 / 0.4); }
.facts dd { margin: 6px 0 0; color: var(--on-deep-2); font-size: 1rem; }
.security a { color: #fff; }

/* ---------- 11. Pricing ---------- */
.pricing { padding: var(--s-9) 0; background: linear-gradient(180deg, var(--sky-2), var(--sky-3) 60%, var(--mist)); overflow: hidden; }
.pricing .lede { color: var(--ink); }
.billing { display: inline-flex; margin-top: var(--s-6); padding: 4px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.85); box-shadow: inset 0 2px 4px rgb(8 60 100 / 0.18); }
.billing button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: none; font-weight: 800; color: var(--ink-2); }
.billing button[aria-checked="true"] { background: linear-gradient(#fff, #d4f1ff); color: var(--ink); box-shadow: 0 3px 8px -2px rgb(8 60 100 / 0.4), inset 0 1px 0 #fff; }
.plans { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.86));
  border: 1px solid #fff;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.plan h3 { font-size: 1.5rem; }
.plan__size { margin-top: var(--s-2); font-family: var(--f-display); font-size: 2.25rem; line-height: 1.1; color: var(--aqua-ink); }
.plan__size span { display: block; font-family: var(--f-body); font-size: 0.9375rem; font-weight: 700; color: var(--ink-3); }
.plan__price { margin-top: var(--s-4); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.plan__price strong { font-size: 1.75rem; color: var(--ink); font-weight: 800; }
.plan__gb { font-size: 0.875rem; font-weight: 700; color: var(--ok); font-variant-numeric: tabular-nums; }
.plan__list { margin: var(--s-4) 0 var(--s-5); padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.9375rem; flex: 1; }
.plan__list li { padding-left: 22px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 15%, var(--aqua) 60%); }
.plan.is-current { transform: translateY(-8px); box-shadow: 0 0 0 3px var(--lime), var(--shadow-lg); }
.plan.is-current .pill { background: linear-gradient(var(--lime-hi), var(--lime) 55%, var(--lime-lo)); color: var(--lime-ink); border-color: #3f9a12; }
.pricing__note { margin-top: var(--s-5); font-size: 0.875rem; color: var(--ink-2); }

/* ---------- 12. Sign-up ---------- */
.signup { padding: var(--s-8) 0 var(--s-9); background: linear-gradient(var(--mist), #e6f9e0); }
.signup__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.summary { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r); font-weight: 700; font-variant-numeric: tabular-nums; }
.form { padding: var(--s-6); display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 800; font-size: 0.9375rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #9fc4d8; border-radius: 12px;
  background: linear-gradient(#f4fbff, #fff);
  box-shadow: inset 0 2px 3px rgb(8 60 100 / 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #4d6c82; }
.field input:focus-visible { outline: none; border-color: var(--aqua-deep); box-shadow: inset 0 2px 3px rgb(8 60 100 / 0.12), 0 0 0 3px rgb(24 180 216 / 0.35); }
.field input[aria-invalid="true"] { border-color: var(--warn); background: #fffafa; }
.err { font-size: 0.875rem; font-weight: 700; color: var(--warn); min-height: 0; }
.err:empty { display: none; }
.hint { font-size: 0.875rem; color: var(--ink-3); }
.pass { position: relative; }
.pass input { padding-right: 96px !important; }
.pass__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: #e3f4fc; font-weight: 800; font-size: 0.8125rem; color: var(--aqua-ink); }
.pass__toggle .icon { width: 18px; height: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 14px; background: #e6f2f8; box-shadow: inset 0 2px 3px rgb(8 60 100 / 0.15); }
.seg--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 6px; border-radius: 10px; font-weight: 800; font-size: 0.9375rem; color: var(--ink-2); text-align: center; line-height: 1.2; }
.seg small { display: block; font-weight: 700; font-size: 0.75rem; color: var(--ink-3); }
.seg input:checked + span { background: linear-gradient(#fff, #d4f1ff); color: var(--ink); box-shadow: 0 3px 8px -3px rgb(8 60 100 / 0.45), inset 0 1px 0 #fff; }
.seg input:focus-visible + span { box-shadow: var(--focus); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600 !important; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgb(19 57 4 / 0.25); border-top-color: var(--lime-ink); }
.is-loading .spinner { display: block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__alert { display: flex; gap: var(--s-3); padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid #f3b9ae; color: #5c140e; font-weight: 600; font-size: 0.9375rem; }
.form__alert[hidden] { display: none; }
.form__alert .icon { color: var(--warn); width: 22px; height: 22px; }
.done { padding: var(--s-7) var(--s-6); text-align: center; display: grid; justify-items: center; gap: var(--s-3); }
.done[hidden], .form[hidden] { display: none; }
.done { grid-column: 2; grid-row: 1; }
.done__art { width: 150px; height: auto; }
.done h3 { font-size: 1.75rem; }
.done p { max-width: 42ch; color: var(--ink-2); }

.steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.steps li { display: flex; gap: var(--s-4); align-items: flex-start; }
.steps .orb { width: 46px; height: 46px; }
.steps .orb .icon { width: 22px; height: 22px; }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--ink-2); font-size: 1rem; margin-top: 2px; }

/* ---------- 13. Questions ---------- */
.ask { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r); }
.ask h3 { font-size: 1.25rem; }
.ask p { margin-top: var(--s-2); color: var(--ink-2); }
.faq { padding: var(--s-9) 0 var(--s-8); background: linear-gradient(#e6f9e0, var(--mist)); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-7); align-items: start; }
.faq__list { display: grid; gap: var(--s-3); }
.faq details { border-radius: var(--r); background: linear-gradient(rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.85)); border: 1px solid #fff; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 16px 20px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.0625rem; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--aqua-deep); transition: transform 0.35s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); max-width: 65ch; }

/* ---------- 14. Footer ---------- */
.foot { position: relative; margin-top: -2px; background: var(--mist); }
.foot__grass { display: block; width: 100%; height: 110px; }
.foot__ground { margin-top: -2px; padding: var(--s-6) 0 var(--s-7); background: linear-gradient(var(--soil-1), var(--soil-2)); color: #eefbe2; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-6); }
.foot__word { font-family: var(--f-display); font-size: 1.75rem; color: #fff; }
.foot__brand p + p { margin-top: var(--s-2); color: #d3efbf; max-width: 50ch; }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--s-5); align-content: start; }
.foot__nav a { color: #eefbe2; padding: 8px 0; font-weight: 700; text-decoration-color: rgb(238 251 226 / 0.5); overflow-wrap: anywhere; }
.foot__nav a:hover { color: #fff; }
.foot__fine { grid-column: 1 / -1; padding-top: var(--s-5); border-top: 1px solid rgb(238 251 226 / 0.2); font-size: 0.875rem; color: #c7e6b0; }
.foot :focus-visible { box-shadow: 0 0 0 3px var(--soil-2), 0 0 0 6px #b4f070; }

/* ---------- 15. Motion (only when the visitor allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cloud--a { animation: drift 60s linear infinite alternate; }
  .cloud--b { animation: drift 80s linear infinite alternate-reverse; }
  .cloud--c { animation: drift 70s linear infinite alternate; }
  .bubble { animation: rise 14s ease-in-out infinite; }
  .b2 { animation-duration: 11s; animation-delay: -3s; }
  .b3 { animation-duration: 17s; animation-delay: -6s; }
  .b4 { animation-duration: 12s; animation-delay: -2s; }
  .b5 { animation-duration: 19s; animation-delay: -9s; }
  .b6 { animation-duration: 13s; animation-delay: -5s; }
  .avatars li:nth-child(odd) .ava svg { animation: bob 6s ease-in-out infinite; }
  .avatars li:nth-child(even) .ava svg { animation: bob 7s ease-in-out -2s infinite; }
  .charge__bubbles circle { animation: rise-small 5s ease-in-out infinite; }
  .charge__bubbles circle:nth-child(2) { animation-delay: -1.5s; }
  .charge__bubbles circle:nth-child(3) { animation-delay: -3s; }
  .charge__bubbles circle:nth-child(4) { animation-delay: -4s; }
}
@keyframes drift { to { transform: translateX(90px); } }
@keyframes rise { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(12px, -60px); } }
@keyframes rise-small { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 16. Narrow screens ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 680px; }
  .win { max-width: 700px; width: 100%; justify-self: center; }
  .nav a { padding: 10px 8px; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .top__cta { margin-left: auto; }
  .nav {
    position: absolute; top: calc(100% + 8px); right: var(--gutter); left: auto;
    display: none; flex-direction: column; gap: 2px; min-width: 220px; padding: 8px;
    border-radius: var(--r); background: linear-gradient(#fff, #eef9ff); border: 1px solid #fff; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .features__grid, .family__inner, .security__inner, .signup__inner, .faq__inner { grid-template-columns: minmax(0, 1fr); }
  .done { grid-column: auto; grid-row: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .plan.is-current { transform: none; }
  .vault-art { max-width: 240px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding: var(--s-6) 0 150px; }
  .hills { height: 140px; }
  .sun { width: 240px; height: 240px; top: -80px; right: -40px; }
  .cloud--a { width: 170px; top: 30px; }
  .cloud--b { display: none; }
  .cloud--c { width: 200px; top: auto; bottom: 120px; }
  .hero__actions .pill { flex: 1 1 100%; }
  .win__body { grid-template-columns: minmax(0, 1fr); }
  .win__plan { font-size: 0.75rem; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .drop { min-height: 240px; }
  .win__status { flex-wrap: wrap; padding: 10px; }
  .status { flex: 1 1 100%; }
  .win__tools { width: 100%; }
  .win__tools .tool { flex: 1; justify-content: center; }
  .top { gap: var(--s-3); }
  .top__cta { font-size: 0.875rem; padding: 0.5em 1em; }
  .logo__word { font-size: 1.2rem; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--s-5) var(--s-4); }
  .dev:last-child { grid-column: 1 / -1; max-width: 60%; justify-self: center; text-align: center; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .person__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ava svg { width: 72px; height: 72px; }
  .ava::before { left: 14px; width: 30px; height: 16px; }
  .ava span { font-size: 0.8125rem; }
  .form { padding: var(--s-5) var(--s-4); }
  .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot__nav a:last-child { grid-column: 1 / -1; }
  .win__plan { font-size: 0.75rem; padding: 3px 8px; }
  .win__title { font-size: 0.9375rem; }
  .orbs { padding: var(--s-2) var(--s-4); }
}
@media (max-width: 400px) {
  .top__cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* Lead review fix: on narrow screens copy spans the full width and the rising bubbles drift through it,
   so keep two small ones tucked against the right edge only */
@media (max-width: 760px) {
  .bubble.b1, .bubble.b2, .bubble.b3, .bubble.b4 { display: none; }
  .bubble.b5 { width: 34px; height: 34px; right: -16px; opacity: 0.6; }
  .bubble.b6 { width: 18px; height: 18px; right: -6px; opacity: 0.6; }
  .sun::before, .sun::after { display: none; } /* the lens-flare rings land on the intro text */
}
