@font-face{font-family:'Syne';src:url('/assets/templates/nook/fonts/syne/latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Syne';src:url('/assets/templates/nook/fonts/syne/latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Syne';src:url('/assets/templates/nook/fonts/syne/latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Syne';src:url('/assets/templates/nook/fonts/syne/latin-800-normal.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/assets/templates/nook/fonts/ibm-plex-sans/latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/assets/templates/nook/fonts/ibm-plex-sans/latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/assets/templates/nook/fonts/ibm-plex-sans/latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

:root {
  --nook-bg: #0b1a14; --nook-bg2: #12261e; --nook-ink: #f6f1e4;
  --nook-accent: #f0c14b; --nook-muted: #c2cbbf; --nook-line: #2a4a3c;
  --nook-card: #153328; --nook-hb: #08140f; --nook-hi: #f6f1e4;
  --nook-btn: #1a1404; --nook-surf: #10241c;
  --nook-preview: #8a3b12; --nook-preview-ink: #fff8ee;
}
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
article img, article svg, .nook-prose img, .nook-prose svg, .nook-prose figure img {
  max-height: 420px; width: 100%; height: auto; object-fit: cover; display: block;
}
body.nook-body {
  margin: 0; background:
    radial-gradient(800px 400px at 80% -10%, color-mix(in srgb, var(--nook-accent) 16%, transparent), transparent 60%),
    var(--nook-bg);
  color: var(--nook-ink); font: 16px/1.55 "IBM Plex Sans", "Naira Fallback", sans-serif;
}
h1,h2,h3 { font-family: "Syne", "IBM Plex Sans", sans-serif; margin: 0 0 .5rem; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; text-wrap: balance; }
a { color: inherit; }
.nook-ribbon {
  background: var(--nook-preview); color: var(--nook-preview-ink); text-align: center; padding: .55rem 1rem; font-size: .85rem;
}
.nook-halt { background: #5a1c0a; color: #fff; text-align: center; padding: .5rem; font-weight: 700; }
.nook-frame { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.nook-side {
  background: var(--nook-hb); color: var(--nook-hi); padding: 1.4rem 1.1rem 6rem;
  position: sticky; top: 0; height: 100vh; overflow: auto;
  border-right: 1px solid var(--nook-line);
}
.nook-logo {
  font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.35rem; text-decoration: none;
  display: block; margin-bottom: 1.6rem; color: var(--nook-accent);
}
.nook-menu { display: flex; flex-direction: column; gap: .35rem; }
.nook-menu a {
  text-decoration: none; padding: .45rem .7rem; border-radius: 999px; color: var(--nook-hi); opacity: .85;
}
.nook-menu a:hover, .nook-menu a[aria-current="page"] {
  background: color-mix(in srgb, var(--nook-accent) 18%, transparent); opacity: 1; color: var(--nook-accent);
}
.nook-pair { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; }
.nook-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700;
  padding: .9rem 1.3rem; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.nook-btn-primary {
  background: var(--nook-accent); color: var(--nook-btn);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--nook-accent) 45%, transparent);
}
.nook-btn-primary:hover { transform: translateY(-2px); }
.nook-btn-secondary, .nook-btn-ghost {
  background: transparent; border-color: color-mix(in srgb, var(--nook-accent) 50%, transparent); color: var(--nook-hi);
}
.nook-stage { min-width: 0; }
.nook-hero {
  min-height: min(88vh, 820px); display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden; padding: 4rem 1.25rem 3rem;
  background: var(--nook-bg2);
}
.nook-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--nook-bg) 20%, transparent), color-mix(in srgb, var(--nook-bg) 82%, transparent)),
    var(--nook-hero-image, none);
  background-size: cover; background-position: center; z-index: 0;
}
.nook-hero-inner { position: relative; z-index: 1; width: min(860px, 100%); }
.nook-hero.has-shot .nook-hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.nook-hero.has-shot .nook-hero-media img,
.nook-hero.has-shot .nook-hero-media svg {
  width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(1.1);
}
.nook-eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--nook-accent); margin: 0 0 .8rem; }
.nook-badges { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; list-style: none; padding: 0; margin: 1.1rem 0; }
.nook-badges li {
  background: color-mix(in srgb, var(--nook-card) 80%, transparent); border-radius: 999px;
  padding: .35rem .8rem; font-size: .8rem; border: 1px solid var(--nook-line);
}
.nook-badges .nook-slot { border-style: dashed; }
.nook-hero .nook-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.nook-wrap { width: min(1040px, calc(100% - 2.2rem)); margin-inline: auto; }
.nook-table-wrap {
  width: min(1040px, calc(100% - 2.2rem)); margin: -2.5rem auto 1.5rem; position: relative; z-index: 2;
  background: var(--nook-card); border-radius: 28px; padding: 1.1rem; border: 1px solid var(--nook-line);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  overflow: auto;
}
.nook-table { width: 100%; border-collapse: collapse; }
.nook-table th, .nook-table td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--nook-line); }
.nook-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--nook-muted); }
.nook-table td:nth-child(2) { font-family: "Syne", sans-serif; font-size: 1.05rem; color: var(--nook-accent); }
.nook-card {
  background: var(--nook-card); border-radius: 24px; padding: 1.3rem; border: 1px solid var(--nook-line);
  box-shadow: 0 16px 40px rgba(0,0,0,.22); margin: 1.2rem auto; width: min(1040px, calc(100% - 2.2rem));
}
.nook-amt {
  font-family: "Syne", sans-serif; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--nook-accent);
  line-height: 1; margin: .2rem 0 .8rem;
}
.nook-rail, .nook-pay {
  width: min(1040px, calc(100% - 2.2rem)); margin: 0 auto 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem;
}
.nook-chip {
  background: var(--nook-surf); border-radius: 999px; padding: .4rem .85rem; border: 1px solid var(--nook-line); font-size: .85rem;
}
.nook-shots {
  width: min(1040px, calc(100% - 2.2rem)); margin: 1.2rem auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem;
}
.nook-shots figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--nook-card); border: 1px solid var(--nook-line); }
.nook-shots img, .nook-shots svg { width: 100%; height: 170px; object-fit: cover; display: block; }
.nook-shots figcaption { padding: .45rem .7rem; font-size: .82rem; color: var(--nook-muted); }
.nook-steps {
  width: min(1040px, calc(100% - 2.2rem)); margin: 1.2rem auto; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem; list-style: none; padding: 0; counter-reset: st;
}
.nook-steps li {
  background: var(--nook-card); border-radius: 20px; padding: 1.1rem; border: 1px solid var(--nook-line);
  counter-increment: st;
}
.nook-steps li::before {
  content: counter(st); display: inline-flex; width: 2rem; height: 2rem; border-radius: 999px; align-items: center;
  justify-content: center; background: var(--nook-accent); color: var(--nook-btn); font-weight: 700; margin-bottom: .6rem;
}
.nook-acc { width: min(1040px, calc(100% - 2.2rem)); margin: 1.2rem auto; }
.nook-acc details {
  background: var(--nook-card); border-radius: 18px; margin: .5rem 0; border: 1px solid var(--nook-line); padding: .85rem 1.1rem;
}
.nook-acc summary { cursor: pointer; font-weight: 700; font-family: "Syne", sans-serif; }
.nook-prose { width: min(720px, calc(100% - 2.2rem)); margin: 2rem auto; }
.nook-end {
  margin-top: 2rem; padding: 2.2rem 1.2rem 6rem; text-align: center; background: var(--nook-hb); color: var(--nook-hi);
}
.nook-end a { color: var(--nook-accent); text-decoration: none; margin: 0 .4rem; }
.nook-gap { border: 1px dashed var(--nook-accent); border-radius: 16px; padding: .8rem; margin: .8rem auto; width: min(1040px, calc(100% - 2.2rem)); }
.nook-note { color: var(--nook-muted); }
.nook-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--nook-hb); padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .5rem; box-shadow: 0 -8px 24px rgba(0,0,0,.3);
}
.nook-sticky .nook-btn { flex: 1; }
@media (max-width: 900px) {
  .nook-frame { grid-template-columns: 1fr; }
  .nook-side {
    position: relative; height: auto; width: 100%; padding: .8rem 1rem 1rem;
    display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: center;
  }
  .nook-logo { margin: 0; }
  .nook-menu { flex-direction: row; overflow-x: auto; grid-column: 1 / -1; }
  .nook-pair { flex-direction: row; margin: 0; justify-content: flex-end; }
  .nook-steps { grid-template-columns: 1fr; }
  .nook-sticky { display: flex; }
  body.nook-body { padding-bottom: 4.5rem; }
  .nook-hero { min-height: 70vh; }
  .nook-table td, .nook-table th { display: block; border: 0; }
  .nook-table tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--nook-line); }
}


