/* Salegine public website quality layer */
:root {
  --public-focus: rgba(17, 166, 111, .2);
  --public-border: #d8e3dd;
  --public-shadow: 0 18px 52px rgba(8, 43, 31, .08);
}

body {
  color: #12231b;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--public-focus);
  outline-offset: 3px;
}

.site-header {
  height: 82px;
  border-color: rgba(8, 43, 31, .1);
  background: rgba(255, 255, 255, .94);
}

.nav-shell {
  width: min(1280px, calc(100% - 48px));
  gap: 38px;
}

.brand {
  display: flex;
  min-width: 154px;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
  transform: none;
}

.desktop-nav {
  gap: 28px;
  margin-left: 8px;
}

.desktop-nav a,
.text-link {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.current::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 13px;
}

.button-small {
  min-height: 44px;
  font-size: 12px;
}

.eyebrow,
.section-kicker,
.partner-kicker {
  font-size: 11px;
  line-height: 1.45;
}

.hero-copy > p,
.partner-hero-copy > p {
  max-width: 610px;
  font-size: 18px;
  line-height: 1.65;
}

.hero-proof span,
.partner-proof span {
  font-size: 12px;
  line-height: 1.5;
}

.hero-proof b,
.partner-proof b {
  font-size: 13px;
}

.section {
  padding: clamp(88px, 9vw, 124px) 0;
}

.section-heading > p,
.center-heading > p,
.industry-copy > p,
.collaboration-copy > p,
.partner-invite-copy p {
  font-size: 16px;
  line-height: 1.72;
}

.feature-card,
.partner-card,
.industry-panel,
.system-map,
.early-access-form,
.partner-form {
  border-color: var(--public-border);
  box-shadow: var(--public-shadow);
}

.feature-card h3,
.partner-card h3 {
  line-height: 1.25;
}

.feature-card p,
.partner-card p {
  font-size: 15px;
  line-height: 1.7;
}

.feature-card > a,
.partner-card > a {
  font-size: 13px;
}

.industry-tabs button {
  min-height: 50px;
  font-size: 14px;
}

.industry-flow span,
.industry-agents b,
.industry-outcome span {
  font-size: 12px;
}

.industry-outcome b {
  font-size: 14px;
}

.collaboration-copy li b {
  font-size: 14px;
}

.collaboration-copy li span,
.global-grid p {
  font-size: 14px;
  line-height: 1.65;
}

.global-grid h3 {
  font-size: 19px;
}

.trust-strip span {
  font-size: 10px;
}

.trust-strip p {
  font-size: 13px;
}

.form-heading > span,
.form-grid label > span,
.partner-form-grid label > span,
.partner-form-grid legend {
  font-size: 12px;
}

