@import none;

/* ==========================================
   ALDWIN / PARDOT COMPARISON / SECTION 03
   CUSTOMER & ACCOUNT INTELLIGENCE
   ========================================== */

.aldwin-account-story,
.aldwin-account-story * {
  box-sizing: border-box;
}

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

/* MAIN LAYOUT */

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

/* ==========================================
   LEFT COLUMN / EDITORIAL COPY
   ========================================== */

.aldwin-account-story .aas-content {
  min-width: 0;
}

.aldwin-account-story .aas-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-account-story .aas-content h2 span {
  display: block;
  color: #898D93 !important;
}

.aldwin-account-story .aas-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-account-story .aas-content p:last-of-type {
  margin-bottom: 0 !important;
}

.aldwin-account-story .aas-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;
}

/* ==========================================
   RIGHT COLUMN / ALDWIN AMBIENT MATERIAL
   ========================================== */

.aldwin-account-story .aas-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 12% 74%,
      rgba(175,207,203,.66),
      transparent 59%
    ),
    radial-gradient(
      ellipse at 85% 11%,
      rgba(207,208,239,.75),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 78% 86%,
      rgba(192,221,193,.54),
      transparent 54%
    ),
    linear-gradient(
      136deg,
      #DAE2E3 0%,
      #EEF0F0 48%,
      #D9DDDD 100%
    );
}

.aldwin-account-story .aas-canvas::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 7%,
      rgba(255,255,255,.51) 29%,
      transparent 47%,
      rgba(255,255,255,.38) 67%,
      transparent 84%
    ),
    radial-gradient(
      ellipse at 87% 85%,
      rgba(88,110,150,.16),
      transparent 55%
    );
  filter: blur(34px);
  transform: rotate(-5deg);
}

.aldwin-account-story .aas-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 SHELL
   ========================================== */

.aldwin-account-story .aas-app {
  position: relative;
  z-index: 2;
  width: calc(100% - 60px);
  margin: 40px auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 16px;
  background: rgba(250,251,250,.95);
  box-shadow:
    0 0 0 1px rgba(20,30,25,.04),
    0 15px 34px rgba(22,39,32,.11),
    0 38px 80px rgba(22,39,32,.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* WINDOW BAR */

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

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

.aldwin-account-story .aas-preview {
  color: #A0A6A1;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.aldwin-account-story .aas-body {
  padding: 21px 20px 19px;
}

/* ACCOUNT IDENTITY */

.aldwin-account-story .aas-eyebrow {
  margin-bottom: 10px;
  color: #959B97;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.aldwin-account-story .aas-account-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aldwin-account-story .aas-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #D5E1DB;
  border-radius: 10px;
  background: #E8F0EA;
  color: #4B735D;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.aldwin-account-story .aas-account-name {
  color: #252926;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 500;
}

.aldwin-account-story .aas-account-meta {
  margin-top: 4px;
  color: #939994;
  font-size: 11px;
  line-height: 1.4;
}

/* SUBNAV */

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

.aldwin-account-story .aas-tab {
  position: relative;
  padding-bottom: 11px;
  color: #9A9F9B;
  font-size: 11px;
  font-weight: 400;
}

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

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

/* ACCOUNT DETAIL GRID */

.aldwin-account-story .aas-details {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 20px;
  margin-top: 19px;
}

.aldwin-account-story .aas-panel-title {
  margin-bottom: 12px;
  color: #555D57;
  font-size: 11px;
  font-weight: 500;
}

/* ACTIVITY */

.aldwin-account-story .aas-activity {
  position: relative;
  padding: 0 0 13px 16px;
  border-left: 1px solid #E1E7E2;
}

.aldwin-account-story .aas-activity:last-child {
  padding-bottom: 0;
}

.aldwin-account-story .aas-activity::before {
  position: absolute;
  top: 4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #B8C9BC;
  border: 1px solid #F9FAF9;
  content: "";
}

.aldwin-account-story .aas-activity:first-of-type::before {
  background: #729D81;
}

.aldwin-account-story .aas-activity-name {
  color: #3A413C;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
}

.aldwin-account-story .aas-activity-desc {
  margin-top: 3px;
  color: #989F99;
  font-size: 10px;
  line-height: 1.45;
}

.aldwin-account-story .aas-activity-time {
  margin-top: 4px;
  color: #B0B5B0;
  font-size: 9px;
  line-height: 1.3;
}

/* SALESFORCE CONTEXT */

.aldwin-account-story .aas-context {
  padding: 13px;
  border: 1px solid #E7EAE7;
  border-radius: 10px;
  background: #F7F8F7;
}

.aldwin-account-story .aas-context-row {
  margin-bottom: 13px;
}

.aldwin-account-story .aas-context-row:last-child {
  margin-bottom: 0;
}

.aldwin-account-story .aas-context-label {
  margin-bottom: 4px;
  color: #9A9F9B;
  font-size: 9px;
  line-height: 1.3;
}

.aldwin-account-story .aas-context-value {
  color: #38443A;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}

/* RECOMMENDATION */

.aldwin-account-story .aas-recommendation {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #DBE8DF;
  border-radius: 10px;
  background:
    linear-gradient(
      126deg,
      #F5FAF6 0%,
      #EDF5EF 100%
    );
}

.aldwin-account-story .aas-rec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #59806A;
  font-size: 10px;
  font-weight: 500;
}

.aldwin-account-story .aas-rec-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #86AB91;
}

.aldwin-account-story .aas-rec-title {
  color: #2D4937;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.aldwin-account-story .aas-rec-desc {
  max-width: 420px;
  margin-top: 5px;
  color: #788A7D;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
}

.aldwin-account-story .aas-rec-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #DAE7DD;
}

.aldwin-account-story .aas-rec-evidence {
  color: #90A194;
  font-size: 10px;
}

.aldwin-account-story .aas-rec-status {
  padding: 6px 9px;
  border: 1px solid #D1E2D6;
  border-radius: 6px;
  background: #F7FAF7;
  color: #597C65;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

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

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

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

  .aldwin-account-story .aas-details {
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .aldwin-account-story .aas-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aldwin-account-story .aas-canvas {
    max-width: 720px;
  }
}

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

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

  .aldwin-account-story .aas-canvas {
    min-height: 0;
  }

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

  .aldwin-account-story .aas-topbar {
    padding: 13px;
  }

  .aldwin-account-story .aas-body {
    padding: 17px 13px;
  }

  .aldwin-account-story .aas-details {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .aldwin-account-story .aas-context {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }

  .aldwin-account-story .aas-context-row {
    margin: 0;
  }

  .aldwin-account-story .aas-tabs {
    gap: 18px;
  }
}
