@import none;

/* ==========================================
   ALDWIN / PARDOT COMPARISON
   SECTION 06 / SALESFORCE FOUNDATION
   ========================================== */

.aldwin-salesforce-story,
.aldwin-salesforce-story *,
.aldwin-salesforce-story *::before,
.aldwin-salesforce-story *::after {
  box-sizing: border-box;
}

.aldwin-salesforce-story {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
  color: #191919;
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
   MAIN LAYOUT
   ========================================== */

.aldwin-salesforce-story .ass-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(45px, 5.5vw, 94px);
  align-items: center;
}

/* ==========================================
   EDITORIAL CONTENT
   ========================================== */

.aldwin-salesforce-story .ass-content {
  min-width: 0;
}

.aldwin-salesforce-story .ass-content h2 {
  margin: 0 0 30px !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 44px !important;
  font-weight: 500 !important;
  line-height: 1.09 !important;
  letter-spacing: -.048em !important;
  color: #191919 !important;
}

.aldwin-salesforce-story .ass-content h2 span {
  display: block;
  color: #898D93 !important;
}

.aldwin-salesforce-story .ass-content p {
  max-width: 700px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.3em !important;
  letter-spacing: 0 !important;
  color: #7B7B7B !important;
}

.aldwin-salesforce-story .ass-content p:last-of-type {
  margin-bottom: 0 !important;
}

.aldwin-salesforce-story .ass-takeaway {
  max-width: 690px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #5A5D5B26;
  color: #191919;
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
}

/* ==========================================
   AMBIENT LIGHT BACKGROUND
   ========================================== */

.aldwin-salesforce-story .ass-canvas {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 525px;
  overflow: hidden;
  border: 1px solid #5A5D5B26;
  border-radius: 0;
  background:
    radial-gradient(
      ellipse at 9% 16%,
      rgba(212, 222, 239, .90),
      transparent 56%
    ),
    radial-gradient(
      ellipse at 89% 24%,
      rgba(208, 204, 233, .69),
      transparent 54%
    ),
    radial-gradient(
      ellipse at 66% 91%,
      rgba(177, 218, 194, .72),
      transparent 59%
    ),
    linear-gradient(
      137deg,
      #D9E0E4 0%,
      #EFF1F0 48%,
      #D5DED8 100%
    );
}

.aldwin-salesforce-story .ass-canvas::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      112deg,
      transparent 8%,
      rgba(255,255,255,.62) 28%,
      transparent 46%,
      rgba(255,255,255,.39) 68%,
      transparent 84%
    ),
    radial-gradient(
      ellipse at 15% 90%,
      rgba(80,102,142,.20),
      transparent 54%
    );
  filter: blur(36px);
  transform: rotate(-7deg);
}

.aldwin-salesforce-story .ass-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ==========================================
   APPLICATION WINDOW
   ========================================== */

.aldwin-salesforce-story .ass-app {
  position: relative;
  z-index: 2;
  width: calc(100% - 58px);
  margin: 43px auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 16px;
  background: rgba(250,251,250,.96);
  box-shadow:
    0 0 0 1px rgba(20,30,25,.04),
    0 16px 36px rgba(22,39,32,.11),
    0 39px 85px rgba(22,39,32,.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* TOP BAR */

.aldwin-salesforce-story .ass-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #E7EAE7;
  background: rgba(255,255,255,.50);
}

.aldwin-salesforce-story .ass-breadcrumb {
  color: #78807B;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-preview {
  color: #A0A6A1;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}

.aldwin-salesforce-story .ass-body {
  padding: 21px 21px 20px;
}

/* WORKSPACE HEADER */

.aldwin-salesforce-story .ass-eyebrow {
  margin-bottom: 9px;
  color: #939B95;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .025em;
}

.aldwin-salesforce-story .ass-heading {
  color: #252A26;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.aldwin-salesforce-story .ass-description {
  margin-top: 6px;
  color: #949B96;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
}

/* TABS */

.aldwin-salesforce-story .ass-tabs {
  display: flex;
  gap: 23px;
  margin-top: 21px;
  border-bottom: 1px solid #E7EAE7;
}

.aldwin-salesforce-story .ass-tab {
  position: relative;
  padding-bottom: 11px;
  color: #9A9F9B;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
}

.aldwin-salesforce-story .ass-tab.active {
  color: #426C58;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #638B74;
}

/* SYSTEMS SECTION */

.aldwin-salesforce-story .ass-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 19px 0 8px;
}

.aldwin-salesforce-story .ass-section-title {
  color: #525D54;
  font-size: 11px;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-section-note {
  color: #A1A7A2;
  font-size: 10px;
  font-weight: 400;
}

/* SYSTEM ROW */

.aldwin-salesforce-story .ass-system {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #E9EDE9;
}

.aldwin-salesforce-story .ass-system-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #DEE6E1;
  background: #EDF2EE;
  color: #668270;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.aldwin-salesforce-story .ass-system-icon.pardot {
  background: #F0F1F6;
  border-color: #E4E5EF;
  color: #737A99;
}

.aldwin-salesforce-story .ass-system-icon.aldwin {
  background: #E8F2EB;
  border-color: #D8E8DD;
  color: #44745A;
}

.aldwin-salesforce-story .ass-system-name {
  color: #343C36;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-system-meta {
  margin-top: 3px;
  color: #989F99;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 400;
}

.aldwin-salesforce-story .ass-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid #E2E6E2;
  border-radius: 5px;
  background: #F5F6F5;
  color: #818982;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.aldwin-salesforce-story .ass-badge.future {
  border-color: #DCE8DF;
  background: #F1F7F3;
  color: #5A8067;
}

