/* Merchants (pages/merchants.blade.php). The hero is a 3D page-hero (shot "devices"); the still shows until the
   live stage takes over. Static first; no motion-only layout here. */

/* ---------------------------------------------------------------- hero */
.m-hero__btns { margin-top: 2.2rem; position: relative; z-index: 2; }
.page-hero--3d { overflow: hidden; }
.page-hero--3d .w { position: relative; z-index: 2; }
.m-hero__still { width: 100%; max-width: 560px; margin-top: 2.5rem; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
@media (min-width: 900px) {
  .m-hero__still { position: absolute; z-index: -1; right: -2%; top: 50%; translate: 0 -46%; width: min(48vw, 720px); max-width: none; margin: 0; }
  .page-hero--3d::before { content: ""; position: absolute; z-index: 0; right: 0; top: 10%; width: 64vw; height: 80vh; background: radial-gradient(closest-side, rgba(74,144,226,.12), transparent 70%); pointer-events: none; }
  html.rx-3d .page-hero--3d::before { display: none; }
}
html.rx-3d .m-hero__still { display: none; }

/* ---------------------------------------------------------------- shared heads */
.m-head { margin-top: 1.2rem; }

/* ---------------------------------------------------------------- 1 · the figure */
.m-fig__n { margin-top: 1.5rem; display: flex; align-items: baseline; gap: .12em; font-size: clamp(6rem, 1rem + 22vw, 24rem); font-weight: 800; letter-spacing: -.07em; line-height: .82; color: var(--fg); white-space: nowrap; }
.m-fig__u { font-size: .28em; letter-spacing: -.04em; color: var(--accent-hi); text-shadow: 0 0 .5em var(--accent-glow); }
.m-fig__l { margin-top: 1.6rem; color: var(--fg); max-width: 40rem; }
.m-fig__row { margin: clamp(3rem, 2rem + 4vw, 5rem) 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.m-fig__row dd { margin: .7rem 0 0; color: var(--fg); font-size: 1.1rem; line-height: 1.45; max-width: 22rem; }

/* ---------------------------------------------------------------- 2 · benefits */
.m-why__grid { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.m-why__grid .card .mono { margin-bottom: 1rem; color: var(--accent); }

/* ---------------------------------------------------------------- 3 · steps */
.m-steps__list { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
@media (min-width: 48rem) { .m-steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .m-steps__list { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.m-steps__list li { padding: 1.6rem 0 2rem; border-bottom: 1px solid var(--line); }
@media (min-width: 64rem) {
  .m-steps__list li { padding: 0 2rem 0 1.4rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .m-steps__list li:first-child { padding-left: 0; border-left: 0; }
}
.m-steps__n { display: block; font-size: clamp(3rem, 2rem + 3vw, 5.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--accent); }
.m-steps__list h3 { margin-top: 1.4rem; font-size: 1.35rem; letter-spacing: -.025em; }
.m-steps__list p { margin-top: .6rem; font-size: var(--t-small); max-width: 20rem; }

/* ---------------------------------------------------------------- 4 · documents */
.m-docs__lead { margin-top: 1.6rem; max-width: 42rem; }
.m-docs__grid { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
@media (min-width: 40rem) { .m-docs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .m-docs__grid { grid-template-columns: repeat(4, 1fr); } }
.m-doc { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.5rem 1.4rem; background: var(--bg-1); }
.m-doc h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.15; }
.m-doc__list { display: grid; gap: .55rem; font-size: var(--t-small); line-height: 1.5; }
.m-doc__list li { position: relative; padding-left: 1rem; }
.m-doc__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: var(--accent-hi); }
.m-doc__acc { padding-top: .9rem; border-top: 1px solid var(--line); color: var(--fg); font-size: var(--t-small); font-weight: 600; }
.m-doc__acc .mono { display: block; margin-bottom: .2rem; font-weight: 500; }
.m-docs__note { margin-top: 1.6rem; max-width: 46rem; }
.m-types__k { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.m-types { margin-top: 1.2rem; }
.m-types .card h3 { font-size: 1.25rem; }

/* ---------------------------------------------------------------- 5 · apply */
.m-apply { background: radial-gradient(60% 60% at 80% 100%, rgba(25,179,168,.12), transparent 70%), var(--bg); }
.m-apply__in { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 64rem) { .m-apply__in { grid-template-columns: 7fr 5fr; } }
.m-apply__lead { margin-top: 1.8rem; }
.m-apply__btns { margin-top: 2.2rem; }
.m-apply__agent { margin-top: 2rem; max-width: 30rem; }
.m-apply__card .tag { display: flex; margin-bottom: 1.4rem; }
.m-apply__card h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); }
.m-apply__card .m-apply__more { margin-top: 1.6rem; color: var(--fg); font-weight: 700; }
.m-apply__card:hover .m-apply__more { color: var(--accent-hi); }

/* ---------------------------------------------------------------- 6 · FAQ */
.m-faq__in { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 64rem) { .m-faq__in { grid-template-columns: 5fr 7fr; align-items: start; } }
.m-faq .faq { border-top: 1px solid var(--line); }
