@font-face{font-family:'Oxanium';src:url('/wp-content/themes/apex-guide/fonts/oxanium/latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Oxanium';src:url('/wp-content/themes/apex-guide/fonts/oxanium/latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Oxanium';src:url('/wp-content/themes/apex-guide/fonts/oxanium/latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Oxanium';src:url('/wp-content/themes/apex-guide/fonts/oxanium/latin-800-normal.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Figtree';src:url('/wp-content/themes/apex-guide/fonts/figtree/latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Figtree';src:url('/wp-content/themes/apex-guide/fonts/figtree/latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Figtree';src:url('/wp-content/themes/apex-guide/fonts/figtree/latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

:root {
  --apex-bg: #07060d; --apex-bg2: #100f1a; --apex-ink: #f3f6f4;
  --apex-accent: #00e8b4; --apex-muted: #9aa3b0; --apex-line: #2a2d3c;
  --apex-card: #12131d; --apex-hb: #05050a; --apex-hi: #f3f6f4;
  --apex-btn: #04150f; --apex-surf: #0c0d16;
  --apex-preview: #7a2e12; --apex-preview-ink: #fff8ee;
  --apex-hot: #ff3d7a;
}
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
article img, article svg, .apex-copy img, .apex-copy svg, .apex-copy figure img {
  max-height: 420px; width: 100%; height: auto; object-fit: cover; display: block;
}
body.apex-body {
  margin: 0; background:
    radial-gradient(700px 380px at 0% 0%, color-mix(in srgb, var(--apex-accent) 16%, transparent), transparent 60%),
    radial-gradient(600px 320px at 100% 10%, color-mix(in srgb, var(--apex-hot) 14%, transparent), transparent 55%),
    var(--apex-bg);
  color: var(--apex-ink); font: 16px/1.55 "Figtree", "Naira Fallback", sans-serif;
}
h1,h2,h3 { font-family: "Oxanium", "Figtree", sans-serif; margin: 0 0 .5rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); line-height: 1.05; }
a { color: inherit; }
.apex-notice {
  background: var(--apex-preview); color: var(--apex-preview-ink); text-align: center; padding: .55rem 1rem; font-size: .85rem;
}
.apex-stop { background: #4a0520; color: #fff; text-align: center; padding: .5rem; font-weight: 700; }
.apex-head {
  display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem;
  background: color-mix(in srgb, var(--apex-hb) 90%, transparent);
  border-bottom: 1px solid var(--apex-line); position: sticky; top: 0; z-index: 25;
  backdrop-filter: blur(10px);
}
.apex-mark {
  font-family: "Oxanium", sans-serif; font-weight: 700; text-decoration: none; font-size: 1.2rem;
  color: var(--apex-accent); letter-spacing: .06em; text-transform: uppercase;
}
.apex-burger {
  margin-left: auto; display: flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--apex-line); background: var(--apex-card); color: var(--apex-ink);
  cursor: pointer; font-weight: 700; letter-spacing: .08em; font-size: .7rem; text-transform: uppercase;
}
.apex-toggle { position: absolute; opacity: 0; pointer-events: none; }
.apex-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw); background: var(--apex-hb); color: var(--apex-hi);
  transform: translateX(110%); transition: transform .22s ease; z-index: 40;
  padding: 4.5rem 1.2rem 2rem; border-left: 1px solid var(--apex-line);
  display: flex; flex-direction: column; gap: .6rem;
}
.apex-toggle:checked ~ .apex-drawer { transform: translateX(0); }
.apex-scrim { display: none; }
.apex-toggle:checked ~ .apex-scrim {
  display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 35;
}
.apex-drawer a { text-decoration: none; color: var(--apex-hi); padding: .5rem 0; border-bottom: 1px solid var(--apex-line); }
.apex-actions { display: flex; gap: .4rem; }
.apex-pill {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700;
  padding: .85rem 1.2rem; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  border: 0; transition: filter .15s, transform .15s;
}
.apex-pill-primary {
  background: linear-gradient(90deg, var(--apex-accent), color-mix(in srgb, var(--apex-accent) 60%, var(--apex-hot)));
  color: var(--apex-btn); box-shadow: 0 0 24px color-mix(in srgb, var(--apex-accent) 45%, transparent);
}
.apex-pill-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.apex-pill-secondary, .apex-pill-ghost {
  background: transparent; color: var(--apex-ink);
  box-shadow: inset 0 0 0 1px var(--apex-line);
}
.apex-slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.apex-slide {
  flex: 0 0 88%; scroll-snap-align: start; min-height: min(78vh, 700px);
  margin-right: 1rem; position: relative; overflow: hidden; background: var(--apex-card);
  border: 1px solid var(--apex-line);
}
.apex-slide:first-child { margin-left: 1rem; flex-basis: 90%; }
.apex-slide img, .apex-slide svg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42);
}
.apex-slide-copy {
  position: relative; z-index: 1; padding: 3.2rem 1.6rem 2rem; max-width: 36rem;
}
.apex-label { letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--apex-accent); margin: 0 0 .6rem; }
.apex-badges { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0; }
.apex-badges li {
  border: 1px solid var(--apex-accent); color: var(--apex-accent); padding: .28rem .65rem; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase; background: color-mix(in srgb, var(--apex-bg) 60%, transparent);
}
.apex-badges .apex-slot { border-style: dashed; opacity: .75; }
.apex-amt {
  font-family: "Oxanium", sans-serif; font-size: clamp(2.2rem, 7vw, 3.6rem); color: var(--apex-accent);
  line-height: 1; margin: .15rem 0 .7rem; text-shadow: 0 0 18px color-mix(in srgb, var(--apex-accent) 40%, transparent);
}
.apex-hold { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.apex-metrics {
  width: min(1100px, calc(100% - 2rem)); margin: 1.3rem auto; display: flex; flex-wrap: wrap; gap: .65rem;
}
.apex-metrics div {
  flex: 1 1 180px; padding: .9rem 1rem; background: var(--apex-card);
  border: 1px solid var(--apex-line); box-shadow: 0 0 0 1px color-mix(in srgb, var(--apex-accent) 8%, transparent);
}
.apex-metrics dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--apex-muted); }
.apex-metrics dd { margin: .3rem 0 0; font-family: "Oxanium", sans-serif; font-size: 1.15rem; color: var(--apex-accent); }
.apex-hint { color: var(--apex-muted); font-size: .85rem; }
.apex-rail, .apex-pay {
  width: min(1100px, calc(100% - 2rem)); margin: 0 auto 1.1rem; display: flex; flex-wrap: wrap; gap: .45rem;
}
.apex-chip {
  padding: .35rem .7rem; border: 1px solid var(--apex-line); font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; background: var(--apex-surf);
}
.apex-tile {
  background: var(--apex-card); border: 1px solid var(--apex-line); padding: 1.15rem;
  margin: 1.1rem auto; width: min(1100px, calc(100% - 2rem));
}
.apex-mosaic {
  width: min(1100px, calc(100% - 2rem)); margin: 1.1rem auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .65rem;
}
.apex-mosaic figure { margin: 0; border: 1px solid var(--apex-line); background: var(--apex-card); }
.apex-mosaic img, .apex-mosaic svg { width: 100%; height: 160px; object-fit: cover; display: block; }
.apex-mosaic figcaption { padding: .4rem .6rem; font-size: .8rem; color: var(--apex-muted); }
.apex-flow {
  width: min(1100px, calc(100% - 2rem)); margin: 1.1rem auto; display: grid; gap: .6rem;
}
.apex-flow article { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .9rem 1rem; background: var(--apex-card); border: 1px solid var(--apex-line); }
.apex-num {
  font-family: "Oxanium", sans-serif; color: var(--apex-accent); font-size: 1.6rem; min-width: 1.8rem;
}
.apex-qa {
  width: min(1100px, calc(100% - 2rem)); margin: .6rem auto; padding: .9rem 1rem;
  background: var(--apex-card); border-left: 3px solid var(--apex-accent);
}
.apex-qa dt { font-family: "Oxanium", sans-serif; font-weight: 700; margin-bottom: .3rem; }
.apex-qa dd { margin: 0; color: var(--apex-muted); }
.apex-copy { width: min(720px, calc(100% - 2rem)); margin: 2rem auto; }
.apex-foot {
  margin-top: 2rem; padding: 2rem 1rem 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  background: var(--apex-hb); color: var(--apex-hi); border-top: 1px solid var(--apex-accent);
}
.apex-foot a { color: var(--apex-accent); text-decoration: none; display: inline-block; margin: 0 .4rem .3rem 0; }
.apex-miss { border: 1px dashed var(--apex-hot); padding: .8rem; margin: .8rem auto; width: min(1100px, calc(100% - 2rem)); }
.apex-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--apex-hb); padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .5rem; border-top: 1px solid var(--apex-line);
}
.apex-sticky .apex-pill { flex: 1; }
@media (max-width: 800px) {
  .apex-slide, .apex-slide:first-child { flex-basis: 92%; min-height: 68vh; }
  .apex-foot { grid-template-columns: 1fr; }
  .apex-sticky { display: flex; }
  body.apex-body { padding-bottom: 4.5rem; }
  .apex-head .apex-actions { display: none; }
}


