/* =====================================================================
   Splik showcase: Features bento + Pricing compare / good-to-know / CTA
   Uses the tokens from style.css (--lime, --purple, --pink, --grad ...)
   Animations start only when a block is on screen (.live, set by
   js/showcase.js) and are switched off for prefers-reduced-motion.
   ===================================================================== */

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative;
  background: linear-gradient(180deg, #111113 0%, #0A0A0C 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px 32px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 440px;
  isolation: isolate;
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.tile::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(139, 63, 224, .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: #34343a; }
.tile-copy { position: relative; z-index: 2; max-width: 520px; }
.tile-tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.tile-tag.lime { color: var(--lime); }
.tile-tag.purple { color: #A970F0; }
.tile-tag.pink { color: #F04DB8; }
.tile h3 {
  margin: 0 0 12px; color: var(--text); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.025em;
}
.tile p { margin: 0; color: var(--text-muted); font-size: .98rem; line-height: 1.55; }
.viz { position: relative; flex: 1; min-height: 210px; margin-top: 26px; display: flex; align-items: flex-end; justify-content: center; }

.t-scan     { grid-column: span 4; min-height: 520px; }
.t-stand    { grid-column: span 2; min-height: 520px; }
.t-split    { grid-column: span 3; }
.t-nudge    { grid-column: span 3; }
.t-simplify { grid-column: span 2; }
.t-private  { grid-column: span 2; }
.t-clean    { grid-column: span 2; }
.t-simplify h3, .t-private h3, .t-clean h3, .t-stand h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

/* ---------- 1. Scan ---------- */
.t-scan { background: radial-gradient(120% 90% at 100% 100%, rgba(198, 236, 0, .10), transparent 55%), linear-gradient(180deg, #111113, #0A0A0C); }
.viz-scan { align-items: flex-end; }
.receipt {
  position: relative; width: min(340px, 86%);
  background: #F4F3EE; color: #1b1b1b; border-radius: 14px 14px 0 0;
  padding: 22px 24px 30px; font: 500 .86rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  box-shadow: 0 -20px 80px rgba(198, 236, 0, .12);
  transform: translateY(18px) rotate(-2deg);
  overflow: hidden;
}
.r-head { text-align: center; font-weight: 800; letter-spacing: .2em; margin-bottom: 16px; color: #333; }
.r-row {
  display: flex; justify-content: space-between; padding: 8px 6px; margin: 0 -6px; border-radius: 6px;
  transition: background .3s, color .3s;
}
.r-total { border-top: 1px dashed #999; margin-top: 8px; padding-top: 12px; font-weight: 800; }
.beam {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--lime); box-shadow: 0 0 18px 6px rgba(198, 236, 0, .55);
  opacity: 0;
}
.scan-chip {
  position: absolute; right: 6%; top: 8%;
  background: rgba(20, 20, 22, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid #2c2c30; color: var(--text); font-size: .86rem; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(10px) scale(.95);
}
.scan-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.live .beam { animation: beam 4.8s var(--ease) infinite; }
.live .r-row { animation: rowHit 4.8s infinite; }
.live .r-row:nth-child(2) { animation-delay: .35s; }
.live .r-row:nth-child(3) { animation-delay: .7s; }
.live .r-row:nth-child(4) { animation-delay: 1.05s; }
.live .r-row:nth-child(5) { animation-delay: 1.4s; }
.live .r-row:nth-child(6) { animation-delay: 1.75s; }
.live .scan-chip { animation: chip 4.8s var(--ease) infinite; }
@keyframes beam { 0% { top: 8%; opacity: 0; } 6% { opacity: 1; } 46% { top: 96%; opacity: 1; } 52%, 100% { top: 96%; opacity: 0; } }
@keyframes rowHit { 0%, 4% { background: transparent; } 8%, 70% { background: rgba(198, 236, 0, .38); } 80%, 100% { background: transparent; } }
@keyframes chip { 0%, 44% { opacity: 0; transform: translateY(10px) scale(.95); } 52%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }

/* ---------- 2. Stand ---------- */
.t-stand { background: radial-gradient(120% 80% at 50% 110%, rgba(139, 63, 224, .22), transparent 60%), linear-gradient(180deg, #111113, #0A0A0C); }
.viz-stand { flex-direction: column; align-items: flex-start; justify-content: center; padding-bottom: 40px; }
.stand-label { color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.stand-num {
  font-size: clamp(3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 8px 0 22px; font-variant-numeric: tabular-nums;
}
.stand-bar { width: 100%; height: 10px; border-radius: 99px; background: #1d1d20; display: flex; overflow: hidden; gap: 3px; }
.stand-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.4s var(--ease); }
.stand-bar .owed { background: var(--lime); }
.stand-bar .owe { background: var(--pink); transition-delay: .25s; }
.live .stand-bar .owed { width: 73%; }
.live .stand-bar .owe { width: 27%; }
.stand-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .84rem; color: var(--text-muted); }
.stand-legend b, .p-row i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.lime-dot { background: var(--lime); } .pink-dot { background: var(--pink); } .purple-dot { background: var(--purple); }

/* ---------- 3. Split ---------- */
.viz-split { flex-direction: column; align-items: stretch; justify-content: center; padding-bottom: 34px; gap: 16px; }
.seg {
  position: relative; display: flex; background: #1a1a1d; border: 1px solid #26262a; border-radius: 999px; padding: 4px; align-self: flex-start;
  max-width: 100%;
}
.seg button {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--text-muted); background: none; border: 0;
  padding: 7px 13px; border-radius: 999px; cursor: default; transition: color .3s, background .4s var(--ease);
}
.seg button.on { background: var(--text); color: #050505; }
.split-total { color: var(--text); font-weight: 700; font-size: 1.02rem; }
.split-rows { display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: 34px 1fr 74px; align-items: center; gap: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #050505; }
.a1 { background: var(--lime); } .a2 { background: #A970F0; } .a3 { background: #F04DB8; } .a4 { background: #F5F5F7; }
.track { height: 12px; background: #1b1b1e; border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; width: 50%; border-radius: 99px; background: var(--grad); background-size: 300% 100%; transition: width .9s var(--ease); }
.amt { text-align: right; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; font-size: .95rem; }

/* ---------- 4. Nudges ---------- */
.t-nudge { background: radial-gradient(100% 80% at 0% 110%, rgba(214, 24, 154, .16), transparent 60%), linear-gradient(180deg, #111113, #0A0A0C); }
.viz-nudge { flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding-bottom: 34px; }
.notif {
  width: min(400px, 100%); display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  background: rgba(36, 36, 40, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; padding: 12px 14px;
  opacity: 0; transform: translateY(-16px) scale(.96);
}
.notif img, .notif .wa, .notif .ok { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.notif img { background: #000; object-fit: contain; padding: 4px; }
.notif .wa { background: #25D366; color: #06240f; }
.notif .ok { background: var(--lime); color: #050505; font-size: 1.1rem; }
.notif b { display: block; color: var(--text); font-size: .88rem; }
.notif span { display: block; color: #c4c4c8; font-size: .84rem; line-height: 1.35; }
.notif em { font-style: normal; color: var(--text-muted); font-size: .74rem; align-self: start; }
.notif em.pro { color: #050505; background: var(--grad); padding: 2px 8px; border-radius: 99px; font-weight: 800; letter-spacing: .04em; }
.live .notif { animation: notif 7s var(--ease) infinite; }
.live .n2 { animation-delay: .9s; }
.live .n3 { animation-delay: 1.8s; }
@keyframes notif { 0% { opacity: 0; transform: translateY(-16px) scale(.96); } 8%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------- 5. Simplify ---------- */
.viz-simplify { flex-direction: column; align-items: center; justify-content: center; padding-bottom: 30px; }
.hub-amt {
  font-size: 1.6rem; font-weight: 800; color: #050505; background: var(--lime);
  padding: 10px 20px; border-radius: 16px; letter-spacing: -.02em; box-shadow: 0 0 40px rgba(198, 236, 0, .25);
}
.spokes { width: 100%; max-width: 260px; height: 90px; overflow: visible; }
.spokes path { fill: none; stroke: #6d4ca6; stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; }
.leaves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 280px; }
.leaves span {
  text-align: center; font-size: .82rem; font-weight: 700; color: var(--text); background: #1c1c20; border: 1px solid #2b2b30;
  border-radius: 10px; padding: 7px 0; opacity: 0; transform: translateY(8px);
}
.live .spokes path { animation: draw 5s var(--ease) infinite; }
.live .leaves span { animation: leaf 5s var(--ease) infinite; }
.live .leaves span:nth-child(2) { animation-delay: .1s; } .live .leaves span:nth-child(3) { animation-delay: .2s; } .live .leaves span:nth-child(4) { animation-delay: .3s; }
@keyframes draw { 0% { stroke-dashoffset: 160; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes leaf { 0%, 24% { opacity: 0; transform: translateY(8px); } 36%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 6. Private ---------- */
.viz-private { flex-direction: column; align-items: center; justify-content: center; padding-bottom: 30px; gap: 14px; }
.finger { width: 120px; height: 120px; }
.finger path { fill: none; stroke: #3a3a40; stroke-width: 3.2; stroke-linecap: round; }
.finger path { stroke-dasharray: 140; }
.unlock { font-size: .82rem; font-weight: 700; color: var(--lime); letter-spacing: .06em; text-transform: uppercase; opacity: 0; }
.live .finger path { animation: fp 4.4s var(--ease) infinite; }
.live .unlock { animation: unl 4.4s var(--ease) infinite; }
@keyframes fp { 0% { stroke: #3a3a40; stroke-dashoffset: 140; } 40% { stroke: #F04DB8; stroke-dashoffset: 0; } 55%, 85% { stroke: var(--lime); stroke-dashoffset: 0; } 100% { stroke: #3a3a40; stroke-dashoffset: 0; } }
@keyframes unl { 0%, 45% { opacity: 0; transform: translateY(4px); } 55%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 7. Clean ---------- */
.viz-clean { align-items: flex-end; }
.phone {
  width: 190px; height: 230px; border: 6px solid #232327; border-bottom: 0; border-radius: 34px 34px 0 0;
  background: #070708; padding: 30px 18px 0; position: relative; transform: translateY(40px);
  transition: transform 1.2s var(--ease);
}
.live .phone { transform: translateY(0); }
.notch { position: absolute; top: 9px; left: 50%; width: 54px; height: 14px; margin-left: -27px; background: #18181b; border-radius: 99px; }
.p-hi { font-size: .7rem; color: var(--text-muted); }
.p-big { font-size: 1.6rem; font-weight: 800; color: var(--lime); letter-spacing: -.03em; margin-top: 4px; }
.p-sub { font-size: .66rem; color: var(--text-muted); margin-bottom: 14px; }
.p-row { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-top: 1px solid #18181b; }
.p-row span { flex: 1; height: 6px; border-radius: 99px; background: #1d1d21; }
.p-row b { font-size: .68rem; color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-scan, .t-split, .t-nudge { grid-column: span 2; }
  .t-stand, .t-simplify, .t-private, .t-clean { grid-column: span 1; }
  .t-scan, .t-stand { min-height: 460px; }
  .t-clean { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bento > .tile { grid-column: auto; min-height: 0; padding: 28px 22px 0; border-radius: 24px; }
  .viz { min-height: 220px; }
  .seg button { padding: 6px 9px; font-size: .76rem; }
  .srow { grid-template-columns: 30px 1fr 62px; }
}

/* =====================================================================
   Pricing: Free vs Pro switch
   ===================================================================== */
.cmp-section { background: var(--surface); }
.cmp {
  max-width: 860px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, #111113, #0A0A0C); border: 1px solid var(--border);
  border-radius: 28px; padding: 28px clamp(18px, 4vw, 44px) 36px;
  transition: border-color .6s, box-shadow .8s var(--ease);
}
.cmp[data-plan="pro"] { border-color: rgba(139, 63, 224, .55); box-shadow: 0 30px 120px -40px rgba(139, 63, 224, .55), 0 0 0 1px rgba(214, 24, 154, .18) inset; }
.cmp-switch {
  position: relative; display: flex; width: 280px; max-width: 100%; margin: 0 auto 28px;
  background: #1a1a1d; border: 1px solid #27272b; border-radius: 999px; padding: 5px;
}
.cmp-switch button {
  position: relative; z-index: 1; flex: 1; font: inherit; font-weight: 700; font-size: .95rem;
  background: none; border: 0; color: var(--text-muted); padding: 11px 0; border-radius: 999px; cursor: pointer;
  transition: color .35s;
}
.cmp-switch button.on { color: #050505; }
.cmp-switch button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.cmp-switch .knob {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--text); transition: transform .55s var(--ease), background .55s;
}
.cmp[data-plan="pro"] .knob { transform: translateX(100%); background: var(--grad); }
.cmp-group + .cmp-group { margin-top: 26px; }
.cmp-gtitle { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.cmp-row {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "name val" "meter was";
  column-gap: 20px; row-gap: 8px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid #1d1d21;
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-name { grid-area: name; color: var(--text); font-weight: 600; font-size: 1rem; }
.cmp-val {
  grid-area: val; justify-self: end; text-align: right; font-weight: 700; color: var(--text-muted); font-size: 1rem;
  transition: opacity .25s, transform .25s, color .4s;
}
.cmp-val.swap { opacity: 0; transform: translateY(-8px); }
.cmp[data-plan="pro"] .cmp-val { color: var(--text); }
.cmp-was { grid-area: was; justify-self: end; font-size: .78rem; color: #8e8e94; text-decoration: line-through; opacity: 0; transition: opacity .4s; }
.cmp[data-plan="pro"] .cmp-was { opacity: 1; }
.cmp-meter { grid-area: meter; height: 6px; background: #1d1d21; border-radius: 99px; overflow: hidden; }
.cmp-meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: #5a5a60; transition: width 1s var(--ease), background .6s; }
.cmp.live .cmp-meter i { width: var(--free); }
.cmp[data-plan="pro"] .cmp-meter i { width: 100%; background: var(--grad); }
.cmp-row:nth-child(3) .cmp-meter i { transition-delay: .04s; } .cmp-row:nth-child(4) .cmp-meter i { transition-delay: .08s; }
.cmp-row:nth-child(5) .cmp-meter i { transition-delay: .12s; } .cmp-row:nth-child(6) .cmp-meter i { transition-delay: .16s; }
.cmp-note { font-size: .8rem; color: var(--text-muted); margin: 18px auto 0; max-width: 700px; text-align: center; }
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .cmp-name, .cmp-val { font-size: .92rem; }
}

/* =====================================================================
   Pricing: Good to know
   ===================================================================== */
.gtk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gtk-tile {
  background: linear-gradient(180deg, #111113, #0A0A0C); border: 1px solid var(--border); border-radius: 28px;
  padding: 32px 28px 34px; transition: border-color .4s, transform .6s var(--ease);
}
.gtk-tile:hover { border-color: #34343a; transform: translateY(-4px); }
.gtk-tile h3 { color: var(--text); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.gtk-tile p { color: var(--text-muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.gtk-viz { height: 140px; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.shield svg { width: 96px; height: 96px; }
.shield .sh { fill: rgba(198, 236, 0, .08); stroke: var(--lime); stroke-width: 2.5; stroke-linejoin: round; }
.shield .ck { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .9s var(--ease) .3s; }
.live .shield .ck, .gtk-tile.in-view .shield .ck { stroke-dashoffset: 0; }
.ring svg { width: 128px; height: 128px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: #1e1e22; stroke-width: 9; }
.ring .arc { fill: none; stroke: var(--purple); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 0; }
.gtk-tile.in-view .ring .arc { animation: drain 6s var(--ease) infinite; }
@keyframes drain { 0% { stroke-dashoffset: 0; stroke: var(--purple); } 70% { stroke-dashoffset: 280; stroke: var(--pink); } 85%, 100% { stroke-dashoffset: 0; stroke: var(--lime); } }
.ring-days { position: absolute; inset: 0; display: grid; place-items: center; }
.ring-days span { grid-area: 1 / 1; font-size: 2.4rem; font-weight: 800; color: var(--text); letter-spacing: -.04em; opacity: 0; }
.ring-days span:first-child { opacity: 1; }
.gtk-tile.in-view .ring-days span { animation: day 6s infinite; }
.gtk-tile.in-view .ring-days span:nth-child(1) { animation-name: d1; }
.gtk-tile.in-view .ring-days span:nth-child(2) { animation-name: d2; }
.gtk-tile.in-view .ring-days span:nth-child(3) { animation-name: d3; }
@keyframes d1 { 0%, 22% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes d2 { 0%, 24% { opacity: 0; } 28%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes d3 { 0%, 48% { opacity: 0; } 52%, 72% { opacity: 1; color: var(--pink); } 76%, 100% { opacity: 0; } }
.ring-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: .7rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; transform: translateY(18px); }
.coin { perspective: 600px; }
.coin-face {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.6rem; font-weight: 800; color: #050505; background: var(--grad);
  box-shadow: 0 0 50px rgba(214, 24, 154, .3);
}
.gtk-tile.in-view .coin-face { animation: spin 5s var(--ease) infinite; }
@keyframes spin { 0%, 60% { transform: rotateY(0); } 80%, 100% { transform: rotateY(360deg); } }
.coin-tag { position: absolute; bottom: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 860px) { .gtk { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   CTA hero (pricing + features)
   ===================================================================== */
.cta-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: 36px; border: 1px solid #222226; background: #070708;
  padding: clamp(70px, 11vw, 130px) 24px;
}
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); opacity: .55; }
.aurora i { position: absolute; width: 46%; height: 60%; border-radius: 50%; }
.aurora .b1 { background: var(--lime); left: 8%; top: 30%; opacity: .45; animation: drift1 16s ease-in-out infinite alternate; }
.aurora .b2 { background: var(--purple); left: 38%; top: 12%; animation: drift2 19s ease-in-out infinite alternate; }
.aurora .b3 { background: var(--pink); right: 6%; top: 36%; opacity: .8; animation: drift3 14s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18%, -14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16%, 18%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-14%, -16%) scale(1.2); } }
.cta-hero::after { /* dark veil so text stays readable */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 70% at 50% 50%, rgba(5, 5, 5, .25), rgba(5, 5, 5, .82));
}
.cta-chip {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--text); letter-spacing: .02em;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.cta-hero h2 {
  margin: 0 0 16px; color: var(--text); font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
}
.cta-hero p { color: #c9c9ce; font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 0 auto 34px; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.cta-soon {
  font-size: .9rem; font-weight: 600; color: var(--text); padding: 16px 26px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04);
}
.cta-hero .btn-primary { box-shadow: 0 10px 40px -8px rgba(198, 236, 0, .55); }

/* ---------- Reduced motion: show the end state, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .bento *, .cmp *, .gtk *, .cta-hero * { animation: none !important; transition: none !important; }
  .beam { display: none; }
  .scan-chip, .notif, .leaves span, .unlock { opacity: 1 !important; transform: none !important; }
  .spokes path { stroke-dashoffset: 0; }
  .finger path { stroke: var(--lime); stroke-dashoffset: 0; }
  .stand-bar .owed { width: 73%; } .stand-bar .owe { width: 27%; }
  .phone { transform: none; }
  .shield .ck { stroke-dashoffset: 0; }
}

/* =====================================================================
   Store buttons: Google Play + App Store (both live)
   ===================================================================== */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px;
  padding: 11px 22px 11px 18px; border-radius: 16px; text-align: left; line-height: 1.1;
  border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.store b { display: block; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.store-play { background: var(--lime); color: #050505; box-shadow: 0 10px 34px -10px rgba(198, 236, 0, .6); }
.store-play:hover { color: #050505; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(198, 236, 0, .75); }
.store-apple { background: var(--lime); color: #050505; box-shadow: 0 10px 34px -10px rgba(198, 236, 0, .6); }
.store-apple:hover { color: #050505; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(198, 236, 0, .75); }
.stores.left { justify-content: flex-start; }
.stores.stack { flex-direction: column; align-items: stretch; }
.stores.stack .store { justify-content: center; }
@media (max-width: 900px) { .stores.left { justify-content: center; } }

/* ---------- Home: How it works ---------- */
.bento.three .tile { grid-column: span 2; min-height: 420px; }
.viz-crew { flex-direction: column; align-items: center; justify-content: center; padding-bottom: 30px; gap: 16px; }
.crew-name { font-weight: 800; color: var(--text); font-size: 1.1rem; background: #1a1a1d; border: 1px solid #2a2a2f; padding: 8px 18px; border-radius: 999px; }
.crew { display: flex; padding-left: 8px; }
.crew .av { width: 46px; height: 46px; font-size: 1rem; margin-left: -8px; border: 3px solid #0d0d0f; opacity: 0; transform: scale(.4); }
.crew .av.add { background: #1d1d21; color: var(--text); border-style: dashed; border-color: #444; }
.live .crew .av { animation: pop 4.6s var(--ease) infinite; }
.live .crew .av:nth-child(2) { animation-delay: .25s; } .live .crew .av:nth-child(3) { animation-delay: .5s; }
.live .crew .av:nth-child(4) { animation-delay: .75s; } .live .crew .av:nth-child(5) { animation-delay: 1s; }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.8); } }
.viz-settle { flex-direction: column; align-items: center; justify-content: center; padding-bottom: 30px; }
.settle-stack { position: relative; height: 70px; width: 100%; display: grid; place-items: center; }
.settle-stack span { grid-area: 1 / 1; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; }
.settle-stack .before { color: var(--pink); }
.settle-stack .after { color: var(--lime); opacity: 0; }
.settle-note { margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.settle-note .ok { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lime); color: #050505; font-size: .8rem; transform: scale(0); }
.live .settle-stack .before { animation: s1 4.6s var(--ease) infinite; }
.live .settle-stack .after { animation: s2 4.6s var(--ease) infinite; }
.live .settle-note .ok { animation: s3 4.6s var(--ease) infinite; }
@keyframes s1 { 0%, 35% { opacity: 1; transform: none; } 45%, 100% { opacity: 0; transform: translateY(-20px); } }
@keyframes s2 { 0%, 40% { opacity: 0; transform: translateY(20px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes s3 { 0%, 48% { transform: scale(0); } 56%, 92% { transform: scale(1); } 100% { transform: scale(0); } }

/* ---------- Home: A group for everything ---------- */
.bento.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento.four > .cat-tile { grid-column: span 1; min-height: 280px; padding: 0; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.cat-tile .label { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; }
/* The gradient sits on an inner inline span (like the headings elsewhere), not on the
   flex item itself: iPhone Safari can draw background-clip:text on a flex item as invisible. */
.cat-tile .label .grad-text { -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cat-ico { width: 96px; height: 96px; overflow: visible; }
.cat-ico * { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cat-ico .l { stroke: var(--lime); } .cat-ico .p { stroke: #A970F0; } .cat-ico .k { stroke: #F04DB8; } .cat-ico .w { stroke: var(--text); }
.cat-ico .steam { stroke-dasharray: 4 6; }
.live .cat-ico .steam { animation: steam 2.4s linear infinite; }
@keyframes steam { to { stroke-dashoffset: -40; } }
.live .cat-ico .plane { animation: fly 3.6s var(--ease) infinite; }
@keyframes fly { 0% { transform: translate(-30px, 18px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(26px, -16px); opacity: 1; } 100% { transform: translate(40px, -24px); opacity: 0; } }
.cat-ico .route { stroke-dasharray: 3 7; }
.live .cat-ico .route { animation: steam 3s linear infinite; }
.live .cat-ico .bag { animation: bob 2.2s ease-in-out infinite; transform-origin: 48px 80px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-8px) rotate(-4deg); } 60% { transform: translateY(0) rotate(3deg); } }
.live .cat-ico .orbit { animation: orbit 5s linear infinite; transform-origin: 48px 48px; }
.live .cat-ico .orbit2 { animation: orbit 3.4s linear infinite reverse; transform-origin: 48px 48px; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .bento.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento.four > .cat-tile { min-height: 210px; padding: 0; }
}

/* ---------- About: Sound familiar? (chat tiles) ---------- */
.bento.chat .tile { min-height: 380px; }
.bento.chat .tile:nth-child(1), .bento.chat .tile:nth-child(2) { grid-column: span 3; }
.bento.chat .tile:nth-child(n+3) { grid-column: span 2; }
.bento.chat h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.viz-chat { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 8px; padding-bottom: 28px; min-height: 160px; }
.bub {
  max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .86rem; line-height: 1.35;
  opacity: 0; transform: translateY(10px) scale(.96);
}
.bub.in { align-self: flex-start; background: #232327; color: var(--text); border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: var(--purple); color: #fff; border-bottom-right-radius: 6px; }
.bub.sys { align-self: center; background: none; color: var(--text-muted); font-size: .76rem; padding: 2px; }
.bub.img { width: 110px; height: 64px; padding: 0; background: var(--grad); }
.bub.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e94; animation: blink 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.live .bub { animation: bub 6s var(--ease) infinite; }
.live .bub:nth-child(2) { animation-delay: .7s; } .live .bub:nth-child(3) { animation-delay: 1.4s; } .live .bub:nth-child(4) { animation-delay: 2.1s; }
@keyframes bub { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 8%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.sheet { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.sheet i { height: 26px; border-radius: 5px; background: #1d1d21; }
.live .sheet i { animation: cell 6s infinite; }
@keyframes cell { 0%, 5% { background: #1d1d21; } 12%, 70% { background: var(--lime); } 85%, 100% { background: #1d1d21; } }
.sheet-cap { font-size: .76rem; color: var(--text-muted); display: flex; justify-content: space-between; }

/* ---------- About: pillars ---------- */
.dot-one { width: 22px; height: 22px; border-radius: 50%; background: #A970F0; }
.gtk-tile.in-view .dot-one { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(169, 112, 240, .6); } 100% { box-shadow: 0 0 0 46px rgba(169, 112, 240, 0); } }
.dot-cap { position: absolute; bottom: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.hands { display: flex; align-items: center; gap: 10px; }
.hands .av { width: 52px; height: 52px; font-size: 1.1rem; }
.hands .link { width: 60px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lime), var(--pink), var(--lime)); background-size: 200% 100%; }
.gtk-tile.in-view .hands .link { animation: flow 1.6s linear infinite; }
@keyframes flow { from { background-position: 0 0; } to { background-position: -200% 0; } }

@media (max-width: 1000px) {
  .bento.chat .tile:nth-child(n) { grid-column: span 1; }
  .bento.chat .tile:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento.three .tile { grid-column: auto; min-height: 0; }
  .bento.chat .tile:nth-child(n) { grid-column: auto; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .crew .av, .bub, .settle-stack .after, .settle-note .ok { opacity: 1 !important; transform: none !important; animation: none !important; }
  .settle-stack .before { display: none; }
  .sheet i, .dot-one, .hands .link, .cat-ico * { animation: none !important; }
}

/* =====================================================================
   "Going live on 6 December" card (js/launch-card.js) — same look as the
   aurora download banner. Remove on launch day with the script.
   ===================================================================== */
.launch-modal { position: fixed; inset: 0; z-index: 1000; display: none; justify-content: center; padding: 16px; overflow-y: auto; }
.launch-modal.open { display: flex; animation: launchIn .35s var(--ease); }
.launch-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.launch-card { position: relative; margin: auto 0; width: min(920px, 100%); padding: clamp(56px, 8vw, 96px) 24px; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .9); }
.launch-card p { margin-bottom: 30px; }
.launch-close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.launch-close:hover { background: rgba(255, 255, 255, .14); }
.launch-card .cta-soon:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
html.launch-lock { overflow: hidden; }
@keyframes launchIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .launch-modal.open { animation: none; } }
