:root {
  --bg: #081119;
  --bg-elevated: #0d1823;
  --bg-card: rgba(14, 25, 37, 0.84);
  --bg-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ecf3f6;
  --muted: #9fb2bd;
  --dim: #728796;
  --accent: #3fbf9c;
  --accent-strong: #6cd7b4;
  --accent-soft: rgba(63, 191, 156, 0.12);
  --danger: #ff8a8a;
  --text-inverse: #05110c;
  --max: 1220px;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --font-body: "Sora", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63, 191, 156, 0.07), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(79, 123, 255, 0.04), transparent 32%),
    linear-gradient(180deg, #071018 0%, #081119 45%, #0b151f 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

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

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

.page-shell {
  /* No overflow rule: any non-visible overflow on the sticky header's
     scroll ancestor breaks position: sticky. */
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 25, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2fa386);
  color: #05110c;
  box-shadow: 0 10px 24px rgba(63, 191, 156, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(108, 215, 180, 0.22);
  background: rgba(63, 191, 156, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(63, 191, 156, 0.45);
}

.eyebrow-minimal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-minimal::before,
.eyebrow-minimal::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
}

.hero {
  padding: 88px 0 72px;
}

.hero-home {
  padding: 72px 0 96px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-grid-home {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.hero-copy-main h1,
.page-hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  overflow-wrap: break-word;
}

.page-hero-copy h1,
.section-heading h2,
.card strong,
.comparison-card strong,
.story-card strong,
.contact-card h3,
.stat-panel strong {
  overflow-wrap: anywhere;
}

.hero-copy-main h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

.page-hero-copy.is-compact h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* ABAC explainer — sits inside the Understand pillar context as a content block,
   not an alert banner. Full rounded border to match pillar-card / comparison-card aesthetic. */
.abac-explainer {
  margin: 28px 0 0;
  padding: 28px 32px;
  border: 1px solid rgba(108, 215, 180, 0.22);
  background: rgba(63, 191, 156, 0.04);
  border-radius: 16px;
}

.abac-explainer__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.abac-explainer p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 72ch;
}

.abac-explainer p strong {
  color: var(--text);
}

.abac-explainer p em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-strong);
}

