/* Passyble site. One stylesheet, no build step, no JavaScript, no external resources.
   Palette: Passyble brand blue (#2563eb, tile #3170f0 to #1d4ed8) with warm, playful accents.
   Every text color below meets WCAG AA (4.5:1) on the backgrounds it is used on, in both themes. */

:root {
  color-scheme: light dark;
  --bg: #fff8f1;
  --bg-2: #ffecdc;
  --surface: #ffffff;
  --surface-2: #fffaf5;
  --text: #1c1a36;
  --text-muted: #56526d;
  --border: #f0dccb;
  --link: #1d4ed8;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --violet: #6d3df2;
  --pink: #e8417f;
  --coral: #ff7a45;
  --sun: #ffc23d;
  --mint: #16b394;
  --grad: linear-gradient(120deg, #2563eb 0%, #6d3df2 52%, #d6336c 100%);
  --grad-text: linear-gradient(100deg, #1d4ed8 0%, #6a32e8 50%, #c2255c 100%);
  --grad-band: linear-gradient(135deg, #1d4ed8 0%, #4329cf 55%, #6623b5 100%);
  --blob-1: #ffd3b8;
  --blob-2: #cfe0ff;
  --blob-3: #ffd6e6;
  --blob-4: #fff0b8;
  --blob-5: #d8f5ec;
  --shadow-sm: 0 2px 6px rgba(70, 40, 110, 0.08), 0 8px 20px -12px rgba(70, 40, 110, 0.25);
  --shadow: 0 18px 50px -18px rgba(60, 30, 110, 0.35), 0 4px 14px -6px rgba(60, 30, 110, 0.15);
  --shadow-lg: 0 40px 80px -30px rgba(40, 20, 90, 0.45), 0 10px 30px -12px rgba(40, 20, 90, 0.2);
  --code-bg: #f6e9dc;
  /* Icon bubbles: background, icon color. */
  --c-blue-bg: #e2ebff;
  --c-blue: #1d4ed8;
  --c-pink-bg: #ffe1ec;
  --c-pink: #b4245a;
  --c-sun-bg: #fff0c2;
  --c-sun: #8a5300;
  --c-mint-bg: #d4f5ea;
  --c-mint: #0b6e5a;
  --c-violet-bg: #ebe3ff;
  --c-violet: #5427d4;
  --c-coral-bg: #ffe4d6;
  --c-coral: #b23c0a;
  --radius: 22px;
  --radius-lg: 34px;
  --max: 46rem;
  --max-wide: 76rem;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13122b;
    --bg-2: #1a1838;
    --surface: #221f45;
    --surface-2: #1d1b3d;
    --text: #f4f2ff;
    --text-muted: #bdb8da;
    --border: #36326a;
    --link: #a8c2ff;
    --grad-text: linear-gradient(100deg, #8fb1ff 0%, #c2a4ff 50%, #ff92bf 100%);
    --blob-1: #5a2d4f;
    --blob-2: #22357a;
    --blob-3: #4d2466;
    --blob-4: #4a3a1d;
    --blob-5: #134a4a;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3), 0 8px 20px -12px rgba(0, 0, 0, 0.6);
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7), 0 4px 14px -6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    --code-bg: #2c2858;
    --c-blue-bg: #24346e;
    --c-blue: #b3c9ff;
    --c-pink-bg: #4b2241;
    --c-pink: #ffb0cd;
    --c-sun-bg: #45381a;
    --c-sun: #ffd978;
    --c-mint-bg: #143f3d;
    --c-mint: #8fe9cf;
    --c-violet-bg: #352767;
    --c-violet: #cdb8ff;
    --c-coral-bg: #4a2a22;
    --c-coral: #ffb998;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

/* `clip` where supported: keeps position: sticky working for the header. */
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
svg {
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :focus-visible {
    outline-color: #8fb1ff;
  }
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  margin-top: 0;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p,
ul,
ol,
dl,
table {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.35rem;
}

/* Skip link */
.skip {
  position: absolute;
  left: 16px;
  top: -4rem;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  z-index: 50;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}

.prose {
  max-width: var(--max);
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

@supports (background: color-mix(in srgb, red 50%, blue)) {
  header.site {
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
  }
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.35));
}

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.site li + li {
  margin-top: 0;
}

nav.site a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

nav.site a:hover {
  background: var(--c-blue-bg);
  color: var(--c-blue);
}

nav.site a[aria-current="page"] {
  background: var(--c-violet-bg);
  color: var(--c-violet);
}

a.header-cta {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  box-shadow: 0 6px 16px -6px rgba(29, 78, 216, 0.6);
}

a.header-cta:hover {
  background: #1a44c0;
}

@media (max-width: 719px) {
  header.site {
    position: relative;
  }

  header.site nav.site {
    order: 3;
    width: 100%;
    margin: 0 -0.55rem;
  }

  nav.site a {
    padding: 0.3rem 0.55rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 720px) {
  header.site nav.site {
    margin-left: auto;
  }
}

/* ---------- Buttons, chips, status pills ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button .ico {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.button.primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 14px 30px -12px rgba(80, 50, 220, 0.7), 0 3px 8px -3px rgba(37, 99, 235, 0.5);
}

.button.ghost {
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  box-shadow: 0 18px 34px -12px rgba(80, 50, 220, 0.8), 0 3px 8px -3px rgba(37, 99, 235, 0.5);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.chips li + li {
  margin-top: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem 0.38rem 0.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.chip .ico {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.chip.blue .ico { color: var(--c-blue); }
.chip.pink .ico { color: var(--c-pink); }
.chip.mint .ico { color: var(--c-mint); }
.chip.violet .ico { color: var(--c-violet); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--c-sun-bg);
  color: var(--c-sun);
}

.status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.status.violet {
  background: var(--c-violet-bg);
  color: var(--c-violet);
}

/* ---------- Icons ---------- */

.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bubble {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: var(--c-blue-bg);
  color: var(--c-blue);
  flex: none;
}

.bubble .ico {
  width: 1.6rem;
  height: 1.6rem;
}

.blue > .bubble, .bubble.blue { background: var(--c-blue-bg); color: var(--c-blue); }
.pink > .bubble, .bubble.pink { background: var(--c-pink-bg); color: var(--c-pink); }
.sun > .bubble, .bubble.sun { background: var(--c-sun-bg); color: var(--c-sun); }
.mint > .bubble, .bubble.mint { background: var(--c-mint-bg); color: var(--c-mint); }
.violet > .bubble, .bubble.violet { background: var(--c-violet-bg); color: var(--c-violet); }
.coral > .bubble, .bubble.coral { background: var(--c-coral-bg); color: var(--c-coral); }

/* ---------- Decorative blobs and waves ---------- */

.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blobs svg {
  position: absolute;
  max-width: none;
}

.blob-a { width: 640px; top: -200px; right: -180px; color: var(--blob-2); }
.blob-b { width: 520px; top: 42%; left: -280px; color: var(--blob-1); }
.blob-c { width: 380px; bottom: -120px; right: 22%; color: var(--blob-3); }
.blob-d { width: 200px; top: 70px; left: 40%; color: var(--blob-4); }

.wave {
  display: block;
  width: 100%;
  height: clamp(36px, 6vw, 90px);
  max-width: none;
  margin: 0;
}

.wave path {
  fill: var(--bg-2);
}

.wave.to-bg {
  background: var(--bg-2);
}

.wave.to-bg path {
  fill: var(--bg);
}

/* ---------- Hero ---------- */

main {
  display: block;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 2.25rem 0 3rem;
}

.hero .wrap {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.95rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.eyebrow .dot {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--c-pink-bg);
  color: var(--c-pink);
}

.eyebrow .dot .ico {
  width: 0.95rem;
  height: 0.95rem;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (forced-colors: active) {
  .grad-text {
    background: none;
    color: CanvasText;
  }
}

.squiggle {
  position: relative;
  display: inline-block;
}

.squiggle svg {
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 0.34em;
  max-width: none;
  color: var(--coral);
  overflow: visible;
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin-top: 1.4rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* The device collage: the Windows app, the phone and the extension popup. */
.collage {
  position: relative;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  aspect-ratio: 1 / 0.9;
}

.collage > * {
  position: absolute;
}

.collage .window {
  width: 86%;
  left: 0;
  top: 6%;
}

.collage .phone {
  width: 28%;
  right: 0;
  top: 17%;
  rotate: 5deg;
}

.collage .popup {
  width: 31%;
  left: 18%;
  top: 46%;
  rotate: -4deg;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.9vw, 0.95rem);
  line-height: 1.2;
  white-space: nowrap;
  z-index: 3;
}

.sticker .bubble {
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
}

.sticker .bubble .ico {
  width: 1.1em;
  height: 1.1em;
}

.sticker .code {
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.collage .sticker.s1 { top: 0; right: 20%; rotate: 3deg; }
.collage .sticker.s2 { top: 72%; left: 0; rotate: -3deg; }
.collage .sticker.s3 { bottom: 2%; right: 4%; rotate: 2deg; }

.sparkle {
  width: clamp(18px, 3vw, 30px);
  color: var(--sun);
  z-index: 3;
}

.collage .sparkle.k1 { top: 0; left: 40%; }
.collage .sparkle.k2 { top: 40%; left: 1%; color: var(--pink); width: clamp(14px, 2.2vw, 22px); }
.collage .sparkle.k3 { bottom: 16%; right: 33%; color: var(--mint); width: clamp(14px, 2.2vw, 22px); }

@media (min-width: 1000px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3.5rem;
  }

  .collage {
    max-width: none;
  }
}

/* ---------- Device frames ---------- */

.window {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.window .bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: clamp(1.3rem, 2.4vw, 2rem);
  padding: 0 clamp(0.45rem, 1.2vw, 0.75rem);
  font-size: clamp(0.6rem, 1.3vw, 0.75rem);
  font-weight: 600;
  color: #3b3b3b;
  background: #ebebef;
}

.window .bar img {
  width: 14px;
  height: 14px;
}

.window .bar .ctl {
  margin-left: auto;
  display: flex;
  gap: clamp(0.6rem, 1.6vw, 1.15rem);
  padding-right: 0.25rem;
}

.window .bar .ctl i {
  display: block;
  width: 9px;
  height: 9px;
  border: 1.4px solid #6b6b6b;
  border-radius: 1px;
}

.window .bar .ctl i:first-child {
  height: 5px;
  border-width: 0 0 1.4px;
  border-radius: 0;
}

.window .bar .ctl i:last-child {
  border: 0;
  background:
    linear-gradient(45deg, transparent 44%, #6b6b6b 44%, #6b6b6b 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #6b6b6b 44%, #6b6b6b 56%, transparent 56%);
}

.window img,
.window picture {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-color-scheme: dark) {
  .window {
    background: #202020;
    outline-color: rgba(255, 255, 255, 0.1);
  }

  .window .bar {
    background: #2b2b2b;
    color: #e5e5e5;
  }

  .window .bar .ctl i { border-color: #bdbdbd; }
  .window .bar .ctl i:last-child {
    background:
      linear-gradient(45deg, transparent 44%, #bdbdbd 44%, #bdbdbd 56%, transparent 56%),
      linear-gradient(-45deg, transparent 44%, #bdbdbd 44%, #bdbdbd 56%, transparent 56%);
  }
}

.phone {
  display: block;
  padding: clamp(4px, 0.8vw, 9px);
  border-radius: 14% / 6.6%;
  background: linear-gradient(145deg, #34324a, #11101c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  z-index: 2;
}

.phone img,
.phone picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12.5% / 5.8%;
}

.popup {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.popup img,
.popup picture {
  display: block;
  width: 100%;
  height: auto;
}

.browser {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(0, 0, 0, 0.08);
}

.browser .bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: #e9e7f2;
}

.browser .bar .dots {
  display: flex;
  gap: 0.35rem;
}

.browser .bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.browser .bar .dots i:nth-child(2) { background: #ffc23d; }
.browser .bar .dots i:nth-child(3) { background: #3ccf8e; }

.browser .bar .url {
  flex: 1;
  min-width: 0;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: #4a4760;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser img,
.browser picture {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-color-scheme: dark) {
  .browser .bar { background: #2a2750; }
  .browser .bar .url { background: #1b1938; color: #cfcbe8; }
  .popup, .browser { outline-color: rgba(255, 255, 255, 0.1); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--bg-2);
}

.section + .section {
  padding-top: 0.5rem;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head h2 {
  margin-top: 0;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin: 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--c-coral-bg);
  color: var(--c-coral);
}

.kicker.blue { background: var(--c-blue-bg); color: var(--c-blue); }
.kicker.mint { background: var(--c-mint-bg); color: var(--c-mint); }
.kicker.violet { background: var(--c-violet-bg); color: var(--c-violet); }
.kicker.pink { background: var(--c-pink-bg); color: var(--c-pink); }

@media (min-width: 720px) {
  .section {
    padding: 5rem 0;
  }
}

/* Feature cards: soft, rounded, a little playful (staggered on wide screens). */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features > li + li {
  margin-top: 0;
}

.feature {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: 30px 30px 30px 12px;
  background: linear-gradient(165deg, var(--tint, var(--c-blue-bg)) 0%, var(--surface) 55%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature.blue { --tint: var(--c-blue-bg); }
.feature.sun { --tint: var(--c-sun-bg); }
.feature.violet { --tint: var(--c-violet-bg); }
.feature.mint { --tint: var(--c-mint-bg); }
.feature.pink { --tint: var(--c-pink-bg); }
.feature.coral { --tint: var(--c-coral-bg); }

.feature .bubble {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature:nth-child(4n + 2) { border-radius: 30px 12px 30px 30px; }
.feature:nth-child(4n + 3) { border-radius: 12px 30px 30px 30px; }
.feature:nth-child(4n + 4) { border-radius: 30px 30px 12px 30px; }

.feature:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 1rem 0 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 1.75rem;
  }

  .features > li:nth-child(even) {
    translate: 0 1.75rem;
  }
}

/* Showcase rows: text and framed screenshots, alternating sides. */
.show {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.show + .show {
  margin-top: 4.5rem;
}

.show h2 {
  margin-top: 0;
}

.show .text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.ticks li {
  position: relative;
  padding-left: 2.1rem;
}

.ticks li + li {
  margin-top: 0.7rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--c-mint-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6e5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

@media (prefers-color-scheme: dark) {
  .ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fe9cf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  }
}

.stage {
  position: relative;
  isolation: isolate;
  padding: 1rem 0.25rem;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 2% 0;
  z-index: -1;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  background: var(--stage, var(--blob-2));
}

.stage.pink { --stage: var(--blob-3); }
.stage.peach { --stage: var(--blob-1); }
.stage.mint { --stage: var(--blob-5); }
.stage.sun { --stage: var(--blob-4); }

/* Windows: two app windows, fanned. */
.duo {
  position: relative;
  aspect-ratio: 1 / 0.8;
}

.duo > * {
  position: absolute;
  width: 82%;
}

.duo > :first-child { left: 0; top: 2%; rotate: -2.5deg; }
.duo > :last-child { right: 0; bottom: 2%; rotate: 2deg; z-index: 2; }

/* Browser: the popup over a page with the inline menu. */
.ext-stage {
  position: relative;
  aspect-ratio: 1 / 0.86;
}

.ext-stage .browser {
  position: absolute;
  left: 0;
  top: 4%;
  width: 78%;
  rotate: -1.5deg;
}

.ext-stage .popup {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  rotate: 3deg;
}

.ext-stage.solo {
  aspect-ratio: auto;
  padding: 1.5rem 0;
}

.ext-stage.solo .popup {
  position: relative;
  width: min(100%, 22rem);
  margin: 0 auto;
  rotate: -2deg;
}

/* Android: three phones in a fan. */
.trio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.5rem 0 1rem;
}

.trio .phone {
  width: 34%;
  flex: none;
}

.trio .phone:nth-child(1) { rotate: -7deg; margin-right: -5%; margin-bottom: 5%; }
.trio .phone:nth-child(2) { z-index: 3; width: 37%; }
.trio .phone:nth-child(3) { rotate: 7deg; margin-left: -5%; margin-bottom: 5%; }

.caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .show {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem;
  }

  .show.flip {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .show.flip .text {
    order: 2;
  }

  .show + .show {
    margin-top: 6.5rem;
  }
}

/* "How your data stays yours": a big, soft, colorful band. */
.promise {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 40px 40px 40px 16px;
  padding: 2.5rem 1.25rem;
  background: var(--grad-band);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.promise::before,
.promise::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.promise::before {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  top: -11rem;
  background: radial-gradient(circle, rgba(255, 140, 190, 0.32), rgba(255, 140, 190, 0) 70%);
}

.promise::after {
  width: 26rem;
  height: 26rem;
  left: -9rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(255, 200, 90, 0.25), rgba(255, 200, 90, 0) 70%);
}

.promise .kicker {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.promise h2 {
  margin-top: 0;
  color: #ffffff;
}

.promise .intro {
  color: #ffffff;
  font-size: 1.12rem;
  max-width: 40rem;
  margin: 0;
}

.promise a {
  color: #ffffff;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.promise :focus-visible {
  outline-color: #ffffff;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  counter-reset: step;
}

.steps li {
  margin: 0;
  padding: 1.3rem 1.25rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.8rem;
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: #ffffff;
  color: #3a26c4;
  font-weight: 800;
  font-size: 1.1rem;
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(6, 1fr);
  }

  .steps li {
    grid-column: span 2;
  }

  .steps li:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

.steps h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.steps p {
  margin: 0;
  color: #ffffff;
}

.promise .honest {
  margin: 1.75rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(10, 6, 50, 0.3);
  color: #ffffff;
}

@media (min-width: 720px) {
  .promise {
    padding: 3.5rem 3rem;
  }
}

/* Download cards */
.platforms {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.platforms > li + li {
  margin-top: 0;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.platform h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.4rem;
}

.platform p {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
}

.platform .button,
.platform .status {
  margin-top: auto;
}

.platform.featured {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

@media (prefers-color-scheme: dark) {
  .platform.featured {
    outline-color: #8fb1ff;
  }
}

.note {
  max-width: 44rem;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  max-width: 48rem;
  margin: 0 auto;
}

.faq details {
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq details + details {
  margin-top: 0.85rem;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 24px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--c-violet-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235427d4' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat;
  transition: transform 0.25s ease;
}

@media (prefers-color-scheme: dark) {
  .faq summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdb8ff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  }
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
}

.faq details > div > :last-child {
  margin-bottom: 0;
}

/* Contact bubble */
.hello {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  max-width: 54rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 40px 40px 40px 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.hello h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
}

.hello p {
  margin: 0;
  color: var(--text-muted);
}

.hello .bubble {
  margin: 0 auto;
}

@media (min-width: 720px) {
  .hello {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    padding: 2rem 2.25rem;
  }

  .hello .bubble {
    margin: 0;
  }
}

/* ---------- Footer ---------- */

footer.site {
  position: relative;
  margin-top: clamp(36px, 6vw, 90px);
  background: var(--bg-2);
  color: var(--text-muted);
  font-size: 0.97rem;
}

footer.site .wave {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
}

footer.site .wrap {
  padding-top: 1.75rem;
  padding-bottom: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

footer.site p {
  margin: 0;
}

footer.site a {
  color: var(--text);
}

footer.site .brand {
  font-size: 1.15rem;
}

footer.site .brand img {
  width: 30px;
  height: 30px;
}

footer.site .left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

footer.site .made {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

footer.site .made .ico {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--pink);
  fill: currentColor;
}

footer.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site li + li {
  margin-top: 0;
}

/* ---------- Policy pages (privacy, delete data, 404) ---------- */

.doc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem 0 1rem;
}

.doc {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.75rem 1.25rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc.prose {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.doc h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.doc h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  font-weight: 750;
  margin-top: 2.25rem;
}

.doc h3 {
  font-size: 1.15rem;
}

@media (min-width: 720px) {
  .doc {
    padding: 2.75rem 3rem 3rem;
  }
}

.meta {
  color: var(--text-muted);
  margin-top: -0.25rem;
}

.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.toc h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  padding: 0;
}

.toc ol {
  margin: 0;
}

.summary {
  background: var(--c-blue-bg);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  margin: 1.5rem 0;
}

@media (prefers-color-scheme: dark) {
  .summary {
    background: #1f2b5c;
  }
}

@media (min-width: 720px) {
  .summary {
    padding: 1.25rem 1.4rem;
  }
}

.summary h2 {
  margin-top: 0;
  padding-top: 0;
}

.summary > :last-child {
  margin-bottom: 0;
}

.band {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.band > :last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.table-scroll table {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
}

.table-scroll th,
.table-scroll td {
  border-width: 0 0 1px 1px;
}

.table-scroll tr > :first-child {
  border-left-width: 0;
}

.table-scroll tr:last-child > td {
  border-bottom-width: 0;
}

th {
  background: var(--surface-2);
  font-weight: 700;
}

dt {
  font-weight: 700;
  margin-top: 0.75rem;
}

dd {
  margin: 0.2rem 0 0 0;
}

[id] {
  scroll-margin-top: 5.5rem;
}

/* ---------- Motion (only when the visitor is fine with it) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .blobs svg {
    animation: drift 22s ease-in-out infinite alternate;
  }

  .blobs svg:nth-child(2) { animation-duration: 26s; animation-delay: -6s; }
  .blobs svg:nth-child(3) { animation-duration: 19s; animation-delay: -3s; }
  .blobs svg:nth-child(4) { animation-duration: 30s; animation-delay: -9s; }

  .collage .phone { animation: bob 7s ease-in-out infinite; }
  .collage .popup { animation: bob 8s ease-in-out -2s infinite; }
  .collage .sticker { animation: bob 6s ease-in-out -1s infinite; }
  .collage .sticker.s2 { animation-delay: -3s; }
  .collage .sticker.s3 { animation-delay: -4.5s; }
  .sparkle { animation: twinkle 3.2s ease-in-out infinite; }
  .sparkle.k2 { animation-delay: -1.1s; }
  .sparkle.k3 { animation-delay: -2.2s; }

  .squiggle path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: draw 1.4s 0.4s ease-out forwards;
  }

  .eyebrow .dot {
    animation: beat 2.4s ease-in-out infinite;
  }
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(30px, 24px) rotate(14deg) scale(1.06); }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.7) rotate(25deg); opacity: 0.7; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
}