.apex-slide-copy{
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  width: min(36rem, 68%);
  background: linear-gradient(90deg, rgba(7,6,13,.94) 0%, rgba(7,6,13,.82) 62%, rgba(7,6,13,0) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.4rem 1.8rem 2.4rem 1.6rem;
}
.apex-amt-hero{
  font-size: clamp(3.8rem, 10vw, 7rem) !important;
  text-shadow: 0 0 28px color-mix(in srgb, var(--apex-accent) 55%, transparent), 0 0 60px color-mix(in srgb, var(--apex-accent) 35%, transparent);
  margin: .1rem 0 .45rem !important;
}
.apex-slider{ gap: .75rem; padding: 0 1rem; scroll-padding-inline: 1rem; }
.apex-slide, .apex-slide:first-child{
  flex: 0 0 82%;
  margin: 0;
  min-height: min(72vh, 640px);
  overflow: hidden;
}
.apex-frame, .apex-frame-img{ position: absolute; inset: 0; }
.apex-frame img, .apex-frame-img, .apex-slide img{
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: brightness(.55); max-height: none !important; position: absolute; inset: 0;
}
.apex-slide figcaption, .apex-frame figcaption{ display: none !important; }
.apex-dots{ display: flex; gap: .45rem; justify-content: center; padding: .85rem 0 0; }
.apex-dots a{
  width: .6rem; height: .6rem; border-radius: 999px; background: var(--apex-line);
  display: inline-block; text-indent: -999px; overflow: hidden;
}
.apex-dots a[aria-current="true"], .apex-slide:target ~ * { }
.apex-dots a[aria-current="true"]{ background: var(--apex-accent); box-shadow: 0 0 10px var(--apex-accent); }
.apex-brand, a.apex-brand, a.apex-mark{
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
}
.apex-logo-mark{
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  background: var(--apex-accent); color: var(--apex-btn); font-weight: 800; font-size: .75rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--apex-accent) 50%, transparent);
}
.apex-logo-text{ font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--apex-accent); font-size: .95rem; }
.apex-metrics div{ display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: .55rem; }
.apex-metrics .fact-glyph{ grid-row: 1 / span 3; color: var(--apex-accent); }
.apex-factval, .apex-metrics dd{ font-size: 1.22rem; font-weight: 700; }
.apex-pay, .apex-rail{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: .55rem;
}
.apex-logocard{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  background: var(--apex-card); border: 1px solid var(--apex-line); padding: .7rem .45rem;
  min-height: 92px; text-align: center; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.apex-logocard:hover{ transform: translateY(-2px); border-color: var(--apex-accent); box-shadow: 0 0 18px color-mix(in srgb, var(--apex-accent) 30%, transparent); }
.apex-logomark{ width: 36px; height: 36px; color: var(--apex-accent); display: grid; place-items: center; }
.apex-logomark svg{ width: 32px; height: 32px; }
.apex-flow ol, .apex-offersteps{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .65rem;
  list-style: none; padding: 0; margin: 0;
}
.apex-flow{ display: block; }
.apex-stepnum{ display: block; font-size: 2.6rem; line-height: 1; color: var(--apex-accent); font-weight: 800; }
.apex-flow li, .apex-offersteps li{
  background: var(--apex-card); border: 1px solid var(--apex-line); padding: 1rem;
}
.apex-pill-primary{ box-shadow: 0 0 28px color-mix(in srgb, var(--apex-accent) 50%, transparent); }
@media (max-width: 800px){
  .apex-slide, .apex-slide:first-child{ flex-basis: 88%; min-height: 64vh; }
  .apex-slide-copy{ width: 86%; background: linear-gradient(180deg, rgba(7,6,13,.9), rgba(7,6,13,.78)); }
}


.apex-logomark{ width:72px; height:32px; color:var(--apex-accent); display:grid; place-items:center; flex:0 0 72px; }
.apex-logomark svg{ width:72px; height:32px; display:block; }
.apex-logomark-raster{ width:72px; height:32px; background-color:currentColor; -webkit-mask:var(--logo) center / contain no-repeat; mask:var(--logo) center / contain no-repeat; }
.apex-logomark-raster img{ width:72px; height:32px; opacity:0; display:block; }

.apex-chipfacts{
  width:min(1100px, calc(100% - 2rem)); margin:1.4rem auto;
  display:flex; flex-wrap:wrap; gap:.55rem; align-items:stretch;
}
.apex-chip{
  display:flex; flex-direction:column; justify-content:center; gap:.15rem;
  background:var(--apex-card); border:1px solid var(--apex-line); padding:.55rem .8rem .5rem;
  min-height:3.6rem; max-width:100%;
  box-shadow:0 0 12px color-mix(in srgb, var(--apex-accent) 12%, transparent);
}
.apex-chiplab{ font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; color:var(--apex-muted); }
.apex-chipval{ font-size:.98rem; font-weight:700; color:var(--apex-accent); line-height:1.25; }
.apex-morefacts{ flex:1 0 100%; margin-top:.55rem; border:1px solid var(--apex-line); padding:.6rem .8rem; background:var(--apex-card); }
.apex-morefacts summary{ cursor:pointer; color:var(--apex-accent); font-size:.85rem; letter-spacing:.04em; text-transform:uppercase; }
.apex-morefacts dl{ display:grid; gap:.75rem; margin:.8rem 0 0; }
.apex-morefacts dt{ font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color:var(--apex-muted); }
.apex-morefacts dd{ margin:.15rem 0 0; font-weight:700; color:var(--apex-accent); }


/* --- v4 layout --- */
html, body.apex-body { overflow-x: hidden; max-width: 100%; }
.apex-cta-wrap {
  position: relative; display: flex; flex: 1 1 0; min-width: 0; align-items: stretch;
}
.apex-cta-wrap > a {
  flex: 1 1 auto; width: 100%; min-height: 3rem; box-sizing: border-box;
  white-space: nowrap; text-align: center;
}
.apex-dest-badge {
  position: absolute; left: 50%; top: -.55rem; transform: translateX(-50%);
  font-size: .58rem; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  padding: .18rem .45rem; border-radius: 999px; pointer-events: none; z-index: 2;
  background: color-mix(in srgb, var(--apex-card) 88%, var(--apex-accent));
  color: var(--apex-muted, var(--apex-hi)); border: 1px solid var(--apex-line);
  font-weight: 650;
}
.apex-offermeta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem;
  margin: 0 0 1rem; align-items: stretch;
}
.apex-minicard {
  background: color-mix(in srgb, var(--apex-card) 80%, transparent);
  border: 1px solid var(--apex-line); border-radius: 14px;
  padding: .7rem .8rem; min-height: 4.4rem;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
}
.apex-minicard dt {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--apex-muted); margin: 0;
}
.apex-minicard dd {
  margin: 0; font-weight: 750; font-size: 1.05rem; line-height: 1.2;
}
@media (max-width: 700px) {
  .apex-offermeta { grid-template-columns: 1fr; }
}

