/* ============================================
   BackupSec - Award-Winning Editorial Design
   Modern CSS with Swiss Typography System
   ============================================ */

/* ============================================
   MODERN CSS RESET (site-wide)
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

:root {
  --bg-primary: #fafbfd;
  --bg-secondary: #f1f4f8;
  --bg-section: #f5f6fa;
  --accent-cyan: #0f766e;
  --accent-pink: #be185d;
  --accent-purple: #0e7490;
  --gradient-primary: linear-gradient(
    135deg,
    #0f766e 0%,
    #0e7490 50%,
    #155e75 100%
  );
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --card-bg: #ffffff;
  --font-primary:
    -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", "SF Pro Text",
    system-ui, sans-serif;
  --font-display:
    "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "SF Mono", "Fira Code", Consolas, monospace;
  --text-hero: clamp(4rem, 8vw, 7.5rem);
  --text-section: clamp(2.5rem, 5vw, 4.5rem);
  --text-heading: clamp(1.5rem, 3vw, 2.25rem);
  --text-body-lg: clamp(1.125rem, 1.5vw, 1.25rem);
  --text-body: 1rem;
  --text-caption: 0.875rem;
  --space-section: clamp(3rem, 6vw, 5rem);
  --space-content: clamp(2rem, 4vw, 4rem);
  --space-element: clamp(1rem, 2vw, 2rem);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-soft:
    0 20px 60px -15px rgba(15, 118, 110, 0.12), 0 0 1px rgba(15, 118, 110, 0.15);
  --shadow-glow: 0 0 40px rgba(15, 118, 110, 0.1);
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(at 20% 30%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
    var(--bg-primary);
  /* Do NOT set overflow-x on body — it forces overflow-y:auto and breaks
     mobile Safari viewport scrolling (can't reach the footer). Clip on html. */
  -webkit-tap-highlight-color: rgba(13, 148, 136, 0.2);
}

/* ============================================
   SECTION SPACING & ANIMATIONS
   ============================================ */

section {
  padding: var(--space-section) 0;
  position: relative;
}

/* Auto-animate sections only when opted in at the body level.
   Index.html keeps its on-load reveal; product / sub-pages
   appear instantly (no CLS, no jarring fade). */
body[data-animate-sections] section:not([data-section="hero"]):not(.no-reveal) {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Hero section manages its own padding via inline styles in index.html
   (`.hero { padding-top/bottom: ... }`). The global `section` padding rule
   has lower specificity, so .hero wins naturally — no extra reset needed. */

@media (prefers-reduced-motion: reduce) {
  body[data-animate-sections] section {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Section Headers - centered editorial style (matches hero composition) */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  margin: 0 0 var(--space-content);
  max-width: 56rem;
}

.section-kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-body-lg);
  line-height: 1.6;
  max-width: 56ch;
  font-weight: 300;
  text-wrap: pretty;
}

.section-aside {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
}

.section-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.25rem;
  color: var(--accent-cyan);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}

.section-aside-link svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-aside-link:hover,
.section-aside-link:focus-visible {
  color: var(--text-main);
  outline: none;
}

.section-aside-link:hover svg,
.section-aside-link:focus-visible svg {
  transform: translateX(3px);
}

/* ============================================
   PRODUCTS — Compact suite index (no cards)
   Full-width header + dense typographic rows
   ============================================ */

.suite-section {
  --suite-accent: var(--accent-cyan);
  --suite-wash: rgba(15, 118, 110, 0.05);
}

.suite-intro {
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.suite-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.suite-row {
  --suite-accent: #0f766e;
  --suite-wash: rgba(15, 118, 110, 0.05);
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2rem;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.25rem 0.65rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  transition: background-color 0.25s ease;
}

.suite-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 1px;
  background: var(--suite-accent);
  opacity: 0.4;
  transition: opacity 0.25s ease;
}

.suite-row[data-product="zeromon"] {
  --suite-accent: #0f766e;
  --suite-wash: rgba(15, 118, 110, 0.05);
}
.suite-row[data-product="zerotam"] {
  --suite-accent: #0e7490;
  --suite-wash: rgba(14, 116, 144, 0.05);
}
.suite-row[data-product="zeropen"] {
  --suite-accent: #155e75;
  --suite-wash: rgba(21, 94, 117, 0.06);
}
.suite-row[data-product="zerovault"] {
  --suite-accent: #0d9488;
  --suite-wash: rgba(13, 148, 136, 0.05);
}
.suite-row[data-product="zero365"] {
  --suite-accent: #0891b2;
  --suite-wash: rgba(8, 145, 178, 0.05);
}

.suite-row-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #94a3b8;
  line-height: 1;
}

.suite-row-body {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  gap: 0.85rem 1.75rem;
  align-items: baseline;
  min-width: 0;
}

.suite-row-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.suite-row-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 1.875rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-main);
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.suite-row-suffix {
  color: var(--accent-cyan);
}

/* Product-name branding — matches logo: dark "Zero", teal suffix.
   Injected at build time (scripts/i18n/build.js). */
.zero-brand {
  white-space: nowrap;
  color: var(--text-main);
  font-weight: inherit;
}

.zero-suffix {
  color: var(--accent-cyan);
  font-weight: inherit;
}

.suite-row-cat {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.suite-row-desc {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
  min-width: 0;
}

.suite-row-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--suite-accent);
  opacity: 0.35;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.suite-row-arrow svg {
  transition: transform 0.25s ease;
}

.suite-row:hover,
.suite-row:focus-visible {
  background: var(--suite-wash);
  outline: none;
}

.suite-row:hover::before,
.suite-row:focus-visible::before {
  opacity: 1;
}

.suite-row:hover .suite-row-name,
.suite-row:focus-visible .suite-row-name {
  transform: translateX(3px);
}

.suite-row:hover .suite-row-arrow,
.suite-row:focus-visible .suite-row-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.suite-row:hover .suite-row-arrow svg,
.suite-row:focus-visible .suite-row-arrow svg {
  transform: translateX(2px);
}

.suite-row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--suite-accent);
}

@media (max-width: 768px) {
  .suite-row {
    grid-template-columns: 2rem minmax(0, 1fr) 1.75rem;
    gap: 0.75rem 0.85rem;
    padding: 1.1rem 0.4rem 1.1rem 0.85rem;
  }

  .suite-row-body {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .suite-row-top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
  }

  .suite-row-name {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite-row,
  .suite-row::before,
  .suite-row-name,
  .suite-row-arrow,
  .suite-row-arrow svg {
    transition-duration: 0.001s;
  }

  .suite-row:hover .suite-row-name,
  .suite-row:focus-visible .suite-row-name {
    transform: none;
  }
}

/* ============================================
   WHY SECTION - Editorial numbered cards
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.why-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(2rem, 3vw, 2.75rem);
  border-left: 1px solid var(--border-subtle);
}

.why-item:first-child {
  border-left: none;
  padding-left: 0;
}

.why-item:last-child {
  padding-right: 0;
}

/* Pure typographic treatment — no numbers, no boxes. A short accent
   rule separates the title from its explanation and grows on hover. */
.why-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  max-width: 18ch;
}

.why-title::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  margin: clamp(1.25rem, 2vw, 1.5rem) 0;
  background: var(--gradient-primary);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-item:hover .why-title::after,
.why-item:focus-within .why-title::after {
  width: 2.75rem;
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 1.75rem 0;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .why-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-title::after {
    transition-duration: 0.001s;
  }
}

/* ============================================
   AUDIENCE SECTION - Icon-led "who it's for" grid
   ============================================ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: clamp(3rem, 5vw, 4rem);
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 2.4vw, 2.25rem) clamp(1.5rem, 2vw, 1.75rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface, #ffffff);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.audience-card:hover,
.audience-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 20px 44px -24px rgba(15, 23, 42, 0.22);
}

.audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-cyan);
  transition: background 0.4s ease;
}

.audience-card:hover .audience-icon,
.audience-card:focus-within .audience-icon {
  background: rgba(15, 118, 110, 0.14);
}

.audience-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.audience-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-main);
  margin: 0;
}

.audience-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}

@media (max-width: 980px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience-card,
  .audience-icon {
    transition-duration: 0.001s;
  }
}

/* ============================================
   BLOG - Cards, homepage preview & hub grid
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: clamp(3rem, 5vw, 4rem);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 22px 48px -26px rgba(15, 23, 42, 0.28);
  outline: none;
}

/* Cover: graceful fallback. The gradient + label always render, so a
   missing/unloaded <img> never shows a broken icon — the image simply
   sits on top once it exists. */
.blog-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(21, 94, 117, 0.16)),
    var(--bg-secondary, #f1f5f9);
}

.blog-card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(15, 23, 42, 0.07) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  opacity: 0.7;
}

.blog-card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.04);
}

.blog-card-cover-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.625rem;
  padding: clamp(1.5rem, 2.2vw, 1.875rem);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.blog-card-meta span:not(:first-child)::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--border-subtle);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-cyan);
}

.blog-card-cta svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-cta svg,
.blog-card:focus-visible .blog-card-cta svg {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-cover img,
  .blog-card-cta svg {
    transition-duration: 0.001s;
  }
}

/* ============================================
   BLOG ARTICLE - single post layout
   ============================================ */

.article-hero {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  isolation: isolate;
}

.article-hero > * {
  position: relative;
  z-index: 1;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-meta span:not(:first-child)::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--border-subtle);
}

.article-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  margin: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(21, 94, 117, 0.16)),
    var(--bg-secondary, #f1f5f9);
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(15, 23, 42, 0.07) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  opacity: 0.7;
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.article-body {
  max-width: 68ch;
  margin: 0 auto;
}

.article-body > * + * {
  margin-top: 1.5rem;
}

.article-body p,
.article-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body, #334155);
  font-weight: 300;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-top: 2rem;
}

.article-body ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.article-body li::marker {
  color: var(--accent-cyan);
}

.article-body strong {
  font-weight: 600;
  color: var(--text-main);
}

.article-body blockquote {
  margin: clamp(2rem, 3vw, 2.5rem) 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent-cyan);
  background: var(--bg-secondary, #f1f5f9);
  border-radius: 0 var(--radius-md, 12px) var(--radius-md, 12px) 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-main);
}

.article-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-footer {
  max-width: 68ch;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   SHARED LAYOUT PRIMITIVES (used by every page)
   ============================================ */

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.container-medium {
  max-width: 1280px;
}
.container-narrow {
  max-width: 1120px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-cyan);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 0.25rem 0;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ============================================
   HERO — primary CTA row
   ============================================ */

.hero-cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

@media (max-width: 560px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
  }
  .btn-trial {
    width: 100%;
  }
}

/* ============================================
   SHARED HEADER (homepage + inner pages)
   ============================================ */
header[role="banner"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
header[role="banner"] * {
  pointer-events: auto;
}

.minimal-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 6px 22px;
  max-width: none;
  background: transparent;
  position: relative;
}

.header-logo-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.header-menu-wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  right: 22px;
  top: 11px;
}

.brand-minimal {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  transition:
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s ease;
  user-select: none;
  text-decoration: none;
  display: block;
}
.brand-minimal:hover {
  color: var(--accent-cyan);
}

/* Subtle "CONTACT" link variant used on inner pages instead of menu button */
.brand-minimal--link {
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}
.brand-minimal--link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(15, 118, 110, 0.04);
}

img.brand-logo {
  height: 36px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
  margin-block: -2px;
}

.brand-minimal:has(.brand-logo) {
  padding-block: 0;
  line-height: 0;
}

@media (min-width: 1024px) {
  .header-logo-wrapper {
    transform: translateY(3px);
  }
}

.header-logo-wrapper a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .minimal-nav {
    padding: 16px 20px;
  }
  .header-menu-wrapper {
    right: 20px;
    top: 21px;
  }
}

@media (max-width: 809px) {
  .minimal-nav {
    padding: 12px 16px;
  }
  .brand-minimal {
    font-size: 12px;
  }
  .brand-minimal--link {
    padding: 7px 12px;
  }
  img.brand-logo {
    height: 34px !important;
    margin-block: 0;
  }

  .header-logo-wrapper {
    display: flex;
    align-items: center;
    transform: none;
  }
}

/* ============================================
   MENU SYSTEM — Toggle + full-screen sheet (<1024)
   Desktop (>=1024) uses .header-nav-desktop instead.
   ============================================ */

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 1rem 0.625rem 0.875rem;
  background: var(--text-main);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: capitalize;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 300;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.menu-toggle::before {
  content: "";
  display: block;
  width: 1rem;
  height: 0.7rem;
  background-image:
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size:
    100% 1.5px,
    100% 1.5px,
    70% 1.5px;
  background-position:
    0 0,
    0 50%,
    0 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: background-size 0.2s ease;
}

.menu-toggle.active {
  background: var(--accent-cyan);
}

.menu-toggle.active::before {
  /* Keep bars; sheet covers the toggle while open */
  opacity: 0.95;
}

.menu-toggle:hover {
  background: color-mix(in srgb, var(--text-main) 88%, var(--accent-cyan));
}

.menu-toggle:active {
  transform: scale(0.97);
}

/* Full-screen sheet — hidden when closed so it never blocks page scroll */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  pointer-events: none;
  background: transparent;
}

.menu-overlay.active {
  display: block;
  pointer-events: auto;
}

.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 1;
}

.menu-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(
      90% 55% at 100% -10%,
      rgba(15, 118, 110, 0.09),
      transparent 55%
    ),
    radial-gradient(
      70% 45% at 0% 110%,
      rgba(15, 23, 42, 0.04),
      transparent 50%
    ),
    var(--bg-primary, #fafbfd);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.active .menu-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.menu-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  border-bottom: 1px solid
    color-mix(in srgb, var(--border-subtle) 85%, transparent);
  background: color-mix(in srgb, var(--bg-primary, #fafbfd) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.menu-header::before {
  content: "BackupSec";
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.menu-close-btn:hover {
  color: var(--accent-cyan);
  border-color: color-mix(in srgb, var(--accent-cyan) 35%, transparent);
  background: color-mix(in srgb, var(--accent-cyan) 6%, transparent);
}

.menu-close-text {
  display: none;
}

.menu-close-icon {
  position: relative;
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  background: transparent;
}

.menu-close-icon::before,
.menu-close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.menu-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close {
  display: none;
}

.menu-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 1.15rem 1.35rem 1.25rem;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* Product / corporate groups */
.menu-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.55rem 0 0.85rem;
}

.menu-group .menu-link--head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 0;
  margin: 0 0 0.15rem;
  padding: 0.15rem 0 0.35rem;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  cursor: default;
  background: transparent;
  border: 0;
}

.menu-group .menu-link--head::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: color-mix(in srgb, var(--border-subtle) 90%, transparent);
}

