/* KYB Sales website. One font family (Inter, Display cut for headings),
   brand navy and cyan from the logo, the app's own meaning of colours. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --navy: #0B3D91;
  --navy-deep: #082a66;
  --blue: #1d4ed8;
  --cyan: #00C2FF;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f5f8fc;
  --sky: #eaf3ff;
  --green: #047857;
  --green-bg: #e7f8ef;
  --amber: #b45309;
  --amber-bg: #fff6e0;
  --violet: #6d28d9;
  --violet-bg: #f1ecff;
  --wa: #128c7e;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--text); background: #fff; font-feature-settings: "tnum" 1, "calt" 1; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 5.4vw, 2.75rem); line-height: 1.14; font-weight: 800; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.25rem); line-height: 1.15; font-weight: 800; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.lead { font-size: 1.1rem; color: var(--text); margin-top: 16px; max-width: 36em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* Buttons: one main colour, everything else quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-main { color: #fff; background: var(--blue); box-shadow: 0 4px 14px rgba(29, 78, 216, .28); }
.btn-main:hover { background: #1e40af; }
.btn-quiet { color: var(--navy); }
.btn-quiet:hover { background: var(--soft); }
.btn-line { color: var(--navy); background: #fff; border: 1.5px solid #cbd5e1; }
.btn-line:hover { border-color: var(--navy); }
.btn-light { color: var(--navy-deep); background: #fff; }
.btn-big { min-height: 54px; padding: 0 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); font-family: var(--head); font-size: 1.2rem; font-weight: 800; margin-right: auto; }
.brand b { color: var(--blue); }
.top-nav { display: none; gap: 4px; }
.top-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 10px; }
.top-nav a:hover { color: var(--navy); background: var(--soft); }
.top-actions { display: flex; gap: 2px; }
.top-actions .btn { padding: 0 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 32px 0 120px; background: linear-gradient(180deg, var(--sky) 0%, #fff 78%); }
/* Moving lines: faint rising sales lines, each with a light running along it */
/* Headline: each question gets its marker in the colour the page uses for it */
.hm { background-image: linear-gradient(var(--hm), var(--hm)); background-repeat: no-repeat; background-position: 0 90%; background-size: 100% .34em; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 3px; animation: mark 3s ease-out 2 both; }
.hm-1 { --hm: #bfdbfe; animation-delay: .7s; }
.hm-2 { --hm: #ddd6fe; animation-delay: 1.2s; }
.hm-3 { --hm: #bae6fd; animation-delay: 1.7s; }
.hm-4 { --hm: #bbf7d0; animation-delay: 2.2s; }
@keyframes mark { 0% { background-size: 0 .34em; } 20%, 100% { background-size: 100% .34em; } }
/* A shop's sales growing: bars rise, the trend line draws, today keeps beating */
.hero-band { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none; }
.hero-band svg { display: block; width: 100%; height: 100%; }
.hb-bar { fill: url(#hb-fill); transform-box: fill-box; transform-origin: 50% 100%; animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; }
.hb-bar:nth-child(2) { animation-delay: .05s; } .hb-bar:nth-child(3) { animation-delay: .1s; } .hb-bar:nth-child(4) { animation-delay: .15s; }
.hb-bar:nth-child(5) { animation-delay: .2s; } .hb-bar:nth-child(6) { animation-delay: .25s; } .hb-bar:nth-child(7) { animation-delay: .3s; }
.hb-bar:nth-child(8) { animation-delay: .35s; } .hb-bar:nth-child(9) { animation-delay: .4s; } .hb-bar:nth-child(10) { animation-delay: .45s; }
.hb-bar:nth-child(11) { animation-delay: .5s; }
.hb-now { fill: url(#hb-fill-now); animation: grow .7s cubic-bezier(.2, .8, .2, 1) .55s both, tick 4s ease-in-out 2.5s infinite; }
.hb-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .4; vector-effect: non-scaling-stroke; stroke-dasharray: 4000; animation: draw 1.6s ease-out .6s both; }
.hb-today { position: absolute; left: 95.83%; top: 12%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); animation: appear .3s 2.1s both, beat 2.4s ease-out 2.4s infinite; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes tick { 50% { transform: scaleY(1.06); } }
@keyframes draw { from { stroke-dashoffset: 4000; } }
@keyframes appear { from { opacity: 0; transform: scale(0); } }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); } 100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } }
@media (min-width: 900px) { .hero-band { height: 150px; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
/* Each promise: a tick tile in its part's colour, the promise, then how */
.hero-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 14px; max-width: 34em; }
.hero-points li { display: flex; align-items: flex-start; gap: 12px; }
.hero-points b { display: block; color: var(--ink); font-weight: 700; line-height: 1.35; }
.hero-points small { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.hp-ic { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--tone); box-shadow: 0 3px 8px -3px var(--tone); }
/* The lead, ticked like the plan card's list */
.lead-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; max-width: 34em; }
.lead-list li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.lead-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #059669; }
.lead-list li::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.3px 2.3px 0; transform: rotate(45deg); }
/* Off screen: the top part rests, so it plays again on the way back up */
.hero.hero-rest .rise, .hero.hero-rest .hb-bar, .hero.hero-rest .hb-line, .hero.hero-rest .hb-today, .hero.hero-rest .hm { animation: none; }
/* The ticked lines land one by one, like the plan card's list */
.hero.hl-wait .lead-list li, .hero.hl-wait .hero-points li { opacity: 0; transform: translateY(8px); }
.hero.hl-play .lead-list li, .hero.hl-play .hero-points li { transition: opacity .4s ease-out, transform .4s ease-out; opacity: 1; transform: none; }
.hero.hl-play .lead-list li:nth-child(1) { transition-delay: .3s; }  .hero.hl-play .lead-list li:nth-child(2) { transition-delay: .45s; }
.hero.hl-play .lead-list li:nth-child(3) { transition-delay: .6s; }  .hero.hl-play .hero-points li:nth-child(1) { transition-delay: .75s; }
.hero.hl-play .hero-points li:nth-child(2) { transition-delay: .9s; } .hero.hl-play .hero-points li:nth-child(3) { transition-delay: 1.05s; }
.hero.hl-play .hero-points li:nth-child(4) { transition-delay: 1.2s; }
.hp-ic::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.6px 2.6px 0; transform: rotate(45deg); }
.cta-row { display: flex; flex-direction: column; gap: 10px; }

/* Phone frames, drawn like the app's own screens */
.hero-demo, .cap-demo { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.device { position: relative; background: #f8fafc; border: 1px solid #dbe4f0; border-radius: 26px; padding: 16px 14px 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 24px 48px -18px rgba(11, 61, 145, .28); font-size: .82rem; overflow: hidden; display: grid; gap: 10px; }
.device::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #38bdf8, var(--blue)); }

.d-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .85rem; }
.d-status { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); transition: background-color .3s, color .3s; }
.d-status em { font-style: normal; }
.d-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.d-status.ok { background: var(--green-bg); color: var(--green); }
.d-status.send { background: #e0f2fe; color: #0369a1; }
.d-search { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; color: var(--muted); }
.d-items, .d-list, .d-sales { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.d-items li, .d-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; transition: border-color .25s, background-color .25s; }
.d-items li > div, .d-list li > div { flex: 1; min-width: 0; display: grid; }
.d-items b, .d-list b { color: var(--ink); font-weight: 600; }
.d-items small, .d-list small { color: var(--muted); font-size: .72rem; }
.qty { min-width: 22px; text-align: center; font-weight: 700; color: var(--blue); opacity: 0; transition: opacity .2s; }
.plus { width: 30px; height: 30px; border-radius: 9px; background: var(--sky); color: var(--blue); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, transform .15s; }
.d-items li.picked { border-color: #93c5fd; background: #f5f9ff; }
.d-items li.picked .qty { opacity: 1; }
.d-items li.tap .plus { background: var(--blue); color: #fff; transform: scale(.9); }
.d-pay { display: flex; gap: 6px; }
.d-pay span { flex: 1; text-align: center; font-size: .72rem; font-weight: 600; padding: 7px 4px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.d-pay .on { border-color: #10b981; color: var(--green); background: var(--green-bg); }
.d-save { display: flex; justify-content: space-between; align-items: center; color: #fff; background: var(--blue); border-radius: 12px; padding: 12px 14px; font-weight: 700; transition: transform .15s, background-color .2s; }
.d-save.tap { transform: scale(.97); background: #1e40af; }
.d-total { font-family: var(--head); font-size: 1rem; }
.d-toast { position: absolute; left: 12px; right: 12px; bottom: 16px; background: var(--green); color: #fff; border-radius: 12px; padding: 11px 14px; display: grid; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; pointer-events: none; }
.d-toast span { font-size: .75rem; opacity: .92; }
.d-toast.show { opacity: 1; transform: none; }
figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.replay { font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.replay:hover { text-decoration: underline; }

.pill { font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; transition: background-color .3s, color .3s; }
.pill.wait { background: var(--amber-bg); color: var(--amber); }
.pill.done { background: var(--green-bg); color: var(--green); }
.d-note { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--green); background: var(--green-bg); border-radius: 10px; padding: 9px 10px; opacity: 0; transition: opacity .3s; }
.d-note.show { opacity: 1; }


.d-sales li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 4px; }
.s-head { display: flex; justify-content: space-between; align-items: center; }
.s-head b { color: var(--ink); font-size: .95rem; }
.pay { font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.pay.cash { background: var(--green-bg); color: var(--green); }
.pay.momo { background: #fef9c3; color: #854d0e; }
.s-meta, .s-lines { font-size: .74rem; color: var(--muted); }
.s-meta b { color: var(--ink); }
.d-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 7px; }
.d-card.owner { border-color: #ddd6fe; background: #fbf9ff; }
.d-card.warn { border-color: #fde68a; }
.d-card.quiet { background: var(--soft); }
.o-head { font-weight: 600; color: var(--ink); font-size: .8rem; display: flex; align-items: center; }
.o-head em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 700; color: #fff; background: var(--violet); border-radius: 999px; padding: 2px 8px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; font-size: .76rem; }
.bar-row i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, var(--violet)); }
.w-100 { width: 100%; } .w-55 { width: 55%; }
.bar-row b { color: var(--ink); }
.ladder { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; }
.l-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; font-size: .78rem; border-bottom: 1px dashed var(--line); }
.l-row:last-child { border-bottom: 0; }
.l-row b { color: var(--ink); white-space: nowrap; }
.l-row.minus b { color: var(--muted); font-weight: 600; }
.l-row.sub span, .l-row.sub b { font-weight: 700; color: var(--ink); }
.l-row.kept { margin: 4px -10px -4px; padding: 10px; background: var(--green-bg); border-radius: 0 0 11px 11px; }
.l-row.kept span, .l-row.kept b { color: var(--green); font-weight: 700; }
.l-row.kept b { font-family: var(--head); font-size: .98rem; }
.ex { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--text); }
.ex b { margin-left: auto; color: var(--ink); }
.ex-i { width: 10px; height: 10px; border-radius: 3px; }
.c-rent { background: #4f46e5; } .c-loan { background: #7c3aed; } .c-transport { background: #0284c7; } .c-power { background: #d97706; } .c-bank { background: #0d9488; } .c-other { background: #6b7280; }
.amber { color: var(--amber) !important; }
.rank { display: flex; align-items: center; gap: 8px; font-size: .76rem; }
.rank span { width: 18px; height: 18px; border-radius: 6px; background: var(--sky); color: var(--blue); font-weight: 700; font-size: .66rem; display: flex; align-items: center; justify-content: center; }
.rank b { margin-left: auto; color: var(--ink); }
.q-line { font-size: .76rem; }
.q-line b { color: var(--ink); }

/* WhatsApp-style example */
.wa { border-radius: 26px; overflow: hidden; border: 1px solid #d5ded9; background: #ece5dd; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 24px 48px -18px rgba(18, 140, 126, .35); font-size: .82rem; }
.wa-top { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 10px 12px; }
.wa-top img { border-radius: 50%; }
.wa-top div { display: grid; line-height: 1.25; }
.wa-top small { font-size: .7rem; opacity: .85; }
.wa-body { padding: 14px 10px 16px; background: #ece5dd; }
.wa-msg { background: #fff; border-radius: 0 12px 12px 12px; padding: 11px 12px 6px; display: grid; gap: 7px; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-title { font-weight: 700; }
.wa-small { font-size: .72rem; color: var(--muted); margin-top: -5px; }
.wa-h { font-weight: 700; margin-top: 2px; display: flex; align-items: center; }
.wa-list { font-size: .78rem; }
.wa-time { text-align: right; font-size: .66rem; color: var(--muted); }

/* What changes */
.shift { padding: 44px 0 52px; background: #fff; }
.shift h2 { text-align: center; margin: 0 auto 10px; }
.rotator { text-align: center; margin: 0 0 22px; min-height: 1.6em; font-weight: 700; font-size: 1.15rem; }
.rot-word { display: inline-flex; align-items: center; gap: 8px; color: var(--tone); }
.rot-word::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.rot-word.in { animation: rot-in .45s ease-out both; }
@keyframes rot-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gains li { transition: background-color .3s, box-shadow .3s; }
.gains li.on { background: #fff; box-shadow: inset 0 0 0 2px var(--tone), 0 6px 18px rgba(15, 23, 42, .08); }
.gains { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; gap: 10px; }
.gains li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 52px; border-radius: 14px; background: var(--soft); }
.gains li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--tone); }
.gains li::after { content: ""; position: absolute; left: 25px; top: 20px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gains b { color: var(--ink); font-weight: 600; }
.gains span { color: var(--muted); font-size: .94rem; }
.g-blue { --tone: var(--blue); } .g-violet { --tone: var(--violet); } .g-amber { --tone: #d97706; }
.g-green { --tone: #059669; } .g-sky { --tone: #0284c7; } .g-wa { --tone: #25d366; }

/* Five capabilities */
.how { padding: 60px 0 24px; background: var(--soft); }
/* Feature blocks: the phone glides in from its side, the words from theirs (site.js) */
.how { overflow-x: hidden; overflow-x: clip; }
.cap-demo.sl-wait { opacity: 0; transform: translateX(32px); }
.cap-text.sl-wait { opacity: 0; transform: translateX(-32px); }
.sl-play { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .7, .2, 1); }
.cap-text.sl-play { transition-delay: .12s; }
.how h2 { margin-bottom: 12px; }
.cap { display: grid; gap: 28px; align-items: center; padding: 16px 0 44px; }
.cap + .cap { padding-top: 32px; }
.cap + .cap { border-top: 1px solid var(--line); }
/* Icons: solid two-tone pictures of the real thing, on a tile lit in the part's colour */
.cap-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 20px -10px currentColor; }
.cap-ic svg { width: 32px; height: 32px; }
.cap-ic .d1 { fill: currentColor; }
.cap-ic .d2 { fill: currentColor; opacity: .3; }
.cap-ic .w { fill: #fff; }
.cap-ic .ok { fill: #10b981; }
.cap-ic .ck { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cap-ic .wl { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.cap-ic .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-blue { background: linear-gradient(145deg, #eff6ff, #dbeafe); color: var(--blue); }
.c-violet { background: linear-gradient(145deg, #f5f3ff, var(--violet-bg)); color: var(--violet); }
.c-green { background: linear-gradient(145deg, #ecfdf5, var(--green-bg)); color: #059669; }
.c-wa { background: linear-gradient(145deg, #f0fdf4, #dcfce7); color: #128c7e; }
.c-sky { background: linear-gradient(145deg, #f0f9ff, #e0f2fe); color: #0284c7; }
.cap-text h3 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); }
.cap-text > p { margin-top: 12px; font-size: 1.05rem; }
.notes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.notes li { position: relative; padding-left: 32px; font-size: .97rem; color: var(--ink); }
.notes li::before { content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: var(--tone); }
.notes li::after { content: ""; position: absolute; left: 7.5px; top: 6px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.3px 2.3px 0; transform: rotate(45deg); }
.t-blue { --tone: var(--blue); } .t-violet { --tone: var(--violet); } .t-green { --tone: #059669; } .t-wa { --tone: #128c7e; } .t-sky { --tone: #0284c7; }
/* "How to do it": the real taps in the app, numbered in the part's colour */
.howto { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.howto-t { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.howto ol { list-style: none; counter-reset: h; padding: 0; margin: 0; display: grid; gap: 9px; }
.howto li { counter-increment: h; position: relative; padding-left: 32px; font-size: .97rem; color: var(--ink); }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--tone); color: #fff; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.aside { margin-top: 16px; font-size: .93rem; color: var(--muted); border-left: 3px solid var(--cyan); padding-left: 12px; }

/* Shops */
.shops { background: var(--navy); color: #fff; padding: 34px 0; text-align: center; }
.shops h2 { color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips span { border: 1px solid rgba(0, 194, 255, .45); border-radius: 999px; padding: 6px 13px; font-size: .88rem; font-weight: 600; }

/* Steps */
.steps-sec { padding: 56px 0 28px; }
.steps-sec h2 { margin-bottom: 28px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 68px; display: grid; gap: 3px; align-content: start; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--navy); font-family: var(--head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps b { color: var(--ink); font-size: 1.05rem; }
.steps span { color: var(--muted); }
/* Lists that land one by one when seen (site.js sets each delay) */
.rv-wait > * { opacity: 0; transform: translateY(10px); }
.rv-play > * { opacity: 1; transform: none; transition: opacity .45s ease-out, transform .45s ease-out; }
/* Three steps: a line runs down through the numbers, each lights up as it arrives */
.steps { position: relative; }
.steps li::before { transition: background-color .3s, color .3s, box-shadow .3s; }
@media (max-width: 899px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 33.5px; top: 54px; bottom: -28px; width: 3px; border-radius: 3px; background: var(--blue); transform-origin: top; }
  .steps li:nth-child(2)::after { background: linear-gradient(var(--blue), var(--green)); }
  .steps li::before { z-index: 1; }
}
.steps.st-wait li::after { transform: scaleY(0); }
.steps.st-wait li { opacity: 0; transform: translateX(-12px); }
.steps.st-play li::after { transform: scaleY(1); transition: transform .5s ease-in-out .45s; }
.steps.st-play li:nth-child(2)::after { transition-delay: 1.15s; }
.steps.st-play li { opacity: 1; transform: none; transition: opacity .45s ease-out, transform .45s ease-out; }
.steps.st-play li:nth-child(2) { transition-delay: .7s; } .steps.st-play li:nth-child(3) { transition-delay: 1.4s; }
.steps.st-play li::before { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px #dbeafe; }
.steps.st-play li:nth-child(1)::before { transition-delay: .3s; } .steps.st-play li:nth-child(2)::before { transition-delay: 1s; }
.steps.st-play li:nth-child(3)::before { background: var(--green); box-shadow: 0 0 0 5px #d1fae5; transition-delay: 1.7s; }

/* Price */
.price { padding: 60px 0; background: linear-gradient(180deg, #fff, var(--sky)); }
.price-grid { display: grid; gap: 28px; align-items: center; }
.price-card { background: #fff; border: 1.5px solid #bfdbfe; border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); max-width: 460px; width: 100%; justify-self: center; }
.pc-free { display: inline-block; background: var(--green-bg); color: var(--green); font-weight: 700; border-radius: 999px; padding: 5px 13px; font-size: .9rem; }
.pc-amount { margin-top: 14px; font-family: var(--head); font-weight: 800; font-size: 2.3rem; color: var(--navy); line-height: 1.1; }
.pc-amount small { display: block; font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
/* Same colours as the app's Register page: the small daily amount, then the safety */
.pc-day { margin-top: 10px; font-size: .95rem; }
.pc-day b { color: var(--green); font-weight: 700; }
.pc-day span { color: var(--blue); font-weight: 600; white-space: nowrap; }
.pc-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 11px; }
.pc-list li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.pc-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #059669; }
.pc-list li::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.3px 2.3px 0; transform: rotate(45deg); }
.pc-pay { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
/* The free month as three steps: when payment comes is never a surprise */
.pc-steps { list-style: none; padding: 0; margin: 18px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.pc-steps::before, .pc-steps::after { content: ""; position: absolute; top: 7px; left: 16.6%; right: 16.6%; height: 3px; border-radius: 3px; background: #e2e8f0; }
.pc-steps::after { background: linear-gradient(90deg, var(--green) 0 50%, var(--navy) 50% 100%); transform-origin: left; }
.pc-steps li { position: relative; z-index: 1; text-align: center; display: grid; gap: 1px; padding-top: 22px; font-size: .82rem; color: var(--muted); }
.pc-steps li::before { content: ""; position: absolute; top: 0; left: 50%; width: 17px; height: 17px; margin-left: -8.5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #fff; }
.pc-steps li:last-child::before { background: var(--navy); }
.pc-steps b { color: var(--ink); font-size: .9rem; }
/* Reassurance as three quick ticks beside the price */
.sure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sure li { position: relative; display: inline-flex; align-items: center; background: var(--green-bg); border: 1px solid #bbf7d0; color: var(--green); font-weight: 700; font-size: .9rem; border-radius: 999px; padding: 6px 13px 6px 34px; }
.sure li::before { content: ""; position: absolute; left: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #059669; }
.sure li::after { content: ""; position: absolute; left: 13.5px; top: 50%; width: 5px; height: 9px; margin-top: -7px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
/* Motion once the card is seen (site.js adds .wait, then .play) */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.price-card { position: relative; }
.price-card::before { content: ""; position: absolute; inset: -1.5px; border-radius: 23px; padding: 2px; background: conic-gradient(from var(--spin), #bfdbfe, var(--blue), #34d399, #bfdbfe 40%, #bfdbfe); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: spin 6s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
.price-card.wait .pc-steps::after { transform: scaleX(0); }
.price-card.wait .pc-steps li, .price-card.wait .pc-list li { opacity: 0; transform: translateY(8px); }
.price-card.play .pc-steps::after { transition: transform 1.4s ease-out .3s; transform: scaleX(1); }
.price-card.play .pc-steps li, .price-card.play .pc-list li { transition: opacity .4s ease-out, transform .4s ease-out; opacity: 1; transform: none; }
.price-card.play .pc-steps li:nth-child(2) { transition-delay: .7s; } .price-card.play .pc-steps li:nth-child(3) { transition-delay: 1.4s; }
.price-card.play .pc-list li:nth-child(1) { transition-delay: 1.7s; } .price-card.play .pc-list li:nth-child(2) { transition-delay: 1.85s; }
.price-card.play .pc-list li:nth-child(3) { transition-delay: 2s; } .price-card.play .pc-list li:nth-child(4) { transition-delay: 2.15s; }
.price-card.play .pc-list li:nth-child(5) { transition-delay: 2.3s; } .price-card.play .pc-list li:nth-child(6) { transition-delay: 2.45s; }
.price-card.play .pc-list li:nth-child(7) { transition-delay: 2.6s; }
/* Phones: "Start free" stays one tap away once the top is passed */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s ease-out; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-cta small { color: var(--green); font-weight: 700; font-size: .8rem; line-height: 1.2; }
body.has-sticky { padding-bottom: 76px; }
.top-actions .btn-main { transition: opacity .2s; }
body.bar-on .top-actions .btn-main { opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } body.has-sticky { padding-bottom: 0; } body.bar-on .top-actions .btn-main { opacity: 1; pointer-events: auto; } }
/* Legal pages: the way back sits at the top too */
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }

/* Trust */
.trust { padding: 56px 0; }
.trust h2 { margin-bottom: 28px; }
.trust-grid { display: grid; gap: 14px; }
.t-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.t-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.t-item p { font-size: .95rem; color: var(--text); }

/* Questions */
.faq { padding: 20px 0 60px; }
.faq-wrap { max-width: 760px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { padding: 0 0 18px; color: var(--text); }

/* Last call and footer */
.final { background: var(--navy); color: #dbeafe; text-align: center; padding: 56px 0; }
.final h2 { color: #fff; }
.final p { margin: 10px 0 24px; font-size: 1.05rem; }
.foot { background: #0b1220; color: #cbd5e1; padding: 40px 0 22px; font-size: .93rem; }
.foot a { color: #e2e8f0; text-decoration: none; white-space: nowrap; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 5px 0; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-h { color: #fff; font-weight: 600; }
.foot-reg { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px !important; padding: 9px 14px; border: 1px solid #1e293b; border-radius: 14px; background: #111a2e; color: #e2e8f0; }
.foot-reg span { display: grid; line-height: 1.3; }
.foot-reg b { font-size: .92rem; font-weight: 700; color: #fff; }
.foot-reg small { font-size: .8rem; color: #94a3b8; }
.foot-reg svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #34d399; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) { .hero-copy .eyebrow { text-align: center; } }
.foot-tag { color: var(--cyan); font-size: .75rem; letter-spacing: .2em; font-weight: 600; margin-top: 10px !important; }
.brand-dark { color: #fff; }
.brand-dark b { color: var(--cyan); }
.foot .copy { margin: 28px auto 0; color: #64748b; }
.foot-brand { grid-column: 1 / -1; }

/* Legal pages */
.legal { max-width: 760px; padding: 44px 16px 64px; }
.legal h1 { font-size: 2rem; margin-bottom: 14px; }
.legal p { margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin: 5px 0; }

/* Entrance: once, gently */
.rise { animation: rise .6s ease-out both; }
.rise-2 { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .gains, .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
  .wrap { padding: 0 24px; }
}
@media (min-width: 900px) {
  .top-nav { display: flex; }
  .top-actions .btn { padding: 0 16px; }
  .hero { padding: 64px 0 170px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .cap { grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 20px 0 52px; }
  .cap + .cap { padding-top: 44px; }
  .cap-flip .cap-text { order: 2; }
  .cap-flip .cap-demo.sl-wait { transform: translateX(-32px); }
  .cap-flip .cap-text.sl-wait { transform: translateX(32px); }
  .price-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .gains { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sticky-cta { transition: none; }
}
