/* Approved SaaS bolt-on. Scoped so it cannot restyle the production hero. */
.saas {
  --paper: #f6f4ef;
  --paper2: #eeebe4;
  --saas-ink: #151515;
  --saas-muted: #676767;
  --saas-line: #d9d5cc;
  --saas-orange: #f48120;
  --orange2: #ffad62;
  --dark: #0b0d10;
  --dark2: #101319;
  --dark3: #151920;
  --darkline: #252b33;
  --saas-white: #f7f8fa;
  --darkmuted: #a5adb8;
  --green: #86d9a5;
  color: var(--saas-white);
  background: var(--dark);
}

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

.saas a:focus-visible,
.saas button:focus-visible,
.saas summary:focus-visible {
  outline: 2px solid var(--saas-orange);
  outline-offset: 3px;
}

.saas .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.saas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--saas-line);
  transition-property: scale, translate, background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.saas .btn:hover {
  translate: 0 -1px;
}

.saas .btn:active {
  scale: 0.96;
}

.saas .btn.orange {
  background: var(--saas-orange);
  border-color: var(--saas-orange);
  color: #141414;
}

.saas .btn.outline-dark {
  color: white;
  border-color: #313840;
  background: #12161b;
}

.saas .btn.block {
  width: 100%;
}

.saas .eyebrow {
  width: auto;
  margin: 0 0 18px;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--saas-orange);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 900;
  backdrop-filter: none;
  box-shadow: none;
}

.saas h2,
.saas h3,
.saas p {
  margin-top: 0;
}

.saas h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: var(--saas-white);
}

.saas h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: inherit;
}

.saas p {
  color: var(--darkmuted);
  font-size: 17px;
}

.saas .compare {
  background: var(--dark);
  color: var(--saas-white);
  padding: 72px 0 64px;
  scroll-margin-top: 72px;
}

.saas .compare .section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.saas .compare h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.saas .compare .section-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.saas .compare-accent {
  display: block;
  color: var(--orange, #ff5f16);
}

.saas .compare-stage {
  position: relative;
}

.saas .compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: stretch;
}

.saas .compare-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px 24px 0;
  color: #171717;
}

.saas .compare-card h3 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  color: #171717;
}

.saas .compare-card p {
  color: #6d685f;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 0;
}

.saas .compare-card--cf {
  background: #fffaf5;
  box-shadow:
    0 14px 40px rgba(53, 42, 27, 0.08),
    0 0 0 1px rgba(20, 16, 12, 0.08);
}

.saas .compare-card--fm {
  background: #fff7f0;
  box-shadow:
    0 22px 50px rgba(255, 95, 22, 0.16),
    0 0 0 1px rgba(255, 95, 22, 0.34);
}

.saas .compare-card__top {
  margin-bottom: 16px;
}

.saas .compare-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.saas .compare-card__mark,
.saas .compare-card__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: none;
}

.saas .compare-card__mark {
  display: grid;
  place-items: center;
  background: rgba(244, 129, 32, 0.12);
  /* #b45309 on the cream card is 4.8:1. #f48120 was 2.5:1. */
  color: #b45309;
}

.saas .compare-card__mark svg {
  width: 18px;
  height: 18px;
}

.saas .compare-card__logo {
  object-fit: contain;
}

.saas .compare-card__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #171717;
}

.saas .compare-card__badge {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.saas .compare-card--cf .compare-card__badge {
  /* #b45309 on #fffaf5 is 4.84:1. #f48120 on #fffaf5 was 2.53:1. */
  color: #b45309;
}

.saas .compare-card--fm .compare-card__badge {
  /* #c2410c on #fff7f0 is 4.89:1. #ff5f16 on #fff7f0 was 2.87:1. */
  color: #c2410c;
}

.saas .compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.saas .compare-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.saas .compare-list strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #171717;
  margin-bottom: 4px;
}

.saas .compare-list p {
  font-size: 13px;
  line-height: 1.4;
}

.saas .compare-list__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #887a6a;
}

