/* Public marketing site — constrained width, sales-led layout */
:root {
  --pub-teal: #215c5c;
  --pub-teal-hover: #144b4b;
  --pub-teal-soft: #e8f2f2;
  --pub-ink: #0a0a0a;
  --pub-muted: #404040;
  --pub-subtle: #737373;
  --pub-line: #e8e8e8;
  --pub-bg: #f6f7f7;
  --pub-pad: clamp(1rem, 4vw, 1.75rem);
  --pub-max: 1080px;
  --pub-font: "Inter", "Segoe UI", system-ui, sans-serif;
  --pub-fab: 3.25rem;
  --pub-safe-bottom: env(safe-area-inset-bottom, 0px);
  --pub-safe-right: env(safe-area-inset-right, 0px);
}

body {
  font-family: var(--pub-font);
  color: var(--pub-ink);
  background: #fff;
}

html {
  scroll-behavior: smooth;
}

.pub-shell {
  overflow-x: visible;
}

.site-wrap {
  overflow-x: visible;
}

.pub-shell .container,
.pub-shell .fbs__net-navbar > .container,
.pub-shell .site-footer .container,
.pub-shell .pub-wrap {
  max-width: var(--pub-max) !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pub-pad) !important;
  padding-right: var(--pub-pad) !important;
}

.pub-shell main {
  display: block;
}

/* —— Nav —— */
.pub-shell .fbs__net-navbar {
  background: #fff !important;
  border-bottom: 1px solid var(--pub-line);
  padding: 0.65rem 0 !important;
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 1030 !important;
}

.pub-shell .fbs__net-navbar.active {
  position: sticky !important;
  background: #fff !important;
  box-shadow: none;
}

.pub-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.pub-shell .navbar-brand .brand-wordmark {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pub-ink) !important;
}

.pub-shell .navbar-brand {
  min-width: 0;
  flex-shrink: 1;
  margin-right: 0 !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.pub-shell .navbar-brand .logo.dark {
  display: block !important;
}

.pub-shell .navbar-brand .logo.light {
  display: none !important;
}

.pub-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.pub-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--pub-line);
  background: var(--pub-bg);
  color: var(--pub-ink);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
}

.pub-shell .navbar-nav .nav-link {
  color: var(--pub-muted) !important;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem !important;
  white-space: nowrap;
  position: relative;
  text-decoration: none !important;
}

.pub-shell .navbar-nav .nav-link:hover,
.pub-shell .navbar-nav .nav-link.active {
  color: var(--pub-ink) !important;
}

.pub-shell .navbar-nav > li > .nav-link:before {
  display: none !important;
  content: none !important;
}

.pub-shell .landing-nav-cta,
.pub-shell .btn-primary {
  background: var(--pub-teal) !important;
  border-color: var(--pub-teal) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.pub-shell .landing-nav-cta:hover,
.pub-shell .btn-primary:hover {
  background: var(--pub-teal-hover) !important;
  border-color: var(--pub-teal-hover) !important;
}

.pub-shell .navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-shell .navbar-collapse {
  flex-basis: 100%;
}

.pub-shell .navbar-collapse[hidden] {
  display: none;
}

@media (min-width: 992px) {
  .pub-shell .navbar-collapse {
    flex-basis: auto;
    display: flex !important;
    flex-grow: 1;
    align-items: center;
  }

  .pub-shell .navbar-nav {
    flex-direction: row;
    gap: 0.15rem;
  }

  .pub-nav-actions {
    order: 3;
    margin-left: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .pub-shell .navbar-collapse {
    border-top: 1px solid var(--pub-line);
    margin-top: 0.65rem;
    padding-top: 0.35rem;
  }

  .pub-shell .navbar-nav .nav-link {
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid var(--pub-line);
    white-space: normal;
  }

  .pub-shell .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }
}

.pub-faq-heading {
  margin: 0;
}

/* —— Sections —— */
.pub-section {
  padding: clamp(2.5rem, 7vw, 5.75rem) 0;
  border-top: 1px solid var(--pub-line);
}

.pub-section--flush {
  border-top: 0;
  padding-top: 0;
}

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

.pub-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pub-teal);
  margin-bottom: 0.65rem;
}

.pub-title {
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--pub-ink);
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.pub-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--pub-muted);
  margin: 0;
  max-width: 38rem;
}

.pub-lead--wide {
  max-width: 42rem;
}

.pub-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pub-muted);
  margin: 1.15rem 0 0;
  max-width: 42rem;
}

/* —— Hero —— */
.pub-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  background: #1a1f1e;
  color: #fff;
  overflow: hidden;
}

