/* NTH component styles — header is in site.css, this is for the rest */

/* Integration ribbon */
.integration-ribbon {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--nth-border);
  border-bottom: 1px solid var(--nth-border);
  background: var(--nth-cream);
  position: relative;
}
.integration-ribbon--dark {
  background: rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.06);
}
.integration-ribbon__label {
  padding-left: var(--gutter);
  white-space: nowrap;
}
.integration-ribbon__track-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.integration-ribbon__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ribbon-scroll 56s linear infinite;
}
.integration-ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nth-ink-muted);
  font-family: var(--font-body);
}
.integration-ribbon--dark .integration-ribbon__item { color: rgba(255,255,255,0.7); }
.integration-ribbon__dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--nth-orange), var(--nth-gold));
  display: inline-block;
  flex-shrink: 0;
}
@keyframes ribbon-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .integration-ribbon__track { animation: none; }
}
.integration-ribbon:hover .integration-ribbon__track { animation-play-state: paused; }

/* Badge strip */
.badge-strip {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.badge-strip .eyebrow { margin-right: 0.5rem; }

/* Image placeholder */
.image-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--nth-border);
}
.image-placeholder__stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.04) 14px 16px);
  pointer-events: none;
}
.image-placeholder__inner {
  position: relative;
  display: flex; flex-direction: column; gap: 0.6rem; align-items: center;
  text-align: center;
  padding: 1rem;
  max-width: 80%;
}
.image-placeholder__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  background: rgba(0,0,0,0.4);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--nth-orange-glow);
  font-weight: 600;
}
.image-placeholder__subject {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.005em;
  max-width: 28ch;
}
.image-placeholder__prompt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 36ch;
  letter-spacing: 0.01em;
}
.image-placeholder--ai .image-placeholder__label {
  background: rgba(138,61,147,0.18);
  border-color: rgba(138,61,147,0.45);
  color: var(--nth-orange-glow);
}
.image-placeholder__ai-frame { position: absolute; inset: 0; pointer-events: none; }
.image-placeholder__ai-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--nth-orange);
  opacity: 0.7;
}
.image-placeholder__ai-corner--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.image-placeholder__ai-corner--tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.image-placeholder__ai-corner--bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.image-placeholder__ai-corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* Product mockup — hero alert console */
.mockup-hero {
  position: relative;
  background: linear-gradient(180deg, #20132b 0%, #14091e 100%);
  border-radius: var(--r-xl);
  padding: 0.75rem 0.75rem 0.85rem;
  box-shadow: var(--sh-purple), 0 0 0 1px rgba(255,255,255,0.06);
  color: var(--nth-white);
  overflow: hidden;
  transform: rotate3d(1, 0.05, 0.06, 0deg);
}
.mockup-hero::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138,61,147,0.25), transparent 70%);
  pointer-events: none;
}
.mockup-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-chrome-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.mockup-chrome-dot:nth-child(1) { background: #ff5f57; }
.mockup-chrome-dot:nth-child(2) { background: #febc2e; }
.mockup-chrome-dot:nth-child(3) { background: #28c840; }
.mockup-chrome-path {
  margin-left: 0.6rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.03em;
}
.mockup-body { padding: 1rem; }
.mockup-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mockup-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.mockup-stat-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}
.mockup-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1;
}
.mockup-stat-value.alert { color: #ff7e5b; }
.mockup-stat-trend {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.5);
}

.mockup-alerts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.mockup-alert {
  display: grid;
  grid-template-columns: 6px 1fr auto auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.mockup-alert--new { animation: alert-in 600ms var(--ease-brand); }
@keyframes alert-in {
  from { transform: translateY(-6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mockup-alert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nth-warm);
  box-shadow: 0 0 0 0 currentColor;
  color: var(--nth-warm);
  animation: pulse-alert 1.6s ease-out infinite;
}
.mockup-alert-dot.warning { background: var(--nth-gold); color: var(--nth-gold); }
.mockup-alert-dot.muted { background: rgba(255,255,255,0.25); animation: none; box-shadow: none; }
@keyframes pulse-alert {
  0% { box-shadow: 0 0 0 0 rgba(232,71,23,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(232,71,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,71,23,0); }
}
.mockup-alert-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.mockup-alert-title { font-size: 0.875rem; font-weight: 500; }
.mockup-alert-meta { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }
.mockup-alert-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  color: rgba(255,255,255,0.65);
}
.mockup-alert-age {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
  width: 36px;
  text-align: right;
}

/* Permission graph viz */
.perm-graph {
  position: relative;
  background: linear-gradient(180deg, #20132b 0%, #14091e 100%);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--nth-white);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.perm-graph__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.perm-graph__title { font-size: 0.875rem; font-weight: 600; font-family: var(--font-display); }
.perm-graph__legend {
  display: flex; gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
}
.perm-graph__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.perm-graph__legend i {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.perm-graph svg { width: 100%; height: calc(100% - 36px); }

/* Process timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 5%; right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
.process-step {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.process-step__num {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(138,61,147,0.18), rgba(138,61,147,0.06));
  border: 1px solid rgba(138,61,147,0.3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--nth-orange-glow);
  position: relative; z-index: 1;
  transition: transform 320ms var(--ease-brand), border-color 320ms var(--ease-brand);
}
.process-step:hover .process-step__num {
  transform: scale(1.06);
  border-color: var(--nth-orange);
}
.process-step h3 { font-size: 1.25rem; font-weight: 600; color: var(--nth-white); }
.process-step p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
@media (max-width: 900px) {
  .process-timeline { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
}

/* Status quo grid (admin centre chaos) */
.statusquo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.statusquo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  perspective: 1000px;
}
.statusquo__tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.78);
  position: relative;
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(8deg);
  transition: transform 420ms var(--ease-brand);
}
.statusquo__tab:nth-child(odd) { transform: rotateY(4deg) rotateX(8deg); }
.statusquo__tab:hover { transform: rotateY(0) rotateX(0) translateY(-2px); }
.statusquo__tab-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
  display: block;
}
.statusquo__tab-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--nth-white);
  margin-bottom: 0.4rem;
}
.statusquo__tab-tasks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.statusquo__tab-tasks li {
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 0.4rem;
}
.statusquo__tab-tasks li::before {
  content: "›"; color: rgba(255,255,255,0.3);
}
.statusquo__divider {
  position: relative;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 1rem 0;
}
.statusquo__after {
  background: linear-gradient(180deg, #1e1029 0%, #0e0617 100%);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  border: 1px solid rgba(138,61,147,0.2);
  box-shadow: 0 24px 64px -16px rgba(138,61,147,0.18);
}
.statusquo__after-head {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}
.statusquo__after-head::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--nth-warm); box-shadow: 0 0 12px rgba(232,71,23,0.7);
  animation: pulse-alert 1.8s ease-out infinite;
}
.statusquo__after-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.statusquo__after-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.6rem; align-items: center;
  padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 0.8125rem;
}
.statusquo__after-customer { font-family: var(--font-mono); font-size: 0.6875rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; }
.statusquo__after-action { color: var(--nth-white); }
.statusquo__after-status {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--nth-orange-glow);
}

