/* =============================================================================
 * theme.css — Lenormand Cards — bordeaux, antique gold, cream paper
 * Deep bordeaux base, antique-gold accents, paper ink, soft glow.
 * Mobile-first, single-column, fast. Self-contained (system + 2 webfonts).
 * ===========================================================================*/

:root {
  --bg-0:        #120509;   /* near-black bordeaux */
  --bg-1:        #2a0a14;   /* deep bordeaux */
  --bg-2:        #3d1020;   /* raised panel */
  --rose:        #d9a48a;   /* warm rose-peach accent */
  --rose-strong: #c47a5a;
  --gold:        #c99f4b;   /* antique gold */
  --gold-strong: #e7b53c;
  --ink:         #f4ecd8;   /* paper */
  --ink-soft:    #d8c9b4;   /* secondary text */
  --ink-faint:   #a8957e;
  --line:        rgba(201, 159, 75, 0.22);
  --glow-rose:   rgba(196, 122, 90, 0.40);
  --glow-gold:   rgba(231, 181, 60, 0.35);
  --radius:      18px;
  --maxw:        560px;     /* mobile-first reading column */
  --font-head:   "Cormorant Garamond", "Cinzel", Georgia, serif;
  --font-body:   "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(196,122,90,0.16), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(201,159,75,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* starfield overlay (cheap, GPU-friendly) */
.stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(244,217,160,0.6), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 12% 70%, rgba(231,181,60,0.5), transparent);
  background-repeat: repeat;
  opacity: 0.5;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.6; } }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 720px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: 0.3px; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
.serif { font-family: var(--font-head); }

/* gradient/glow text accents */
.glow-text {
  background: linear-gradient(90deg, var(--gold-strong), var(--rose), var(--gold-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 26px var(--glow-gold);
}
.rose { color: var(--rose); }
.gold { color: var(--gold); }
.soft { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }

/* --- panels / cards --- */
.card {
  background: linear-gradient(180deg, rgba(61,16,32,0.85), rgba(42,10,20,0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 28px 0; border: 0; }

/* Raster product mockups shot on near-black: mix-blend-mode:screen drops the
   dark background into the dark page (no transparency editing needed). If a
   faint box ever shows, switch 'screen' to 'lighten'. */
.mockup-img { display:block; width:100%; max-width:560px; height:auto; margin:0 auto; mix-blend-mode:screen; }

/* --- form --- */
.field { margin: 0 0 18px; }
.field label {
  display: block; font-family: var(--font-head); font-size: 0.95rem;
  color: var(--gold); margin-bottom: 7px; letter-spacing: 0.4px;
}
.field .hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 4px; }
.input, input[type="text"], input[type="email"], input[type="date"], input[type="number"] {
  width: 100%; padding: 14px 16px; font-size: 16px; color: var(--ink);
  background: rgba(18,5,9,0.7); border: 1px solid var(--line);
  border-radius: 12px; font-family: var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.input:focus, input:focus {
  outline: none; border-color: var(--rose-strong);
  box-shadow: 0 0 0 3px rgba(217,124,149,0.18), 0 0 22px var(--glow-rose);
}
input::placeholder { color: var(--ink-faint); }
/* dark date-picker icon */
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.85) sepia(0.4) hue-rotate(300deg); cursor: pointer; }

.partner-row { display: grid; gap: 14px; }
@media (min-width: 480px) { .partner-row { grid-template-columns: 1fr 1fr; } }

.person-tag {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--rose); margin-bottom: 6px;
}
.person-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose-strong); box-shadow: 0 0 10px var(--glow-rose);
  /* pin the dot to the FIRST line so it stays aligned when the tag text wraps:
     line box = 1.6em, so first-line center = 0.8em; dot is 8px tall → top = 0.8em - 4px.
     (align-items:center would center it against the whole multi-line block.) */
  flex: 0 0 auto; align-self: flex-start; margin-top: calc(0.8em - 4px); }
.person-tag.you::before { background: var(--gold); box-shadow: 0 0 10px var(--glow-gold); }

