:root {
  --fg: #1b1b1b;
  --muted: #6b6b6b;
  --bg: #f5f5f5;
  --site-header-h: 52px;
  --flow-sticky-half: 180px;
  /* Same inset as product-demo-animation .page-demo (outer margins to the demo card) */
  --demo-edge: max(16px, 2vmin);
  --demo-inner-max: 1100px;
  /** Uniform scale for embed (layout inside iframe unchanged; only the painted size shrinks) */
  --demo-scale: 0.93;
  --demo-iframe-h: min(704px, 92vh);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main {
  overflow: visible;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Display',
    'SF Pro Text',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.mono-thin {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  background: rgba(245, 245, 245, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(27, 27, 27, 0.06);
}

/* Same horizontal frame as .shell — edge inset matches main content */
.site-header-shell {
  max-width: calc(var(--demo-inner-max) + 2 * var(--demo-edge));
  margin: 0 auto;
  padding: 0 var(--demo-edge);
}

/* Same width as .landing-column so logo/nav align with hero + demo */
.site-header-inner {
  max-width: min(calc(var(--demo-inner-max) * var(--demo-scale)), 100%);
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.site-logo:hover {
  opacity: 0.72;
}

.site-logo:focus-visible {
  outline: 2px solid rgba(27, 27, 27, 0.35);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-nav a:not(.btn) {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.site-nav a:not(.btn):hover {
  color: var(--fg);
}

.site-nav a:not(.btn):focus-visible {
  outline: 2px solid rgba(27, 27, 27, 0.35);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header .btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--bg);
  background: var(--fg);
  border-color: var(--fg);
}

.site-header .btn:hover {
  background: #2e2e2e;
  border-color: #2e2e2e;
  color: var(--bg);
}

.site-header .btn:active {
  color: var(--bg);
}

@media (max-width: 760px) {
  .site-header-inner {
    flex-wrap: nowrap;
    gap: 12px 16px;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 14px 18px;
    min-width: 0;
  }

  .site-header .site-nav a[href*='features-heading'],
  .site-header .site-nav a[href*='workflow-heading'] {
    display: none;
  }

  .site-header .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

#features-heading,
#workflow-heading,
#cta-heading {
  scroll-margin-top: 88px;
}

/* Same horizontal bounds as .page-demo + min(1100px) viewport (see product-demo-animation.html) */
.shell {
  max-width: calc(var(--demo-inner-max) + 2 * var(--demo-edge));
  margin: 0 auto;
  padding: clamp(36px, 9vw, 96px) var(--demo-edge) clamp(48px, 10vw, 96px);
  overflow: visible;
}

/*
 * Column width = scaled demo visual width (no dead band beside the video).
 * iframe uses layout width 100%/scale then transform: scale() so the painted demo fills this column edge-to-edge.
 */
.landing-column {
  max-width: min(calc(var(--demo-inner-max) * var(--demo-scale)), 100%);
  width: 100%;
  margin-inline: auto;
  overflow: visible;
}

.landing-hero-block {
  width: 100%;
}

.landing-intro {
  width: 100%;
  text-align: left;
}

.hero-text-column {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 5vh;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 13px;
  color: var(--muted);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.32;
  max-width: 18ch;
}

.hero-text-column h1 {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-text-column h1 {
    white-space: normal;
  }
}

.landing-below {
  margin-top: clamp(20px, 6vw, 72px);
  padding-top: clamp(32px, 2vw, 56px);
  overflow: visible;
}

.section-block + .section-block {
  margin-top: clamp(72px, 50vw, 180px);
}

.partners-section + .cta-section {
  margin-top: clamp(104px, 16vw, 168px);
}

.cta-section + .cube-section {
  margin-top: clamp(20px, 4vw, 40px);
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 32px);
}

.partners-intro {
  flex: 1 1 auto;
  min-width: 0;
}

.partners-row .section-title {
  margin: 0;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 5vw, 48px);
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners-logos li {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.partners-logos img {
  display: block;
  height: clamp(34px, 5.5vw, 54px);
  width: auto;
  max-width: min(176px, 40vw);
  object-fit: contain;
  opacity: 0.72;
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-logos li:hover img {
  opacity: 1;
  filter: brightness(0.42);
}

@media (max-width: 560px) {
  .partners-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-logos {
    justify-content: flex-start;
    width: 100%;
  }
}

.partners-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.partners-section .reviews-masonry {
  margin-top: clamp(28px, 5vw, 48px);
}

.reviews-masonry {
  column-count: 3;
  column-gap: clamp(16px, 2.2vw, 22px);
}

.review-card {
  break-inside: avoid;
  margin-bottom: clamp(16px, 2.2vw, 22px);
  padding: clamp(18px, 2.4vw, 22px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 27, 27, 0.1);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(27, 27, 27, 0.04);
}

.review-card__quote {
  margin: 0 0 clamp(16px, 2.5vw, 20px);
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 27, 27, 0.12), rgba(27, 27, 27, 0.06));
  border: 1px solid rgba(27, 27, 27, 0.08);
}

.review-card__meta {
  min-width: 0;
}

.review-card__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.review-card__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.review-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #3b82f6;
  color: #fff;
}

.review-card__verified svg {
  width: 6px;
  height: 6px;
  display: block;
}

.review-card__role {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

@media (max-width: 900px) {
  .reviews-masonry {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .reviews-masonry {
    column-count: 1;
  }
}

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

h2.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section-lede {
  margin: 0 0 clamp(28px, 5vw, 40px);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

/* Body copy: SF Mono (matches nav / labels) */
.lede,
.section-lede,
.feature-card p,
.flow-steps li p {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.02em;
}

.workspace-section .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.5vw, 18px);
  min-width: 0;
}

.workspace-section .feature-card {
  padding: clamp(18px, 3vw, 22px);
  background: transparent;
  border: 1px solid rgba(27, 27, 27, 0.1);
  border-radius: 14px;
  box-shadow: none;
}

.feature-card-thumb {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background: rgba(27, 27, 27, 0.04);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.feature-card p + p {
  margin-top: 0.85em;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(18px, 3vw, 24px);
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: start;
  padding-bottom: clamp(18px, 3vw, 22px);
  border-bottom: 1px solid rgba(27, 27, 27, 0.06);
}

.steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-num {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 3px;
}

.steps li strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--fg);
}

.steps li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Flow & workspace: left column sticky; row height from grid content only (features and flow match) */
.flow-section,
.workspace-section {
  overflow: visible;
}

.flow-pin-track {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.flow-pin-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: stretch;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  background: var(--bg);
}

.flow-col--left {
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.flow-visual-sticky {
  position: -webkit-sticky;
  position: sticky;
  /* Prefer vertical center; never underlap the fixed header */
  top: max(var(--site-header-h, 52px), calc(50vh - var(--flow-sticky-half, 180px)));
  z-index: 5;
  width: 100%;
  max-width: 100%;
}

.flow-col--right {
  min-width: 0;
}

/* Scroll-linked fade: mask from JS — top fade only when list sits above .flow-visual-col top */
.flow-steps-wrap {
  min-width: 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (min-width: 761px) {
  .flow-section .flow-steps-wrap {
    /* Start the step list slightly lower so the top fade feels less abrupt vs the left column */
    padding-top: clamp(28px, 5vw, 52px);
  }
}

.flow-visual-col {
  min-width: 0;
}

/* Character mesh: slightly shorter than 5:3; full width of the left column. */
.workspace-section .workspace-dot-grid-frame {
  width: 100%;
  margin: clamp(20px, 4vw, 32px) 0 0;
  aspect-ratio: 5 / 2.68;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
}

.workspace-section .workspace-dot-grid-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.flow-visual-col .section-title {
  max-width: 20ch;
}

.flow-visual-col .section-lede {
  max-width: 38ch;
}

.flow-placeholder-frame {
  width: 100%;
  margin: clamp(20px, 4vw, 32px) 0 0;
  border-radius: 10px;
  border: 1px solid rgba(27, 27, 27, 0.08);
  background: #faf7fb;
  aspect-ratio: 5 / 3;
  position: relative;
  overflow: hidden;
}

/* Absolute fill so % height never collapses before aspect-ratio resolves */
.flow-section .flow-placeholder-frame canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.flow-section .flow-steps li:first-child {
  padding-top: 0;
}

.flow-section .flow-steps li:first-child .step-num {
  padding-top: 0;
}

.flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: start;
  /* Tighter rhythm so ~4 steps fit the left-column “window” (eyebrow → placeholder) */
  padding: clamp(12px, 2vw, 18px) 0;
  border-bottom: 1px solid rgba(27, 27, 27, 0.06);
}

.flow-steps li:last-child {
  border-bottom: 0;
}

.flow-steps .step-num {
  padding-top: 3px;
  font-size: 13px;
}

.flow-steps li strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--fg);
}

.flow-steps li p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 760px) {
  .flow-pin-track {
    display: block;
  }

  .flow-pin-row {
    grid-template-columns: 1fr;
  }

  .flow-col--left {
    height: auto;
  }

  .flow-visual-sticky {
    position: relative;
    top: auto;
  }

  .flow-steps-wrap {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .flow-steps li {
    padding: clamp(18px, 3vw, 24px) 0;
  }
}

.cta-section {
  text-align: center;
}

.cta-section .section-title {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .section-lede {
  margin-bottom: clamp(22px, 4vw, 32px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid rgba(27, 27, 27, 0.14);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  background: #ebebeb;
  border-color: rgba(27, 27, 27, 0.22);
}

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

/* Matches .site-header .btn; slightly shorter vertical padding */
.cta-section .btn-cta {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--bg);
  background: var(--fg);
  border-color: var(--fg);
  border-radius: 8px;
  box-shadow: none;
  margin: 10px;
}

.cta-section .btn-cta:hover {
  background: #2e2e2e;
  border-color: #2e2e2e;
  color: var(--bg);
}

.cta-section .btn-cta:active {
  color: var(--bg);
}

/*
 * Cube vertical placement (index.html only):
 * · gap after CTA — .cta-section + .cube-section (margin-top)
 * · padding-top — empty space above the ASCII art
 * · #ascii-cube margin-top — nudge just the pre without changing the fade/footer mask
 */
.cube-section {
  position: relative;
  z-index: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(40px, 7vw, 72px);
  padding-bottom: clamp(12px, 3vw, 28px);
  border-top: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.cube-wrap {
  position: relative;
  z-index: 0;
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
}

/* Fade cube into page bg; footer sits on top and hides the rest */
.cube-footer-mask {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(100vw, calc(100% + 64px));
  height: clamp(88px, 24vw, 200px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0) 0%,
    rgba(245, 245, 245, 0.2) 22%,
    rgba(245, 245, 245, 0.55) 48%,
    rgba(245, 245, 245, 0.88) 72%,
    var(--bg) 100%
  );
}

#ascii-cube {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  font-size: clamp(5.5px, 0.78vw, 9px);
  line-height: 1.05;
  white-space: pre;
  cursor: crosshair;
  user-select: none;
  margin: -20px; /* or e.g. margin-top: 24px; to shift only the cube */
  color: rgba(145, 145, 145, 0.97);
  flex-shrink: 0;
}

.site-footer {
  --footer-label: var(--fg);
  --footer-link: rgba(27, 27, 27, 0.36);
  --footer-link-hover: rgba(27, 27, 27, 0.52);
  --footer-copy: rgba(27, 27, 27, 0.34);
  position: relative;
  z-index: 2;
  margin-top: clamp(-100px, -15vw, -56px);
  padding-top: clamp(18px, 3vw, 28px);
  padding-bottom: clamp(16px, 3vw, 28px);
  border-top: 1px solid rgba(27, 27, 27, 0.06);
  background: var(--bg);
  width: 100%;
  text-align: left;
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(16px, 3vw, 28px);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  justify-items: start;
  gap: clamp(14px, 3vw, 24px) clamp(28px, 5vw, 56px);
  align-items: start;
  width: max-content;
  max-width: 100%;
}

.site-footer-heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--footer-label);
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-links a {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--footer-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer-links a:hover {
  color: var(--footer-link-hover);
}

.site-footer-links a:focus-visible {
  outline: 2px solid rgba(27, 27, 27, 0.28);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--footer-copy);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 520px) {
  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .site-footer-copy {
    text-align: left;
    grid-row: 1;
  }

  .site-footer-grid {
    grid-row: 2;
  }
}

@media (max-width: 420px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.lede {
  margin: 0 0 clamp(32px, 6vw, 56px);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-text-column .lede {
  max-width: 100%;
}

/*
 * Border + radius live on .demo-zoom-viewport inside the iframe.
 * scale() keeps internal layout identical; negative margin collapses the 20% layout gap below the iframe.
 */
.demo-frame {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.demo-scale-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
}

.demo-scale-wrap iframe {
  display: block;
  width: calc(100% / var(--demo-scale));
  max-width: none;
  height: var(--demo-iframe-h);
  border: 0;
  transform: scale(var(--demo-scale));
  transform-origin: top left;
  /* Collapse layout gap: transform doesn’t shrink the box, so pull up by (1 − scale) × height */
  margin-bottom: calc((var(--demo-scale) - 1) * var(--demo-iframe-h));
  /* Block interaction with embedded demo (scroll/clicks); kiosk behavior also set inside embed */
  pointer-events: none;
}

@media (max-width: 760px) {
  /*
   * Let touches hit the iframe document so pan-y + overscroll chaining (product-demo.css) can
   * scroll the parent page; pointer-events: none breaks this on many mobile browsers.
   */
  .demo-scale-wrap iframe {
    pointer-events: auto;
  }
}

/* About, privacy, terms */
.simple-page {
  width: 100%;
  padding-top: clamp(4px, 1.5vw, 12px);
  padding-bottom: clamp(24px, 5vw, 48px);
}

.simple-page__article {
  max-width: 62ch;
}

.simple-page__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.simple-page__title {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(1.5rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--fg);
}

.simple-page__title--about {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Display',
    'SF Pro Text',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
  color: #141414;
}

.simple-page__body {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.simple-page__body p {
  margin: 0 0 2em;
}

.simple-page__body h2 {
  margin: 1.75em 0 0.5em;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.simple-page__body ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.simple-page__body li {
  margin-bottom: 0.35em;
}

.simple-page__body a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.simple-page__body--about {
  color: #666666;
  font-size: 14px;
  line-height: 1.65;
}

.simple-page__article--about > .section-eyebrow {
  color: #888888;
  font-size: 14px;
}

.about-team {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  text-align: left;
}

.about-team__photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(2rem, 3.5vw, 2.55rem);
}

.about-team__cell {
  min-width: 0;
  width: 100%;
}

.about-team__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

/* Beat .simple-page__body a { underline } on photo links — never underline [n] labels */
.simple-page__body--about a.about-team__link {
  text-decoration: none;
}

.simple-page__body--about a.about-team__link .about-team__idx {
  text-decoration: none;
}

.about-team__link:focus-visible {
  outline: 2px solid rgba(27, 27, 27, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.about-team__idx {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: inherit;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #666666;
}

.about-team__img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  /* Grayscale on wrapper so `transform` on the img still works (filter+transform on same node breaks zoom in WebKit) */
}

.about-team__img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.about-team__link:hover .about-team__img {
  transform: scale3d(1.05, 1.05, 1);
}

.simple-page__body--about ul.about-team__names {
  list-style: none;
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  padding: 0;
  text-align: left;
}

.about-team__names {
  font-family: 'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: -0.02em;
  color: #666666;
}

.about-team__names li {
  margin: 0 0 0.35em;
  padding: 0;
  text-align: left;
}

.about-team__names li:last-child {
  margin-bottom: 0;
}

.about-team__names .about-team__idx {
  margin-right: 0.4em;
}

.simple-page__body--about .about-team__name-link {
  color: #666666;
  text-decoration: none;
}

.simple-page__body--about .about-team__name-link:hover {
  color: #666666;
}

.simple-page__body--about .about-team__name-link .about-team__idx {
  color: #666666;
}

.simple-page__body--about .about-team__name-text {
  text-decoration: none;
  color: #666666;
}

.simple-page__body--about .about-team__name-link:hover .about-team__name-text {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-page__body--about .about-team__name-link:focus-visible .about-team__name-text {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-team__name-link:focus-visible {
  outline: 2px solid rgba(27, 27, 27, 0.35);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 560px) {
  .about-team__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Standalone pages (about, privacy, terms): footer follows content, no cube overlap */
main.landing-column > .site-footer {
  margin-top: clamp(40px, 7vw, 72px);
}

/* Section stagger (page-stagger.js adds .stagger-scope / .stagger-item).
   @keyframes lives at the top level — Safari drops keyframes nested in @media. */
@keyframes stagger-fade-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Section entrance stagger (see @media (prefers-reduced-motion: reduce) below for OS “Reduce motion”). */
.stagger-scope .stagger-item {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

/* Logo <li> is the stagger target; no transition on li so keyframe opacity wins (hover uses img filter). */
.stagger-scope .partners-logos li.stagger-item {
  transition: none;
}

.stagger-scope.is-stagger-visible .stagger-item {
  animation: stagger-fade-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 0.052s);
}

/* Testimonial cards: slightly longer run + spacing between bubbles */
.stagger-scope.partners-section.is-stagger-visible .review-card.stagger-item {
  animation-duration: 0.7s;
  animation-delay: calc(var(--stagger-i, 0) * 0.068s);
}

/*
 * macOS “Reduce motion” / prefers-reduced-motion: reduce — Chrome & Safari may still throttle or
 * zero-out motion. Re-assert the same rules inside this media query with !important so the site
 * keeps full motion (explicit product choice for this marketing site).
 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: smooth !important;
  }

  .stagger-scope:not(.is-stagger-visible) .stagger-item {
    opacity: 0 !important;
    transform: translate3d(0, 16px, 0) !important;
  }

  .stagger-scope .partners-logos li.stagger-item {
    transition: none !important;
  }

  .stagger-scope.is-stagger-visible .stagger-item {
    animation: stagger-fade-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    animation-delay: calc(var(--stagger-i, 0) * 0.052s) !important;
  }

  .stagger-scope.partners-section.is-stagger-visible .review-card.stagger-item {
    animation-duration: 0.9s !important;
    animation-delay: calc(var(--stagger-i, 0) * 0.1s) !important;
  }
}
