/* ==========================================================================
   Welcome Offer – Ultimate Platinum Mastercard (paid-ads campaign landing page)
   Page-specific styles only; layout leans on Bootstrap utilities in main.css.
   Palette approximated from the Figma design (design tokens were unavailable).
   ========================================================================== */
:root {
  --wo-bg: #fbf6f3;
  --wo-ink: #452824;          /* near-black warm brown (headings) */
  --wo-accent: #B7685A;       /* rust / terracotta (sub-headings, step titles) */
  --wo-accent-soft: #A15F53;  /* softer rust (benefit descriptions) */
  --wo-muted: #452824;        /* body copy */
  --wo-dark: #2A2A2A;         /* dark section base */
  --wo-pink: #f4cfc9;         /* CTA button */
  --wo-pink-hover: #eebbb2;
  --wo-card-radius: 28px;
  --wo-title-color: #452824;
  --wo-step-text: #261413;
}

.wo-title-color {
  color: var(--wo-title-color);
}

.wo-body {
  background: var(--wo-bg);
  color: var(--wo-ink);
}
.wo-body main {
  overflow-x: hidden;
}

/* ------------------------------- shared ---------------------------------- */
.wo-section {
  padding: 3.5rem 0;
}
/* Card Benefits + How to Unlock share one continuous gradient (white → light grey) */
.wo-lightzone {
  background: linear-gradient(1deg, #FFF -3.5%, #DEDEDE 73.41%);
}

/* page-scoped narrow container — caps content at ~1000px on all viewports */
.wo-narrow {
  max-width: 1140px;
}
.wo-section__title {
  display: flex;
  align-items: flex-end;
  gap: .6rem;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--wo-ink);
  margin: 0 0 2.5rem;
  text-align: center;
}
.wo-section__title--center { justify-content: center; }
.wo-section__icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* buttons ----------------------------------------------------------------- */
.wo-btn {
  background: linear-gradient(180deg, #EAC2BC 0%, #F3E2E8 127.6%);
  color: var(--wo-ink);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: .55rem 2.4rem;
  transition: filter .2s ease, transform .2s ease;
  box-shadow: 0 10px 30px rgba(168, 84, 58, .18);
}
.wo-btn:hover,
.wo-btn:focus {
  background: linear-gradient(180deg, #EAC2BC 0%, #F3E2E8 127.6%);
  color: var(--wo-ink);
  filter: brightness(.96);
  transform: translateY(-1px);
}
.wo-btn--lg {
  font-size: 1.05rem;
  padding: .7rem 2.8rem;
}
.wo-btn__arrow {
  margin-left: .5rem;
  font-weight: 700;
}

/* --------------------------------- hero ---------------------------------- */
.wo-hero {
  position: relative;
  min-height: min(60vw, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef1f4;
}
.wo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* light scrim: the hero copy is dark on this page, so the left side is washed
   out to white instead of darkened */
.wo-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .58) 34%, rgba(255, 255, 255, 0) 62%);
}
.wo-hero__inner {
  position: relative;
  width: 100%;
}
.wo-hero__content {
  max-width: 50%;
  min-width: 500px;
  color: #1d1d1f;
  padding: 2rem 0;
}
.wo-hero__logo {
  width: auto;
  height: clamp(34px, 3.1vw, 44px);
  margin-bottom: 1rem;
  margin-left: -0.3rem;
  display: block;
}
.wo-hero__title {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.22;
  color: #1d1d1f;
  margin-bottom: 1.1rem;
}
.wo-hero__title sup { font-size: .55em; top: -.7em; }
.wo-hero__subtitle {
  font-weight: 700;
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  color: #6e6e73;
  margin-bottom: 2.4rem;
}
.wo-hero__subtitle sup { font-size: .6em; top: -.6em; }
/* button + T&Cs grouped; the group shrinks to the button so the T&Cs centres under it */
.wo-hero__cta {
  display: inline-block;
}
.wo-hero__tnc {
  margin: 1rem 0 0;
  font-size: .8rem;
  color: #5a5a5f;
  text-align: center;
}