@media (max-width: 960px) {
  .statusquo { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* From 600–960px the parent .statusquo is already single-column, so the
     inner 3-col grid spans the full width and the tabs stay comfortable. Below
     600px (phones) three tabs side by side get too cramped — drop to two. */
  .statusquo__grid { grid-template-columns: repeat(2, 1fr); }
}

/* The tabs carry a static 3D tilt plus a hover transition. Flatten both for
   users who ask for reduced motion (WCAG 2.2 AA, SC 2.3.3) — relevant now the
   grid surfaces on phones. */
@media (prefers-reduced-motion: reduce) {
  .statusquo__tab,
  .statusquo__tab:nth-child(odd) { transform: none; transition: none; }
  .statusquo__tab:hover { transform: translateY(-2px); }
}

/* App card grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
}
.app-card {
  position: relative;
  background: var(--nth-white);
  border: 1px solid var(--nth-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.75rem 5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 360ms var(--ease-brand), box-shadow 360ms var(--ease-brand), border-color 360ms var(--ease-brand);
  overflow: hidden;
}
.app-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--nth-orange), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms var(--ease-brand);
  pointer-events: none;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--sh-purple); }
.app-card:hover::after { opacity: 1; }

.app-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,42,110,0.15), rgba(138,61,147,0.1));
  display: grid; place-items: center;
  color: var(--nth-purple);
  border: 1px solid var(--nth-border);
}
.app-card__short {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nth-orange);
  font-weight: 600;
}
.app-card__name { font-size: 1.375rem; font-weight: 700; font-family: var(--font-display); line-height: 1.15; }
.app-card__tagline { color: var(--nth-ink); font-weight: 500; }
.app-card__summary { color: var(--nth-ink-muted); font-size: 0.9375rem; flex: 1; }
.app-card__cta {
  position: absolute;
  bottom: 1.5rem; left: 1.75rem;
  color: var(--nth-purple);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.app-card__cta .arrow { transition: transform 240ms var(--ease-brand); }
.app-card:hover .app-card__cta { color: var(--nth-orange); }
.app-card:hover .app-card__cta .arrow { transform: translateX(4px); }
.app-card--bundle {
  background: linear-gradient(180deg, #2A1235, #15071F);
  color: var(--nth-white);
  border-color: rgba(255,255,255,0.06);
}
.app-card--bundle .app-card__icon { background: rgba(138,61,147,0.15); border-color: rgba(138,61,147,0.4); color: var(--nth-orange-glow); }
.app-card--bundle .app-card__tagline { color: var(--nth-white); }
.app-card--bundle .app-card__summary { color: rgba(255,255,255,0.7); }
.app-card--bundle .app-card__cta { color: var(--nth-orange-glow); }
.app-card--bundle:hover .app-card__cta { color: var(--nth-white); }
.app-card--bundle .app-card__short { color: var(--nth-orange-glow); }

/* Pillar grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color 320ms var(--ease-brand), transform 320ms var(--ease-brand), background 320ms var(--ease-brand);
}
.pillar:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(138,61,147,0.35);
  transform: translateY(-2px);
}
.pillar h3 { color: var(--nth-white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.pillar p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.pillar__icon { margin-bottom: 1rem; }

/* Founder note */
.founder-note {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}
.founder-note__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2A1235, #5B2A6E);
  border-radius: var(--r-xl);
  border: 1px solid var(--nth-border);
  position: relative;
  overflow: hidden;
}
.founder-note__photo .image-placeholder { aspect-ratio: 4/5; border-radius: var(--r-xl); }
.founder-note__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* reCAPTCHA: hide Google's floating badge (it's position:fixed and overflows
   on mobile, escaping the page's overflow-x containment). Branding is shown
   inline via .nth-recaptcha-note instead — see recaptcha_attribution(). */