.ink-actions {
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: .6rem; margin-top: 1.1rem;
}
.ink-actions .ink-cta-wrap { flex: 1 1 0; }
.ink-cta-primary {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink-accent) 70%, #000), 0 8px 28px var(--ink-glow), 0 0 36px var(--ink-glow);
}
.ink-cta-primary:hover, .ink-cta-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink-accent) 80%, #000), 0 0 32px var(--ink-glow), 0 0 64px var(--ink-glow);
  filter: brightness(1.06);
}
.ink-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr; align-items: stretch; gap: .85rem;
}
.ink-fact {
  height: 100%; overflow: visible;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto;
  column-gap: .65rem; align-items: start;
}
.ink-factval, .ink-fact span.ink-factval {
  font-size: 1.55rem; font-weight: 750; line-height: 1.15; letter-spacing: -.02em;
}
.ink-hint {
  font-size: .78rem; line-height: 1.2; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
@media (max-width: 860px) {
  .ink-facts { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ink-actions { gap: .45rem; }
  .ink-actions .ink-cta-wrap > a { padding-left: .7rem; padding-right: .7rem; font-size: .92rem; }
  body.ink-body { padding-bottom: 5.75rem; }
}

.nook-tileval { order: 0 !important; font-size: 1.5rem; font-weight: 750; line-height: 1.15; }
.nook-tile strong { order: 0; display: block; }
.nook-tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; align-items: stretch; gap: .8rem;
}
.nook-tile { height: 100%; min-height: 7.2rem; overflow: visible; }
.nook-hint {
  font-size: .78rem; line-height: 1.2; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin: 0;
}
.nook-menu { flex-wrap: nowrap; }
.nook-menu a { white-space: nowrap; flex: 0 0 auto; }
.nook-pair { display: flex; align-items: stretch; }
.nook-pair .nook-cta-wrap { flex: 1 1 0; min-width: 0; }
.nook-steps, .nook-offersteps { overflow: visible; padding-bottom: 1rem; }
.nook-steps li, .nook-offersteps li { overflow: visible; }
.nook-steps li::before { display: none !important; content: none !important; }
.nook-stepnum {
  display: inline-flex !important; width: 2.4rem; height: 2.4rem; border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--nook-accent); color: var(--nook-btn);
  font-size: 1rem !important; font-weight: 800; line-height: 1;
  margin-bottom: .6rem;
}
@media (max-width: 900px) {
  .nook-side { overflow: visible; }
  .nook-menu {
    flex-direction: row !important; flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    grid-column: 1 / -1; max-width: 100%;
  }
  .nook-tiles { grid-template-columns: 1fr; grid-auto-rows: auto; }
  body.nook-body { padding-bottom: 5.75rem; }
}

