/* PETRONAS @ Borong — microsite-specific additions.
   Extends the Borong visual system (styles.css + corporate.css) with the
   reference design classes. Do not modify the Borong source files.
*/

/* ── Reference variable aliases ──────────────────────────────────────────── */
:root {
  --container:         1200px;
  --container-narrow:   820px;
  --container-form:     920px;
  --gutter:            clamp(20px, 4vw, 56px);
  --bg:                #FAF8F3;
  --surface:           #fff;
  --surface-mist:      var(--brand-mist);
  --surface-dark:      var(--brand-purple-ink);
  --fg:                var(--brand-ink);
  --fg-soft:           var(--brand-muted);
  --fg-faint:          var(--brand-muted-2);
  --line:              var(--brand-border);
  --line-strong:       var(--brand-border-strong);
  --line-on-dark:      rgba(255,255,255,0.14);
  --purple:            var(--brand-purple);
  --orange:            var(--brand-orange);
  --orange-ink:        #eb7900;
  --orange-soft:       #FFF1DC;
  --r-sm:              10px;
  --r-md:              16px;
  --r-lg:              24px;
  --r-xl:              32px;
}

/* ── 1. Header lockup ─────────────────────────────────────────────────────── */
.site-header {
  transition: background 0.25s ease, backdrop-filter 0.25s ease,
              box-shadow 0.25s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Transparent at the very top of the page */
.site-header.is-top {
  background: transparent;
  box-shadow: none;
}
.site-header.is-top .logo-text { color: var(--brand-purple); }

/* Rolled up / hidden while scrolling down */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Semi-transparent while scrolling up */
.site-header.is-visible {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .logo { gap: 12px; }
.site-header .logo img.logo-mark {
  width: 200px;
  height: auto;
  padding-bottom: 0.25em;
}

/* PNG logo already includes "@ Borong" text — hide the text span */
.site-header .logo .logo-text { display: none; }

@media (max-width: 720px) {
  .site-header .logo img.logo-mark { width: 180px; }
}

/* ── 2. Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--form   { max-width: var(--container-form); }

/* ── 3. Button BEM variants ───────────────────────────────────────────────── */
.btn--primary {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(255,133,0,0.55);
}
.btn--primary:hover {
  background: #eb7900;
  border-color: #eb7900;
  color: #fff;
}
.btn--ghost {
  background: #fff;
  border-color: var(--brand-border);
  color: var(--brand-ink);
}
.btn--ghost:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}
.btn--lg {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}

/* ── 4. Kicker ────────────────────────────────────────────────────────────── */
.kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-muted);
  font-weight: 600;
  margin: 0 0 16px;
  display: block;
}
.kicker--purple        { color: var(--brand-purple); }
.kicker--orange        { color: var(--orange-ink); }
.kicker--orange-on-dark{ color: var(--brand-orange); }

/* ── 5. Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding-block-start: clamp(104px, 11vw, 140px);
  padding-block-end:   clamp(56px, 9vw, 120px);
  padding-inline:      clamp(16px, 6vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Landing-page hero: image → white overlay → gradient → text */
.hero--a {
  background: url('/images/banners/hero-workers.jpg') center / cover no-repeat var(--bg);
  padding-bottom: clamp(32px, 4vw, 54px);
}
.hero--a .hero__cta {
  margin-bottom: clamp(40px, 9vw, 154px);
}
.hero--a::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto; height: auto;
  background: rgba(255, 255, 255, 0.79);
  z-index: 0;
  pointer-events: none;
}
.hero--a::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto; height: auto;
  background:
    radial-gradient(circle at 85% -10%, rgba(255,220,180,0.55), transparent 50%),
    radial-gradient(circle at -10% 100%, rgba(200,190,235,0.50), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero--a .container {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 22px;
  text-wrap: balance;
  color: var(--brand-purple-ink);
}
.hero__title em {
  font-style: normal;
  color: var(--brand-purple);
}
.hero__title--xl { font-size: clamp(48px, 8vw, 92px); }
.hero__sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--fg-soft);
  max-width: 640px;
  margin: 0 0 30px;
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.hero__cta--center { justify-content: center; }
.hero--center { text-align: center; }
.hero--center .hero__sub { margin-inline: auto; }
.hero--narrative {
  background:
    radial-gradient(circle at 88% 0%, rgba(255,220,180,0.45), transparent 45%),
    var(--bg);
}

body[data-page="about"] .hero--narrative {
  background: url('/images/banners/engineer-climbing-rig.jpg') center / cover no-repeat;
}
body[data-page="contact"] .hero--narrative {
  background: url('/images/banners/corporate-walking-team.jpg') center / cover no-repeat;
}
body[data-page="faq"] .hero--narrative {
  background: url('/images/banners/engineers-discussing.jpg') center / cover no-repeat;
}
body[data-page="suppliers"] .hero--narrative {
  background: url('/images/banners/for-supplier.jpg') center / cover no-repeat;
}
body[data-page="swec"] .hero--narrative {
  background: url('/images/banners/partner-us-vendor-announce-desktop.jpg') center / cover no-repeat;
}
body[data-page="merchant-academy"] .hero--narrative {
  background: url('/images/banners/seller-academy.jpg') center / cover no-repeat;
}

body[data-page="about"] .hero--narrative::before,
body[data-page="contact"] .hero--narrative::before,
body[data-page="faq"] .hero--narrative::before,
body[data-page="suppliers"] .hero--narrative::before,
body[data-page="swec"] .hero--narrative::before,
body[data-page="merchant-academy"] .hero--narrative::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto; height: auto;
  background: rgba(255, 255, 255, 0.79);
  z-index: 0;
  pointer-events: none;
}

