/* VizzHive by Vizz Software - static site. Brand colours from the VizzHive media kit. */
:root {
  --purple: #534ab7;
  --indigo: #26215c;
  --lavender: #afa9ec;
  --night: #17142b;
  --bg: #f8f7fc;
  --surface: #ffffff;
  --surface-alt: #edebf8;
  --text: #26215c;
  --muted: #4a4570;
  --accent: #534ab7;
  --border: #d9d5ee;
  --btn-bg: #534ab7;
  --btn-text: #ffffff;
  --focus: #534ab7;
  --field-border: #6f6a9a;
  --danger: #b3261e;
  --hex: #534ab7;
  --tint: #ebe9fb;
  --tint-strong: #cfcaf3;
  --shadow: 0 1px 2px rgba(38, 33, 92, 0.06), 0 6px 18px rgba(38, 33, 92, 0.07);
  --shadow-lift: 0 2px 4px rgba(38, 33, 92, 0.08), 0 12px 28px rgba(38, 33, 92, 0.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 68rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17142b;
    --surface: #221e40;
    --surface-alt: #1d1a36;
    --text: #f8f7fc;
    --muted: #c9c5e6;
    --accent: #afa9ec;
    --border: #3a3566;
    --btn-bg: #afa9ec;
    --btn-text: #17142b;
    --focus: #afa9ec;
    --field-border: #8c86c4;
    --danger: #ff9a93;
    --hex: #afa9ec;
    --tint: #3b375f;
    --tint-strong: #4c4880;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 6px 18px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--text); }
.brand img { display: block; width: 12.5rem; height: auto; }
.brand-by { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.brand-by strong { color: var(--text); font-weight: 600; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: 0.35rem 0; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lead { margin: 0 0 1.75rem; max-width: 40rem; color: var(--muted); font-size: 1.2rem; }
.hero-art { display: none; }
.hero-art img { width: 100%; max-width: 20rem; margin: 0 auto; display: block; }
@media (min-width: 56rem) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero .wrap { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .hero-art { display: block; }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 0.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.08); text-decoration: underline; }
.btn:focus-visible { outline-color: var(--text); }

/* Sections */
section { padding: 3rem 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.section-intro { margin: 0 0 2rem; max-width: 42rem; color: var(--muted); }

.cards { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
}
.card svg { display: block; width: 2rem; height: 2rem; margin-bottom: 0.9rem; color: var(--accent); }
.card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Status */
.status-box {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 0.9rem;
}
.status-box p { margin: 0; }
.badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}
@media (min-width: 48rem) {
  .status-box { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
}

/* About */
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .about-grid { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; }
dl.contact { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; }
dl.contact dt { color: var(--muted); font-weight: 600; }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }
.legal-name { font-weight: 700; }

/* Footer */
.site-footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.site-footer p { margin: 0 0 0.75rem; max-width: 52rem; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; margin-bottom: 0.75rem; }
.site-footer .row p { margin: 0; }
.small { font-size: 0.875rem; }

/* Privacy page */
.doc { padding: 2.5rem 0 3.5rem; }
.doc .wrap > * { max-width: 46rem; }
.doc h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.doc h2 { margin-top: 2rem; font-size: 1.35rem; }
.doc p, .doc ul { margin: 0 0 1rem; }
.doc ul { padding-left: 1.25rem; }
.doc .updated { color: var(--muted); }

@media print {
  .skip-link, .site-nav { display: none; }
  body { background: #fff; color: #000; }
}

/* Works with */
.works-with { padding: 1.75rem 0 2rem; }
.works-title { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.works-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.works-list li { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; }
.works-list img { display: block; width: 1.75rem; height: 1.75rem; }
.works-list .works-more { color: var(--muted); font-weight: 400; }
.works-note { margin: 0; max-width: 46rem; color: var(--muted); }

/* Trademarks page */
.owners { list-style: none; padding: 0; }
.owners li { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1rem; }
.owners img { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.2rem; }
.placeholder { padding: 0.9rem 1rem; border: 2px dashed var(--accent); border-radius: 0.5rem; background: var(--surface); }

/* Hero line and planned tag (UI-SITE-3) */
.lead-line { margin: 0 0 0.6rem; color: var(--text); font-size: 1.3rem; font-weight: 600; line-height: 1.35; }
.tag-planned {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.55rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 0.15em;
}
.nb { display: inline-block; }

/* Honeycomb behind the hero (UI-SITE-4): CSS only, static, fades out towards the text */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60rem, 100%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64 56 80M28 64 0 80M28 100V64' fill='none' stroke='%23534ab7' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70%);
  mask-image: linear-gradient(to right, transparent, #000 70%);
}
@media (prefers-color-scheme: dark) {
  .hero::before {
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64 56 80M28 64 0 80M28 100V64' fill='none' stroke='%23afa9ec' stroke-width='1.5'/%3E%3C/svg%3E");
  }
}
@media (forced-colors: active) { .hero::before { display: none; } }

/* How it works */
.steps { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { position: relative; }
.steps h3 { margin: 0.9rem 0 0.35rem; font-size: 1.15rem; line-height: 1.3; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.75rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 1.4rem;
  font-weight: 700;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@media (min-width: 48rem) {
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.85rem;
    left: 4.25rem;
    right: -1rem;
    border-top: 2px dashed var(--border);
  }
}

/* FAQ */
.faq { max-width: 46rem; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.4rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* Waitlist form */
.status-text p + p { margin-top: 0.75rem; }
.status-box { align-items: start; }
@media (min-width: 48rem) { .status-box { grid-template-columns: 1fr 1.15fr; } }
.waitlist-card { scroll-margin-top: 1.5rem; padding: 1.25rem; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 0.75rem; }
.waitlist-card h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.field { margin: 0 0 1rem; }
.field label { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.field .opt, .field .req { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.field input[type="email"], .field input[type="text"], .field textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--field-border);
  border-radius: 0.5rem;
  font: inherit;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: 0 0.65rem; align-items: start; }
.field.check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--accent); }
.field.check label { margin: 0; font-weight: 400; }
.field.check .field-error { grid-column: 2; }
.field-error { margin: 0.35rem 0 0; color: var(--danger); font-size: 0.95rem; font-weight: 600; }
.field-error[hidden], .form-msg[hidden], .form-done[hidden], form[hidden] { display: none; }
.form-msg { margin: 0 0 1rem; padding: 0.7rem 0.9rem; border: 1.5px solid var(--danger); border-left-width: 6px; border-radius: 0.5rem; background: var(--surface); color: var(--text); }
.form-done { padding: 0.9rem 1rem; border: 1.5px solid var(--accent); border-left-width: 6px; border-radius: 0.5rem; background: var(--surface); }
.form-done p { margin: 0; }
.form-done p + p { margin-top: 0.4rem; color: var(--muted); }
.done-title { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.btn:disabled { opacity: 0.65; cursor: progress; }
.page-narrow { max-width: 40rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .faq summary { transition: filter 0.15s ease; }
}

/* Phones: the main navigation stays on one line under the logo */
@media (max-width: 40rem) {
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 0.25rem 0.5rem; }
  .site-nav a { padding: 0.5rem 0; font-size: 0.95rem; white-space: nowrap; }
}
@media (max-width: 22.5rem) {
  .site-nav a { font-size: 0.875rem; }
}

/* ---- UI-SITE-6: company home, product pages, shared navigation ---- */
/* UI-SITE-9: the company logo (media kit, outlined SVG, light and dark via <picture>). Brand rules: width 160 px or more; clear space of one
   capital-V height on all sides (the V is 65% of the file's height; the file's own margin plus the header padding give about that). */
.site-header .wrap { padding-top: 0.95rem; padding-bottom: 0.95rem; }
.wordmark { display: block; line-height: 0; text-decoration: none; }
.wordmark img { display: block; width: 11rem; height: auto; margin-left: -0.4rem; } /* the file has a 30/820 left margin: the V lines up with the page text */
@media (max-width: 24rem) { .wordmark img { width: 10rem; margin-left: -0.37rem; } }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }

/* Second row on product pages: links to the sections of that page */
.subnav { border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.subnav ul { display: flex; flex-wrap: wrap; gap: 0.1rem 1.25rem; margin: 0; padding: 0.15rem 0; list-style: none; }
.subnav a { display: inline-block; padding: 0.4rem 0; color: var(--muted); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.subnav a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 40rem) {
  .subnav ul { flex-wrap: nowrap; justify-content: space-between; gap: 0.25rem 0.5rem; }
  .subnav a { white-space: nowrap; font-size: 0.875rem; }
}

.hero-logo { display: block; width: 13rem; max-width: 100%; height: auto; margin: 0 0 1.5rem; }
.hero-logo.hive { width: 11rem; }
.hero-logo.desk { width: 16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.btn-secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); padding: calc(0.75rem - 1.5px) calc(1.4rem - 1.5px); }
.btn-secondary:hover { filter: none; background: var(--surface-alt); }
.hero.plain::before { display: none; }
.hero-art.pair { display: none; }
@media (min-width: 56rem) {
  .hero-art.pair { display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
  .hero-art.pair img { max-width: none; margin: 0; }
  .hero-art.pair picture:first-child img { width: 14rem; }
  .hero-art.pair picture:last-child img { width: 9rem; }
}

/* Product cards on the company home page */
.products { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .products { grid-template-columns: repeat(2, 1fr); } }
.product-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--accent); border-radius: 0.9rem; }
.product-card .logo { display: block; height: 3.25rem; width: auto; }
.product-card h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.product-card p { margin: 0; color: var(--muted); }
.product-card .badge { margin: 0; }
.product-card .btn { margin-top: auto; }
.product-card.desk { --accent: #534ab7; }
@media (prefers-color-scheme: dark) { .product-card.desk { --accent: #afa9ec; } }

/* Plan and status tags */
.tag-plan, .tag-os { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.55rem; border: 1px solid var(--field-border); border-radius: 999px; color: var(--muted); font-size: 0.75rem; font-weight: 600; line-height: 1.5; vertical-align: 0.1em; white-space: nowrap; }
.tag-os { border-color: var(--border); }

/* VizzDesk page: the brand's own neutrals (docs/brand/VizzDesk-Brand/brand.md); the indigo is the site's indigo */
body.theme-desk {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f3fa;
  --text: #2c2c2a;
  --muted: #5f5e5a;
  --accent: #534ab7;
  --border: #dcdae8;
  --btn-bg: #534ab7;
  --btn-text: #ffffff;
  --focus: #534ab7;
  --field-border: #8a88a0;
  --tint: #ebe9fb;
  --tint-strong: #cfcaf3;
}
@media (prefers-color-scheme: dark) {
  body.theme-desk {
    --bg: #1a1a22;
    --surface: #23232e;
    --surface-alt: #1f1f29;
    --text: #f1efe8;
    --muted: #c0beb6;
    --accent: #afa9ec;
    --border: #3b3b4c;
    --btn-bg: #afa9ec;
    --btn-text: #1a1a22;
    --focus: #afa9ec;
    --field-border: #8f8da6;
    --tint: #3c3b50;
    --tint-strong: #57557a;
  }
}

/* VizzDesk features in tabs (UI-SITE-7): six tabs group the eleven categories; inside a panel with several categories a second
   row of pills picks the category (round 2). Without JavaScript the strip is a row of anchor links and every panel and category is
   visible one after another; vizzdesk-tabs.js adds .is-tabs and turns it into a two-level tabs widget. */
.section-line { border-top: 1px solid var(--border); }
.theme-desk .card { box-shadow: var(--shadow); }
.ftab-strip { position: relative; margin: 0 0 1.25rem; }
.ftab-list { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--tint-strong); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.ftab-list::-webkit-scrollbar { display: none; }
.ftab-list li { flex: 1 0 auto; scroll-snap-align: start; }
.ftab { display: flex; align-items: center; justify-content: center; gap: 0.6rem; box-sizing: border-box; width: 100%; min-height: 4rem; margin: 0 0 -1px; padding: 0.55rem 1rem 0.5rem; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0.5rem 0.5rem 0 0; color: var(--muted); font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer; }
.ftab svg { flex: none; width: 1.5rem; height: 1.5rem; }
.ftab-label { max-width: 9rem; text-wrap: balance; }
.ftab:hover { background: var(--tint); color: var(--text); }
.ftab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.ftab:focus-visible { outline-offset: -3px; }
.ftab-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 0.75rem; align-items: start; }
.ftab-panels { grid-column: 2; grid-row: 1; display: grid; gap: 1.5rem; }
.ftab-arrow { display: none; position: sticky; top: 45vh; z-index: 1; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; background: var(--surface); border: 1.5px solid var(--tint-strong); border-radius: 50%; box-shadow: var(--shadow); color: var(--accent); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ftab-arrow:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.ftab-arrow span { display: block; margin-top: -0.12em; }
.ftab-arrow-prev { grid-column: 1; grid-row: 1; }
.ftab-arrow-next { grid-column: 3; grid-row: 1; }
@media (min-width: 48rem) { .ftabs.is-tabs .ftab-arrow { display: flex; } }
.ftabs.is-tabs .ftab-panel[hidden] { display: none; }
.ftabs.is-tabs .ftab-panel:focus-visible { outline-offset: 3px; }
.ftab-panel { display: grid; gap: 1.25rem; align-content: start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 0.9rem; box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.ftab-panel[hidden], .cat[hidden] { display: none; }
.ftab-enter { animation: ftab-in 0.22s ease-out; }
@keyframes ftab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 56rem) { .ftab-panel { padding: 1.5rem 1.75rem 1.75rem; } }
/* second level: category pills (filled, clearly different from the underline strip above) */
.ftab-subs { display: flex; gap: 0.5rem; margin: 0 0 1rem; padding: 2px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.ftab-subs::-webkit-scrollbar { display: none; }
.ftab-pill { flex: none; scroll-snap-align: start; padding: 0.45rem 1rem; background: var(--tint); border: 0; border-radius: 999px; color: var(--text); font: inherit; font-size: 0.9rem; font-weight: 600; line-height: 1.3; white-space: nowrap; cursor: pointer; }
.ftab-pill:hover { background: var(--tint-strong); }
.ftab-pill[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-text); }
.ftab-pill-count { font-weight: 500; }
.ftab-pill:focus-visible { outline-offset: 2px; }
.cat { padding: 1.25rem 1.35rem 1.35rem; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 0.75rem; scroll-margin-top: 1rem; }
.ftabs.is-tabs .cat { padding: 0; background: none; border: 0; border-radius: 0; }
.cat-intro { max-width: 52rem; }
@media (min-width: 56rem) {
  .ftabs.is-tabs .cat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 2rem; align-items: start; }
  .ftabs.is-tabs .cat[hidden] { display: none; }
  .ftabs.is-tabs .cat-head { grid-column: 1; grid-row: 1; margin: 0 0 0.5rem; }
  .ftabs.is-tabs .cat-meta { grid-column: 1; grid-row: 2; margin: 0 0 1rem; }
  .ftabs.is-tabs .cat-intro { grid-column: 2; grid-row: 1 / span 2; margin: 0.15rem 0 1rem; }
  .ftabs.is-tabs .cat-list { grid-column: 1 / -1; grid-row: 3; }
}
.cat-head { display: flex; gap: 0.85rem; align-items: center; margin: 0 0 0.6rem; }
.cat-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--tint); border-radius: 0.75rem; color: var(--accent); }
.cat-icon svg { width: 1.35rem; height: 1.35rem; }
.cat-name { margin: 0; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.cat h3 { margin: 0.1rem 0 0; font-size: 1.15rem; line-height: 1.3; }
.cat-intro { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.cat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 0.9rem; }
.cat-meta .tag-plan, .cat-meta .tag-os { margin-left: 0; }
.cat-count { display: inline-block; padding: 0.05rem 0.6rem; background: var(--tint); border-radius: 999px; color: var(--accent); font-size: 0.75rem; font-weight: 700; line-height: 1.5; }
.cat-list { margin: 0; }
.cat-list div { position: relative; break-inside: avoid; margin: 0 0 0.65rem; padding-left: 1.6rem; }
@media (min-width: 40rem) { .cat-list { column-count: 2; column-gap: 2rem; } }
@media (min-width: 68rem) { .cat-list { column-count: 3; } }
.cat-list div::before { content: ""; position: absolute; left: 0; top: 0.18rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--tint); }
.cat-list div::after { content: ""; position: absolute; left: 0.41rem; top: 0.38rem; width: 0.27rem; height: 0.52rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cat-list dt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; font-weight: 600; line-height: 1.45; }
.cat-list dt .tag-plan { margin-left: auto; }
.cat-list dd { margin: 0.05rem 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.ftabs { scroll-margin-top: 1rem; }
.cat-back { margin: 0.9rem 0 0; font-size: 0.9rem; }
.ftabs.is-tabs .cat-back { display: none; }
@media (max-width: 40rem) {
  .ftab-panel { padding: 0.9rem; }
  .cat { padding: 1.05rem 1.05rem 1.15rem; }
  .cat-intro, .cat-list dd { font-size: 0.92rem; line-height: 1.42; }
  .ftab { min-height: 3.5rem; padding: 0.5rem 0.85rem 0.45rem; font-size: 0.9rem; }
  .ftab-label { max-width: none; white-space: nowrap; }
}
/* the strip scrolls sideways on narrow screens; fades at the edges tell people there is more (the script sets the classes from the scroll position) */
.ftabs.is-tabs .ftab-strip.fade-end .ftab-list { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); }
.ftabs.is-tabs .ftab-strip.fade-start .ftab-list { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent); }
.ftabs.is-tabs .ftab-strip.fade-start.fade-end .ftab-list { -webkit-mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); }
.ftabs.is-tabs .ftab-subs.fade-end { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); }
.ftabs.is-tabs .ftab-subs.fade-start { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent); }
.ftabs.is-tabs .ftab-subs.fade-start.fade-end { -webkit-mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); }
@media (prefers-reduced-motion: reduce) {
  .ftab-enter { animation: none; }
}
@media (forced-colors: active) {
  .cat-list div::before { border: 1px solid CanvasText; }
  .cat-list div::after { border-color: CanvasText; }
  .ftab[aria-selected="true"] { border-bottom-color: Highlight; color: Highlight; }
  .ftab-pill { border: 1px solid ButtonText; }
  .ftab-pill[aria-selected="true"] { background: Highlight; color: HighlightText; border-color: Highlight; }
  .ftab-arrow { border-color: ButtonText; }
}

