/* Zoon Labss — shared styles. Palette: Navy #0B0F19, White #FFFFFF, Blue #2563EB, Light Gray #F1F5F9, Slate #64748B */
:root {
  --navy: #0b0f19;
  --white: #ffffff;
  --blue: #2563eb;
  --gray: #f1f5f9;
  --slate: #64748b;
  --radius: 10px;
  --max: 1160px;
  --font:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.site-header a:focus-visible,
.site-footer a:focus-visible,
.hero a:focus-visible,
.hero input:focus-visible,
.hero button:focus-visible {
  outline-color: var(--white);
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 0;
}
/* header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand {
  flex: none;
}
.brand-logo {
  height: clamp(40px, 5.5vw, 52px);
  width: auto;
}
.foot-logo {
  height: 72px;
  width: auto;
  margin-bottom: 0.8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  justify-self: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
}
.nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.05rem, 0.4vw, 0.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.5rem clamp(0.3rem, 0.9vw, 0.8rem);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  white-space: nowrap;
  opacity: 0.85;
}
.nav-list a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}
.nav-list a[aria-current="page"],
.nav-list a[aria-current="true"] {
  opacity: 1;
  box-shadow: inset 0 -3px 0 var(--blue);
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  cursor: pointer;
}
/* hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.hero p {
  max-width: 56ch;
  opacity: 0.85;
  margin: 0 0 2rem;
  font-size: 1.1rem;
}
.search {
  display: flex;
  gap: 0.5rem;
  max-width: 640px;
}
.search input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--white);
  font: inherit;
  color: var(--navy);
  background: var(--white);
}
.btn,
.search button {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 0.8rem 1.3rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover,
.search button:hover {
  background: var(--white);
  color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
}
/* sections */
.section {
  padding: 3rem 0;
}
.section.alt {
  background: var(--gray);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
}
.section-head p {
  margin: 0;
  color: var(--slate);
}
.page-title {
  background: var(--gray);
  padding: 2.5rem 0 2rem;
}
.page-title h1 {
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-title p {
  color: var(--slate);
  max-width: 65ch;
  margin: 0;
}
.crumbs {
  font-size: 0.9rem;
  color: var(--slate);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
}
.crumbs a {
  color: var(--slate);
}
/* grid & cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(11, 15, 25, 0.08);
}
.thumb {
  aspect-ratio: 16/9;
  background: var(--gray);
  width: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--slate);
}
.card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}
.card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card h3 a:focus-visible {
  outline: none;
}
.card:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}
.badge {
  background: var(--navy);
  color: var(--white);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge.cat {
  background: var(--blue);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.4rem;
}
.tag {
  font-size: 0.78rem;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  padding: 0 0.5rem;
  color: var(--slate);
}
.state {
  grid-column: 1/-1;
  padding: 2rem;
  border: 1px dashed var(--slate);
  border-radius: var(--radius);
  color: var(--slate);
  text-align: center;
  background: var(--white);
}
.state[data-type="error"] {
  border-style: solid;
}
.toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--slate);
  border-radius: 8px;
  font: inherit;
}
.more {
  text-align: center;
  margin-top: 2rem;
}
.more[hidden] {
  display: none;
}
/* footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.8rem;
}
.site-footer p {
  opacity: 0.8;
  margin: 0;
  font-size: 0.95rem;
  max-width: 36ch;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.site-footer a {
  color: var(--white);
  opacity: 0.85;
  text-decoration: none;
}
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.social {
  display: flex;
  gap: 0.6rem;
}
.social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  display: grid;
  place-items: center;
  opacity: 1;
}
.social a:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}
/* contact / about */
.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 560px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.contact-list a:hover {
  outline: 2px solid var(--blue);
}
.contact-list .ico {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.contact-list svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.contact-list small {
  display: block;
  font-weight: 400;
  color: var(--slate);
}
.prose {
  max-width: 70ch;
}
.note {
  border-left: 4px solid var(--blue);
  background: var(--gray);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Cookie notice */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: min(440px, 100%);
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--blue);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.92rem;
  line-height: 1.55;
}
.cookie-banner:focus {
  outline: none;
}
.cookie-title {
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
}
.cookie-banner p {
  margin: 0 0 0.9rem;
}
.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.cookie-btn {
  font: inherit;
  font-weight: 700;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.cookie-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.cookie-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.cookie-row-text p {
  margin: 0.2rem 0 0;
  opacity: 0.8;
  font-size: 0.85rem;
}
.cookie-label {
  font-weight: 700;
}
.cookie-always {
  flex: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #86efac;
}
.cookie-switch {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  position: relative;
  width: 44px;
  height: 24px;
  margin: 0.2rem 0 0;
  border-radius: 999px;
  background: #475569;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.15s;
}
.cookie-switch:checked {
  background: var(--blue);
}
.cookie-switch:checked::after {
  transform: translateX(20px);
}
.cookie-switch:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}
/* footer "Cookie Settings" link: looks like the other footer links */
.cookie-link {
  font: inherit;
  padding: 0;
  background: none;
  border: 0;
  color: var(--white);
  opacity: 0.85;
  cursor: pointer;
  text-align: left;
}
.cookie-link:hover {
  opacity: 1;
  text-decoration: underline;
}
.cookie-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
/* while the cookie panel is open, hide the floating Translate button so they never overlap */
.zl-cookie-open .zl-tr-btn,
.zl-cookie-open .zl-tr-panel {
  display: none;
}
@media (max-width: 600px) {
  .cookie-banner {
    width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 1.25rem 1.1rem 1.5rem;
  }
}

/* Translate Language (floating, bottom-left) */
.zl-gt-hidden {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.zl-tr-btn {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(1rem + var(--zl-cookie-h, 0px));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 15, 25, 0.35);
}
.zl-tr-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}
.zl-tr-btn:hover {
  background: var(--blue);
}
.zl-tr-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--blue);
}
.zl-tr-panel {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(4.3rem + var(--zl-cookie-h, 0px));
  z-index: 901;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(11, 15, 25, 0.3);
  padding: 0.8rem;
}
.zl-tr-panel[hidden] {
  display: none;
}
.zl-tr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.zl-tr-close {
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--slate);
  cursor: pointer;
  padding: 0.1rem 0.5rem;
}
.zl-tr-search {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.zl-tr-status {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--slate);
}
.zl-tr-status[data-type="error"] {
  color: #b91c1c;
}
.zl-tr-status[data-type="ok"] {
  color: #047857;
}
.zl-tr-list {
  list-style: none;
  margin: 0.4rem 0;
  padding: 0;
  overflow-y: auto;
  flex: 1 1 auto;
}
.zl-tr-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  font: inherit;
  background: transparent;
  color: var(--navy);
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}
.zl-tr-item small {
  color: var(--slate);
}
.zl-tr-item:hover {
  background: var(--gray);
}
.zl-tr-item[aria-current="true"] {
  background: var(--blue);
  color: var(--white);
}
.zl-tr-item[aria-current="true"] small {
  color: var(--white);
}
.zl-tr-credit {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate);
}
.site-footer {
  padding-bottom: 4.5rem;
}
@media (max-width: 600px) {
  .zl-tr-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  }
  .zl-tr-panel {
    bottom: calc(3.9rem + var(--zl-cookie-h, 0px));
  }
}
/* Hide Google's own top banner/tooltips (our picker replaces them) */
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-tooltip {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}
body {
  top: 0 !important;
}

/* policy pages (Privacy / Cookie): headings and lists inside .prose */
.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}
.prose ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