body[data-page="about"] .hero--narrative::after,
body[data-page="contact"] .hero--narrative::after,
body[data-page="faq"] .hero--narrative::after,
body[data-page="suppliers"] .hero--narrative::after,
body[data-page="swec"] .hero--narrative::after,
body[data-page="merchant-academy"] .hero--narrative::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto; height: auto;
  background:
    radial-gradient(circle at 85% -10%, rgba(255,220,180,0.55), transparent 50%),
    radial-gradient(circle at -10% 100%, rgba(200,190,235,0.50), transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.hero--narrative .container { margin-top: clamp(32px, 5vw, 72px); position: relative; z-index: 2; }

/* ── 6. Hero stats ────────────────────────────────────────────────────────── */
.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--brand-muted-2);
}
.hero__stats li {
  padding: 28px 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--brand-muted-2);
}
.hero__stats li:last-child { border-right: 0; }
.hero__stats li + li { padding-left: 32px; }
.stat__num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--brand-purple);
  letter-spacing: -0.025em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.stat__num em {
  font-style: normal;
  color: var(--brand-purple);
  font-size: 1.4em;
  font-weight: 700;
}
.stat__num small {
  font-size: 0.8em;
  color: var(--brand-orange);
  font-weight: 800;
  margin-left: 2px;
}
.stat__label {
  font-size: 13px;
  color: var(--brand-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── 7. Section ───────────────────────────────────────────────────────────── */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--no-top    { padding-top: clamp(20px, 3vw, 36px); }
.section--no-bottom { padding-bottom: 0; }
.section--mist   { background: var(--surface-mist); }
.section--dark         { background: var(--surface-dark); color: #fff; }
.section--dark h2,
.section--dark h3      { color: #fff; }
.section--brand-purple { background: var(--brand-purple); color: #fff; }
.section--brand-purple h2,
.section--brand-purple h3 { color: #fff; }

.section__head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
}
.section__head--left { margin-inline: 0; }
.section__head--no-gap { margin-bottom: 0; max-width: none; }
.section h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--brand-purple);
}
.section--dark h2,
.section--brand-purple h2 { color: #fff; }
.balance { text-wrap: balance; }
.on-dark { color: #fff; }
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-soft);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}
.section--dark .lede,
.section--brand-purple .lede { color: rgba(255,255,255,0.7); }

/* ── 8. Cards 3-up ────────────────────────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: rgba(255, 255, 255, 0.67);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card__index {
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.12em;
  display: block;
}
.card h3 {
  font-size: 24px;
  margin: 8px 0 auto;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}
.card p { margin: 0; color: var(--fg-soft); font-size: 20px; line-height: 1.5; }

/* ── 9. Compliance grid ───────────────────────────────────────────────────── */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.compliance-grid__media {
  width: 100%;
  aspect-ratio: 5 / 4;
}

/* Compliance visual — image with floating metric badges */
.compliance-visual {
  position: relative;
  border-radius: var(--r-md);
  overflow: visible;
}
.compliance-visual__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  aspect-ratio: 5 / 4;
}
.compliance-visual .metric {
  position: absolute;
  z-index: 1;
  width: 150px;
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.compliance-visual .metric:nth-child(2) {
  background: var(--brand-purple);
  top: 0; right: 0;
  transform: translate(12%, -20%);
}
.compliance-visual .metric:nth-child(3) {
  background: var(--brand-orange);
  bottom: 0; left: 0;
  transform: translate(-12%, 20%);
}
.compliance-visual .metric strong { display: block; font-size: 26px; line-height: 1; }
.compliance-visual .metric span   { display: block; margin-top: 8px; font-size: 12px; line-height: 1.35; opacity: .9; }
@media (max-width: 640px) {
  .compliance-visual .metric:nth-child(2) { transform: translate(0, -20%); right: 12px; }
  .compliance-visual .metric:nth-child(3) { transform: translate(0, 20%);  left: 12px;  }
}
/* Reversed diagonal: top-left → bottom-right (image on left, text on right) */
.compliance-visual--reversed .metric:nth-child(2) {
  top: 0; right: auto; left: 0;
  transform: translate(-12%, -20%);
}
.compliance-visual--reversed .metric:nth-child(3) {
  bottom: 0; left: auto; right: 0;
  transform: translate(12%, 20%);
}
@media (max-width: 640px) {
  .compliance-visual--reversed .metric:nth-child(2) { transform: translate(0, -20%); left: 12px; right: auto; }
  .compliance-visual--reversed .metric:nth-child(3) { transform: translate(0, 20%);  right: 12px; left: auto; }
}

/* ── 10. Proof list ───────────────────────────────────────────────────────── */
.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.proof-list li {
  display: flex;
  gap: 22px;
  padding: 28px 0;
}
.proof-list__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 14px;
  margin-top: 8px;
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.proof-list h3 { font-size: 20px; margin: 0 0 6px; font-weight: 700; }
.proof-list p  { margin: 0; color: var(--fg-soft); }
.proof-list li .card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* ── 11. Requirements (dark) ──────────────────────────────────────────────── */
.reqs {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  gap: 18px;
}
.reqs li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-lg);
  align-items: start;
  position: relative;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.reqs li:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}
.reqs li a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.reqs__num {
  font-size: 32px;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
}
.reqs h3 { font-size: 22px; margin: 0 0 6px; font-weight: 700; color: #fff; }
.reqs p  { margin: 0; color: rgba(255,255,255,0.7); }
.link-inline {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.section:not(.section--dark):not(.section--brand-purple) .link-inline { color: var(--purple); }
.section .link-inline--orange { color: var(--orange) !important; }
.rich .link-inline { white-space: normal; }
.reqs-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.reqs-cta__note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── 12. Newsletter ───────────────────────────────────────────────────────── */
.newsletter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
  padding: 44px;
  min-height: 240px;
  border: 1px solid rgba(82, 69, 133, .12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 133, 0, .15), transparent 30%),
    radial-gradient(circle at 4% 96%, rgba(82, 69, 133, .12), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fbf8ff 48%, #f7fbf8 100%);
  box-shadow: 0 24px 60px rgba(82, 69, 133, .1);
}
.newsletter::before,
.newsletter::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: -1;
}
.newsletter::before {
  right: 28px;
  bottom: -70px;
  width: min(48%, 430px);
  aspect-ratio: 1.35;
  border: 1px solid rgba(82, 69, 133, .14);
  border-right-color: rgba(255, 133, 0, .18);
  border-bottom-color: transparent;
  border-radius: 54% 46% 0 0 / 100% 100% 0 0;
  box-shadow:
    -58px -42px 0 -1px rgba(255, 255, 255, .68),
    -58px -42px 0 0 rgba(82, 69, 133, .11),
    -118px -8px 0 -1px rgba(255, 255, 255, .68),
    -118px -8px 0 0 rgba(255, 133, 0, .13);
  transform: rotate(-6deg);
}
.newsletter::after {
  right: -92px;
  top: -118px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 133, 0, .2);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0)),
    radial-gradient(circle, rgba(255, 133, 0, .12), transparent 68%);
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { margin-bottom: .8rem; font-size: 28px; letter-spacing: -0.01em; }
.newsletter__form { display: grid; gap: 14px; }
.newsletter__form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
}
.newsletter__form input {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  transition: border-color 120ms, box-shadow 120ms;
}
.newsletter__form input:focus {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--surface-mist);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── 13. Rich text ────────────────────────────────────────────────────────── */
.rich p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0 0 18px;
  max-width: 64ch;
}
.rich p:last-child { margin-bottom: 0; }
.rich a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rich a:hover { color: var(--orange); }

