/* Zaweba — site styles (design control document: DESIGN-CONTROL.md, version 1.0, 4 November 2026).
   One brand, one colour: Zaweba blue #3468ad round the new logo, on white and light-blue pages.
   Each app keeps its own accent (--c fills, --ct text) on its own cards and page. */

:root {
  --zb: #3468ad;              /* Zaweba blue: the logo's colour */
  --zb-deep: #23497d;
  --zb-ink: #14294a;
  --zb-bright: #4f8ad6;
  --zb-sky: #e7eff9;

  --bg: #f5f8fd;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-2: #eef3fa;
  --line: #dbe3ef;
  --line-2: #c2d0e4;
  --text: #0f1d33;
  --muted: #45536b;
  --faint: #5d6b82;
  --ok: #1d7a4c;
  --warn: #9a5a00;
  --bad: #b3261e;

  --brand: linear-gradient(115deg, var(--zb) 0%, var(--zb-bright) 100%);
  --brand-soft: linear-gradient(135deg, #eef4fc, #e2ecf9);
  --shadow: 0 18px 50px -28px rgba(20, 41, 74, .35);

  --c: #3468ad;               /* the current app's or category's accent */
  --c-2: #4f8ad6;

  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --font-display: "Archivo", "Franklin Gothic Heavy", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body { margin: 0; color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; background: var(--bg); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--zb); text-decoration-color: color-mix(in srgb, var(--zb) 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--zb-deep); text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -.01em; }
strong { font-weight: 650; }
::selection { background: color-mix(in srgb, var(--zb) 28%, transparent); color: var(--text); }

/* ---- The Zaweba scrollbar (DESIGN-CONTROL.md section 6) -----------------------------------------
   56 px wide: a solid Zaweba-blue bar with the white mark in its middle, on a light-blue channel.
   Desktop pointers only; touch screens keep their own overlay bar. Inner scroll areas get a slim 10 px one.
   Firefox can only take two flat colours. */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 56px; height: 18px; }
  ::-webkit-scrollbar-track { background: var(--zb-sky); box-shadow: inset 1px 0 0 var(--line-2); }
  ::-webkit-scrollbar-thumb {
    min-height: 120px; border: 7px solid transparent; border-radius: 999px; background-clip: padding-box;
    background-color: var(--zb); background-image: url("../brand/zaweba-mark-white.svg");
    background-repeat: no-repeat; background-position: center; background-size: 24px 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  }
  ::-webkit-scrollbar-thumb:hover { border-width: 5px; background-color: var(--zb-deep); background-size: 28px 28px; }
  ::-webkit-scrollbar-thumb:active { border-width: 5px; background-color: var(--zb-ink); background-size: 28px 28px; }
  ::-webkit-scrollbar-corner { background: var(--zb-sky); }
  .mega::-webkit-scrollbar, .table-wrap::-webkit-scrollbar, .main-nav::-webkit-scrollbar { width: 10px; height: 10px; }
  .mega::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb, .main-nav::-webkit-scrollbar-thumb { min-height: 40px; border-width: 2px; background-image: none; }
  .mega::-webkit-scrollbar-track, .table-wrap::-webkit-scrollbar-track, .main-nav::-webkit-scrollbar-track { background: transparent; box-shadow: none; }
}
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: auto; scrollbar-color: var(--zb) var(--zb-sky); }
}
:focus-visible { outline: 3px solid var(--zb); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .beta-strip :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--zb); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .js-only { display: none !important; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 100px); position: relative; }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.band { background: linear-gradient(180deg, transparent, var(--zb-sky) 10%, var(--zb-sky) 90%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--zb); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--brand); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 64ch; }
.gradient-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-text { color: var(--ct, var(--c)); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head.row > div { max-width: 680px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes glow { 50% { opacity: .75; transform: scale(1.06); } }

/* ---- Buttons ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--zb); color: var(--zb); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { color: #fff; background: var(--zb); border-color: var(--zb); }
.btn-primary:hover { color: #fff; background: var(--zb-deep); border-color: var(--zb-deep); box-shadow: 0 14px 34px -14px rgba(52, 104, 173, .8); }
.btn-accent { background: var(--c); color: var(--on, #fff); border-color: transparent; }
.btn-accent:hover { color: var(--on, #fff); border-color: transparent; box-shadow: 0 12px 30px -12px var(--c); }
.btn.is-disabled { opacity: .75; cursor: default; pointer-events: none; }
.btn.is-disabled:hover { box-shadow: none; }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-soon { cursor: default; color: var(--faint); background: transparent; border-style: dashed; }
.btn-soon:hover { transform: none; border-color: var(--line-2); color: var(--faint); box-shadow: none; }

/* ---- The strip above the header ----------------------------------------------------------- */
.badges { display: inline-flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; }
.beta-strip { background: var(--zb-deep); color: #dce7f6; font-size: .88rem; line-height: 1.4; }
.beta-strip .container { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.beta-strip p { margin: 0; color: #dce7f6; }
.beta-strip strong { color: #fff; }
.beta-strip a { color: #fff; font-weight: 600; text-decoration-color: rgba(255, 255, 255, .5); }
.beta-strip .badge { flex-shrink: 0; background: #fff; color: var(--zb); border-color: transparent; }

/* ---- Header (Zaweba blue, white logo) --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--zb); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(20, 41, 74, .55); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-link img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 600 .96rem/1 var(--font-body); color: #e3ecf8; text-decoration: none; background: none; border: 0; cursor: pointer; transition: color .2s ease, background .2s ease; }
.nav-link:hover, .nav-trigger:hover, .nav-link[aria-current="page"], .nav-trigger[aria-current="page"], .has-mega.is-open .nav-trigger { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .25s ease; }
.has-mega.is-open .nav-trigger svg { transform: rotate(180deg); }
.header-cta { margin-left: 10px; }
.site-header .header-cta { background: #fff; color: var(--zb); border-color: #fff; }
.site-header .header-cta:hover { background: var(--zb-sky); color: var(--zb-deep); border-color: var(--zb-sky); box-shadow: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-heart { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 999px; color: #e3ecf8; text-decoration: none; border: 1px solid rgba(255, 255, 255, .4); transition: color .2s ease, background .2s ease; }
.nav-heart svg { width: 18px; height: 18px; }
.nav-heart span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-heart:hover, .nav-heart[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }

/* Mega menu: every listed app, in its category, on a white panel. */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(var(--header-h) - 6px); width: min(1180px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, 8px);
  padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(20, 41, 74, .45); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-cols { columns: 4 230px; column-gap: 22px; }
.mega-group { break-inside: avoid; margin-bottom: 18px; }
.mega-group h2 { margin: 0 0 6px; font: 700 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.mega-group h2 a { color: var(--zb); text-decoration: none; display: inline-block; padding: 6px 8px; }
.mega-group h2 a:hover { color: var(--zb-deep); }
.mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-item { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background .2s ease; }
.mega-item:hover { color: var(--text); background: color-mix(in srgb, var(--c) 10%, #fff); }
.mega-item img { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.mega-item strong { display: block; font-size: .93rem; line-height: 1.2; }
.mega-item span { display: block; color: var(--faint); font-size: .8rem; line-height: 1.3; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 14px 8px 2px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.mega-foot a { font-weight: 650; }

/* ---- Home: coming soon (DESIGN-CONTROL.md 7.2) ------------------------------------------------------ */
.soon-hero { position: relative; padding-block: clamp(56px, 9vw, 130px) clamp(48px, 7vw, 96px); overflow: clip; text-align: center; isolation: isolate; background: #fff; }
.soon-hero::before { content: ""; position: absolute; left: 50%; top: 10%; width: min(1100px, 130vw); aspect-ratio: 2 / 1; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(79, 138, 214, .22), rgba(52, 104, 173, .08) 55%, transparent); animation: glow 9s ease-in-out infinite; }
.soon-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.soon-logo { width: auto; height: clamp(88px, 14vw, 168px); margin: 0 auto clamp(30px, 4vw, 48px); }
.soon-hero .eyebrow { justify-content: center; }
.soon-hero h1 { margin: 0 auto 22px; max-width: 16ch; }
.soon-hero h1 em { font-style: normal; color: var(--zb); }
.soon-hero .lead { margin: 0 auto 34px; }
.soon-hero .btn-row { justify-content: center; }
.apps-now { text-align: center; }
.apps-now .section-head { margin-bottom: 28px; }
.app-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0 auto 34px; padding: 0; max-width: 1100px; }
.app-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.app-chips a:hover { color: var(--text); border-color: color-mix(in srgb, var(--c) 60%, #fff); transform: translateY(-2px); box-shadow: var(--shadow); }
.app-chips img { width: 24px; height: 24px; border-radius: 50%; }

/* The old suite hero (kept for the /software/ index and the Mall preview). */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); overflow: clip; text-align: center; }
.hero h1 { margin: 0 auto 22px; max-width: 13ch; }
.hero .lead { margin: 0 auto 32px; }
.hero .btn-row { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; color: var(--faint); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--zb); }
.count { font-variant-numeric: tabular-nums; }

.ticker { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 14px; margin-top: 8px; }
.ticker span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .9rem; font-weight: 600; }
.ticker span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--zb); }

/* ---- Cards and grids --------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--zb-sky); border: 1px solid var(--line-2); color: var(--zb); }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; }
a.card:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }

/* App card: round icon, name, line; a 2 px accent bar on top. */
.app-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; overflow: hidden; isolation: isolate; }
.app-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: .85; }
.app-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--c) 70%, #14294a); }
.app-card .ac-top { display: flex; align-items: center; gap: 14px; }
.app-card img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 8px 20px -10px var(--c); transition: transform .4s ease; }
.app-card:hover img { transform: rotate(-8deg) scale(1.05); }
.app-card h3 { margin: 0; font-size: 1.3rem; }
.app-card .cat { display: block; font-size: .76rem; color: var(--faint); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.app-card p { color: var(--muted); margin: 0; flex: 1; font-size: .98rem; }
.app-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--ct, var(--zb)); }
.app-card .more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.app-card:hover .more svg { transform: translateX(4px); }
.app-card .feat { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.app-card .feat li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); background: color-mix(in srgb, var(--c) 6%, #fff); color: var(--muted); }

/* Compact app tile (lists). */
.app-mini { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.app-mini:hover { color: var(--text); transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, #fff); box-shadow: var(--shadow); }
.app-mini img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.app-mini strong { display: block; font: 800 1.05rem/1.2 var(--font-display); }
.app-mini span { display: block; color: var(--faint); font-size: .86rem; line-height: 1.35; margin-top: 2px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 .72rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: var(--zb-sky); color: var(--zb-deep); border: 1px solid var(--line-2); }
.badge-live { color: #fff; background: var(--ok); border-color: transparent; }
.badge-soon { color: var(--zb-deep); background: var(--zb-sky); border-color: color-mix(in srgb, var(--zb) 35%, #fff); }
.badge-beta { color: #fff; background: var(--zb); border-color: transparent; }
.badge-cat { text-decoration: none; color: var(--text); background: color-mix(in srgb, var(--c) 12%, #fff); border-color: color-mix(in srgb, var(--c) 45%, #fff); }
.badge-cat:hover { color: var(--text); }

/* Category tiles with stacked icons. */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.cat-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 60%), #fff; }
.cat-card:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); transform: translateY(-5px); }
.cat-card h3 { margin: 0; }
.cat-card p { flex: 1; }
.cat-card .count-badge { display: inline-flex; align-items: center; gap: 6px; font: 700 .85rem/1 var(--font-body); color: var(--ct, var(--zb)); letter-spacing: .04em; }
.cat-card .count-badge svg { width: 15px; height: 15px; }
.stack { display: flex; padding-left: 12px; margin-bottom: 6px; }
.stack img { width: 54px; height: 54px; border-radius: 50%; margin-left: -12px; border: 3px solid #fff; transition: transform .3s ease; background: #fff; }
.cat-card:hover .stack img { transform: translateY(-4px); }
.cat-card:hover .stack img:nth-child(2) { transition-delay: .04s; }
.cat-card:hover .stack img:nth-child(3) { transition-delay: .08s; }
.cat-card:hover .stack img:nth-child(4) { transition-delay: .12s; }

/* ---- Category sections in the app index ------------------------------------------------------ */
.cat-block { padding-block: clamp(26px, 3.5vw, 40px); border-top: 1px solid var(--line); }
.cat-block:first-of-type { border-top: 0; }
.cat-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-block-head h2, .cat-block-head h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; align-items: center; gap: 12px; }
.cat-block-head h2 svg, .cat-block-head h3 svg { width: 26px; height: 26px; color: var(--ct, var(--zb)); }
.cat-block-head a { font-weight: 650; text-decoration: none; font-size: .95rem; }
.cat-block-head p { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); }

.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); font: 650 .9rem/1 var(--font-body); cursor: pointer; transition: all .2s ease; }
.filters button:hover { color: var(--zb); border-color: var(--zb); }
.filters button[aria-pressed="true"] { background: var(--zb); color: #fff; border-color: var(--zb); }
.search { position: relative; flex: 1 1 240px; max-width: 360px; margin-left: auto; }
.search input { width: 100%; padding: 12px 16px 12px 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: inherit; font-size: .95rem; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--faint); }
.is-hidden { display: none !important; }
.no-results { color: var(--muted); padding: 24px 0; }

/* ---- Frames (screenshots) and split rows --------------------------------------------------- */
.frame { position: relative; padding: 10px; border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--c) 60%, #14294a), 0 20px 40px -30px rgba(20, 41, 74, .35); }
.frame .dots { display: flex; gap: 6px; padding: 4px 6px 10px; }
.frame .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame .dots i:first-child { background: var(--c); }
.frame img { border-radius: 14px; width: 100%; background: var(--surface-2); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 84px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.reverse > :first-child { order: 2; }
.split h2, .split h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---- Page heads: light, blue glow, the faint Zaweba mark ---------------------------------------- */
.page-hero, .app-hero, .social-hero { position: relative; overflow: clip; isolation: isolate; background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); }
.page-hero::after, .app-hero::after, .social-hero::after { content: ""; position: absolute; z-index: -1; right: clamp(-120px, -6vw, -40px); top: 50%; width: clamp(260px, 32vw, 420px); aspect-ratio: 1; transform: translateY(-50%);
  background: url("../brand/zaweba-mark-blue.svg") center / contain no-repeat; opacity: .06; pointer-events: none; }
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 60px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 90% at 85% 0%, rgba(79, 138, 214, .16), transparent 65%); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 17ch; }
.page-hero + .section-tight, .page-hero + .section { padding-top: 0; }
.app-hero::after { display: none; }       /* the screenshot sits there */
.cat-hero::before { background: radial-gradient(50% 80% at 90% 10%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%); }
.breadcrumbs { font-size: .88rem; color: var(--faint); margin-bottom: 24px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }

/* ---- App page ------------------------------------------------------------------------------ */
.app-hero { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 4vw, 56px); }
.app-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 75% at 82% 20%, color-mix(in srgb, var(--c) 22%, transparent), transparent 62%), radial-gradient(40% 40% at 0% 70%, color-mix(in srgb, var(--c-2) 10%, transparent), transparent 60%); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.app-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: 18px; }
.app-hero h1 .sub { display: block; font-size: .46em; line-height: 1.12; letter-spacing: -.02em; margin-top: .35em; color: var(--ct, var(--zb)); }
.app-hero .lead { margin-bottom: 28px; }
.app-hero .meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.facts .card h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.facts .card h2 svg { width: 22px; height: 22px; color: var(--ct, var(--zb)); }
.facts ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 8px; }
.facts li::marker { color: var(--ct, var(--zb)); }
.feature-card { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 7%, #fff), #fff 55%); }
.feature-card .icon { background: color-mix(in srgb, var(--c) 12%, #fff); border-color: color-mix(in srgb, var(--c) 40%, #fff); color: var(--ct, var(--zb)); }
.intro p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #26344d; }
.intro p:first-child::first-letter { color: var(--ct, var(--zb)); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 32%; color: var(--muted); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-wrap { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow-x: auto; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .25s ease, background .25s ease; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; font: 700 1.03rem/1.4 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--zb); border-bottom: 2.5px solid var(--zb); transform: translateY(-70%) rotate(45deg); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq summary img { display: inline-block; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; margin-right: 10px; }

/* Hand-offs between apps (/software/). */
.handoff-icons { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.handoff-icons img { width: 48px; height: 48px; border-radius: 50%; transition: transform .3s ease; }
.handoff-icons a:hover img { transform: scale(1.1); }
.handoff-icons svg { width: 20px; height: 20px; color: var(--faint); }
.handoff h3 { font-size: 1.12rem; }
.handoff p { font-size: .95rem; }
.contact-grid { grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

/* ---- Downloads ----------------------------------------------------------------------------- */
.dl-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dl-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); scroll-margin-top: calc(var(--header-h) + 24px); }
.dl-row:target { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.dl-row img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.dl-row .dl-text { flex: 1; min-width: 0; }
.dl-row strong { display: block; font: 800 1.05rem/1.2 var(--font-display); }
.dl-row strong a { text-decoration: none; color: var(--text); }
.dl-row strong a:hover { text-decoration: underline; }
.dl-row span { display: block; color: var(--faint); font-size: .86rem; line-height: 1.35; }
.dl-row .btn { flex-shrink: 0; }
.dl-go .badge-soon { font-size: .72rem; padding: 7px 14px; }

/* ---- Principles, CTA band, share strip ------------------------------------------------------ */
.principle { padding: 26px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 80px 1fr; gap: 22px; }
.principle .num { font: 900 2.1rem/1 var(--font-display); color: var(--zb); }
.principle h3, .split .principle h3 { margin-bottom: 6px; font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.principle p { color: var(--muted); margin: 0; }
.big-statement { font: 900 clamp(2rem, 5.2vw, 4.4rem)/1.02 var(--font-display); letter-spacing: -.035em; max-width: 18ch; }
.big-statement em { font-style: normal; color: var(--zb); }

.cta-band { position: relative; border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 80px); overflow: hidden; isolation: isolate; background: var(--zb); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(79, 138, 214, .7), transparent 60%); }
.cta-band .cta-mark { position: absolute; right: clamp(-40px, -2vw, 0px); top: 50%; transform: translateY(-50%); width: clamp(180px, 26vw, 340px); height: auto; opacity: .14; z-index: -1; }
.cta-band h2 { max-width: 16ch; color: #fff; }
.cta-band .gradient-text { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.cta-band .lead { color: #e1eaf7; max-width: 52ch; }
.cta-band .btn-primary { background: #fff; color: var(--zb); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--zb-sky); color: var(--zb-deep); border-color: var(--zb-sky); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; }
.cta-band a:not(.btn) { color: #fff; }

.share-strip { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 36px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--zb); }
.share-strip .ss-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--zb-sky); }
.share-strip .ss-icon svg { width: 24px; height: 24px; color: var(--zb); }
.share-strip .ss-text { flex: 1; min-width: 0; }
.share-strip h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 4px; }
.share-strip p { color: var(--muted); margin: 0; }

/* ---- Prose, journal, notes ----------------------------------------------------------------- */
.prose { font-size: 1.07rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 1.8em 0 .6em; }
.prose p, .prose li { color: #26344d; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--zb); font: 700 1.3rem/1.4 var(--font-display); color: var(--text); }
.prose img { border-radius: var(--radius-sm); }
.prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--faint); font-size: .92rem; margin-top: 18px; }
.note-box { padding: 18px 22px; border-radius: var(--radius-sm); background: #fff6e0; border: 1px solid #f0d49a; color: #6b4300; font-size: .95rem; }
.journal-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.journal-card:hover { color: var(--text); transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.journal-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--surface-2); }
.journal-card .jc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.journal-card .jc-body p { color: var(--muted); margin: 0; flex: 1; }
.journal-card .tag { color: var(--zb); font-size: .85rem; font-weight: 600; }

/* ---- Forms -------------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: inherit; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus, .newsletter input:focus, .copy-field input:focus { outline: none; border-color: var(--zb); box-shadow: 0 0 0 4px rgba(52, 104, 173, .2); }
.field .hint { color: var(--faint); font-size: .85rem; margin-top: 6px; }
.form-status { min-height: 1.5em; color: var(--ok); font-weight: 600; }
.form-status.is-error { color: var(--bad); }
.newsletter { display: flex; gap: 10px; max-width: 440px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; }
.newsletter input::placeholder { color: #b9c8de; }
.kinds { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kinds legend { font-weight: 650; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.kind { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.kind:has(input:checked) { border-color: var(--zb); box-shadow: 0 0 0 3px rgba(52, 104, 173, .18); }
.kind input { margin-top: 4px; accent-color: var(--zb); }
.kind strong { display: block; font-size: .95rem; }
.kind small { display: block; color: var(--faint); font-size: .8rem; line-height: 1.35; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer (ink blue, white logo) ------------------------------------------------------------ */
.site-footer { position: relative; margin-top: clamp(40px, 7vw, 90px); padding-block: 64px 32px; background: var(--zb-ink); color: #dce5f2; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--zb); }
.site-footer::after { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -120px; width: 420px; aspect-ratio: 1; background: url("../brand/zaweba-mark-white.svg") center / contain no-repeat; opacity: .05; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #c5d2e5; max-width: 34ch; }
.footer-col h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #8fb3e6; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #dce5f2; text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-heart { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 650; text-decoration: none; }
.footer-heart:hover { color: #fff; }
.footer-heart svg { width: 16px; height: 16px; color: #8fb3e6; }
.site-footer .btn { color: var(--zb); background: #fff; border-color: #fff; }
.site-footer .btn:hover { color: var(--zb-deep); background: var(--zb-sky); box-shadow: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: #a9bad3; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #a9bad3; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---- Share or support page ----------------------------------------------------------------- */
.social-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.social-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 70% at 85% 30%, color-mix(in srgb, var(--c) 18%, transparent), transparent 62%); }
.social-hero h1 { max-width: 14ch; }
.social-hero h1 [data-s="title"] { display: block; }
.share-preview { margin: 0; }
.sp-card { position: relative; padding: 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--c) 70%, #14294a); transform: rotate(-1.5deg); }
.sp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.sp-head img { width: 64px; height: 64px; border-radius: 50%; animation: float 6s ease-in-out infinite; }
.sp-head img.mark { border-radius: 0; }
.sp-head strong { display: block; font: 800 1.35rem/1.15 var(--font-display); }
.sp-head span { color: var(--faint); font-size: .9rem; }
.sp-card p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.share-preview figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; color: var(--faint); font-size: .88rem; }
.share-preview figcaption svg { width: 15px; height: 15px; }
.share-native { width: 100%; margin-bottom: 18px; min-height: 58px; font-size: 1.1rem; }
.share-native[hidden] { display: none; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.share-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--text); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.share-tile:hover { color: var(--text); transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, #fff); box-shadow: var(--shadow); }
.share-tile .st-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.share-tile .st-icon svg { width: 22px; height: 22px; }
.copy-row { margin-top: clamp(20px, 3vw, 28px); padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.copy-row label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 10px; color: var(--muted); }
.copy-field { display: flex; gap: 10px; }
.copy-field input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 500 .98rem/1.2 var(--font-body); }
.copy-row .form-status { margin: 8px 0 0; min-height: 1.4em; font-size: .92rem; }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; color: var(--faint); font-size: .92rem; }
.privacy-note svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: .25em; color: var(--zb); }
.donate-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.free-promise { display: flex; gap: 14px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius); background: var(--zb-sky); border: 1px solid var(--line-2); }
.free-promise svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--zb); margin-top: 2px; }
.free-promise p { margin: 0 0 .8em; color: var(--muted); }
.free-promise p:last-child { margin: 0; }
.free-promise strong { color: var(--text); }
.donate-card { --c: #3468ad; display: flex; flex-direction: column; gap: 4px; }
.donate-card .dc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.donate-card p { flex: 1; }
.donate-card .amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.donate-card .amounts span, .donate-card .amounts a { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; border: 1px solid var(--line-2); color: var(--muted); text-decoration: none; }
.donate-card .amounts a:hover { color: var(--zb); border-color: var(--zb); }
.donate-card .btn { margin-top: 18px; width: 100%; }
.donate-note { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.donate-note svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--warn); }

/* ---- Download notices, offer box, Mac and Linux, feedback ------------------------------------- */
.dl-meta { margin: 14px 0 0; color: var(--faint); font-size: .9rem; }
.win-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff6e0; border: 1px solid #f0d49a; color: #6b4300; font-size: .95rem; line-height: 1.45; max-width: 60ch; }
.win-note strong { color: #5a3800; }
.win-note a { color: #5a3800; font-weight: 600; }
.win-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--warn); }
.dl-meta svg { width: 16px; height: 16px; vertical-align: -3px; }
.dl-meta .faint, .dl-also .faint { color: var(--faint); }
.dl-meta a, .dl-also a { font-weight: 600; }
.dl-row .dl-also { margin-top: 4px; }
.dl-row .dl-also span { display: inline; }
.fb-link { margin: 10px 0 0; font-size: .92rem; }
.fb-link svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; color: var(--zb); }
.win-notice { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: var(--radius-sm); background: #fff6e0; border: 1px solid #f0d49a; margin-bottom: 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.win-notice > svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--warn); }
.win-notice h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .35em; }
.win-notice p { margin: 0; color: #6b4300; }
.offer-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--zb-sky); border: 1px solid var(--line-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.offer-box h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .35em; }
.offer-box p { margin: 0 0 .5em; color: var(--muted); }
.offer-box p:last-child { margin-bottom: 0; }
.dl-go { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.dl-go small { color: var(--faint); font-size: .76rem; white-space: nowrap; }
.dl-row strong .badge { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: .62rem; padding: 3px 8px; }

/* Download links whose ZIP isn't on the server yet (assets/js/site.js checks them on page load). */
.btn.is-unavailable { opacity: .7; cursor: not-allowed; background: transparent; color: var(--faint); border: 1px dashed var(--line-2); box-shadow: none; }
.btn.is-unavailable:hover { transform: none; box-shadow: none; }
.dl-unavailable { display: block; margin-top: 10px; color: var(--faint); font-size: .84rem; line-height: 1.4; }
.dl-go .dl-unavailable { text-align: right; margin-top: 2px; white-space: nowrap; }

/* ---- Scroll reveal ------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.section-tight + .section-tight { padding-top: 0; }
.app-card .badge { align-self: flex-start; }

/* ---- Responsive --------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .share-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .cta-mark { opacity: .08; }
}
@media (max-width: 960px) {
  .hero-shot { margin-top: 8px; }
  :root { --header-h: 64px; }
  .brand-link img { height: 30px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; background: var(--zb); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 15px 8px; font-size: 1.12rem; border-radius: 12px; }
  .mega { position: static; width: 100%; transform: none; display: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 12px; background: transparent; border: 0; max-height: none; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-cols { columns: 2 140px; }
  .mega-group { margin-bottom: 4px; }
  .mega-group ul { display: none; }
  .mega-group h2 { font-size: .95rem; letter-spacing: 0; text-transform: none; }
  .mega-group h2 a { color: #e3ecf8; padding: 10px 8px; }
  .mega-foot { color: #c5d6ee; border-top-color: rgba(255, 255, 255, .2); }
  .mega-foot a { color: #fff; }
  .header-cta { margin: 18px 0 0; }
  .nav-heart { width: 100%; height: auto; margin: 6px 0 0; padding: 15px 8px; border: 0; border-radius: 12px; display: flex; justify-content: flex-start; gap: 10px; font: 600 1.12rem/1 var(--font-body); }
  .nav-heart span { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; }
  .app-hero-grid, .split, .social-grid, .donate-wrap { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3, .cat-grid, .facts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dl-list { grid-template-columns: 1fr; }
  .share-preview { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .cat-grid, .facts, .form-row, .kinds { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .principle { grid-template-columns: 1fr; gap: 6px; }
  .btn-row .btn { flex: 1 1 auto; }
  .newsletter, .copy-field { flex-direction: column; }
  .spec-table th, .spec-table td { display: block; width: auto; padding: 10px 16px; }
  .spec-table th { padding-bottom: 0; border-bottom: 0; }
  .share-strip { flex-direction: column; align-items: flex-start; }
  .share-strip .btn { width: 100%; }
  .share-tile { padding: 14px; gap: 10px; }
  .sp-card { transform: none; padding: 22px; }
  .dl-row { flex-wrap: wrap; }
  .dl-row .btn { width: 100%; }
  .search { max-width: none; margin-left: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .app-mini { padding: 12px 14px; }
  .beta-strip .bs-more { display: none; }
  .beta-strip .container { align-items: flex-start; }
  .dl-go { width: 100%; align-items: stretch; }
  .dl-go small, .dl-go .dl-unavailable { text-align: center; white-space: normal; }
  .win-notice, .offer-box { padding: 18px; flex-direction: column; gap: 10px; }
  .app-chips { gap: 8px; }
  .app-chips a { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .share-strip, .beta-strip { display: none !important; }
  body { background: #fff; color: #000; }
}