.err { color: #ff9db1; font-size: 0.82rem; margin-top: 6px; display: none; }

/* --- CTA button --- */
.cta {
  display: block; width: 100%; cursor: pointer; border: 0;
  padding: 17px 22px; border-radius: 14px;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; letter-spacing: 0.5px;
  color: #2a0f1c;
  background: linear-gradient(135deg, var(--gold-strong), var(--rose), var(--gold));
  box-shadow: 0 10px 30px var(--glow-rose), 0 0 0 1px rgba(244,217,160,0.4) inset;
  transition: transform .12s ease, box-shadow .2s ease;
  text-align: center; text-decoration: none;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 44px var(--glow-rose); }
.cta:active { transform: translateY(0); }
.cta-sub { text-align: center; font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; }

/* heart pulse on CTA */
.cta .heart { display: inline-block; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%,100%{transform:scale(1);} 15%{transform:scale(1.18);} 30%{transform:scale(1);} 45%{transform:scale(1.12);} }

/* --- trust badges --- */
.trust { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 18px; color: var(--ink-faint); font-size: 0.78rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

/* --- harmony hero (reading page) --- */
.harmony-hero { text-align: center; padding: 10px 0 6px; }
.harmony-ring {
  --size: 210px; width: var(--size); height: var(--size); margin: 6px auto 10px; position: relative;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--bg-1) 78%, transparent 79% 100%),
    conic-gradient(var(--gold-strong) var(--pct, 0%), rgba(255,255,255,0.07) 0);
  display: grid; place-items: center;
  box-shadow: 0 0 50px var(--glow-gold);
}
.harmony-ring .num { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; }
.harmony-ring .pct-label { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; }
.harmony-verdict { font-family: var(--font-head); font-size: 1.35rem; }

/* mini matrix grid of paired numbers */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.score-cell { background: rgba(18,5,9,0.55); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.score-cell .v { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-strong); }
.score-cell .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-faint); margin-top: 4px; }

/* --- legacy octagram diagram rules (unused) --- */
.matrix-wrap { width: 100%; margin: 4px auto 0; }
.matrix-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.mx-frame { fill: none; stroke: rgba(233,201,140,0.22); stroke-width: 1.2; }
.mx-axis  { fill: none; stroke: rgba(231,166,184,0.22); stroke-width: 1; }
.mx-heart { fill: var(--rose-strong); opacity: 0.28; }

.mx-pt circle { fill: #120509; stroke-width: 2; }
.mx-pt text {
  font-family: var(--font-head); font-weight: 600; text-anchor: middle;
  dominant-baseline: central; fill: var(--gold-strong);
  opacity: 0; transform: scale(0.4); transform-origin: center; transform-box: fill-box;
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,1.4,.4,1);
}
.matrix-wrap.lit .mx-pt text { opacity: 1; transform: scale(1); }

.mx-big circle { stroke: var(--gold); }
.mx-big text   { font-size: 30px; }
.mx-med circle { stroke: var(--rose); }
.mx-med text   { font-size: 25px; fill: var(--rose); }
.mx-sm  circle { stroke: rgba(233,201,140,0.55); }
.mx-sm  text   { font-size: 21px; }
.mx-center circle {
  fill: #3d1020; stroke: var(--gold-strong); stroke-width: 3;
  filter: drop-shadow(0 0 10px var(--glow-gold));
}
.mx-center text { font-size: 32px; fill: var(--gold-strong); }

.mx-legend { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.mx-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--ink-faint); }
.mx-legend i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid; display: inline-block; }