/* ── 14. Narrative grid ───────────────────────────────────────────────────── */
.narrative-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.narrative-grid--reverse .narrative-grid__media { order: -1; }
.narrative-grid__text { max-width: 56ch; }
.narrative-grid__media {
  width: 100%;
  height: 92%;
  border-radius: 24px;
  overflow: hidden;
}
.narrative-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 15. Image placeholder ────────────────────────────────────────────────── */
.img-placeholder {
  background: var(--brand-lilac);
  border-radius: var(--r-md);
  min-height: 240px;
  display: block;
}
.compliance-grid__media.img-placeholder,
.narrative-grid__media.img-placeholder { min-height: 0; }

/* ── 16. FAQ ──────────────────────────────────────────────────────────────── */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: faq;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  counter-increment: faq;
}
.faq-item__btn {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 24px 6px;
  cursor: pointer;
  color: var(--fg);
  align-items: start;
}
.faq-item__num {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.faq-item__num::before { content: "0" counter(faq); }
.faq-item__q {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  position: relative;
  transition: background 120ms, border-color 120ms;
  flex-shrink: 0;
  margin-top: 6px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--fg);
  inset: 0;
  margin: auto;
}
.faq-item__icon::before { width: 10px; height: 2px; }
.faq-item__icon::after  { width: 2px; height: 10px; transition: transform 200ms; }
.faq-item.is-open .faq-item__icon { background: var(--purple); border-color: var(--purple); }
.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after { background: #fff; }
.faq-item.is-open .faq-item__icon::after { transform: rotate(90deg); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}
.faq-item__a > div { overflow: hidden; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a-inner {
  padding: 0 6px 28px 82px;
  color: var(--fg-soft);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 64ch;
}
.faq-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-faint);
  background: var(--surface-mist);
  padding: 16px 20px;
  border-radius: var(--r-md);
}

/* ── 17. Contact ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 0;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.contact-details {
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3.5vw, 34px);
  border-right: 1px solid var(--line);
}
.contact-details h2 { font-size: 22px; margin: 0 0 24px; letter-spacing: -0.005em; }
.contact-block {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-block:first-of-type { border-top: 0; padding-top: 0; }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 6px;
}
.contact-value {
  margin: 0;
  font-size: 15.5px;
  color: var(--fg);
  line-height: 1.55;
}
.contact-value a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-value a:hover { color: var(--orange); }
.contact-flag {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--orange-ink);
  background: var(--orange-soft);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 36px);
}
h2.contact-form__title {
  font-size: clamp(28px, 1.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--brand-purple);
}
.contact-office {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

.contact-map-section {
  padding-top: 0;
  padding-bottom: 0;
}
.contact-map {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ── 18. Form callout ─────────────────────────────────────────────────────── */
.form-callout {
  background: #F4F1FA;
  border-left: 3px solid #524585;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #524585;
  font-size: 14.5px;
  line-height: 1.6;
}
.form-callout strong { color: var(--purple); margin-right: 6px; }
.form-callout a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-callout a:hover { color: var(--orange); }

