/* AI Data Shield — shared styles (prototype-matched aesthetic) */

:root {
  --bg: #0a0e14;
  --bg-black: #05070a;
  --bg-alt: #10151d;
  --card: #151b25;
  --border: #232b38;
  --text: #e6ebf2;
  --muted: #8b96a8;
  --accent: #8fc7a8;
  --accent-hover: #6ba586;
  --sage-start: #a8d9bd;
  --sage-end: #7fb99a;
  --danger: #e05050;
  --teal: #5ec4c4;
  --font: -apple-system, Inter, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  --gap: 1.5rem;
  --max: 1120px;
  --narrow: 720px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

p { color: var(--muted); }

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

.narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.features-col {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* —— Header / Nav —— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  height: var(--header-h);
}

.site-header.is-solid {
  position: sticky;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-sub {
  font-size: 0.62rem;
  color: #8a9a8e;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(230, 235, 242, 0.85);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.15s;
}

.site-nav a:hover { color: #fff; }

.site-nav a.is-active { color: var(--accent); }

/* Header CTA — scoped so global button styles don't break it */
.site-nav a.nav-cta {
  background: var(--accent);
  color: #0a0e14 !important;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  margin-left: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav a.nav-cta:hover {
  background: var(--accent-hover);
  color: #0a0e14 !important;
}

.site-nav a.nav-cta.is-active {
  background: var(--accent-hover);
  color: #0a0e14 !important;
}


/* —— Nav dropdowns (Enterprise / Education) —— */
.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item.has-dropdown > .nav-parent {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(230, 235, 242, 0.85);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.15s;
}

.nav-item.has-dropdown > .nav-parent:hover,
.nav-item.has-dropdown.is-open > .nav-parent,
.nav-item.has-dropdown:hover > .nav-parent {
  color: #fff;
}

.nav-item.has-dropdown.is-active > .nav-parent {
  color: var(--accent);
}

.nav-item-top {
  display: flex;
  align-items: center;
}

.nav-submenu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: rgba(230, 235, 242, 0.7);
  font-size: 0.75rem;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
  line-height: 1;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 12.5rem;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.nav-dropdown a {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(230, 235, 242, 0.85);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  color: #fff;
  background: rgba(143, 199, 168, 0.12);
}

.nav-dropdown a.is-active {
  color: var(--accent);
}

/* Desktop hover open */
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-dropdown:hover > .nav-dropdown,
  .nav-item.has-dropdown:focus-within > .nav-dropdown {
    display: block;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.95rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0e14;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0a0e14;
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 0.85rem;
  min-width: 240px;
}

.btn-wide {
  padding: 1.1rem 3rem;
  font-size: 0.85rem;
  min-width: min(420px, 90vw);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* —— Status labels —— */
.status-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  display: block;
}

/* —— HERO (cinematic) —— */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
  background: #020406;
}

.hero-cinematic .hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-cinematic .hero-visual img,
.hero-cinematic .hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.85;
}

.hero-cinematic .hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, transparent 0%, rgba(2,4,6,0.35) 55%, rgba(2,4,6,0.85) 100%),
    linear-gradient(180deg, rgba(2,4,6,0.55) 0%, transparent 25%, transparent 70%, rgba(2,4,6,0.9) 100%);
}

.hero-cinematic .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-cinematic h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.hero-cinematic h1 .line { display: block; }



.hero-subhead {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Demo activity marquee (illustrative — not live customer data) */
.demo-ticker {
  margin: 2rem auto 0;
  max-width: min(720px, 100%);
  width: 100%;
}

.demo-ticker-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px rgba(224, 80, 80, 0.75);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.demo-ticker-track {
  display: flex;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.demo-ticker-strip {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  animation: demo-marquee 22s linear infinite;
  will-change: transform;
}

.demo-item {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  letter-spacing: 0.04em;
  color: rgba(230, 235, 242, 0.78);
}

.demo-item .tag-blocked,
.demo-ticker .tag-blocked {
  color: var(--danger);
  font-weight: 700;
}

.demo-item .tag-allowed,
.demo-ticker .tag-allowed {
  color: var(--accent);
  font-weight: 700;
}

@keyframes demo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-ticker-strip { animation: none; }
  .live-dot { animation: none; }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
  background: var(--bg-black);
}

.section-alt {
  background: var(--bg);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.section-header.centered {
  max-width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2.75rem;
}
.section-header.centered p {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-black);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; max-width: 560px; }

/* —— Feature stack (vertical cards) —— */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-stack .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
}

.feature-stack .card .status-label {
  display: block;
  margin-bottom: 0.55rem;
}

.feature-stack .card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  color: #fff;
}

.feature-stack .card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* —— Generic card grids (inner pages) —— */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: stretch;
}

.card {
  flex: 1 1 calc(33.333% - var(--gap));
  min-width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.card-grid--2 .card {
  flex: 1 1 calc(50% - var(--gap));
  min-width: 280px;
}

.card h3 { margin: 0.5rem 0 0.75rem; }
.card p { font-size: 0.95rem; flex: 1; }

/* —— Steps —— */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: stretch;
}