.apex-chipfacts {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: .6rem; align-items: stretch;
}
.apex-chip {
  min-width: 0; max-width: none; height: 100%;
  text-transform: none;
}
.apex-chipval {
  text-transform: none !important; font-size: 1.35rem; font-weight: 750;
  line-height: 1.15; letter-spacing: 0;
}
.apex-chiplab { text-transform: uppercase; }
.apex-morefacts { grid-column: 1 / -1; height: auto; }
.apex-hint {
  font-size: .78rem; line-height: 1.2; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin: 0;
}
.apex-intro { max-width: 100%; overflow: hidden; }
.apex-slider {
  width: 100%; max-width: 100%; box-sizing: border-box;
  overflow-x: auto; overflow-y: hidden;
}
.apex-slide {
  flex: 0 0 calc(100% - 1.5rem); max-width: calc(100% - 1.5rem);
  box-sizing: border-box; margin-right: .75rem;
}
.apex-slide:last-child { margin-right: 0; flex-basis: 100%; max-width: 100%; }
.apex-badges { flex-wrap: nowrap; overflow: hidden; max-width: 100%; }
.apex-badges li {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .78rem; min-width: 0;
}
.apex-slide-copy .apex-actions {
  display: flex; flex-direction: row; flex-wrap: nowrap; gap: .5rem;
  align-items: stretch; width: 100%;
}
@media (max-width: 800px) {
  .apex-chipfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apex-slide, .apex-slide:first-child, .apex-slide:last-child {
    flex-basis: 100%; max-width: 100%; min-width: 0; margin-right: 0;
  }
  .apex-slide-copy {
    width: 100%; max-width: 100%; box-sizing: border-box;
    background: linear-gradient(180deg, rgba(7,6,13,.92), rgba(7,6,13,.82));
  }
  .apex-slide-copy .apex-actions { flex-direction: column; width: 100%; }
  .apex-slide-copy .apex-cta-wrap { flex: 1 1 auto; width: 100%; }
  .apex-slide-copy .apex-cta-wrap > a {
    width: 100%; min-height: 3rem; white-space: nowrap;
  }
  body.apex-body { padding-bottom: 5.75rem; }
}