/* ── 19. Supplier & contact forms ─────────────────────────────────────────── */
.supplier-form { display: grid; gap: 28px; }
.fset {
  margin: 0;
  padding: 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.fset legend {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  padding: 0 6px;
  font-weight: 600;
}
.fset-body {
  display: grid;
  gap: 14px;
  padding: clamp(12px, 2vw, 14px) clamp(17px, 2vw, 20px) clamp(20px, 16px + 2vw, 28px);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}
.grid-2__full { grid-column: 1 / -1; }

.contact-form label,
.supplier-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  align-content: start;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.supplier-form input,
.supplier-form select,
.supplier-form textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  transition: border-color 120ms, box-shadow 120ms;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.supplier-form input:focus,
.supplier-form select:focus,
.supplier-form textarea:focus {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--surface-mist);
}
.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"],
.supplier-form input[aria-invalid="true"],
.supplier-form select[aria-invalid="true"],
.supplier-form textarea[aria-invalid="true"] {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.04);
}
.contact-form input[aria-invalid="true"]:hover,
.contact-form select[aria-invalid="true"]:hover,
.contact-form textarea[aria-invalid="true"]:hover,
.supplier-form input[aria-invalid="true"]:hover,
.supplier-form select[aria-invalid="true"]:hover,
.supplier-form textarea[aria-invalid="true"]:hover {
  border-color: #a93226;
}
.contact-form input[aria-invalid="true"]:focus,
.contact-form select[aria-invalid="true"]:focus,
.contact-form textarea[aria-invalid="true"]:focus,
.supplier-form input[aria-invalid="true"]:focus,
.supplier-form select[aria-invalid="true"]:focus,
.supplier-form textarea[aria-invalid="true"]:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}
.supplier-form input[type="file"] {
  padding: 10px 12px;
  background: var(--surface-mist);
}
.contact-form input[type="date"],
.supplier-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}.supplier-form__submit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.supplier-form__legalese {
  font-size: 12.5px;
  color: var(--fg-faint);
  max-width: 48ch;
  margin: 0;
}
[data-contact-submit-area] {
  display: flex;
  justify-content: flex-end;
}
.req {
  color: var(--brand-orange);
  font-weight: 700;
}
.fset-desc {
  font-size: 15px;
  color: var(--brand-purple);
  margin: 0;
}
.field-hint {
  font-size: 12px;
  color: var(--fg-faint);
  font-weight: 400;
  line-height: 1.5;
}
.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 12px;
  line-height: 1.4;
  color: #c0392b;
  font-weight: 400;
}
.swec-feedback            { font-size: 12px; line-height: 1.5; margin-top: 6px; }
.swec-feedback[hidden]    { display: none; }
.swec-feedback--ok        { color: var(--green, #1a7a4a); }
.swec-feedback--warn      { color: var(--orange); }
.swec-feedback__codes     { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.swec-feedback__code      { background: rgba(255,107,0,.10); border-radius: 3px; padding: 1px 6px; font-family: monospace; font-size: 11px; }
.swec-feedback a          { color: inherit; font-weight: 600; text-decoration: underline; }

/* ── 20. SWEC directory ───────────────────────────────────────────────────── */
.swec-toolbar {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}
.swec-toolbar__field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-soft);
  font-weight: 500;
}
.swec-toolbar select,
.swec-toolbar input {
  font: inherit;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  box-sizing: border-box;
}
.swec-toolbar select:focus,
.swec-toolbar input:focus {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--surface-mist);
}
.swec-toolbar__count {
  font-size: 13px;
  color: var(--fg-soft);
  padding-bottom: 12px;
  white-space: nowrap;
}
.swec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.swec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 1100px;
}
.swec-table thead th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 14px 18px;
  background: var(--surface-mist);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.swec-table thead th.num { width: 56px; }
.swec-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--fg);
}
.swec-table tbody tr:last-child td { border-bottom: 0; }
.swec-table tbody tr:hover { background: var(--surface-mist); }
.swec-table code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--purple);
  white-space: nowrap;
  font-size: 13px;
  background: var(--surface-mist);
  padding: 3px 7px;
  border-radius: 6px;
}
.swec-badge {
  display: inline-block;
  background: rgba(82,69,133,0.10);
  color: var(--brand-purple);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ── 21. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .cards-3                 { grid-template-columns: 1fr; }
  .proof-list              { grid-template-columns: 1fr; gap: 0; }
  .newsletter              { grid-template-columns: 1fr; padding: 32px; }
  .contact-grid            { grid-template-columns: 1fr; }
  .contact-details         { padding: clamp(20px, 3.5vw, 36px); border-right: 0; border-bottom: 1px solid var(--line); }
  .swec-toolbar            { grid-template-columns: 1fr 1fr; }
  .swec-toolbar__count     { grid-column: 1 / -1; padding-bottom: 0; padding-top: 4px; }
}
@media (max-width: 900px) {
  .compliance-grid,
  .narrative-grid          { grid-template-columns: 1fr; }
  .narrative-grid--reverse .narrative-grid__media { order: 1; }
  .narrative-grid__text    { max-width: none; }
}
@media (max-width: 760px) {
  .hero__stats             { grid-template-columns: 1fr; }
  .hero__stats li {
    border-right: 0;
    border-bottom: 1px solid var(--brand-muted-2);
    padding: 16px 0 12px;
    padding-left: 0;
  }
  .hero__stats li:last-child { border-bottom: 0; }
  .hero__stats li + li       { padding-left: 0; }
  .hero--a .hero__cta        { margin-bottom: 32px; }
  .grid-2, .field-grid       { grid-template-columns: 1fr; }
  .reqs li                   { grid-template-columns: 1fr; gap: 8px; }
  .faq-item__btn             { grid-template-columns: 44px 1fr 24px; gap: 12px; }
  .faq-item__a-inner         { padding-left: 56px; }
  .swec-toolbar              { grid-template-columns: 1fr; }
}


/* =============================================================================
   MERCHANT ACADEMY — Content-area styles
   Layout & composition from ZIP reference; colours from existing repo tokens.
   Applies inside <main> only. Does not override global header/footer/nav.
   ============================================================================= */