.hero-stack {
  font-size: clamp(3rem, 6.6vw, 5.75rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  font-weight: 800 !important;
  margin: 22px 0 24px !important;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-art img {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(63, 191, 156, 0.18));
}

.hero-copy p,
.hero-copy-main p,
.page-hero-copy p,
.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy .hero-lede,
.hero-copy-main .hero-lede,
.page-hero-copy .hero-lede {
  margin-top: 6px;
  color: var(--text);
  font-size: 1.15rem;
}

.hero-copy .hero-sub,
.page-hero-copy .hero-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.metric-grid-hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.metric-card,
.card,
.quote-card,
.comparison-card,
.story-card,
.pill-card,
.contact-card,
.stat-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.page-hero-copy,
.hero-copy-main,
.section-heading,
.flow-card,
.pillar-card,
.node-card {
  min-width: 0;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-frame {
  position: relative;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(8, 17, 25, 0.88);
  border: 1px solid rgba(108, 240, 198, 0.18);
  max-width: 260px;
}

.visual-badge strong,
.story-card strong,
.quote-card strong,
.comparison-card strong,
.card h3,
.contact-card h3,
.stat-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.visual-badge span,
.card p,
.story-card p,
.quote-card p,
.comparison-card p,
.contact-card p,
.stat-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .card-grid.card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .card-grid.card-grid-4 {
    grid-template-columns: 1fr;
  }
}

.card,
.story-card,
.comparison-card,
.quote-card,
.contact-card,
.stat-panel {
  padding: 24px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list,
.check-list,
.bullet-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.logo-chip,
.tag,
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.comparison-grid,
.story-grid,
.screenshot-grid,
.use-case-grid,
.contact-grid,
.stats-grid,
.platform-grid,
.surface-grid {
  display: grid;
  gap: 18px;
}

.comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.surface-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.screenshot-stack {
  display: grid;
  gap: 18px;
}

.screenshot-card {
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom: 1px solid var(--line);
}

.screenshot-card .card-copy {
  padding: 20px 22px 22px;
}

.split-copy {
  display: grid;
  gap: 18px;
}

.page-hero {
  padding: 70px 0 30px;
}

.mini-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.mini-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-line {
  display: grid;
  gap: 16px;
}

.stat-line .stat-panel {
  padding: 20px;
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 20px;
  color: rgba(108, 240, 198, 0.18);
  font-size: 4rem;
  line-height: 1;
}

.proof-band {
  padding: 18px 0 12px;
}

.proof-band .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .proof-band .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-home .container,
  .proof-band .container {
    width: min(350px, calc(100% - 40px));
    margin-left: 20px;
    margin-right: auto;
  }

  .page-hero-copy h1 {
    font-size: 2.2rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .hero-copy-main h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero-copy-main .hero-lede {
    font-size: 1rem;
  }

  .cta-row .btn {
    width: 100%;
  }

  .puma-stack {
    white-space: normal;
  }

  .proof-band .container {
    grid-template-columns: 1fr;
  }
}

.proof-pill {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  justify-content: center;
  gap: 6px;
  text-align: center;
  min-width: 0;
  min-height: 108px;
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.proof-pill strong {
  display: block;
  color: var(--text);
  line-height: 1.2;
}

.surface-card {
  padding: 22px;
}

.surface-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.surface-glyph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(108, 240, 198, 0.26);
  background: rgba(66, 209, 166, 0.09);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.footer {
  padding: 30px 0 50px;
  color: var(--dim);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .screenshot-grid,
  .contact-grid,
  .story-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid,
  .use-case-grid,
  .card-grid,
  .metric-grid,
  .logo-strip,
  .surface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    position: relative;
    min-height: 70px;
    gap: 12px;
    padding-right: 74px;
  }

  .brand {
    min-width: 0;
    padding-right: 72px;
  }

  .brand-logo {
    height: 30px;
    max-width: 96px;
  }

  .brand-name,
  .menu-toggle {
    flex-shrink: 0;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-width: 68px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
    background: rgba(63, 191, 156, 0.12);
    border-color: rgba(108, 215, 180, 0.28);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(8, 17, 25, 0.97);
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .btn {
    width: 100%;
  }

  .hero,
  .page-hero,
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-art {
    min-height: 0;
    margin-top: 24px;
  }

  .hero-art img {
    max-width: 420px;
  }

  .comparison-grid,
  .use-case-grid,
  .card-grid,
  .metric-grid,
  .logo-strip,
  .field-row,
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading > div,
  .section-heading p {
    width: 100%;
    min-width: 0;
  }

  .section-heading h2 {
    font-size: clamp(1.45rem, 7.8vw, 1.95rem);
  }

  .visual-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .visual-badge {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

/* card alignment fix: keep cards in a grid vertically consistent.
   Cards stretch to match their tallest sibling; content starts at the top,
   and any trailing CTA row is pushed to the bottom so shorter cards
   don't end in a dead zone of empty padding. */
.card-grid,
.comparison-grid,
.story-grid,
.use-case-grid,
.surface-grid {
  align-items: stretch;
}

.card-grid > .card,
.card-grid > .story-card,
.card-grid > .comparison-card,
.card-grid > .stat-panel,
.card-grid > .quote-card,
.card-grid > .screenshot-card,
.comparison-grid > .card,
.comparison-grid > .comparison-card,
.story-grid > .card,
.story-grid > .story-card,
.use-case-grid > .story-card,
.use-case-grid > .card,
.surface-grid > .surface-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-grid > .story-card > .cta-row,
.card-grid > .card > .cta-row,
.use-case-grid > .story-card > .cta-row,
.use-case-grid > .card > .cta-row {
  margin-top: auto;
}

.card-grid > .screenshot-card .card-copy {
  flex: 1;
}

/* screenshot-card: if the caption is empty, collapse it so it doesn't
   leave an empty rectangle below the image. */
.screenshot-card .card-copy:empty {
  display: none;
}

/* category-grid: 2x2 layout where the first card is the section category/title
   and the remaining three are the comparison items. */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-grid > .comparison-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-grid > .comparison-card > .cta-row {
  margin-top: auto;
}

.category-card .kicker {
  color: var(--accent);
  font-size: 0.82rem;
}

.category-strong {
  display: block;
  margin-bottom: 14px !important;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* screenshot-grid: stretch to equal heights; children handle their own
   internal distribution so image cards don't leave dead space. */
.screenshot-grid {
  align-items: stretch;
}

.screenshot-grid > .card,
.screenshot-grid > .screenshot-card,
.screenshot-grid > .split-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.screenshot-grid > .screenshot-card .card-copy {
  flex: 1;
}

.screenshot-grid > .split-copy {
  align-self: start;
}

/* When both children of a screenshot-grid are screenshot-cards (image pair),
   use equal columns so image widths match and cards align cleanly. */
.screenshot-grid.screenshot-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.screenshot-grid.screenshot-pair > .screenshot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.screenshot-grid.screenshot-pair > .screenshot-card .card-copy {
  flex: 1;
}

/* Cap screenshot-card image height so a portrait screenshot doesn't tower
   over a landscape neighbor in the same row or stack. */
.screenshot-card img {
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}

.screenshot-stack .screenshot-card img {
  max-height: 300px;
}

/* screenshot-stack: ensure all children stretch to equal cell widths. */
.screenshot-stack {
  align-items: stretch;
}

.screenshot-stack > .card,
.screenshot-stack > .screenshot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Compact metric-grid for narrow hero columns (2x2 instead of 1x4). */
.metric-grid.metric-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .metric-grid.metric-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* Keep metric-card numeric strong from wrapping awkwardly in tight cells. */
.metric-card strong {
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
}

/* Tighten hero metric cards inside split-grid page heros where width is
   half the container. */
.page-hero .metric-grid {
  margin-top: 28px;
}

.benchmark-screenshot {
  margin: 32px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8, 17, 25, 0.6);
  box-shadow: var(--shadow);
}

.benchmark-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}


/* Nav Contact Us: force the primary-button black text (the generic
   .site-nav a rule was overriding .btn-primary color with muted gray). */
.site-nav a.btn.btn-primary,
.site-nav a.btn.btn-primary:hover {
  color: #05110c;
}

/* PUMA acronym highlight — accent-color the leading P/U/M/A of the
   stacked hero headline so the acronym reads at a glance. */
.hero-stack .puma-letter {
  color: var(--accent-strong);
}

/* Founder link — accent-colored, subtle underline. */
.founder-link {
  color: var(--accent-strong);
  border-bottom: 1px solid rgba(108, 215, 180, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.founder-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent-strong);
}

/* Keep the Talk to a Founder button from wrapping its text. */
.btn {
  white-space: nowrap;
}

/* Founder block: stack the eyebrow + heading + body in a single
   center-constrained column so the long credibility paragraph reads
   cleanly instead of sitting in a side-by-side mismatch with the H2. */
.founder-block {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.founder-block h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.founder-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

/* Dark-theme styling for native select dropdown options. The select
   element itself is themed via the input/select/textarea rule, but
   the option list opens with browser-default white. Force the dark
   panel and accent text so options are readable. */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #0d1823;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}

select option {
  background-color: #0d1823;
  color: var(--text);
  padding: 10px;
}

select option:disabled {
  color: var(--dim);
}

select option:checked,
select option:hover {
  background-color: var(--accent);
  color: #05110c;
}

/* About page "Mission" block: full-width title, two-column body below. */
.mission-heading {
  display: block;
  text-align: left;
}

.mission-heading h2 {
  max-width: none;
}

.mission-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mission-body p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}

@media (max-width: 760px) {
  .mission-body {
    grid-template-columns: 1fr;
  }
}

/* Homepage comparison table for the Differentiation section. */
.compare-table {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > div {
  padding: 18px 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.97rem;
}

.compare-row > div:first-child {
  border-left: 0;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-head {
  background: rgba(255, 255, 255, 0.03);
}

.compare-head > div {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-row .compare-win {
  color: #05110c;
  background: linear-gradient(135deg, var(--accent), #2fa386);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(63, 191, 156, 0.4);
}

@media (max-width: 760px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row > div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .compare-row > div:first-child {
    border-top: 0;
  }
  .compare-head {
    display: none;
  }
}

/* Homepage outcomes grid — supports 2 rows of cards gracefully. */
.card-grid.card-grid-5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .card-grid.card-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid.card-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* Homepage "how it works" node trio. */
.node-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .node-trio {
    grid-template-columns: 1fr;
  }
}

.node-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-align: center;
}

.node-card .node-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 240, 198, 0.26);
  background: rgba(66, 209, 166, 0.09);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.node-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.node-quote {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

/* Center a single-column section heading on the homepage. */
.section-heading.is-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading.is-centered p {
  max-width: 64ch;
}

/* Benchmark highlight block. */
.benchmark-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.benchmark-highlight .big-number {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
}

.benchmark-highlight p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .benchmark-highlight {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =============================================================
   Narrative-era components — pillar strip, three-flow grid,
   AI highlight. Layered additively on top of the existing
   design system.
   ============================================================= */

/* PUMA four-verb pillar strip (Protect / Understand / Move / Accelerate) */
.pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .pillar-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pillar-strip {
    grid-template-columns: 1fr;
  }
}

/* Pillar cards use CSS grid so the big display letter sits on the same
   row as the title, and the body + bullets span both columns below. */
.pillar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  height: 100%;
}

.pillar-card > .pillar-glyph {
  /* Big display letter, not a box */
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent-strong);
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.pillar-card > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.pillar-card > p,
.pillar-card > ul {
  grid-column: 1 / -1;
}

.pillar-card > p:first-of-type {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.pillar-card ul li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.pillar-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero split layout — superlative claim on the left, PUMA stacked
   acronym as the brand-visual on the right. */
.hero-puma-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-puma-split > *,
.hero-copy-main {
  min-width: 0;
}

.hero-puma {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.hero-puma-mark {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 18px 44px rgba(63, 191, 156, 0.24));
}

.puma-stack {
  display: grid;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.puma-stack .puma-line {
  display: block;
}

.puma-stack .puma-letter {
  color: var(--accent-strong);
}

.compliance-band-hero {
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .hero-puma-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-puma {
    justify-content: flex-start;
    align-items: flex-start;
  }
  .hero-puma-mark {
    max-width: 240px;
  }
  .puma-stack {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }
}

/* Three-flow grid (Machine → Machine, Machine → Person, Person → Person) */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

.flow-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  height: 100%;
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 240, 198, 0.26);
  background: rgba(66, 209, 166, 0.09);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
}

.flow-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.flow-card ul li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* AI highlight block — used for Windows+Linux and AI-era callouts */
.ai-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(108, 215, 180, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(63, 191, 156, 0.08), rgba(79, 123, 255, 0.05));
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  .ai-highlight {
    grid-template-columns: 1fr;
  }
}

.ai-highlight h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.ai-highlight p {
  margin: 0;
  color: var(--muted);
}

.ai-highlight ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.ai-highlight ul li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.ai-highlight ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Reframed hero for the homepage superlative headline. Replaces the
   stacked-acronym treatment with a single wide headline; keeps
   hero-home padding. */
.hero-lead h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-lead h1 em {
  font-style: normal;
  color: var(--accent-strong);
}

.hero-lead .hero-sub {
  font-size: 1.05rem;
}

/* Comparison table variant for vs-legacy-mft page — inherits compare-table
   but widens the first column for longer criterion names. */
.compare-table.compare-wide .compare-row {
  grid-template-columns: 1.4fr 1.3fr 1.3fr;
}

@media (max-width: 760px) {
  .compare-table.compare-wide .compare-row {
    grid-template-columns: 1fr;
  }
}

/* Compliance framework band — framework pills in a wrap row, used on
   homepage, ai, security, and vs-legacy-mft pages to make the breadth
   of control coverage scannable. */
.compliance-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.compliance-band.compliance-band--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .compliance-band.compliance-band--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .compliance-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compliance-band.compliance-band--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .compliance-band {
    grid-template-columns: 1fr;
  }
  .compliance-band.compliance-band--5 {
    grid-template-columns: 1fr;
  }
}

.compliance-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(108, 215, 180, 0.26);
  background: rgba(63, 191, 156, 0.06);
  color: var(--muted);
  font-size: 0.86rem;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.compliance-pill strong {
  color: var(--accent-strong);
  font-weight: 600;
}

.compliance-pill.compliance-pill-primary {
  border-color: rgba(108, 215, 180, 0.55);
  background: rgba(63, 191, 156, 0.14);
  color: var(--text);
}

/* Tokenize the primary-button text color we had hardcoded. */
.btn-primary {
  color: var(--text-inverse);
}

.site-nav a.btn.btn-primary,
.site-nav a.btn.btn-primary:hover {
  color: var(--text-inverse);
}

.compare-row .compare-win {
  color: var(--text-inverse);
}

select option:checked,
select option:hover {
  color: var(--text-inverse);
}

.visual-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.mesh-diagram { color: var(--text); }
.mesh-diagram__hub { fill: rgba(63, 191, 156, 0.14); stroke: var(--accent, #6cd7b4); stroke-width: 2; }
.mesh-diagram__hub-label { font-family: "Sora", sans-serif; font-size: 15px; font-weight: 700; fill: var(--accent, #6cd7b4); letter-spacing: 0.08em; }
.mesh-diagram__hub-sub { font-family: "IBM Plex Mono", monospace; font-size: 9px; fill: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; text-transform: uppercase; }
.mesh-diagram__node { fill: rgba(255, 255, 255, 0.04); stroke: rgba(108, 215, 180, 0.55); stroke-width: 1.4; }
.mesh-diagram__node--nat { stroke-dasharray: 3 3; stroke: rgba(235, 180, 110, 0.7); }
.mesh-diagram__node-label { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; fill: rgba(255, 255, 255, 0.88); }
.mesh-diagram__note { font-family: "IBM Plex Mono", monospace; font-size: 9px; fill: rgba(235, 180, 110, 0.75); letter-spacing: 0.06em; text-transform: uppercase; }
.mesh-diagram__link { fill: none; stroke: rgba(108, 215, 180, 0.55); stroke-width: 1.5; }
.mesh-diagram__link--assisted { stroke: rgba(235, 180, 110, 0.55); stroke-dasharray: 5 4; }
.mesh-diagram__edge-label { font-family: "IBM Plex Mono", monospace; font-size: 10px; fill: rgba(108, 215, 180, 0.75); letter-spacing: 0.08em; text-transform: uppercase; }
.mesh-diagram__edge-label--assisted { fill: rgba(235, 180, 110, 0.7); }

.hub-footnote {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent, #6cd7b4);
  background: rgba(108, 215, 180, 0.05);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.hub-footnote strong { color: var(--text); }
