/*
  Shared Norynthe web alignment layer.
  Keep this file loaded after page-local styles so hero typography and primary
  controls stay consistent across the public, investor, and report surfaces.
*/

:root {
  --nt-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nt-ink: #0f1115;
  --nt-body: #36414e;
  --nt-muted: #596571;
  --nt-hero-size: clamp(3.32rem, 6.75vw, 6.05rem);
  --nt-hero-mobile-size: clamp(2.55rem, 10.8vw, 3.25rem);
  --nt-hero-weight: 760;
  --nt-hero-line-height: 0.91;
  --nt-report-title-size: clamp(2.5rem, 4.2vw, 3.78rem);
  --nt-report-title-mobile-size: clamp(2.2rem, 10vw, 3.42rem);
  --nt-control-radius: 7px;
}

body {
  font-family: var(--nt-font-sans);
}

.hero h1,
.hero-copy h1,
main.hero h1,
section.hero h1,
body.enterprise-use-cases-page .hero-heading,
.hero-heading,
.demo-intro h1 {
  max-width: 11.8ch;
  color: var(--nt-ink);
  font-family: var(--nt-font-sans);
  font-size: var(--nt-hero-size) !important;
  font-weight: var(--nt-hero-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--nt-hero-line-height) !important;
  text-transform: none !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.report-header h1,
.headline h1 {
  max-width: 13ch;
  color: var(--nt-ink);
  font-family: var(--nt-font-sans);
  font-size: var(--nt-report-title-size) !important;
  font-weight: var(--nt-hero-weight) !important;
  letter-spacing: 0 !important;
  line-height: 0.98 !important;
  text-wrap: balance;
}

.hero-copy p,
.hero .lede {
  max-width: 48rem;
  color: var(--nt-body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.68;
}

body.market-position-page .hero h1 {
  max-width: 12.2ch;
  color: #f4f8fb !important;
  font-size: clamp(3rem, 5.8vw, 5.8rem) !important;
  line-height: 0.92 !important;
}

body.market-position-page .hero .lede {
  color: rgba(238, 243, 246, 0.68);
}

.hero-actions a,
.hero-actions .button,
.hero-cta {
  border-radius: var(--nt-control-radius);
  font-weight: var(--nt-hero-weight);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 760px) {
  .hero h1,
  .hero-copy h1,
  main.hero h1,
  section.hero h1,
  body.enterprise-use-cases-page .hero-heading,
  .hero-heading,
  .demo-intro h1 {
    max-width: 11.5ch;
    font-size: var(--nt-hero-mobile-size) !important;
    line-height: 0.92 !important;
  }

  .report-header h1,
  .headline h1 {
    max-width: 13ch;
    font-size: var(--nt-report-title-mobile-size) !important;
    line-height: 1 !important;
  }

  .grid,
  .demo-frame .console-view,
  .console-view,
  .page-hero,
  .console-status-strip,
  .section-shell {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .panel,
  .dimension-card,
  .console-view.active,
  .page-hero,
  .console-status-strip,
  .console-status-tile,
  .section-shell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