/* ----------------------------- benefit cards ----------------------------- */
.wo-card {
  background: transparent;
  padding: 1rem .75rem;
  height: 100%;
}
.wo-card__img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 1.2rem;
  display: block;
}
.wo-card__title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--wo-ink);
  margin-bottom: 1.1rem;
}
.wo-card__text {
  color: var(--wo-accent-soft);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}
/* 4-up row: reserve two title lines so every body copy starts on the same
   baseline even when a title only runs to one line */
@media (min-width: 992px) {
  .wo-card__title { min-height: 2.6em; }
}

/* ---- shared dark zone: unleash → perks → eligibility/fees → apply -------
   One continuous gradient behind all four blocks (dark espresso → warm taupe). */
.wo-darkzone {
  color: #fff;
  background: linear-gradient(180deg,
    #241611 0%,
    #2f1e18 14%,
    #43302a 38%,
    #5d453f 60%,
    #836d67 83%,
    #a99591 100%);
}

/* --------------------------------- unleash ------------------------------- */
.wo-unleash {
  padding: 3.5rem 0 2.5rem;
}
.wo-unleash__box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 26vw, 360px);
  border-radius: 32px;
  overflow: hidden;
  background: #241611;
  color: #fff;
}
/* the lifestyle banner is the box background (already dark on the left for the copy) */
.wo-unleash__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* extra left scrim to guarantee text contrast if the image shifts on crop */
.wo-unleash__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 22, 17, .8) 0%, rgba(36, 22, 17, .45) 34%, rgba(36, 22, 17, 0) 58%);
}
.wo-unleash__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: 60%;
  padding: 2rem clamp(1.4rem, 4vw, 3.4rem);
}
.wo-unleash__copy { flex: 1 1 auto; }
.wo-unleash__icon {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.wo-unleash__title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.wo-unleash__text {
  color: #E9E9E9;
  margin: 0;
  max-width: 34rem;
}
@media (max-width: 767.98px) {
  .wo-unleash__content { max-width: 100%; }
  .wo-unleash__scrim {
    background: linear-gradient(180deg, rgba(36, 22, 17, .82) 0%, rgba(36, 22, 17, .55) 45%, rgba(36, 22, 17, .78) 100%);
  }
  .wo-unleash__bg { object-position: 72% center; }
}

/* ---------------------------------- perks -------------------------------- */
.wo-perks {
  padding: 1rem 0 3.5rem;   /* transparent — sits on the shared .wo-darkzone gradient */
}
/* The heading and every perk carry the same insets as .wo-info below, so the
   perk icons land on the Eligibility / Fees tick column and the copy shares its
   measure. Both grids use gx-lg-5, so the right column lines up too.
   Keep these in sync with .wo-info (incl. the lg+ block). */
.wo-perks__heading,
.wo-perk {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.wo-perks__heading {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 2.6rem;
}
/* more breathing room between perk rows than the gy-4 default */
.wo-perks .row {
  --dcscc-gutter-y: 3.4rem;
}
.wo-perk {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}
.wo-perk__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 38px;   /* Figma hexagon aspect 58×64 */
  object-fit: contain;
  transform: translateY(-8px);
}
.wo-perk__title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .6rem;
  color: #DEDEDE;
}
.wo-perk__text {
  color: #DEDEDE;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.wo-perk__text a {
  color: #f0c2b4;
  text-decoration: underline;
  word-break: break-word;
}

/* --------------------------- eligibility / fees -------------------------- */
.wo-info {
  position: relative;
  padding: 3.4rem 1.25rem 1rem 2rem;   /* transparent — sits directly on the dark gradient */
  margin-top: 1.6rem;
  height: 100%;
}
/* Two-column layout (Figma): symmetric 2.5rem outer inset, 1rem inner inset,
   so the middle gutter is 1rem + 3rem grid gutter + 1rem = 80px and the two
   columns come out equal. Perks above use the same insets. */