.menu-group .menu-link--head:hover {
  color: var(--text-muted);
  background: transparent;
}

.menu-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 0.15rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
  text-align: left;
  text-decoration: none;
  border-radius: 0.75rem;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.menu-link:hover {
  color: var(--accent-cyan);
  transform: none;
}

.menu-link[aria-current="page"] {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Product / corporate tiles — fill the width */
.menu-link--sub {
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--text-main);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 92%, transparent);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.menu-link--sub:hover {
  color: var(--accent-cyan);
  border-color: color-mix(in srgb, var(--accent-cyan) 28%, transparent);
  background: color-mix(in srgb, var(--accent-cyan) 5%, #fff);
}

.menu-link--sub[aria-current="page"] {
  color: var(--accent-cyan);
  border-color: color-mix(in srgb, var(--accent-cyan) 40%, transparent);
  background: color-mix(in srgb, var(--accent-cyan) 8%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-cyan) 18%, transparent);
}

/* Odd leftover product tile spans full width (5th item) */
.menu-group > a.menu-link--sub:last-of-type:nth-of-type(odd) {
  grid-column: 1 / -1;
}

.menu-link--sub::before {
  content: none;
}

.menu-link--head {
  /* standalone heads outside groups (if any) */
  min-height: 0;
  padding: 0.5rem 0;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

/* Primary page links — full-bleed rows with trailing chevron */
.menu-nav > a.menu-link:not([href*="cta"]) {
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.95rem 0.15rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  border-radius: 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--border-subtle) 88%, transparent);
  background: transparent;
}

.menu-nav > a.menu-link:not([href*="cta"])::after {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.15rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.28;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.menu-nav > a.menu-link:not([href*="cta"]):hover {
  color: var(--accent-cyan);
  background: transparent;
}

.menu-nav > a.menu-link:not([href*="cta"]):hover::after {
  opacity: 0.7;
  transform: rotate(-45deg) translate(1px, 1px);
}

.menu-nav > a.menu-link:not([href*="cta"])[aria-current="page"]::after {
  opacity: 0.65;
  border-color: var(--accent-cyan);
}

/* Contact CTA */
.menu-nav > a.menu-link[href*="cta"] {
  margin-top: auto;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.95rem 1.35rem;
  background: var(--text-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 999px;
  text-align: center;
  border: 0;
  box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.45);
}

.menu-nav > a.menu-link[href*="cta"]::after {
  content: none;
}

.menu-nav > a.menu-link[href*="cta"]:hover {
  background: var(--accent-cyan);
  color: #fff;
}

.menu-nav > a.menu-link[href*="cta"][aria-current="page"] {
  background: var(--accent-cyan);
  color: #fff;
}

.menu-footer {
  display: none;
}

/* Header-menu-wrapper supports both single (menu only) and dual (CONTACT + menu) layouts */
.header-menu-wrapper {
  gap: 0.65rem;
}

/* When CONTACT button sits next to the menu-toggle, keep both on the same baseline */
.header-menu-wrapper:has(.menu-toggle) .brand-minimal--link {
  transform: none;
}

/* Hide the old text CONTACT link on mobile — Contact lives in the sheet CTA */
@media (max-width: 1023px) {
  .header-menu-wrapper .brand-minimal--link {
    display: none;
  }
}

/* ============================================
   DESKTOP NAVIGATION — Premium inline header
   Visible on >=1024px viewports.
   Below that breakpoint the .menu-toggle + overlay
   keeps doing its job (mobile-first defaults).
   ============================================ */
.header-nav-desktop {
  display: none;
}

.header-nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  /* PREMIUM FROSTED-GLASS HEADER
     -------------------------------------------------
     Brand-tinted frosted glass, visible by default.
     Three layered backgrounds:
       1) Teal radial glow on the top-left (brand cyan)
       2) Subtle pink hint on the top-right (secondary accent)
       3) Cool gray base in the --bg-secondary family
     Behind that: heavy backdrop-filter (blur + saturate).
     A gradient hairline acts as both border and shimmer.
     Subtle depth boost on scroll. */
  header[role="banner"] {
    background:
      radial-gradient(
        60% 220% at 12% 0%,
        rgba(15, 118, 110, 0.1) 0%,
        transparent 55%
      ),
      radial-gradient(
        55% 220% at 92% 0%,
        rgba(190, 24, 93, 0.07) 0%,
        transparent 55%
      ),
      linear-gradient(
        180deg,
        rgba(241, 244, 248, 0.7) 0%,
        rgba(241, 244, 248, 0.86) 100%
      );
    -webkit-backdrop-filter: saturate(200%) blur(22px);
    backdrop-filter: saturate(200%) blur(22px);
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.14);
    border-bottom: none;
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: box-shadow;
  }

  /* Gradient hairline bottom — brand-tinted, fades on the edges.
     Doubles as the border and a subtle specular shimmer. */
  header[role="banner"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(15, 118, 110, 0.22) 22%,
      rgba(15, 23, 42, 0.14) 50%,
      rgba(190, 24, 93, 0.16) 78%,
      transparent 100%
    );
    pointer-events: none;
  }

  /* Scrolled: deepen the shadow for a subtle "lifted" feel */
  html.is-scrolled header[role="banner"] {
    box-shadow: 0 14px 36px -20px rgba(15, 23, 42, 0.22);
  }

  .minimal-nav {
    align-items: center;
    padding: 18px clamp(24px, 3vw, 40px);
  }

  .header-logo-wrapper {
    padding-top: 0;
  }

  .header-menu-wrapper {
    position: static;
    right: auto;
    top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Hide the mobile toggle on desktop; the inline nav takes over */
  .menu-toggle {
    display: none;
  }

  /* Hide inner-page CONTACT text link variant on desktop —
     replaced by the dedicated .header-nav-cta pill */
  .brand-minimal--link {
    display: none;
  }

  /* Inline horizontal nav between logo and CTA */
  .header-nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 32px);
    margin-left: clamp(28px, 4vw, 48px);
    margin-right: auto;
  }

  .header-nav-link {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.005em;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.18s ease;
  }

  .header-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -3px;
    height: 1.5px;
    background: var(--accent-cyan);
    border-radius: 1px;
    transition:
      left 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header-nav-link:hover,
  .header-nav-link:focus-visible {
    color: var(--text-main);
  }

  .header-nav-link:hover::after,
  .header-nav-link:focus-visible::after {
    left: 0;
    right: 0;
  }

  .header-nav-link[aria-current="page"] {
    color: var(--text-main);
  }

  .header-nav-link[aria-current="page"]::after {
    left: 0;
    right: 0;
    background: var(--accent-cyan);
    height: 1.5px;
  }

  /* CTA pill — mirrors the hero "Start 30-day trial" button family:
     dark slate base, cyan accent on hover. System consistency. */
  .header-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: var(--text-main);
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition:
      background 0.2s ease,
      color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(15, 23, 42, 0.04);
  }

  .header-nav-cta-arrow {
    display: inline-block;
    margin-left: 2px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .header-nav-cta:hover,
  .header-nav-cta:focus-visible {
    background: var(--accent-cyan);
    color: #ffffff;
    box-shadow:
      0 8px 22px rgba(15, 118, 110, 0.28),
      0 0 0 1px rgba(15, 118, 110, 0.35);
  }

  .header-nav-cta:hover .header-nav-cta-arrow,
  .header-nav-cta:focus-visible .header-nav-cta-arrow {
    transform: translateX(3px);
  }

  /* DROPDOWN — premium frosted card revealed on hover/focus/click */
  .header-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .header-nav-item--dropdown > .header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  /* Make <button> triggers look identical to <a> triggers */
  button.header-nav-link {
    background: none;
    border: none;
    font-family: inherit;
    line-height: inherit;
    padding: 6px 0;
    margin: 0;
    color: var(--text-muted);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .header-nav-chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 1px;
  }

  .header-nav-item--dropdown:hover > .header-nav-link .header-nav-chevron,
  .header-nav-item--dropdown.is-open > .header-nav-link .header-nav-chevron,
  .header-nav-item--dropdown:focus-within
    > .header-nav-link
    .header-nav-chevron {
    transform: rotate(180deg);
  }

  /* Invisible bridge so the dropdown stays open while the cursor moves */
  .header-nav-item--dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    pointer-events: auto;
  }

  .header-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 320px;
    padding: 10px;
    background:
      radial-gradient(
        70% 200% at 18% 0%,
        rgba(15, 118, 110, 0.1) 0%,
        transparent 60%
      ),
      linear-gradient(
        180deg,
        rgba(248, 250, 251, 0.94) 0%,
        rgba(255, 255, 255, 0.96) 100%
      );
    -webkit-backdrop-filter: saturate(200%) blur(24px);
    backdrop-filter: saturate(200%) blur(24px);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
      0 24px 48px -18px rgba(15, 23, 42, 0.22),
      0 2px 6px rgba(15, 23, 42, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition:
      opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.22s;
    z-index: 200;
    pointer-events: none;
  }

  .header-nav-item--dropdown:hover > .header-dropdown,
  .header-nav-item--dropdown:focus-within > .header-dropdown,
  .header-nav-item--dropdown.is-open > .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s, 0s, 0s;
    pointer-events: auto;
  }

  .header-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.15s ease;
  }

  .header-dropdown-item:hover,
  .header-dropdown-item:focus-visible {
    background: rgba(15, 118, 110, 0.07);
    outline: none;
  }

  /* Active dropdown item — current page visual feedback */
  .header-dropdown-item[aria-current="page"] {
    background: rgba(15, 118, 110, 0.09);
  }

  .header-dropdown-item[aria-current="page"] .header-dropdown-title {
    color: var(--accent-cyan);
  }

  /* Parent dropdown trigger lights up when a child is the current page */
  .header-nav-item--dropdown:has(.header-dropdown-item[aria-current="page"])
    > .header-nav-link {
    color: var(--text-main);
  }
  .header-nav-item--dropdown:has(.header-dropdown-item[aria-current="page"])
    > .header-nav-link::after {
    left: 0;
    right: 0;
    background: var(--accent-cyan);
    height: 1.5px;
  }

  .header-dropdown-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.005em;
  }

  .header-dropdown-desc {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .header-dropdown-divider {
    height: 1px;
    margin: 6px 6px;
    background: rgba(15, 23, 42, 0.06);
  }

  .header-dropdown-foot {
    padding: 8px 14px 6px;
  }

  .header-dropdown-foot a {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-cyan);
    text-decoration: none;
    letter-spacing: 0.01em;
  }

  .header-dropdown-foot a:hover {
    text-decoration: underline;
  }

  /* Mobile menu groups are hidden on desktop (we use dropdowns instead) */
  .menu-group {
    display: contents;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  /* Tighten on smaller desktops (iPad landscape, 13" laptops) */
  .header-nav-desktop {
    gap: 18px;
    margin-left: 24px;
  }
  .header-nav-link {
    font-size: 13px;
  }
  .header-nav-cta {
    padding: 8px 16px;
    font-size: 12px;
  }
  .header-dropdown {
    min-width: 280px;
  }
}

/* ============================================
   ABOUT SECTION — Editorial Three-Phase Story
   ============================================ */

.about-section {
  padding: var(--space-section) 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-section) 100%
  );
  position: relative;
}

.about-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  counter-reset: phase;
}

.about-phase {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-phase::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--accent-cyan);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-phase:hover::before {
  width: 100%;
}

.about-phase-stage {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.875rem;
}

.about-phase-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 0.875rem 0;
  max-width: 22ch;
}

.about-phase-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 42ch;
}

/* Reality compare — "dashboard says" vs "what it doesn't say"
   (used on Why page; intentionally distinct from about-phases) */
.reality-compare {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--border-subtle);
}

.reality-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) auto minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: opacity 0.4s ease;
}

.reality-claim,
.reality-truth {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.reality-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reality-label--claim {
  color: var(--text-faint, var(--text-muted));
}

.reality-label--truth {
  color: var(--accent-cyan);
}

.reality-claim-text {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  margin: 0;
}

.reality-truth-text {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
  max-width: 46ch;
}

.reality-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  background: var(--surface-raised, rgba(15, 118, 110, 0.04));
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease;
}

.reality-divider svg {
  width: 1.125rem;
  height: 1.125rem;
}

.reality-row:hover .reality-divider {
  transform: translateX(4px);
  border-color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .reality-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem 0;
  }

  .reality-divider {
    width: 2rem;
    height: 2rem;
    transform: rotate(90deg);
  }

  .reality-row:hover .reality-divider {
    transform: rotate(90deg) translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reality-divider,
  .reality-row:hover .reality-divider {
    transition: none;
    transform: none;
  }
}

/* Company Facts Mini-Grid */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  padding: 0;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.5rem clamp(1.25rem, 2vw, 1.75rem);
  background: var(--card-bg);
  transition: background 0.3s ease;
}

.about-fact:hover {
  background: #f0fdfa;
}

.about-fact dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.8;
  margin: 0;
}

.about-fact dd {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.4;
}

/* Read more link */
.about-cta {
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
  text-align: center;
}

.about-cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.5rem 0;
  transition:
    color 0.25s ease,
    gap 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.25s ease;
}

.about-cta-link:hover,
.about-cta-link:focus-visible {
  color: var(--accent-cyan);
  gap: 0.875rem;
}

.about-cta-link:hover::after,
.about-cta-link:focus-visible::after {
  opacity: 1;
}

.about-cta-link svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-cta-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .about-phases {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .about-facts {
    grid-template-columns: 1fr;
  }
  .about-fact {
    padding: 1.25rem 1.25rem;
  }
}

/* ============================================
   ABOUT PAGE (/pages/about.html) — editorial long-form
   ============================================ */

.about-page {
  min-height: 100vh;
  padding: clamp(5rem, 6vw, 5.5rem) 0 0;
}

/* Visible breadcrumb: blog index + articles only (removed elsewhere for cleaner heroes) */
.about-breadcrumb {
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(0.5rem, 0.75vw, 0.625rem);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1;
}
.about-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.about-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-breadcrumb a:hover {
  color: var(--accent-cyan);
}
.about-breadcrumb [aria-current="page"] {
  color: var(--text-main);
}
.about-breadcrumb-sep {
  opacity: 0.5;
}

.about-hero {
  text-align: center;
  position: relative;
  isolation: isolate;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border-subtle);
}
/* Shared hero glow — large centered ellipse bleeds upward over the
   breadcrumb band (siblings above the hero). Weak inset ::before (e.g. old
   sub-hero / product-hero) only reached ~10% up and left #FAFBFD strip. */