/* WORKFLOW ADOPTION */

.aldwin-salesforce-story .ass-adoption {
  margin-top: 19px;
  padding: 15px;
  border: 1px solid #E1E7E2;
  border-radius: 10px;
  background: #FFFFFF;
}

.aldwin-salesforce-story .ass-adoption-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aldwin-salesforce-story .ass-adoption-label {
  color: #939B95;
  font-size: 10px;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-adoption-status {
  color: #849C8B;
  font-size: 10px;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-adoption-title {
  margin-top: 9px;
  color: #333B35;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.02em;
}

.aldwin-salesforce-story .ass-adoption-desc {
  margin-top: 5px;
  color: #929A93;
  font-size: 10px;
  line-height: 1.5;
}

/* WORKFLOW STAGES */

.aldwin-salesforce-story .ass-stages {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #ECEFEC;
}

.aldwin-salesforce-story .ass-stage {
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid #E9ECE9;
}

.aldwin-salesforce-story .ass-stage:first-child {
  padding-left: 0;
}

.aldwin-salesforce-story .ass-stage:last-child {
  padding-right: 0;
  border-right: 0;
}

.aldwin-salesforce-story .ass-stage-number {
  margin-bottom: 7px;
  color: #80A08B;
  font-size: 10px;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-stage-title {
  color: #4E5B52;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
}

.aldwin-salesforce-story .ass-stage-detail {
  margin-top: 4px;
  color: #A1A8A1;
  font-size: 9px;
  line-height: 1.4;
}

/* FOOTER */

.aldwin-salesforce-story .ass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
}

.aldwin-salesforce-story .ass-footer-note {
  color: #9BA29C;
  font-size: 10px;
  line-height: 1.4;
}

.aldwin-salesforce-story .ass-footer-tag {
  padding: 7px 9px;
  border: 1px solid #DCE5DF;
  border-radius: 6px;
  background: #F5F8F5;
  color: #688674;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1050px) {
  .aldwin-salesforce-story .ass-layout {
    gap: 35px;
  }

  .aldwin-salesforce-story .ass-app {
    width: calc(100% - 36px);
  }
}

@media (max-width: 900px) {
  .aldwin-salesforce-story .ass-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .aldwin-salesforce-story .ass-content {
    order: 1;
  }

  .aldwin-salesforce-story .ass-canvas {
    order: 2;
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 560px) {
  .aldwin-salesforce-story .ass-content h2 {
    font-size: 44px !important;
    font-weight: 500 !important;
    margin-bottom: 22px !important;
  }

  .aldwin-salesforce-story .ass-content p {
    font-size: 18px !important;
    line-height: 1.3em !important;
  }

  .aldwin-salesforce-story .ass-canvas {
    min-height: 0;
  }

  .aldwin-salesforce-story .ass-app {
    width: calc(100% - 28px);
    margin: 20px auto;
  }

  .aldwin-salesforce-story .ass-topbar {
    padding: 13px;
  }

  .aldwin-salesforce-story .ass-body {
    padding: 17px 13px;
  }

  .aldwin-salesforce-story .ass-heading {
    font-size: 19px;
  }

  .aldwin-salesforce-story .ass-system {
    grid-template-columns: 30px minmax(0,1fr) auto;
    gap: 8px;
  }

  .aldwin-salesforce-story .ass-system-icon {
    width: 30px;
    height: 30px;
  }

  .aldwin-salesforce-story .ass-system-name {
    font-size: 11px;
  }

  .aldwin-salesforce-story .ass-system-meta {
    font-size: 9px;
  }

  .aldwin-salesforce-story .ass-badge {
    padding: 5px 6px;
    font-size: 9px;
  }

  .aldwin-salesforce-story .ass-stages {
    gap: 0;
  }

  .aldwin-salesforce-story .ass-stage {
    padding: 0 7px;
  }
}