@media (min-width: 992px) {
  #eligibility.wo-info { padding-left: 2.5rem; padding-right: 1rem; }
  #fees.wo-info { padding-left: 1rem; padding-right: 2.5rem; }
  #eligibility .wo-info__pill { left: 2.5rem; right: 1rem; }
  #fees .wo-info__pill { left: 1rem; right: 2.5rem; }
  .wo-perks__heading { padding-left: 2.5rem; padding-right: 2.5rem; }
  .wo-perks .col:nth-child(odd) .wo-perk { padding-left: 2.5rem; padding-right: 1rem; }
  .wo-perks .col:nth-child(even) .wo-perk { padding-left: 1rem; padding-right: 2.5rem; }

  /* faint divider between the Eligibility and Fees columns */
  #fees.wo-info::after {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 3.4rem;
    bottom: 10rem;
    width: 1px;
    background: #EAB5AE;
  }
}
/* spans its column (left/right follow .wo-info's insets), text centred */
.wo-info__pill {
  position: absolute;
  top: -1.6rem;
  left: 1.25rem;
  right: 1.25rem;
  text-align: center;
  background: #351f18;
  color: #fff;
  font-weight: 400;
  font-size: 1.15rem;
  padding: 1.1rem 1.5rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(53, 31, 24, .25);
}
.wo-info__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.wo-info__list li {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.2rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .92);
}
.wo-info__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 26px;
  height: 26px;
  background: #f4ddd4;
  -webkit-mask: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}
.wo-info__note {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: .82rem;
  margin-top: .3rem;
}
/* GST qualifier under the fees list — smaller and bold, aligned with the list
   copy rather than the ticks */
.wo-info__footnote {
  padding-left: 4rem;
  margin: -.6rem 0 1.2rem;
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.5;
}
.wo-info__link {
  padding-left: 4rem;   /* align with the list text, not the checkmark */
}
/* the shared partial has no trailing chevron — the Fees link carries one inline */
#eligibility .wo-info__link a::after { content: "\00a0\00a0\203A"; }
.wo-info__link a {
  color: var(--wo-pink);
  font-weight: 600;
  font-size: .9rem;   /* a notch under the list copy, both columns alike */
  text-decoration: underline;
}
/* the required-documents modal is nested inside .wo-darkzone (color:#fff),
   which made its body text white-on-white — restore dark text inside the modal */
#docs_required_reg { color: #212529; }
.wo-footnote {
  text-align: center;
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
  margin-top: 1.4rem;
}
.wo-apply-cta {
  text-align: center;
  margin-top: 2.6rem;
}

/* ---- shared apply zone: FAQs + easy steps sit on one background image ---- */
.wo-applyzone {
  background: #f4f1ee url("/dcscc/v2/images/welcome-offer/icons/apply_step_bg.png") no-repeat center bottom / cover;
}

/* --------------------------------- faqs ---------------------------------- */
.wo-faq {
  padding: 4rem 0 1rem;
}
.wo-faq__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #1d1d1f;
  margin: 0 0 2.6rem;
}
.wo-faq__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: translate(1rem, -0.5rem);
}
.wo-faq__list {
  max-width: 940px;
  margin: 0 auto;
}
.wo-faq__item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(69, 40, 36, .07);
  overflow: hidden;
}
.wo-faq__item + .wo-faq__item {
  margin-top: 1.1rem;
}
/* the whole header row is the toggle — reset the button chrome */
.wo-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: 0;
  text-align: left;
  color: #1d1d1f;
}
.wo-faq__q:focus { outline: none; }
.wo-faq__num {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
}
.wo-faq__text {
  flex: 1 1 auto;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}
/* chevron drawn from two borders so it can rotate with the panel state */
.wo-faq__chev {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: .3rem;
  border-right: 2.5px solid #1d1d1f;
  border-bottom: 2.5px solid #1d1d1f;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.wo-faq__q[aria-expanded="true"] .wo-faq__chev {
  transform: rotate(-135deg);
  margin-top: .6rem;
}
/* answer copy lines up with the question text, not the number */
.wo-faq__a {
  padding: 0 2rem 1.5rem;
  margin-left: calc(1.4rem + 1ch);
}
.wo-faq__a p {
  margin: 0;
  color: #3d3d42;
  font-size: .95rem;
  line-height: 1.6;
}
.wo-faq__a a {
  color: inherit;
  text-decoration: underline;
}
.wo-faq .wo-tnc {
  margin: 3rem auto 1rem;
}

