/* Figma Success Stories page: nodes 157:621, 157:804, 157:1293. */
body.inner-page:not(.page-about) .figma-header {
  margin-bottom: -86px;
  background: rgba(0, 0, 0, .19);
}

.success-page { font-family: "Inter Drzio", Inter, Arial, sans-serif; }
.success-page .shell { width: calc(100% - 160px); max-width: 1280px; margin: 0 auto; }
.success-hero { position: relative; min-height: 670px; overflow: hidden; background: #252f39; }
.success-hero__image,
.success-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.success-hero__image { object-fit: cover; }
.success-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,0) 60%); }
.success-hero__shell { position: relative; padding-top: 255px; }
.success-hero__copy { display: flex; width: 610px; max-width: 100%; flex-direction: column; gap: 16px; }
.success-hero h1 { margin: 0; color: #fff; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 56px; font-weight: 500; line-height: 1.3; letter-spacing: -1.68px; }
.success-hero p { margin: 0; color: #e4e4e4; font-size: 16px; line-height: 1.3; letter-spacing: -.32px; }

.success-stories { padding: 100px 0; background: #f6f6f6; }
.success-stories h2 { margin: 0 0 40px; color: #202020; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 42px; font-weight: 500; line-height: 1.3; letter-spacing: -1.26px; text-align: center; }
.success-stories__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.success-story { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border: 1px solid #e5e5e5; background: #fff; }
.success-story__body { display: flex; flex-direction: column; gap: 24px; }
.success-story__stars { display: flex; gap: 6px; }
.success-story__stars img { display: block; width: 22px; height: 22px; }
.success-story blockquote { margin: 0; color: #202020; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.4px; }
.success-story__author { display: flex; align-items: center; gap: 16px; color: #202020; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.36px; }
.success-story__avatar { position: relative; display: block; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border-radius: 50%; background: #d9d9d9; }
.success-story__avatar img { position: absolute; top: var(--avatar-top, 0%); left: var(--avatar-left, 0%); width: var(--avatar-width, 100%); max-width: none; height: auto; }

.success-cta { position: relative; display: flex; min-height: 522px; align-items: center; overflow: hidden; background: #171717; }
.success-cta__image,
.success-cta__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.success-cta__image { object-fit: cover; }
.success-cta__shade { background: rgba(0,0,0,.7); }
.success-cta__shell.shell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.success-cta h2 { width: 780px; max-width: 100%; margin: 0; color: #fff; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 56px; font-weight: 500; line-height: 1.3; letter-spacing: -1.68px; }
.success-cta p { width: 550px; max-width: 100%; margin: 0; color: #e4e4e4; font-size: 16px; line-height: 1.3; letter-spacing: -.32px; }
.success-cta a { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; margin-top: 24px; padding: 14px 28px; border-radius: 8px; background: #ff2f00; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; text-decoration: none; }
.success-cta a:hover { background: #dc2900; color: #fff; }
.success-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* The shared Home accordion uses this page's exact Figma answer line height. */
.success-page .figma-faq__question { min-height: 0; padding: 20px 0 17px; }
.success-page .figma-faq__answer p { width: 679px; max-width: 100%; padding-right: 0; line-height: 1.3; }

@media (max-width: 900px) {
  .success-page .shell { width: calc(100% - 48px); }
  .success-hero__shell { padding-top: 210px; padding-bottom: 60px; }
  .success-hero h1 { font-size: 48px; }
  .success-stories { padding: 80px 0; }
}

@media (max-width: 700px) {
  .success-stories__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .success-story { padding: 24px; }
}

@media (max-width: 600px) {
  .success-page .shell { width: calc(100% - 40px); }
  .success-hero { min-height: 650px; }
  .success-hero__image { object-position: 60% center; }
  .success-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.12) 100%); }
  .success-hero__shell { padding-top: 190px; padding-bottom: 50px; }
  .success-hero h1 { font-size: 36px; letter-spacing: -1.08px; }
  .success-stories { padding: 64px 0; }
  .success-stories h2 { font-size: 34px; letter-spacing: -1.02px; }
  .success-story blockquote { font-size: 18px; letter-spacing: -.36px; }
  .success-cta { min-height: 440px; padding: 64px 0; }
  .success-cta h2 { font-size: 36px; letter-spacing: -1.08px; }
}