.saas .compare-list__icon svg {
  width: 16px;
  height: 16px;
}

.saas .compare-list__icon--dash {
  color: #9a9084;
}

.saas .compare-list__icon--check {
  color: #c2410c;
}

.saas .compare-card p.compare-card__best {
  margin: 18px -24px 0;
  padding: 14px 24px 16px;
  min-width: 0;
  border-radius: 0 0 22px 22px;
  background: #f3efe8;
  color: #3d3832;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
}

.saas .compare-card p.compare-card__best strong {
  color: #171717;
}

.saas .compare-card p.compare-card__best--emphasis {
  background: var(--dark);
  color: #d8dde4;
}

.saas .compare-card p.compare-card__best--emphasis strong {
  color: var(--orange, #ff5f16);
}

.saas .compare-bridge {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fffaf5;
  color: #c2410c;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(24, 17, 12, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.saas .dark {
  background: var(--dark);
  color: var(--saas-white);
}

.saas .section {
  padding: 100px 0;
}

.saas .section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.saas .marquee {
  border-block: 1px solid var(--darkline);
  padding: 16px 0;
  background: #0e1115;
  color: #c2c7ce;
  font-size: 13px;
}

.saas .marquee-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.saas .problem-grid,
.saas .use-grid,
.saas .price-grid {
  display: grid;
  gap: 18px;
}

.saas .problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.saas .card {
  border: 0;
  background: linear-gradient(180deg, #12161b, #0f1317);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08);
}

.saas .card .num {
  font-size: 11px;
  color: var(--orange2);
  font-weight: 900;
  margin-bottom: 52px;
}

.saas .card p {
  font-size: 15px;
  margin-bottom: 0;
}

.saas .shield-band .section-head {
  margin-bottom: 28px;
}

.saas .shield-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.saas .shield-grid .card {
  padding: 22px;
}

.saas .shield-grid h3 {
  font-size: 18px;
  margin: 8px 0 10px;
}

@media (max-width: 980px) {
  .saas .shield-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .saas .shield-grid {
    grid-template-columns: 1fr;
  }
}

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

.saas .usecard {
  padding: 0;
  overflow: hidden;
}

.saas .useviz {
  min-height: 188px;
  background: linear-gradient(135deg, #151a20, #0d1014);
  padding: 20px;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
}

.saas .pill {
  font-size: 11px;
  border: 1px solid #343b44;
  color: #d5d9df;
  padding: 7px 9px;
  border-radius: 999px;
  margin: 4px;
}

.saas .personas {
  padding: 80px 0 72px;
}

.saas .personas .section-head {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.saas .personas h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.saas .personas .section-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.saas .persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.saas .persona-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0, rgba(244, 129, 32, 0.1), transparent 42%),
    linear-gradient(180deg, #12161b, #0f1317);
  transition-property: translate, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.saas .persona-card:hover {
  translate: 0 -2px;
  box-shadow:
    0 0 0 1px rgba(244, 129, 32, 0.22),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.saas .persona-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  min-width: 0;
}

.saas .persona-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 18px;
  overflow: hidden;
  flex: none;
  background: #151920;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08);
  perspective: 420px;
}

.saas .persona-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--gaze-x, 50%) var(--gaze-y, 32%),
    rgba(255, 255, 255, 0.18),
    transparent 46%
  );
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.2, 0, 0, 1);
}

.saas .persona-card.is-watching .persona-avatar::after {
  opacity: 1;
}

.saas .persona-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 42%;
  transform: scale(1.08);
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}

.saas .persona-card.is-watching .persona-avatar img {
  transition-duration: 70ms;
  transition-timing-function: linear;
}

.saas .persona-hook {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--saas-white);
}

.saas .persona-hook::before {
  content: "“";
  color: var(--orange2);
  font-weight: 900;
}

.saas .persona-hook::after {
  content: "”";
  color: var(--orange2);
  font-weight: 900;
}

.saas .persona-card h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--saas-white);
}

.saas .persona-card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.saas .persona-card p.persona-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange2);
}

