/* nocbox.ai component styles
   Hung on tokens.css + base.css.
   Mobile-first responsive. WCAG 2.2 AA. */

/* =============================================================
   NAVIGATION
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) var(--container-pad);
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Wordmark: ® sized down and lifted so it reads as a mark, not a character */
.wordmark-tm {
  font-size: 0.42em;
  font-weight: 500;
  top: -0.65em;
  margin-left: 0.06em;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
}

.site-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
  min-height: var(--touch-target-min);
}

.site-nav-logo img {
  height: 44px;
  width: auto;
}

.site-nav-logo:hover {
  color: var(--fg);
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
}

.site-nav-links a {
  padding: var(--space-2) var(--space-4);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.site-nav-links a:hover {
  color: var(--fg);
  background: var(--border);
}

.site-nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav-cta .btn-secondary {
  display: inline-flex;
  background: var(--nocblue);
  color: #fff;
  border-color: var(--nocblue-light);
}

.site-nav-cta .btn-secondary:hover {
  background: #24618d;
  border-color: var(--nocblue-light);
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
  }
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  color: var(--fg);
  border-radius: var(--radius-md);
}

.nav-toggle:hover { background: var(--border); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* Mobile drawer (toggled via JS) */
.mobile-menu {
  display: none;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--container-pad);
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  color: var(--fg-muted);
  font-weight: 500;
  border-radius: var(--radius-md);
  min-height: var(--touch-target-min);
}

.mobile-menu a:hover {
  background: var(--border);
  color: var(--fg);
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  min-height: var(--touch-target-min);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--nocblack);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--nocblack);
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--fg);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  padding-inline: var(--space-3);
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-ghost::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.btn-ghost:hover::after {
  transform: translateX(3px);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding-block: var(--space-6) var(--space-10);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-block: var(--space-8) var(--space-12);
  }
}

.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-8);
  }
}

.hero-content { max-width: 620px; }

/* Product mark: small, quiet kicker above the statement */
.hero-title-product {
  display: block;
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.hero-title-os { color: var(--nocgold); }

.hero-title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: var(--space-6);
}

.hero-title-accent {
  color: var(--accent);
  display: block;
  font-weight: 500;
  font-size: 0.4em;
  margin-top: var(--space-4);
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}

.hero-lede {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--fg-muted);
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-figure {
  position: relative;
  width: 100%;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* Full-width console band under the hero */
.console-band {
  padding-block-start: 0;
}

.console-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* nocOS screenshot slider */
.slider {
  max-width: 1080px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.slider-track:focus-visible {
  outline: 2px solid var(--nocgold);
  outline-offset: 4px;
}

.slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: contain;
  background-color: var(--nocsidebar, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.slider-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--nocsidebar, #111);
  color: var(--nocblue-light);
  border: 1px solid var(--nocblue-light);
  border-radius: 50%;
  cursor: pointer;
}

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

.slider-btn:focus-visible {
  outline: 2px solid var(--nocgold);
  outline-offset: 2px;
}

.slider-btn svg { width: 20px; height: 20px; }

.slider-dots { display: flex; }

.slider-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.slider-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.slider-dot[aria-current="true"]::after {
  background: var(--nocgold);
  border-color: var(--nocgold);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--nocgold);
  outline-offset: 2px;
}

/* nocOS gallery captions */
.nocos-caption {
  margin-top: var(--space-3);
  font-size: var(--text-sm, 0.875rem);
  color: var(--fg-dim);
  text-align: center;
}

/* Back-to-top button */
.to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--nocsidebar, #111);
  color: var(--nocblue-light);
  border: 1px solid var(--nocblue-light);
  border-radius: 50%;
  cursor: pointer;
  z-index: 90;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top:hover { opacity: 1; transform: translateY(-2px); }

.to-top:focus-visible {
  outline: 2px solid var(--nocgold);
  outline-offset: 2px;
}

.to-top svg { width: 22px; height: 22px; }

/* Footnote reference marks */
.fn-ref {
  color: var(--nocblue-light);
  text-decoration: none;
  font-weight: 600;
  padding-inline: 0.15em;
}

.fn-ref:hover,
.fn-ref:focus-visible {
  text-decoration: underline;
}

/* Hardware requirements note */
.hardware-notes {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  max-width: 820px;
  margin-inline: auto;
}

.hardware-notes-title {
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-2);
}

.hardware-notes p {
  font-size: var(--text-sm, 0.875rem);
  line-height: var(--leading-relaxed);
  color: var(--fg-dim);
}

