/**
 * Product offering pages — outcome-first narrative (pain → pillars → proof → depth → CTA).
 * Non–Knowledge Hub catalog products only. Complements offering-detail.css.
 */

/* ----- Post-hero stack blurb (e.g. full-stack web) ----- */
.offering-post-hero-stack {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(9, 75, 184, 0.08);
}

.offering-post-hero-stack__inner {
  max-width: min(920px, 100%);
  margin: 0 auto;
}

.offering-post-hero-stack__heading {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell-accent-deep, #094bb8);
  margin: 0 0 0.85rem;
}

.offering-post-hero-stack__text {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: var(--shell-text, #0f172a);
}

.offering-post-hero-stack__text + .offering-post-hero-stack__text {
  margin-top: 0.9rem;
}

/* ----- Full-stack website packages ----- */
.offering-web-packages {
  padding: clamp(2rem, 4.5vw, 3rem) clamp(16px, 4vw, 40px);
  background:
    linear-gradient(160deg, #031026 0%, #0b2550 42%, #0d3c78 100%),
    radial-gradient(ellipse 70% 55% at 88% 14%, rgba(125, 211, 252, 0.2), transparent 55%);
  border-bottom: 1px solid rgba(9, 75, 184, 0.08);
}

.offering-web-packages__head {
  max-width: min(820px, 100%);
  margin: 0 auto 1.4rem;
}

.offering-web-packages__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.offering-web-packages__title {
  margin: 0 0 0.55rem;
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.offering-web-packages__deck {
  margin: 0;
  color: rgba(186, 230, 253, 0.92);
  font-size: 0.98rem;
}

.offering-web-packages__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .offering-web-packages__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.offering-web-packages__card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, #f5f9ff 100%);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 14px;
  padding: 1.2rem 1.1rem 1.25rem;
  box-shadow: 0 14px 34px rgba(2, 8, 24, 0.35);
}

.offering-web-packages__card-title {
  margin: 0 0 0.45rem;
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: 1.02rem;
  color: var(--shell-text, #0f172a);
}

.offering-web-packages__price {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--shell-accent-deep, #094bb8);
}

.offering-web-packages__fit {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--shell-text, #1e293b);
}

.offering-web-packages__features {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.offering-web-packages__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1e293b;
}

.offering-web-packages__features i {
  color: #0b6bff;
  margin-top: 0.1rem;
}

.offering-web-packages__income-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--shell-muted, #475569);
}

/* ----- Story hero ----- */
.offering-page--product-story .offering-hero--story {
  min-height: min(56vh, 600px);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 900px) {
  .offering-page--product-story .offering-hero--story.offering-hero--hero-video {
    min-height: min(70vh, 780px);
  }
}

.offering-hero__copy--story .offering-breadcrumb {
  margin-bottom: 1rem;
}

.offering-hero__product-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.85rem;
}

.offering-hero__product-name {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #bae6fd;
  letter-spacing: -0.02em;
}

.offering-hero__product-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.85);
}

.offering-hero__outcome {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.95rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.07;
  margin: 0 0 1rem;
  color: #ffffff;
  max-width: 22ch;
}

@media (min-width: 900px) {
  .offering-hero__outcome {
    max-width: 26ch;
  }
}

.offering-hero__tagline--story {
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  font-weight: 500;
  max-width: 46ch;
  line-height: 1.55;
  color: rgba(224, 242, 254, 0.92);
  margin: 0 0 1.65rem;
}

.offering-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.offering-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  background: #ffffff;
  color: var(--shell-accent-deep, #094bb8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.offering-hero__cta-primary:hover {
  transform: translateY(-1px);
  background: #f0f9ff;
}

.offering-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: #e0f2fe;
  border: 1px solid rgba(186, 230, 253, 0.45);
  background: rgba(0, 12, 32, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.offering-hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

/* Video hero readability for outcome headline */
.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-hero__outcome {
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.75),
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.95);
}

.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-hero__tagline--story {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0, 0, 0, 0.95);
}