.about-hero::before,
.sub-hero::before,
.article-hero::before,
.product-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(500px, 75vw, 920px);
  height: clamp(400px, 55vw, 680px);
  background: radial-gradient(
    ellipse at center,
    rgba(15, 118, 110, 0.08) 0%,
    rgba(15, 118, 110, 0.035) 38%,
    transparent 72%
  );
  pointer-events: none;
  z-index: -1;
}
.about-hero-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 0 auto 1.75rem;
  max-width: 16ch;
  text-wrap: balance;
}
.about-hero-lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto;
  text-wrap: pretty;
}
.about-hero-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.85;
}
.about-hero-byline-sep {
  opacity: 0.45;
}

.about-body {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.about-chapter {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border-subtle);
}
.about-chapter:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.about-chapter-meta {
  position: sticky;
  top: 5rem;
  align-self: start;
}
.about-chapter-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}
.about-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--text-main);
  margin: 0;
  max-width: 18ch;
}

.about-chapter-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 62ch;
}
.about-chapter-body p:last-child {
  margin-bottom: 0;
}
.about-chapter-body strong {
  color: var(--text-main);
  font-weight: 600;
}
.about-colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  line-height: 1.4 !important;
}
.about-colophon a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.about-colophon a:hover {
  border-bottom-color: var(--accent-cyan);
}
.about-chapter-body em {
  color: var(--text-main);
  font-style: normal;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(15, 118, 110, 0.12) 60%
  );
  padding: 0 0.125rem;
}

.about-principles {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.about-principle {
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 2px solid var(--border-subtle);
  transition: border-color 0.3s ease;
}
.about-principle:hover {
  border-left-color: var(--accent-cyan);
}
.about-principle-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 0.375rem;
}
.about-principle-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

.about-quote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--accent-cyan);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--text-main);
  max-width: 48ch;
}

.about-cta-block {
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}
.about-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--text-main);
  margin: 0 0 1rem;
}
.about-cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  line-height: 1.55;
  max-width: 52ch;
}
.about-cta-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.about-cta-primary,
.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-cta-primary {
  background: var(--text-main);
  color: #fff;
}
.about-cta-primary:hover {
  background: var(--accent-cyan);
  transform: translateY(-1px);
}
.about-cta-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.about-cta-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.about-page .about-facts {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-chapter {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-chapter-meta {
    position: static;
  }
}

/* ============================================
   CTA SECTION - Centered Dramatic Form
   ============================================ */

/* ========================
   Contact Section
   ======================== */
.contact-section {
  padding: var(--space-section) 0;
  position: relative;
}

/* Contact Form */
.contact-form {
  margin-top: clamp(3rem, 5vw, 4rem);
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Form Field */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.turnstile-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.turnstile-wrapper .cf-turnstile {
  width: 100%;
}

/* Form Label */
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.form-field:focus-within .form-label {
  color: var(--accent-cyan);
}

/* Form Input */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9375rem;
  font-family: var(--font-primary);
  outline: none !important;
  outline-offset: 0 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* Focus State */
.form-input:focus,
.form-input:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.form-textarea:focus,
.form-textarea:focus-visible {
  border-color: var(--accent-cyan) !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg) !important;
  box-shadow:
    0 0 0 3px rgba(13, 148, 136, 0.08),
    0 8px 24px rgba(15, 23, 42, 0.06) !important;
  transform: translateY(-1px);
  outline: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Select */
.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
}

.form-select::-ms-expand {
  display: none;
}

.form-select:focus {
  outline: none;
  outline-offset: 0;
  box-shadow:
    0 0 0 3px rgba(13, 148, 136, 0.08),
    0 8px 24px rgba(15, 23, 42, 0.06);
}

.form-select,
.form-select:hover,
.form-select:active,
.form-select:focus,
.form-select:focus-visible {
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.25rem center !important;
  border-radius: var(--radius-lg) !important;
}

.form-select option {
  background: #ffffff;
  background-color: #ffffff;
  color: var(--text-main);
  padding: 0.75rem;
  font-weight: normal;
}

/* Textarea */
.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
  font-family: inherit;
  border-radius: var(--radius-lg) !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Error State */
.form-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--accent-pink);
  margin-top: 0.25rem;
}

.form-field.error .form-error {
  display: block;
}

.form-field.error .form-input,
.form-field.error .form-select,
.form-field.error .form-textarea {
  border-color: var(--accent-pink);
}

/* Form Footer */
.form-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 13.75rem;
  height: 3.125rem;
  background: var(--text-main);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 0 0.5rem 0 1.5rem;
  border-radius: 3.75rem;
  border: 2px solid var(--text-main);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--gradient-primary);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.form-submit:hover::before {
  transform: translateX(0);
}

.form-submit-text {
  position: relative;
  z-index: 2;
  transition: color 0.5s ease;
}

.form-submit-icon {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.form-submit-icon svg {
  color: #fff;
  transition: all 0.5s ease;
  transform: rotate(0deg);
}

.form-submit:hover {
  border-color: var(--accent-cyan);
}

.form-submit:hover .form-submit-text {
  color: #fff;
}

.form-submit:hover .form-submit-icon {
  background: transparent;
  transform: translateX(2px);
}

.form-submit:hover .form-submit-icon svg {
  color: #fff;
  transform: rotate(-45deg);
}

.form-submit:active {
  transform: scale(0.98);
}

/* Form Note */
.form-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
  flex: 0 0 auto;
  max-width: none;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.875rem 1rem;
  }

  .form-select {
    padding-right: 2.5rem;
    background-position: right 1rem center;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-submit {
    width: 100%;
  }

  .form-note {
    text-align: center;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .form-label {
    font-size: 0.8125rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 0.875rem;
  }

  .form-submit {
    font-size: 0.9375rem;
  }
}

/* ============================================
   FORM MESSAGE STYLES - AWWWARDS PREMIUM
   ============================================ */

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.1);
}

.form-message.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-message-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.125rem;
}

.form-message-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-message-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-message-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-message-success {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.06) 0%,
    rgba(13, 148, 136, 0.02) 100%
  );
  border-color: rgba(13, 148, 136, 0.2);
  color: var(--accent-cyan);
  box-shadow:
    0 20px 60px -15px rgba(13, 148, 136, 0.15),
    0 0 1px rgba(13, 148, 136, 0.2);
}

.form-message-success .form-message-icon {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 6px rgba(13, 148, 136, 0.3));
}

.form-message-success .form-message-title {
  color: var(--text-main);
}

.form-message-error {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.06) 0%,
    rgba(236, 72, 153, 0.02) 100%
  );
  border-color: rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
  box-shadow:
    0 20px 60px -15px rgba(236, 72, 153, 0.15),
    0 0 1px rgba(236, 72, 153, 0.2);
}

.form-message-error .form-message-icon {
  color: var(--accent-pink);
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.3));
}

.form-message-error .form-message-title {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
  .form-message {
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .form-message-icon {
    width: 20px;
    height: 20px;
  }

  .form-message-title {
    font-size: 0.9375rem;
  }

  .form-message-text {
    font-size: 0.875rem;
  }
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Enhancement
   ============================================ */

@media (max-width: 1200px) {
  :root {
    --text-hero: clamp(3rem, 8vw, 6rem);
    --text-section: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-visual {
    max-width: 600px;
    min-width: 0;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: clamp(3rem, 8vw, 6rem);
    --space-content: clamp(1.5rem, 4vw, 3rem);
  }
  /* Header adjustments */
  .minimal-nav {
    padding: 12px 16px;
  }

  /* Hero section mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--space-section) + 2rem) 0 var(--space-section);
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin: 2rem 0 1rem;
    text-align: center;
  }

  /* Section headers mobile */
  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .minimal-nav {
    padding: 12px 16px;
  }

  .menu-toggle {
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem 0.55rem 0.8rem;
    font-size: 0.8125rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
  }

  /* Hero CTA button full width mobile */
  .btn-trial {
    width: 100%;
    max-width: 100%;
  }

  /* Hero title smaller on tiny screens */
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* ============================================
   SMOOTH SCROLLING & SCROLL BEHAVIOR
   ============================================ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  header {
    position: static;
  }

  .hero::before,
  .cta-inner::before {
    display: none;
  }

  section {
    page-break-inside: avoid;
  }
}
/* ========================
   FAQ Section
   ======================== */
.faq-section {
  padding: var(--space-section) 0;
  position: relative;
}

.faq-list {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

/* FAQ Question (Summary) */
.faq-question {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  cursor: pointer;
  list-style: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-question {
  padding-bottom: 1.25rem;
}

.faq-question:hover .faq-text {
  color: var(--text-main);
}

.faq-question:hover .faq-icon {
  color: var(--text-muted);
}

/* FAQ Number */
.faq-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 2rem;
  text-align: left;
  transition: color 0.25s ease;
}

.faq-question:hover .faq-number {
  color: var(--accent-cyan);
}

/* FAQ Text */
.faq-text {
  flex: 1;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.5;
  transition: color 0.25s ease;
}

/* FAQ Icon */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* FAQ Answer */
.faq-answer {
  padding: 0 0 2rem 4rem;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
  animation: slideInAnswer 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInAnswer {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-question {
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .faq-item[open] .faq-question {
    padding-bottom: 1rem;
  }

  .faq-number {
    width: 1.75rem;
    font-size: 0.75rem;
  }

  .faq-text {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 0 1.5rem 3rem;
  }

  .faq-answer p {
    font-size: 0.875rem;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .faq-item[open] .faq-question {
    padding-bottom: 0.75rem;
  }

  .faq-number {
    width: 1.5rem;
  }

  .faq-answer {
    padding: 0 0 1.25rem 2.5rem;
  }
}

/* ========================
   Footer
   ======================== */
.footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  position: relative;
  /* --text-muted (#64748B) is 4.31:1 on --bg-secondary, just under WCAG AA's
     4.5:1 for normal text. Darken it locally rather than site-wide, since
     elsewhere it sits on lighter backgrounds and already passes. */
  --text-muted: #5b6b80;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4rem);
}

/* Footer Top */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(3rem, 6vw, 5rem);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-brand-logo {
  display: block;
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 32ch;
}

/* Footer Contact (under tagline) */
.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footer-contact-link:hover {
  color: var(--accent-cyan);
}

.footer-contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* No opacity dimming: even on the darkened --text-muted, 0.7 opacity blends
     back down under 3:1 against --bg-secondary. Uppercase + letter-spacing
     already reads as a label without it. */
  color: var(--text-muted);
  min-width: 3.5rem;
}

.footer-contact-value {
  color: inherit;
  font-weight: 500;
}

/* Footer Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--accent-cyan);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-badge {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.375rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-nav-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 0.25rem;
  }

  .footer-tagline {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .footer-nav-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-brand-logo {
    height: 28px;
  }

  .footer-badge {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   GENERIC SUB-PAGE PRIMITIVES
   Used by /pages/partners.html, /pages/jobs.html, /pages/help.html
   Reuses .about-page (layout) and .about-breadcrumb where it makes sense
   ============================================ */

.sub-hero {
  text-align: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 4.5vw, 4rem);
  position: relative;
  isolation: isolate;
}

.sub-hero > * {
  position: relative;
  z-index: 1;
}

.sub-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 1rem;
}

.sub-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-main);
  margin: 0 auto 1.25rem;
  max-width: 22ch;
  text-wrap: balance;
}

.sub-lede {
  font-family: var(--font-primary);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.sub-section {
  padding: clamp(2.5rem, 4.5vw, 4.5rem) 0;
}

/* Compact blog hero — just a small title, posts start right away. */
.sub-hero--compact {
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
  text-align: left;
}
.sub-hero--compact .sub-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0;
  max-width: none;
}
.sub-hero--compact + .sub-section {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* FAQ: title (sub-hero) sits right above the list — collapse stacked spacing */
.sub-section--faq {
  padding-top: 0;
}

.sub-section--faq .faq-list {
  margin-top: 0;
}

.sub-section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.sub-section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sub-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
  margin: 0;
  text-wrap: balance;
}

.sub-section-lede {
  margin: 1rem auto 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Benefits / value-prop grid (responsive 3-col → 1-col) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: linear-gradient(
    180deg,
    var(--card-bg) 0%,
    rgba(241, 244, 248, 0.55) 100%
  );
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 14px 32px -18px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-cyan);
  margin: 0 0 1rem;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.benefit-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Partner "why partner" cards (partners page). The icon SVGs ship without
   width/height, so without these rules the browser falls back to the 300x150
   replaced-element default and the icons render huge. */
.partner-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 720px) {
  .partner-reasons {
    grid-template-columns: 1fr;
  }
}

.partner-reason {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.partner-reason:hover {
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 14px 32px -18px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.partner-reason-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.partner-reason-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-cyan);
  margin: 0.75rem 0 1rem;
}

.partner-reason-icon svg {
  width: 22px;
  height: 22px;
}

.partner-reason-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.partner-reason-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Listed roles / categories list (jobs, help shortcuts) */
.role-list {
  display: grid;
  gap: 0.875rem;
}

.role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.role-item:hover {
  border-color: rgba(15, 118, 110, 0.3);
  transform: translateX(2px);
}

.role-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.role-item-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.005em;
}

.role-item-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.role-item-meta span {
  position: relative;
}
.role-item-meta span + span::before {
  content: "·";
  margin-right: 0.625rem;
  color: rgba(100, 116, 139, 0.55);
}

.role-item-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .role-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
}

/* Sub-page form section */
.form-section {
  padding: clamp(2.5rem, 4.5vw, 4.5rem) 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(241, 244, 248, 0.5) 100%
  );
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: 0 20px 48px -24px rgba(15, 23, 42, 0.1);
  max-width: 760px;
  margin: 0 auto;
}

.form-card-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.form-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 0.75rem;
}

.form-card-lede {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
}

/* Mini FAQ — disclosure list */
.mini-faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

details.mini-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

details.mini-faq-item:hover {
  border-color: rgba(15, 118, 110, 0.22);
}

details.mini-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.005em;
  text-align: left;
  line-height: 1.45;
}

details.mini-faq-item > summary::-webkit-details-marker {
  display: none;
}

details.mini-faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-top: 0.05rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  line-height: 1;
}

