/* ==========================================================================
   Launchpad Studio — marketing site
   Design system: light, monochrome-first, a single solid accent color used
   sparingly (one button fill, links, one highlight). No gradients, no
   glassmorphism, no glow. Real product screenshots framed in plain bordered
   cards do the visual work. Plain semantic CSS — no utility-class framework.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  /* Text */
  --text: #101215;
  --text-muted: #52565e;
  --text-faint: #8a8f98;

  /* The one accent color in the whole page */
  --accent: #EC2C82;
  --accent-dark: #C81E68;
  --accent-soft: #FFF0F6;

  /* Roster avatars only — a small set of flat colors so teammates read as
     distinct people at a glance, still no gradients/glow */
  --avatar-research: #0f766e;
  --avatar-marketing: #c2410c;
  --avatar-sales: #6d28d9;
  --avatar-support: #be123c;
  --avatar-ops: #15803d;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape */
  --radius-sm: 0.4rem;
  --radius: 0.6rem;
  --radius-lg: 0.9rem;
  --shadow: 0 1px 2px rgba(16, 18, 21, 0.04), 0 12px 28px -12px rgba(16, 18, 21, 0.12);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Sections — plain, generous whitespace, alternating flat backgrounds
   ========================================================================== */
.section {
  padding-block: 4.5rem;
}

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

.section--solid-accent {
  background: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   Buttons & chips
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  opacity: 0.85;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text-faint);
  background: var(--bg-alt);
}

.btn--sm {
  padding: 0.5rem 1.05rem;
  font-size: 0.82rem;
}