/* ── SC token shorthands (repo values, no bds-* imports) ─────────────────── */
:root {
  --sc-brand:        var(--brand-purple);
  --sc-brand-deep:   var(--brand-purple-deep);
  --sc-brand-ink:    var(--brand-purple-ink);
  --sc-orange:       var(--brand-orange);
  --sc-orange-soft:  #FFF4E5;
  --sc-orange-30:    #FFB866;
  --sc-orange-50:    #FF8500;
  --sc-mist:         var(--brand-mist);
  --sc-muted:        #F2F2F2;
  --sc-border:       var(--brand-border);
  --sc-border-mid:   var(--brand-border-strong);
  --sc-fg-primary:    #334155;
  --sc-fg-secondary:  #64748b;
  --sc-fg-tertiary:   #475569;
  --sc-fg-background: #f1f5f9;
  --sc-fg-brand:     var(--brand-purple);
  --sc-shadow:       var(--shadow-card);
  --sc-shadow-pop:   var(--shadow-pop);
  --sc-success-10:   #ECFDF3;
  --sc-success-50:   #12B76A;
  --sc-success-70:   #027A48;
  --sc-warning-10:   #FFFAEB;
  --sc-warning-50:   #F79009;
  --sc-warning-70:   #B54708;
  --sc-info-10:      #EFF8FF;
  --sc-info-50:      #2E90FA;
}

/* ── Hub hero ─────────────────────────────────────────────────────────────── */
.sc-hero {
  background: linear-gradient(145deg, var(--sc-brand-ink) 0%, var(--sc-brand-deep) 40%, var(--sc-brand) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 72% 60%, rgba(255,133,0,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.sc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.sc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.sc-hero-badge i { font-size: 14px; }
.sc-hero h1 {
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 0 18px;
}
.sc-hero h1 span { color: var(--sc-orange); }
.sc-hero-sub {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
}
.sc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  background: var(--sc-orange);
  color: #fff;
  border: 1.5px solid var(--sc-orange);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.sc-btn-primary:hover { background: var(--brand-orange-hover); border-color: var(--brand-orange-hover); transform: translateY(-1px); }
.sc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.32);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.sc-btn-ghost:hover { background: rgba(255,255,255,0.2); }
.sc-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-chip {
  padding: 14px 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-chip__num {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-chip__label {
  font-size: 12px;
  color: rgba(255,255,255,0.58);
  font-weight: 500;
}
.sc-hero-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sc-hero-card-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hci-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: opacity 0.15s;
}
.hci-link:last-child { border-bottom: none; padding-bottom: 0; }
.hci-link:first-of-type { padding-top: 0; }
.hci-link:hover { opacity: 0.8; }
.hci-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  flex-shrink: 0;
}
.hci-label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.88); display: block; }
.hci-sub   { font-size: 12px; color: rgba(255,255,255,0.5); display: block; }

/* ── Eligibility card ─────────────────────────────────────────────────────── */
.eligibility-card {
  background: var(--sc-orange-soft);
  border: 1px solid var(--sc-orange-30);
  border-left: 4px solid var(--sc-orange-50);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: clamp(20px, 3.5vw, 32px);
}
.eligibility-icon {
  width: 44px;
  height: 44px;
  background: var(--sc-orange-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}
.eligibility-body h3 { font-size: 16px; font-weight: 700; color: var(--sc-fg-primary); margin: 0 0 6px; }
.eligibility-body p  { font-size: 14.5px; color: var(--sc-fg-secondary); line-height: 1.65; margin: 0; }
.eligibility-body a  { color: var(--sc-brand); font-weight: 600; text-decoration: underline; }

/* ── Guide kit grid ───────────────────────────────────────────────────────── */
.sc-section-muted { background: var(--sc-muted); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.guide-card {
  background: #fff;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--sc-shadow);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}
.guide-card:hover {
  box-shadow: var(--sc-shadow-pop);
  transform: translateY(-3px);
  border-color: var(--sc-border-mid);
}
.guide-card:nth-child(1),
.guide-card:nth-child(2),
.guide-card:nth-child(3) { grid-column: span 2; }
.guide-card:nth-child(4),
.guide-card:nth-child(5) { grid-column: span 3; }
.guide-icon {
  width: 48px;
  height: 48px;
  background: var(--sc-mist);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-brand);
  font-size: 24px;
  flex-shrink: 0;
}
.guide-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.guide-title { font-size: 16.5px; font-weight: 700; color: var(--sc-fg-primary); line-height: 1.3; margin: 0; }
.guide-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 16px;
  color: var(--sc-fg-secondary);
  line-height: 1.4;
}
.guide-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--sc-orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.guide-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sc-brand);
  margin-top: 4px;
  transition: gap 0.15s;
}
.guide-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}
.guide-card:hover .guide-cta { gap: 10px; }

/* ── Video section ────────────────────────────────────────────────────────── */
.sc-video-section {
  background: var(--brand-purple);
  padding: 72px 0;
}
.sc-video-inner { text-align: center; }
.sc-video-section .kicker { color: rgba(255,255,255,0.55); }
.sc-video-section h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.sc-video-section p { font-size: 16px; color: rgba(255,255,255,0.65); margin: 0 0 40px; }
.video-placeholder {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.video-play-btn {
  width: 72px;
  height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-brand);
  font-size: 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.video-label { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── FAQ section (hub) ────────────────────────────────────────────────────── */
.sc-faq-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}
.sc-faq-sticky {
  position: relative;
  top: calc(var(--header-height) + 16px);
}
.sc-faq-sticky h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--sc-fg-primary);
}
.sc-faq-sticky p  { font-size: 15px; color: var(--sc-fg-secondary); line-height: 1.65; margin: 0 0 24px; }
.sc-faq-list { display: flex; flex-direction: column; gap: 8px; }
.sc-faq-item {
  background: #fff;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.sc-faq-item.open { border-color: var(--sc-border-mid); }
.sc-faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sc-fg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.sc-faq-question:hover { background: var(--sc-muted); }
.sc-faq-question.open { color: var(--sc-brand); background: var(--sc-mist); }
.sc-faq-chevron { font-size: 18px; color: var(--brand-muted); transition: transform 0.22s; flex-shrink: 0; }
.sc-faq-question.open .sc-faq-chevron { transform: rotate(180deg); color: var(--sc-brand); }
.sc-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.sc-faq-answer.open { max-height: 400px; }
.sc-faq-answer-inner {
  padding: 14px 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sc-fg-secondary);
  border-top: 1px solid var(--sc-border);
}