details.mini-faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.mini-faq-a {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mini-faq-a p {
  margin: 0 0 0.75rem;
}
.mini-faq-a p:last-child {
  margin-bottom: 0;
}

/* ============================================
   PRODUCT DETAIL PAGES
   Used by /pages/products/zeromon.html, zerotam.html, zeropen.html
   Award-level layout: split hero, stats bar, feature grid,
   how-it-works flow, gallery slider, video embed, spec table,
   final CTA block, mini-FAQ.
   ============================================ */

.product-page {
  min-height: 100vh;
  padding: clamp(4.5rem, 5.5vw, 5.25rem) 0 0;
  isolation: isolate;
  /* clip only — avoid overflow-x:hidden which can poison body/html scroll */
  overflow-x: clip;
  overflow-y: visible;
}

/* ============================================
   HERO — split layout: copy left, video right.
   Fits within the viewport (no oversized type),
   vertically centered, with staggered entrance
   animations that respect prefers-reduced-motion.
   ============================================ */
.product-hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - clamp(4.5rem, 5.5vw, 5.25rem));
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  isolation: isolate;
}

.product-hero > * {
  position: relative;
  z-index: 1;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  width: 100%;
}

/* Split-media product heroes (ZeroMON, Zero365): slight media bias — desktop only */
@media (min-width: 901px) {
  .product-page:has(.zm-hero-visual) .product-hero-inner,
  .product-page:has(.z365-installation) .product-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.75rem, 3.5vw, 3.5rem);
  }
}

/* First viewport for text-only product pages:
   middle = centered hero, bottom = stats bar pinned */
.product-open {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - clamp(4.5rem, 5.5vw, 5.25rem));
}

.product-hero--text {
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding-top: clamp(1rem, 2vh, 1.75rem);
  padding-bottom: clamp(1rem, 2vh, 1.5rem);
}
.product-hero--text .product-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(42rem, 100%);
  margin-inline: auto;
  width: 100%;
  justify-items: center;
  text-align: center;
}
.product-hero--text .product-hero-copy {
  text-align: center;
  max-width: 42rem;
  width: 100%;
}
.product-hero--text .product-hero-eyebrow {
  justify-content: center;
  margin-bottom: 1.3rem;
}
.product-hero--text .product-hero-title {
  /* Closer to split-hero scale so text pages don't feel underpowered */
  font-size: clamp(2.4rem, 2rem + 2.2vw, 3.5rem);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 0;
  text-wrap: balance;
}
.product-hero--text .product-hero-lede {
  max-width: 36rem;
  margin-inline: auto;
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
}
.product-hero--text .product-hero-cta {
  justify-content: center;
  margin-top: 1.35rem;
}

.product-stats--open {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  padding-top: clamp(1.15rem, 2vw, 1.5rem);
  padding-bottom: clamp(1.15rem, 2vw, 1.5rem);
}
.product-stats--open > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .product-open {
    min-height: 0;
  }
  .product-hero--text {
    min-height: 0;
    padding-top: clamp(1.25rem, 3vh, 2rem);
  }
}

/* Product pages — mobile editorial alignment (desktop unchanged)
   B2B product pages read better left-aligned on narrow viewports:
   CTAs, stats, section heads, and list content share one edge. */
@media (max-width: 720px) {
  .product-page .product-hero--text .product-hero-inner {
    justify-items: start;
    text-align: left;
    max-width: none;
    margin-inline: 0;
  }

  .product-page .product-hero--text .product-hero-copy {
    text-align: left;
  }

  .product-page .product-hero--text .product-hero-eyebrow {
    justify-content: flex-start;
  }

  .product-page .product-hero--text .product-hero-title,
  .product-page .product-hero--text .product-hero-lede {
    margin-inline: 0;
    max-width: none;
  }

  .product-page .product-hero--text .product-hero-cta {
    justify-content: flex-start;
  }

  .product-page .product-hero .product-hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .product-page .product-hero .product-hero-cta > a,
  .product-page .product-cta-block .product-hero-cta > a {
    width: 100%;
    min-height: 3.125rem;
    padding: 0 1.35rem;
    font-size: 0.9375rem;
    justify-content: center;
    box-sizing: border-box;
  }

  .product-page .product-hero .product-cta-primary,
  .product-page .product-cta-block .product-cta-primary {
    border: 1px solid transparent;
  }

  .product-page .arch-assurances {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-inline: 0;
    width: 100%;
  }

  .product-page .arch-assurances li {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    line-height: 1.45;
  }

  .product-page .zt-benefits {
    grid-template-columns: 1fr;
  }

  .product-page .zt-benefit {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
    align-items: baseline;
  }

  .product-page .zt-benefit::before {
    padding-top: 0;
    line-height: 1.35;
  }

  .product-page .zt-benefit-title {
    line-height: 1.35;
  }

  .product-page .mini-faq {
    margin-inline: 0;
    max-width: none;
  }

  .product-page .product-stats,
  .product-page .product-stats--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.35rem;
  }

  .product-page .product-stats > div {
    text-align: left;
  }

  .product-page .product-stat-value {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /*
    Open proof strip on mobile: one proof point per row.
    3-up was too cramped; 2-up leaves an orphan. Stacked list reads best.
  */
  .product-page .product-stats--open,
  .product-page .product-stats--open.product-stats--3 {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.85rem;
    padding: 0.15rem 0 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: none;
  }

  .product-page .product-stats--open > div {
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 1.05rem 0;
    position: relative;
    min-width: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border-subtle) 90%, transparent);
  }

  .product-page .product-stats--open > div:last-child {
    border-bottom: none;
  }

  .product-page .product-stats--open > div:not(:last-child)::after {
    content: none;
  }

  .product-page .product-stats--open .product-stat-value {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-wrap: balance;
    color: var(--text-main);
  }

  .product-page .product-stats--open .product-stat-label {
    margin-top: 0;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: left;
    color: var(--text-muted);
    max-width: none;
  }

  /*
    ZeroVault only — short numeric proofs (11 nines · 14 · $0)
    stay as a desktop-like horizontal strip on mobile.
    Sizes match TAM/PEN open strip (not larger).
  */
  .product-page--zerovault .product-stats--open,
  .product-page--zerovault .product-stats--open.product-stats--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.75rem;
    padding: 0;
  }

  .product-page--zerovault .product-stats--open > div {
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 1rem 0.4rem 0.2rem;
    border-bottom: none;
  }

  .product-page--zerovault .product-stats--open > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 28%;
    bottom: 22%;
    width: 1px;
    background: color-mix(in srgb, var(--border-subtle) 85%, transparent);
  }

  .product-page--zerovault .product-stats--open .product-stat-value {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .product-page--zerovault .product-stats--open .product-stat-label {
    margin-top: 0;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-align: center;
    max-width: 10ch;
  }

  .product-page .product-section-head {
    text-align: left;
    margin-inline: 0;
    max-width: none;
  }

  .product-page .z365-workloads {
    margin-inline: 0;
    max-width: none;
  }

  .product-page .z365-workload__head,
  .product-page .z365-workload__meta,
  .product-page .z365-workload__body {
    text-align: left;
  }

  .product-page .zt-benefits {
    margin-inline: 0;
  }

  .product-page .product-flow-step {
    text-align: left;
  }
}

/* ZeroTAM — editorial benefits (no cards) */
.zt-benefits {
  --zt-benefit-gap: clamp(1.5rem, 2.5vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  counter-reset: zt-benefit;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--border-subtle);
}

.zt-benefit {
  position: relative;
  counter-increment: zt-benefit;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem 1rem;
  padding: var(--zt-benefit-gap) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.zt-benefit::before {
  content: counter(zt-benefit, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  line-height: 1.4;
  padding-top: 0.2rem;
}

.zt-benefit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1.5px;
  background: var(--accent-cyan);
  transition: width 0.35s ease;
}

.zt-benefit:hover::after {
  width: 2.75rem;
}

.zt-benefit-title {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0;
  text-wrap: balance;
}

.zt-benefit-body {
  grid-column: 2;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  max-width: 42ch;
}

/* Hairline between the two columns on desktop */
@media (min-width: 721px) {
  .zt-benefit:nth-child(odd) {
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
  }
  .zt-benefit:nth-child(even) {
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
    border-left: 1px solid var(--border-subtle);
  }
}

@media (max-width: 720px) {
  .zt-benefits {
    grid-template-columns: 1fr;
  }
}

/* ZeroTAM — vertical engagement cadence */
.zt-cadence {
  list-style: none;
  margin: clamp(2rem, 3.5vw, 2.75rem) auto 0;
  padding: 0;
  counter-reset: zt-cadence;
  max-width: min(36rem, 100%);
}

.zt-cadence-step {
  position: relative;
  counter-increment: zt-cadence;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 1.15rem;
  padding: 0 0 clamp(1.65rem, 2.8vw, 2.15rem);
  margin: 0;
}

.zt-cadence-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.35rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.45) 0%,
    var(--border-subtle) 100%
  );
}

.zt-cadence-step::after {
  content: counter(zt-cadence, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-cyan);
  background: var(--bg-primary);
  border: 1px solid rgba(15, 118, 110, 0.35);
  position: relative;
  z-index: 1;
}

.zt-cadence-title {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0.15rem 0 0.4rem;
}

.zt-cadence-body {
  grid-column: 2;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 38ch;
}

.zt-cadence-step--crisis {
  padding-bottom: 0;
}

.zt-cadence-step--crisis::after {
  color: #fff;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.zt-cadence-step--crisis .zt-cadence-title {
  color: var(--accent-cyan);
}

@media (max-width: 900px) {
  .product-hero {
    min-height: 0;
  }
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}

.product-hero-copy {
  text-align: left;
  min-width: 0;
}

/* Staggered entrance */
.product-hero-copy > *,
.product-hero-media {
  --hero-delay: 0ms;
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-delay);
}
.product-hero-eyebrow {
  --hero-delay: 40ms;
}
.product-hero-title {
  --hero-delay: 130ms;
}
.product-hero-lede {
  --hero-delay: 240ms;
}
.product-hero-cta {
  --hero-delay: 340ms;
}
.product-hero-media {
  --hero-delay: 200ms;
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Eyebrow — thin top-rule kicker, no pill */
.product-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.3rem;
}

.product-hero-eyebrow .zero-brand {
  color: var(--text-main);
  font-weight: 700;
}

.product-hero-eyebrow .zero-suffix {
  color: var(--accent-cyan);
}

.product-hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-cyan);
}

.product-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: var(--text-main);
  margin: 0 0 1.25rem;
  max-width: 15ch;
  text-wrap: balance;
}

.product-hero-title .accent {
  font-style: normal;
  background: var(--gradient-primary);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: heroAccentShift 7s ease-in-out infinite;
  padding-right: 0.08em;
  margin-right: -0.08em;
}

@keyframes heroAccentShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.product-hero-lede {
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.9rem;
  max-width: 48ch;
  text-wrap: pretty;
}

.product-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.product-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  background: var(--text-main);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.32);
}

.product-cta-primary:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(15, 118, 110, 0.45);
}

.product-cta-primary svg {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-cta-primary:hover svg {
  transform: translateX(3px);
}

.product-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  background: transparent;
  color: var(--text-main);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.product-cta-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(15, 118, 110, 0.04);
}

.product-cta-secondary svg {
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-cta-secondary:hover svg {
  transform: translateY(2px);
}

/* Soft outline — datasheet / download secondary (doesn't compete with primary) */
.product-cta-download {
  background: transparent;
  border-color: color-mix(in srgb, var(--accent-cyan) 32%, var(--border-subtle));
  color: var(--text-main);
  font-weight: 500;
}

.product-cta-download:hover {
  background: color-mix(in srgb, var(--accent-cyan) 6%, transparent);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Media (right column) */
.product-hero-media {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .product-hero-media {
    max-width: 620px;
    margin: 0 auto;
  }
}

.product-hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(15, 118, 110, 0.08) 0%,
      rgba(190, 24, 93, 0.04) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(241, 244, 248, 0.85) 100%
    );
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 40px 80px -32px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  aspect-ratio: 16 / 10;
  display: block;
}

/* Subtle ambient glow behind the media frame */
.product-hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 88%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(15, 118, 110, 0.18) 0%,
    transparent 70%
  );
  filter: blur(44px);
  pointer-events: none;
}

/* ZeroMON hero stage — soft observatory panel */
.product-hero-visual.zm-hero-visual {
  display: grid;
  place-items: stretch;
  padding: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 18% 40%,
      rgba(45, 212, 191, 0.09),
      transparent 60%
    ),
    radial-gradient(
      ellipse 55% 50% at 78% 58%,
      rgba(251, 191, 36, 0.07),
      transparent 62%
    ),
    linear-gradient(160deg, #101820 0%, #121c24 48%, #152028 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 40px 90px -42px rgba(15, 23, 42, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: min(22rem, 50vh);
}

.zm-hero-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
}

.zm-hero-visual video.zm-hero-video {
  display: none;
}

/* ── ZeroMON infra flow ───────────────────────────────────────────── */
.zm-flow {
  --zm-blue: #60a5fa;
  --zm-green: #86efac;
  --zm-gold: #fbbf24;
  --zm-amber: #fb923c;
  --zm-red: #ef4444;
  --zm-mute: rgba(148, 163, 184, 0.7);
  --zm-text: rgba(241, 245, 249, 0.94);
  --zm-card: rgba(12, 18, 26, 0.92);
  --zm-card-border: rgba(148, 163, 184, 0.16);
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0.7rem 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  font-family: var(--font-primary), ui-sans-serif, system-ui, sans-serif;
  color: var(--zm-text);
}

.zm-flow__wires,
.zm-flow__alerts {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.zm-flow.is-ready .zm-flow__wires,
.zm-flow.is-ready .zm-flow__alerts {
  opacity: 1;
}

.zm-flow__mist {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 40% 36% at 18% 42%,
      rgba(59, 130, 246, 0.12),
      transparent 65%
    ),
    radial-gradient(
      ellipse 34% 32% at 50% 50%,
      rgba(234, 179, 8, 0.07),
      transparent 68%
    ),
    radial-gradient(
      ellipse 38% 34% at 82% 58%,
      rgba(249, 115, 22, 0.1),
      transparent 65%
    );
  pointer-events: none;
  animation: zmMistDrift 14s ease-in-out infinite alternate;
}