/* Platform render below the capability grid */
.capability-figure {
  max-width: 1100px;
  margin: var(--space-12) auto 0;
}

.capability-figure img {
  width: 100%;
  height: auto;
}

/* Single wide product figure in the nocOS section */
.nocos-figure {
  max-width: 880px;
  margin: 0 auto;
}

.nocos-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Subtle gradient orb behind hero image for depth */
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -10% -5% -10% -5%;
  background:
    radial-gradient(circle at 65% 45%, rgba(255, 209, 0, 0.08), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(27, 79, 114, 0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Trust strip */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
  color: var(--fg-dim);
  text-transform: uppercase;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* =============================================================
   CAPABILITY GRID
   ============================================================= */
.capability-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.capability-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.capability-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.capability-card-icon {
  color: var(--nocblue-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 209, 0, 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

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

.capability-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--fg);
}

.capability-card-desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
}

/* =============================================================
   NOCSTORE SECTION
   ============================================================= */
.nocstore {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
}

.nocstore-block {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .nocstore-block {
    grid-template-columns: 1fr 1fr;
  }
}

.nocstore-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.nocstore-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.nocstore-tile-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-2);
}

.nocstore-tile-title {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-1);
}

.nocstore-tile-meta {
  font-size: var(--text-xs);
  color: var(--fg-dim);
}

/* =============================================================
   TIER CARDS
   ============================================================= */
.tier-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.tier-card[data-featured="true"] {
  border-color: var(--accent);
  position: relative;
}

.tier-card[data-featured="true"]::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: var(--space-8);
  background: var(--accent);
  color: var(--nocblack);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.tier-card-name {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--fg-muted);
  margin-bottom: var(--space-2);
}

.tier-card-tagline {
  font-size: var(--text-xs);
  color: var(--fg-dim);
  margin-bottom: var(--space-4);
}

.tier-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.tier-card-price-amount {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
}

.tier-card-price-period {
  font-size: var(--text-sm);
  color: var(--fg-dim);
}

.tier-card-features {
  flex: 1;
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tier-card-features li {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.tier-card-features li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-card-cta {
  width: 100%;
}

/* =============================================================
   SECURITY POSTURE
   ============================================================= */
.security-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .security-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.security-points {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}

.security-point {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
}

.security-point-icon {
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.security-point-icon svg {
  width: 18px;
  height: 18px;
}

.security-point-title {
  font-weight: 600;
  color: var(--fg);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.security-point-desc {
  color: var(--fg-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
}

/* =============================================================
   CLOUD CONNECTIVITY
   ============================================================= */
.cloud-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: stretch;
}

.cloud-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.cloud-chip-tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--border);
  color: var(--fg-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.cloud-chip-tag[data-tier="enterprise"] {
  background: rgba(255, 209, 0, 0.15);
  color: var(--accent);
}

/* =============================================================
   WHY NOCBOX — DIFFERENTIATORS
   ============================================================= */
.diff-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.diff-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: left;
  transition: border-color var(--transition-base);
}

.diff-card:hover {
  border-color: var(--accent);
}

.diff-card-icon {
  color: var(--accent);
  margin-bottom: var(--space-3);
}

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

.diff-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: var(--space-1);
}

.diff-card-desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-snug);
}

.diff-card-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-dim);
  margin-top: var(--space-2);
  letter-spacing: var(--tracking-wide);
}

/* =============================================================
   CHARTER MEMBER
   ============================================================= */
.charter {
  background: linear-gradient(135deg, rgba(255, 209, 0, 0.08), rgba(27, 79, 114, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
}

@media (min-width: 768px) {
  .charter {
    padding: var(--space-16);
  }
}

.charter-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.charter-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-4);
  font-weight: 800;
}

.charter-lede {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  margin-inline: auto;
  margin-bottom: var(--space-8);
  max-width: 620px;
}

.charter-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* =============================================================
   ROADMAP SIGNAL
   ============================================================= */
.roadmap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

@media (min-width: 768px) {
  .roadmap {
    padding: var(--space-10);
  }
}

.roadmap-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-item-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.roadmap-item[data-status="shipping"] .roadmap-item-tag { color: var(--success); }
.roadmap-item[data-status="coming"]   .roadmap-item-tag { color: var(--warning); }
.roadmap-item[data-status="planned"]  .roadmap-item-tag { color: var(--fg-dim); }

