/* ==========================================================================
   Ecom Partner — inner pages
   Builds on style.css (tokens, buttons, kicker, .ph, .ticks, .qa, .cta ...)
   ========================================================================== */

/* ---------- Header: dropdown menus ---------- */
.nav .has-menu { position: relative; }
.nav .has-menu > a { display: inline-flex; align-items: center; gap: .4rem; }
.nav .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .35s var(--ease); }
.nav .has-menu:hover .chev, .nav .has-menu:focus-within .chev { transform: translateY(1px) rotate(225deg); }
.nav .menu {
  position: absolute; top: 100%; left: 50%; padding-top: 1.1rem;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.nav .has-menu:hover .menu, .nav .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .menu__panel {
  display: grid; gap: .15rem; padding: .5rem; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(21,23,28,.28);
}
.nav .menu--wide .menu__panel { grid-template-columns: 1fr 1fr; min-width: 560px; }
.nav .menu__panel a { display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: 10px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.nav .menu__panel a small { font-weight: 400; color: var(--graphite); font-size: var(--fs-xs); }
.nav .menu__panel a:hover { background: var(--mist); }
.nav .menu__panel a[aria-current="page"]::after { display: none; }
.nav .menu__all { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; margin-top: .25rem; }
.nav ul { gap: clamp(1.1rem, 1.8vw, 2rem); }

.mobile-menu { overflow-y: auto; }
.mobile-menu li .sub { display: grid; padding: .25rem 0 .9rem; }
.mobile-menu li .sub a { border: 0; padding: .4rem 0 .4rem 1rem; font-size: 1.05rem; font-weight: 500; color: var(--graphite); letter-spacing: 0; border-left: 1px solid var(--line); }
.mobile-menu li .sub a:hover { color: var(--ink); border-left-color: var(--amber); }

/* ---------- Page hero ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--quiet); }
.crumbs a { color: var(--graphite); transition: color .25s; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { width: 5px; height: 5px; border-top: 1.5px solid var(--quiet); border-right: 1.5px solid var(--quiet); transform: rotate(45deg); opacity: .7; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }

.phero { position: relative; padding-top: calc(var(--header-h) + clamp(1.75rem, 1rem + 3vw, 4rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.phero__bg { display: none !important; }
.phero .wrap { position: relative; z-index: 1; }
.phero__top { margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3.5rem); }
.phero__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 6rem); } }
.phero__copy { display: grid; gap: var(--s3); justify-items: start; }
.phero__title { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.3rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 600; }
.phero__title .line-mask > span { white-space: normal; }
.phero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s1); }
.phero--center .phero__copy { justify-items: center; text-align: center; max-width: 54rem; margin-inline: auto; }
.phero--center .lead { margin-inline: auto; }
.phero--center .crumbs { justify-content: center; }
.phero__media { position: relative; }
.phero__media .ph { --ar: 5 / 4; box-shadow: 0 40px 80px -50px rgba(21,23,28,.35); }
.phero__media--tall .ph { --ar: 4 / 4.6; }
.phero__chip {
  position: absolute; left: -1rem; bottom: 1.5rem; z-index: 2;
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 20px 40px -26px rgba(21,23,28,.4);
  opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease) 1s, transform .9s var(--ease) 1s;
}
.phero__chip.is-in { opacity: 1; transform: none; }
.phero__chip strong { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; }
.phero__chip span { font-size: var(--fs-xs); color: var(--graphite); }
.phero__chip .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--amber-soft); display: grid; place-items: center; color: #1f3bd1; }
.phero__chip .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 959px) { .phero__chip { left: .75rem; } }
.phero__media .ph { clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease) .2s; }
.phero__media.is-in .ph { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* Quick facts under hero */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 1.25rem 1rem 1.25rem 0; display: grid; gap: .2rem; }
.fact + .fact { padding-left: 1rem; }
@media (min-width: 860px) { .fact + .fact { border-left: 1px solid var(--line); } }
.fact span { font-size: var(--fs-xs); color: var(--quiet); }
.fact strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Section headings ---------- */
.sec-head { display: grid; gap: var(--s2); margin-bottom: clamp(2rem, 1.2rem + 3vw, 4rem); }
.sec-head .h2 { max-width: 20ch; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .h2 { max-width: 22ch; }
.sec-head--center .body { margin-inline: auto; }
@keyframes pgRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Stepper (How it works) ---------- */
.stepper { display: grid; gap: var(--s5); }
@media (min-width: 980px) { .stepper { grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.stepper__rail { position: relative; display: grid; align-content: start; }
.stepper__rail::before { content: ""; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stepper__fill { position: absolute; left: 19px; top: 28px; width: 1px; background: var(--ink); height: 0; transition: height .7s var(--ease); }
.st-btn { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: center; padding: .85rem 0; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.st-btn .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); font-size: var(--fs-xs); font-weight: 700; position: relative; z-index: 1; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.st-btn .t { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; color: var(--graphite); transition: color .3s, transform .5s var(--ease); line-height: 1.25; }
.st-btn .t small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--quiet); letter-spacing: 0; margin-top: .15rem; }
.st-btn:hover .t { color: var(--ink); }
.st-btn.is-done .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-btn.is-active .n { background: var(--amber); border-color: var(--amber); color: #fff; transform: scale(1.1); }
.st-btn.is-active .t { color: var(--ink); transform: translateX(4px); }
.stepper__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -60px rgba(21,23,28,.3); }
@media (min-width: 980px) { .stepper__panel { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.st-progress { height: 3px; background: var(--mist); }
.st-progress i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .7s var(--ease); }
.st-panel { display: none; }
.st-panel.is-active { display: block; animation: pgRise .6s var(--ease); }
.st-panel__media { aspect-ratio: 16 / 7; position: relative; overflow: hidden; background: var(--mist); }
.st-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.st-time { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: var(--fs-xs); font-weight: 600; }
.st-panel__body { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); display: grid; gap: var(--s3); }
.st-panel__body h3 { font-size: var(--fs-lg); letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
.st-cols { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .st-cols { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.st-cols h4 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: .7rem; }
.st-cols .you .ticks li::before { background-color: var(--mist); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%235a606b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.st-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-top: 1px solid var(--line); background: #fcfcfd; }
.st-nav .count { font-size: var(--fs-xs); color: var(--quiet); font-variant-numeric: tabular-nums; }
@media (max-width: 979px) {
  .stepper__rail { display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .stepper__rail::-webkit-scrollbar { display: none; }
  .stepper__rail::before, .stepper__fill { display: none; }
  .st-btn { flex: none; width: auto; min-width: 150px; grid-template-columns: 34px 1fr; padding: .6rem .9rem .6rem .6rem; border: 1px solid var(--line); border-radius: 999px; scroll-snap-align: start; gap: .6rem; background: #fff; }
  .st-btn .n { width: 34px; height: 34px; }
  .st-btn .t { font-size: var(--fs-sm); }
  .st-btn .t small { display: none; }
  .st-btn.is-active { border-color: var(--ink); }
  .st-btn.is-active .t { transform: none; }
}

/* ---------- Who does what (table) ---------- */
.duo { border-top: 1px solid var(--ink); }
.duo__head, .duo__row { display: grid; gap: .5rem 2rem; grid-template-columns: 1fr; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.duo__head { display: none; font-size: var(--fs-xs); color: var(--quiet); padding: .9rem 0; }
@media (min-width: 860px) {
  .duo__head, .duo__row { grid-template-columns: .8fr 1.2fr 1fr; }
  .duo__head { display: grid; }
}
.duo__row h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; transition: transform .5s var(--ease); }
.duo__row:hover h3 { transform: translateX(6px); }
.duo__row p { color: var(--graphite); font-size: var(--fs-sm); max-width: 34em; }
.duo__row p b { display: block; font-size: var(--fs-xs); color: var(--quiet); font-weight: 500; margin-bottom: .2rem; }
@media (min-width: 860px) { .duo__row p b { display: none; } }

/* ---------- Report mock ---------- */
.report-wrap { display: grid; gap: var(--s5); }
@media (min-width: 980px) { .report-wrap { grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; } }
.report { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -60px rgba(21,23,28,.3); }
.report__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.report__top span { font-weight: 400; color: var(--quiet); font-size: var(--fs-xs); }
.report__kpis { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .report__kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 1rem 1.25rem; display: grid; gap: .15rem; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .kpi + .kpi { border-left: 1px solid var(--line); } }
.kpi span { font-size: var(--fs-xs); color: var(--quiet); }
.kpi strong { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--green); }
.report__chart { padding: 1.25rem; }
.report__chart p { font-size: var(--fs-xs); color: var(--quiet); margin-bottom: .9rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); background: var(--line-strong); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease) calc(var(--i) * 55ms + .2s), background .3s; }
.bars i:nth-last-child(-n+3) { background: var(--amber); }
.is-in .bars i, .bars.is-in i { transform: scaleY(1); }
.bars-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--quiet); padding-top: .4rem; }
.report__foot { padding: .9rem 1.25rem; background: var(--mist); font-size: var(--fs-xs); color: var(--graphite); border-top: 1px solid var(--line); }

/* ---------- Feature rows (Services hub) ---------- */
.frows { display: grid; gap: clamp(3.5rem, 2rem + 6vw, 8rem); }
.frow { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .frow { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); } .frow--flip .frow__media { order: 2; } }
.frow__media .ph { --ar: 4 / 3.4; }
.frow__media .ph img { transition: transform 1.4s var(--ease); }
.frow__copy { display: grid; gap: var(--s3); justify-items: start; }
.frow__copy .h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); max-width: 16ch; }
.frow__tag { font-size: var(--fs-xs); font-weight: 600; padding: .3rem .65rem; border-radius: 4px; background: var(--amber-soft); color: #1f3bd1; }
.frow__copy .ticks { margin-top: .25rem; }

/* ---------- Included grid ---------- */
.igrid { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .igrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .igrid { grid-template-columns: repeat(4, 1fr); } }
.icell { padding: 2rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .8rem; align-content: start; position: relative; }
@media (min-width: 600px) and (max-width: 959px) {
  .icell { padding: 2rem 1.5rem 2.25rem 0; }
  .icell:nth-child(2n) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .icell { padding: 2rem 1.25rem 2.25rem 0; border-left: 0; }
  .icell + .icell { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .icell:last-child { padding-right: 0; }
}
.icell .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--amber-soft); color: #1f3bd1; display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease); }
.icell:hover .ico { background: var(--amber); color: #fff; transform: translateY(-3px); }
.icell .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icell h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.icell p { color: var(--graphite); font-size: var(--fs-sm); max-width: 30em; }

/* ---------- A month with us ---------- */
.month { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .month { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.mo { position: relative; padding-top: 1.75rem; display: grid; gap: .6rem; align-content: start; }
.mo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); }
.mo::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--ink); transition: width 1.2s var(--ease) calc(var(--i, 0) * 180ms + .2s); }
.mo.is-in::after { width: 100%; }
@media (min-width: 860px) { .mo { padding-right: 1.75rem; } .mo + .mo { padding-left: 0; } }
.mo b { font-size: var(--fs-xs); font-weight: 600; color: #1f3bd1; }
.mo h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.mo p { color: var(--graphite); font-size: var(--fs-sm); }
.section--dark .mo::before { background: rgba(255, 255, 255, 0.12); }
.section--dark .mo::after { background: #7b94ff; }
.section--dark .mo b { color: #7b94ff; }
.section--dark .mo h3 { color: #ffffff; }
.section--dark .mo p { color: #949ca9; }

/* ---------- Stat band (dark) ---------- */
.statband { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .statband { grid-template-columns: repeat(4, 1fr); gap: var(--s5); } }
.statband > div { border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.25rem; display: grid; gap: .5rem; align-content: start; }
.statband .n { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.statband .n sup { font-size: .42em; vertical-align: top; position: relative; top: .35em; margin-left: .06em; color: #7b94ff; }
.statband p { color: #949ca9; font-size: var(--fs-sm); max-width: 20em; }
.section--dark .sec-head .h2 { color: #fff; }

/* ---------- Fit ---------- */
.fit { display: grid; gap: var(--s3); }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.fit__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: var(--s3); align-content: start; background: #fff; transition: border-color .4s, transform .5s var(--ease); }
.fit__card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.fit__card h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fit__card--no .ticks li::before { background-color: var(--mist); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='%235a606b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Marketplaces ---------- */
.mks { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .mks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mks { grid-template-columns: repeat(3, 1fr); } }
.mk { position: relative; display: grid; gap: var(--s3); align-content: start; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .4s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.mk:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(21,23,28,.35); }
.mk__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mk__code { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: background .4s, color .4s, border-color .4s; }
.mk:hover .mk__code { background: var(--ink); color: #fff; border-color: var(--ink); }
.mk__dom { font-size: var(--fs-xs); color: var(--quiet); }
.mk h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.mk p { color: var(--graphite); font-size: var(--fs-sm); }
.mk__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding-top: var(--s2); border-top: 1px solid var(--line); }
.mk__stats div { display: grid; gap: .1rem; }
.mk__stats strong { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk__stats span { font-size: 11px; color: var(--quiet); }
.mk .arrow { justify-self: start; font-size: var(--fs-sm); font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.mk .arrow::after { content: ""; width: 14px; height: 1.5px; background: currentColor; transition: width .4s var(--ease); }
.mk:hover .arrow::after { width: 26px; }
.mk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mk--help { background: var(--mist); border-style: dashed; align-content: center; }
.mk--help:hover { background: #fff; }

.compare-wrap { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th { text-align: left; font-size: var(--fs-xs); font-weight: 500; color: var(--quiet); padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.compare td { padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--graphite); }
.compare td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.compare tr { transition: background .3s; }
.compare tbody tr:hover { background: #fafbfb; }
.compare td a { color: var(--ink); font-weight: 600; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }

.paths { display: grid; gap: var(--s3); }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); display: grid; gap: var(--s2); align-content: start; background: #fff; position: relative; overflow: hidden; }
.path::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--amber); transition: width 1s var(--ease) .3s; }
.path.is-in::before { width: 100%; }
.path h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.path p { color: var(--graphite); font-size: var(--fs-sm); }
.path dl { display: grid; gap: .6rem; margin-top: .5rem; border-top: 1px solid var(--line); padding-top: var(--s2); }
.path dt { font-size: var(--fs-xs); color: var(--quiet); }
.path dd { font-size: var(--fs-sm); font-weight: 500; }

/* ---------- Other markets row ---------- */
.others { display: flex; flex-wrap: wrap; gap: .6rem; }
.others a { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem .65rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.others a:hover { border-color: var(--ink); transform: translateY(-2px); }
.others b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: 10px; font-weight: 700; border: 1px solid var(--line); }

/* ---------- About ---------- */
.tl { position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.tl__fill { position: absolute; left: 7px; top: 12px; width: 1px; background: var(--ink); height: 0; }
.tl__item { position: relative; display: grid; gap: .5rem 2rem; padding: 0 0 clamp(2rem, 1rem + 3vw, 4rem) 2.5rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before { content: ""; position: absolute; left: 0; top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-strong); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.tl__item.is-active::before { background: var(--amber); border-color: var(--amber); transform: scale(1.15); }
@media (min-width: 860px) {
  .tl { max-width: 62rem; }
  .tl__item { grid-template-columns: 10rem 1fr; padding-left: 3.25rem; }
}
.tl__year { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tl__item h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; margin-bottom: .4rem; }
.tl__item p { color: var(--graphite); max-width: 34em; }

.values { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 2rem 2rem 2.5rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .8rem; align-content: start; }
@media (min-width: 860px) { .value { border-bottom: 0; } .value + .value { padding-left: 2rem; border-left: 1px solid var(--line); } }
.value h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; }
.value p { color: var(--graphite); font-size: var(--fs-sm); max-width: 26em; }

.founder { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 7rem); } }
.founder .ph { --ar: 4 / 4.6; background: linear-gradient(180deg, #f6f7f8 0%, #fafbfb 100%); }
.founder .ph img { object-fit: contain; object-position: center bottom; }
.founder__copy { display: grid; gap: var(--s3); justify-items: start; }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { height: 42px; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature-post { display: grid; gap: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: border-color .4s, box-shadow .6s var(--ease); }
.feature-post:hover { border-color: var(--line-strong); box-shadow: 0 40px 70px -50px rgba(21,23,28,.35); }
@media (min-width: 900px) { .feature-post { grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch; } }
.feature-post .ph { border: 0; border-radius: 0; --ar: 16 / 10; height: 100%; }
@media (min-width: 900px) { .feature-post .ph { --ar: auto; min-height: 100%; } }
.feature-post__copy { padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: var(--s2); align-content: center; justify-items: start; }
.feature-post__copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.12; font-weight: 600; }
.meta { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-xs); color: var(--quiet); }
.cat { font-weight: 600; padding: .25rem .6rem; border-radius: 4px; background: var(--amber-soft); color: #1f3bd1; }
.posts { display: grid; gap: var(--s4) var(--s3); }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: grid; gap: var(--s2); align-content: start; position: relative; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.post[hidden] { display: none; }
.post .ph { --ar: 16 / 10; }
.post h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; line-height: 1.28; transition: color .3s; }
.post p { color: var(--graphite); font-size: var(--fs-sm); }
.post a.cover { position: absolute; inset: 0; z-index: 2; }
.post:hover h3 { color: #1f3bd1; }
.post .ph img { transition: transform 1.2s var(--ease); }
.post:hover .ph img { transform: scale(1.04); }

/* ---------- Article ---------- */
.readbar { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--amber); z-index: 60; }
.article-head { max-width: 52rem; display: grid; gap: var(--s3); }
.article-head .phero__title { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); max-width: 20ch; }
.article-cover { margin-top: var(--s5); }
.article-cover .ph { --ar: 21 / 9; }
.article-body { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .article-body { grid-template-columns: 15rem minmax(0, 46rem); gap: clamp(3rem, 6vw, 7rem); justify-content: center; } }
.toc { display: none; }
@media (min-width: 1000px) { .toc { display: block; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.toc h4 { font-size: var(--fs-xs); font-weight: 500; color: var(--quiet); margin-bottom: .75rem; }
.toc ul { display: grid; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .5rem 0 .5rem 1rem; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-sm); color: var(--graphite); transition: color .25s, border-color .25s; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--amber); font-weight: 500; }

.prose { font-size: 1.125rem; line-height: 1.75; color: #3d424b; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); margin-top: 3rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--amber); }
.prose a { color: var(--ink); font-weight: 600; background-image: linear-gradient(var(--amber), var(--amber)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.prose a:hover { background-size: 100% 100%; color: #fff; }
.prose strong { color: var(--ink); font-weight: 600; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--r-md); padding: 1.25rem 1.5rem; background: var(--mist); font-size: 1rem; line-height: 1.65; }
.callout b { display: block; color: var(--ink); margin-bottom: .35rem; }
.takeaways { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.75rem; background: #fff; }
.takeaways h2 { margin: 0 0 .75rem; font-size: 1.1rem; }
.prose .takeaways ul { list-style: none; padding: 0; }
.prose .takeaways li { padding-left: 1.5rem; position: relative; font-size: 1rem; line-height: 1.55; }
.prose .takeaways li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.formula { font-size: 1.05rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.formula span { color: #7b94ff; }
.author { display: flex; align-items: center; gap: .9rem; padding: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 3rem !important; }
.author .person { display: flex; align-items: center; gap: .9rem; }

/* ---------- FAQ page ---------- */
.faq-tools { display: grid; gap: var(--s3); justify-items: center; margin-top: var(--s4); width: 100%; }
.search { position: relative; width: 100%; max-width: 34rem; }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--quiet); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; height: 56px; padding: 0 1rem 0 2.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: var(--fs-base); transition: border-color .25s, box-shadow .25s; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21,23,28,.06); }
.faq-tools .filters { justify-content: center; }
.faq-layout { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 1fr 19rem; gap: clamp(3rem, 6vw, 7rem); align-items: start; } .faq-side { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq-group { margin-bottom: var(--s6); }
.faq-group[hidden], .qa[hidden] { display: none; }
.faq-group > h2 { font-size: var(--fs-lg); letter-spacing: -0.02em; font-weight: 600; margin-bottom: var(--s2); }
.faq-group .faq__list { border-top: 1px solid var(--ink); }
.faq-empty { display: none; padding: var(--s5) 0; color: var(--graphite); }
.faq-empty.is-on { display: block; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: grid; gap: var(--s2); background: var(--mist); justify-items: start; }
.side-card h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.015em; }
.side-card p { color: var(--graphite); font-size: var(--fs-sm); }
mark.hit { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 .1em; }

/* ---------- Legal ---------- */
.legal { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .legal { grid-template-columns: 15rem minmax(0, 46rem); gap: clamp(3rem, 6vw, 7rem); justify-content: center; } }
.legal .prose { font-size: 1.02rem; line-height: 1.7; }
.notice { border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 1rem 1.25rem; font-size: var(--fs-sm); color: var(--graphite); background: var(--mist); }
.notice b { color: var(--ink); }

/* ---------- Next links ---------- */
/* ---------- Next links ---------- */
.nextlinks { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .nextlinks { grid-template-columns: 1fr 1fr; } }
.nextlink {
  display: grid;
  gap: .4rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color .4s, transform .6s var(--ease), box-shadow .4s;
  position: relative;
  text-decoration: none;
}
.nextlink:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.nextlink small {
  font-size: var(--fs-xs);
  color: var(--quiet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.nextlink strong {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.nextlink span {
  color: var(--graphite);
  font-size: var(--fs-sm);
  max-width: 30em;
}

/* Left card: arrow on LEFT pointing LEFT (←), content LEFT-ALIGNED */
.nextlink--prev,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next) {
  text-align: left;
  justify-items: start;
  padding-left: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  padding-right: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.nextlink--prev::before,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next)::before {
  content: "";
  position: absolute;
  left: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  transform: translate(0, -50%) rotate(-45deg);
  opacity: .35;
  transition: transform .4s var(--ease), opacity .3s, border-color .3s;
}
.nextlink--prev:hover::before,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next):hover::before {
  opacity: 1;
  border-color: #2b50ff;
  transform: translate(-4px, -50%) rotate(-45deg);
}
.nextlink--prev::after,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next)::after {
  display: none !important;
}
.nextlink--prev small,
.nextlink--prev strong,
.nextlink--prev span,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next) small,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next) strong,
.nextlinks > .nextlink:first-child:not(:last-child):not(.nextlink--next) span {
  text-align: left;
  margin-right: auto;
  margin-left: 0;
}

/* Right card: arrow on RIGHT pointing RIGHT (→), content RIGHT-ALIGNED */
.nextlink--next,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev) {
  text-align: right;
  justify-items: end;
  padding-right: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  padding-left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.nextlink--next::before,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev)::before {
  display: none !important;
}
.nextlink--next::after,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev)::after {
  content: "";
  position: absolute;
  right: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: translate(0, -50%) rotate(45deg);
  opacity: .35;
  transition: transform .4s var(--ease), opacity .3s, border-color .3s;
}
.nextlink--next:hover::after,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev):hover::after {
  opacity: 1;
  border-color: #2b50ff;
  transform: translate(4px, -50%) rotate(45deg);
}
.nextlink--next small,
.nextlink--next strong,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev) small,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev) strong {
  text-align: right;
  width: 100%;
}
.nextlink--next span,
.nextlinks > .nextlink:last-child:not(:first-child):not(.nextlink--prev) span {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

/* ---------- Market Navigation Grid (Visual Country Showcase) ---------- */
.market-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .market-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .market-nav-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.market-nav-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
  position: relative;
}
.market-nav-card:hover {
  border-color: #2b50ff;
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.market-nav-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0f16;
}
.market-nav-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s;
  filter: brightness(0.92);
}
.market-nav-card:hover .market-nav-card__media img {
  transform: scale(1.06);
  filter: brightness(1);
}
.market-nav-card__tag {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  color: #fff;
  background: rgba(12, 15, 22, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.02em;
}
.market-nav-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: .5rem;
}
.market-nav-card__head {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.market-nav-card__flag {
  font-size: 1.25rem;
  line-height: 1;
}
.market-nav-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
.market-nav-card__desc {
  font-size: .84rem;
  color: var(--graphite);
  line-height: 1.45;
  margin: 0;
  flex-grow: 1;
}
.market-nav-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: #2b50ff;
  margin-top: .6rem;
  transition: gap .3s var(--ease);
}
.market-nav-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform .3s var(--ease);
}
.market-nav-card:hover .market-nav-card__link {
  gap: .65rem;
}
.market-nav-card:hover .market-nav-card__link svg {
  transform: translateX(3px);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .phero__media .ph { clip-path: none !important; }
  .phero__chip { opacity: 1 !important; transform: none !important; }
  .bars i { transform: none !important; }
  .mo::after { width: 100% !important; }
  .path::before { width: 100% !important; }
  .st-panel.is-active { animation: none; }
}
.no-js .phero__media .ph { clip-path: none; }
.no-js .phero__chip { opacity: 1; transform: none; }
.no-js .bars i { transform: none; }
.no-js .mo::after, .no-js .path::before { width: 100%; }

/* ==========================================================================
   HOMEPAGE VIBE & DARK CONTRAST SYSTEM FOR INNER PAGES
   ========================================================================== */

/* Dark Section Ambiance */
.section--dark::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 80, 255, 0.12) 0%, rgba(43, 80, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.section--dark .wrap {
  position: relative;
  z-index: 1;
}
.section--dark .ticks li {
  color: #c0c6d1;
}
.section--dark .ticks li::before {
  background-color: rgba(43, 80, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3.5 3.5L13 4' fill='none' stroke='%237b94ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Dark Cards (.dcard) */
.dcard-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .dcard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .dcard-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dcard {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.dcard:hover {
  border-color: rgba(43, 80, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.dcard--featured {
  border-color: rgba(43, 80, 255, 0.38);
  background: linear-gradient(180deg, #131826 0%, #0e121c 100%);
  box-shadow: 0 20px 50px -20px rgba(43, 80, 255, 0.25);
}
.dcard--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2b50ff, #7b94ff);
}
.dcard__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(43, 80, 255, 0.16);
  color: #7b94ff;
  border: 1px solid rgba(43, 80, 255, 0.3);
  letter-spacing: .02em;
}
.dcard__badge.dcard__badge--green {
  background: rgba(46, 204, 113, 0.15);
  color: #4ade80;
  border-color: rgba(46, 204, 113, 0.3);
}
.dcard h3,
.dcard__title {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.dcard h4 {
  font-size: var(--fs-sm);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: .4rem;
}
.dcard p,
.dcard__desc {
  color: #949ca9;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.dcard dl {
  display: grid;
  gap: .75rem;
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dcard dt {
  font-size: var(--fs-xs);
  color: #6b7585;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.dcard dd {
  font-size: var(--fs-sm);
  color: #c0c6d1;
  font-weight: 500;
}
.dcard .btn {
  margin-top: auto;
}

/* Feature Rows Enhancement with Photo Metric Chips */
.frow__media {
  position: relative;
}
.frow__chip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .95rem;
  background: rgba(21, 23, 28, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.5);
}
.frow__chip svg {
  width: 15px;
  height: 15px;
  stroke: #7b94ff;
  fill: none;
  stroke-width: 2;
}

/* Asymmetric Editorial Media Showcase */
.editorial-showcase {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
@media (min-width: 960px) {
  .editorial-showcase {
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(2.5rem, 5vw, 6rem);
  }
  .editorial-showcase--flip .editorial-showcase__media {
    order: 2;
  }
}
.editorial-showcase__media {
  position: relative;
}
.editorial-showcase__media .ph {
  --ar: 16 / 11;
  box-shadow: 0 35px 70px -40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.editorial-showcase__copy {
  display: grid;
  gap: var(--s3);
  justify-items: start;
}

/* Dark Quote Banner (.quote-banner-dark) */
.quote-banner-dark {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--s4);
}
.quote-banner-dark::before {
  content: "“";
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  font-size: 14rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(43, 80, 255, 0.08);
  pointer-events: none;
}
.quote-banner-dark blockquote,
.quote-banner-dark__text {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  z-index: 1;
  max-width: 44ch;
}
.quote-banner-dark .person,
.quote-banner-dark__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.quote-banner-dark .avatar,
.quote-banner-dark .person img,
.quote-banner-dark__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2b50ff;
  object-fit: cover;
}
.quote-banner-dark .person strong,
.quote-banner-dark__author strong {
  color: #ffffff;
  display: block;
  font-size: var(--fs-md);
}
.quote-banner-dark .person span,
.quote-banner-dark__author span {
  color: #949ca9;
  font-size: var(--fs-xs);
}

/* Structured Partner Pillars */
.partner-pillars {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .partner-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1020px) {
  .partner-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}
.partner-pillar {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  display: grid;
  gap: .6rem;
  align-content: start;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.partner-pillar:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.partner-pillar .ico {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #1f3bd1;
  display: grid;
  place-items: center;
  margin-bottom: .25rem;
}
.partner-pillar .ico svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.partner-pillar h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.partner-pillar p {
  font-size: var(--fs-xs);
  color: var(--graphite);
  line-height: 1.5;
}
.partner-pillar ul {
  display: grid;
  gap: .3rem;
  margin-top: .4rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs);
  color: var(--graphite);
}
.partner-pillar ul li {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.partner-pillar ul li::before {
  content: "•";
  color: var(--amber);
  font-weight: bold;
}

/* Marketplace Flagship Cards (Dark & Light Hybrid) */
.market-flagship-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .market-flagship-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.market-card-flagship {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease);
}
.market-card-flagship:hover {
  border-color: rgba(43, 80, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.market-card-flagship__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.market-flag-code {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}
.market-flag-code span.tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 4px;
  background: rgba(43, 80, 255, 0.2);
  color: #7b94ff;
  border: 1px solid rgba(43, 80, 255, 0.35);
}
.market-card-flagship h3 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.market-card-flagship p {
  color: #949ca9;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.market-card-flagship__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: var(--s3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.market-card-flagship__stats div {
  display: grid;
  gap: .2rem;
}
.market-card-flagship__stats strong {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.market-card-flagship__stats span {
  font-size: 11px;
  color: #6b7585;
}
.market-card-flagship .arrow {
  color: #7b94ff;
  font-size: var(--fs-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .3s;
}
.market-card-flagship .arrow::after {
  content: "";
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: width .4s var(--ease);
}
.market-card-flagship:hover .arrow::after {
  width: 28px;
}

/* Expansion Markets Row (Dark Compact) */
.market-expansion-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .market-expansion-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.market-card-compact {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: all .4s var(--ease);
}
.market-card-compact:hover {
  border-color: rgba(43, 80, 255, 0.4);
  transform: translateY(-3px);
}
.market-card-compact .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.market-card-compact .top strong {
  color: #ffffff;
  font-size: 1.05rem;
}
.market-card-compact .top span {
  font-size: var(--fs-xs);
  color: #7b94ff;
}
.market-card-compact p {
  font-size: var(--fs-xs);
  color: #949ca9;
  line-height: 1.5;
}
.market-card-compact .kpis {
  display: flex;
  justify-content: space-between;
  padding-top: .6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  font-size: 11px;
  color: #6b7585;
}
.market-card-compact .kpis b {
  color: #ffffff;
  font-weight: 600;
}

/* Dark Responsive Matrix (.duo-dark) */
.duo-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.duo-dark .duo__head {
  color: #6b7585;
}
.duo-dark .duo__row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.duo-dark .duo__row h3 {
  color: #ffffff;
}
.duo-dark .duo__row p {
  color: #949ca9;
}
.duo-dark .duo__row p b {
  color: #6b7585;
}

/* Dark Reporting Showcase in How-It-Works */
.section--dark .report {
  background: #11151f;
  border-color: rgba(255, 255, 255, 0.09);
}
.section--dark .report__top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.section--dark .report__top span {
  color: #6b7585;
}
.section--dark .kpi {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.section--dark .kpi + .kpi {
  border-left-color: rgba(255, 255, 255, 0.08);
}
.section--dark .kpi span {
  color: #6b7585;
}
.section--dark .kpi strong {
  color: #ffffff;
}
.section--dark .bars {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.section--dark .bars i {
  background: rgba(255, 255, 255, 0.12);
}
.section--dark .bars i:nth-last-child(-n+3) {
  background: #2b50ff;
  box-shadow: 0 0 12px rgba(43, 80, 255, 0.6);
}
.section--dark .bars-x {
  color: #6b7585;
}
.section--dark .report__foot {
  background: #0b0e14;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #6b7585;
}