/* --- CSS 3D product mockups (no image files needed) --- */
.mk { perspective: 1100px; display: flex; justify-content: center; padding: 18px 0; }
.mk-cover {
  position: relative; width: var(--w, 220px); aspect-ratio: 3 / 4;
  border-radius: 3px 9px 9px 3px;
  background:
    radial-gradient(120% 75% at 72% 8%, rgba(244,217,160,0.28), transparent 60%),
    radial-gradient(90% 60% at 30% 100%, rgba(217,124,149,0.22), transparent 60%),
    linear-gradient(150deg, #3d1020 0%, #120509 72%);
  border: 1px solid rgba(233,201,140,0.38);
  box-shadow: 0 34px 64px rgba(0,0,0,0.55), 0 0 54px var(--glow-rose);
  transform: rotateY(-23deg) rotateX(3deg);
  transform-style: preserve-3d;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px 18px; overflow: hidden;
}
/* spine shadow on the left */
.mk-cover::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px;
  background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(255,255,255,0.05));
  border-right: 1px solid rgba(0,0,0,0.45);
}
/* page edges on the right */
.mk-cover::after {
  content: ""; position: absolute; right: -5px; top: 4%; height: 92%; width: 6px;
  background: repeating-linear-gradient(180deg,#e7dcc9,#e7dcc9 1px,#b9ad9b 2px,#b9ad9b 3px);
  border-radius: 0 3px 3px 0; transform: rotateY(34deg); transform-origin: left center;
}
.mk-cover .mk-octa {
  position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, transparent 30%, rgba(233,201,140,0.5) 31%, transparent 33%),
    conic-gradient(from 0deg at 50% 46%, transparent 0 10%, rgba(231,166,184,0.4) 11% 12%, transparent 13% 35%,
       rgba(231,166,184,0.4) 36% 37%, transparent 38% 60%, rgba(231,166,184,0.4) 61% 62%, transparent 63% 85%,
       rgba(231,166,184,0.4) 86% 87%, transparent 88%);
}
.mk-cover .mk-kicker { font-family: var(--font-head); letter-spacing: 2px; text-transform: uppercase;
  color: var(--rose); font-size: 0.58rem; position: relative; }
.mk-cover .mk-glyph { font-size: 2.5rem; margin: 8px 0 6px; line-height: 1;
  filter: drop-shadow(0 0 12px var(--glow-gold)); position: relative; }
.mk-cover .mk-title { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem;
  line-height: 1.18; position: relative; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.mk-cover .mk-foot { font-size: 0.52rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 12px; position: relative; }

/* fanned bundle of covers (product + bonuses together) */
.mk-bundle { perspective: 1300px; display: flex; justify-content: center; align-items: center;
  padding: 30px 0 24px; }
.mk-bundle .mk { padding: 0; perspective: none; }
.mk-bundle .mk-cover { width: 150px; margin: 0 -26px; box-shadow: 0 26px 46px rgba(0,0,0,0.55), 0 0 36px var(--glow-rose); }
.mk-bundle .mk:nth-child(1) .mk-cover { transform: rotateY(-24deg) translateY(16px) scale(0.84); }
.mk-bundle .mk:nth-child(2) .mk-cover { transform: rotateY(-18deg) translateY(4px) scale(0.95); z-index: 2; }
.mk-bundle .mk:nth-child(3) .mk-cover { transform: rotateY(-12deg) scale(1.08); z-index: 4; }
.mk-bundle .mk:nth-child(4) .mk-cover { transform: rotateY(-4deg) translateY(12px) scale(0.9); z-index: 3; }
.mk-illus-note { text-align: center; font-size: 0.7rem; color: var(--ink-faint); margin-top: 4px; }

@media (max-width: 480px) {
  .mk-bundle .mk-cover { width: 108px; margin: 0 -22px; }
}

/* --- reading prose --- */
.reading p { color: var(--ink-soft); }
.reading h2 { color: var(--ink); margin-top: 30px; }
.locked {
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.locked .blur { filter: blur(6px); opacity: 0.5; user-select: none; pointer-events: none; }
.locked .lock-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(18,5,9,0.95));
}

/* --- value stack / pricing --- */
.stack-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stack-item .tick { color: var(--gold-strong); flex: 0 0 auto; }
.stack-item .val { margin-left: auto; color: var(--ink-faint); white-space: nowrap; }
.price-row { display: flex; align-items: baseline; gap: 12px; justify-content: center; margin: 14px 0; }
.price-was { color: var(--ink-faint); text-decoration: line-through; }
.price-now { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-strong); }

/* --- guarantee badge --- */
.guarantee { text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; margin-top: 22px; }

/* --- buffer / loader screen --- */
.buffer-screen {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(217,124,149,0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.buffer-inner { text-align: center; max-width: 460px; padding: 0 24px; }
.buffer-orbit { width: 130px; height: 130px; margin: 0 auto 26px; position: relative; }
.buffer-orbit .core {
  position: absolute; inset: 36%; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-strong), var(--rose-strong));
  box-shadow: 0 0 40px var(--glow-rose); animation: beat 1.6s ease-in-out infinite;
}
.buffer-orbit .ring1, .buffer-orbit .ring2 {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line);
  border-top-color: var(--gold-strong); animation: spin 2.4s linear infinite;
}
.buffer-orbit .ring2 { inset: 16%; border-top-color: var(--rose); animation-duration: 1.6s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.buffer-msg { font-family: var(--font-head); font-size: 1.3rem; min-height: 1.6em; transition: opacity .4s; }
.buffer-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.08); margin-top: 22px; overflow: hidden; }
.buffer-bar > i { display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-strong), var(--rose)); transition: width .5s ease; }