.zm-flow__intro {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding: 0 clamp(0.35rem, 1vw, 0.65rem) 0.35rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.zm-flow__intro-mark {
  margin: 0;
  font-family: var(--font-display), var(--font-primary), sans-serif;
  font-size: clamp(0.72rem, 1.35vw, 0.82rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #5eead4;
  line-height: 1;
}

.zm-flow__intro-claim {
  margin: 0;
  font-size: clamp(0.62rem, 1.2vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(148, 163, 184, 0.9);
  text-align: right;
}

.zm-flow__stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: max-content minmax(5.5rem, 1fr) max-content;
  gap: clamp(0.65rem, 2vw, 1.2rem);
  align-items: center;
  padding: 0.25rem clamp(0.55rem, 1.8vw, 1.1rem) 0.1rem;
}

/* Path under nodes so the wire passes behind the proxy */
.zm-flow__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.zm-flow__path {
  animation: zmDashFlow 1.2s linear infinite;
}

.zm-flow__path-glow {
  animation: zmPathBreathe 3.6s ease-in-out infinite;
}

/* Hidden until ready — avoids (0,0) flash before animateMotion starts */
.zm-flow__packet {
  opacity: 0;
}

.zm-flow.is-ready .zm-flow__packet {
  opacity: 0.95;
  transition: opacity 0.12s ease 0.06s;
}

.zm-flow__col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  justify-content: center;
  padding-top: 0;
}

.zm-flow__col--servers,
.zm-flow__col--proxies,
.zm-flow__col--repos {
  align-items: center;
}

.zm-flow__lane {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  max-width: 100%;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
  white-space: nowrap;
}

.zm-flow__lane-ico {
  display: grid;
  place-items: center;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0;
  flex-shrink: 0;
  background: none;
  box-shadow: none;
}

.zm-flow__lane-ico svg {
  width: 0.75rem;
  height: 0.75rem;
}

.zm-flow__lane--blue .zm-flow__lane-ico {
  color: var(--zm-blue);
  background: none;
}

.zm-flow__lane--green .zm-flow__lane-ico {
  color: var(--zm-green);
  background: none;
}

.zm-flow__lane--amber .zm-flow__lane-ico {
  color: var(--zm-amber);
  background: none;
}

.zm-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  width: max-content;
  max-width: 100%;
}

.zm-flow__list--center {
  margin-inline: 0;
}

.zm-flow__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  min-width: 5.25rem;
  max-width: 6.75rem;
  margin-inline: 0;
  padding: 0.34rem 0.5rem;
  border-radius: 0.45rem;
  background: var(--zm-card);
  border: 1px solid var(--zm-card-border);
  color: var(--zm-mute);
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.55);
  animation: zmNodeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zm-flow__col--servers .zm-flow__node:nth-child(1) {
  animation-delay: 0.1s;
}
.zm-flow__col--servers .zm-flow__node:nth-child(2) {
  animation-delay: 0.18s;
}
.zm-flow__col--proxies .zm-flow__node:nth-child(1) {
  animation-delay: 0.22s;
}
.zm-flow__col--proxies .zm-flow__node:nth-child(2) {
  animation-delay: 0.3s;
}
.zm-flow__col--repos .zm-flow__node:nth-child(1) {
  animation-delay: 0.14s;
}
.zm-flow__col--repos .zm-flow__node:nth-child(2) {
  animation-delay: 0.22s;
}
.zm-flow__col--repos .zm-flow__node:nth-child(3) {
  animation-delay: 0.3s;
}

.zm-flow__node-ico {
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  border-radius: 0.28rem;
  color: inherit;
}

.zm-flow__node-ico svg {
  width: 0.72rem;
  height: 0.72rem;
}

.zm-flow__node-ico--round {
  border-radius: 999px;
}

.zm-flow__name {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zm-flow__node--on {
  color: var(--zm-text);
  background: rgba(15, 23, 32, 0.96);
}

.zm-flow__node--server.zm-flow__node--on {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.16),
    0 0 22px -6px rgba(59, 130, 246, 0.5);
}

.zm-flow__node--server.zm-flow__node--on .zm-flow__node-ico {
  color: var(--zm-blue);
}

.zm-flow__node--proxy.zm-flow__node--on {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow:
    0 0 0 1px rgba(234, 179, 8, 0.18),
    0 0 24px -6px rgba(234, 179, 8, 0.5);
}

.zm-flow__node--proxy.zm-flow__node--on .zm-flow__node-ico--round {
  color: var(--zm-gold);
  background: rgba(251, 191, 36, 0.14);
  box-shadow: 0 0 10px -2px rgba(251, 191, 36, 0.5);
}

.zm-flow__node--repo.zm-flow__node--on {
  border-color: rgba(251, 146, 60, 0.7);
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.18),
    0 0 24px -6px rgba(249, 115, 22, 0.48);
}

.zm-flow__node--repo.zm-flow__node--on .zm-flow__node-ico--round {
  color: var(--zm-amber);
  background: rgba(249, 115, 22, 0.14);
  box-shadow: 0 0 10px -2px rgba(249, 115, 22, 0.5);
}

.zm-flow__halo {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  animation: zmActiveRing 2.8s ease-out infinite;
}

.zm-flow__node--server .zm-flow__halo {
  border-color: rgba(96, 165, 250, 0.45);
}

.zm-flow__node--proxy .zm-flow__halo {
  border-color: rgba(251, 191, 36, 0.45);
}

.zm-flow__node--repo .zm-flow__halo {
  border-color: rgba(251, 146, 60, 0.45);
}

/* Alert hotspots + bottleneck tip */
.zm-flow__alerts {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.zm-flow__alert {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 6;
}

.zm-flow__alert-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--zm-red);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 0 0 2px rgba(15, 23, 32, 0.85),
    0 0 16px rgba(239, 68, 68, 0.65);
  transition: transform 0.2s ease;
}

.zm-flow__alert-btn:hover,
.zm-flow__alert-btn:focus-visible,
.zm-flow__alert.is-open .zm-flow__alert-btn {
  transform: scale(1.08);
  outline: none;
}

.zm-flow__alert-mark {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  font-family: system-ui, sans-serif;
}

.zm-flow__alert-btn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zm-flow__alert-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.45);
  animation: zmAlertPulse 2.2s ease-out infinite;
}

.zm-flow__tip {
  position: absolute;
  left: 50%;
  width: max(11.5rem, 100%);
  min-width: 11.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow:
    0 12px 28px -12px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(239, 68, 68, 0.08);
  text-align: left;
  pointer-events: none;
}

.zm-flow__tip--above {
  bottom: calc(100% + 0.55rem);
  top: auto;
  transform: translateX(-50%);
}

.zm-flow__tip--below {
  top: calc(100% + 0.55rem);
  bottom: auto;
  transform: translateX(-50%);
}

.zm-flow__tip--side {
  left: calc(100% + 0.45rem);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  min-width: 10.5rem;
}

.zm-flow__tip[hidden] {
  display: none;
}

.zm-flow__tip-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fca5a5;
}

.zm-flow__tip-metric {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.zm-flow__tip-detail {
  margin: 0;
  font-size: 0.55rem;
  line-height: 1.35;
  color: rgba(203, 213, 225, 0.82);
}

@keyframes zmDashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes zmPathBreathe {
  0%,
  100% {
    opacity: 0.14;
  }
  50% {
    opacity: 0.28;
  }
}

@keyframes zmAlertPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2.1);
    opacity: 0;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes zmActiveRing {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.06);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes zmNodeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zmMistDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.2%, -1%, 0) scale(1.03);
  }
}

@media (max-width: 720px) {
  .product-hero-visual.zm-hero-visual {
    aspect-ratio: auto;
    max-height: none;
    /* Room for full desktop node counts on mobile */
    min-height: 15rem;
    overflow: visible;
  }

  .zm-flow {
    padding: 0.75rem 0.5rem 0.85rem;
    min-height: 14rem;
    overflow: visible;
  }

  .zm-flow__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding-bottom: 0.3rem;
    margin-bottom: 0.1rem;
  }

  .zm-flow__intro-claim {
    text-align: left;
  }

  /* Same node counts as desktop (2 servers · 2 proxies · 3 repos),
     compact sizing so they still fit on a phone. */
  .zm-flow__stage {
    grid-template-columns: max-content minmax(2.25rem, 1fr) max-content;
    gap: 0.35rem;
    padding: 0.55rem 0.15rem 0.5rem;
    min-height: 10.5rem;
    overflow: visible;
  }

  .zm-flow__col {
    gap: 0.3rem;
    align-items: center;
  }

  .zm-flow__lane {
    font-size: 0.5rem;
    letter-spacing: 0.03em;
    gap: 0.2rem;
  }

  .zm-flow__lane-ico {
    display: none;
  }

  .zm-flow__list {
    gap: 0.22rem;
  }

  .zm-flow__node {
    min-width: 2.85rem;
    max-width: 5rem;
    padding: 0.22rem 0.3rem;
    gap: 0.22rem;
    border-radius: 0.35rem;
  }

  .zm-flow__name {
    font-size: 0.55rem;
  }

  .zm-flow__node-ico,
  .zm-flow__node-ico svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .zm-flow__alert-btn {
    width: 1.05rem;
    height: 1.05rem;
  }

  .zm-flow__alert-mark {
    font-size: 0.6rem;
  }

  .zm-flow__wires,
  .zm-flow__alerts {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zm-flow__mist,
  .zm-flow__path,
  .zm-flow__path-glow,
  .zm-flow__alert-pulse,
  .zm-flow__halo,
  .zm-flow__node,
  .zm-flow__packet {
    animation: none !important;
  }

  .zm-flow__packet {
    display: none;
  }
}

.zm-flow svg:not(.zm-flow__wires) {
  width: auto;
  height: auto;
  display: block;
  object-fit: unset;
  max-width: none;
}

.zm-flow__wires {
  width: 100% !important;
  height: 100% !important;
}

.zm-flow__lane-ico svg,
.zm-flow__node-ico svg {
  display: block;
}

.product-hero-visual
  img:not(.zm-hero-svg):not(.z365-pf__icon):not(.z365-pf-capsule__icon),
.product-hero-visual
  > svg:not(.z365-pf-conduit__svg):not(.z365-pf-packet__icon),
.product-hero-visual > .zm-hero-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Placeholder hint shown when an image is missing */
.product-hero-visual[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: auto 0 1rem 0;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-copy > *,
  .product-hero-media {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .product-hero-title .accent,
  .zv-hero-stack-svg,
  .zt-hero-art-svg,
  .zp-hero-art-svg,
  [class*="-hero-stage-glow"],
  [class*="-hero-stage-orbit"],
  [class*="-hero-stage-live-dot"] {
    animation: none;
  }
}

/* HERO SLIDER — larger dashboard preview carousel in product hero */
.product-hero-media {
  width: 100%;
}

.hero-slider {
  position: relative;
}

.hero-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 30px 70px -28px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  scrollbar-width: none;
}

.hero-slider-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(21, 94, 117, 0.12)),
    var(--bg-secondary, #f1f5f9);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(15, 23, 42, 0.06) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  opacity: 0.7;
}

.hero-slide[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: auto 0 1.25rem 0;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.hero-slider-arrow:hover:not(:disabled) {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hero-slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-subtle);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.hero-slider-dot.is-active {
  background: var(--accent-cyan);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    scroll-behavior: auto;
  }
}

/* STATS BAR — quick "by the numbers" strip */
.product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.product-stats--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .product-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 2vw, 1.75rem) 2rem;
  }
  .product-stats--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .product-stats,
  .product-stats--3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.product-stats > div {
  min-width: 0;
}
.product-stat-value {
  word-break: keep-all;
}

.product-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
}

.product-stat-label {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Must follow base .product-stat-* so Vault/TAM/PEN strip stays smaller */
.product-stats--open .product-stat-value {
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.product-stats--open .product-stat-label {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* GENERIC SECTION INSIDE PRODUCT PAGE */
.product-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.product-section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}

.product-section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.product-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
  margin: 0;
  text-wrap: balance;
}

.product-section-lede {
  margin: 1rem auto 0;
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* FEATURE GRID — 3 col with hover lift */
.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.product-features--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-features {
    grid-template-columns: 1fr;
  }
}

.product-feature {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.product-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 0% 0%,
    rgba(15, 118, 110, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.product-feature:hover {
  border-color: rgba(15, 118, 110, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.18);
}

.product-feature:hover::before {
  opacity: 1;
}

.product-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.12) 0%,
    rgba(15, 118, 110, 0.04) 100%
  );
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}
.product-feature-icon svg {
  width: 22px;
  height: 22px;
}

.product-feature-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.product-feature-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* MODULE EXPLORER — clickable tabs (left) + media/copy panel (right) */
.module-explorer {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  align-items: start;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.module-tab {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  color: var(--text-muted);
  transition:
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-tab:hover {
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-main);
}

.module-tab.is-active {
  background: #ffffff;
  border-color: rgba(15, 118, 110, 0.3);
  color: var(--text-main);
  box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.3);
}

.module-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-muted);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.module-tab.is-active .module-tab-icon {
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-cyan);
}

.module-tab-icon svg,
.module-tab-icon img {
  width: 19px;
  height: 19px;
  display: block;
}

.module-tab-icon img {
  object-fit: contain;
}

.module-tab-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.module-tab-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.module-tab-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

.module-panels {
  position: relative;
  min-height: 100%;
}

.module-panel {
  display: grid;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.module-panel[hidden] {
  display: none;
}

.module-panel.is-active {
  animation: modulePanelIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modulePanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.module-panel-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(21, 94, 117, 0.14)),
    var(--bg-secondary, #f1f5f9);
}

.module-panel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(15, 23, 42, 0.06) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  opacity: 0.7;
}

.module-panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Zero365 — workload mark (SVG icon stage, no product screenshots) */
.module-panel-media--mark {
  container-type: inline-size;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(15, 118, 110, 0.14) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}

.module-panel-media--mark::before {
  opacity: 0.45;
}

.module-panel-media--mark .z365-workload-mark__icon {
  position: relative;
  inset: auto;
  width: clamp(3.5rem, 12cqi, 4.75rem);
  height: clamp(3.5rem, 12cqi, 4.75rem);
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.12));
}

.z365-workload-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(58%, 11rem);
  aspect-ratio: 1;
}

.z365-workload-mark__ring {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.55) 100%
  );
  box-shadow:
    0 24px 48px -28px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.z365-workload-mark__ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 24%;
  border: 1px dashed rgba(15, 118, 110, 0.16);
}

.module-panel-media--mark[data-workload="exchange"] {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(15, 108, 189, 0.16) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}
.module-panel-media--mark[data-workload="onedrive"] {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(0, 120, 212, 0.14) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}
.module-panel-media--mark[data-workload="sharepoint"] {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(3, 131, 135, 0.16) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}
.module-panel-media--mark[data-workload="teams"] {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(98, 100, 167, 0.18) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}
.module-panel-media--mark[data-workload="entra"] {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 42%,
      rgba(0, 164, 239, 0.16) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}