.roadmap-item-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.roadmap-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.roadmap-item p {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-block: var(--space-16) var(--space-8);
  margin-top: var(--space-24);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: var(--space-8);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 280px;
}

.footer-brand-logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.footer-column h4 {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

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

.footer-credentials {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--fg-dim);
  letter-spacing: var(--tracking-wide);
}

/* =============================================================
   NOCOS SCREENSHOTS (placeholder until real images land)
   ============================================================= */
.nocos-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nocos-shot {
  margin: 0;
}

.nocos-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* Placeholder frame — looks intentional, not broken */
.nocos-shot-placeholder {
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 209, 0, 0.04), rgba(27, 79, 114, 0.04)),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-6);
}

.nocos-shot-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
}

.nocos-shot-note {
  font-size: var(--text-sm);
  color: var(--fg-dim);
}

/* =============================================================
   OWNERSHIP BLOCK ("What we can't do" — within Security section)
   ============================================================= */
.ownership-block {
  margin-top: var(--space-12);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 209, 0, 0.04), rgba(27, 79, 114, 0.05));
}

@media (min-width: 768px) {
  .ownership-block { padding: var(--space-10); }
}

.ownership-head {
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.ownership-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.ownership-lede {
  color: var(--fg-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.ownership-list {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ownership-list {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-8);
  }
}

.ownership-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.ownership-mark {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.ownership-mark svg {
  width: 22px;
  height: 22px;
}

.ownership-item-title {
  display: block;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: var(--space-1);
}

.ownership-item-desc {
  display: block;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-snug);
}

/* Tier scale-path marker */
.tier-path {
  text-align: center;
  margin-top: var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  color: var(--fg-dim);
}

/* =============================================================
   INTERIOR PAGES (about; reusable for security, faq, etc.)
   ============================================================= */

/* Centered interior page hero */
.page-hero {
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { max-width: 840px; }
.page-hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-4) 0 var(--space-6);
}
.page-hero-lede {
  font-size: var(--text-xl);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
}

/* Prose / story column */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--fg-muted);
  margin-bottom: var(--space-6);
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }

/* Credential panel (patent) */
.credential {
  max-width: 820px;
  margin: var(--space-12) auto 0;
  padding: var(--space-8);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.credential-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.credential-title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}
.credential-desc {
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
}
.credential-meta {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-dim);
}

/* Founder block */
.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 700px) {
  .founder { grid-template-columns: 220px 1fr; gap: var(--space-10); }
}
.founder-photo {
  aspect-ratio: 1;
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.founder-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.founder-role {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  color: var(--accent);
  margin-bottom: var(--space-5);
}
.founder-bio p:not(.founder-name):not(.founder-role) {
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-20) 0;
  border-top: 1px solid var(--border);
}
.cta-band .container { max-width: 720px; }
.cta-band-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}
.cta-band-lede {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}
.cta-band-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band-aside {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--fg-dim);
}

/* PAGE ACTIONS (download, contact) */
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-8); }
.page-hero-aside { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--fg-dim); }
.card-action { margin-top: var(--space-5); }
.footer-column h3 { font-size: var(--text-xs); font-family: var(--font-mono); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--fg-dim); margin-bottom: var(--space-4); font-weight: 600; }

/* PAGE HERO FIXES */
.page-hero .hero-trust { justify-content: center; margin-top: var(--space-8); }
.page-hero-title { text-wrap: balance; }

/* FOOTER TRIM */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

/* NAV PORTAL LABEL: quiet label beside the Sign in button (wide screens only) */
.nav-cta-label {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
}
.nav-cta-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--nocblue-light);
}
@media (min-width: 1024px) {
  .nav-cta-label { display: inline-flex; }
}

/* LEGAL PAGES (privacy, terms, accessibility) */
.legal { max-width: 720px; margin: 0 auto; }
.legal-meta { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--fg-dim); margin-bottom: var(--space-8); }
.legal h2 { font-size: var(--text-2xl); font-weight: 700; margin: var(--space-10) 0 var(--space-3); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--fg-muted); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.legal ul { padding-left: var(--space-6); list-style: disc; margin-bottom: var(--space-4); }
.legal a { color: var(--link); text-decoration: underline; }

/* REPLACES FORMER INLINE STYLES (CSP-friendly) */
.section-lede-spaced { margin-top: var(--space-4); }
.security-link-row { margin-top: var(--space-6); }
.roadmap-title { font-size: var(--text-2xl); }
@media (min-width: 768px) {
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Edge AIO term */
.term-aio { color: var(--nocgold); font-weight: 600; }