/* Coming soon */
.soon { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .soon { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .soon { grid-template-columns: repeat(3, 1fr); } }
.soon li { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px dashed var(--field-border); border-radius: 0.75rem; }
.soon h3 { margin: 0 0 0.3rem; font-size: 1.05rem; line-height: 1.3; }
.soon p { margin: 0; color: var(--muted); font-size: 0.975rem; }

/* Integrations: equal tiles on one grid for both blocks (2 columns on phones, 3 on tablets, 5 on wide screens).
   Logo heights are set so the visible marks are about 28px tall (the files carry their own transparent margins and are not
   cropped); the wide Google Workspace wordmark is limited by the tile width instead. A tile without a logo shows its name alone. */
.int-block + .int-block { margin-top: 1.75rem; }
.int-block h3 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.int-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .int-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.int-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; height: 7.5rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; text-align: center; }
.int-mark { display: flex; align-items: center; justify-content: center; width: 100%; height: 3rem; }
.int-mark picture { display: contents; }
.int-mark img { display: block; max-width: 100%; }
.int-mark img.ico { width: 2rem; height: 2rem; }
.int-mark img.okta { width: auto; height: 2.875rem; }
.int-mark img.gws { width: 10rem; height: auto; }
.int-name { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.int-name:only-child { font-size: 1rem; }
.int-blocks + .works-note { margin-top: 1.5rem; }

/* Waitlist block on the VizzDesk page: same card as VizzHive's */
.theme-desk .status-box { border-left-color: var(--accent); }
@media (max-width: 24rem) {
  .subnav ul { flex-wrap: wrap; justify-content: flex-start; gap: 0 1rem; }
}
.products + .works-note { margin-top: 1.25rem; }