.saas .persona-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.saas .persona-chips li {
  font-size: 11px;
  line-height: 1.2;
  color: #d5d9df;
  border: 1px solid #343b44;
  border-radius: 999px;
  padding: 7px 9px;
}

.saas .usecopy {
  padding: 25px;
}

.saas .pricing {
  background: #0e1115;
}

.saas .pricing-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #55351f;
  background: #1b130e;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  color: #ffc48f;
  margin-bottom: 18px;
}

.saas .price-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.saas .price {
  padding: 36px;
}

.saas .price.featured {
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.08),
    inset 0 0 0 1px rgba(244, 129, 32, 0.13);
}

.saas .price-big {
  font-size: 58px;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 26px 0 7px;
  color: var(--saas-white);
  white-space: nowrap;
}

.saas .price-interval {
  font-size: 18px;
  color: #9da5ae;
  font-weight: 700;
  letter-spacing: 0;
}

.saas .price ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.saas .price li {
  padding: 8px 0;
  color: #cbd0d6;
}

.saas .price li::before {
  content: "✓";
  color: var(--green);
  margin-right: 9px;
}

.saas .note {
  font-size: 13px;
  color: #7c858f;
  margin-top: 18px;
}

.saas .faq {
  max-width: 860px;
}

.saas details {
  border-top: 1px solid var(--darkline);
  padding: 21px 0;
}

.saas summary {
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  color: var(--saas-white);
}

.saas summary::-webkit-details-marker {
  display: none;
}

.saas details p {
  font-size: 15px;
  padding-top: 12px;
}

.saas .final {
  padding: 110px 0 118px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 129, 32, 0.17), transparent 40%),
    var(--dark);
}

.saas .final p {
  max-width: 660px;
  margin: 0 auto 26px;
}

.saas .site-footer {
  background: #090b0d;
  border-top: 1px solid #1f242a;
  color: #8e96a0;
  padding: 34px 0 55px;
  font-size: 12px;
}

.saas .footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.saas .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--saas-white);
}

.saas .footer-brand img {
  width: 128px;
  height: auto;
  object-fit: contain;
}

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

@media (max-width: 1100px) {
  .saas .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .saas .compare {
    padding: 56px 0 48px;
  }

  .saas .compare-grid,
  .saas .problem-grid,
  .saas .use-grid,
  .saas .price-grid {
    grid-template-columns: 1fr;
  }

  .saas .compare-bridge {
    display: none;
  }

  .saas .compare-card {
    padding: 22px 20px 0;
  }

  .saas .compare-card h3 {
    font-size: 21px;
  }

  .saas .compare-card p.compare-card__best {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .saas .persona-grid {
    grid-template-columns: 1fr 1fr;
  }

  .saas .personas {
    padding: 56px 0 48px;
  }
}

@media (max-width: 600px) {
  .saas .wrap {
    width: min(100% - 24px, 1180px);
  }

  .saas .persona-grid {
    grid-template-columns: 1fr;
  }

  .saas .persona-avatar {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .saas .btn:hover,
  .saas .persona-card:hover {
    translate: none;
  }

  .saas .btn:active {
    scale: 1;
  }

  .saas .persona-avatar img {
    transform: none;
    transition: none;
  }

  .saas .persona-avatar::after {
    display: none;
  }
}

/* Product showcase — four stories, existing dark SaaS surface. */
.saas .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;
}

.saas .showcase {
  position: relative;
  padding: 20px 0 64px;
  background: var(--dark);
}

.saas .showcase-intro {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.saas .showcase-intro .eyebrow {
  margin-bottom: 18px;
}

.saas .showcase-intro h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.saas .showcase-intro p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.saas .showcase-list {
  display: grid;
  gap: 16px;
}

.saas .showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--darkline);
  border-radius: 22px;
  background: var(--dark2);
}

.saas .showcase-panel.is-copy-first {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
}

.saas .showcase-panel.is-copy-first .showcase-stage {
  order: 2;
}

.saas .showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px 28px 36px;
}

