/* 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;
  --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;
  }
}

*, *::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); }