.module-panel-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.module-panel-copy {
  max-width: 56ch;
}

.module-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 0.625rem;
}

.module-panel-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}

@media (max-width: 860px) {
  .module-explorer {
    grid-template-columns: 1fr;
  }
  .module-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }
  .module-tab {
    flex: 0 0 auto;
  }
  .module-tab-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-tab,
  .module-tab-icon {
    transition-duration: 0.001s;
  }
  .module-panel.is-active {
    animation: none;
  }
}

/* Zero365 workloads — always-visible editorial list (no tabs, no slider) */
.z365-workloads {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 52rem;
  margin: clamp(2rem, 3.5vw, 2.75rem) auto 0;
  border-top: 1px solid var(--border-subtle);
}

.z365-workload {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.z365-workload__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.z365-workload__icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  margin-top: 0.1rem;
}

.z365-workload__meta {
  min-width: 0;
}

.z365-workload__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-main);
  margin: 0;
}

.z365-workload__sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.z365-workload__body {
  min-width: 0;
}

.z365-workload__lead {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.z365-workload__body > p:last-child {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .z365-workload {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* HOW IT WORKS — flow steps
   Single connecting line lives on the parent and runs the whole grid;
   each step's number badge has a solid background to "punch through" it. */
.product-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  counter-reset: flow;
  position: relative;
}

.product-flow::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(15, 118, 110, 0.5) 0%,
    var(--border-subtle) 12%,
    var(--border-subtle) 88%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .product-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-flow::before {
    display: none;
  }
}
@media (max-width: 540px) {
  .product-flow {
    grid-template-columns: 1fr;
  }
}

.product-flow-step {
  position: relative;
  counter-increment: flow;
  z-index: 1;
}

.product-flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-cyan);
  background: var(--bg-primary);
  padding-right: 0.875rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.product-flow-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.product-flow-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ARCHITECTURE FLOW — professional, customer-facing read-only diagram */
.arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 900px;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
}

.arch-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  height: 100%;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.35);
}

.arch-card--accent {
  border-color: rgba(15, 118, 110, 0.3);
  background:
    linear-gradient(150deg, rgba(15, 118, 110, 0.05), rgba(255, 255, 255, 0)),
    #ffffff;
}

.arch-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.arch-card--accent .arch-card-icon {
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-cyan);
}

.arch-card-icon svg {
  width: 22px;
  height: 22px;
}

.arch-card-step {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.arch-card--accent .arch-card-step {
  color: var(--accent-cyan);
}

.arch-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.arch-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Connector between the two cards */
.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
}

.arch-connector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.arch-connector-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(15, 118, 110, 0.5) 0 7px,
    transparent 7px 13px
  );
}

.arch-connector-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
  transform: translateY(-50%) rotate(45deg);
}

/* Assurance chips below the flow */
.arch-assurances {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: 0;
}

.arch-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-main);
}

.arch-assurances li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-cyan);
  font-size: 0.6875rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .arch-flow {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .arch-connector {
    flex-direction: column;
    min-width: 0;
    padding: 0.5rem 0;
  }
  .arch-connector-line {
    width: 2px;
    height: 40px;
    background: repeating-linear-gradient(
      180deg,
      rgba(15, 118, 110, 0.5) 0 7px,
      transparent 7px 13px
    );
  }
  .arch-connector-line::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }
}

/* ─── Zero365 architecture diagram (dark-panel, 3-column flow) ─── */
.arch-diagram-365 {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--text-main, #0f172a);
  color: #f8fafc;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  max-width: 960px;
}

.arch-365-flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: center;
}

.arch-365-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(1rem, 2vw, 1.5rem);
  align-self: center;
  height: auto;
}

.arch-365-card--accent {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.arch-365-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.arch-365-card-header > div {
  text-align: center;
}

.arch-365-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--text-main, #0f172a);
  font-size: 0.5625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.arch-365-badge--muted {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.arch-365-card-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.2;
}

.arch-365-card-sub {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.arch-365-items,
.arch-365-features {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.arch-365-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.4rem 0.625rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.arch-365-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.arch-365-dot--blue {
  background: #60a5fa;
}
.arch-365-dot--teal {
  background: #2dd4bf;
}
.arch-365-dot--indigo {
  background: #818cf8;
}
.arch-365-dot--violet {
  background: #a78bfa;
}
.arch-365-dot--amber {
  background: #fbbf24;
}

.arch-365-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
}

.arch-365-inner-cell {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.arch-365-inner-full {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.arch-365-storage-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: center;
  height: auto;
}

.arch-365-storage-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-365-storage-card .arch-365-card-header {
  margin-bottom: 0.5rem;
}

.arch-365-storage-card--primary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.arch-365-storage-desc {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin-top: 0.5rem;
  text-align: center;
}

.arch-365-concept-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
  text-align: center;
}

.arch-365-concept-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  text-align: center;
}

.arch-365-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.arch-365-tag--durable {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}

.arch-365-tag--derived {
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.arch-365-tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

/* Arrow columns */
.arch-365-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-365-arrow svg {
  width: 100%;
  height: 16px;
  color: rgba(255, 255, 255, 0.15);
}

/* Divider inside the dark panel */
.arch-365-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: clamp(1.5rem, 3vw, 2rem) 0;
}

/* Key concepts row */
.arch-365-concepts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.arch-365-concepts > div {
  text-align: center;
}

.arch-365-concept-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.arch-365-concept-dot--green {
  background: #34d399;
}
.arch-365-concept-dot--muted {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 820px) {
  .arch-365-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .arch-365-arrow {
    padding: 0.75rem 0;
    transform: rotate(90deg);
  }
  .arch-365-arrow svg {
    width: 40px;
  }
  .arch-365-concepts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* GALLERY — horizontal scroll-snap with optional dots / arrows */
.product-gallery {
  position: relative;
}

.product-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 80%, 720px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem 1.5rem;
  margin: 0 -0.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-gallery-track::-webkit-scrollbar {
  height: 6px;
}
.product-gallery-track::-webkit-scrollbar-track {
  background: transparent;
}
.product-gallery-track::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.product-gallery-slide {
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(15, 118, 110, 0.05) 0%,
      rgba(15, 23, 42, 0.02) 100%
    ),
    var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 36px -20px rgba(15, 23, 42, 0.18);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-slide img,
.product-gallery-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-slide[data-placeholder]::after {
  content: attr(data-placeholder);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
  padding: 0 1.5rem;
  text-align: center;
}

.product-gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.product-gallery-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.product-gallery-arrow:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.04);
}

.product-gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.product-gallery-dots {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.product-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-gallery-dot.is-active {
  background: var(--accent-cyan);
  transform: scale(1.3);
}

/* ZeroMON module galleries: slide height follows the screenshot — no fixed
   16:10 letterbox frame. Mixed heights center vertically in the track. */
.module-panel .product-gallery-track {
  align-items: center;
}
.module-panel .product-gallery-slide {
  aspect-ratio: auto;
  height: auto;
  align-self: center;
  background: transparent;
  border: none;
  box-shadow: none;
  display: block;
  cursor: zoom-in;
}
.module-panel .product-gallery-slide img,
.module-panel .product-gallery-slide video {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 36px -20px rgba(15, 23, 42, 0.18);
  background: #fff;
}

/* Screenshot lightbox — native size, capped to viewport */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-lightbox-dialog {
  position: relative;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.product-lightbox-img {
  display: block;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.45);
  background: #fff;
}
.product-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.35);
  z-index: 1;
}
.product-lightbox-close:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
body.product-lightbox-open {
  overflow: hidden;
}

/* VIDEO EMBED — 16:9 placeholder with play icon overlay */
.product-video {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(
      80% 80% at 50% 50%,
      rgba(15, 118, 110, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.45);
}

.product-video video,
.product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.2s ease;
  pointer-events: none;
}

.product-video:hover .product-video-play {
  transform: scale(1.06);
  background: var(--accent-cyan);
  color: #ffffff;
}

.product-video-play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.product-video-caption {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* SPEC TABLE — clean two-column list of technical attributes */
.product-spec {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
}

.product-spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  min-height: 84px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

@media (max-width: 640px) {
  .product-spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.875rem 0;
    min-height: 0;
    align-items: start;
  }
}

.product-spec-key {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-spec-value {
  color: var(--text-main);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.product-spec-value strong {
  font-weight: 600;
}

.product-spec-value a,
.product-cta-inline {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.3);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.product-spec-value a:hover,
.product-cta-inline:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

/* DATA TABLE — CVE / regulatory matrices on product pages */
.product-table-wrap {
  max-width: 820px;
  margin: clamp(2rem, 3vw, 2.75rem) auto 0;
}

.product-table-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.product-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.product-data-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.product-data-table tbody th,
.product-data-table tbody td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.product-data-table tbody th {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.product-data-table tbody td {
  color: var(--text-main);
}

.product-data-table tbody td:nth-child(3),
.product-data-table tbody td:nth-child(4) {
  white-space: nowrap;
}

.product-table-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .product-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .product-data-table {
    min-width: 640px;
  }
}

/* INTEGRATIONS / LOGOS GRID */
.product-integrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.product-integration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-main);
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.product-integration:hover {
  border-color: rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.03);
}

/* FINAL CTA BLOCK */
.product-cta-block {
  margin: clamp(3rem, 5vw, 5rem) 0;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      60% 100% at 0% 100%,
      rgba(15, 118, 110, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      50% 100% at 100% 0%,
      rgba(190, 24, 93, 0.1) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45);
}

.product-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    40% 60% at 50% 50%,
    rgba(15, 118, 110, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.product-cta-block > * {
  position: relative;
  z-index: 1;
}

.product-cta-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.product-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.product-cta-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 1.75rem;
  max-width: 50ch;
}

.product-cta-block .product-cta-primary {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4);
}
.product-cta-block .product-cta-primary:hover {
  background: var(--accent-cyan);
  color: #ffffff;
}

.product-cta-block .product-cta-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.product-cta-block .product-cta-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(15, 118, 110, 0.15);
}

.product-cta-block .product-cta-download {
  background: rgba(15, 118, 110, 0.22);
  border-color: rgba(45, 212, 191, 0.45);
  color: #5eead4;
}

.product-cta-block .product-cta-download:hover {
  background: rgba(15, 118, 110, 0.35);
  border-color: #5eead4;
  color: #99f6e4;
}

.product-cta-block .product-hero-cta {
  justify-content: center;
}

/* VALUE COLUMNS — typographic 3-up with top accent rule (jobs "Why join") */
.value-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.value-col {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--text-main);
}

.value-col-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.875rem;
}

.value-col-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0 0 0.75rem;
}

.value-col-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .value-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .value-col {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
  }
  .value-col:first-child {
    border-top: 2px solid var(--text-main);
  }
}

/* ZEROPEN STEPS — numbered process rows (replaces feature-card grid) */
.zp-steps {
  list-style: none;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  padding: 0;
  max-width: 820px;
  counter-reset: zp;
}

.zp-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--border-subtle);
}

.zp-step:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.zp-step-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
  color: var(--border-strong, #cbd5e1);
  -webkit-text-stroke: 0;
  transition: color 0.3s ease;
}

.zp-step:hover .zp-step-num {
  color: var(--accent-cyan);
}

.zp-step-body {
  min-width: 0;
}

.zp-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.zp-step-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

@media (prefers-reduced-motion: reduce) {
  .zp-step-num {
    transition-duration: 0.001s;
  }
}

/* ZEROPEN KILL CHAIN — vertical connected timeline */
.zp-chain {
  list-style: none;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: 0;
  max-width: 760px;
}

.zp-chain-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
}

.zp-chain-marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0.125rem;
  min-height: 100%;
}

.zp-chain-marker::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  bottom: -0.625rem;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(15, 118, 110, 0.45) 0%,
    var(--border-subtle) 100%
  );
}

.zp-chain-step:last-child .zp-chain-marker::after {
  display: none;
}

.zp-chain-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 118, 110, 0.35);
  background: var(--card-bg, #fff);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
}

.zp-chain-content {
  padding: 0 0 1.125rem;
  min-width: 0;
}

.zp-chain-step:last-child .zp-chain-content {
  padding-bottom: 0;
}

.zp-chain-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.25rem;
}

.zp-chain-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0;
}

.zp-chain-attck {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
}

.zp-chain-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.zp-killchain-note {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: rgba(15, 118, 110, 0.05);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: var(--radius-md);
}

.zp-killchain-note strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ZeroPEN — hardening checklist (2-col editorial, not chip wrap) */
.zp-checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  max-width: 820px;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.zp-checks li {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-main);
}

.zp-checks li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-cyan);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 721px) {
  .zp-checks li:nth-child(odd) {
    padding-right: clamp(1.25rem, 2.5vw, 2rem);
  }
  .zp-checks li:nth-child(even) {
    padding-left: clamp(1.25rem, 2.5vw, 2rem);
    border-left: 1px solid var(--border-subtle);
  }
}

@media (max-width: 720px) {
  .zp-checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .zp-chain-step {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0 0.75rem;
  }

  .zp-chain-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
  }

  .zp-chain-title {
    flex: none;
    width: 100%;
    font-size: 0.875rem;
  }

  .zp-chain-attck {
    margin-left: 0;
    white-space: normal;
  }

  .zp-chain-content {
    padding-bottom: 1rem;
  }
}

/* ============================================
   LANGUAGE SWITCHER — flag icon trigger (Knowledge Panel style)
   Opens on hover / focus-within (no JS, CSP-safe)
   ============================================ */
.lang-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px 0 9px;
  line-height: 1;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.lang-switch-btn:hover {
  background: var(--bg-secondary);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.lang-switch:focus-within .lang-switch-btn {
  background: var(--bg-secondary);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow:
    0 0 0 1px rgba(15, 118, 110, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06);
}
.lang-switch-btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.lang-switch-flag {
  font-size: 1.0625rem;
  line-height: 1;
  user-select: none;
}
.lang-switch-code {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.lang-switch-btn:hover .lang-switch-code,
.lang-switch:focus-within .lang-switch-code {
  color: var(--text-main);
}

/* invisible bridge so the cursor can cross the gap without closing */
.lang-switch-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  min-width: 188px;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px -16px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
}
.lang-switch:hover .lang-switch-menu,
.lang-switch:focus-within .lang-switch-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 13.5px;
  line-height: 1.2;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.lang-option:hover {
  background: var(--bg-secondary);
}
.lang-option:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: -2px;
}
.lang-option-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lang-option-flag {
  font-size: 1.0625rem;
  line-height: 1;
  flex-shrink: 0;
}
.lang-option-name {
  font-weight: 500;
}
.lang-option-meta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-option-check {
  color: var(--accent-cyan);
}
.lang-option.is-active .lang-option-name {
  font-weight: 600;
  color: var(--accent-cyan);
}