.saas .showcase-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #313840;
  border-radius: 8px;
  color: #c2c8d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.saas .showcase-pain {
  margin: 14px 0 0;
  color: var(--saas-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saas .showcase-copy h3 {
  margin: 10px 0 12px;
  color: var(--saas-white);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.saas .showcase-copy p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}

.saas .showcase-line {
  margin-top: 14px;
  color: var(--saas-white);
  font-size: 14px;
  font-weight: 750;
}

.saas .showcase-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.saas .showcase-proof li {
  border: 1px solid #313840;
  border-radius: 999px;
  padding: 5px 9px;
  color: #d5d9df;
  font-size: 11px;
  font-weight: 700;
}

.saas .showcase-stage {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 468px;
  margin: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    #0e1217;
}

.saas .fm-window {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #fafafa;
  color: #111827;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  line-height: 1.35;
}

.saas .fm-window h3,
.saas .fm-window p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  line-height: inherit;
}

.saas .fm-window h3 {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.saas .fm-mobile-ids {
  display: none;
}

.saas .fm-side {
  display: flex;
  flex-direction: column;
  width: 168px;
  flex: none;
  border-right: 1px solid #e5e7eb;
  background: #fafafa;
  padding: 10px 8px;
}

.saas .fm-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 6px 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 750;
}