.form-heading p,
.partner-form .form-heading p {
  font-size: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.partner-form-grid input,
.partner-form-grid select,
.partner-form-grid textarea {
  min-height: 48px;
  border-color: var(--public-border);
  font-size: 15px;
}

.form-grid textarea,
.partner-form-grid textarea {
  min-height: 112px;
}

.consent span,
.partner-form-grid .consent > span {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.footer-grid span {
  font-size: 11px;
}

.footer-grid p,
.footer-grid a {
  font-size: 13px;
}

.footer-bottom {
  font-size: 12px;
}

/* Product preview remains compact while staying legible. */
.stage-label,
.app-greeting > span,
.briefing-card span,
.app-metrics span {
  font-size: 9px;
}

.command {
  font-size: 10px;
}

.app-greeting p,
.briefing-card h3 {
  font-size: 11px;
}

.briefing-card p,
.app-metrics > div > small,
.priority-list article b,
.priority-list article small,
.live-feed p,
.floating-insight b,
.floating-insight small {
  font-size: 9px;
  line-height: 1.4;
}

.mini-head,
.priority-list button {
  font-size: 9px;
}

/* Intelligence visuals communicate meaning without unreadable microcopy. */
.core-state span,
.core-confidence span,
.core-foot span,
.core-foot p,
.outcome-card > em {
  font-size: 9px;
}

.core-state > b,
.core-confidence b {
  font-size: 11px;
}

.intelligence-core-map .core-rings small,
.core-rings > span > em {
  font-size: 8px;
}

.intelligence-core-map .system-core > p {
  font-size: 13px;
}

.workforce-head > span,
.workforce-head > em,
.collaboration-live .avatar-stack small,
.collaboration-live .ai-dots small {
  font-size: 9px;
}

.workforce-signal span,
.workforce-signal time {
  font-size: 10px;
}

.workforce-signal b {
  font-size: 11px;
}

.collaboration-live .collaboration-link span,
.shared-work > span {
  font-size: 9px;
}

.shared-work > b {
  font-size: 12px;
}

.shared-work > em {
  font-size: 11px;
}

.interactive-orbit .orbit-node > small,
.orbit-detail > span,
.orbit-detail > em,
.interactive-orbit .orbit-core em {
  font-size: 10px;
}

.interactive-orbit .orbit-node > b {
  font-size: 12px;
}

.interactive-orbit .orbit-node i svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interactive-orbit .orbit-core small {
  font-size: 10px;
}

.orbit-detail > b {
  font-size: 15px;
}

.orbit-detail > p {
  font-size: 14px;
}

.partner-ecosystem {
  min-width: 0;
}

.partner-invite {
  min-height: calc(100svh - 80px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 6vh, 68px) 0;
}

.partner-invite-grid {
  gap: clamp(52px, 5vw, 78px);
}

.partner-invite-copy h2 {
  font-size: clamp(38px, 3.7vw, 52px);
}

.partner-invite-copy p {
  margin: 20px 0 26px;
}

.partner-ecosystem .interactive-orbit {
  margin-bottom: 0;
  min-height: min(500px, calc(100svh - 150px));
}

.partner-ecosystem .interactive-orbit .node-three {
  bottom: 34%;
}

.partner-ecosystem .interactive-orbit .node-four {
  bottom: 31%;
}

.partner-ecosystem .orbit-detail {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  width: min(360px, calc(100% - 48px));
  min-height: 116px;
  padding: 17px 20px;
}

.partner-ecosystem .orbit-detail::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    rgba(17, 166, 111, 0),
    rgba(17, 166, 111, 0.35)
  );
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .partner-invite {
    min-height: auto;
    padding: 85px 0;
  }

  .partner-ecosystem .interactive-orbit {
    min-height: 500px;
  }

  .partner-ecosystem .interactive-orbit .node-three {
    bottom: 20%;
  }

  .partner-ecosystem .interactive-orbit .node-four {
    bottom: 15%;
  }

  .partner-ecosystem .orbit-detail {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 18px auto 0;
    min-height: 0;
    padding: 20px 22px;
  }
}

@media (max-width: 560px) {
  .partner-ecosystem .orbit-detail {
    margin-top: 14px;
    width: min(300px, calc(100% - 24px));
    min-height: 0;
    padding: 17px 18px;
  }
}

/* Final legibility pass
   Keep operational labels readable on compact displays without enlarging
   decorative SVG icons or changing the visual hierarchy. */
.section-kicker,
.eyebrow,
.stage-label,
.system-source > span,
.system-output > span,
.feature-card > span,
.industry-panel-head span,
.industry-agents > span,
.industry-outcome span,
.workforce-head > span,
.workforce-head > em,
.shared-work > span,
.scale-intro .shell > span {
  font-size: 12px;
  line-height: 1.45;
}

