/* Study area detail page — Products.
   Figma: UX-Pacific-Website node 947:3940.
   Design canvas is 1440 wide with 100px gutters => 1240px content column. */

.sa-page {
  --sa-gutter: 100px;
  --sa-max: 1240px;
  --sa-gap: 100px;
  --sa-aside: 360px;
  --sa-ink: #111;
  --sa-body: #343434;
  --sa-muted: #626262;
  --sa-brand: #1f18e2;
  --sa-deep: #040082;
  --sa-accent: #e0f100;
  --sa-tint: #f8f8fd;
  --sa-rule: #e3e3ed;
  color: var(--sa-ink);
  letter-spacing: 0;
}
.sa-page * {
  letter-spacing: 0;
}

.sa-wrap {
  width: 100%;
  max-width: var(--sa-max);
  margin-inline: auto;
}

/* Hairline divider used between every band. */
.sa-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--sa-rule);
}

.sa-eyebrow {
  margin: 0;
  color: var(--sa-brand);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}



.sa-section {
  padding: 80px var(--sa-gutter);
}
.sa-section--tint {
  background: var(--sa-tint);
}
.sa-section .sa-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.sa-section--tint .sa-wrap {
  gap: 44px;
}

/* Two-column band: fixed intro rail + fluid body. */
.sa-split {
  display: flex;
  align-items: flex-start;
  gap: var(--sa-gap);
}
.sa-intro {
  flex: 0 0 var(--sa-aside);
  width: var(--sa-aside);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sa-intro h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.sa-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sa-body p {
  margin: 0;
  color: var(--sa-body);
  font-size: 16px;
  line-height: 1.65;
}
.sa-body a,
.sa-purpose a {
  color: var(--sa-brand);
}

/* Lead band: wider copy rail beside the focus card. */
.sa-split--lead .sa-purpose {
  flex: 0 0 640px;
  width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* :not(.sa-eyebrow) — a bare `.sa-purpose p` outranks `.sa-eyebrow` and would
   resize the eyebrow to body copy. Same guard as .sa-duo below. */
.sa-purpose p:not(.sa-eyebrow) {
  margin: 0;
  color: var(--sa-body);
  font-size: 16px;
  line-height: 1.65;
}
.sa-h-lead {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.sa-focus-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  background: var(--sa-tint);
}
.sa-focus-card h3 {
  margin: 0;
  color: var(--sa-deep);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}
.sa-focus-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sa-focus-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--sa-body);
  font-size: 15px;
  line-height: 1.5;
}
.sa-focus-list img {
  flex-shrink: 0;
}

/* ---------- Experience stages ---------- */

.sa-stages {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--sa-rule);
}
.sa-stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--sa-rule);
}
.sa-stage-num {
  flex: 0 0 56px;
  width: 56px;
  color: var(--sa-brand);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}
.sa-stage-title {
  flex: 0 0 330px;
  width: 330px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.sa-stage-title img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  /* optically centre the 24px icon on the 30px first line of the h3 */
  margin-top: 3px;
}
.sa-stage-title h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}
.sa-stage > p {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--sa-body);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Method pills ---------- */

.sa-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.sa-method {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--sa-tint);
  color: var(--sa-brand);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sa-method:hover,
.sa-method:focus-visible {
  background: var(--sa-brand);
  color: #fff;
}

/* ---------- Deliverables panel ---------- */

.sa-deliver {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 40px;
  background: var(--sa-deep);
}
.sa-deliver-intro {
  flex: 0 0 var(--sa-aside);
  width: var(--sa-aside);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sa-deliver-intro .sa-eyebrow {
  color: var(--sa-accent);
}
.sa-deliver-intro h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.sa-deliver-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sa-deliver-body p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.65;
}
.sa-deliver-sub {
  color: #d4d2ff !important;
}

/* ---------- Guidance duo ---------- */