/* --- v41 --- */
.apex-factval, .ink-factval, .nook-tileval, .apex-chipval {
  white-space: nowrap; overflow: visible; text-overflow: clip;
  text-transform: none !important; letter-spacing: 0;
}
.ink-hint, .nook-hint, .apex-hint {
  white-space: normal; overflow: visible; text-overflow: unset;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  line-height: 1.25; max-width: 100%;
}
.apex-hint {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .68rem; letter-spacing: 0; text-transform: none;
}
.apex-minicard dd {
  font-size: 1.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
}
.apex-minicaption {
  margin: .2rem 0 0; font-size: .72rem; line-height: 1.25; color: var(--apex-muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}

.ink-pay {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  justify-items: stretch;
}
.ink-rail {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  justify-items: stretch;
}
.ink-logocard {
  width: 100%; min-width: 0; box-sizing: border-box;
}
.ink-logomark {
  width: 72px; height: 32px; color: var(--ink-accent);
}
.ink-logomark svg {
  width: 72px; height: 32px; display: block; overflow: visible;
}
@media (max-width: 860px) {
  .ink-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ink-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.nook-lead {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-width: 42rem; margin-left: auto; margin-right: auto;
}
@media (max-width: 900px) {
  .nook-lead { -webkit-line-clamp: 3; }
}

.apex-badges {
  display: flex; flex-wrap: wrap; overflow: visible; max-width: 100%;
  gap: .4rem; align-items: center;
}
.apex-badges li {
  white-space: nowrap; overflow: visible; text-overflow: clip;
  flex: 0 0 auto; max-width: 100%;
}
.apex-slide-copy .apex-badges { width: 100%; }


/* --- v42 --- */

/* Orphan fact card in the last row spans the full grid width. Generic for all layouts. */
.ink-facts > .ink-fact:last-child:nth-child(3n + 1),
.nook-tiles > .nook-tile:last-child:nth-child(2n + 1),
.apex-chipfacts > .apex-chip:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}
@media (max-width: 800px) {
  .apex-chipfacts > .apex-chip:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
  .apex-chipfacts > .apex-chip:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .ink-facts > .ink-fact:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .nook-tiles > .nook-tile:last-child:nth-child(2n + 1) {
    grid-column: auto;
  }
}

/* Betzillo mobile: horizontal-scroll pill bar, fade edges, no clipped labels.
   Distinct from ginjabet's burger drawer; desktop stays side_menu. */
@media (max-width: 900px) {
  .nook-side {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo pair" "menu menu";
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: .55rem .7rem .5rem;
    gap: .45rem;
  }
  .nook-logo { grid-area: logo; min-width: 0; }
  .nook-pair { grid-area: pair; }
  .nook-menu {
    grid-area: menu;
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: .35rem;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  .nook-menu::-webkit-scrollbar { display: none; }
  .nook-menu a {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    min-width: max-content;
  }
  .nook-menu::after {
    content: "";
    flex: 0 0 2rem;
    height: 1px;
  }

  /* Hero: mosaic is a short background behind the copy, not a block above it. */
  .nook-hero, .nook-hero.has-shot {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    place-items: unset !important;
    padding: .7rem .9rem 1rem !important;
    overflow: hidden;
  }
  .nook-hero.has-shot .nook-hero-media,
  .nook-hero.has-shot .nook-hero-media-img {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    width: 100% !important;
    z-index: 0;
    pointer-events: none;
  }
  .nook-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
  }
  .nook-amt-hero, .nook-hero .nook-amt {
    font-size: clamp(2.2rem, 11vw, 3.1rem) !important;
    margin: .15rem 0 .35rem !important;
  }
  .nook-hero .nook-actions { margin-top: .7rem; }
  .nook-lead { -webkit-line-clamp: 3; margin: .3rem auto .4rem; }
  .nook-badges { margin: .5rem 0; }
}

/* Ginjabet mobile: slider height follows the copy, no reserved 64/78vh gap. */
@media (max-width: 800px) {
  .apex-intro {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
  }
  .apex-slider {
    display: flex;
    align-items: stretch;
    min-height: 0 !important;
    height: auto !important;
    padding: 0;
    gap: 0;
  }
  .apex-slide,
  .apex-slide:first-child,
  .apex-slide:last-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    position: relative;
  }
  .apex-slide-copy {
    position: relative !important;
    left: auto; top: auto; bottom: auto; right: auto;
    width: 100% !important;
    max-width: 100% !important;
    inset: auto;
    height: auto !important;
    padding: 1rem 1rem 1.1rem !important;
    background: linear-gradient(180deg, rgba(7,6,13,.92), rgba(7,6,13,.84)) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .apex-slide .apex-frame,
  .apex-slide .apex-frame-img,
  .apex-slide img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .apex-amt-hero, .apex-intro .apex-amt {
    font-size: clamp(2.4rem, 14vw, 3.4rem) !important;
    margin: .1rem 0 .3rem !important;
  }
  .apex-dots { padding: .45rem 0 .15rem; }
}


/* --- v43 --- */
/* Betzillo mobile: icon-only control left of the logo opens a left drawer
   matching the desktop side_menu. Distinct from ginjabet's text Menu burger
   (right-hand drawer). */
.nook-toggle {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.nook-open, .nook-close, .nook-scrim { display: none; }

@media (min-width: 768px) and (max-width: 900px) {
  .nook-menu {
    flex-wrap: wrap !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .nook-menu::after { display: none !important; content: none !important; flex: 0 0 0 !important; }
}

@media (max-width: 767px) {
  .nook-open {
    display: grid !important;
    place-items: center;
    grid-area: open;
    width: 2.5rem; height: 2.5rem;
    border: 1px solid color-mix(in srgb, var(--nook-accent) 45%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--nook-accent) 12%, transparent);
    color: var(--nook-accent);
    cursor: pointer;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
  .nook-open svg { width: 1.25rem; height: 1.25rem; display: block; }
  .nook-side {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas: "open logo pair" !important;
    align-items: center;
    gap: .45rem .5rem;
    width: 100%; max-width: 100%; min-width: 0;
    overflow: visible !important;
    padding: .55rem .7rem !important;
  }
  .nook-brand, a.nook-brand, .nook-logo {
    grid-area: logo;
    min-width: 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: .4rem;
  }
  .nook-logo-text { font-size: .95rem; white-space: nowrap; }
  .nook-pair {
    grid-area: pair;
    margin: 0 !important;
    flex-direction: row !important;
    gap: .35rem;
    min-width: 0;
  }
  .nook-pair .nook-cta-wrap { flex: 0 0 auto; min-width: 0; }
  .nook-pair .nook-btn {
    padding: .45rem .7rem;
    font-size: .82rem;
    white-space: nowrap;
  }
  .nook-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    z-index: 70;
    transition: opacity .2s ease;
  }
  .nook-toggle:checked ~ .nook-scrim { opacity: 1; pointer-events: auto; }
  .nook-menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: min(18rem, 86vw);
    max-width: 86vw;
    height: 100vh;
    padding: 1.1rem 1rem 2rem;
    margin: 0;
    background: var(--nook-hb);
    color: var(--nook-hi);
    border-right: 1px solid var(--nook-line);
    box-shadow: 16px 0 36px rgba(0,0,0,.4);
    transform: translateX(-110%);
    transition: transform .22s ease;
    z-index: 80;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    gap: .35rem;
  }
  .nook-menu::after { display: none !important; content: none !important; flex: none !important; }
  .nook-toggle:checked ~ .nook-menu { transform: translateX(0); }
  .nook-menu a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
    max-width: none !important;
    min-width: 0;
    display: block;
  }
  .nook-close {
    display: grid !important;
    place-items: center;
    align-self: flex-end;
    width: 2.25rem; height: 2.25rem;
    margin: 0 0 .6rem auto;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--nook-accent) 40%, transparent);
    color: var(--nook-accent);
    cursor: pointer;
    box-sizing: border-box;
  }
  .nook-close svg { display: block; }

  .nook-hero-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }
  .nook-hero .nook-actions {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: .5rem;
    margin-top: .75rem;
    box-sizing: border-box;
  }
  .nook-hero .nook-actions .nook-cta-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    flex: 0 0 auto;
  }
  .nook-hero .nook-actions .nook-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    height: 3rem;
    padding: .65rem .8rem;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Offer line is not a heading (was H2). Keep the previous title look. */
.ink-offerline, .nook-offerline, .apex-offerline {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  letter-spacing: 0;
}
.ink-offerline { color: var(--ink-muted); }
.nook-offerline { color: var(--nook-ink); font-family: inherit; font-size: 1.15rem; }
.apex-offerline { color: var(--apex-hi); font-size: 1.15rem; }

/* Fact group labels are not headings. */
.ink-factgroup-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 .7rem;
  font-weight: 650;
}

/* Groups fill the row: N cards -> N columns (4 / 2 / 3). No leftover empty cell.
   Neutralise the older 3-col / last-child span rules. */