.grecaptcha-badge { visibility: hidden; }
.nth-recaptcha-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1.5; color: var(--nth-ink-muted); }
.nth-recaptcha-note a { color: inherit; text-decoration: underline; }
.nth-report-cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); display: block; }
.resource-card__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.founder-note__quote {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.4;
  color: var(--nth-ink);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.section.dark .founder-note__quote, .section.ink .founder-note__quote { color: var(--nth-white); }
.founder-note__quote::before {
  content: "“";
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--nth-orange);
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}
.founder-note__by {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--nth-ink-muted);
  display: flex; gap: 0.6rem; align-items: center;
}
.section.dark .founder-note__by, .section.ink .founder-note__by { color: rgba(255,255,255,0.6); }
.founder-note__by strong { color: var(--nth-ink); }
.section.dark .founder-note__by strong, .section.ink .founder-note__by strong { color: var(--nth-white); }
@media (max-width: 900px) { .founder-note { grid-template-columns: 1fr; } .founder-note__photo { max-width: 280px; } }

/* Roadmap */
.roadmap-section { position: relative; }
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; }
}
.roadmap__col {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
  transition: border-color 320ms var(--ease-brand), transform 320ms var(--ease-brand);
}
.roadmap__col:hover { border-color: rgba(138,61,147,0.35); transform: translateY(-2px); }
.roadmap__col:first-child { background: linear-gradient(180deg, rgba(138,61,147,0.08), rgba(255,255,255,0.02)); border-color: rgba(138,61,147,0.3); }
.roadmap__col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}
.roadmap__col-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--nth-orange-glow);
  font-weight: 600;
}
.roadmap__col-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.roadmap__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.roadmap__item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.roadmap__item-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--nth-warm);
  margin-top: 6px;
  box-shadow: 0 0 0 0 rgba(232,71,23,0.6);
}
.roadmap__col:first-child .roadmap__item-pulse { animation: pulse-alert 2s ease-out infinite; }
.roadmap__col:nth-child(2) .roadmap__item-pulse { background: var(--nth-gold); box-shadow: none; }
.roadmap__col:nth-child(3) .roadmap__item-pulse { background: rgba(255,255,255,0.3); box-shadow: none; }
.roadmap__item-title {
  color: var(--nth-white);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.roadmap__item-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
  text-transform: uppercase;
}
.roadmap__foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* After demo */
.after-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.after-demo__step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
  transition: transform 320ms var(--ease-brand), border-color 320ms var(--ease-brand);
}
.after-demo__step:hover { transform: translateY(-3px); border-color: rgba(138,61,147,0.35); }
.after-demo__when {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nth-warm-glow);
  margin-bottom: 0.75rem;
}
.after-demo__step h3 { color: var(--nth-white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.after-demo__step p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
@media (max-width: 900px) { .after-demo { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--nth-border); }
.faq-item { border-bottom: 1px solid var(--nth-border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--nth-ink);
}
.faq-q__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--nth-cream);
  display: grid; place-items: center;
  color: var(--nth-purple);
  /* Collapsed: the "x" glyph rotated 45° reads as a "+". */
  transform: rotate(45deg);
  transition: transform 240ms var(--ease-brand), background 240ms var(--ease-brand), color 240ms var(--ease-brand);
}
.faq-item.open .faq-q__icon {
  background: var(--nth-orange);
  color: var(--nth-white);
  /* Expanded: back to 0° so it reads as an "x". */
  transform: rotate(0deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-brand);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding-bottom: 1.5rem;
  color: var(--nth-ink-muted);
  font-size: 1rem;
  max-width: 56rem;
}