@media (max-width: 1023px) {
  .minimal-nav {
    align-items: center;
    min-height: 3.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .header-logo-wrapper {
    padding-top: 0;
    transform: none;
  }

  .header-menu-wrapper {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:active {
    transform: none;
  }

  header[role="banner"] {
    transition:
      background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      -webkit-backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html.is-scrolled header[role="banner"] {
    background: linear-gradient(
      180deg,
      rgba(241, 244, 248, 0.92) 0%,
      rgba(241, 244, 248, 0.96) 100%
    );
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.18);
  }

  .lang-switch-btn {
    height: 34px;
    padding: 0 9px 0 8px;
    gap: 5px;
  }
  .lang-switch-flag {
    font-size: 1.0625rem;
  }
  .lang-switch-menu {
    right: 0;
  }
}

/* ============================================
   Zero365 installation diagram (from 365backup-paralel)
   ============================================ */

.product-hero-visual.z365-installation {
  container-type: inline-size;
  container-name: z365-installation;
  aspect-ratio: auto;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.z365-pf-canvas {
  --z365-pf-accent: #0f766e;
  --z365-pf-sync: #2563eb;
  --z365-pf-lane: 5.25rem;
  --z365-pf-node: 5.25rem;
  --z365-pf-node-engine: 6rem;
  --z365-pf-link-gap: 0.85rem;
  --z365-pf-edge-inset: 1.25rem;
  --z365-pf-label-offset: 2.35rem;
  --z365-pf-rail-offset: 0.3125rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 15.5rem;
  border-radius: 1.125rem;
  border: 1px solid color-mix(in srgb, var(--text-main) 9%, transparent);
  padding: 2.35rem var(--z365-pf-edge-inset) 1.65rem;
  background: var(--card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 24px 48px -36px rgba(15, 23, 42, 0.28);
}

.z365-pf-canvas__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--text-main) 3%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--text-main) 3%, transparent) 1px,
      transparent 1px
    );
  background-size: 24px 24px;
  mask-image: radial-gradient(
    ellipse 88% 72% at 50% 40%,
    #000 15%,
    transparent 100%
  );
}

.z365-pf-canvas__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(6.5rem, 1fr) var(--z365-pf-node-engine)
    minmax(6.5rem, 1fr) minmax(0, 1fr);
  column-gap: var(--z365-pf-link-gap);
  row-gap: 0;
  align-items: start;
  justify-content: center;
  padding-top: var(--z365-pf-label-offset);
  width: min(100%, 40rem);
  margin-inline: auto;
}

.z365-pf-canvas__cell {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.z365-pf-canvas__cell--engine {
  justify-content: center;
}

.z365-pf-canvas__link-cell {
  min-width: 6rem;
  align-self: start;
}

/* Mobile vertical stack lives AFTER base .z365-pf-* rules (cascade). */
@keyframes z365-pf-capsule-y {
  0% {
    top: 8%;
    opacity: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.82);
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    top: 88%;
    opacity: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

@container z365-installation (min-width: 36rem) {
  .z365-pf-canvas {
    --z365-pf-lane: 5.75rem;
    --z365-pf-node: 5.5rem;
    --z365-pf-node-engine: 6.25rem;
    --z365-pf-link-gap: 1.1rem;
    --z365-pf-edge-inset: 1.75rem;
    padding: 2.5rem var(--z365-pf-edge-inset) 1.85rem;
    min-height: 17rem;
  }

  .z365-pf-canvas__layout {
    width: min(100%, 42rem);
  }
}

/* Conduit */
.z365-pf-conduit {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 4rem;
  flex: 1;
  color: color-mix(in srgb, var(--text-main) 52%, transparent);
}

.z365-pf-conduit--live {
  color: var(--z365-pf-accent);
}
.z365-pf-conduit--vertical {
  width: 4rem;
  min-width: 4rem;
  flex: none;
}

.z365-pf-conduit__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  position: absolute;
  top: calc(-1 * var(--z365-pf-label-offset));
  left: 0;
  right: 0;
  height: var(--z365-pf-label-offset);
  margin-bottom: 0;
  white-space: nowrap;
}

.z365-pf-conduit__stage {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--text-main) 34%, transparent);
}

.z365-pf-conduit__label {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-main) 50%, transparent);
}

.z365-pf-conduit--live .z365-pf-conduit__label {
  color: color-mix(in srgb, var(--z365-pf-accent) 80%, var(--text-main));
}

.z365-pf-conduit__lock {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--z365-pf-accent) 70%, var(--text-main));
}

.z365-pf-conduit__track {
  position: relative;
  height: var(--z365-pf-lane);
  width: 100%;
}

.z365-pf-conduit__track--vertical {
  display: none;
}

.z365-pf-conduit__svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateY(var(--z365-pf-rail-offset));
}

.z365-pf-rail {
  fill: none;
  stroke: color-mix(in srgb, var(--text-main) 8%, transparent);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.z365-pf-beam {
  fill: none;
  stroke-linecap: round;
}

.z365-pf-beam--base {
  stroke-width: 2.5;
  opacity: 0.5;
}
.z365-pf-beam--energy {
  stroke-width: 3;
  opacity: 0.55;
}
.z365-pf-beam--cipher {
  stroke-dasharray: 5 7;
  opacity: 0.72;
}
.z365-pf-beam--cipher.z365-pf-beam--energy {
  opacity: 0.58;
}
.z365-pf-beam--cipher-drift {
  animation: z365-pf-beam-cipher-drift 8s linear infinite;
}

@keyframes z365-pf-capsule-x {
  0% {
    left: 2%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  7% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  88% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: 98%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
}

@keyframes z365-pf-packet-sealed-x {
  0% {
    left: 2%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  7% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  88% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: 98%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
}

@keyframes z365-pf-beam-cipher-drift {
  to {
    stroke-dashoffset: -24;
  }
}

.z365-pf-capsule,
.z365-pf-packet {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.z365-pf-capsule--horizontal {
  top: calc(50% + var(--z365-pf-rail-offset));
  left: 2%;
  transform: translate(-50%, -50%);
  animation: z365-pf-capsule-x cubic-bezier(0.42, 0, 0.18, 1) infinite backwards;
}

.z365-pf-capsule__inner,
.z365-pf-packet__inner {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  border: 1px solid color-mix(in srgb, var(--text-main) 14%, transparent);
  background: var(--card-bg);
  box-shadow:
    0 2px 10px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.z365-pf-capsule__icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
}

.z365-pf-packet--sealed-x {
  top: calc(50% + var(--z365-pf-rail-offset));
  left: 2%;
  transform: translate(-50%, -50%);
  animation: z365-pf-packet-sealed-x cubic-bezier(0.18, 0, 0.42, 1) infinite
    backwards;
}

.z365-pf-packet__inner--sealed {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--z365-pf-accent) 40%, transparent);
}

.z365-pf-packet__icon {
  width: 0.9rem;
  height: 0.9rem;
  color: color-mix(in srgb, var(--z365-pf-accent) 85%, var(--text-main));
}

/* Nodes */
.z365-pf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.z365-pf-node__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--z365-pf-node);
  height: var(--z365-pf-lane);
}

.z365-pf-node__visual:has(.z365-pf-node__frame--emphasis) {
  width: var(--z365-pf-node-engine);
}

.z365-pf-node__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--z365-pf-node);
  height: var(--z365-pf-node);
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--text-main) 11%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--card-bg) 98%, transparent),
    color-mix(in srgb, var(--text-main) 3%, var(--card-bg))
  );
  box-shadow:
    0 20px 44px -30px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@container z365-installation (min-width: 36rem) {
  .z365-pf-node__frame--emphasis {
    width: var(--z365-pf-node-engine);
    height: var(--z365-pf-node-engine);
  }
}

.z365-pf-node__frame--emphasis {
  width: var(--z365-pf-node-engine);
  height: var(--z365-pf-node-engine);
}

.z365-pf-node__port {
  position: absolute;
  z-index: 2;
  height: 0.42rem;
  width: 0.42rem;
  border-radius: 999px;
  border: 2px solid var(--card-bg);
  background: color-mix(in srgb, var(--text-main) 18%, transparent);
}

.z365-pf-node__port--out {
  right: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.z365-pf-node__port--in {
  left: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.z365-pf-node--connected .z365-pf-node__port {
  background: var(--z365-pf-accent);
  box-shadow: 0 0 10px
    color-mix(in srgb, var(--z365-pf-accent) 45%, transparent);
}

.z365-pf-node__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.z365-pf__icon {
  width: 2.125rem;
  height: 2.125rem;
  object-fit: contain;
  display: block;
}

.z365-pf-node__frame--emphasis .z365-pf__icon:not(.z365-pf__icon--brand) {
  width: 2.5rem;
  height: 2.5rem;
}

.z365-pf__icon--brand {
  width: min(4.25rem, 86%);
  height: auto;
  max-height: 2.35rem;
  object-fit: contain;
}

.z365-pf-node__frame--emphasis .z365-pf__icon--brand {
  width: min(4.75rem, 90%);
  max-height: 2.65rem;
}

.z365-pf-node__dot {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--card-bg);
}

.z365-pf-node__dot--connected {
  background: var(--z365-pf-accent);
  box-shadow: 0 0 10px
    color-mix(in srgb, var(--z365-pf-accent) 55%, transparent);
}

.z365-pf-node--connected .z365-pf-node__frame {
  border-color: color-mix(in srgb, var(--z365-pf-accent) 32%, transparent);
}

.z365-pf-node__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.125rem;
  min-height: 2.25rem;
  width: 100%;
}

.z365-pf-node__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.z365-pf-node__title--zero365 span {
  color: #007e00;
}

.z365-pf-node__subtitle {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.z365-pf-node__status {
  margin-top: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--text-main) 52%, transparent);
}

.z365-pf-node__status--connected {
  color: color-mix(in srgb, var(--z365-pf-accent) 75%, var(--text-main));
}

