/*
  ZELQIVO website styles
  Global design system with page-specific layout sections.
*/

:root {
  --navy: #071a34;
  --navy-2: #0c2448;
  --blue: #075dff;
  --blue-2: #2f7cff;
  --cyan: #00a6ff;
  --ink: #10213a;
  --muted: #5c6b80;
  --line: #e3eaf3;
  --line-strong: #ccd8e8;
  --surface: #ffffff;
  --surface-soft: #f5f8ff;
  --surface-blue: #eef5ff;
  --shadow: 0 18px 44px rgba(7, 26, 52, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(7, 93, 255, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--navy);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 24px 0;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px -18px rgba(7, 26, 52, 0.3);
  backdrop-filter: blur(14px);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 60px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--blue);
}

.back-link {
  color: var(--muted);
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.back-link:hover {
  color: var(--blue);
  gap: 9px;
}

nav a[aria-current="page"] {
  color: var(--blue);
  position: relative;
}

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  /* Closing has a grace period: a diagonal mouse path from the narrow
     trigger to a side item briefly crosses space that belongs to neither
     element. Delaying the close (but not the open) tolerates that without
     requiring the panel to actually stay hovered the whole time. */
  transition: opacity 0.15s ease 0.2s, visibility 0s linear 0.35s;
  z-index: 30;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s ease, visibility 0s linear;
}

.nav-dropdown-card {
  width: 560px;
  max-width: min(560px, 88vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  transform: translateY(6px);
  transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-card,
.nav-dropdown:focus-within .nav-dropdown-card {
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: var(--surface-soft);
}

.nav-dropdown-item img {
  height: 20px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-dropdown-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.btn,
.nav-cta,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 13px 24px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary,
.nav-cta,
button.btn {
  background: var(--blue);
  color: #fff !important;
}

.btn-primary:hover,
.nav-cta:hover,
button.btn:hover {
  background: var(--navy);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn:disabled,
.btn[disabled],
button.btn:disabled,
button.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.btn:disabled:hover,
.btn[disabled]:hover,
button.btn:disabled:hover,
button.btn[disabled]:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy) !important;
  transform: none;
}

section {
  padding: 88px 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.16;
}

.section-head h2,
.product-copy h2,
.about-text h2,
.cta-box h2 {
  font-weight: 800;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  margin-bottom: 14px;
}

.section-head p,
.product-copy p,
.about-text p,
.service-card p,
.cta-box p,
.footer-brand p,
.form-card > p,
.intro p,
.contact-point span,
.stat span,
.form-note {
  color: var(--muted);
}

.form-result {
  align-items: center;
  background: var(--surface-soft);
  display: flex;
  min-height: 100vh;
  padding: 32px 20px;
}

.form-result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 560px;
  padding: 42px;
  text-align: center;
}

.form-result-card img {
  margin: 0 auto 26px;
  width: min(240px, 100%);
}

.form-result-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  margin-bottom: 12px;
}

.form-result-card p {
  color: var(--muted);
  margin-bottom: 26px;
}

.hero {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 60%);
  padding: 64px 24px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(0, 166, 255, 0.28), rgba(0, 166, 255, 0) 70%);
}