/* Tabs (for app pages, security, etc) */
.tabs {
  display: flex; gap: 0.4rem;
  border-bottom: 1px solid var(--nth-border);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tabs button {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--nth-ink-muted);
  cursor: pointer;
  transition: color 200ms var(--ease-brand), border-color 200ms var(--ease-brand);
  white-space: nowrap;
}
.tabs button:hover { color: var(--nth-ink); }
.tabs button.active { color: var(--nth-orange); border-color: var(--nth-orange); }

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--nth-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--nth-border);
}
.pricing-table thead th {
  background: var(--nth-purple-deep);
  color: var(--nth-white);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  padding: 1.25rem 1.25rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.pricing-table thead th small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  text-transform: uppercase;
}
.pricing-table tbody td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--nth-border);
  font-size: 0.9375rem;
  vertical-align: middle;
}
.pricing-table tbody td:first-child { color: var(--nth-ink-muted); font-weight: 500; }
.pricing-table tbody tr:hover td { background: var(--nth-cream); }
.pricing-check {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(25,135,84,0.12); color: var(--nth-success);
}
.pricing-row-head {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6875rem !important;
  color: var(--nth-orange) !important;
  background: var(--nth-cream);
}

/* Tweaks panel reset */
#tweaks-panel-root { /* container guard */ }

/* Mockup small variants */
.mockup-small {
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #20132b 0%, #14091e 100%);
  padding: 0.75rem;
  color: var(--nth-white);
  border: 1px solid rgba(255,255,255,0.06);
}


/* ─── Feature visuals — abstract animated app illustrations ─── */
.fv {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #20132b 0%, #14091e 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--sh-purple);
  position: relative;
}
.fv svg { width: 100%; height: 100%; display: block; }

@keyframes fv-pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  60%  { transform: scale(2.6); opacity: 0;   }
  100% { transform: scale(2.6); opacity: 0;   }
}
.fv-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: fv-pulse 2.2s ease-out infinite;
}