.command,
.command kbd,
.online,
.app-topbar > b,
.briefing-card button,
.app-metrics > div > small,
.mini-head span,
.scroll-cue span,
.signal-card > i,
.signal-card > em,
.core-state span,
.core-engine small,
.core-engine em,
.core-confidence span,
.outcome-card > em,
.core-foot span,
.core-foot p,
.industry-flow span,
.industry-agents b,
.collaboration-live .avatar-stack small,
.collaboration-live .ai-dots small,
.workforce-signal span,
.workforce-signal time,
.collaboration-live .collaboration-link span,
.shared-work > em {
  font-size: 12px;
  line-height: 1.45;
}

.core-state > b,
.core-engine b,
.core-rings b,
.core-confidence b,
.workforce-signal b,
.shared-work > b {
  font-size: 13px;
  line-height: 1.45;
}

.scale-intro .shell p,
.audience-bar span,
.audience-bar p,
.trust-strip span,
.trust-strip p,
.early-access-copy > span,
.footer-grid span,
.core-rings small,
.intelligence-core-map .core-rings small,
.intelligence-core-map .system-core > p,
.signal-card small,
.outcome-card small {
  font-size: 13px;
  line-height: 1.55;
}

.core-rings > span > em,
.interactive-orbit .orbit-core em,
.interactive-orbit .orbit-core small,
.interactive-orbit .orbit-node small,
.orbit-detail > span,
.orbit-detail > em,
.orbit-detail > em span {
  font-size: 12px;
  line-height: 1.45;
}

.interactive-orbit .orbit-core b,
.orbit-detail > b {
  font-size: 13px;
  line-height: 1.45;
}

.orbit-detail > p,
.footer-grid p,
.footer-grid a,
.footer-bottom {
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .command,
  .command kbd,
  .app-metrics > div > small,
  .mini-head span,
  .system-source > span,
  .system-output > span,
  .system-source b,
  .system-output b,
  .system-source small,
  .system-output small,
  .industry-flow span,
  .trust-strip p,
  .footer-grid p,
  .footer-grid a {
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .form-grid input,
  .form-grid select,
  .form-grid textarea,
  .partner-form-grid input,
  .partner-form-grid select,
  .partner-form-grid textarea {
    font-size: 16px;
  }

  .site-header {
    height: 70px;
  }

  .nav-shell {
    width: min(100% - 28px, 1280px);
    gap: 14px;
  }

  .brand {
    min-width: 126px;
  }

  .brand img {
    width: 126px;
  }

  .nav-actions .text-link {
    display: none;
  }

  .nav-actions .button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-proof,
  .partner-proof {
    gap: 14px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 520px) {
  .nav-actions {
    display: none;
  }

  .hero-actions,
  .final-cta .shell > div {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

/* Public-site readability baseline for production displays and mobile devices. */
.desktop-nav a,
.site-header .text-link,
.button,
.button-small {
  font-size: 14px;
}

.system-source > span,
.system-output > span,
.stage-label,
.app-greeting > span,
.briefing-card span,
.app-metrics span,
.mini-head {
  font-size: 12px;
}

.system-source b,
.system-output b,
.signal-card b,
.outcome-card b {
  font-size: 15px;
}

.system-source small,
.system-output small,
.signal-card small,
.outcome-card small {
  font-size: 13px;
  line-height: 1.5;
}

.command,
.priority-list button {
  font-size: 12px;
}

.app-greeting p,
.briefing-card h3 {
  font-size: 13px;
}

.briefing-card p,
.app-metrics > div > small,
.priority-list article b,
.priority-list article small,
.live-feed p,
.floating-insight b,
.floating-insight small {
  font-size: 12px;
  line-height: 1.45;
}

.partner-form-grid label > span,
.partner-form-grid legend,
.partner-proof span {
  font-size: 13px;
}

.partner-form-grid input,
.partner-form-grid select,
.partner-form-grid textarea {
  font-size: 15px;
}

@media (max-width: 720px) {
  .nav-actions .button {
    font-size: 13px;
  }

  .system-source small,
  .system-output small,
  .signal-card small,
  .outcome-card small {
    font-size: 14px;
  }

  .button,
  .button-small {
    min-height: 44px;
    font-size: 14px;
  }
}