/* ── Support CTA panel ────────────────────────────────────────────────────── */
.support-cta {
  background: var(--sc-mist);
  border: 1.5px solid var(--sc-border-mid);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.support-cta-text h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sc-fg-primary);
  margin: 0 0 8px;
}
.support-cta-text p { font-size: 15px; color: var(--sc-fg-secondary); margin: 0; }
.support-free-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-success-70);
  background: var(--sc-success-10);
  padding: 4px 12px;
  border-radius: 999px;
}
.support-free-note i { font-size: 14px; }
.support-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; align-items: flex-start; }
.support-actions .btn { width: 100%; justify-content: center; }
.sc-btn-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  color: var(--sc-brand);
  border: 1.5px solid var(--sc-brand);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.sc-btn-email:hover { background: var(--sc-mist); }
.sc-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  background: var(--sc-brand);
  color: #fff;
  border: 1.5px solid var(--sc-brand);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.sc-btn-whatsapp:hover { background: var(--sc-brand-deep); border-color: var(--sc-brand-deep); transform: translateY(-1px); }

/* ── Doc layout (guide subpages) ─────────────────────────────────────────── */
.doc-page { display: flex; flex-direction: column; }
.page-band {
  padding: 80px 48px;
  background: var(--brand-lilac);
}
.page-band-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  background: var(--sc-mist);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sc-brand);
  margin-bottom: 0;
}
.page-band h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--sc-brand);
  line-height: 1.15;
  margin: 16px 0 0;
}
.page-band p  { font-size: 1.125rem; color: var(--brand-muted); line-height: 1.625; max-width: 840px; width: 100%; }
.page-band-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; padding-top: 4px; }
.doc-inner {
  display: flex;
  align-items: flex-start;
  flex: 1;
  padding: 0 48px 56px;
  gap: 24px;
}
.doc-sidebar {
  position: sticky;
  top: var(--header-height);
  align-self: flex-start;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
  max-height: calc(100vh - var(--header-height) - 24px);
  overflow-y: auto;
  padding: 24px 0;
}
.doc-sidebar-home {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-fg-secondary);
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.doc-sidebar-home:hover { color: var(--sc-brand); background: var(--sc-mist); }
.doc-sidebar-home i { font-size: 15px; }
.doc-sidebar-label {
  padding: 4px 10px 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-fg-primary);
}
.doc-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--sc-fg-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  min-height: 36px;
  background: var(--sc-fg-background);
  margin-bottom: 3px;
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}
.doc-nav-item:hover { background: var(--sc-mist); color: var(--sc-brand); }
.doc-nav-item.active {
  background: var(--brand-muted);
  color: white;
  font-weight: 600;
}
.doc-nav-item.active::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
}
.doc-nav-item i { font-size: 15px; flex-shrink: 0; color: var(--sc-fg-secondary); }
.doc-nav-item.active i { color: rgba(255,255,255,0.85); }
.doc-sidebar-support {
  margin: 16px 0 0;
  padding: 16px 20px;
  background: var(--sc-fg-background);
  border-radius: var(--radius-sm);
}
.doc-sidebar-support p { font-size: 11px; color: var(--sc-fg-tertiary); margin: 0 0 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.doc-sidebar-support a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--sc-fg-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.doc-sidebar-support a:not(:last-child) { margin-bottom: 4px; }
.doc-sidebar-support a:hover { color: var(--sc-brand); }
.doc-sidebar-support a i { font-size: 14px; }
.doc-main {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--radius-md);
  box-shadow: var(--sc-shadow);
  padding: 36px 48px 52px;
  margin-top: 24px;
  background: #fff;
}
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--sc-fg-tertiary);
  margin: 0 0 28px;
  list-style: none;
  padding: 0;
}
.doc-breadcrumb a { color: var(--sc-fg-secondary); text-decoration: none; transition: color 0.15s; }
.doc-breadcrumb a:hover { color: var(--sc-brand); }
.doc-breadcrumb i { font-size: 12px; }
.doc-section { margin-bottom: 48px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sc-fg-primary);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  padding-bottom: 10px;
}
.doc-section p { font-size: 14.5px; line-height: 1.75; color: var(--sc-fg-secondary); margin: 0 0 12px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.doc-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.65; color: var(--sc-fg-secondary); }
.doc-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--sc-orange); border-radius: 50%; }
.doc-section strong { color: var(--sc-fg-primary); font-weight: 600; }
.doc-section ol { padding-left: 20px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.doc-section ol li { font-size: 14px; line-height: 1.65; color: var(--sc-fg-secondary); padding-left: 4px; }
.doc-steps { display: flex; flex-direction: column; gap: 24px; }
.doc-step { display: flex; gap: 18px; align-items: flex-start; }
.doc-step-num {
  width: 34px; height: 34px;
  background: var(--sc-brand);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
  box-shadow: 0 2px 8px rgba(82,69,131,0.3);
}
.doc-step-body { flex: 1; min-width: 0; }
.doc-step-body h4 { font-size: 15px; font-weight: 700; color: var(--sc-fg-primary); margin: 0 0 6px; line-height: 1.3; }
.doc-step-body p  { font-size: 14px; line-height: 1.7; color: var(--sc-fg-secondary); margin: 0; }
.doc-note, .doc-warning, .doc-success {
  position: relative; padding: 14px 16px 14px 43px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--sc-fg-secondary); line-height: 1.65; margin: 12px 0;
}
.doc-note    { background: var(--sc-info-10);    border: 1px solid rgba(46,144,250,0.25); }
.doc-warning { background: var(--sc-warning-10); border: 1px solid rgba(247,144,9,0.25); }
.doc-success { background: var(--sc-success-10); border: 1px solid rgba(18,183,106,0.25); }
.doc-note i    { color: var(--sc-info-50);    font-size: 17px; position: absolute; left: 16px; top: 15px; }
.doc-warning i { color: var(--sc-warning-50); font-size: 17px; position: absolute; left: 16px; top: 15px; }
.doc-success i { color: var(--sc-success-50); font-size: 17px; position: absolute; left: 16px; top: 15px; }
.doc-img-btn {
  display: block;
  width: 100%;
  margin: 14px 0;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.18s ease;
}
.doc-img-btn:hover { box-shadow: var(--shadow-pop); }
.doc-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.doc-table-wrap { overflow-x: auto; margin: 16px 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc-table th { background: var(--sc-muted); font-weight: 600; color: var(--sc-fg-primary); padding: 10px 16px; text-align: left; border-bottom: 2px solid var(--sc-border-mid); white-space: nowrap; }
.doc-table td { padding: 10px 16px; border-bottom: 1px solid var(--sc-border); color: var(--sc-fg-secondary); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table .check { color: var(--sc-success-70); font-weight: 700; }
.doc-pagination {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--sc-border);
}
.doc-pagination a {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  font-size: 13.5px; font-weight: 600; color: var(--sc-fg-secondary); text-decoration: none;
  padding: 10px 18px; border: 1.5px solid var(--sc-border-mid); border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s; max-width: 260px;
}
.doc-pagination a:hover { background: var(--sc-mist); color: var(--sc-brand); border-color: var(--sc-border-mid); }
.pag-label { font-size: 11px; font-weight: 500; color: var(--sc-fg-tertiary); display: block; }
.pag-title { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pag-next { margin-left: auto; text-align: right; }

/* Section header + icon variants */
.sc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--sc-border); }
.sc-header h2,
.sc-header h3 { font-size: 16px; font-weight: 700; color: var(--sc-fg-primary); margin: 0; }
.sc-card { background: var(--sc-mist); border: 1.5px solid var(--sc-border-mid); border-radius: var(--radius-md); padding: 24px 28px; box-shadow: var(--sc-shadow); }
.sc-icon      { width: 40px; height: 40px; background: var(--sc-mist); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--sc-brand); font-size: 20px; flex-shrink: 0; }
.sc-icon-muted{ width: 40px; height: 40px; background: var(--sc-muted); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--sc-fg-secondary); font-size: 20px; flex-shrink: 0; }
.sc-icon-warn { width: 40px; height: 40px; background: var(--sc-warning-10); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--sc-warning-70); font-size: 20px; flex-shrink: 0; }