/* Radar (ITDR) */
@keyframes fv-radar-sweep      { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fv-radar-orbit-0    { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fv-radar-orbit-1    { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes fv-radar-orbit-2    { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fv-radar-core       { 0% { r: 14; opacity: 0.7; } 100% { r: 28; opacity: 0; } }
.fv-radar-sweep    { animation: fv-radar-sweep    8s linear infinite; }
.fv-radar-orbit--0 { animation: fv-radar-orbit-0 14s linear infinite; }
.fv-radar-orbit--1 { animation: fv-radar-orbit-1 22s linear infinite; }
.fv-radar-orbit--2 { animation: fv-radar-orbit-2 32s linear infinite; }
.fv-radar-core     { animation: fv-radar-core   2.4s ease-out infinite; }

/* Fleet grid (Device) */
.fv-fleet-cell {
  fill: rgba(178,107,186,0.08);
  stroke: rgba(255,255,255,0.05);
  animation: fv-fleet-cell 2.6s ease-in-out infinite;
}
.fv-fleet-cell.is-offline { fill: rgba(255,255,255,0.025); animation: none; }
@keyframes fv-fleet-cell {
  0%, 100% { fill: rgba(178,107,186,0.08); }
  18%      { fill: rgba(232,71,23,0.35); }
  35%      { fill: rgba(178,107,186,0.18); }
}
@keyframes fv-fleet-wave {
  0%   { transform: translateX(0);     opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(420px); opacity: 0; }
}
.fv-fleet-wave { animation: fv-fleet-wave 2.6s linear infinite; filter: drop-shadow(0 0 10px rgba(232,71,23,0.6)); }

/* Permission cascade (SharePoint) */
@keyframes fv-cascade-row {
  0%   { transform: translateX(-8px); opacity: 0; }
  20%  { transform: translateX(0);    opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}
.fv-cascade-row {
  transform-box: fill-box;
  transform-origin: left center;
  animation: fv-cascade-row 4s ease-out infinite;
}

/* Query flow (Graph) */
@keyframes fv-flow-bar {
  0%, 100% { width: 24px; }
  50%      { width: 86px; }
}
.fv-flow-bar { animation: fv-flow-bar 3.2s ease-in-out infinite; }

/* Constellation (All apps) */
@keyframes fv-const-node {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.fv-const-node { animation: fv-const-node 3s ease-in-out infinite; }
.fv-const-node--0 { animation-delay: 0s;   }
.fv-const-node--1 { animation-delay: 0.6s; }
.fv-const-node--2 { animation-delay: 1.2s; }
.fv-const-node--3 { animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  .fv-pulse,
  .fv-radar-sweep, .fv-radar-orbit--0, .fv-radar-orbit--1, .fv-radar-orbit--2, .fv-radar-core,
  .fv-fleet-cell, .fv-fleet-wave,
  .fv-cascade-row,
  .fv-flow-bar,
  .fv-const-node { animation: none; opacity: 1; }
}


/* ─── Feature visual support styles ─── */
.fv-console { box-shadow: var(--sh-purple), 0 0 0 1px rgba(255,255,255,0.06); }

/* Bulk job progress (Device) */
.fv-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}
.fv-progress__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.fv-progress__track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.fv-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8A3D93, #E84717);
  border-radius: 2px;
  animation: fv-progress-fill 5s ease-in-out infinite;
}
@keyframes fv-progress-fill {
  0%   { width: 8%;  }
  60%  { width: 92%; }
  80%  { width: 92%; }
  100% { width: 8%;  }
}
.fv-progress__pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nth-warm-glow);
  font-weight: 600;
}

/* Graph query line */
.fv-query {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(178,107,186,0.25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
}
.fv-query__op {
  color: var(--nth-warm-glow);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(232,71,23,0.14);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}
.fv-query__path {
  color: rgba(255,255,255,0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  /* Flex item must allow shrinking below its content width, or the long query
     string forces the whole dashboard wider than a phone screen. */
  min-width: 0;
}
.fv-query__caret {
  color: var(--nth-warm-glow);
  animation: fv-caret 1s steps(2) infinite;
}
@keyframes fv-caret { 50% { opacity: 0; } }

/* All-apps app pill */
.fv-app-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--nth-warm-glow);
  background: rgba(232,71,23,0.14);
  border: 1px solid rgba(232,71,23,0.3);
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  align-self: center;
}

/* ─── Feature dashboard layout (lower section) ─── */
.fv-dashboard {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 1080px) { .fv-dashboard { grid-template-columns: 1fr; } }
/* Grid items default to min-width:auto and won't shrink below their content's
   intrinsic width — let them shrink so wide mockup content can't overflow. */
.fv-dashboard__main, .fv-side { min-width: 0; }
.fv-dashboard__main .fv,
.fv-dashboard__main .mockup-hero {
  height: 100%;
}

.fv-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fv-side__panel {
  background: linear-gradient(180deg, #20132b 0%, #14091e 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 1rem 1.1rem;
  color: var(--nth-white);
  box-shadow: var(--sh-purple);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
}
.fv-side__head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.5rem;
  margin-bottom: 0.15rem;
}
.fv-side__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}
.fv-side__pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nth-warm-glow);
  background: rgba(232,71,23,0.16);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(232,71,23,0.3);
}
.fv-side__pill::before {
  content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nth-warm); margin-right: 0.35rem; vertical-align: middle;
  box-shadow: 0 0 6px var(--nth-warm);
}
.fv-side__meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
}

/* Bars */
.fv-bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.fv-bars li {
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}
.fv-bars__name { color: rgba(255,255,255,0.65); letter-spacing: 0.06em; }
.fv-bars__track { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.fv-bars__fill {
  height: 100%;
  background: linear-gradient(90deg, #8A3D93, #B26BBA);
  border-radius: 3px;
  animation: fv-bar-grow 1.4s ease-out;
  transform-origin: left;
}
.fv-bars li:first-child .fv-bars__fill {
  background: linear-gradient(90deg, #E84717, #FF7A4A);
}
@keyframes fv-bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.fv-bars__val { color: rgba(255,255,255,0.85); text-align: right; font-weight: 500; }

/* Action log */
.fv-log { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.fv-log li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.78);
  align-items: center;
}
.fv-log__time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