.step {
  flex: 1 1 calc(33.333% - var(--gap));
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

.steps--4 .step {
  flex: 1 1 calc(25% - var(--gap));
  min-width: 200px;
}

/* —— Closing CTA band (3-column) —— */
.cta-trio {
  padding: 5rem 0 4rem;
  background: #000;
  border-top: 1px solid var(--border);
}

.cta-trio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.cta-trio-left,
.cta-trio-center,
.cta-trio-right {
  flex: 1 1 280px;
  min-width: 240px;
}

.cta-trio-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.cta-trio-center h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-trio-center p {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto;
}

.status-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.status-mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.status-mini .status-label {
  display: block;
  margin-bottom: 0.35rem;
}

.status-mini .status-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.what-you-get {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  height: 100%;
}

.what-you-get .status-label {
  display: block;
  margin-bottom: 1.1rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checklist li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.cta-trio-action {
  text-align: center;
}

/* —— Problem / how-it-works home blocks —— */
.problem-block {
  padding: 4.5rem 0;
  background: var(--bg);
  text-align: center;
}
.problem-block h2 { margin-bottom: 1rem; }
.problem-block p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.flow-home {
  padding: 4.5rem 0;
  background: var(--bg-black);
}

/* —— About —— */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.about-content .prose {
  flex: 1 1 400px;
  min-width: 280px;
}
.about-content .prose p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.about-aside {
  flex: 1 1 280px;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.about-aside h3 { margin-bottom: 0.75rem; }
.about-aside p { font-size: 0.95rem; }

/* —— Why it works —— */
.gatekeeper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.gatekeeper-visual {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  color: var(--accent);
}
.gatekeeper-text { flex: 1 1 300px; }
.gatekeeper-text h3 { margin-bottom: 0.5rem; }

.flow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.flow-chain .arrow { color: var(--muted); }

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pillar {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg-black);
}

/* —— Privacy —— */
.privacy-content { padding: 3rem 0 4rem; }
.privacy-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.privacy-content p,
.privacy-content li {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.privacy-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.privacy-content li { margin-bottom: 0.5rem; }
.privacy-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* —— Contact form —— */
.form-wrap { max-width: 560px; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input.has-error,
.form-group select.has-error,
.form-group textarea.has-error {
  border-color: var(--danger);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b96a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.4rem;
}

.form-success {
  background: rgba(143, 199, 168, 0.12);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-success[hidden] { display: none; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* —— Simple CTA band (inner pages) —— */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-black);
  border-top: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p {
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand .brand-name { font-size: 0.95rem; }
.footer-brand .brand-sub { margin-top: 0.15rem; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 7.5rem;
}

.footer-col-label {
  margin: 0 0 0.25rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(230, 235, 242, 0.9);
}

.footer-col a {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-col a:hover { color: var(--accent); }

.footer-meta {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .cta-trio-grid {
    flex-direction: column;
  }
  .cta-trio-left,
  .cta-trio-center,
  .cta-trio-right {
    flex: 1 1 100%;
  }
  .cta-trio-center {
    order: -1;
    padding: 0 0 1rem;
  }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-item.has-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-item-top {
    width: 100%;
  }
  .nav-item.has-dropdown > .nav-item-top > .nav-parent {
    flex: 1;
  }
  .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    box-shadow: none;
    background: var(--bg-alt);
  }
  .nav-item.has-dropdown.is-open > .nav-dropdown {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
  }


  .site-nav a.nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero-cinematic {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3.5rem;
  }
  .hero-cinematic .hero-visual { opacity: 0.7; }

  .card { flex: 1 1 100%; }
  .steps .step,
  .steps--4 .step { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .section { padding: 3.25rem 0; }
  .cta-trio { padding: 3.25rem 0 3rem; }
}

/* Hero bokeh particles */
.hero-bokeh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-bokeh span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,196,196,0.45) 0%, rgba(94,196,196,0) 70%);
}
.hero-bokeh span:nth-child(1) { width: 120px; height: 120px; left: 8%; top: 22%; opacity: 0.35; }
.hero-bokeh span:nth-child(2) { width: 80px; height: 80px; right: 12%; top: 18%; opacity: 0.3; }
.hero-bokeh span:nth-child(3) { width: 40px; height: 40px; left: 22%; top: 48%; opacity: 0.4; }
.hero-bokeh span:nth-child(4) { width: 60px; height: 60px; right: 18%; top: 42%; opacity: 0.35; }
.hero-bokeh span:nth-child(5) { width: 28px; height: 28px; left: 15%; bottom: 28%; opacity: 0.45; }
.hero-bokeh span:nth-child(6) { width: 90px; height: 90px; right: 8%; bottom: 22%; opacity: 0.25; }
.hero-bokeh span:nth-child(7) { width: 18px; height: 18px; left: 40%; top: 20%; opacity: 0.5; }
.hero-bokeh span:nth-child(8) { width: 22px; height: 22px; right: 35%; top: 30%; opacity: 0.4; }
.hero-bokeh span:nth-child(9) { width: 50px; height: 50px; left: 5%; top: 60%; opacity: 0.28; }
.hero-bokeh span:nth-child(10) { width: 36px; height: 36px; right: 28%; bottom: 35%; opacity: 0.38; }

.contact-email {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-email a {
  color: var(--accent);
  text-decoration: none;
}
.contact-email a:hover { color: var(--accent-hover); text-decoration: underline; }

/* —— Detail / deep-feature pages —— */
.detail-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem 1.9rem;
  margin-bottom: 1.25rem;
}
.detail-block .status-label {
  display: block;
  margin-bottom: 0.55rem;
}
.detail-block h2,
.detail-block h3 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 1.25rem;
}
.detail-block .prose p {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}
.detail-block .prose p:last-child { margin-bottom: 0; }
.detail-block .prose strong {
  color: var(--text);
  font-weight: 600;
}

.page-hero .page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}
.page-hero p.lead-wide { max-width: 640px; }

.cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