/* utility */
.display-none { display: none !important; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.tiny { font-size: 0.76rem; } .small { font-size: 0.86rem; }
footer { text-align: center; color: var(--ink-faint); font-size: 0.76rem; padding: 40px 20px 60px; position: relative; z-index: 1; }
footer a { color: var(--ink-soft); text-decoration: none; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =============================================================================
 * OTO interactive components (pages/otos/oto1.php + src/oto-money.js).
 * Same palette as the rest of the funnel: bordeaux panels, antique gold, rose.
 * ===========================================================================*/

/* status strip: her mini Tableau turning, the reading in progress */
.oto-strip { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius);
  background: radial-gradient(120% 140% at 12% 20%, rgba(74,16,32,.95) 0%, rgba(42,10,20,.95) 60%, rgba(18,5,9,.95) 100%);
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.oto-strip .oto-mini { flex: 0 0 126px; }
.oto-strip b { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.25; color: var(--ink); }
.oto-progress { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); margin: 10px 0 6px; overflow: hidden; }
.oto-progress i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--gold-strong), var(--rose)); transition: width 2.4s cubic-bezier(.2,.7,.2,1); }
.oto-note { display: block; color: var(--ink-faint); font-size: .8rem; letter-spacing: .02em; }
.oto-safe { margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 400px) { .oto-strip .oto-mini { flex-basis: 104px; } .oto-strip b { font-size: 1rem; } }

/* mini grids (strip + artifact): tiny cells, no titles */
.oto-mini.lc-grid { gap: 2px; }
.oto-mini .lc-cell { border-radius: 3px; }
.oto-mini .lc-cell .lc-face { padding: 2% 3%; font-size: 4px; border-radius: 2px; }
.oto-mini .lc-cell .lc-face .lc-name, .oto-mini .lc-cell .lc-face .lc-num { display: none; }
.oto-mini .lc-cell.sealed { filter: blur(.8px) brightness(.55); }
/* the sweep: a band of light crossing the sealed cells, left to right */
.oto-mini.sweep { position: relative; overflow: hidden; }
.oto-mini.sweep::after { content: ""; position: absolute; top: -10%; bottom: -10%; width: 28%; left: -30%;
  background: linear-gradient(90deg, transparent, rgba(231,181,60,.28), transparent); animation: otoSweep 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes otoSweep { 0% { left: -30%; } 60% { left: 110%; } 100% { left: 110%; } }

/* Madame keeps talking */
.oto-bubbles { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.oto-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 0 14px var(--glow-gold); }
.oto-av-fallback { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); color: var(--gold); background: var(--bg-2); }
.oto-said { flex: 1; background: linear-gradient(180deg, rgba(61,16,32,.85), rgba(42,10,20,.85)); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 16px 18px; }
.oto-said p { margin: 0 0 12px; color: var(--ink-soft); }
.oto-said p:first-child { color: var(--ink); }
.oto-said p:last-child { margin: 0; }