.nook-hero-inner{ z-index: 2; }
.nook-hero::after{
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,20,15,.35) 0%, rgba(8,20,15,.55) 40%, rgba(8,20,15,.82) 100%);
}
.nook-amt-hero{
  font-size: clamp(4rem, 11vw, 7.4rem) !important;
  line-height: .9;
  text-shadow: 0 0 32px color-mix(in srgb, var(--nook-accent) 55%, transparent);
  margin: .2rem 0 .4rem !important;
}
.nook-btn-primary{ box-shadow: 0 10px 28px color-mix(in srgb, var(--nook-accent) 45%, transparent), 0 0 28px color-mix(in srgb, var(--nook-accent) 40%, transparent); }
.nook-hero-media, .nook-hero-media-img{ position: absolute; inset: 0; overflow: hidden; }
.nook-hero-media img, .nook-hero-media-img, .nook-hero-media-img img{
  width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(.5) saturate(1.15);
  max-height: none !important;
}
.nook-hero-media figcaption{ display: none !important; }
.nook-brand, a.nook-brand, a.nook-logo{
  display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-bottom: 1.2rem;
}
.nook-logo-mark{
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 999px;
  background: var(--nook-accent); color: var(--nook-btn); font-weight: 800; font-size: .8rem;
  box-shadow: 0 0 16px color-mix(in srgb, var(--nook-accent) 50%, transparent);
}
.nook-logo-text{ font-weight: 700; color: var(--nook-accent); }
.nook-table td:nth-child(2), .nook-factval{
  font-size: 1.15rem; font-weight: 700; color: var(--nook-accent);
}
.nook-factico{ display: inline-flex; margin-right: .4rem; color: var(--nook-accent); vertical-align: middle; }
.nook-pay, .nook-rail{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: .6rem;
}
.nook-logocard{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: var(--nook-card); border: 1px solid var(--nook-line); border-radius: 18px;
  padding: .75rem .5rem; min-height: 96px; text-align: center; font-size: .75rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.nook-logocard:hover{ transform: translateY(-3px); border-color: var(--nook-accent); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.nook-logomark{ width: 36px; height: 36px; color: var(--nook-accent); display: grid; place-items: center; }
.nook-logomark svg{ width: 32px; height: 32px; }
.nook-steps, .nook-offersteps, section#steps ol.nook-steps, .nook-steps ol, .nook-offersteps{
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: .8rem; list-style: none; padding: 0;
}
.nook-stepnum{
  display: block; font-size: 2.5rem; line-height: 1; color: var(--nook-accent); font-weight: 800;
}
.nook-steps li, .nook-offersteps li{
  background: var(--nook-card); border-radius: 20px; padding: 1.1rem; border: 1px solid var(--nook-line);
}
@media (max-width: 900px){
  .nook-steps, .nook-offersteps, .nook-steps ol{ grid-template-columns: 1fr !important; }
}


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

.nook-tiles-wrap{
  width:min(1040px, calc(100% - 2.2rem)); margin:-2.5rem auto 1.5rem; position:relative; z-index:2;
  background:var(--nook-card); border-radius:28px; padding:1.1rem; border:1px solid var(--nook-line);
  box-shadow:0 24px 50px rgba(0,0,0,.28);
}
.nook-tiles{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.8rem;
}
.nook-tile{
  display:flex; flex-direction:column; gap:.25rem;
  background:var(--nook-surf, var(--nook-card)); border:1px solid var(--nook-line); border-radius:18px;
  padding:1rem 1.05rem 1rem 1.1rem; border-left:5px solid var(--nook-accent);
  min-height:7.2rem;
}
.nook-tileval{
  font-family:inherit; font-size:1.15rem; font-weight:750; color:var(--nook-accent); line-height:1.25; order:-1;
}
.nook-tile strong{ font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--nook-muted); font-weight:650; }
.nook-hint{ margin:0; color:var(--nook-muted); font-size:.82rem; }
.nook-morefacts{ margin-top:.9rem; }
.nook-morefacts summary{ cursor:pointer; color:var(--nook-accent); font-size:.9rem; }
.nook-morefacts dl{ display:grid; gap:.7rem; margin:.8rem 0 0; }
.nook-morefacts dt{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--nook-muted); }
.nook-morefacts dd{ margin:.15rem 0 0; font-weight:650; }
@media (max-width:700px){ .nook-tiles{ grid-template-columns:1fr; } }