.hero-blob-2 {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -200px;
  background: radial-gradient(circle, rgba(7, 93, 255, 0.18), rgba(7, 93, 255, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c2a8;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 800;
  max-width: 840px;
  margin: 24px auto 20px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-product-logo {
  width: min(300px, 68vw);
  margin: 4px auto 22px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 690px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-fan {
  position: relative;
  max-width: 1040px;
  height: 460px;
  margin: 0 auto;
}

.hero-fan-card {
  position: absolute;
  width: 560px;
  max-width: 62vw;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(7, 26, 52, 0.32);
}

.hero-fan-card img {
  display: block;
  width: 100%;
  transition: opacity 0.22s ease;
}

.hero-fan-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 10px 20px -10px rgba(7, 26, 52, 0.3);
  max-width: calc(100% - 32px);
}

.hero-fan-left {
  left: 0;
  top: 46px;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.94;
}

.hero-fan-right {
  right: 0;
  top: 46px;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.94;
}

.hero-fan-center {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  width: 600px;
  max-width: 74vw;
}

.services,
.about,
.comparison,
.deployment-notes,
.security-family,
.cta {
  border-top: 1px solid var(--line);
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
  max-width: min(1400px, calc(100vw - 48px));
  margin: 0 auto 72px;
}

.product-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 18px;
}

.product-copy p {
  margin-bottom: 18px;
}

.service-card,
.stat,
.cta-box,
.contact-point,
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  border-radius: 18px;
}

.cta-box {
  background: linear-gradient(120deg, #dceaff, #eaf7ff);
  border-color: #d8e6ff;
  border-radius: 24px;
}

.product-showcase {
  min-width: 0;
}

.product-slider {
  background:
    linear-gradient(135deg, rgba(7, 93, 255, 0.12), transparent 48%),
    linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid rgba(7, 93, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(7, 26, 52, 0.14);
  padding: clamp(10px, 1.1vw, 18px);
  overflow: hidden;
  position: relative;
}

.product-slider-viewport {
  aspect-ratio: 8 / 5;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(7, 26, 52, 0.1);
  overflow: hidden;
  position: relative;
}

.product-slide {
  display: flex;
  flex-direction: column;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.42s ease;
}

.product-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-slide-media {
  background: var(--surface-soft);
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.product-slide img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.product-slide figcaption {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--navy);
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  padding: 14px 20px;
}

.product-slide figcaption strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.product-slide figcaption span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.product-slider-controls {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 16px;
}

.slider-btn {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 26, 52, 0.08);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.slider-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.slider-dots {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: min(380px, 100%);
}

.slider-dot {
  background: #cdd8eb;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  width: 9px;
}

.slider-dot.is-active {
  background: var(--blue);
  width: 26px;
}

.product-slide-media.is-zoomable {
  cursor: zoom-in;
}

.product-slide-media.is-zoomable::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 52, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center / 44px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.product-slide-media.is-zoomable:hover::after,
.product-slide-media.is-zoomable:focus-visible::after {
  opacity: 1;
}

.lightbox {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  background: rgba(7, 26, 52, 0.88);
  backdrop-filter: blur(6px);
  inset: 0;
  position: absolute;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-body {
  align-items: center;
  display: flex;
  gap: 18px;
  max-width: min(1180px, 100%);
  position: relative;
  width: 100%;
  z-index: 1;
}

.lightbox-figure {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.lightbox-img {
  background: var(--surface-soft);
  display: block;
  max-height: 74vh;
  object-fit: contain;
  width: 100%;
}

.lightbox-caption {
  border-top: 1px solid var(--line);
  color: var(--navy);
  display: grid;
  gap: 4px;
  padding: 18px 24px;
}

.lightbox-caption strong {
  font-size: 1.08rem;
}

.lightbox-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lightbox-close {
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.6rem;
  height: 44px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: -58px;
  width: 44px;
  z-index: 2;
}

.lightbox-close:hover {
  color: var(--blue);
}

.lightbox-nav {
  align-items: center;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 2rem;
  font-weight: 700;
  height: 56px;
  justify-content: center;
  line-height: 1;
  width: 56px;
}

.lightbox-nav:hover {
  color: var(--blue);
}

.lightbox-count {
  bottom: -40px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  left: 50%;
  letter-spacing: 0.04em;
  position: absolute;
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.service-card {
  padding: 32px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(7, 93, 255, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  align-items: center;
  background: linear-gradient(135deg, rgba(7, 93, 255, 0.12), rgba(0, 166, 255, 0.1));
  border-radius: 14px;
  color: var(--blue);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.13rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--container);
  margin: 0 auto;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.check-list svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat {
  padding: 26px 22px;
}

.stat strong {
  color: var(--blue);
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.stat span {
  font-size: 0.88rem;
}

.cta {
  text-align: center;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 58px 40px;
}

.cta-box h2 {
  display: grid;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.08;
  margin-bottom: 14px;
  row-gap: 4px;
  text-align: center;
  text-wrap: balance;
}

.cta-heading-line {
  align-items: center;
  column-gap: 10px;
  display: inline-flex;
  justify-content: center;
}

.cta-box-logo {
  display: block;
  flex: 0 1 auto;
  width: clamp(170px, 22vw, 230px);
}

.cta-box p {
  max-width: 560px;
  margin: 0 auto 30px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 44px 24px 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto 30px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 12px;
  width: auto;
}

.footer-brand p {
  max-width: 310px;
  font-size: 0.9rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
}

.footer-links h4 {
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-button:hover {
  color: var(--blue);
}

.footer-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  font-size: 0.85rem;
}

.contact-page main,
.policy-page main,
.faq-page main,
.product-detail-page main {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 44%);
}

.contact-page main {
  padding: 72px 24px 90px;
  position: relative;
  overflow: hidden;
}

.contact-layout {
  position: relative;
  z-index: 1;
}

.policy-hero {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 76%);
  padding: 72px 24px 54px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.policy-hero .container {
  position: relative;
  z-index: 1;
}

.policy-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.policy-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
}

.policy-content {
  padding-top: 46px;
}

.policy-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.policy-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.policy-wrap h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 34px 0 10px;
}

.policy-wrap p {
  color: var(--muted);
  margin-bottom: 14px;
}

.policy-wrap a {
  color: var(--blue);
  font-weight: 700;
}

.faq-content,
.detail-content {
  padding-top: 46px;
}

.faq-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item,
.detail-columns article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 26, 52, 0.05);
  padding: 28px;
}

.faq-item h2,
.detail-columns h2 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.faq-item p,
.detail-columns p,
.detail-columns li {
  color: var(--muted);
}

.product-detail-hero {
  padding: 72px 24px 58px;
  position: relative;
  overflow: hidden;
}

.product-detail-hero .container {
  position: relative;
  z-index: 1;
}

.product-detail-grid {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
}

.product-detail-grid h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  margin: 14px 0 18px;
}

.product-detail-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 26px;
  max-width: 680px;
}

.detail-logo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  justify-self: center;
  padding: 24px;
  width: min(460px, 100%);
}