.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-breadcrumb,
.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-breadcrumb a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-hero__product-name,
.offering-page--product-story .offering-hero.offering-hero--hero-video .offering-hero__product-meta {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.offering-body--product-story {
  padding-bottom: 0;
}

/* ----- Pain ----- */
.offering-story-pain {
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border-bottom: 1px solid rgba(9, 75, 184, 0.08);
}

.offering-story-pain__inner {
  max-width: min(720px, 100%);
}

.offering-story-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell-accent-deep, #094bb8);
}

.offering-story-kicker--muted {
  color: #64748b;
}

.offering-story-pain__title {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--shell-text, #0f172a);
}

.offering-story-pain__text {
  margin: 0;
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  line-height: 1.68;
  color: var(--shell-muted, #475569);
}

/* ----- Value pillars ----- */
.offering-story-pillars {
  padding: clamp(2.75rem, 5.5vw, 4.25rem) clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
}

.offering-story-pillars__head {
  max-width: min(820px, 100%);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.offering-story-pillars__title {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.2;
  margin: 0;
  color: var(--shell-text, #0f172a);
}

.offering-story-pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .offering-story-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.offering-story-pillar-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(9, 75, 184, 0.12);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .offering-story-pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(9, 75, 184, 0.12);
  }
}

.offering-story-pillar-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(9, 75, 184, 0.12) 0%, rgba(11, 107, 255, 0.08) 100%);
  color: var(--shell-accent-deep, #094bb8);
  font-size: 1.2rem;
}

.offering-story-pillar-card__label {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--shell-text, #0f172a);
  letter-spacing: -0.02em;
}

.offering-story-pillar-card__body {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--shell-muted, #475569);
}

/* ----- Visual proof ----- */
.offering-story-proof {
  padding: clamp(2.75rem, 5vw, 4rem) clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, #eef4fc 0%, #f8fafc 45%, #ffffff 100%);
  border-top: 1px solid rgba(9, 75, 184, 0.07);
  border-bottom: 1px solid rgba(9, 75, 184, 0.06);
}

.offering-story-proof__head {
  text-align: center;
  max-width: min(720px, 100%);
  margin: 0 auto 2.25rem;
}