.pub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pub-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Subject stands on the right and points left toward copy */
  object-position: 78% 18%;
}

/* Scrim above the photo so white copy stays readable on light areas */
.pub-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(12, 14, 14, 0.82) 0%,
      rgba(12, 14, 14, 0.62) 38%,
      rgba(12, 14, 14, 0.28) 68%,
      rgba(12, 14, 14, 0.12) 100%
    );
}

.pub-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(5rem, 12vh, 7.5rem) 0 clamp(2.25rem, 5vh, 3.5rem);
  animation: pub-rise 0.7s ease both;
}

@keyframes pub-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.pub-hero-copyblock {
  max-width: min(36rem, 100%);
}

.pub-hero-brand {
  font-family: var(--pub-font);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.pub-hero-headline {
  font-family: var(--pub-font);
  font-size: clamp(1.25rem, 3.8vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #fff;
  max-width: 34rem;
  margin: 0 0 1rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.pub-hero-copy {
  font-family: var(--pub-font);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin: 0 0 1.15rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.pub-hero-points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-width: 34rem;
}

.pub-hero-points li {
  position: relative;
  padding-left: 1.15rem;
  font-family: var(--pub-font);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.pub-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #7ec8c4;
}

.pub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pub-hero .pub-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.pub-hero .pub-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 2.75rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pub-btn:hover {
  transform: translateY(-1px);
}

.pub-btn--primary {
  background: #fff;
  color: var(--pub-teal);
}

.pub-btn--primary:hover {
  background: #f4f7f7;
  color: var(--pub-teal-hover);
}

.pub-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.pub-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pub-btn--solid {
  background: var(--pub-teal);
  color: #fff;
}

.pub-btn--solid:hover {
  background: var(--pub-teal-hover);
  color: #fff;
}

.pub-btn--muted {
  background: #fff;
  color: var(--pub-teal);
  border-color: var(--pub-line);
}

.pub-btn--muted:hover {
  background: var(--pub-teal-soft);
  color: var(--pub-teal-hover);
}

/* —— Capability narrative —— */
.pub-story {
  margin-top: 2rem;
  max-width: 40rem;
  display: grid;
  gap: 0;
}

.pub-story-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--pub-line);
}

.pub-story-item:last-child {
  padding-bottom: 0;
}

.pub-story-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--pub-ink);
}

.pub-story-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--pub-muted);
}

/* —— FAQ —— */
.pub-faq {
  max-width: 40rem;
  margin-top: 1.25rem;
}

.pub-shell .pub-faq-item {
  border-bottom: 1px solid var(--pub-line);
}

.pub-shell .pub-faq-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--pub-ink);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.4;
  padding: 1.05rem 0;
  text-align: left;
}

.pub-shell .pub-faq-trigger[aria-expanded="true"] {
  color: var(--pub-teal);
}

.pub-shell .pub-faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pub-shell .pub-faq-trigger[aria-expanded="true"] .pub-faq-chevron {
  transform: rotate(180deg);
}

.pub-shell .pub-faq-panel[hidden] {
  display: none;
}

.pub-shell .pub-faq-panel-inner {
  padding: 0 0 1.1rem;
  color: var(--pub-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* —— Contact / help —— */
.pub-help {
  background: var(--pub-bg);
  border-top: 1px solid var(--pub-line);
  padding: clamp(2.75rem, 8vw, 5.5rem) 0;
}

.pub-help.first-section {
  padding-top: clamp(4.5rem, 12vh, 7rem);
}

.pub-help-inner {
  max-width: 36rem;
}

.pub-help .pub-title {
  max-width: none;
  font-size: clamp(1.55rem, 5.5vw, 2.25rem);
}

.pub-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--pub-line);
}

.pub-channels a,
.pub-channels p {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--pub-muted);
  text-decoration: none;
  word-break: break-word;
}

.pub-channels a:hover {
  color: var(--pub-teal);
}

.pub-channels i {
  color: var(--pub-teal);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* —— Legal —— */
.pub-legal {
  padding: clamp(2.25rem, 6vw, 4rem) 0;
}

.pub-legal article {
  max-width: 42rem;
}

.pub-legal h1 {
  font-size: clamp(1.55rem, 5.5vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.pub-legal .pub-legal-meta {
  color: var(--pub-subtle);
  font-size: 0.875rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--pub-line);
}

.pub-legal h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--pub-ink);
}

.pub-legal p,
.pub-legal li {
  color: var(--pub-muted);
  line-height: 1.65;
}

.pub-legal a {
  color: var(--pub-teal);
  font-weight: 600;
  text-decoration: none;
}