.ink-facts,
.nook-tiles,
.apex-chips {
  display: grid !important;
  grid-template-columns: repeat(var(--fact-count, 1), minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  align-items: stretch;
  width: 100%;
}
.ink-facts > .ink-fact:last-child,
.nook-tiles > .nook-tile:last-child,
.apex-chips > .apex-chip:last-child,
.apex-chipfacts > .apex-chip:last-child {
  grid-column: auto !important;
}
.apex-chipfacts {
  display: block !important;
  width: min(1100px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.apex-chips { width: 100%; gap: .6rem; }
.apex-morefacts { width: 100%; margin-top: .55rem; }

@media (max-width: 1099px) {
  .ink-facts[data-count="5"], .ink-facts[data-count="7"],
  .nook-tiles[data-count="5"], .nook-tiles[data-count="7"],
  .apex-chips[data-count="5"], .apex-chips[data-count="7"] {
    grid-template-columns: 1fr !important;
  }
  .apex-chips[data-count="6"], .ink-facts[data-count="6"], .nook-tiles[data-count="6"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ink-facts[data-count="4"], .nook-tiles[data-count="4"], .apex-chips[data-count="4"],
  .ink-facts[data-count="2"], .nook-tiles[data-count="2"], .apex-chips[data-count="2"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .ink-facts[data-count="3"], .nook-tiles[data-count="3"], .apex-chips[data-count="3"] {
    grid-template-columns: 1fr !important;
  }
  .ink-facts[data-count="6"], .nook-tiles[data-count="6"], .apex-chips[data-count="6"],
  .ink-facts[data-count="8"], .nook-tiles[data-count="8"], .apex-chips[data-count="8"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .ink-facts[data-count="5"], .ink-facts[data-count="7"],
  .nook-tiles[data-count="5"], .nook-tiles[data-count="7"],
  .apex-chips[data-count="5"], .apex-chips[data-count="7"] {
    grid-template-columns: 1fr !important;
  }
}

/* Decorative card titles (not headings). Same look as the old aside h2. */
.ink-cardline, .nook-cardline, .apex-cardline {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  letter-spacing: 0;
}
.ink-cardline { color: var(--ink-muted); }
.nook-cardline { color: var(--nook-ink); }
.apex-cardline { color: var(--apex-hi); }

/* Hero/body CTA rows only — not header Login/Register pairs
   (ginjabet header uses .apex-actions; betzillo header uses .nook-pair). */
@media (max-width: 767px) {
  .ink-actions,
  .nook-hero .nook-actions,
  .apex-slide-copy .apex-actions {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: .5rem;
    box-sizing: border-box;
  }
  .ink-actions .ink-cta-wrap,
  .nook-hero .nook-actions .nook-cta-wrap,
  .apex-slide-copy .apex-actions .apex-cta-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
  .ink-actions .ink-cta,
  .nook-hero .nook-actions .nook-btn,
  .apex-slide-copy .apex-actions .apex-pill {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    padding: .65rem .8rem;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
  /* Mid-page card CTAs stay inside the column; do not stretch header wraps. */
  .ink-offer, .nook-card, .apex-tile, .ink-offer .ink-cta-wrap, .nook-card .nook-cta-wrap, .apex-tile .apex-cta-wrap {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .ink-offer .ink-cta-wrap > a, .nook-card .nook-cta-wrap > a, .apex-tile .apex-cta-wrap > a {
    max-width: 100% !important;
    box-sizing: border-box;
    white-space: nowrap;
  }
  /* 1fr is minmax(auto,1fr): a wide table inflates the article and clips CTAs.
     Force the track to shrink; keep tables scrollable instead. */
  .ink-with-toc {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(1160px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
  }
  .ink-with-toc > *,
  .ink-article,
  .ink-with-toc .ink-article {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .ink-article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  .ink-hero-copy {
    padding-top: .75rem !important;
    padding-bottom: .55rem !important;
  }
  .ink-hero-copy .ink-lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: .3rem 0 .4rem;
  }
  .ink-hero-copy .ink-badges { margin: .4rem 0; }
  .ink-hero-copy .ink-actions { margin-top: .5rem; }
  .ink-hero-copy .ink-amt,
  .ink-hero-copy .ink-amt-hero {
    margin: .15rem 0 .3rem !important;
  }
}


/* --- v44 --- */
/* Captions wrap fully. Never ellipsis / line-clamp. Cards grow with content. */
.ink-hint, .nook-hint, .apex-hint,
.apex-minicaption {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  display: block !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ink-factval, .nook-tileval, .apex-chipval,
.ink-fact span.ink-factval {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ink-facts, .nook-tiles, .apex-chips {
  grid-auto-rows: auto !important;
  align-items: start !important;
  min-width: 0;
  max-width: 100%;
}
.ink-fact, .nook-tile, .apex-chip {
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  max-width: 100%;
  overflow: visible !important;
  box-sizing: border-box;
}

/* <520px: one column so values fit. Full-row-fill still holds (1 card = full row).
   520–767 keeps 2×2 / halves from v43 when those counts divide evenly. */
@media (max-width: 519px) {
  .ink-facts, .nook-tiles, .apex-chips,
  .ink-facts[data-count], .nook-tiles[data-count], .apex-chips[data-count] {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }
}

/* Payment marks: official colour logos (or currentColor) on a light plate
   so they stay recognisable and even-weight on the dark card. */
.ink-pay, .ink-rail {
  width: 100%;
  max-width: 100%;
}
.ink-logocard {
  min-width: 0;
  overflow: visible;
}
.ink-logomark {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 3rem;
  padding: .45rem .65rem;
  box-sizing: border-box;
  background: #f3efe6;
  border-radius: 8px;
  color: #111;
  overflow: hidden;
}
.ink-pay .ink-logomark svg,
.ink-pay .ink-logomark img,
.ink-logomark svg,
.ink-logomark img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  flex: 0 1 auto;
}
.ink-logocard[data-logo="Apple Pay"] .ink-logomark {
  color: #111;
}


/* v45: shared content-container width, logo plates by luminance,
   uncropped screenshot tops, no hero line-clamp, nav dropdown. */
.apex-pay, .apex-rail, .apex-gallery, .apex-steps, .apex-factblock,
main > .apex-offer {
  width: min(1160px, calc(100% - 2rem)) !important;
  max-width: min(1160px, calc(100% - 2rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.apex-gallery img, .apex-gallery svg {
  object-fit: cover;
  object-position: top center;
}
.apex-lead, .apex-hero-copy .apex-lead, .apex-hero-copy p.apex-lead,
.nook-lead, .apex-lead {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-height: none !important;
}
.apex-logomark-on-light {
  background: #f3efe6 !important;
  color: #111 !important;
}
.apex-logomark-on-dark {
  background: #12151c !important;
  color: #f3efe6 !important;
}
.apex-logomark img {
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  display: block;
}
.apex-logomark-raster {
  background-color: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.apex-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.apex-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 10rem;
  padding: .35rem 0;
  background: var(--apex-card, #1b1e26);
  border: 1px solid var(--apex-line, rgba(255,255,255,.12));
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.apex-drop-menu a {
  display: block;
  padding: .4rem .9rem;
  white-space: nowrap;
}
.apex-drop:hover .apex-drop-menu,
.apex-drop:focus-within .apex-drop-menu {
  display: block;
}


/* --- v46 --- */
/* Footer: brand + 4 link columns that stay aligned at every width. */
.ink-colophon {
  display: grid !important;
  grid-template-columns: minmax(12rem, 1.15fr) minmax(0, 3fr) !important;
  gap: 1.5rem 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 2rem 1.25rem 5.5rem;
  overflow: hidden;
}
.ink-colo-brand {
  min-width: 0;
}
.ink-colo-brand p {
  margin: .7rem 0 0;
  overflow-wrap: anywhere;
}
.ink-colo-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  min-width: 0;
  align-items: start;
}
.ink-colo-col {
  min-width: 0;
}
.ink-colophon a,
.ink-colo-col a {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: .25rem 0;
}
@media (max-width: 900px) {
  .ink-colophon {
    grid-template-columns: 1fr !important;
    padding-bottom: 5.5rem;
  }
  .ink-colo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ink-colo-links {
    grid-template-columns: 1fr;
  }
}

/* TOC: visible frame + Contents label (not a heading). */
.ink-toc {
  background: #1a2338;
  border: 1px solid #c9b896;
  padding: 1rem 1.1rem 1.15rem;
  align-self: start;
  box-sizing: border-box;
  min-width: 0;
}
.ink-toc-title {
  margin: 0 0 .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-accent, #e8c36a);
}
.ink-toc a {
  color: var(--ink-ink, #f4efe4);
  opacity: 1;
}
.ink-with-toc {
  align-items: start;
}

/* Tables on the dark theme: cell borders, contrast header, zebra. */
.ink-article table,
.nook-prose table,
.apex-copy table,
article table,
table.nook-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid #c9b896;
  background: var(--apex-card, #121a2c);
  color: inherit;
  display: table;
  overflow: visible;
}
.ink-article table th,
.nook-prose table th,
.apex-copy table th,
article table th,
table.nook-table th {
  background: #c9b896;
  color: #1a1408;
  font-weight: 700;
  text-align: left;
  padding: .65rem .8rem;
  border: 1px solid #c9b896;
}
.ink-article table td,
.nook-prose table td,
.apex-copy table td,
article table td,
table.nook-table td {
  padding: .65rem .8rem;
  border: 1px solid #8a806c;
  vertical-align: top;
}
.ink-article table tbody tr:nth-child(even),
.nook-prose table tbody tr:nth-child(even),
.apex-copy table tbody tr:nth-child(even),
article table tbody tr:nth-child(even),
table.nook-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, #c9b896 14%, var(--apex-card, #121a2c));
}
.ink-article,
.nook-prose,
.apex-copy {
  overflow-x: auto;
}

/* Equal-height cards in a row (overrides v44 start/auto). */
.ink-facts, .nook-tiles, .apex-chips,
.ink-faq, .ink-steps ol, .ink-offersteps,
.ink-intent-stores, .ink-intent-grid, .ink-intent-grid-2 {
  align-items: stretch !important;
}
.ink-facts, .nook-tiles, .apex-chips {
  grid-auto-rows: 1fr !important;
}
.ink-fact, .nook-tile, .apex-chip,
.ink-faq article, .ink-steps li, .ink-offersteps li,
.ink-intent-store, .ink-intent-card {
  height: 100% !important;
  min-height: 100%;
  box-sizing: border-box;
}

/* Content screenshots: whole image (natural ratio, no cover), never taller than 80vh.
   Long shots shrink in width; very tall ones are a clipped preview + click-to-open. */
.ink-gallery img, .ink-gallery svg,
.ink-article figure img, article figure img,
.nook-prose img, .nook-prose svg, .nook-shots img, .nook-shots svg,
.apex-copy img, .apex-mosaic img, .apex-mosaic svg,
.ink-intent figure img, img.ink-shot-img, img[data-role="shot"] {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 80vh !important;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: top center;
  display: block;
}
.ink-article img:not([data-role="hero"]):not(.ink-hero-visual-img):not(.ink-logo-icon),
article img:not([data-role="hero"]):not(.ink-hero-visual-img):not(.ink-logo-icon) {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 80vh !important;
  object-fit: contain !important;
}
.ink-shot, figure.ink-shot, .ink-gallery figure {
  margin-inline: auto;
  max-width: 100%;
  width: fit-content;
}
.ink-shot-link {
  display: block;
  max-width: 100%;
  max-height: 80vh !important;
  overflow: hidden;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}
.ink-shot-hint {
  display: block;
  margin: .4rem 0 0;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-accent, #e8c36a);
}
figure.ink-shot-preview {
  max-width: 360px;
  margin-inline: auto;
  position: relative;
}
figure.ink-shot-preview img,
figure.ink-shot-preview .ink-shot-img {
  width: 100% !important;
  max-width: 360px;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center;
}
/* 1.0.0 hero: fixed box, cover (or contain for --intent), clipped to the frame.
   The hero block itself never exceeds the first screen. */
.ink-hero-wrap {
  max-height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
}
.ink-hero-visual {
  height: min(560px, 72vh) !important;
  min-height: 0;
  max-height: min(560px, 72vh, 100vh) !important;
  overflow: hidden !important;
  position: relative;
}
@media (max-width: 860px) {
  .ink-hero-wrap {
    max-height: calc(100vh - 4.6rem);
    display: flex;
    flex-direction: column;
  }
  .ink-hero-wrap .ink-band {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
  }
  .ink-hero-visual,
  .ink-hero-visual--intent {
    min-height: 0 !important;
    height: auto !important;
    max-height: min(560px, 72vh, 100%) !important;
  }
  .ink-hero-wrap .ink-amt-hero,
  .ink-hero-copy .ink-amt-hero {
    font-size: clamp(2.6rem, 16vw, 3.6rem) !important;
    margin: .1rem 0 .15rem !important;
  }
}
.ink-hero-visual img,
.ink-hero-visual svg,
.ink-hero-visual-img,
img[data-role="hero"] {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
}
.ink-hero-visual--intent {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center;
  height: min(560px, 72vh) !important;
  min-height: 360px !important;
  overflow: hidden !important;
}
.ink-hero-visual--intent img,
.ink-hero-visual--intent .ink-hero-visual-img,
.ink-hero-visual--pair img,
.ink-hero-visual--form img,
.ink-hero-visual--form .ink-hero-visual-img,
.ink-hero-visual--shots img {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center !important;
  background: var(--ink-bg, #070b16);
  display: block;
}
.ink-gallery {
  align-items: start;
  justify-items: center;
}
.ink-shot-mobile,
figure.ink-shot-mobile {
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
}
.ink-shot-mobile img,
img.ink-shot-mobile-img {
  max-width: 360px;
  width: auto !important;
  height: auto !important;
  max-height: 80vh !important;
  object-fit: contain !important;
}
figure.ink-shot-preview.ink-shot-mobile img,
figure.ink-shot-preview img.ink-shot-mobile-img {
  width: 100% !important;
  max-height: none !important;
}
.ink-logomark img, .ink-logomark svg,
.nook-logomark img, .apex-logomark img,
.ink-intent-store img,
img[src*="/logos/"], img[src*="/badges/"], img[src*="/icons/"] {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 2.5rem;
  object-fit: contain !important;
}
.ink-logo-icon {
  width: 2.15rem !important;
  height: 2.15rem !important;
  max-height: 2.15rem;
  object-fit: contain !important;
}

/* Mobile burger: checkbox + labels, CSS only. */
.ink-nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}
.ink-burger {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: .35rem;
  color: var(--ink-hi, #f4efe4);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink-hi, #f4efe4) 35%, transparent);
  cursor: pointer;
}
.ink-drawer-scrim {
  display: none;
}
.ink-drawer {
  display: none;
}
@media (max-width: 860px) {
  .ink-tray-nav,
  .ink-tray:first-of-type {
    display: none !important;
  }
  .ink-burger {
    display: inline-flex;
    position: relative;
    z-index: 110;
  }
  .ink-mast {
    flex-wrap: nowrap;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 4.6rem;
    background: var(--ink-hb, #05070e);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }
  .ink-tray-cta {
    margin-left: auto;
  }
  .ink-drawer-scrim {
    position: fixed;
    inset: 0;
    top: 4.6rem;
    z-index: 80;
    background: rgba(0, 0, 0, .55);
    display: none;
  }
  .ink-drawer {
    display: none;
    position: fixed;
    top: 4.6rem;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(20rem, calc(100% - 2rem));
    max-width: 100%;
    background: var(--ink-hb, #05070e);
    color: var(--ink-hi, #f4efe4);
    border-left: 1px solid var(--ink-line, #2a3144);
    padding: 1rem 1.1rem 1.4rem;
    overflow-y: auto;
    box-sizing: border-box;
    flex-direction: column;
    gap: .35rem;
  }
  .ink-nav-check:checked ~ .ink-drawer {
    display: flex;
  }
  .ink-nav-check:checked ~ .ink-drawer-scrim {
    display: block;
  }
  .ink-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .6rem;
  }
  .ink-drawer-title {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
  }
  .ink-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    cursor: pointer;
    color: inherit;
  }
  .ink-drawer-links a {
    display: block;
    padding: .55rem 0;
    text-decoration: none;
    color: var(--ink-hi, #f4efe4);
    border-bottom: 1px solid color-mix(in srgb, var(--ink-line, #2a3144) 80%, transparent);
  }
  .ink-drawer-links a[aria-current="page"] {
    color: var(--ink-accent, #e8c36a);
  }
  .ink-drawer-cta {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
  }
  .ink-drawer-cta .ink-cta-wrap {
    flex: 1 1 0;
  }
  .ink-drawer-cta .ink-cta {
    width: 100%;
  }
}
@media (min-width: 861px) {
  .ink-burger, .ink-drawer, .ink-drawer-scrim, .ink-nav-check {
    display: none !important;
  }
}

/* Sister chrome (nook/apex): same rules apply on the next build. */
.nook-end,
.nook-end > div,
.apex-hold.apex-foot,
.apex-foot {
  display: flex !important;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
.nook-end a,
.apex-foot a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
}
.nook-toc, nav.nook-toc, .apex-toc, nav.apex-toc, [aria-label="Contents"], [aria-label="On this page"] {
  background: #1a2338;
  border: 1px solid #c9b896;
  padding: 1rem 1.1rem;
  box-sizing: border-box;
}
table {
  border: 1px solid #c9b896;
  border-collapse: collapse;
  background: var(--apex-card, #121a2c);
}
table th, table td {
  border: 1px solid #8a806c;
}
table th {
  background: #c9b896;
  color: #1a1408;
}
/* Hero frames stay boxed + covered (1.0.0). Do not force contain/height:auto on them.
   Body shots keep natural ratio, whole, and the FIGURE (img + caption) stays ≤80vh. */
#hero, .ink-hero-wrap, .nook-hero, .apex-intro {
  max-height: 100vh;
  overflow: hidden;
}
#hero .apex-slide {
  max-height: min(72vh, 640px, calc(100vh - 2.75rem));
  overflow: hidden;
}
#hero img[data-role="hero"],
#hero .apex-frame img,
#hero .apex-slide .apex-frame-img,
#hero .ink-hero-visual img,
#hero .nook-hero-media img {
  object-fit: cover !important;
  object-position: center center;
  max-height: 100%;
}
figure.ink-shot,
figure.nook-shot,
figure.apex-shot,
figure:has(img[data-role="shot"]) {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nook-shot img, .nook-side img,
figure.ink-shot img,
figure.nook-shot img,
figure.apex-shot img,
img[data-role="shot"] {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  max-height: calc(80vh - 2.75rem);
  width: auto;
  max-width: 100%;
  object-fit: contain !important;
  object-position: top center;
}
figure.ink-shot-mobile,
figure.nook-shot-mobile,
.ink-shot-mobile {
  max-width: min(28rem, 100%);
  margin-inline: auto;
}
@media (max-width: 800px) {
  figure.ink-shot-mobile,
  figure.nook-shot-mobile,
  .ink-shot-mobile {
    max-width: min(22rem, 86vw);
  }
}
/* Closed burger is hidden so it cannot fail close-state or overflow checks. */
#apex-nav:not(:checked) ~ .apex-drawer {
  visibility: hidden;
  pointer-events: none;
}
#apex-nav:checked ~ .apex-drawer {
  visibility: visible;
}
/* TOC for every prefix: title is a paragraph, not a heading; border ≥3:1 vs page is on nav[aria-label=Contents]. */
.nook-with-toc, .apex-with-toc {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.5rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 2rem auto;
  align-items: start;
}
.nook-toc-title, .apex-toc-title {
  margin: 0 0 .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nook-toc a, .apex-toc a {
  display: block;
  padding: .25rem 0;
  color: inherit;
  text-decoration: none;
}
@media (max-width: 800px) {
  .nook-with-toc, .apex-with-toc {
    grid-template-columns: 1fr;
  }
}
img[src*="/logos/"] {
  width: auto !important;
  height: auto !important;
  max-height: 2.5rem !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
.apex-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
}
.apex-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
}