.btn svg {
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.highlight {
  background: #D4F4E4;
  color: var(--text);
  padding: 0.1rem 0.4rem;
  font-weight: 600;
  white-space: nowrap;
  border-left: 2px solid #00AF57;
  border-bottom: 2px solid #00AF57;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, border-bottom-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-nav--scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.site-nav__brand img {
  width: 34px;
  height: 34px;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav__icon-link:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

/* ==========================================================================
   Eyebrow / section heading
   ========================================================================== */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head__list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  list-style: decimal;
}

.section-head__list li {
  line-height: 1.5;
}

.section-head__list li strong {
  color: var(--text);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: 3.5rem 1.25rem;
  position: relative;
}

.top-pattern {
  display: none;
  position: absolute;
  top: -4rem;
  right: -5rem;
  width: 26rem;
  height: 26rem;
  background-image: radial-gradient(var(--accent) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 5;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.hero__badge {
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.4rem;
}

.hero__title .accent {
  color: var(--accent);
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 2.1rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__side {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__team-graphic {
  display: block;
  width: 135%;
  max-width: 135%;
  height: auto;
  margin: -0.5rem 0 0 -10%;
}

.hero__shot {
  cursor: zoom-in;
}

.hero__shot img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  width: 100%;
  transition: transform 0.25s ease;
}

.hero__shot:hover img {
  transform: translateY(-2px);
}

/* ==========================================================================
   Showcase (feature pills + video)
   ========================================================================== */
.showcase {
  padding-block: 0.5rem 4.5rem;
}

.showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.showcase__tab {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.showcase__tab:hover {
  border-color: var(--text-faint);
}

.showcase__tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Fixed-height box so switching tabs never shifts the page — content is
   vertically centered and clamped, sized generously for mobile's narrower
   line width, then tightened to a true two-line box at desktop. */
.showcase__desc {
  max-width: 640px;
  height: 4.6rem;
  margin: 0 auto 2rem;
  padding-inline: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.showcase__desc p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.showcase__feature {
  color: var(--text);
}

.showcase__lead {
  color: var(--accent);
  font-weight: 600;
}

.showcase__frame {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase__video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.showcase__placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.showcase__placeholder.is-visible {
  display: flex;
}

/* ==========================================================================
   OSS statement band
   ========================================================================== */
.oss-band {
  padding-block: 4rem;
  text-align: center;
}

.oss-band__inner {
  max-width: 640px;
  margin-inline: auto;
}

.oss-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.9rem;
}

.oss-band p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.oss-band__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.oss-band__note a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-strong);
}

.oss-band__note a:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

/* ==========================================================================
   Screenshot gallery
   ========================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Screenshot + stat-card stack, side by side on desktop: the shot-card takes
   the wider column on the left, .gallery__cards stacks vertically to its
   right (see the --split rules in the responsive block below). */
.gallery__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Soft pink glow that rises from the section's bottom edge, fading out as it
   climbs. Stays a translucent tint (never reaches the solid --accent used by
   the Autonomy Ladder section below), so that section keeps a crisp, sharp
   top edge instead of blending into this one. */
.gallery {
  position: relative;
  z-index: 0;
}

.gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 560px;
  background: linear-gradient(to top,
      rgba(236, 44, 130, 0.32) 0%,
      rgba(236, 44, 130, 0.12) 40%,
      rgba(236, 44, 130, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.shot-card {
  display: flex;
  flex-direction: column;
}

.shot-card__eyebrow {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.shot-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.shot-card__frame {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.shot-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.shot-card__frame:hover img {
  transform: scale(1.01);
}

/* ==========================================================================
   Autonomy ladder
   ========================================================================== */
.ladder__rows {
  display: flex;
  flex-direction: column;
}

.ladder__row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
}

.ladder__row:first-child {
  border-top: none;
}

.ladder__num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-faint);
}

.ladder__row:hover .ladder__num {
  color: var(--accent);
}

.ladder__body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.ladder__body p {
  color: var(--text-muted);
  max-width: 60ch;
}

/* Solid-accent band: flip text to white/translucent-white for contrast */
.section--solid-accent .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section--solid-accent .section-head h2 {
  color: #ffffff;
}

.section--solid-accent .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

.section--solid-accent .ladder__row {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.section--solid-accent .ladder__num {
  color: rgba(255, 255, 255, 0.5);
}

.section--solid-accent .ladder__row:hover .ladder__num {
  color: #ffffff;
}

.section--solid-accent .ladder__body h3 {
  color: #ffffff;
}

.section--solid-accent .ladder__body p {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Compounding layer
   ========================================================================== */
.compound-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(236, 44, 130, 0.22);
  color: var(--accent);
}

.compound-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.compound-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Under the hood
   ========================================================================== */
.hood__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hood__tree {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}

.hood__tree div {
  display: flex;
  gap: 1rem;
  padding-block: 0.2rem;
  white-space: nowrap;
}

.hood__tree .path {
  color: var(--accent);
}

.hood__tree .desc {
  color: var(--text-faint);
}

.hood__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.terminal {
  background: #101215;
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.terminal__dot--r {
  background: #ff5f56;
}

.terminal__dot--y {
  background: #ffbd2e;
}

.terminal__dot--g {
  background: #27c93f;
}

.terminal__body {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 1.1rem 1.25rem;
  color: #c7cad1;
  line-height: 1.7;
}

.terminal__body .prompt {
  color: #7dd3fc;
  margin-right: 0.6rem;
}

.hood__note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.75rem 1.75rem 2rem;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.site-footer__brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.site-footer__tag {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.social:hover {
  border-color: var(--text-faint);
}

.social img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__links a:hover {
  color: var(--text-muted);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 21, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 768px) {

  .hero__cta,
  .hero__trust {
    justify-content: flex-start;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid--split {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }

  .gallery__grid--split .shot-card__frame {
    flex: 1;
    min-height: 0;
  }

  .showcase__desc {
    max-width: 760px;
    height: 3.6rem;
    margin-bottom: 2.25rem;
  }

  .showcase__desc p {
    font-size: 1.05rem;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .gallery__cards {
    align-content: center;
  }

  .site-footer__top {
    flex-direction: row;
    text-align: left;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .top-pattern {
    display: block;
  }

  .section {
    padding-block: 7.5rem;
  }

  .hero {
    padding-block: 5rem 3rem;
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .hero__side {
    display: flex;
  }

  .oss-band {
    padding-block: 6rem;
  }

  .hood__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ladder__row {
    grid-template-columns: 4.5rem 1fr;
  }
}