.pub-legal a:hover {
  text-decoration: underline;
}

/* —— Downloads —— */
.pub-dl-version {
  margin: 0.25rem 0 0;
  color: var(--pub-subtle);
  font-size: 0.9rem;
}

.pub-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.pub-dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border: 1px solid var(--pub-line);
  border-radius: 16px;
  background: #fff;
  scroll-margin-top: 5rem;
}

.pub-dl-icon {
  color: var(--pub-teal);
  margin-bottom: 0.75rem;
}

.pub-downloads .pub-dl-card h3 {
  margin: 0 0 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.pub-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  border-radius: 999px;
  background: var(--pub-teal);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.pub-dl-btn:hover {
  background: var(--pub-teal-hover);
}

.pub-dl-btn span {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.75;
}

.pub-dl-more {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--pub-subtle);
}

.pub-dl-more a,
.pub-dl-foot a {
  color: var(--pub-teal);
  font-weight: 600;
  text-decoration: none;
}

.pub-dl-more a:hover,
.pub-dl-foot a:hover {
  text-decoration: underline;
}

.pub-dl-foot {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--pub-subtle);
}

/* —— Footer —— */
.pub-shell .site-footer,
.auth-page .site-footer {
  background: #f7f8f8;
  border-top: 1px solid var(--pub-line, #e8e8e8);
}

.pub-shell .site-footer .container,
.auth-page .site-footer .container {
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.site-footer--compact .container {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.pub-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  padding-bottom: 2rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--pub-line, #e8e8e8);
}

.pub-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  color: var(--pub-ink, #0a0a0a) !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pub-footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

.pub-footer-logo--inline {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pub-footer-logo--inline img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.pub-footer-tagline {
  margin: 0;
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pub-subtle, #737373);
}

.pub-footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pub-ink, #0a0a0a);
}

.pub-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.pub-footer-links a,
.pub-footer-links .pub-footer-muted {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pub-subtle, #737373) !important;
  text-decoration: none !important;
}

.pub-footer-links a:hover {
  color: var(--pub-teal, #215c5c) !important;
}

.pub-footer-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.pub-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  color: var(--pub-subtle, #737373);
  font-size: 0.85rem;
}

.pub-footer-copy {
  color: var(--pub-subtle, #737373);
}

.pub-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}

.pub-shell .site-footer a,
.auth-page .site-footer a {
  color: var(--pub-subtle, #737373) !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.pub-shell .site-footer a:hover,
.auth-page .site-footer a:hover {
  color: var(--pub-teal, #215c5c) !important;
}

.auth-page .site-footer {
  flex-shrink: 0;
  background: transparent;
  border-top: 1px solid rgba(26, 31, 30, 0.1);
}

.auth-page .site-footer .container {
  max-width: 52rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 899.98px) {
  .pub-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pub-footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .pub-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .pub-footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pub-shell #back-to-top {
  background: var(--pub-teal) !important;
  border-radius: 8px !important;
  right: calc(1.25rem + var(--pub-safe-right)) !important;
  bottom: calc(1.25rem + var(--pub-fab) + 0.75rem + var(--pub-safe-bottom)) !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  z-index: 1035 !important;
}

.pub-wa {
  position: fixed;
  right: calc(1rem + var(--pub-safe-right));
  bottom: calc(1rem + var(--pub-safe-bottom));
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--pub-fab);
  height: var(--pub-fab);
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.pub-wa:hover,
.pub-wa:active {
  background: #1ebe57;
  color: #fff;
}

.pub-wa:hover {
  transform: translateY(-2px);
}

.pub-wa:focus-visible {
  outline: 2px solid #144b4b;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pub-hero-inner,
  .pub-btn,
  .pub-wa {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .pub-shell .fbs__net-navbar {
    padding: 0.55rem 0 !important;
  }
}

@media (max-width: 575.98px) {
  .pub-title {
    max-width: none;
  }

  .pub-hero {
    min-height: 100svh;
  }

  .pub-hero-inner {
    padding-top: 5.5rem;
    padding-bottom: 1.75rem;
  }

  .pub-hero-media img {
    object-position: 72% 12%;
  }

  .pub-hero-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(12, 14, 14, 0.55) 0%,
        rgba(12, 14, 14, 0.72) 55%,
        rgba(12, 14, 14, 0.82) 100%
      );
  }

  .pub-section {
    padding: 2.25rem 0;
  }

  .pub-story {
    margin-top: 1.5rem;
  }

  .pub-story-item {
    padding: 1.15rem 0;
  }

  .pub-shell #back-to-top {
    display: none !important;
  }
}