.sa-duo {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}
.sa-duo > div {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sa-duo p:not(.sa-eyebrow) {
  margin: 0;
  color: var(--sa-body);
  font-size: 16px;
  line-height: 1.65;
}
.sa-duo a {
  color: var(--sa-brand);
  text-decoration: underline;
}
.sa-h-duo {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

.sa-faq {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sa-faq-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sa-faq-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}
.sa-faq-item p {
  margin: 0;
  color: var(--sa-body);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Next study area ---------- */

.sa-next {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
  padding: 28px 16px;
  border-top: 0.8px solid var(--sa-rule);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s;
}
.sa-next:hover,
.sa-next:focus-visible {
  background: var(--sa-tint);
}
.sa-next-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}
.sa-next-title {
  color: var(--sa-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.sa-next-label {
  color: var(--sa-muted);
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
}
.sa-next-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #d4dae0;
  border-radius: 999px;
  transition: transform 0.25s, border-color 0.25s;
}
.sa-next:hover .sa-next-icon,
.sa-next:focus-visible .sa-next-icon {
  border-color: var(--sa-brand);
  transform: translateX(4px);
}

/* ---------- Closing CTA (site pattern, outside the Figma frame) ---------- */

.sa-closing {
  margin-top: 0;
  padding: 72px var(--sa-gutter) 88px;
  background: #111;
}
.sa-closing-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: var(--sa-max);
  margin-inline: auto;
}
.sa-closing h2 {
  margin: 0;
  color: #f5f5f5;
  font-family: var(--font-display), Inter, sans-serif;
  font-size: clamp(2rem, 3.6vw, 44px);
  line-height: 1.2;
  text-transform: uppercase;
}
.sa-closing h2 em {
  color: var(--sa-accent);
  font-family: var(--font-sans), Inter, sans-serif;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
}
.sa-closing p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.65;
}
.sa-closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}
.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 29px;
  border-radius: 24px;
  background: var(--sa-brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.sa-btn:hover,
.sa-btn:focus-visible {
  background: #fff;
  color: var(--sa-brand);
}
.sa-closing-email {
  color: #d2d2d2;
  font-size: 14px;
  text-decoration: underline;
}
.sa-closing-email:hover,
.sa-closing-email:focus-visible {
  color: #fff;
}

/* ---------- Animations ---------- */

.sa-reveal {
  transition: opacity 0.6s, transform 0.6s, background 0.25s, box-shadow 0.25s;
}

.sa-pending {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  .sa-page * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .sa-pending {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .sa-page {
    --sa-gutter: 48px;
    --sa-gap: 56px;
    --sa-aside: 280px;
  }
  .sa-split--lead .sa-purpose {
    flex: 1 1 0;
    width: auto;
  }
  .sa-stage-title {
    flex: 0 0 260px;
    width: 260px;
  }
}

@media (max-width: 980px) {
  .sa-page {
    --sa-gutter: 24px;
  }
  .sa-section {
    padding-block: 56px;
  }
  .sa-split,
  .sa-duo,
  .sa-deliver {
    flex-direction: column;
    gap: 28px;
  }
  .sa-intro,
  .sa-deliver-intro,
  .sa-split--lead .sa-purpose {
    flex: 1 1 auto;
    width: 100%;
  }
  .sa-deliver {
    padding: 28px;
  }
  .sa-h-lead {
    font-size: 32px;
  }
  .sa-intro h2,
  .sa-deliver-intro h2 {
    font-size: 26px;
  }
  .sa-h-duo {
    font-size: 24px;
  }
  /* Stages stack: number and title on one row, copy beneath. */
  .sa-stage {
    flex-wrap: wrap;
    gap: 16px;
  }
  .sa-stage-num {
    flex: 0 0 auto;
    width: auto;
  }
  .sa-stage-title {
    flex: 1 1 auto;
    width: auto;
  }
  .sa-stage > p {
    flex: 1 1 100%;
  }
  .sa-closing-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .sa-page {
    --sa-gutter: 20px;
    --sa-gap: 24px;
  }
  .sa-section {
    padding-block: 48px;
  }
  .sa-split--lead .sa-purpose,
  .sa-stage-title,
  .sa-intro,
  .sa-deliver-intro {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
  .sa-focus-card {
    padding: 24px;
    width: 100%;
    max-width: 100%;
  }
  .sa-focus-card h3 {
    font-size: 22px;
  }
  .sa-stage-title h3 {
    font-size: 20px;
  }
  .sa-next {
    gap: 20px;
    flex-wrap: wrap;
  }
  .sa-next-title {
    font-size: 20px;
    line-height: 28px;
  }
  .sa-deliver {
    padding: 24px;
  }
  .sa-duo {
    flex-direction: column;
  }
}