/* Narrow / mobile: MUST follow base .z365-pf-* rules so track size + animation win */
@container z365-installation (max-width: 34rem) {
  .z365-pf-canvas {
    --z365-pf-label-offset: 0px;
    min-height: auto;
    padding: 1.25rem 1rem 1.35rem;
  }

  .z365-pf-canvas__layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    min-width: 0;
    width: 100%;
  }

  .z365-pf-canvas__cell {
    justify-content: center;
  }

  .z365-pf-canvas__link-cell {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0 0.65rem;
    align-self: stretch;
  }

  .z365-pf-conduit {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    max-width: 14rem;
    min-width: 0;
    min-height: 0;
    flex: none;
  }

  .z365-pf-conduit__heading {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    margin: 0;
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    white-space: normal;
    text-align: center;
  }

  .z365-pf-conduit__stage {
    letter-spacing: 0.1em;
  }

  .z365-pf-conduit__label {
    text-align: center;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: none;
    line-height: 1.3;
  }

  .z365-pf-conduit__svg {
    display: none;
  }

  .z365-pf-conduit__track {
    order: 1;
    position: relative;
    width: 2.5rem;
    height: 4.25rem;
    flex: none;
    background: transparent;
    overflow: hidden;
  }

  .z365-pf-conduit__track::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0.4rem;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--z365-pf-accent) 55%, transparent);
  }

  .z365-pf-conduit__track::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.05rem;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid
      color-mix(in srgb, var(--z365-pf-accent) 75%, transparent);
    border-bottom: 2px solid
      color-mix(in srgb, var(--z365-pf-accent) 75%, transparent);
    transform: translateX(-50%) rotate(45deg);
  }

  .z365-pf-capsule--horizontal,
  .z365-pf-packet--sealed-x {
    display: block;
    left: 50%;
    top: 0;
    right: auto;
    animation: z365-pf-capsule-y cubic-bezier(0.42, 0, 0.18, 1) infinite
      backwards;
  }

  .z365-pf-capsule--horizontal:nth-child(n + 4),
  .z365-pf-packet--sealed-x:nth-child(n + 4) {
    display: none;
  }

  .z365-pf-capsule__inner,
  .z365-pf-packet__inner {
    height: 1.65rem;
    width: 1.65rem;
    border-radius: 0.45rem;
  }

  .z365-pf-capsule__icon {
    width: 1rem;
    height: 1rem;
  }

  .z365-pf-packet__icon {
    width: 0.7rem;
    height: 0.7rem;
  }

  .z365-pf-node__port--out,
  .z365-pf-node__port--in {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .z365-pf-node__port--out {
    top: auto;
    bottom: -0.25rem;
  }

  .z365-pf-node__port--in {
    top: -0.25rem;
  }

  .z365-pf-node__visual {
    height: auto;
  }

  .z365-pf-node__title {
    white-space: normal;
  }

  .z365-pf-node__copy {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 540px) {
  .z365-pf-canvas {
    --z365-pf-label-offset: 0px;
    min-height: auto;
    padding: 1.25rem 1rem 1.35rem;
  }

  .z365-pf-canvas__layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    min-width: 0;
    width: 100%;
  }

  .z365-pf-canvas__cell {
    justify-content: center;
  }

  .z365-pf-canvas__link-cell {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0 0.65rem;
    align-self: stretch;
  }

  .z365-pf-conduit {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    max-width: 14rem;
    min-width: 0;
    min-height: 0;
    flex: none;
  }

  .z365-pf-conduit__heading {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    margin: 0;
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    white-space: normal;
    text-align: center;
  }

  .z365-pf-conduit__label {
    text-align: center;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: none;
    line-height: 1.3;
  }

  .z365-pf-conduit__svg {
    display: none;
  }

  .z365-pf-conduit__track {
    order: 1;
    position: relative;
    width: 2.5rem;
    height: 4.25rem;
    flex: none;
    background: transparent;
    overflow: hidden;
  }

  .z365-pf-conduit__track::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0.4rem;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--z365-pf-accent) 55%, transparent);
  }

  .z365-pf-conduit__track::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.05rem;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid
      color-mix(in srgb, var(--z365-pf-accent) 75%, transparent);
    border-bottom: 2px solid
      color-mix(in srgb, var(--z365-pf-accent) 75%, transparent);
    transform: translateX(-50%) rotate(45deg);
  }

  .z365-pf-capsule--horizontal,
  .z365-pf-packet--sealed-x {
    display: block;
    left: 50%;
    top: 0;
    right: auto;
    animation: z365-pf-capsule-y cubic-bezier(0.42, 0, 0.18, 1) infinite
      backwards;
  }

  .z365-pf-capsule--horizontal:nth-child(n + 4),
  .z365-pf-packet--sealed-x:nth-child(n + 4) {
    display: none;
  }

  .z365-pf-capsule__inner,
  .z365-pf-packet__inner {
    height: 1.65rem;
    width: 1.65rem;
    border-radius: 0.45rem;
  }

  .z365-pf-capsule__icon {
    width: 1rem;
    height: 1rem;
  }

  .z365-pf-packet__icon {
    width: 0.7rem;
    height: 0.7rem;
  }

  .z365-pf-node__port--out,
  .z365-pf-node__port--in {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .z365-pf-node__port--out {
    top: auto;
    bottom: -0.25rem;
  }

  .z365-pf-node__port--in {
    top: -0.25rem;
  }

  .z365-pf-node__visual {
    height: auto;
  }

  .z365-pf-node__title {
    white-space: normal;
  }

  .z365-pf-node__copy {
    position: relative;
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .z365-pf-capsule,
  .z365-pf-packet,
  .z365-pf-beam--cipher-drift {
    animation: none;
  }

  .z365-pf-capsule--horizontal {
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .z365-pf-packet--sealed-x {
    left: 24%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  @container z365-installation (max-width: 34rem) {
    .z365-pf-capsule--horizontal,
    .z365-pf-packet--sealed-x {
      top: 50%;
      left: 50%;
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }

  @media (max-width: 540px) {
    .z365-pf-capsule--horizontal,
    .z365-pf-packet--sealed-x {
      top: 50%;
      left: 50%;
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }
}

/* ============================================
   PRODUCT HERO STAGES — dark interactive panels
   ZeroVault · ZeroPEN
   ============================================ */

.product-hero-visual.zv-hero-stage,
.product-hero-visual.zt-hero-stage,
.product-hero-visual.zp-hero-stage {
  container-type: inline-size;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 48px 96px -40px rgba(15, 23, 42, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-hero-visual.zv-hero-stage {
  container-name: zv-hero;
  background: linear-gradient(155deg, #070d18 0%, #0c1a1f 42%, #0f2925 100%);
  border: 1px solid rgba(110, 231, 183, 0.14);
}

.product-hero-visual.zt-hero-stage {
  container-name: zt-hero;
  background: linear-gradient(155deg, #0c0a09 0%, #1c1410 42%, #292017 100%);
  border: 1px solid rgba(251, 191, 36, 0.14);
}

.product-hero-visual.zp-hero-stage {
  container-name: zp-hero;
  background: linear-gradient(155deg, #120a10 0%, #1a0f18 42%, #24121c 100%);
  border: 1px solid rgba(251, 113, 133, 0.14);
}

.zv-hero-stage-grid,
.zt-hero-stage-grid,
.zp-hero-stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    #000 15%,
    transparent 100%
  );
  pointer-events: none;
}

.zv-hero-stage-head,
.zt-hero-stage-head,
.zp-hero-stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(0.65rem, 2cqi, 0.85rem) clamp(0.9rem, 3cqi, 1.15rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.zv-hero-stage-live,
.zt-hero-stage-live,
.zp-hero-stage-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.5625rem, 1.5cqi, 0.625rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.zv-hero-stage-live-dot {
  background: #6ee7b7;
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.8);
}
.zt-hero-stage-live-dot {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}
.zp-hero-stage-live-dot {
  background: #fb7185;
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.8);
}

.zv-hero-stage-live-dot,
.zt-hero-stage-live-dot,
.zp-hero-stage-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: phHeroPulse 2.4s ease-in-out infinite;
}

.zv-hero-stage-endpoint {
  color: rgba(110, 231, 183, 0.65);
}
.zt-hero-stage-endpoint {
  color: rgba(251, 191, 36, 0.65);
}
.zp-hero-stage-endpoint {
  color: rgba(251, 113, 133, 0.65);
}

.zv-hero-stage-endpoint,
.zt-hero-stage-endpoint,
.zp-hero-stage-endpoint {
  font-family: var(--font-mono);
  font-size: clamp(0.5625rem, 1.5cqi, 0.6875rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.zv-hero-stage-arena,
.zt-hero-stage-arena,
.zp-hero-stage-arena {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}

.zv-hero-stage-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(15, 118, 110, 0.5) 0%,
    transparent 70%
  );
  animation: phHeroGlow 5s ease-in-out infinite;
}

.zt-hero-stage-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(180, 83, 9, 0.45) 0%,
    transparent 70%
  );
  animation: phHeroGlow 5s ease-in-out infinite;
}

.zp-hero-stage-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(190, 24, 93, 0.4) 0%,
    transparent 70%
  );
  animation: phHeroGlow 5s ease-in-out infinite;
}

.zv-hero-stage-glow,
.zt-hero-stage-glow,
.zp-hero-stage-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  filter: blur(32px);
  pointer-events: none;
}

.zv-hero-stage-orbit,
.zt-hero-stage-orbit,
.zp-hero-stage-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.zv-hero-stage-orbit--outer,
.zt-hero-stage-orbit--outer,
.zp-hero-stage-orbit--outer {
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: phHeroOrbit 28s linear infinite;
}

.zv-hero-stage-orbit--inner,
.zt-hero-stage-orbit--inner,
.zp-hero-stage-orbit--inner {
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: phHeroOrbit 20s linear infinite reverse;
}

.zv-hero-stage-node,
.zt-hero-stage-node,
.zp-hero-stage-node {
  position: absolute;
  z-index: 3;
  font-size: clamp(0.5rem, 1.35cqi, 0.5625rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

[class*="-hero-stage-node--tl"] {
  top: 12%;
  left: 8%;
}
[class*="-hero-stage-node--tr"] {
  top: 14%;
  right: 8%;
}
[class*="-hero-stage-node--bl"] {
  bottom: 14%;
  left: 10%;
}
[class*="-hero-stage-node--br"] {
  bottom: 12%;
  right: 8%;
}

.zv-hero-stage-node--tr,
.zv-hero-stage-node--bl,
.zt-hero-stage-node--tr,
.zt-hero-stage-node--bl,
.zp-hero-stage-node--br {
  color: #f8fafc;
}

.zv-hero-stage-node--tr,
.zv-hero-stage-node--bl {
  border-color: rgba(110, 231, 183, 0.3);
  color: #a7f3d0;
}
.zt-hero-stage-node--tr,
.zt-hero-stage-node--bl {
  border-color: rgba(251, 191, 36, 0.3);
  color: #fde68a;
}
.zp-hero-stage-node--br {
  border-color: rgba(110, 231, 183, 0.35);
  color: #a7f3d0;
}

.zv-hero-stack,
.zt-hero-art,
.zp-hero-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(84%, 320px);
  margin: 0;
  aspect-ratio: 320 / 250;
}

.zv-hero-stack-svg,
.zt-hero-art-svg,
.zp-hero-art-svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: phHeroFloat 6s ease-in-out infinite;
}

.zv-hero-stack-top {
  filter: drop-shadow(0 10px 22px rgba(15, 118, 110, 0.55));
}

.zv-hero-stage-foot,
.zt-hero-stage-foot,
.zp-hero-stage-foot {
  position: relative;
  z-index: 2;
  padding: clamp(0.75rem, 2.2cqi, 1rem) clamp(1rem, 3cqi, 1.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.zv-hero-stage-durability,
.zt-hero-stage-stat,
.zp-hero-stage-stat {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 3cqi, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #f8fafc;
}

.zv-hero-stage-durability span,
.zt-hero-stage-stat span,
.zp-hero-stage-stat span {
  color: rgba(255, 255, 255, 0.45);
}

.zv-hero-stage-footnote,
.zt-hero-stage-footnote,
.zp-hero-stage-footnote {
  margin: 0.3rem 0 0;
  font-size: clamp(0.5625rem, 1.5cqi, 0.625rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.product-page--zerovault .product-stats--zv {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--border-subtle);
}

@keyframes phHeroOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes phHeroGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes phHeroPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

@keyframes phHeroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@container zv-hero (max-width: 340px),
@container zt-hero (max-width: 340px),
@container zp-hero (max-width: 340px) {
  [class*="-hero-stage-node"] {
    font-size: 0.5rem;
    padding: 0.22rem 0.4rem;
  }

  [class*="-hero-stage-node--tl"] {
    top: 8%;
    left: 4%;
  }
  [class*="-hero-stage-node--tr"] {
    top: 10%;
    right: 4%;
  }
  [class*="-hero-stage-node--bl"] {
    bottom: 10%;
    left: 5%;
  }
  [class*="-hero-stage-node--br"] {
    bottom: 8%;
    right: 4%;
  }

  [class*="-hero-stage-endpoint"] {
    display: none;
  }
}

/* ============================================
   ZeroVault — page sections & interactive map
   ============================================ */

.product-page--zerovault .product-section {
  padding: clamp(2.75rem, 4.5vw, 4.5rem) 0;
}

.product-page--zerovault .product-section + .product-section {
  border-top: 1px solid var(--border-subtle);
}

.zv-section--usecases {
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.03) 0%,
    transparent 100%
  );
}

/* Immutability — light editorial pillar cards */
.zv-immutable-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
  max-width: 1080px;
  margin: 0 auto;
}

.zv-immutable-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
  padding: clamp(1.35rem, 2.2vw, 1.65rem);
  padding-top: clamp(1.5rem, 2.4vw, 1.85rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.zv-immutable-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.85;
}

.zv-immutable-card:hover {
  border-color: rgba(15, 118, 110, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -26px rgba(15, 23, 42, 0.16);
}

.zv-immutable-card__index {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.zv-immutable-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--accent-cyan);
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.12) 0%,
    rgba(15, 118, 110, 0.04) 100%
  );
}

.zv-immutable-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.zv-immutable-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
}

.zv-immutable-card__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.zv-immutable-card__body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.28);
  text-underline-offset: 0.14em;
}

.zv-immutable-card__body a:hover {
  color: #0e7490;
}

.zv-immutable-card__tag {
  display: inline-flex;
  align-self: start;
  margin-top: clamp(1rem, 2vw, 1.15rem);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.zv-usecases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.zv-usecase {
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.zv-usecase:hover {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
}

.zv-usecase-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.25;
}

.zv-usecase-body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Regions + map */
.zv-map-section .product-section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.zv-region-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.zv-region-group {
  padding: clamp(0.85rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.15rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

.zv-region-group-label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.zv-region-cities {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.zv-map-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.18);
}

.zv-map {
  width: 100%;
  height: clamp(280px, 42vw, 420px);
  background: #eef2f7;
  z-index: 0;
}

.zv-map .leaflet-control-zoom {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.35);
}

.zv-map .leaflet-control-zoom a {
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  color: var(--text-main) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.zv-map .leaflet-control-zoom a:hover {
  background: #f8fafc !important;
  color: var(--accent-cyan) !important;
}

.zv-map .leaflet-control-zoom-in {
  border-radius: 10px 10px 0 0 !important;
}

.zv-map .leaflet-control-zoom-out {
  border-bottom: none !important;
  border-radius: 0 0 10px 10px !important;
}

/* Map markers — city labels on map */
.zv-map-marker-wrap {
  background: transparent !important;
  border: none !important;
}

.zv-map-marker {
  position: relative;
  width: 0;
  height: 0;
}

.zv-map-pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px rgba(15, 118, 110, 0.35),
    0 4px 10px rgba(15, 118, 110, 0.35);
}

.zv-map-chip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(
    calc(-50% + var(--dx, 0px)),
    calc(-50% + var(--dy, 0px))
  );
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 118, 110, 0.22);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.35);
  white-space: nowrap;
  pointer-events: none;
}

.zv-map-chip-text {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.zv-map-chip--left {
  transform: translate(
    calc(-100% - 10px + var(--dx, 0px)),
    calc(-50% + var(--dy, 0px))
  );
}

.zv-map-chip--right {
  transform: translate(
    calc(10px + var(--dx, 0px)),
    calc(-50% + var(--dy, 0px))
  );
}

.zv-map-chip--top {
  transform: translate(
    calc(-50% + var(--dx, 0px)),
    calc(-100% - 10px + var(--dy, 0px))
  );
}

.zv-map-chip--bottom {
  transform: translate(
    calc(-50% + var(--dx, 0px)),
    calc(10px + var(--dy, 0px))
  );
}

.zv-map-chip--top-br {
  transform: translate(
    calc(-100% - 6px + var(--dx, 0px)),
    calc(-100% - 8px + var(--dy, 0px))
  );
}

/* Compatible clients */
.zv-clients {
  display: grid;
  gap: clamp(0.85rem, 1.5vw, 1rem);
}

.zv-clients-group {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.1rem, 2.2vw, 1.35rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

.zv-clients-label {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.zv-clients-list {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Platform features */
.zv-section--platform {
  background: var(--bg-section);
}

.zv-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.zv-platform-item {
  padding: clamp(1rem, 1.8vw, 1.2rem);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

.zv-platform-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.zv-platform-body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Web console */
.zv-console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.zv-console-card {
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #070d18 0%, #0c1a1f 42%, #0f2925 100%);
  border: 1px solid rgba(110, 231, 183, 0.16);
  color: #f8fafc;
}

.zv-console-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ecfdf5;
}

.zv-console-body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.68);
}

/* Specifications */
.zv-spec-section .product-section-head {
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.zv-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
}

.zv-spec-item {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 0.75rem 1rem;
  padding: clamp(0.85rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--border-subtle);
}

.zv-spec-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.zv-spec-item:nth-child(odd) {
  border-right: 1px solid var(--border-subtle);
}

.zv-spec-term {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.zv-spec-detail {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Regulatory */
.zv-reg-section .product-spec {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.zv-reg-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zv-reg-certs li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 1100px) {
  .zv-immutable-strip {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .zv-usecases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zv-platform-grid,
  .zv-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .zv-usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zv-region-list {
    grid-template-columns: 1fr;
  }

  .zv-spec-list {
    grid-template-columns: 1fr;
  }

  .zv-spec-item:nth-child(odd) {
    border-right: none;
  }

  .zv-spec-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .zv-spec-item:last-child {
    border-bottom: none;
  }

  .zv-map {
    height: clamp(240px, 58vw, 320px);
  }

  .zv-map-chip-text {
    font-size: 0.5625rem;
  }
}

@media (max-width: 520px) {
  .zv-usecases,
  .zv-platform-grid,
  .zv-console-grid {
    grid-template-columns: 1fr;
  }

  .zv-spec-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