/* --- v4 layout --- */
html, body.nook-body { overflow-x: hidden; max-width: 100%; }
.nook-cta-wrap {
  position: relative; display: flex; flex: 1 1 0; min-width: 0; align-items: stretch;
}
.nook-cta-wrap > a {
  flex: 1 1 auto; width: 100%; min-height: 3rem; box-sizing: border-box;
  white-space: nowrap; text-align: center;
}
.nook-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(--nook-card) 88%, var(--nook-accent));
  color: var(--nook-muted, var(--nook-hi)); border: 1px solid var(--nook-line);
  font-weight: 650;
}
.nook-offermeta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem;
  margin: 0 0 1rem; align-items: stretch;
}
.nook-minicard {
  background: color-mix(in srgb, var(--nook-card) 80%, transparent);
  border: 1px solid var(--nook-line); border-radius: 14px;
  padding: .7rem .8rem; min-height: 4.4rem;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
}
.nook-minicard dt {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--nook-muted); margin: 0;
}
.nook-minicard dd {
  margin: 0; font-weight: 750; font-size: 1.05rem; line-height: 1.2;
}
@media (max-width: 700px) {
  .nook-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 --- */
.nook-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;
}
.nook-minicard dd {
  font-size: 1.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
}
.nook-minicaption {
  margin: .2rem 0 0; font-size: .72rem; line-height: 1.25; color: var(--nook-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,
.nook-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. */
.nook-pay, .nook-rail, .nook-gallery, .nook-steps, .nook-factblock,
main > .nook-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;
}
.nook-gallery img, .nook-gallery svg {
  object-fit: cover;
  object-position: top center;
}
.nook-lead, .nook-hero-copy .nook-lead, .nook-hero-copy p.nook-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;
}
.nook-logomark-on-light {
  background: #f3efe6 !important;
  color: #111 !important;
}
.nook-logomark-on-dark {
  background: #12151c !important;
  color: #f3efe6 !important;
}
.nook-logomark img {
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  display: block;
}
.nook-logomark-raster {
  background-color: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.nook-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nook-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 10rem;
  padding: .35rem 0;
  background: var(--nook-card, #1b1e26);
  border: 1px solid var(--nook-line, rgba(255,255,255,.12));
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.nook-drop-menu a {
  display: block;
  padding: .4rem .9rem;
  white-space: nowrap;
}
.nook-drop:hover .nook-drop-menu,
.nook-drop:focus-within .nook-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(--nook-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(--nook-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(--nook-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;
}


/* v47: solid full-screen nook drawer (betzillo) */
@media (max-width: 767px) {
  html:has(.nook-toggle:checked), body:has(.nook-toggle:checked) { overflow: hidden; }
  .nook-toggle:checked ~ .nook-scrim { display: none !important; }
  .nook-menu {
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 100% !important; max-width: none !important;
    height: 100vh !important; height: 100dvh !important;
    z-index: 1000 !important;
    opacity: 1 !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    background: var(--nook-hi, #f6f1e4) !important;
    background-image: none !important;
    color: var(--nook-hb, #08140f) !important;
    border: 0 !important;
    border-left: 6px solid var(--nook-accent, #f0c14b) !important;
    box-shadow: none !important;
    padding: 1rem 1.25rem 2rem !important;
    gap: .3rem !important;
  }
  .nook-menu a {
    color: var(--nook-hb, #08140f) !important;
    background: transparent !important;
    font-weight: 600; font-size: 1.05rem;
    border-radius: 12px;
    padding: .7rem .9rem !important;
    border: 1px solid rgba(8, 20, 15, .12) !important;
    text-shadow: none !important; opacity: 1 !important;
  }
  .nook-menu a[aria-current="page"] {
    background: var(--nook-hb, #08140f) !important;
    color: var(--nook-hi, #f6f1e4) !important;
    border-color: var(--nook-hb, #08140f) !important;
  }
  .nook-close {
    color: var(--nook-hb, #08140f) !important;
    border: 1px solid var(--nook-hb, #08140f) !important;
    background: transparent !important;
    opacity: 1 !important;
  }
}

/* === betzillo-overrides === */
/* Site-only overrides for betzillo. Appended after the shared stylesheet. */

/* 1. Hero well aligns with .nook-tiles-wrap; single-column, not split.
      Hero block itself never exceeds the viewport. */
.nook-hero,
.nook-hero.has-shot {
  width: min(1040px, calc(100% - 2.2rem));
  margin-inline: auto;
  box-sizing: border-box;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  max-height: 100vh !important;
  min-height: 0;
}

/* 2. Hero screenshot: cover + object-position, never bigger than the hero. */
.nook-hero .nook-hero-media,
.nook-hero.has-shot .nook-hero-media {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100% !important;
  z-index: 0;
  pointer-events: none;
}
.nook-hero img,
.nook-hero img.nook-hero-media-img,
.nook-hero .nook-hero-media img,
.nook-hero img[data-role="hero"],
img.nook-hero-media-img[data-role="hero"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
}

/* 3. Body screenshot FIGURES (item з measures the figure, including caption)
      must themselves be ≤ 80vh. The image shrinks to leave room for figcaption. */
figure.ink-shot,
figure.nook-shot-desktop,
figure.ink-shot-mobile,
.nook-shots figure,
.nook-prose figure,
article figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  max-height: 80vh !important;
  overflow: hidden;
  margin-inline: auto;
}
figure.ink-shot img,
figure.nook-shot-desktop img,
figure.ink-shot-mobile img,
.nook-shots figure img,
.nook-prose figure img,
article figure img,
img.ink-shot-img,
img[data-role="shot"],
img.nook-shot-desktop-img,
img.ink-shot-mobile-img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: calc(80vh - 3.5rem) !important;
  object-fit: contain !important;
  object-position: top center !important;
  display: block;
  margin-inline: auto;
}
figure.ink-shot-mobile,
figure.ink-shot-mobile.nook-shot-mobile,
.ink-shot-mobile {
  max-width: 360px;
  width: 100%;
}
figure.ink-shot-mobile img,
img.ink-shot-mobile-img {
  max-width: 360px;
}
/* Preview (very tall) still clipped to 80vh including caption. */
figure.ink-shot-preview {
  max-height: 80vh !important;
  overflow: hidden;
}
figure.ink-shot-preview img,
figure.ink-shot-preview .ink-shot-img {
  max-height: calc(80vh - 3.5rem) !important;
}

/* 4. Closed burger drawer is off-screen AND visibility:hidden so final-check
      (a) treats it as closed (it only looks at display/visibility/opacity/box). */
@media (max-width: 767px) {
  .nook-menu {
    visibility: hidden;
  }
  .nook-toggle:checked ~ .nook-menu {
    visibility: visible;
  }
}

/* 5. Item з measures .ink-shot-link or the img itself (not the figure).
      Beat shared "preview img { max-height: none }" so the box is ≤ 80vh.
      Very tall shots become narrower; the link still opens the full file. */
a.ink-shot-link,
.ink-shot-link {
  display: block;
  max-height: 80vh !important;
  overflow: hidden;
  max-width: 100%;
  line-height: 0;
}
figure.ink-shot-preview.ink-shot-mobile a.ink-shot-link,
figure.ink-shot-preview a.ink-shot-link,
figure.ink-shot-preview .ink-shot-link {
  max-height: 80vh !important;
  overflow: hidden;
}
figure.ink-shot-preview.ink-shot-mobile img,
figure.ink-shot-preview img.ink-shot-mobile-img,
figure.ink-shot-preview .ink-shot-img,
figure.ink-shot-preview img,
img.ink-shot-img.ink-shot-mobile-img,
img.ink-shot-img[data-role="shot"],
img[data-role="shot"] {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 80vh !important;
  object-fit: contain !important;
  object-position: top center !important;
}


/* Mobile: .nook-tiles-wrap used to pull up -40px and covered the second hero CTA. */
@media (max-width: 767px) {
  .nook-hero + .nook-tiles-wrap,
  .nook-hero.has-shot + .nook-tiles-wrap {
    margin-top: 0.75rem;
  }
}