.saas .fm-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.saas .fm-compose {
  margin: 0 4px 10px;
  border-radius: 8px;
  background: #ea580c;
  color: white;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.saas .fm-folders,
.saas .fm-boxes,
.saas .fm-addrs,
.saas .fm-chips {
  margin: 0;
  padding: 0;
  list-style: none;
}

.saas .fm-folders li,
.saas .fm-boxes li {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 5px 8px;
  color: #4b5563;
}

.saas .fm-folders li.is-active,
.saas .fm-boxes li.is-active {
  background: white;
  color: #111827;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.saas .fm-folders b,
.saas .fm-boxes b {
  margin-left: auto;
  border-radius: 999px;
  background: #ea580c;
  color: white;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

.saas .fm-folders b.is-quiet,
.saas .fm-boxes b.is-quiet {
  background: #e5e7eb;
  color: #6b7280;
}

.saas .fm-boxes {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.saas .fm-boxes li {
  font-size: 11px;
}

.saas .fm-list {
  width: 210px;
  flex: none;
  border-right: 1px solid #e5e7eb;
  background: white;
}

.saas .fm-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.saas .fm-row strong {
  color: #374151;
  font-size: 11px;
  font-weight: 650;
}

.saas .fm-row span {
  color: #111827;
  font-weight: 700;
}

.saas .fm-row em {
  color: #6b7280;
  font-style: normal;
  font-size: 11px;
}

.saas .fm-row.is-selected {
  background: #f9fafb;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.saas .fm-read {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px 16px 14px;
  background: white;
}

.saas .fm-kicker {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.saas .fm-from {
  color: #111827;
  font-weight: 650;
}

.saas .fm-from span,
.saas .fm-body {
  color: #4b5563;
  font-weight: 450;
}

.saas .fm-attach,
.saas .fm-reply {
  align-self: flex-start;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 8px;
  color: #374151;
  font-size: 11px;
  font-weight: 650;
}

.saas .fm-reply {
  margin-top: auto;
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.saas .fm-domains,
.saas .fm-privacy {
  flex-direction: column;
}

.saas .fm-settings-head,
.saas .fm-domain,
.saas .fm-privacy-bar,
.saas .fm-goal,
.saas .fm-thread {
  padding: 12px 14px;
}

.saas .fm-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
}

.saas .fm-plan,
.saas .fm-badge {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.saas .fm-plan {
  background: #f3f4f6;
  color: #374151;
}

.saas .fm-domain {
  border-bottom: 1px solid #e5e7eb;
  background: white;
}

.saas .fm-domain-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.saas .fm-domain-top strong {
  margin-right: 2px;
  color: #111827;
  font-size: 13px;
}

.saas .fm-badge.is-ok {
  background: #dcfce7;
  color: #166534;
}

.saas .fm-badge.is-recv {
  background: #dbeafe;
  color: #1e40af;
}

.saas .fm-badge.is-wait {
  background: #fef3c7;
  color: #92400e;
}

.saas .fm-addrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  color: #374151;
}

.saas .fm-addrs em {
  margin-left: 4px;
  color: #15803d;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.saas .fm-dns {
  margin-top: 6px;
  color: #6b7280;
  font-size: 11px;
}

.saas .fm-agent {
  flex-direction: column;
  background: white;
}

.saas .fm-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.saas .fm-msg {
  border-radius: 8px;
  background: #f9fafb;
  padding: 8px 10px;
}

.saas .fm-msg strong {
  display: block;
  margin-bottom: 2px;
  color: #374151;
  font-size: 11px;
}

.saas .fm-goal {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  background: white;
}

.saas .fm-ai-label {
  color: #ea580c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas .fm-goal label {
  color: #374151;
  font-size: 12px;
  font-weight: 650;
}

.saas .fm-goal-text {
  display: block;
  margin-top: 6px;
  min-height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
  color: #111827;
  font-weight: 500;
}

.saas .fm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.saas .fm-chips li {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 2px 6px;
  color: #4b5563;
  font-size: 11px;
}

.saas .fm-keep {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 11px;
}

.saas .fm-keep i {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid #ea580c;
  border-radius: 3px;
  background: #ea580c;
  color: white;
  font-style: normal;
}

.saas .fm-keep i::before {
  content: "✓";
  font-size: 9px;
  line-height: 1;
}

.saas .fm-goal-actions,
.saas .fm-draftbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.saas .fm-generate {
  border-radius: 8px;
  background: #ea580c;
  color: white;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.saas .fm-cancel {
  color: #6b7280;
  font-size: 12px;
}

.saas .fm-draftbar {
  margin-top: auto;
  border-top: 1px solid #f3f4f6;
  padding-top: 8px;
  color: #4b5563;
  font-size: 11px;
}

.saas .fm-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.saas .fm-follow b {
  color: #9ca3af;
  font-weight: 650;
}

.saas .fm-privacy-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  font-size: 11px;
}

.saas .fm-privacy-bar em {
  color: #ea580c;
  font-style: normal;
  font-weight: 700;
}

.saas .fm-read--solo {
  min-height: 280px;
}

.saas .fm-blocked {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.saas .fm-blocked span {
  display: grid;
  place-items: center;
  width: 148px;
  height: 96px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .saas .showcase-panel,
  .saas .showcase-panel.is-copy-first {
    grid-template-columns: 1fr;
  }

  .saas .showcase-copy {
    order: 1;
    padding: 24px 20px 8px;
  }

  .saas .showcase-stage,
  .saas .showcase-panel.is-copy-first .showcase-stage {
    order: 2;
    min-height: 420px;
  }

  .saas .fm-side {
    display: none;
  }

  .saas .fm-mobile-ids {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
    padding: 8px 10px;
  }

  .saas .fm-mobile-ids span {
    flex: none;
    border-radius: 999px;
    background: white;
    padding: 3px 8px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 0 1px #e5e7eb;
  }

  .saas .fm-mobile-ids span.is-on {
    background: #fff7ed;
    color: #c2410c;
    box-shadow: 0 0 0 1px #fdba74;
  }

  .saas .fm-inbox {
    flex-direction: column;
  }

  .saas .fm-list {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .saas .fm-row:not(.is-selected) {
    display: none;
  }

  .saas .fm-row em {
    display: none;
  }
}

@media (max-width: 600px) {
  .saas .showcase {
    padding-bottom: 40px;
  }

  .saas .showcase-stage {
    min-height: 400px;
    padding: 12px;
  }

  .saas .fm-window {
    min-height: 360px;
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .saas .showcase-stage.is-in .fm-window {
    animation: showcase-settle 220ms cubic-bezier(0.2, 0, 0, 1) both;
  }
}

@keyframes showcase-settle {
  from {
    opacity: 0.94;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.saas .agents {
  padding: 72px 0 64px;
}

.saas .agents-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: 48px;
  row-gap: 22px;
  align-items: start;
}

.saas .agents-copy {
  grid-column: 1;
  grid-row: 1;
}

.saas .agents-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  max-width: 11em;
}

.saas .agents-copy h2 span {
  color: var(--saas-orange);
}

.saas .agents-copy p {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.5;
}

.saas .agents-copy code,
.saas .agents-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.saas .agents-copy code {
  color: var(--orange2);
  font-size: 0.92em;
}

.saas .agents-line {
  color: var(--saas-white);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.saas .agents-stage {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  min-width: 0;
}

.saas .agents-window {
  min-height: 0;
}

.saas .agents-policy {
  flex: 1;
  min-width: 0;
  padding: 16px 16px 14px;
}

.saas .agents-policy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.saas .agents-kicker {
  margin: 0 0 4px;
  color: #9a3412;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saas .agents-policy h3 {
  font-size: 16px;
}

.saas .agents-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: #166534;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.saas .agents-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: agents-pulse 2.6s ease-in-out infinite;
}

.saas .agents-key,
.saas .agents-used,
.saas .agents-fine {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 11px;
}

.saas .agents-key,
.saas .agents-mono,
.saas .agents-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.saas .agents-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.saas .agents-block h4 {
  margin: 0 0 6px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saas .agents-mono {
  margin: 0;
  color: #111827;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.saas .agents-perms {
  margin: 0;
  padding: 0;
  list-style: none;
}

.saas .agents-perms li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: #111827;
  font-size: 12.5px;
  font-weight: 650;
}

.saas .agents-perms li::before {
  width: 1.1em;
  color: #ea580c;
  font-weight: 800;
  content: "✓";
}

.saas .agents-perms li.is-off {
  color: #9ca3af;
  font-weight: 550;
}

.saas .agents-perms li.is-off::before {
  color: #d1d5db;
  content: "—";
}

.saas .agents-send {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  color: #111827;
  font-size: 12.5px;
  font-weight: 650;
}

.saas .agents-choice {
  width: 8px;
  height: 8px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  flex: none;
}

.saas .agents-choice.is-live {
  border-color: #ea580c;
  background: #ea580c;
  box-shadow: inset 0 0 0 1.5px #fff;
}

.saas .agents-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: 148px;
  flex: none;
  margin: 0;
  padding: 16px 14px;
  list-style: none;
  border-left: 1px solid #e5e7eb;
  background: #f4f4f5;
}

.saas .agents-flow li {
  position: relative;
  margin: 0;
  padding: 0 0 18px 16px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: agents-step 0.55s both;
}

.saas .agents-flow li:last-child {
  padding-bottom: 0;
}

.saas .agents-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 3px #fff;
}

.saas .agents-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  bottom: 2px;
  width: 1px;
  background: #e5e7eb;
}

.saas .agents-flow li:nth-child(2) { animation-delay: 0.12s; }
.saas .agents-flow li:nth-child(3) { animation-delay: 0.24s; }
.saas .agents-flow li:nth-child(4) { animation-delay: 0.36s; }
.saas .agents-flow li:nth-child(5) { animation-delay: 0.48s; }

.saas .agents-actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
}

.saas .agents-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.saas .agents-draft,
.saas .agents-query {
  margin: 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #12161b;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08);
}

.saas .agents-draft .agents-kicker,
.saas .agents-query .agents-kicker {
  color: var(--orange2);
}

.saas .agents-draft-row {
  display: flex;
  gap: 10px;
  margin: 6px 0 0;
  color: var(--saas-white);
  font-size: 13px;
}

.saas .agents-draft-row span {
  width: 42px;
  color: var(--darkmuted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas .agents-draft blockquote {
  margin: 12px 0 0;
  color: var(--saas-white);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.saas .agents-draft-state {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(244, 129, 32, 0.14);
  color: var(--orange2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.saas .agents-caption,
.saas .agents-bridge,
.saas .agents-infra-note,
.saas .agents-closer {
  color: var(--darkmuted);
  font-size: 14px;
  line-height: 1.45;
}

.saas .agents-caption {
  margin: 12px 0 0;
}

.saas .agents-code {
  margin: 12px 0 0;
  padding: 12px;
  overflow-x: auto;
  border-radius: 8px;
  background: #0b0d10;
  color: #e7e5e4;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 0 0 1px #252b33;
}

.saas .agents-bridge {
  grid-column: 1 / -1;
  max-width: 46em;
  margin: 0;
  color: var(--saas-white);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.saas .agents-bridge a {
  color: var(--orange2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.saas .agents-infra {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--darkline);
}

.saas .agents-infra a,
.saas .agents-infra div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  min-width: 0;
}

.saas .agents-infra a + a,
.saas .agents-infra a + div,
.saas .agents-infra div + a,
.saas .agents-infra div + div {
  border-left: 1px solid var(--darkline);
}

.saas .agents-infra span {
  color: var(--darkmuted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saas .agents-infra strong {
  color: var(--saas-white);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.saas .agents-infra a:hover strong {
  color: var(--orange2);
}

.saas .agents-infra-note,
.saas .agents-closer {
  grid-column: 1 / -1;
  margin: 0;
}

.saas .agents-scenes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--darkline);
}

.saas .agents-scenes li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 16px 16px 4px 0;
}

.saas .agents-scenes li + li {
  padding-left: 16px;
  border-left: 1px solid var(--darkline);
}

.saas .agents-scenes strong {
  color: var(--saas-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas .agents-scenes span {
  color: var(--darkmuted);
  font-size: 13px;
  line-height: 1.35;
}

.saas .agents-closer {
  max-width: 40em;
  color: var(--saas-white);
  font-size: 16px;
}

@keyframes agents-pulse {
  0%,
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0); }
}

@keyframes agents-step {
  from { opacity: 0; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 860px) {
  .saas .agents {
    padding: 36px 0 28px;
  }

  .saas .agents-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .saas .agents-stage,
  .saas .agents-copy,
  .saas .agents-actions,
  .saas .agents-pair,
  .saas .agents-bridge,
  .saas .agents-infra,
  .saas .agents-infra-note,
  .saas .agents-scenes,
  .saas .agents-closer {
    grid-column: auto;
    grid-row: auto;
  }

  .saas .agents-copy h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .saas .agents-window {
    flex-direction: column;
  }

  .saas .agents-flow {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 8px 14px;
    padding: 12px 14px;
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }

  .saas .agents-flow li {
    padding: 0 0 0 14px;
    animation: none;
  }

  .saas .agents-flow li:not(:last-child)::after {
    display: none;
  }

  .saas .agents-pair,
  .saas .agents-infra,
  .saas .agents-scenes {
    grid-template-columns: 1fr 1fr;
  }

  .saas .agents-infra a + a,
  .saas .agents-infra a + div,
  .saas .agents-infra div + a,
  .saas .agents-infra div + div,
  .saas .agents-scenes li + li {
    border-left: 0;
    padding-left: 0;
  }

  .saas .agents-infra a:nth-child(n + 3),
  .saas .agents-infra div:nth-child(n + 3) {
    border-top: 1px solid var(--darkline);
  }

  .saas .agents-scenes li:nth-child(n + 3) {
    border-top: 1px solid var(--darkline);
    padding-top: 14px;
  }
}

@media (max-width: 860px) {
  .saas .agents-scenes li:nth-child(2n),
  .saas .agents-infra > :nth-child(2n) {
    padding-left: 14px;
    border-left: 1px solid var(--darkline);
  }
}

@media (max-width: 560px) {
  .saas .agents-pair {
    grid-template-columns: 1fr;
  }

  .saas .agents-policy {
    padding: 12px 12px 10px;
  }

  .saas .agents-draft,
  .saas .agents-query {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .saas .agents-dot,
  .saas .agents-flow li {
    animation: none;
  }
}

.saas .faq a {
  color: var(--orange2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