/* Registration steps horizontal */
.reg-steps-v2 { display: flex; gap: 0; position: relative; margin: 24px 0 28px; }
.reg-steps-v2::before { content: ''; position: absolute; top: 22px; left: 23px; right: 23px; height: 2px; background: var(--sc-border-mid); z-index: 0; }
.rsv2 { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; gap: 10px; padding: 0 16px; }
.rsv2-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; background: var(--sc-brand); color: white; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(82,69,131,0.28); flex-shrink: 0; }
.rsv2-num.outline { background: white; color: var(--sc-brand); border-color: var(--sc-border-mid); box-shadow: var(--sc-shadow); }
.rsv2 h4 { font-size: 13.5px; font-weight: 700; color: var(--sc-fg-primary); margin: 0; }
.rsv2 p  { font-size: 12px; color: var(--sc-fg-secondary); line-height: 1.5; margin: 0; }

/* Eligibility items */
.elig-item { padding: 14px 16px; background: #fff; border-radius: var(--radius-sm); border-left: 3px solid var(--sc-border-mid); margin-bottom: 10px; }
.elig-item:last-child { margin-bottom: 0; }
.elig-item h3 { font-size: 13px; font-weight: 700; color: var(--sc-fg-primary); margin: 0 0 4px; }
.elig-item p  { font-size: 12.5px; color: var(--sc-fg-secondary); line-height: 1.55; margin: 0; }
.elig-item a  { color: var(--sc-brand); font-weight: 600; font-size: 12px; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; text-decoration: underline; }
.req-docs { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.req-doc  { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sc-fg-secondary); }
.req-doc::before { content: ''; width: 6px; height: 6px; background: var(--sc-success-70); border-radius: 50%; flex-shrink: 0; }

/* Payment timeline */
.payment-timeline { display: flex; gap: 0; margin: 24px 0; position: relative; }
.payment-timeline::before { content: ''; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--sc-border-mid); z-index: 0; }
.pt-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; position: relative; z-index: 1; }
.pt-dot  { width: 40px; height: 40px; background: var(--sc-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; box-shadow: 0 0 0 4px var(--sc-mist); flex-shrink: 0; }
.pt-label{ font-size: 12px; font-weight: 700; color: var(--sc-fg-primary); line-height: 1.3; }
.pt-sub  { font-size: 11px; color: var(--sc-fg-secondary); line-height: 1.4; }
.pt-days { display: inline-block; padding: 2px 8px; background: var(--sc-orange-soft); border: 1px solid var(--sc-orange-30); border-radius: 999px; font-size: 11px; font-weight: 700; color: #B54708; }

/* Fulfillment grid */
.fulfill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.fulfill-item { padding: 14px 16px; background: var(--sc-muted); border: 1.5px solid var(--sc-border); border-radius: var(--radius-sm); }
.fulfill-item .fi-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.fulfill-item .fi-head i { font-size: 15px; color: var(--sc-brand); }
.fulfill-item .fi-head strong { font-size: 12.5px; color: var(--sc-fg-primary); font-weight: 700; }
.fulfill-item p { font-size: 12px; color: var(--sc-fg-secondary); line-height: 1.55; margin: 0; }

/* Dark aside card (payments) */
.dark-aside { background: var(--sc-brand-ink); border-radius: var(--radius-md); padding: 24px; color: white; }
.dark-aside h2 { font-size: 14px; font-weight: 700; color: white; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.dark-aside h2 i { color: var(--sc-orange); font-size: 18px; }
.da-list { display: flex; flex-direction: column; gap: 14px; }
.da-item { display: flex; gap: 10px; }
.da-item i { color: var(--sc-orange); font-size: 17px; flex-shrink: 0; margin-top: 2px; }
.da-item span { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.82); }
.da-item strong { color: white; }

/* ── Merchant Academy responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .sc-hero-inner { grid-template-columns: 1fr; }
  .sc-hero-card  { display: none; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card:nth-child(1), .guide-card:nth-child(2),
  .guide-card:nth-child(3), .guide-card:nth-child(4),
  .guide-card:nth-child(5) { grid-column: span 1; }
  .sc-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .sc-faq-sticky { position: static; }
  .support-cta { flex-direction: column; padding: 32px; gap: 24px; }
  .support-actions { flex-wrap: wrap; }
  .doc-inner { flex-direction: column; padding: 0 24px 40px; }
  .doc-sidebar { position: static; width: 100%; min-width: unset; max-height: none; padding-top: 16px; }
  .page-band { padding: 48px 24px; }
  .doc-main { padding: 24px 28px 36px; margin-top: 0; width: 100%; }
  .reg-steps-v2 { flex-direction: column; gap: 16px; }
  .reg-steps-v2::before { display: none; }
  .payment-timeline { flex-direction: column; gap: 16px; align-items: flex-start; }
  .payment-timeline::before { display: none; }
  .pt-step { width: -webkit-fill-available; width: stretch; }
  .fulfill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card:nth-child(n) { grid-column: span 1; }
  .sc-hero { padding: 56px 0 48px; }
  .sc-hero-actions { flex-direction: column; align-items: flex-start; }
  .doc-pagination { flex-direction: column; align-items: stretch; }
  .doc-pagination a { max-width: none; }
  .pag-next { margin-left: 0; text-align: left; }
}


/* ── Merchant Academy supplemental — page-specific grids and modifiers ─────── */

/* sc-header size modifier for aside headings */
.sc-header--sm { margin-bottom: 14px; padding-bottom: 10px; }
.sc-header--sm h3 { font-size: 14.5px; font-weight: 700; color: var(--sc-fg-primary); margin: 0; }

/* Kicker variant on dark backgrounds */
.kicker--light { color: rgba(255,255,255,0.55); }

/* Small button variant */
.sc-btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }

/* Light label for dark aside */
.doc-sidebar-label--light { color: rgba(255,255,255,0.5); }

/* Registration step body wrapper */
.rsv2-body { width: 100%; text-align: center; }
.rsv2 strong { font-size: 13.5px; font-weight: 700; color: var(--sc-fg-primary); display: block; margin-bottom: 4px; }
.rsv2 p { font-size: 12px; color: var(--sc-fg-secondary); line-height: 1.5; margin: 0; }
body[data-page="merchant-academy"] .rsv2 p { font-size: 14px; }
body[data-page="merchant-academy"] .section h2 { margin: 0 0 32px 0; }

/* Elig-item with icon: flex row */
.elig-item { display: flex; gap: 12px; align-items: flex-start; }
.elig-item > i { font-size: 18px; color: var(--sc-brand); flex-shrink: 0; margin-top: 2px; }
.elig-item > div strong { font-size: 13px; font-weight: 700; color: var(--sc-fg-primary); display: block; margin-bottom: 4px; }
.elig-item > div p { font-size: 12.5px; color: var(--sc-fg-secondary); line-height: 1.55; margin: 0; }
.elig-item > div a { color: var(--sc-brand); font-weight: 600; font-size: 12px; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; text-decoration: underline; }
.elig-item > div p a { margin-top: 0; }

/* Fulfill-item with direct icon + div layout */
.fulfill-item { display: flex; gap: 12px; align-items: flex-start; }
.fulfill-item > i { font-size: 18px; color: var(--sc-brand); flex-shrink: 0; margin-top: 2px; }
.fulfill-item > div strong { font-size: 13px; font-weight: 700; color: var(--sc-fg-primary); display: block; margin-bottom: 4px; }
.fulfill-item > div p { font-size: 12px; color: var(--sc-fg-secondary); line-height: 1.55; margin: 0; }

/* da-item: p for descriptive text inside dark aside */
.da-item p { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0; }
.da-item > div strong { color: white; display: block; margin-bottom: 2px; font-size: 13px; }

/* doc-step-body with strong as heading */
.doc-step-body strong { font-size: 15px; font-weight: 700; color: var(--sc-fg-primary); display: block; margin-bottom: 6px; line-height: 1.3; }
.doc-step-body a { color: var(--sc-brand); font-weight: 500; }

/* Links inside callouts */
.doc-note a, .doc-warning a { color: var(--sc-brand); font-weight: 600; }

/* Page band subtitle paragraph */
.page-band-sub { font-size: 1.125rem; color: var(--brand-muted); line-height: 1.625; max-width: 840px; width: 100%; margin-top: 1rem; }

/* Eligibility card link */
.eligibility-body .eligibility-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: underline;
}


/* ── SC section headings used on hub page ───────────────────────────────── */
.section-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--brand-purple);
  margin: 8px 0 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 40px;
}

/* ── Image lightbox modal ────────────────────────────────────────────────── */
.doc-img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.doc-img-modal.is-open {
  display: flex;
  animation: doc-modal-fade 0.15s ease;
}
.doc-img-modal img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  cursor: default;
  pointer-events: none;
}
body.doc-img-modal-open { overflow: hidden; }
@keyframes doc-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
