/* رواج: the website's one sheet. Colours are the program's own (ui/src/tokens.css, the colourful look). No shadows, one
   typeface (Cairo, self-hosted), motion only through transform and opacity and never under reduced motion. */
@font-face { font-family: "Cairo"; src: url("/assets/cairo-arabic.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; src: url("/assets/cairo-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #f5f4f1; --surface: #ffffff; --sunken: #f0eee9; --line: #e2ded7; --line-strong: #cbc5bb;
  --ink: #1b1916; --text: #2f2c27; --soft: #6b665e;
  --brand: #1f5673; --brand-deep: #163f55; --link: #1f5673; --on: #ffffff;
  --green: #2f6f3e; --teal: #0e6a68; --orange: #a8500c; --red: #b3261e; --purple: #6c3fa3; --brown: #7a4a22;
  --blue: #1565a8; --indigo: #3f4ba0; --amber: #8a6100; --slate: #46586a; --pink: #a62f6b; --olive: #5c6b1e;
  --ring: #1f5673;
  color-scheme: light;
}
:root { --hero: #1f5673; --hero-2: #163f55; --stat: #1b1916; }
:root[data-theme="dark"] { --page: #121110; --surface: #1c1a18; --sunken: #262320; --line: #36322c; --line-strong: #514b42;
    --ink: #f6f2eb; --text: #e4dfd6; --soft: #a8a195; --link: #7fb8d8; --ring: #7fb8d8; --hero: #0d1b24; --hero-2: #12303f; --stat: #0b0a09; color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.0625rem; line-height: 1.85; }
h1, h2, h3 { color: var(--ink); line-height: 1.4; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.hero .wrap > *, .grid > * { min-width: 0; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--surface); color: var(--ink); padding: .5rem 1rem; z-index: 20; }
.skip:focus { top: 1rem; }
svg.glyph { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.glyph .coin { fill: currentColor; stroke: none; }

/* The bar */
.bar { background: var(--hero); color: var(--on); position: sticky; top: 0; z-index: 10; }
.bar .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.bar a { color: var(--on); text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark svg { height: 2.1rem; width: auto; }
.wordmark path, .wordmark circle.ring { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.wordmark .dot { fill: currentColor; }
.nav { display: flex; gap: .25rem; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { padding: .45rem .8rem; border-radius: 6px; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-deep); }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 2px solid var(--on); color: var(--on); border-radius: 6px;
  font: inherit; font-weight: 700; padding: .3rem .8rem; min-height: 44px; }
@media (max-width: 56rem) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; padding-bottom: .75rem; margin: 0; }
  .nav.open { display: flex; }
  .bar .wrap { flex-wrap: wrap; }
  .bar .cta-small { display: none; }
}

/* Commands */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .55rem 1.3rem;
  border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .12s ease; }
.btn:active { transform: scale(.97); }
.btn.go { background: var(--green); color: var(--on); }
.btn.go:hover { background: #1b5e2e; }
.btn.main { background: var(--brand); color: var(--on); }
.btn.main:hover { background: var(--brand-deep); }
.btn.calm { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.on-brand { background: var(--on); color: var(--brand); }
.btn.line-on-brand { border-color: var(--on); color: var(--on); background: transparent; }
.cta-small { min-height: 40px; padding: .3rem 1rem; }

/* The opening band */
.hero { background: var(--brand); color: var(--on); padding: 3.5rem 0 4rem; overflow: hidden; }
.hero h1, .hero h2 { color: var(--on); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero p.lead { font-size: 1.2rem; max-width: 34rem; }
.hero .acts { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero ul.facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; font-weight: 600; }
.hero ul.facts li { display: flex; align-items: center; gap: .45rem; }
.hero-word { height: 4.5rem; width: auto; margin-bottom: 1rem; display: block; }
@media (max-width: 56rem) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 2.5rem 0 3rem; } }
.page-head { background: var(--hero); color: var(--on); padding: 2.75rem 0; }
.page-head h1 { color: var(--on); }
.page-head p { font-size: 1.15rem; max-width: 44rem; margin: 0; }
.crumbs { font-size: .95rem; margin-bottom: .75rem; }
.crumbs a { color: var(--on); }

/* The drawn till: an illustration of the sale screen, built from the program's own shapes */
.till { background: var(--page); color: var(--text); border-radius: 12px; border: 3px solid var(--brand-deep); padding: .75rem;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: .75rem; font-size: .95rem; line-height: 1.5; min-height: 23rem; }
.till-order { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; }
.till-order h3 { font-size: .95rem; padding: .55rem .75rem; margin: 0; border-bottom: 1px solid var(--line); color: var(--soft); font-weight: 600; }
.till-lines { list-style: none; margin: 0; padding: 0; flex: 1; }
.till-lines li { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; border-bottom: 1px solid var(--line); border-inline-start: 6px solid transparent; }
.till-lines li.new { border-inline-start-color: var(--brand); }
.till-lines b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.till-total { padding: .6rem .75rem; display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line-strong); }
.till-total b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.till-pay { margin: 0 .6rem .6rem; background: var(--green); color: var(--on); border-radius: 8px; padding: .6rem; text-align: center; font-weight: 800; }
.till-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; align-content: start; }
.till-tiles div[data-price] { background: var(--surface); border: 1px solid var(--line); border-bottom: 3px solid var(--line-strong); border-radius: 8px; padding: .55rem .5rem;
  min-height: 4.3rem; display: flex; flex-direction: column; justify-content: space-between; font-weight: 600; color: var(--ink); }
.till-tiles div[data-price] span { color: var(--soft); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; }
.till-tiles div[data-price].pressed { background: var(--brand); color: var(--on); border-color: var(--brand-deep); transform: translateY(2px); }
.till-tiles div[data-price].pressed span { color: var(--on); }
.till-tabs { grid-column: 1 / -1; display: flex; gap: .4rem; }
.till-tabs i { font-style: normal; padding: .25rem .7rem; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .85rem; }
.till-tabs i.on { background: var(--brand); color: var(--on); border-color: var(--brand); }
.till-note { font-size: .85rem; opacity: .85; margin: .6rem 0 0; text-align: center; }
@media (max-width: 30rem) { .till { grid-template-columns: 1fr; } .till-tiles { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
section.block { padding: 4rem 0; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.block > .wrap > h2 { max-width: 40rem; }
.block > .wrap > p.intro { max-width: 44rem; color: var(--soft); font-size: 1.1rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.alt .card { background: var(--page); }
.card h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.card p, .card ul { margin: 0; color: var(--text); font-size: 1rem; }
.card ul { padding-inline-start: 1.2rem; }
.card li { margin-bottom: .25rem; }
.sq { width: 44px; height: 44px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--on); background: var(--brand); flex: none; }
.c-green { background: var(--green); } .c-teal { background: var(--teal); } .c-orange { background: var(--orange); } .c-red { background: var(--red); }
.c-purple { background: var(--purple); } .c-brown { background: var(--brown); } .c-blue { background: var(--blue); } .c-indigo { background: var(--indigo); }
.c-amber { background: var(--amber); } .c-slate { background: var(--slate); } .c-pink { background: var(--pink); } .c-olive { background: var(--olive); }
a.kind { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); font-weight: 700; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; transition: transform .15s ease; }
a.kind:hover { border-color: var(--brand); transform: translateY(-2px); }
a.kind small { display: block; font-weight: 500; color: var(--soft); font-size: .92rem; line-height: 1.5; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.steps li::before { content: counter(step); display: inline-flex; width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--brand); color: var(--on);
  align-items: center; justify-content: center; font-weight: 800; margin-bottom: .6rem; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.compare th, .compare td { text-align: start; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--sunken); color: var(--ink); }
.h3-gap { margin-top: 2.5rem; }
.compare tbody th { color: var(--ink); font-weight: 700; width: 30%; }
.table-box { overflow-x: auto; }
.prose { max-width: 46rem; }
.prose ul { padding-inline-start: 1.3rem; }
.prose h2 { margin-top: 2rem; }
details.q { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; }
details.q summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-weight: 800; color: var(--link); }
details.q[open] summary::after { content: "−"; }
details.q div { padding: 0 1.2rem 1.1rem; }
.callout { background: var(--brand); color: var(--on); border-radius: 12px; padding: 2.25rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout h2 { color: var(--on); margin: 0 0 .3rem; }
.callout p { margin: 0; }
.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; max-width: 30rem; }
footer { color: #d9d4ca; padding: 2.5rem 0 2rem; font-size: .98rem; }
footer { background: var(--stat); }
footer a { color: #ffffff; }
footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
footer h2 { color: #ffffff; font-size: 1.05rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .35rem; }
footer .fine { border-top: 1px solid #3a362f; margin-top: 2rem; padding-top: 1rem; color: #a8a195; }
.wa-float { position: fixed; inset-inline-start: 1rem; bottom: 1rem; z-index: 15; }

/* Motion: only where the browser allows it and the script has started */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .grid .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .07s; }
  .js .grid .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .14s; }
  .js .grid .reveal:nth-child(4) { transition-delay: .21s; }
  .js .write path, .js .write circle.ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: write .5s ease forwards; }
  .js .write .s2 { animation-delay: .22s; } .js .write .s3 { animation-delay: .4s; } .js .write .s4 { animation-delay: .6s; } .js .write .s5 { animation-delay: .78s; }
  .js .write .dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: drop .3s ease 1.25s forwards; }
  .js .till-lines li.new { animation: arrive .22s ease; }
  .till-tiles div[data-price] { transition: transform .12s ease, background-color .12s ease; }
  .js .till-total b.bump { animation: bump .2s ease; }
}
@keyframes write { to { stroke-dashoffset: 0; } }
@keyframes drop { to { transform: scale(1); } }
@keyframes arrive { from { opacity: 0; transform: translateY(-8px); } }
@keyframes bump { 50% { transform: scale(1.12); } }
@media print { .bar, .wa-float, .hero .acts, footer { display: none; } }

/* ---- Version 2: a richer opening, the tour, the figures, the whole list and what is coming ---- */
.hero { position: relative; padding: 4.5rem 0 5rem; }
.hero .wrap { position: relative; z-index: 1; }
.hero-art { position: absolute; inset: 0; pointer-events: none; color: #ffffff; opacity: .045; }
.hero-art svg { position: absolute; height: 150%; top: -25%; inset-inline-end: -12%; width: auto; }
.hero-art svg path, .hero-art svg circle.ring { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; }
.hero-art svg .dot { fill: currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; padding: .2rem .8rem; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.eyebrow i { width: .55rem; height: .55rem; border-radius: 50%; background: #7fd49a; display: inline-block; }
.stage { position: relative; }
.till-frame { position: relative; }
.win { background: var(--brand-deep); border-radius: 12px 12px 0 0; padding: .45rem .8rem; display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: #fff; }
.win i { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255,255,255,.35); display: inline-block; }
.win span { margin-inline-start: .4rem; }
.win + .till, .win + .screen { border-radius: 0 0 12px 12px; border-top: 0; }
.float { position: absolute; background: var(--surface); color: var(--text); border: 2px solid var(--brand-deep); border-radius: 10px; padding: .6rem .8rem; font-size: .85rem; line-height: 1.6; z-index: 2; min-width: 9.5rem; }
.float b { color: var(--ink); display: block; }
.float.ticket { inset-inline-start: -1.5rem; bottom: -1.75rem; font-family: inherit; border-style: dashed; }
.float.sales { inset-inline-end: -1.25rem; top: -1.5rem; }
.float.sales .bars { display: flex; align-items: flex-end; gap: 4px; height: 2.4rem; margin-top: .3rem; }
.float.sales .bars i { flex: 1; background: var(--green); border-radius: 2px 2px 0 0; transform-origin: bottom; }
@media (max-width: 56rem) { .float { display: none; } .hero { padding: 2.5rem 0 3rem; } }

.stats { background: var(--stat); color: #fff; padding: 2.25rem 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.5rem; text-align: center; }
.stats b { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; color: #fff; }
.stats span { color: #d9d4ca; }

.kinds-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.tour { display: grid; grid-template-columns: 17rem 1fr; gap: 1.5rem; align-items: start; }
.tour-tabs { display: grid; gap: .5rem; }
.tour-tabs button { display: flex; align-items: center; gap: .8rem; text-align: start; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line);
  border-radius: 10px; padding: .7rem .9rem; cursor: pointer; min-height: 56px; }
.tour-tabs button small { display: block; color: var(--soft); font-size: .88rem; line-height: 1.4; }
.tour-tabs button b { display: block; }
.tour-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tour-tabs button[aria-selected="true"] small { color: #e3eef4; }
.tour-tabs button[aria-selected="true"] .sq { background: #fff; color: var(--brand); }
.tour-panel[hidden] { display: none; }
.tour-panel p.say { font-size: 1.1rem; margin: 1rem 0 0; max-width: 40rem; }
.screen { background: var(--page); border: 3px solid var(--brand-deep); border-radius: 12px; padding: 1rem; min-height: 21rem; font-size: .95rem; line-height: 1.5; color: var(--text); }
@media (max-width: 56rem) { .tour { grid-template-columns: 1fr; } .tour-tabs { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); } .tour-tabs button small { display: none; } }
.floor { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.floor div { border-radius: 8px; padding: .6rem; min-height: 5rem; background: var(--sunken); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; font-weight: 600; }
.floor div b { font-size: 1.2rem; color: var(--ink); }
.floor div.taken { background: var(--brand); color: #fff; border-color: var(--brand); } .floor div.taken b { color: #fff; }
.floor div.late { background: var(--orange); color: #fff; border-color: var(--orange); } .floor div.late b { color: #fff; }
.floor-legend { display: flex; gap: 1rem; margin-top: .8rem; font-size: .88rem; flex-wrap: wrap; }
.floor-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-inline-end: .35rem; vertical-align: -1px; background: var(--sunken); border: 1px solid var(--line-strong); }
.floor-legend i.t { background: var(--brand); border-color: var(--brand); } .floor-legend i.l { background: var(--orange); border-color: var(--orange); }
table.mini { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
table.mini th, table.mini td { padding: .5rem .7rem; border-bottom: 1px solid var(--line); text-align: start; }
table.mini th { background: var(--sunken); color: var(--ink); font-size: .88rem; }
table.mini td.n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
table.mini tr.sum td { font-weight: 800; color: var(--ink); background: var(--sunken); }
.chip { display: inline-block; border-radius: 6px; padding: 0 .5rem; font-size: .82rem; font-weight: 700; color: #fff; background: var(--green); }
.chip.warn { background: var(--orange); } .chip.bad { background: var(--red); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .7rem; }
.kpis b { display: block; font-size: 1.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.chart { display: flex; align-items: flex-end; gap: .6rem; height: 9.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .8rem .8rem 0; }
.chart div { flex: 1; text-align: center; font-size: .8rem; color: var(--soft); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.chart i { display: block; background: var(--brand); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.chart div:nth-child(even) i { background: var(--teal); }

.feature-area { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; margin-bottom: 1rem; }
.feature-area h2 { display: flex; align-items: center; gap: .8rem; font-size: 1.35rem; margin-bottom: 1rem; }
.feature-area ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .45rem 1.5rem; }
.feature-area li { display: flex; gap: .5rem; align-items: flex-start; }
.feature-area li svg { color: var(--green); width: 20px; height: 20px; margin-top: .4rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.jump a { text-decoration: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: .3rem .8rem; font-weight: 600; color: var(--ink); }
.jump a:hover { border-color: var(--brand); }
.soon { display: inline-block; border: 1px solid var(--line-strong); color: var(--soft); border-radius: 6px; padding: 0 .5rem; font-size: .8rem; font-weight: 700; margin-inline-start: auto; }
.card.next h3 { flex-wrap: wrap; }
.band-dark { background: var(--hero-2); color: #fff; }
.band-dark h2 { color: #fff; } .band-dark p.intro { color: #d5e4ec; }
.band-dark .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.band-dark .card h3, .band-dark .card p { color: #fff; }
.band-dark .soon { color: #fff; border-color: rgba(255,255,255,.5); }
.band-dark a.more { color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .js .float { opacity: 0; transform: translateY(14px); animation: rise .5s ease 1.2s forwards; }
  .js .float.ticket { animation-delay: 1.6s; }
  .js .float.sales .bars i, .js .tour-panel.on .chart i { animation: grow .6s ease both; }
  .js .float.sales .bars i { animation-delay: 1.9s; }
  .js .tour-panel.on .chart div:nth-child(2) i { animation-delay: .08s; } .js .tour-panel.on .chart div:nth-child(3) i { animation-delay: .16s; }
  .js .tour-panel.on .chart div:nth-child(4) i { animation-delay: .24s; } .js .tour-panel.on .chart div:nth-child(5) i { animation-delay: .32s; }
  .js .tour-panel.on .chart div:nth-child(6) i { animation-delay: .4s; } .js .tour-panel.on .chart div:nth-child(7) i { animation-delay: .48s; }
  .js .tour-panel.on .screen > * { animation: arrive .35s ease both; }
  .js .hero-art svg { animation: drift 40s linear infinite alternate; }
  .eyebrow i { animation: pulse 2s ease infinite; }
  a.kind .sq, .card .sq { transition: transform .2s ease; }
  a.kind:hover .sq, .card:hover .sq { transform: scale(1.1) rotate(-4deg); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes drift { to { transform: translateX(4%) translateY(-3%); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---- Version 3 (the owner: a home that proves the program is professional and strong) ---- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; background: #7fd49a; transform-origin: right; transform: scaleX(0); z-index: 30; }
.theme-toggle { background: none; border: 2px solid rgba(255,255,255,.55); color: #fff; border-radius: 8px; min-width: 44px; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; } :root[data-theme="dark"] .theme-toggle .sun { display: none; }
.bar { transition: background-color .3s ease; }
.hero.v3 { background: var(--hero); padding: 4rem 0 0; min-height: min(92vh, 56rem); display: flex; flex-direction: column; justify-content: space-between; }
.hero.v3 .wrap { margin-block: auto; grid-template-columns: 1fr 1.1fr; gap: 2rem; padding-bottom: 4.5rem; }
.orbits { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orbits svg { position: absolute; width: 150vmax; height: 150vmax; top: 50%; left: 28%; margin: -75vmax 0 0 -75vmax; }
.orbits circle.o { fill: none; stroke: #fff; stroke-opacity: .09; stroke-width: 1.2; }
.orbits circle.c { fill: #7fb8d8; fill-opacity: .3; }
.orbits g { transform-origin: 500px 500px; }
.hero.v3 h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.3; margin-bottom: .2em; }
.hero.v3 h1 .w { display: inline-block; }
.swap-line { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; color: #fff; margin: 0 0 1rem; min-height: 1.9em; }
.swap { display: inline-block; color: #9fe0b4; min-width: 7ch; }
.stage3 { perspective: 1500px; position: relative; padding: 2.5rem 1rem 3rem; }
.device { transform: rotateY(var(--ry, 9deg)) rotateX(var(--rx, 5deg)); transform-style: preserve-3d; transition: transform .25s ease-out; position: relative;
  border-radius: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 8px 20px rgba(0,0,0,.25); }
.device .till { min-height: 22rem; }
.fl { position: absolute; background: var(--surface); color: var(--text); border-radius: 12px; padding: .7rem .9rem; font-size: .88rem; line-height: 1.6; z-index: 3;
  box-shadow: 0 18px 40px rgba(0,0,0,.3); border: 1px solid var(--line); min-width: 10rem; }
.fl b { color: var(--ink); display: block; }
.fl .big { font-size: 1.35rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fl.f1 { top: -.5rem; inset-inline-end: -1rem; } .fl.f2 { bottom: .5rem; inset-inline-start: -1.5rem; border-inline-start: 5px solid var(--orange); }
.fl.f3 { bottom: -1rem; inset-inline-end: 2rem; display: flex; align-items: center; gap: .6rem; border-inline-start: 5px solid var(--green); }
.fl.f4 { top: 46%; inset-inline-end: -4.5rem; text-align: center; min-width: 0; }
.fl .ring { width: 3.4rem; height: 3.4rem; }
.fl .ring circle { fill: none; stroke-width: 6; } .fl .ring .bg { stroke: var(--sunken); } .fl .ring .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; transform: rotate(-90deg); transform-origin: center; }
.fl .bars { display: flex; align-items: flex-end; gap: 4px; height: 2.6rem; margin-top: .3rem; }
.fl .bars i { flex: 1; background: var(--brand); border-radius: 2px 2px 0 0; transform-origin: bottom; } .fl .bars i:last-child { background: var(--green); }
.fl.f3 .sq { width: 34px; height: 34px; }
.toast-off { opacity: 0; transform: translateY(10px) scale(.96); }
.fl.f3 { transition: opacity .3s ease, transform .3s ease; }
.till-pay.hit { transform: scale(.96); filter: brightness(1.15); } .till-pay { transition: transform .15s ease, filter .15s ease; }
@media (max-width: 62rem) { .hero.v3 .wrap { grid-template-columns: 1fr; } .device { transform: none; } .fl.f4 { display: none; } .fl.f1 { inset-inline-end: 0; } .fl.f2 { inset-inline-start: 0; } .stage3 { padding-inline: 0; } }
@media (max-width: 36rem) { .fl.f1, .fl.f2 { display: none; } .fl.f3 { inset-inline-end: .5rem; } }
.marquee { background: var(--hero-2); color: #fff; overflow: hidden; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.marquee .track { display: flex; gap: .75rem; width: max-content; }
.marquee span { white-space: nowrap; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .25rem 1rem; font-weight: 600; font-size: .95rem; display: inline-flex; gap: .5rem; align-items: center; }
.marquee span::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #7fd49a; }
.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; }
.story-steps { display: grid; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .35s ease; }
.story-step.on { opacity: 1; }
.story-step .num { width: 3rem; height: 3rem; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin-bottom: .8rem; }
.story-step h3 { font-size: 1.6rem; } .story-step p { font-size: 1.12rem; max-width: 26rem; }
.story-step .inline-screen { display: none; margin-top: 1rem; }
.story-view { position: sticky; top: 6rem; height: calc(100vh - 8rem); display: flex; align-items: center; }
.story-view .stack { position: relative; width: 100%; }
.story-view .shot { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s ease, transform .45s ease; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.story-view .shot.on { opacity: 1; transform: none; position: relative; }
.story-view .shot:not(.on) { pointer-events: none; }
@media (max-width: 62rem) { .story { grid-template-columns: 1fr; } .story-view { display: none; } .story-step { min-height: 0; opacity: 1; margin-bottom: 3rem; } .story-step .inline-screen { display: block; } }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bento .card { position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease; border-top: 4px solid var(--tone, var(--brand)); }
.bento .card:hover { transform: translateY(-6px); border-color: var(--tone, var(--brand)); }
.bento .card.wide { grid-column: span 2; }
@media (max-width: 62rem) { .bento { grid-template-columns: 1fr 1fr; } } @media (max-width: 40rem) { .bento { grid-template-columns: 1fr; } .bento .card.wide { grid-column: auto; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x proximity; overscroll-behavior-x: contain; position: relative; }
.rail .card { scroll-snap-align: start; }
.rail-line { height: 3px; background: rgba(255,255,255,.2); margin: 0 0 1.5rem; position: relative; overflow: hidden; border-radius: 2px; }
.rail-line i { position: absolute; inset: 0; background: #7fd49a; transform-origin: right; transform: scaleX(0); transition: transform 1.4s ease; }
.rail-line.in i { transform: scaleX(1); }
.final { background: var(--hero); color: #fff; text-align: center; padding: 5rem 0; position: relative; overflow: hidden; }
.final h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); } .final p { font-size: 1.15rem; margin-bottom: 1.75rem; } .final .wrap { position: relative; z-index: 1; }
.final .orbits svg { left: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .orbits .g1 { animation: spin 90s linear infinite; } .js .orbits .g2 { animation: spin 140s linear infinite reverse; } .js .orbits .g3 { animation: spin 200s linear infinite; }
  .js .hero.v3 h1 .w { opacity: 0; transform: translateY(.6em); animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + .2s); }
  .js .swap.out { opacity: 0; transform: translateY(-.4em); } .js .swap { transition: opacity .25s ease, transform .25s ease; }
  .js .device { animation: enter 1s cubic-bezier(.2,.7,.2,1) .3s both; }
  .js .fl { animation: enter .7s cubic-bezier(.2,.7,.2,1) both, bob 6s ease-in-out 2s infinite; }
  .js .fl.f1 { animation-delay: 1s, 2s; } .js .fl.f2 { animation-delay: 1.25s, 2.8s; } .js .fl.f4 { animation-delay: 1.5s, 3.5s; } .js .fl.f3 { animation: none; }
  .js .fl .bars i { animation: grow .7s ease 1.6s both; } .js .fl .ring .fg { animation: dash 1.2s ease 1.8s both; }
  .js .marquee .track { animation: slide 45s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes bob { 50% { translate: 0 -9px; } }
@keyframes dash { from { stroke-dashoffset: 100; } }
@keyframes slide { to { transform: translateX(50%); } }

/* ---- After the lead's own test pass (2026-11-13) ---- */
.story > *, .story-step { min-width: 0; } .inline-screen { overflow-x: auto; } .inline-screen .till { min-width: 19rem; }
.page-head.with-shot .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.page-head.with-shot { padding: 3rem 0 3.5rem; overflow: hidden; position: relative; }
.page-head.with-shot .wrap { position: relative; z-index: 1; }
.page-head .shot-box { border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(-1.5deg); min-width: 0; }
.page-head .shot-box .screen, .page-head .shot-box .till { min-height: 17rem; }
.page-head .acts { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 62rem) { .page-head.with-shot .wrap { grid-template-columns: 1fr; } .page-head .shot-box { transform: none; overflow-x: auto; } }
.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; text-align: center; }
.gear div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem .75rem; font-weight: 700; color: var(--ink); }
.gear .sq { margin: 0 auto .6rem; display: flex; width: 52px; height: 52px; }
.gear small { display: block; font-weight: 500; color: var(--soft); }
.find { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.find input { font: inherit; min-height: 48px; padding: .4rem 1rem; border: 2px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); width: min(26rem, 100%); }
.find output { color: var(--soft); }
.feature-area[hidden], .feature-area li[hidden] { display: none; }
.to-top { position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 15; width: 48px; height: 48px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .25s ease; font: inherit; font-weight: 800; font-size: 1.2rem; }
.to-top.show { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-head .shot-box { animation: enter .9s cubic-bezier(.2,.7,.2,1) .15s both; }
  .js .page-head h1, .js .page-head p, .js .page-head .acts { animation: rise .6s ease both; opacity: 0; transform: translateY(14px); }
  .js .page-head p { animation-delay: .1s; } .js .page-head .acts { animation-delay: .2s; }
  .gear div { transition: transform .2s ease; } .gear div:hover { transform: translateY(-4px); }
}

.bar .nav { order: 2; } .bar .theme-toggle { order: 3; } .bar .cta-small { order: 4; }
@media (max-width: 56rem) { .bar .theme-toggle { order: 0; margin-inline-start: auto; } .bar .nav-toggle { order: 1; margin-inline-start: 0; } .bar .nav { order: 5; } }

.block.band-dark > .wrap > p.intro { color: #e3eef4; }
.block.band-dark .rail .card p { color: #e9f1f5; }