/* the eight money cards */
.money-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.money-card { position: relative; text-align: center; cursor: pointer; border-radius: 12px; padding: 8px 4px 10px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.money-card:hover, .money-card:focus-visible { border-color: var(--line); background: rgba(255,255,255,.03); outline: none; }
.money-card .lc-card { width: 100%; max-width: 72px; margin: 0 auto; }
.money-card.turned .lc-card .lc-face, .money-card.turned .lc-card .lc-img { box-shadow: 0 0 0 2px var(--gold-strong), 0 0 18px rgba(231,181,60,.55); }
.money-card.takes .lc-card { filter: saturate(.85); }
.mc-name { margin-top: 8px; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.mc-chip { font-size: .7rem; color: var(--ink-faint); margin-top: 2px; min-height: 1.1em; }
.money-card.turned .mc-chip { color: var(--gold); }
.mc-line { display: none; margin-top: 8px; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); text-align: left; }
.money-card.open { grid-column: 1 / -1; border-color: var(--gold); background: rgba(201,159,75,.06); display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; text-align: left; }
.money-card.open .lc-card { margin: 0; }
.money-card.open .mc-name, .money-card.open .mc-chip { grid-column: 2; margin-top: 0; }
.money-card.open .mc-line { display: block; grid-column: 2; }
.money-key { display: flex; gap: 14px; justify-content: center; margin-top: 10px; font-size: .74rem; color: var(--ink-faint); }
.money-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.money-key .k-bring i { background: var(--gold-strong); }
.money-key .k-take i { background: var(--rose-strong); }

/* her full Tableau, money cells ringed and tappable */
.lc-grid.tappable .lc-cell.money { cursor: pointer; }
.lc-grid .lc-cell.money::after { content: ""; position: absolute; inset: -2px; border-radius: 7px; border: 2px solid var(--gold-strong); box-shadow: 0 0 10px rgba(231,181,60,.5); pointer-events: none; animation: otoRing 3.2s ease-in-out infinite; }
.lc-grid .lc-cell.money.lit::after { border-color: #fff; box-shadow: 0 0 16px rgba(255,255,255,.7); animation: none; }
.lc-grid .lc-cell.money::before { content: var(--oto-mark, "$"); position: absolute; right: -4px; top: -6px; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-strong); color: #2a0f1c; font: 700 9px/14px var(--font-body); text-align: center; pointer-events: none; }
.oto-mini .lc-cell.money::before { width: 9px; height: 9px; font-size: 6px; line-height: 9px; right: -2px; top: -3px; }
.oto-mini .lc-cell.money::after { inset: -1px; border-width: 1px; border-radius: 4px; }
@keyframes otoRing { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.grid-cap { min-height: 2.6em; margin: 12px 0 0; font-size: .9rem; color: var(--ink-soft); }
.grid-cap strong { color: var(--gold); }
.grid-key { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; font-size: .74rem; color: var(--ink-faint); }

/* what is standing in the cards she did not turn */
.unread { display: grid; gap: 9px; margin-top: 18px; }
.unread-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.unread-row .u-n { flex: 0 0 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; color: var(--gold); border: 1px solid var(--line); }
.unread-row .u-x b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; }
.unread-row .u-x span { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }

/* the house chain */
.chain { margin: 20px 0 0; border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; }
.chain > div { margin: 0 0 14px; }
.chain > div:last-child { margin: 0; }
.chain .lab { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.chain .txt { font-size: 1.02rem; color: var(--ink); margin-top: 2px; }
.pull { font-family: var(--font-head); font-size: clamp(1.25rem, 4.4vw, 1.5rem); line-height: 1.38; color: var(--ink); margin: 20px 0 0; }

/* what arrives */
.inc { margin: 22px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(18,5,9,.5); }
.inc-h { background: linear-gradient(135deg, rgba(201,159,75,.25), rgba(196,122,90,.18)); color: var(--ink); padding: 14px 20px; font-family: var(--font-head); font-size: 1.08rem; }
.inc-i { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.inc-i:last-child { border-bottom: 0; }
.inc-i h3 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.inc-i p { margin: 5px 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.spec { margin-top: 16px; font-style: italic; color: var(--ink-soft); }

/* the offer */
.pkg { text-align: left; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,5,9,.5); margin: 0 0 16px; overflow: hidden; }
.pkg-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.03); font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.pkg-p { flex: 0 0 auto; font-weight: 600; white-space: nowrap; color: var(--ink-faint); text-decoration: line-through; }
.pkg-l { list-style: none; margin: 0; padding: 4px 18px 8px; }
.pkg-l li { position: relative; padding: 11px 0 11px 24px; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.pkg-l li:last-child { border-bottom: 0; }
.pkg-l li::before { content: "\2726"; position: absolute; left: 0; top: 11px; color: var(--gold); font-size: .85rem; }
.pkg-l li b { color: var(--ink); }
.stack-note { margin: 14px auto 0; font-size: .95rem; color: var(--ink-soft); text-align: center; }
.now-price { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--gold-strong); text-align: center; margin: 6px 0 0; }
.now-price sup { font-size: 1.4rem; vertical-align: super; }
.once { text-align: center; font-size: .86rem; color: var(--ink-soft); margin-top: 8px; }
.guar { margin: 16px 0 0; display: flex; gap: 10px; text-align: left; font-size: .92rem; color: var(--ink-soft); }
.guar .s { flex: 0 0 20px; color: #7fd49a; }
.decline { display: block; width: 100%; margin: 18px 0 0; background: none; border: 0; color: var(--ink-faint); font-size: .9rem; text-align: center; text-decoration: none; cursor: pointer; }
.decline:hover { color: var(--ink-soft); }
.cta small { display: block; font-weight: 500; font-size: .8rem; opacity: .85; margin-top: 3px; font-family: var(--font-body); letter-spacing: 0; }

/* urgency */
.urg { margin-top: 26px; }
.urg .uh { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.urg p { color: var(--ink-soft); }
.urg p.l { color: var(--ink); }

/* the artifact */
.art { background: linear-gradient(180deg, rgba(61,16,32,.9), rgba(26,6,12,.95)); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; margin: 22px 0 0; text-align: center; }
.art h2 { margin-top: 0; }
.art p { color: var(--ink-soft); font-size: .95rem; max-width: 32em; margin: 12px auto 0; }
.art-frame { margin: 18px auto 0; max-width: 250px; background: var(--ink); border-radius: 5px; padding: 12px 12px 8px; box-shadow: 0 22px 44px -20px #000; }
.art-frame .cap { margin-top: 7px; font-family: var(--font-head); font-size: .78rem; color: #2a0f1c; }
.art-frame .cap span { display: block; font-family: var(--font-body); font-size: .62rem; color: #6b5a4a; margin-top: 2px; }

/* the fence */
.road-h { margin: 26px 0 0; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.road { margin: 10px 0 0; padding-left: 16px; border-left: 2px solid var(--line); color: var(--ink-soft); }
.road-q { margin: 16px 0 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.36; color: var(--gold); }
.ps p { color: var(--ink-soft); font-size: .95rem; }
.ps b { color: var(--ink); }

/* Q&A accordion */
.qa { margin: 18px 0 0; }
.qa .q { border-bottom: 1px solid var(--line); }
.qa .q:last-child { border-bottom: 0; }
.qa .q h3 { margin: 0; padding: 16px 30px 16px 0; position: relative; cursor: pointer; font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.qa .q h3::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--gold); font-style: normal; font-size: 1.3rem; transition: transform .2s; }
.qa .q.open h3::after { content: "\2212"; }
.qa .q .a { display: none; padding: 0 0 16px; }
.qa .q.open .a { display: block; }
.qa .q .a p { margin: 8px 0 0; color: var(--ink-soft); font-size: .95rem; }
.qa .q .a p.qcta { color: var(--gold); font-weight: 600; }

/* fade-in on scroll */
html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* lead-dependent blocks: hidden until the buyer's own grid is in the browser */
.needs-lead { display: none; }
html.has-lead .needs-lead { display: block; }
html.has-lead .needs-lead.money-row { display: grid; }
html.has-lead .needs-lead.unread, html.has-lead .needs-lead.lc-grid { display: grid; }
html.has-lead .needs-lead.money-key { display: flex; }
html.has-lead .no-lead-only { display: none; }

@media (prefers-reduced-motion: reduce) {
  .oto-mini.sweep::after, .lc-grid .lc-cell.money::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* OTO 2/3 additions: ten-card rows, the region map, cells lit by a region tap */
.money-row.cols5 { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.money-row.cols5 .money-card { padding: 6px 2px 8px; }
.money-row.cols5 .money-card .lc-card { max-width: 58px; }
.money-row.cols5 .mc-name { font-size: .85rem; }
.money-row.cols5 .mc-chip { font-size: .64rem; }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.region-chip { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink-soft); border-radius: 999px; padding: 7px 12px; font-size: .8rem; font-family: var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.region-chip:hover, .region-chip:focus-visible { border-color: var(--gold); color: var(--ink); outline: none; }
.region-chip.on { border-color: var(--gold-strong); color: #2a0f1c; background: linear-gradient(135deg, var(--gold-strong), var(--rose)); }
.lc-grid .lc-cell.region { filter: none; z-index: 1; }
.lc-grid .lc-cell.region .lc-face, .lc-grid .lc-cell.region .lc-img { box-shadow: 0 0 0 2px var(--rose), 0 0 14px rgba(217,164,138,.6); }
.lc-grid .lc-cell.region.sealed .lc-face { filter: brightness(.9); }
