/* pazby.app, the "Glass" design. One stylesheet for every page.
   1. Tokens   2. Base and shared pieces   3. The front page (.home)
   4. App and policy pages   5. Phones and reduced motion */

/* ---------- 0. The font, kept on pazby.app so no other company is contacted ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2?v=4") format("woff2");
}

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #ECF0F6;
  --ink: #0B1324;
  --muted: #44506A;
  --soft: #5B667A;
  --accent: #1B6470;
  --glass: rgba(255,255,255,.52);
  --glass-solid: rgba(255,255,255,.92);
  --glass-edge: rgba(255,255,255,.8);
  --glass-shine: rgba(255,255,255,.95);
  --glass-shadow: 0 24px 60px rgba(22,40,82,.12);
  --tile: rgba(255,255,255,.62);
  --tile-edge: rgba(255,255,255,.8);
  --list: rgba(255,255,255,.82);
  --hair: rgba(11,19,36,.09);
  --hair-strong: rgba(11,19,36,.3);
  --hover: rgba(11,19,36,.06);
  --solid: #0B1324;
  --on-solid: #FFFFFF;
  --solid-shadow: 0 14px 30px rgba(11,19,36,.25);
  --glow: .55;
  --yes: #1E7B34;
  --no: #B3261E;
  --partial: #8F5300;
  /* Each app page sets these; the company's own pages use the three together. */
  --stage-1: #1F6E7A;
  --stage-2: #14535D;
  --cta: #FFB300;
  --on-cta: #10343A;
  --g1: #36B3A6;
  --g2: #9A8BF5;
  --g3: #FFC24A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090C13;
    --ink: #F3F5F9;
    --muted: #B6BECE;
    --soft: #9BA4B6;
    --accent: #6FD3C8;
    --glass: rgba(255,255,255,.075);
    --glass-solid: rgba(28,33,46,.95);
    --glass-edge: rgba(255,255,255,.14);
    --glass-shine: rgba(255,255,255,.22);
    --glass-shadow: 0 24px 60px rgba(0,0,0,.45);
    --tile: rgba(255,255,255,.06);
    --tile-edge: rgba(255,255,255,.1);
    --list: rgba(255,255,255,.07);
    --hair: rgba(255,255,255,.1);
    --hair-strong: rgba(255,255,255,.36);
    --hover: rgba(255,255,255,.08);
    --solid: #F3F5F9;
    --on-solid: #0B1324;
    --solid-shadow: 0 14px 30px rgba(0,0,0,.4);
    --glow: .42;
    --yes: #7BD88F;
    --no: #FF8A80;
    --partial: #FFC46B;
  }
}
.app-pazby { --stage-1: #1F6E7A; --stage-2: #14535D; --cta: #FFB300; --on-cta: #10343A; --g1: #36B3A6; --g2: #FFC24A; --g3: #1B8F86; }
.app-deafeny { --stage-1: #1B1F52; --stage-2: #0C0F2B; --cta: #A594F9; --on-cta: #120C33; --accent: #5546C0; --g1: #7B6CF0; --g2: #9A8BF5; --g3: #36B3A6; }
.app-boxbrain { --stage-1: #24446F; --stage-2: #162B48; --cta: #F2B544; --on-cta: #2A1C02; --accent: #1F3A5F; --g1: #F2B544; --g2: #6C93D6; --g3: #E6C48C; }
@media (prefers-color-scheme: dark) {
  .app-deafeny { --accent: #B7A9FF; }
  .app-boxbrain { --accent: #F2B544; }
}

/* ---------- 2. Base and shared pieces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
section, [id] { scroll-margin-top: 96px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--solid); color: var(--on-solid); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* Glass. The same recipe makes the bars, the cards and the grey sections' panels. */
.glass,
.pazby-section.grey > .inner,
.pazby-section.grey > .inner-narrow,
.pazby-section.grey > .pazby-feature-row {
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-shine), var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .pazby-section.grey > .inner,
  .pazby-section.grey > .inner-narrow,
  .pazby-section.grey > .pazby-feature-row { background: var(--glass-solid); }
}

/* The light behind the glass */
.glow, .sky i {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: var(--glow);
}
.glow { z-index: 0; }
.sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sky i:nth-child(1) { --c: var(--g1); left: -260px; top: -340px; width: clamp(520px, 62vw, 900px); }
.sky i:nth-child(2) { --c: var(--g2); right: -240px; top: 120px; width: clamp(480px, 56vw, 820px); }
.sky i:nth-child(3) { --c: var(--g3); left: -220px; top: 1250px; width: clamp(460px, 52vw, 760px); }
.sky i:nth-child(4) { --c: var(--g1); right: -220px; top: 46%; width: clamp(460px, 52vw, 760px); }
.sky i:nth-child(5) { --c: var(--g2); left: -200px; top: 68%; width: clamp(460px, 50vw, 720px); }
.sky i:nth-child(6) { --c: var(--g3); right: -180px; top: 88%; width: clamp(420px, 48vw, 680px); }

.page { position: relative; overflow-x: clip; }
@supports not (overflow: clip) { .page { overflow-x: hidden; } }
.wrap { position: relative; z-index: 1; width: min(1200px, 100% - 48px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--solid); color: var(--on-solid); }
.btn.soft { background: var(--tile); border: 1px solid var(--hair); color: var(--ink); padding: 0 18px; }
.btn.big { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn.lift { box-shadow: var(--solid-shadow); }
.btn svg { flex: none; }

/* The floating bar */
.bar {
  position: sticky; top: 12px; z-index: 50;
  width: min(1120px, 100% - 24px); height: 58px;
  margin: 12px auto 0; padding: 0 8px 0 24px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark span { font-weight: 500; color: var(--soft); }
.bar nav { display: flex; align-items: center; gap: 4px; }
.nl { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s ease; }
.nl:hover, .nl[aria-current] { background: var(--hover); }
.bar .btn { min-height: 42px; margin-left: 6px; padding: 0 20px; }

/* Each app's own menu, under the bar */
.subnav {
  position: relative; z-index: 2;
  width: min(1200px, 100% - 48px); margin: 16px auto 0; padding: 6px; border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
}
.subnav .app { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.subnav .app img { width: 30px; height: 30px; border-radius: 8px; }
.subnav .links { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
.subnav .links::-webkit-scrollbar { display: none; }
.subnav .links a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: background .2s ease; }
.subnav .links a:hover { background: var(--hover); }
.subnav .links a[aria-current] { background: var(--solid); color: var(--on-solid); }

/* Footer */
.foot { position: relative; z-index: 1; width: min(1200px, 100% - 48px); margin: 40px auto 0; padding: 24px 0 36px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .app-links { font-weight: 600; color: var(--ink); }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }

/* The tab bar, on phones */
.tabs { display: none; }

/* ---------- 3. The front page ---------- */
.home h1, .home h2, .home h3, .home p { margin: 0; }
.home section { position: relative; }

.home .hero { padding: 96px 0 84px; text-align: center; }
.home .hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.home .pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.home .pill i { width: 8px; height: 8px; border-radius: 50%; background: #1B8F86; }
.home h1 { font-size: clamp(40px, 6.9vw, 100px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; }
.home .lede { max-width: 690px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); text-wrap: balance; }
.home .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.home .apps { padding-bottom: 110px; }
.home .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home .app { position: relative; }
.home .app .glow { left: 50%; top: 46%; width: 135%; transform: translate(-50%, -50%); }
.home .card {
  position: relative; z-index: 1; height: 100%; min-height: 600px;
  display: flex; flex-direction: column; padding: 14px; border-radius: 36px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.home .card:hover { transform: translateY(-6px); }
.home .stage { position: relative; height: 210px; border-radius: 24px; overflow: hidden; overflow: clip; }
.home .chip { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #FFFFFF; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.home .chip.l { left: 14px; }
.home .chip.r { right: 14px; border: 0; font-weight: 700; }
.home .body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px 10px; }
.home .who { display: flex; align-items: center; gap: 14px; }
.home .who img, .home .who svg { width: 60px; height: 60px; border-radius: 15px; flex: none; box-shadow: 0 6px 16px rgba(11,19,36,.2); }
.home .who h2 { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.home .who p { font-size: 14px; font-weight: 500; color: var(--soft); }
.home .tag { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.home .desc { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.home .acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.home .acts .note { font-size: 14px; font-weight: 500; color: var(--soft); }

.home .stage.pazby { background: linear-gradient(160deg, #217C87 0%, #114E58 100%); }
.home .ring, .home .ping, .home .spot { position: absolute; left: 50%; top: 56%; border-radius: 50%; transform: translate(-50%, -50%); }
.home .ring { border: 1.5px solid rgba(255,255,255,.2); }
.home .ping { width: 320px; height: 320px; background: rgba(255,179,0,.28); animation: ping 3.2s ease-out infinite; }
.home .spot { width: 22px; height: 22px; background: #FFB300; box-shadow: 0 0 0 6px rgba(255,179,0,.25); }
.home .pin { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #F3EBDD; }
@keyframes ping {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.home .stage.deafeny { background: linear-gradient(160deg, #1B1F52 0%, #0C0F2B 100%); }
.home .moon { position: absolute; left: 44px; top: 62px; width: 92px; height: 92px; }
.home .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #EEEAFE; }
.home .bars { position: absolute; right: 34px; bottom: 34px; height: 112px; display: flex; align-items: flex-end; gap: 9px; }
.home .bars span { width: 15px; border-radius: 8px; background: #A594F9; transform-origin: bottom; animation: dim 4s ease-in-out infinite; }
@keyframes dim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.55); }
}
.home .stage.boxbrain { background: linear-gradient(160deg, #24446F 0%, #162B48 100%); }
.home .label { position: absolute; left: 50%; top: 58%; width: 132px; padding: 12px 0; border-radius: 18px; background: #E6C48C; color: #2B1D07; text-align: center; transform: translate(-50%, -50%) rotate(-4deg); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.home .label b { display: block; font-size: 12px; font-weight: 700; letter-spacing: 4px; padding-left: 4px; }
.home .label strong { display: block; font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.home .label em { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; font-style: normal; }
.home .code { position: absolute; right: 22px; bottom: 20px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #F2B544; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.home .rules { padding-bottom: 110px; }
.home .panel { border-radius: 40px; padding: 48px; }
.home .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.home .intro { display: flex; flex-direction: column; gap: 18px; }
.home .eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.home .panel h2, .home .head h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; font-weight: 700; letter-spacing: -0.04em; }
.home .intro p:last-child, .home .about p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.home .four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home .rule { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; background: var(--tile); border: 1px solid var(--tile-edge); }
.home .rule .ico { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--solid); color: var(--on-solid); }
.home .rule h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.home .rule p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.home .legal { padding-bottom: 110px; }
.home .head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 36px; text-align: center; }
.home .groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.home .group h3 { margin: 0 0 10px; padding: 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.home .list { border-radius: 24px; overflow: hidden; background: var(--list); border: 1px solid var(--tile-edge); box-shadow: 0 16px 40px rgba(22,40,82,.08); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.home .list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 18px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background .15s ease; }
.home .list a + a { border-top: 1px solid var(--hair); }
.home .list a:hover { background: var(--hover); }
.home .list svg { color: var(--soft); flex: none; }
.home .group .note { margin-top: 10px; padding: 0 18px; font-size: 13px; line-height: 1.45; color: var(--soft); }

.home .about { padding-bottom: 50px; }
.home .about .panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.home .about .words { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.home .about h2 { font-size: clamp(28px, 2.8vw, 38px); }
.home .about p { max-width: 640px; }
.home .about .btn { min-height: 58px; padding: 0 28px; font-size: 17px; gap: 12px; }

/* ---------- 4. App and policy pages ---------- */
/* The opening panel, in the app's own colour */
.pazby-hero, .bb-hero {
  position: relative; z-index: 1; overflow: hidden; overflow: clip;
  width: min(1200px, 100% - 48px); margin: 16px auto 0; padding: 72px 56px; border-radius: 40px;
  background: linear-gradient(160deg, var(--stage-1) 0%, var(--stage-2) 100%); color: #FFFFFF;
  box-shadow: 0 30px 70px rgba(11,19,36,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.pazby-hero::before, .bb-hero::before {
  content: ""; position: absolute; right: -180px; top: 50%; width: 760px; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(closest-side, transparent 0 24%, rgba(255,255,255,.1) 24% 24.3%, transparent 24.3% 48%, rgba(255,255,255,.08) 48% 48.3%, transparent 48.3% 73%, rgba(255,255,255,.06) 73% 73.3%, transparent 73.3% 99.6%, rgba(255,255,255,.05) 99.6% 100%);
}
.pazby-hero > *, .bb-hero > * { position: relative; }
.pazby-hero h1, .bb-hero h1 { margin: 0 0 18px; color: #FFFFFF; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; overflow-wrap: break-word; }
.pazby-hero p.subhead, .bb-hero p { margin: 0 0 22px; max-width: 640px; color: rgba(255,255,255,.88); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.pazby-hero .hero-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.pazby-hero .hero-text { flex: 1 1 400px; max-width: 600px; }
.pazby-hero.centered { padding: 60px 40px; text-align: center; }
.pazby-hero.centered .hero-inner { display: block; }
.pazby-hero.centered h1 { max-width: 900px; margin-inline: auto; }
.pazby-hero.centered p.subhead { max-width: 760px; margin-inline: auto; }
.pazby-hero.centered .pazby-buttons { justify-content: center; }
.pazby-hero .price-chip { margin: 16px 0 0; color: var(--cta); font-size: 16px; font-weight: 700; }
.pazby-hero .app-mark { display: block; width: 84px; height: 84px; margin: 0 0 18px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.pazby-hero .place-eyebrow { margin: 0 0 12px; color: var(--cta); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.pazby-hero .pazby-fallback { margin: 28px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }
.pazby-hero .pazby-fallback a { color: var(--cta); text-decoration: underline; }

/* Sections. Plain ones sit on the page; grey ones are glass panels; teal ones are in the app's colour. */
.pazby-section, .bb-section { position: relative; z-index: 1; padding: 40px 0; }
.pazby-hero + .pazby-section, .bb-hero + .bb-section { padding-top: 64px; }
.pazby-section > .inner, .pazby-section > .inner-narrow, .pazby-section > .pazby-feature-row, .bb-section > .inner { width: min(1100px, 100% - 48px); margin-inline: auto; }
.pazby-section > .inner-narrow { max-width: 800px; }
.pazby-section.grey > .inner, .pazby-section.grey > .inner-narrow, .pazby-section.grey > .pazby-feature-row { padding: 44px 48px; border-radius: 36px; }
.pazby-section.teal > .inner, .pazby-section.teal > .inner-narrow {
  padding: 48px; border-radius: 36px; color: #FFFFFF;
  background: linear-gradient(160deg, var(--stage-1) 0%, var(--stage-2) 100%);
  box-shadow: 0 24px 60px rgba(11,19,36,.2), inset 0 1px 0 rgba(255,255,255,.18);
}
.pazby-section h2, .bb-section h2 { margin: 0 0 14px; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; text-align: center; }
.bb-section h2 { margin-bottom: 24px; text-align: left; }
.pazby-section h3, .bb-section h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.pazby-section p, .bb-section p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.pazby-section ul, .pazby-section ol, .bb-section ul { margin: 0 0 14px; padding-left: 22px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.pazby-section li, .bb-section li { margin-bottom: 8px; }
.pazby-section a, .bb-section a, .bb-page a { color: var(--accent); text-underline-offset: 3px; }
.pazby-section strong, .bb-page strong { color: var(--ink); }
.pazby-section .lead { max-width: 760px; margin: 0 auto 14px; font-size: 17.5px; text-align: center; }
.pazby-section .quiet { color: var(--soft); }
.pazby-section.teal h2, .pazby-section.teal h3, .pazby-section.teal strong { color: #FFFFFF; }
.pazby-section.teal p, .pazby-section.teal li { color: rgba(255,255,255,.88); }
.pazby-section.teal a { color: var(--cta); }

/* Tiles */
.pazby-cards, .bb-grid, .bb-plans, .platform-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 0; }
.pazby-cards > div, .bb-card, .bb-plan, .platform-card, .option-card {
  padding: 24px; border-radius: 24px; background: var(--tile); border: 1px solid var(--tile-edge);
  box-shadow: 0 12px 32px rgba(22,40,82,.06);
}
.pazby-cards > div > :last-child, .bb-card > :last-child, .bb-plan > :last-child, .option-card > :last-child { margin-bottom: 0; }
.pazby-section.teal .pazby-cards > div { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); box-shadow: none; }
.platform-cards, .bb-grid, .bb-plans { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.platform-card { padding: 28px; }
.platform-card h3 { font-size: 22px; }
.platform-card .links { margin: 0; font-weight: 600; }
.platform-card .status, .platform-tag, .bb-hero .soon {
  display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: color-mix(in srgb, var(--cta) 22%, transparent); color: var(--ink);
}
.platform-card .status { margin-bottom: 12px; }
.platform-card .status.live { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.platform-tag-row { margin: 0 0 10px; text-align: center; }
.pazby-feature-row .text .platform-tag-row, .pazby-policy .platform-tag-row { text-align: left; }
.pazby-policy .platform-tag-row { margin-top: 30px; }
.option-card { margin: 14px 0; }
.option-card.recommended { border: 1.5px solid var(--cta); background: color-mix(in srgb, var(--cta) 10%, var(--tile)); }
.option-card .tag { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
.bb-plan.pro { border: 1.5px solid var(--cta); }
.bb-plan h3 { font-size: 22px; }
.bb-plan .price { color: var(--soft); }
.bb-card ul { margin: 0; padding-left: 20px; }

/* Words beside a phone */
.pazby-feature-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.pazby-feature-row.reverse { flex-direction: row-reverse; }
.pazby-feature-row .text { flex: 1; min-width: 280px; }
.pazby-feature-row .text h2 { text-align: left; }
.pazby-feature-row .image { flex: none; margin-inline: auto; }
.pazby-phone, .pazby-tablet { display: inline-block; flex: none; padding: 8px; border-radius: 38px; background: #0B0B0C; box-shadow: 0 30px 60px rgba(11,19,36,.3), 0 0 0 1px rgba(255,255,255,.1); }
.pazby-phone img { display: block; width: 280px; max-width: 100%; height: auto; border-radius: 30px; }
.pazby-phone.small img { width: 240px; }
.pazby-tablet { padding: 12px; border-radius: 28px; }
.pazby-tablet img { display: block; width: 330px; max-width: 100%; height: auto; border-radius: 16px; }
.hero-phones { display: flex; align-items: flex-start; gap: 18px; flex: none; margin-inline: auto; }
.hero-phones figure { margin: 0; text-align: center; }
.hero-phones figure + figure { margin-top: 44px; }
.hero-phones .pazby-phone img { width: 230px; }
.hero-phones figcaption { margin-top: 12px; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 600; }

/* Buttons inside the pages' own content */
.pazby-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.pazby-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid transparent; font-size: 16px; font-weight: 600; text-decoration: none; text-align: center;
  transition: transform .2s ease;
}
.pazby-btn:hover { transform: translateY(-1px); }
.pazby-btn[hidden] { display: none; }
.pazby-section a.pazby-btn.primary-amber, .pazby-btn.primary-amber { background: var(--cta); color: var(--on-cta); }
.pazby-section a.pazby-btn.primary-teal, .pazby-btn.primary-teal { background: var(--solid); color: var(--on-solid); }
.pazby-section a.pazby-btn.outline-white, .pazby-btn.outline-white { border-color: rgba(255,255,255,.6); color: #FFFFFF; }
.pazby-section a.pazby-btn.outline-ink, .pazby-btn.outline-ink { border-color: var(--hair-strong); color: var(--ink); }

/* Long documents: policies, terms, FAQs */
.pazby-policy, .bb-page > .inner {
  padding: 40px 44px; border-radius: 32px; background: var(--list); border: 1px solid var(--tile-edge);
  box-shadow: 0 16px 40px rgba(22,40,82,.08);
}
.pazby-section .pazby-policy h2, .bb-page h2 { margin: 32px 0 10px; font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; text-align: left; }
.pazby-section .pazby-policy > h2:first-child { margin-top: 0; }
.pazby-policy h3, .bb-page h3 { margin: 20px 0 6px; font-size: 18px; }
.pazby-policy p, .pazby-policy ul, .pazby-policy ol, .bb-page p, .bb-page li { font-size: 16px; line-height: 1.65; }
.pazby-policy ul, .pazby-policy ol, .bb-page ul, .bb-page ol { padding-left: 22px; }
.pazby-policy li, .bb-page li { margin-bottom: 6px; }
.bb-page { position: relative; z-index: 1; padding: 24px 0 16px; }
.bb-page > .inner { width: min(820px, 100% - 48px); margin-inline: auto; }
.bb-page h1 { margin: 0 0 4px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; }
.bb-page p, .bb-page li { color: var(--muted); }
.bb-page .updated { margin: 0 0 18px; color: var(--soft); }
.bb-page .lead { font-size: 18px; }

/* Lists of what you get and don't */
.pazby-checklist, .pazby-nolist { padding: 0 !important; list-style: none; }
.pazby-checklist li, .pazby-nolist li { position: relative; padding-left: 30px; }
.pazby-checklist li::before, .pazby-nolist li::before { position: absolute; left: 2px; top: 0; font-weight: 800; }
.pazby-checklist li::before { content: "\2713"; color: var(--yes); }
.pazby-nolist li::before { content: "\2717"; color: var(--no); }

/* Tables */
.table-wrap { margin: 18px 0 10px; overflow-x: auto; border-radius: 20px; border: 1px solid var(--tile-edge); background: var(--list); }
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; vertical-align: top; color: var(--muted); }
.table-wrap th { background: var(--solid); color: var(--on-solid); font-weight: 600; }
.table-wrap td { border-top: 1px solid var(--hair); }
.table-wrap tr.us td { background: color-mix(in srgb, var(--cta) 16%, transparent); color: var(--ink); font-weight: 600; }
.table-wrap td.price { color: var(--ink); font-weight: 700; white-space: nowrap; }
.table-wrap td.feature { width: 32%; color: var(--ink); font-weight: 600; }
.table-wrap td.yes { color: var(--yes); font-weight: 600; }
.table-wrap td.no { color: var(--no); font-weight: 600; }
.table-wrap td.partial { color: var(--partial); font-weight: 600; }
.table-wrap .note { display: block; margin-top: 4px; color: var(--soft); font-size: 13px; font-weight: 400; }

/* The note for people coming from Google Keep */
.pazby-keep-callout { max-width: 820px; margin: 30px auto 0; padding: 24px 28px; border-radius: 24px; text-align: left; border: 1.5px solid var(--cta); background: color-mix(in srgb, var(--cta) 12%, var(--tile)); }
.pazby-keep-callout h3 { font-size: 21px; }
.pazby-keep-callout p { margin-bottom: 10px; }
.pazby-keep-callout a.cta { display: inline-block; margin-top: 4px; font-weight: 700; }

/* Screenshots you can step through */
.pazby-carousel { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; margin-inline: auto; }
.pazby-carousel .carousel-row { display: flex; align-items: center; gap: 12px; }
.pazby-carousel .pazby-phone { position: relative; }
.pazby-carousel .carousel-slide { display: none; }
.pazby-carousel .carousel-slide.active { display: block; }
.carousel-arrow {
  width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; font: inherit; font-size: 26px; line-height: 1; color: inherit;
  background: color-mix(in srgb, currentColor 12%, transparent); border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  transition: background .2s ease;
}
.carousel-arrow:hover { background: color-mix(in srgb, currentColor 24%, transparent); }
.pazby-carousel .carousel-caption { min-height: 22px; max-width: 300px; margin: 0; font-size: 15px; font-weight: 600; text-align: center; color: inherit; }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots .dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: color-mix(in srgb, currentColor 30%, transparent); transition: background .2s ease; }
.carousel-dots .dot.active { background: var(--cta); }
.pazby-section .pazby-carousel { color: var(--ink); }
.pazby-carousels { display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; margin: 30px 0 0; }
.carousel-block { display: flex; flex-direction: column; align-items: center; max-width: 360px; }
.carousel-block h3 { margin: 0 0 14px; font-size: 24px; text-align: center; }
.carousel-block .pazby-phone img { width: 260px; }

/* BoxBrain's opening panel and its box label */
.bb-hero .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.bb-hero .words { flex: 1 1 420px; }
.bb-hero .soon { margin-top: 6px; padding: 10px 18px; font-size: 15px; background: var(--cta); color: var(--on-cta); }
.bb-label { flex: none; width: 220px; margin-inline: auto; padding: 22px 26px 18px; border-radius: 26px; background: #E6C48C; color: #2B1D07; text-align: center; transform: rotate(-3deg); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.bb-label .box { font-size: 18px; font-weight: 700; letter-spacing: 5px; padding-left: 5px; }
.bb-label .num { font-size: 112px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.bb-label .name { margin-top: 4px; font-size: 18px; font-weight: 700; }
.bb-label .code { margin-top: 8px; font-size: 14px; opacity: .8; }

/* ---------- 5. Phones and reduced motion ---------- */
@media (max-width: 1000px) {
  .home .cards, .home .split, .home .groups { grid-template-columns: minmax(0, 1fr); }
  .home .cards, .home .groups { max-width: 560px; margin-inline: auto; }
  .home .card { min-height: 0; }
  .home .body { padding-bottom: 14px; }
  .home .acts { margin-top: 6px; }
  .home .split { gap: 32px; }
  .pazby-hero, .bb-hero { padding: 56px 40px; }
  .pazby-feature-row { gap: 36px; }
  .pazby-feature-row .text h2 { text-align: center; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .wrap, .foot, .subnav { width: min(1200px, 100% - 32px); }
  .bar { padding-left: 20px; }
  .nl { display: none; }
  br.wide { display: none; }
  .home .hero { padding: 64px 0; }
  .home .apps, .home .rules, .home .legal { padding-bottom: 80px; }
  .home .panel { padding: 28px 22px; border-radius: 32px; }
  .home .about .btn { width: 100%; }

  .subnav { border-radius: 26px; }
  .subnav .app { padding-right: 8px; }
  .pazby-hero, .bb-hero { width: min(1200px, 100% - 32px); padding: 44px 24px; border-radius: 32px; }
  .pazby-hero.centered { padding: 40px 22px; }
  .pazby-hero .hero-text, .pazby-hero .hero-text h1, .pazby-hero .hero-text p { text-align: center; }
  .pazby-hero .hero-text .app-mark { margin-inline: auto; }
  .pazby-hero .pazby-buttons, .pazby-hero p.subhead { justify-content: center; margin-inline: auto; }
  .pazby-section, .bb-section { padding: 28px 0; }
  .pazby-hero + .pazby-section, .bb-hero + .bb-section { padding-top: 44px; }
  .pazby-section > .inner, .pazby-section > .inner-narrow, .pazby-section > .pazby-feature-row, .bb-section > .inner, .bb-page > .inner { width: min(1100px, 100% - 32px); }
  .pazby-section.grey > .inner, .pazby-section.grey > .inner-narrow, .pazby-section.grey > .pazby-feature-row,
  .pazby-section.teal > .inner, .pazby-section.teal > .inner-narrow { padding: 28px 22px; border-radius: 28px; }
  .pazby-policy, .bb-page > .inner { padding: 26px 22px; border-radius: 26px; }
  .pazby-buttons .pazby-btn { flex: 1 1 100%; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; font-size: 14px; }
  .table-wrap td.feature { width: 38%; }

  .tabs {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: 66px; padding: 6px; border-radius: 33px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  }
  .tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 27px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--muted); transition: background .2s ease, color .2s ease; }
  .tabs a.on { background: var(--hover); color: var(--ink); }
}
@media (max-width: 560px) {
  .hero-phones { gap: 10px; }
  .hero-phones .pazby-phone img { width: 38vw; }
  .hero-phones figure + figure { margin-top: 28px; }
  .bb-label { width: 180px; }
  .bb-label .num { font-size: 88px; }
}
@media (max-width: 480px) {
  .home .four { grid-template-columns: minmax(0, 1fr); }
  .carousel-arrow { width: 40px; height: 40px; font-size: 22px; }
  .pazby-carousel .pazby-phone img, .carousel-block .pazby-phone img { width: 54vw; }
  .pazby-carousel .carousel-row { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home .ping, .home .bars span { animation: none; }
  .btn, .pazby-btn, .home .card { transition: none; }
}

/* The page a shared place opens, for someone without PazBy */
.page-share .pazby-section .inner { text-align: center; }
.page-share .pazby-section .pazby-buttons { justify-content: center; }

/* ---------- HearthBrain's colours: the hearth green and amber of its icon ---------- */
.app-hearthbrain { --stage-1: #24705C; --stage-2: #123B30; --cta: #F2B544; --on-cta: #2A1C02; --accent: #1E5B4A; --g1: #F2B544; --g2: #2F6B4F; --g3: #E8A33A; }
@media (prefers-color-scheme: dark) { .app-hearthbrain { --accent: #F2B544; } }

/* ---------- The app's icon, large, beside the opening words ---------- */
.hero-icon { flex: none; width: 210px; height: 210px; margin-inline: auto; border-radius: 48px; transform: rotate(-3deg); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.pro-band { width: min(1200px, 100% - 48px); margin: 24px auto 0; padding: 48px 40px; border-radius: 40px; background: linear-gradient(150deg, var(--stage-1), var(--stage-2)); color: #FFFFFF; }
.pro-band h2, .pro-band h3 { color: #FFFFFF; }
.pro-band p, .pro-band li { color: rgba(255,255,255,.88); }
.pro-band .bb-plan { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.pro-band .bb-plan .price { color: #F2B544; font-weight: 600; }
@media (max-width: 760px) {
  .hero-icon { width: 160px; height: 160px; border-radius: 36px; }
  .pro-band { width: min(1200px, 100% - 32px); padding: 36px 22px; border-radius: 32px; }
}