/* ------------------------------ easy steps ------------------------------- */
.wo-steps {
  position: relative;
  padding: 4rem 0 4.5rem;   /* background comes from .wo-applyzone */
}
.wo-steps__heading {
  display: flex;
  align-items: center;
  gap: .8rem;
  justify-content: center;   /* block stays centred in the section */
  text-align: left;          /* the two text lines are left-aligned to each other */
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--wo-ink);
  margin: 0 0 2.4rem;
}
.wo-steps__icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex: 0 0 auto;
}
.wo-steps__list {
  list-style: none;
  counter-reset: none;
  padding: 0;
  max-width: 880px;
  margin: 0 auto 1.6rem;
}
.wo-steps__item,
.wo-steps__endcard {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.8rem;
  box-shadow: 0 12px 30px rgba(90, 52, 40, .07);
}
.wo-steps__item p,
.wo-steps__endcard p { margin: 0; color: var(--wo-step-text); }
.wo-steps__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  font-weight: 800;
  font-size: 2rem;
  color: var(--wo-step-text);
  text-align: center;
  background: url("/dcscc/v2/images/welcome-offer/num_bg.png") no-repeat center center / 100% 100%;
}

.wo-appcard {
  max-width: 880px;
  margin: 0 auto 1.6rem;
  background: #fff;
  border-radius: 28px;
  padding: 2.4rem clamp(1.4rem, 3vw, 2.6rem);
  box-shadow: 0 18px 40px rgba(90, 52, 40, .09);
}
.wo-appcard__eyebrow {
  color: var(--wo-accent);
  font-weight: 700;
  margin-bottom: .4rem;
}
.wo-appcard__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--wo-step-text);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.wo-appcard__text {
  color: var(--wo-dark);
  max-width: 26rem;
  margin-bottom: 1.4rem;
}
.wo-appcard__badges { white-space: nowrap; }
.wo-appcard__badges a { display: inline-block; }
.wo-appcard__badges img { height: 47px; width: auto; }
.wo-appcard__phone {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.wo-steps__end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  max-width: 880px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.wo-steps__endcard { flex: 1 1 300px; }
/* step 2 shrinks to its content; step 3 fills the remaining width */
.wo-steps__endcard--fit { flex: 0 1 auto; }
.wo-steps__endcard--grow { flex: 1 1 auto; }
.wo-steps__or {
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--wo-step-text);
  font-size: 1.5rem;
}

/* full T&C link — understated, on-brand (replaces the old blue/orange button) */
.wo-tnc {
  max-width: 880px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  text-align: center;
}
.wo-tnc a {
  color: var(--wo-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.wo-tnc a:hover,
.wo-tnc a:focus { color: var(--wo-ink); }

/* ------------------------------ responsive ------------------------------- */
@media (max-width: 991.98px) {
  .wo-hero__scrim {
    background: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .62) 45%, rgba(255, 255, 255, .8) 100%);
  }
  .wo-hero__img { object-position: 62% center; }
  .wo-hero__content { max-width: 100%; min-width: 0; }
  /* the group spans the copy width so the button and its T&Cs centre together */
  .wo-hero__cta { display: block; text-align: center; }
  .wo-hero__tnc { text-align: center; }
}
@media (max-width: 575.98px) {
  .wo-info { padding: 3.4rem 1.25rem 1rem; }
  .wo-info__pill { padding: .75rem 1.5rem; font-size: 1rem; }
  .wo-info__list li { padding-left: 3rem; margin-bottom: 1.6rem; line-height: 1.7; }
  .wo-info__list li::before { width: 22px; height: 22px; }
  .wo-info__footnote,
  .wo-info__link { padding-left: 3rem; }
  .wo-faq__q { padding: 1.2rem 1.25rem; gap: .9rem; }
  .wo-faq__text { font-size: .98rem; }
  .wo-faq__a { padding: 0 1.25rem 1.25rem; margin-left: 0; }
  .wo-steps__or { width: 100%; text-align: center; }
}