.offering-story-proof__title {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: var(--shell-text, #0f172a);
}

.offering-story-proof__deck {
  margin: 0;
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 1.6;
  color: var(--shell-muted, #475569);
}

/* Flow diagram */
.offering-proof-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 0.5rem;
}

.offering-proof-flow__node {
  flex: 1 1 200px;
  min-width: min(100%, 200px);
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(9, 75, 184, 0.15);
  box-shadow: 0 10px 32px rgba(9, 75, 184, 0.08);
}

.offering-proof-flow__label {
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
  color: var(--shell-text, #1e293b);
}

.offering-proof-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shell-accent-deep, #094bb8);
  font-size: 1.25rem;
  padding: 0 0.15rem;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .offering-proof-flow {
    flex-direction: column;
    align-items: center;
  }

  .offering-proof-flow__node {
    max-width: 100%;
    width: 100%;
  }

  .offering-proof-flow__arrow {
    transform: rotate(90deg);
    padding: 0.35rem 0;
  }
}

/* Device mockups */
.offering-proof-device {
  max-width: 920px;
  margin: 0 auto;
}

.offering-proof-device__shell {
  position: relative;
  margin: 0 auto;
}

.offering-proof-device--laptop .offering-proof-device__shell {
  max-width: 100%;
}

.offering-proof-device--phone .offering-proof-device__shell {
  max-width: 280px;
}

.offering-proof-device__screen {
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow:
    0 24px 60px rgba(9, 75, 184, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(165deg, #0f172a 0%, #1e3a5f 100%);
}

.offering-proof-device--phone .offering-proof-device__screen {
  border-radius: 28px;
  aspect-ratio: 9 / 18;
}

.offering-proof-ui {
  min-height: 280px;
  padding: 0;
}

.offering-proof-device--phone .offering-proof-ui {
  min-height: 100%;
}

.offering-proof-ui__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offering-proof-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.offering-proof-ui__dot:nth-child(2) {
  background: rgba(253, 224, 71, 0.55);
}

.offering-proof-ui__dot:nth-child(3) {
  background: rgba(74, 222, 128, 0.55);
}

.offering-proof-ui__bar {
  flex: 1;
  height: 8px;
  margin-left: 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.offering-proof-ui__workspace {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 240px;
}

.offering-proof-ui__side {
  background: rgba(0, 0, 0, 0.28);
  padding: 0.75rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.offering-proof-ui__nav-i {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.offering-proof-ui__nav-i:nth-child(1) {
  width: 70%;
}

.offering-proof-ui__nav-i:nth-child(2) {
  width: 85%;
}

.offering-proof-ui__nav-i:nth-child(3) {
  width: 60%;
}

.offering-proof-ui__nav-i:nth-child(4) {
  width: 75%;
}

.offering-proof-ui__main {
  padding: 0.85rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offering-proof-ui__hero-block {
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(59, 130, 246, 0.35), rgba(56, 189, 248, 0.2));
}

.offering-proof-ui__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.offering-proof-ui__grid span {
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.offering-proof-ui__table {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.offering-proof-ui__row {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.offering-proof-ui__row:nth-child(2) {
  width: 92%;
}

.offering-proof-ui__row:nth-child(3) {
  width: 78%;
}

/* Phone UI blocks */
.offering-proof-ui__mobile {
  padding: 0.85rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.offering-proof-ui__mob-header {
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.offering-proof-ui__mob-row {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.offering-proof-ui__mob-row--short {
  width: 70%;
}

.offering-proof-ui__mob-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.offering-proof-ui__mob-cards span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.offering-proof-device__hinge {
  height: 6px;
  margin: 0 auto;
  width: min(140px, 40%);
  background: linear-gradient(90deg, #334155, #64748b, #334155);
  border-radius: 2px;
}

.offering-proof-device__base {
  height: 14px;
  margin: 0 auto;
  width: min(360px, 88%);
  background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Overview doc head variant */
.offering-xl-doc-head--story .offering-xl-doc-head__deck {
  max-width: 62ch;
}

/* Executive overview spacing after proof */
.offering-body--product-story .offering-section--overview-xl {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ----- Footer CTA (retained) ----- */
.offering-xl-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(3rem, 7vw, 5rem) clamp(16px, 4vw, 40px);
  background:
    linear-gradient(135deg, #061222 0%, #0a2448 42%, #094bb8 88%, #0b5fd4 100%);
  color: #e8f4fc;
  position: relative;
  overflow: hidden;
}

.offering-xl-cta--tiered .offering-xl-cta__title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}

.offering-xl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 85% 15%, rgba(125, 211, 252, 0.18), transparent 55%);
  pointer-events: none;
}

.offering-xl-cta__inner {
  position: relative;
  z-index: 1;
  max-width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.offering-xl-cta__title {
  font-family: var(--shell-display, "DM Sans", sans-serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #ffffff;
}

.offering-xl-cta__deck {
  margin: 0 auto 1.75rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: rgba(186, 230, 253, 0.95);
}

.offering-xl-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.offering-xl-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.offering-xl-cta__btn--primary {
  background: #ffffff;
  color: var(--shell-accent-deep, #094bb8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.offering-xl-cta__btn--primary:hover {
  transform: translateY(-1px);
  background: #f0f9ff;
}

.offering-xl-cta__btn--ghost {
  background: transparent;
  color: #e0f2fe;
  border: 1px solid rgba(186, 230, 253, 0.45);
}

.offering-xl-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

/* Capability grids — subtle polish */
.offering-body--product-story .offering-cap-card,
.offering-body--product-story .offering-cap-pillar,
.offering-body--product-story .offering-cap-rail__card,
.offering-body--product-story .offering-cap-layer,
.offering-body--product-story .offering-cap-matrix__cell,
.offering-body--product-story .offering-cap-bento__cell {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .offering-body--product-story .offering-cap-card:hover,
  .offering-body--product-story .offering-cap-pillar:hover,
  .offering-body--product-story .offering-cap-rail__card:hover,
  .offering-body--product-story .offering-cap-layer:hover,
  .offering-body--product-story .offering-cap-matrix__cell:hover,
  .offering-body--product-story .offering-cap-bento__cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(9, 75, 184, 0.12);
  }
}
