/* About / marketing landing page. Loaded after site.css; everything scoped under .mkt. */

.mkt-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
}

.mkt-header-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.mkt-header-nav a:not(.btn):hover {
  color: var(--text);
  text-decoration: none;
}

.mkt-header-nav .btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .mkt-header-nav a:not(.btn),
  .site-header__tagline {
    display: none;
  }
}

main.mkt {
  max-width: 1200px;
  padding-top: 0;
}

.mkt section[id] {
  scroll-margin-top: 5rem;
}

.mkt h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mkt h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mkt p {
  color: var(--text-muted);
  line-height: 1.7;
}

.mkt-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}

.mkt-lead {
  margin: 0 0 1.75rem;
  max-width: 44rem;
  font-size: 1.05rem;
}

/* Hero */

.mkt-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.mkt-hero h1 {
  margin: 0 auto 1rem;
  max-width: 48rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mkt-hero .mkt-lead {
  margin-left: auto;
  margin-right: auto;
}

.mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.mkt-hero__actions .btn {
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
}

.mkt-hero .mkt-shot {
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -40px rgba(42, 106, 168, 0.55);
}

.mkt-hero .mkt-shot img {
  max-height: none;
}

/* Screenshot frame */

.mkt-shot {
  margin: 0;
  border: 1px solid var(--media-border);
  border-radius: 6px;
  background: var(--media-bg);
  overflow: hidden;
}

.mkt-shot__bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--media-border);
}

.mkt-shot__bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--placeholder-border);
}

.mkt-shot img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: top left;
}

.mkt-shot figcaption {
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--media-border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Numbers band */

.mkt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
}

.mkt-stat {
  padding: 1.35rem 1.25rem;
  background: var(--bg-card);
  text-align: center;
}

.mkt-stat__value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.mkt-stat__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mkt-stats-note {
  margin: 0 0 3rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 760px) {
  .mkt-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Body with side menu */

.mkt-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.mkt-sidenav {
  position: sticky;
  top: 5rem;
  font-size: 0.9rem;
}

.mkt-sidenav p {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.mkt-sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
}

.mkt-sidenav a {
  display: block;
  margin-left: -1px;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  text-decoration: none;
}

.mkt-sidenav a:hover {
  color: var(--text);
  text-decoration: none;
}

.mkt-sidenav a[aria-current="true"] {
  border-left-color: var(--brand-hover);
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .mkt-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .mkt section[id] {
    scroll-margin-top: calc(var(--mkt-header-h, 3.4rem) + 3.5rem);
  }

  .mkt-sidenav {
    top: var(--mkt-header-h, 3.4rem);
    z-index: 40;
    margin: 0 -1.25rem;
    padding: 0.5rem 1.25rem;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mkt-sidenav::-webkit-scrollbar {
    display: none;
  }

  .mkt-sidenav p {
    display: none;
  }

  .mkt-sidenav ul {
    display: flex;
    gap: 0.25rem;
    border-left: none;
    white-space: nowrap;
  }

  .mkt-sidenav a {
    margin-left: 0;
    padding: 0.3rem 0.65rem;
    border-left: none;
    border-radius: 999px;
  }

  .mkt-sidenav a[aria-current="true"] {
    background: var(--toggle-active-bg);
  }
}

/* Sections */

.mkt-section {
  padding: 0 0 4rem;
}

.mkt-section + .mkt-section {
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.mkt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.mkt-cards .card p {
  line-height: 1.6;
}

.mkt-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.mkt-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.1rem 1.25rem 1.1rem 3.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mkt-steps li::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--toggle-active-bg);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.6rem;
  text-align: center;
}

.mkt-steps strong {
  color: var(--text);
}

/* Feature rows */

.mkt-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.25rem;
  align-items: center;
  margin-top: 2.75rem;
}

.mkt-feature--flip > .mkt-feature__text {
  order: 2;
}

.mkt-feature--wide {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.mkt-feature__text p {
  margin: 0;
}

.mkt-feature__text p + p {
  margin-top: 0.75rem;
}

@media (max-width: 760px) {
  .mkt-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .mkt-feature--flip > .mkt-feature__text {
    order: 0;
  }
}

.mkt-pill {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--callout-border);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
  color: var(--accent-cyan);
  text-decoration: none;
}

.mkt-pill:hover {
  text-decoration: none;
  background: var(--toggle-active-bg);
}

/* Integrations */

.mkt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mkt-chips li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text);
}

.mkt-chips li small {
  margin-left: 0.3rem;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Pricing teaser */

.mkt-price {
  display: flex;
  flex-direction: column;
}

.mkt-price p {
  margin-bottom: 1.25rem;
}

.mkt-price p.mkt-price__amount {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.mkt-price__amount small {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

.mkt-price .btn {
  margin-top: auto;
  align-self: flex-start;
}

.mkt-price--featured {
  border-color: var(--callout-border);
  background: var(--callout-bg);
}

/* Research cards */

.mkt-post {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.mkt-post:hover {
  text-decoration: none;
}

.mkt-post h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.mkt-post p.mkt-post__meta {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Company */

.mkt-team {
  margin-top: 1.75rem;
}

.mkt-team h3 {
  margin-bottom: 0.75rem;
}

.mkt .social-links {
  margin-top: 1.5rem;
}

/* Final call to action */

.mkt-cta {
  margin: 1rem 0 0;
  padding: 3rem 1.5rem;
  border: 1px solid var(--callout-border);
  border-radius: 6px;
  background: var(--callout-bg);
  text-align: center;
}

.mkt-cta p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

.mkt-cta .mkt-hero__actions {
  margin-bottom: 0;
}