.detail-columns {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-columns ul {
  display: grid;
  gap: 9px;
  list-style: disc;
  padding-left: 20px;
}

.products-hero {
  background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface) 76%);
  padding: 72px 24px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero .container {
  position: relative;
  z-index: 1;
}

.products-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto 20px;
}

.products-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
  margin: 0 auto;
}

.product-family {
  border-top: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  border-color: rgba(7, 93, 255, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.featured-product {
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
}

.product-card-logo {
  width: min(360px, 100%);
  margin-bottom: 22px;
}

.product-kicker {
  color: var(--blue);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.26rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.product-card ul {
  display: grid;
  gap: 9px;
}

.product-card li {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding-left: 18px;
  position: relative;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.product-link {
  align-self: flex-start;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.93rem;
  font-weight: 800;
  margin-top: auto;
  padding-top: 18px;
}

.product-link:hover {
  color: var(--navy);
}

.compare-table-wrap {
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--surface-soft);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table tbody th {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.intro {
  padding: 0;
}

.contact-page h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.45rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.04rem;
  margin-bottom: 22px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-point {
  padding: 18px 20px;
}

.contact-point strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.contact-point span {
  font-size: 0.92rem;
}

.form-card {
  box-shadow: var(--shadow);
  padding: 34px;
}

.form-card h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.form-card > p {
  margin-bottom: 26px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(7, 93, 255, 0.14);
}

.turnstile-wrap {
  display: flex;
  align-items: center;
  min-height: 74px;
}

.form-note {
  font-size: 0.82rem;
}

.contact-page footer {
  padding: 44px 24px 28px;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(238, 245, 255, 0.88), rgba(255, 255, 255, 0.96) 42%),
    var(--surface);
}

.admin-page header {
  padding-bottom: 18px;
}

.admin-shell {
  padding-top: 48px;
}

.admin-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.admin-head h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.admin-head p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 650px;
}

.admin-alert {
  border: 1px solid rgba(7, 93, 255, 0.2);
  border-radius: 18px;
  background: rgba(238, 245, 255, 0.96);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.admin-alert[data-type="success"] {
  border-color: rgba(16, 132, 75, 0.25);
  background: #effaf4;
  color: #11633c;
}

.admin-alert[data-type="error"] {
  border-color: rgba(187, 37, 57, 0.22);
  background: #fff2f4;
  color: #9c1d32;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.admin-stack {
  display: grid;
  gap: 22px;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  padding: 28px;
}

.admin-login-panel {
  max-width: 540px;
}

.admin-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.admin-panel p {
  color: var(--muted);
  font-size: 0.93rem;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-check {
  align-items: center;
  align-self: end;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 52px;
  padding: 13px 14px;
}

.admin-check input {
  accent-color: var(--blue);
  height: 18px;
  width: 18px;
}

.admin-generated {
  border: 1px solid rgba(7, 93, 255, 0.2);
  border-radius: 18px;
  background: var(--surface-blue);
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-generated strong {
  color: var(--navy);
}

.admin-generated code {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  padding: 12px;
}

.admin-note {
  border: 1px solid rgba(7, 93, 255, 0.18);
  border-radius: 12px;
  background: #f5f8ff;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.admin-note strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.admin-note span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.admin-customer-list {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.customer-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 3px;
  font: inherit;
  padding: 15px 16px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.customer-card:hover,
.customer-card.is-selected {
  border-color: rgba(7, 93, 255, 0.34);
  box-shadow: 0 14px 34px rgba(7, 26, 52, 0.08);
  transform: translateY(-1px);
}

.customer-card strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.customer-card__id {
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.customer-card span,
.customer-card small,
.admin-empty {
  color: var(--muted);
  font-size: 0.84rem;
}

.customer-card.is-selected {
  background: var(--surface-blue);
}

.license-list {
  display: grid;
  gap: 12px;
}

.license-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px;
}

.license-row strong,
.license-row span,
.license-row small {
  display: block;
}

.license-row strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.license-row span,
.license-row small {
  color: var(--muted);
  font-size: 0.84rem;
}

.license-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.license-pill {
  border-radius: 999px;
  font-size: 0.76rem !important;
  font-weight: 800;
  padding: 7px 10px;
  text-transform: uppercase;
}

.license-pill.is-on {
  background: #effaf4;
  color: #11633c;
}

.license-pill.is-off {
  background: #fff2f4;
  color: #9c1d32;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 52, 0.46);
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  margin: 10px auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 34px 80px rgba(7, 26, 52, 0.24);
  outline: none;
  padding: 14px;
}

.admin-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.admin-modal__content {
  display: grid;
  gap: 8px;
}

.admin-modal__header {
  align-items: start;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: -14px -14px 0;
  padding: 12px 64px 10px 14px;
  position: sticky;
  top: -14px;
  z-index: 2;
}

.admin-detail-page .admin-modal__header {
  border-bottom: 0;
  margin: 0;
  padding-right: 54px;
  position: static;
}

.admin-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-modal__header span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-modal__header h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.08;
}

.admin-modal__header p,
.admin-modal__section p {
  color: var(--muted);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.admin-detail-grid div,
.admin-profile-grid div,
.admin-edit-field {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f8ff;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
}

.admin-edit-field {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-edit-field:hover,
.admin-edit-field:focus-visible {
  border-color: rgba(7, 93, 255, 0.34);
  box-shadow: 0 12px 28px rgba(7, 26, 52, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.admin-detail-grid small,
.admin-profile-grid small,
.admin-edit-field small,
.admin-product-detail small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-detail-grid strong,
.admin-profile-grid strong,
.admin-edit-field strong,
.admin-modal__section h3,
.admin-product-detail strong {
  color: var(--navy);
}

.admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.admin-profile-grid strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-danger-btn {
  border: 1px solid rgba(187, 37, 57, 0.28);
  border-radius: 999px;
  background: #fff2f4;
  color: #9c1d32;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 14px;
}

.admin-danger-btn.is-confirming {
  background: #9c1d32;
  border-color: #9c1d32;
  color: #ffffff;
}

.admin-danger-zone {
  align-items: center;
  border: 1px solid rgba(187, 37, 57, 0.22);
  border-radius: 12px;
  background: #fff2f4;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 10px 12px;
}

.admin-danger-zone h3 {
  color: #9c1d32;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.admin-danger-zone p {
  color: #7b2938;
  font-size: 0.88rem;
}

.admin-danger-zone__message {
  color: #9c1d32 !important;
  font-weight: 800;
  margin-top: 6px;
}

.admin-inline-editor {
  border: 1px solid rgba(7, 93, 255, 0.34);
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  gap: 8px;
  padding: 10px;
}

.admin-inline-editor label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-inline-editor input,
.admin-inline-editor select,
.admin-inline-editor textarea {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.admin-inline-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-editor__actions .btn {
  min-height: 38px;
  padding: 9px 14px;
  width: fit-content;
}

.admin-modal__section {
  display: grid;
  gap: 6px;
  padding: 0;
}

.admin-section-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.admin-issue-message {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-issue-message[data-type="success"] {
  color: #11633c;
}

.admin-issue-message[data-type="error"] {
  color: #9c1d32;
}

.admin-modal__section h3 {
  font-size: 0.98rem;
  font-weight: 800;
}

.admin-product-list {
  display: grid;
  gap: 6px;
}

.admin-product-detail {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(210px, 1fr) minmax(120px, 0.55fr);
  gap: 10px;
  padding: 9px 10px;
}

.admin-product-detail span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
}

.admin-product-detail code {
  color: var(--navy);
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.admin-detail-page {
  gap: 18px;
}

.admin-detail-page__actions {
  display: flex;
}

.admin-detail-page__actions .btn,
.admin-detail-page__empty .btn {
  width: fit-content;
}

.admin-detail-page [data-customer-detail],
.admin-detail-page__empty {
  display: grid;
  gap: 22px;
}

.admin-detail-page__empty h2 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
}

.admin-detail-page__empty p {
  color: var(--muted);
}

/* App-style license admin shell. Mirrors the STS sidebar/topbar structure while
   keeping the ZELQIVO website navy/blue palette. */
.admin-app-page {
  --admin-sidebar: 264px;
  min-height: 100vh;
  margin-left: var(--admin-sidebar);
  background: #f7faff;
  color: var(--ink);
}

.admin-app-page:not(.is-authenticated) {
  margin-left: 0;
  background:
    linear-gradient(180deg, rgba(238, 245, 255, 0.94), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.admin-app-page header {
  display: none;
}

.admin-app-page:not(.is-authenticated) .admin-sidebar,
.admin-app-page:not(.is-authenticated) .admin-topbar,
.admin-app-page:not(.is-authenticated) .admin-view__header,
.admin-app-page:not(.is-authenticated) .admin-dashboard {
  display: none !important;
}

.admin-app-page:not(.is-authenticated) .admin-app {
  min-height: 100vh;
}

.admin-app-page:not(.is-authenticated) .admin-main {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  min-height: 100vh;
  max-width: none;
  padding: 32px 20px;
}

.admin-app-page:not(.is-authenticated) .admin-login-panel {
  width: 100%;
  max-width: 560px;
  padding: 34px;
}

.admin-app-page:not(.is-authenticated) .admin-alert {
  width: min(560px, 100%);
  margin: 0;
}

.admin-login-logo {
  display: block;
  height: auto;
  max-height: 72px;
  max-width: 260px;
  width: auto;
  margin: 0 auto 10px;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--admin-sidebar);
  border-right: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.admin-sidebar__brand {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  min-height: 92px;
  padding: 18px 24px;
}

.admin-sidebar__brand img {
  height: 48px;
  width: auto;
}

.admin-sidebar__nav {
  display: grid;
  gap: 30px;
  padding: 22px 12px 32px;
}

.admin-sidebar__group {
  display: grid;
  gap: 6px;
}

.admin-sidebar__label {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0 12px 5px;
  text-transform: uppercase;
}

.admin-sidebar__link {
  align-items: center;
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 12px;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-sidebar__link span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
}

.admin-sidebar__link:hover {
  background: var(--surface-soft);
  color: var(--blue);
}

.admin-sidebar__link.is-active {
  background: var(--blue);
  color: #fff;
}

.admin-sidebar__link.is-active span {
  opacity: 1;
}

.admin-sidebar__return {
  align-items: center;
  border: 1px solid rgba(7, 93, 255, 0.22);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
}

.admin-sidebar__return:hover {
  background: var(--surface-blue);
  border-color: rgba(7, 93, 255, 0.36);
}

.admin-app {
  min-height: 100vh;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px 48px;
  backdrop-filter: blur(16px);
}

.admin-topbar__eyebrow {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.admin-topbar__title {
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.admin-topbar__actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.admin-role-badge {
  border: 1px solid rgba(7, 93, 255, 0.18);
  border-radius: 8px;
  background: var(--surface-blue);
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.admin-topbar .admin-logout {
  border-radius: 8px;
  min-height: 38px;
}

.admin-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}

.admin-view__header {
  margin-bottom: 30px;
}

.admin-view__header h2 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 10px;
}

.admin-view__header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 720px;
}

.admin-app-page .admin-alert {
  border-radius: 14px;
  margin-bottom: 18px;
}

.admin-app-page .admin-login-panel {
  max-width: 520px;
}

.admin-app-page .admin-dashboard {
  display: grid;
  gap: 32px;
}

.admin-app-page .admin-dashboard[hidden],
.admin-app-page [hidden] {
  display: none !important;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.admin-page-grid--single {
  grid-template-columns: minmax(0, 760px);
}

.admin-stat-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(7, 26, 52, 0.06);
  padding: 22px 24px;
}

.admin-stat-card--blue {
  border-left-color: var(--navy);
}

.admin-stat-card span,
.admin-stat-card small {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-stat-card strong {
  color: var(--blue);
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 4px 0;
}

.admin-app-page .admin-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 24px;
}

.admin-app-page .admin-stack {
  gap: 24px;
}

.admin-app-page .admin-panel {
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(7, 26, 52, 0.07);
  gap: 18px;
  padding: 24px;
}

.admin-app-page .admin-panel h2 {
  font-size: 1.18rem;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.admin-app-page .admin-panel p {
  font-size: 0.94rem;
}

.admin-app-page .field input,
.admin-app-page .field select,
.admin-app-page .field textarea {
  border-radius: 8px;
  min-height: 46px;
}

.admin-app-page .admin-check,
.admin-app-page .admin-generated,
.admin-app-page .customer-card,
.admin-app-page .license-row {
  border-radius: 10px;
}

.admin-app-page .admin-check {
  min-height: 46px;
}

.admin-app-page .customer-card:hover,
.admin-app-page .customer-card.is-selected {
  border-color: rgba(7, 93, 255, 0.28);
  background: var(--surface-blue);
}

.admin-app-page .license-row {
  background: var(--surface);
}

.admin-app-page .license-pill.is-on {
  background: #eef7ff;
  color: var(--blue);
}

.admin-app-page .license-pill.is-off {
  background: #f5f8ff;
  color: var(--muted);
}

.admin-app-page .btn,
.admin-app-page button.btn,
.admin-app-page .nav-cta {
  border-radius: 8px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  width: min(720px, calc(100vw - 48px));
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(7, 26, 52, 0.16);
  padding: 22px;
}

.cookie-banner h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 40px;
  padding: 11px 16px;
}

.cookie-actions a {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .product-overview,
  .about-inner,
  .contact-layout,
  .admin-grid,
  .product-detail-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .about-stats {
    order: -1;
  }

  .product-overview {
    max-width: min(980px, calc(100vw - 40px));
  }

  .product-showcase {
    order: -1;
  }

  .product-copy {
    max-width: 720px;
  }

  .hero-fan {
    height: 400px;
  }

  .hero-fan-card {
    width: 460px;
  }

  .hero-fan-center {
    width: 500px;
  }

  .admin-app-page {
    margin-left: 0;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-sidebar__brand {
    min-height: 72px;
  }

  .admin-sidebar__brand img {
    height: 42px;
  }

  .admin-sidebar__nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px;
  }

  .admin-sidebar__group {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
  }

  .admin-sidebar__label {
    display: none;
  }

  .admin-sidebar__link {
    white-space: nowrap;
  }

  .admin-topbar {
    padding: 14px 24px;
  }

  .admin-main {
    padding: 40px 24px 68px;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-modal__header {
    display: grid;
    padding: 14px 56px 12px 16px;
  }

  .admin-detail-page .admin-modal__header {
    padding: 0;
  }

  .admin-danger-zone {
    align-items: stretch;
    display: grid;
  }

  .admin-detail-grid,
  .admin-profile-grid,
  .admin-product-detail {
    grid-template-columns: 1fr;
  }

  .admin-app-page .admin-grid,
  .admin-app-page .split-fields,
  .admin-page-grid,
  .admin-page-grid--single {
    grid-template-columns: 1fr;
  }

  .admin-app-page .admin-sidebar__nav {
    max-width: 100vw;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 18px;
  }

  .logo img {
    height: 46px;
  }

  nav {
    display: none;
    order: 3;
    width: 100%;
  }

  nav.is-open {
    display: block;
  }

  nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 2px;
  }

  nav a {
    border-top: 1px solid var(--line);
    display: block;
    padding: 12px 0;
  }

  nav a:focus-visible {
    outline-offset: -2px;
  }

  .nav-dropdown-panel {
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding-top: 0;
  }

  .nav-dropdown-card {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface-soft);
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 8px;
    transform: none;
  }

  .nav-dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
  }

  .nav-cta {
    margin-top: 10px;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 20px 30px;
  }

  .hero-product-logo {
    width: min(220px, 62vw);
  }

  .hero-fan {
    height: auto;
    max-width: 340px;
  }

  .hero-fan-card {
    position: static;
    width: 100%;
    max-width: none;
    transform: none !important;
    margin-bottom: 18px;
  }

  .hero-fan-left,
  .hero-fan-right {
    display: none;
  }

  .product-card-logo {
    width: 100%;
  }

  .product-overview {
    max-width: calc(100vw - 24px);
    margin-bottom: 48px;
  }

  .product-slider {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    margin-left: -8px;
    margin-right: -8px;
    padding: 8px;
  }

  .product-slider-controls {
    gap: 10px;
    margin-top: 12px;
  }

  .product-slide figcaption {
    padding: 12px 16px;
  }

  .slider-btn {
    height: 42px;
    width: 44px;
  }

  .slider-dots {
    max-width: min(260px, 100%);
  }

  section {
    padding: 68px 20px;
  }

  .hero-actions .btn,
  .product-copy .btn,
  .cta-box .btn {
    width: 100%;
    max-width: 340px;
  }

  .about-stats,
  .split-fields {
    grid-template-columns: 1fr;
  }

  .form-card,
  .cta-box {
    padding: 28px 22px;
  }

  .cta-box h2 {
    row-gap: 6px;
  }

  .cta-heading-line:first-child {
    flex-direction: column;
    row-gap: 6px;
  }

  .cta-box-logo {
    width: min(210px, 88%);
  }

  .cookie-banner {
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: calc(100vw - 32px);
  }

  .product-card {
    padding: 26px 22px;
  }

  .admin-shell {
    padding: 42px 18px 68px;
  }

  .admin-panel {
    padding: 22px;
  }

  .license-row,
  .license-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .license-actions .btn {
    width: 100%;
  }

  .product-detail-hero {
    padding: 58px 20px 42px;
  }

  .detail-logo {
    padding: 18px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-body {
    gap: 10px;
  }

  .lightbox-nav {
    height: 44px;
    width: 44px;
    font-size: 1.6rem;
  }

  .lightbox-close {
    right: 0;
    top: -52px;
    height: 40px;
    width: 40px;
  }

  .lightbox-count {
    bottom: -32px;
  }

}

@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }

  .btn,
  .nav-cta,
  button.btn {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ==========================================================================
   Semantic markup support
   Footer link groups, the products menu, and contact details are now real
   navigation, list, and description-list elements; these rules keep the
   original appearance intact.
   ========================================================================== */

.nav-dropdown-card > li {
  display: contents;
}

.footer-links ul {
  display: block;
}

.footer-links h2.footer-heading {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-point dt {
  color: var(--navy);
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-point dd {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 8px;
  list-style: none;
}

.breadcrumb li {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 8px;
}

.breadcrumb li + li::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 6px;
  opacity: 0.55;
  transform: rotate(45deg);
  width: 6px;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

/* ==========================================================================
   Legal pages: sub-headings, entity block, and bulleted clauses
   ========================================================================== */

.policy-wrap h3 {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

.policy-wrap .policy-list {
  color: var(--muted);
  display: grid;
  gap: 8px;
  list-style: disc;
  margin: 0 0 16px;
  padding-left: 20px;
}

.policy-entity {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
  margin-bottom: 26px;
  padding: 18px 20px;
}

.policy-entity strong {
  color: var(--navy);
}

.policy-hero .breadcrumb ol {
  justify-content: center;
}
