/* Kinmelo landing site — same palette and fonts as the app (app/src/index.css). */
:root {
  --forest-50: #effaf4;
  --forest-100: #d8f1e3;
  --forest-200: #b2e3c9;
  --forest-300: #7dcca9;
  --forest-500: #21906a;
  --forest-600: #117556;
  --forest-700: #0c5f46;
  --forest-800: #0a4c39;
  --forest-900: #083e2f;
  --forest-950: #04241b;
  --marigold-100: #ffedc7;
  --marigold-300: #fdc14e;
  --marigold-400: #fbad25;
  --marigold-500: #f59e0b;
  --cream: #fbf8f1;
  --cream-2: #f3eee2;
  --line: #e5dfcf;
  --ink: #1a221e;
  --ink-2: #3d463f;
  --muted: #707970;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(26 34 30 / 0.05), 0 12px 32px -12px rgb(26 34 30 / 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Mukta", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: "Poppins", "Mukta", system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--marigold-100); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest-600); }
h1.eyebrow { font-family: "Mukta", system-ui, sans-serif; line-height: 1.6; }
.lead { font-size: 19px; color: var(--ink-2); }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--marigold-400); color: var(--forest-950); box-shadow: 0 8px 20px -8px rgb(245 158 11 / 0.7); }
.btn-primary:hover { background: var(--marigold-300); }
.btn-dark { background: var(--forest-700); color: #fff; }
.btn-dark:hover { background: var(--forest-800); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-light { background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
.btn-light:hover { background: rgb(255 255 255 / 0.18); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(251 248 241 / 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 21px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a[aria-current="page"] { color: var(--forest-700); }
@media (max-width: 1080px) { .nav { gap: 18px; } }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.nav a:hover { color: var(--forest-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 16px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 17px; }
  .menu-toggle { display: block; }
  .header-actions .login { display: none; }
}

/* ── Hero: one day in a shop ─────────────────────────────────────────────
   main.js plays the story: the current card (.fc) gets .on, earlier ones
   .done; it sets --sun-x / --sun-y / --night on .hero so the light moves
   from morning to evening, and draws #hero-path through the cards. Every
   animation inside a card is keyed off .on, so re-adding it replays. */
.hero { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; min-height: max(720px, calc(100svh - 70px)); background: linear-gradient(180deg, #0d6a4e 0%, var(--forest-900) 52%, var(--forest-950) 100%); --sun-x: 12%; --sun-y: 70%; --night: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .08) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #071a33 0%, rgb(7 26 51 / .55) 55%, transparent 100%); opacity: var(--night); transition: opacity 2.4s ease; }
.hero-sun { position: absolute; width: 980px; height: 980px; left: var(--sun-x); top: var(--sun-y); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgb(251 191 36 / .32) 0%, rgb(251 173 37 / .12) 30%, transparent 62%); transition: left 2.4s ease-in-out, top 2.4s ease-in-out; }
.hero-flower { position: absolute; width: 760px; height: 760px; left: 50%; top: 50%; margin: -380px 0 0 -380px; opacity: .06; animation: spin 90s linear infinite; }
.hero-rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .1); animation: ring 140s linear infinite; }
.hero-rings i:nth-child(1) { width: 560px; height: 560px; }
.hero-rings i:nth-child(2) { width: 900px; height: 900px; animation-direction: reverse; }
.hero-rings i:nth-child(3) { width: 1260px; height: 1260px; }
.hero-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-path path { fill: none; stroke: var(--marigold-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: stroke-dashoffset 1.1s ease-in-out; }
.hero-path circle { fill: var(--marigold-400); filter: drop-shadow(0 0 6px var(--marigold-400)); transition: transform 1.1s ease-in-out, opacity .4s; }

.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 0 170px; }
.hero-inner > * { max-width: 680px; }
.hero .eyebrow { color: var(--marigold-300); }
.hero .hero-title { font-size: clamp(40px, 6.2vw, 74px); font-weight: 700; margin-top: 14px; }
.hero .hero-title .accent { color: var(--marigold-300); position: relative; white-space: nowrap; }
.hero .lead { margin-top: 20px; font-size: 19px; color: rgb(255 255 255 / .8); }
.hero .ne { margin-top: 8px; font-size: 18px; color: var(--forest-200); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .hero-cta { justify-content: center; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓ "; color: var(--forest-600); font-weight: 700; }
.hero .hero-note { justify-content: center; color: rgb(255 255 255 / .7); }
.hero .hero-note span::before { color: var(--marigold-300); }

/* Ambient chips near the title */
.amb { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: rgb(255 255 255 / .85); font-size: 13px; font-weight: 600; white-space: nowrap; animation: bob 7s ease-in-out infinite; }
.amb-lang { left: 24%; top: 5%; }
.amb-staff { right: 24%; top: 6%; animation-delay: -3s; }
.faces { display: inline-flex; }
.faces i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--marigold-400); color: var(--forest-950); font: 800 11px "Mukta", sans-serif; margin-left: -6px; border: 2px solid var(--forest-800); }
.faces i:first-child { margin-left: 0; }
.flip { display: inline-grid; }
.flip i { grid-area: 1 / 1; font-style: normal; }
.flip i:first-child { animation: flipA 6s infinite; }
.flip i:last-child { animation: flipB 6s infinite; }

/* Story cards */
.fc { position: absolute; z-index: 1; width: 220px; opacity: 0; transform: translateY(18px) scale(.92); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.fc.on, .fc.done { opacity: 1; transform: none; }
.fc-in { background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 14px; font-size: 13px; line-height: 1.35; box-shadow: 0 24px 48px -20px rgb(0 0 0 / .6); transition: opacity .6s, box-shadow .6s; }
.fc.on .fc-in { box-shadow: 0 0 0 2px var(--marigold-400), 0 30px 60px -18px rgb(0 0 0 / .7); animation: bob 5s .6s ease-in-out infinite; }
.fc.done .fc-in { opacity: .55; }
.fc-label { font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-700); }
.fc-foot { margin-top: 2px; color: var(--muted); font-size: 12px; }
.fc-foot b { color: var(--ink); }
.chip-ok, .chip-due { display: inline-block; border-radius: 8px; padding: 3px 8px; font-weight: 700; font-size: 11.5px; }
.chip-ok { background: var(--forest-600); color: #fff; }
.chip-due { background: var(--marigold-100); color: #92460e; }
.fc .a1, .fc .a2, .fc .a3, .fc .a4 { opacity: 0; }
.fc.done .a1, .fc.done .a2, .fc.done .a3, .fc.done .a4 { opacity: 1; }
.fc.on .a1 { animation: rise .4s .5s both; } .fc.on .a2 { animation: rise .4s 1.1s both; }
.fc.on .a3 { animation: rise .4s 1.6s both; } .fc.on .a4 { animation: pop .45s 2s both; }
.fc .ln { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--ink-2); }
.fc .ln b { color: var(--ink); }

.fc-scan { width: 236px; }
.fc-scan .fc-in { display: flex; align-items: center; gap: 10px; }
.fc-stack { display: grid; gap: 4px; justify-items: start; }
.scanner { position: relative; flex: none; width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, #2b3a33, #121a16); overflow: hidden; }
.scanner .frame { position: absolute; inset: 14%; border: 2px solid rgb(255 255 255 / .7); border-radius: 6px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .85) 0 2px, transparent 2px 5px) center / 70% 40% no-repeat; }
.scanner .beam { position: absolute; left: 10%; right: 10%; height: 2px; top: 20%; background: var(--marigold-400); box-shadow: 0 0 8px var(--marigold-400); }
.fc.on .beam, .chapter.on .beam { animation: beam 1.4s ease-in-out infinite; }
.fc-bill { width: 200px; }
.fc-bill .ln { border-bottom: 1px dashed var(--line); }
.bill-total { display: flex; justify-content: space-between; font-weight: 800; margin: 6px 0; }
.fc-stock { width: 256px; }
.fc-stock .fc-in { display: flex; align-items: center; gap: 10px; }
.fc-stock small { display: block; color: var(--muted); font-size: 11px; }
.app-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--forest-700); color: var(--marigold-300); display: grid; place-items: center; font-weight: 800; }
.low { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; background: var(--marigold-100); color: #92460e; border-radius: 999px; padding: 2px 8px; }
.fc.on .low { animation: pulse 1.2s .6s 3; }
.fc-purchase { width: 224px; }
.plus { font-style: normal; background: var(--forest-100); color: var(--forest-800); font-weight: 800; font-size: 11px; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.fc-purchase .chip-due { margin-top: 6px; }
.fc-udharo { width: 214px; }
.who { display: flex; align-items: center; gap: 8px; }
.who small { display: block; color: var(--muted); font-size: 11px; }
.who .avatar { width: 30px; height: 30px; font-size: 11px; }
.due { margin: 6px 0; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 17px; color: #7a3a0c; }
.fc-web { width: 236px; }
.fc-web .chip-ok { margin-top: 4px; }
.fc-deliver { width: 230px; }
.road { position: relative; height: 26px; margin: 6px 0; border-bottom: 2px dashed var(--line); }
.bike { position: absolute; left: 0; bottom: 1px; font-size: 20px; }
.fc.on .bike { animation: ride 2.2s .3s ease-in-out both; }
.fc.done .bike { left: calc(100% - 24px); }
.steps3 { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--muted); }
.fc .steps3 span { opacity: .4; }
.fc.done .steps3 span { opacity: 1; }
.fc.on .steps3 .a1 { animation: lit .3s .5s both; } .fc.on .steps3 .a2 { animation: lit .3s 1.3s both; } .fc.on .steps3 .a3 { animation: lit .3s 2.3s both; }
.fc-profit { width: 204px; }
.fc-profit strong { display: block; font-family: "Poppins", sans-serif; font-size: 22px; color: var(--forest-800); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin: 8px 0 4px; }
.bars i { flex: 1; height: var(--h); background: var(--forest-500); border-radius: 4px 4px 1px 1px; transform-origin: bottom; }
.bars i:last-child { background: var(--marigold-500); }
.fc.on .bars i { animation: grow .6s both; }
.fc.on .bars i:nth-child(2) { animation-delay: .1s; } .fc.on .bars i:nth-child(3) { animation-delay: .2s; }
.fc.on .bars i:nth-child(4) { animation-delay: .3s; } .fc.on .bars i:nth-child(5) { animation-delay: .45s; }

/* Where each moment happens: a U around the title, in story order */
.fc-scan { left: 4%; top: 11%; }
.fc-bill { left: 3%; top: 38%; }
.fc-stock { left: 6%; bottom: 22%; }
.fc-purchase { left: 26%; bottom: 11%; }
.fc-udharo { right: 26%; bottom: 11%; }
.fc-web { right: 5%; bottom: 22%; }
.fc-deliver { right: 3%; top: 38%; }
.fc-profit { right: 4%; top: 11%; }
@media (max-width: 1240px) {
  .fc { scale: .84; }
  .fc-scan, .fc-bill, .fc-stock { transform-origin: left center; }
  .fc-web, .fc-deliver, .fc-profit { transform-origin: right center; }
  .fc-scan, .fc-bill { left: 1.5%; } .fc-stock { left: 2.5%; }
  .fc-deliver, .fc-profit { right: 1.5%; } .fc-web { right: 2.5%; }
  .fc-purchase { left: 22%; } .fc-udharo { right: 22%; }
  .hero-inner > * { max-width: 600px; }
  .amb-lang { left: 20%; } .amb-staff { right: 20%; }
}

/* The narrator bar */
.story-bar { position: relative; z-index: 3; border-top: 1px solid rgb(255 255 255 / .1); background: rgb(4 36 27 / .6); }
.story-bar .wrap { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.story-time { flex: none; min-width: 78px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px; color: var(--marigold-300); }
.story-caption { flex: 1; min-width: 0; min-height: 1.4em; font-weight: 600; font-size: 15px; line-height: 1.4; color: rgb(255 255 255 / .88); }
.story-dots { flex: none; display: flex; gap: 4px; }
.story-dots button { width: 30px; padding: 8px 0; border: 0; background: none; cursor: pointer; }
.story-dots i { position: relative; display: block; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .2); overflow: hidden; }
.story-dots i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--marigold-400); }
.story-dots button.done i::after { width: 100%; }
.story-dots button.on i::after { animation: progress var(--step-ms, 2800ms) linear both; }
.story-bar.paused .story-dots button.on i::after { animation-play-state: paused; }
.story-dots button:focus-visible, .story-pause:focus-visible { outline: 3px solid var(--marigold-300); outline-offset: 2px; border-radius: 4px; }
.story-pause { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); background: transparent; border-radius: 50%; color: #fff; cursor: pointer; padding: 0; }
.story-pause:hover { background: rgb(255 255 255 / .1); }
.story-pause .ic-play { display: none; }
.story-pause[aria-pressed="true"] .ic-play { display: block; }
.story-pause[aria-pressed="true"] .ic-pause { display: none; }
.hero.paused *, .hero.paused *::before, .hero.paused *::after { animation-play-state: paused !important; }

/* Phones and tablets: the moments play one at a time under the title. */
@media (max-width: 960px) {
  .hero-inner { justify-content: flex-start; padding: 104px 0 270px; }
  .hero-path { display: none; }
  .fc, .fc-scan, .fc-bill, .fc-stock, .fc-purchase, .fc-udharo, .fc-web, .fc-deliver, .fc-profit { left: 50%; right: auto; top: auto; bottom: 120px; translate: -50% 0; scale: 1; transform-origin: center bottom; }
  .fc.done { opacity: 0; transform: translateY(-12px) scale(.96); }
  .fc.done .fc-in { opacity: 1; }
  .amb-lang { left: 4%; top: 26px; } .amb-staff { right: 4%; top: 62px; }
  .story-bar .wrap { flex-wrap: wrap; gap: 4px 12px; }
  .story-caption { order: 3; flex-basis: 100%; font-size: 14.5px; }
  .story-dots { margin-left: auto; }
  .story-dots button { width: 22px; }
}
@media (max-width: 560px) {
  .hero-inner { padding-bottom: 280px; }
  .hero .lead { font-size: 17px; }
  .story-dots button { width: 16px; }
  .amb { font-size: 12px; padding: 6px 11px; }
}

/* ── Feature tour ───────────────────────────────────────────────────────── */
.tour { padding: 96px 0 64px; }
.tour .section-head { margin-bottom: 28px; }
.tour-nav { position: sticky; top: 70px; z-index: 20; background: rgb(251 248 241 / .92); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.tour-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.tour-nav .wrap::-webkit-scrollbar { display: none; }
.tour-nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 7px 15px; border-radius: 999px; transition: background .25s, color .25s; }
.tour-nav a:hover { color: var(--forest-700); }
.tour-nav a.on { background: var(--forest-700); color: #fff; }

.chapter { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; padding: 72px 0; scroll-margin-top: 130px; }
.chapter:nth-child(even) .ch-text { order: 2; }
.ch-num { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-600); }
.ch-text h3 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.ch-text > p:not(.ch-num) { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.ch-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.ch-points li { display: flex; gap: 10px; color: var(--ink-2); }
.ch-points li::before { content: "✓"; color: var(--forest-600); font-weight: 800; }
.js .ch-text, .js .ch-art { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .ch-art { transform: translateY(40px) scale(.97); transition-delay: .12s; }
.chapter.seen .ch-text, .chapter.seen .ch-art { opacity: 1; transform: none; }

.ch-art { position: relative; min-height: 420px; border-radius: 32px; background: linear-gradient(150deg, var(--forest-50), var(--cream-2)); border: 1px solid var(--line); padding: 40px 28px; display: grid; place-items: center; overflow: hidden; }
.ch-flower { position: absolute; width: 320px; height: 320px; right: -90px; top: -90px; opacity: .16; }
.chapter:nth-child(even) .ch-flower { right: auto; top: auto; left: -90px; bottom: -90px; }
.chapter.on .ch-flower { animation: spin 40s linear infinite; }
.panel { position: relative; z-index: 1; width: min(100%, 420px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 10px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-head b { font-family: "Poppins", sans-serif; font-size: 15px; }
.pill { font-size: 11.5px; font-weight: 700; background: var(--forest-50); color: var(--forest-700); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-100); color: var(--forest-800); font-weight: 800; font-size: 13px; flex: none; }
.toast { justify-self: center; background: var(--forest-900); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 7px 14px; opacity: 0; }
.checkout { display: flex; align-items: center; justify-content: space-between; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.checkout small { display: block; font-size: 11px; color: var(--muted); }
.checkout strong { font-family: "Poppins", sans-serif; font-size: 20px; font-variant-numeric: tabular-nums; }
.paybtn { background: var(--forest-600); color: #fff; font-weight: 700; font-size: 13px; border-radius: 10px; padding: 8px 18px; }

/* 01 Sell */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px; font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.tile .dot { display: block; width: 100%; height: 26px; border-radius: 8px; margin-bottom: 6px; }
.tile b { display: block; margin-top: 2px; color: var(--ink); font-size: 12px; }
.chapter.on .t1 { animation: tap .55s .3s both; } .chapter.on .t2 { animation: tap .55s 1s both; } .chapter.on .t3 { animation: tap .55s 1.7s both; }
.chapter.on .art-sell .paybtn { animation: press .5s 2.4s both; }
.chapter.on .art-sell .toast { animation: rise .45s 2.85s both; }
.mini-phone { position: absolute; z-index: 2; left: 18px; bottom: 18px; width: 118px; display: grid; gap: 6px; justify-items: center; border-radius: 22px; background: var(--forest-950); padding: 7px 7px 10px; box-shadow: var(--shadow); }
.mini-phone .scanner { width: 100%; height: 108px; border-radius: 16px; }
.added { background: var(--forest-600); color: #fff; font-weight: 700; font-size: 11px; border-radius: 8px; padding: 4px 8px; opacity: 0; }
.chapter.on .added { animation: rise .4s .5s both; }

/* 02 Stock */
.srow { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; }
.srow span:first-child { flex: 1; }
.srow b { font-variant-numeric: tabular-nums; }
.lowtag { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--marigold-100); color: #92460e; border-radius: 999px; padding: 2px 8px; opacity: 0; }
.chapter.on .srow { animation: rise .4s both; }
.chapter.on .srow:nth-child(3) { animation: rise .4s .06s both, flash 1.2s 1.1s both; }
.chapter.on .srow:nth-child(4) { animation-delay: .12s; } .chapter.on .srow:nth-child(5) { animation-delay: .18s; } .chapter.on .srow:nth-child(6) { animation-delay: .24s; }
.chapter.on .lowtag { animation: pop .4s 1.1s both; }
.notif { position: absolute; z-index: 2; top: 22px; right: 22px; width: 236px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 13px; opacity: 0; }
.notif small { display: block; color: var(--muted); font-size: 11px; }
.chapter.on .notif { animation: drop .5s 1.4s both; }
.art-stock .panel { margin-top: 48px; }
.qr-label { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px dashed var(--forest-300); border-radius: 12px; padding: 8px 12px 8px 8px; box-shadow: var(--shadow); font-size: 12px; opacity: 0; }
.qr-label small { display: block; color: var(--muted); }
.qr { width: 44px; height: 44px; border-radius: 4px; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 11px 11px; }
.chapter.on .qr-label { animation: rise .5s 2.1s both; }

/* 03 Udharo */
.cust { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.cust strong { display: block; font-size: 14px; } .cust small { color: var(--muted); font-size: 11.5px; }
.owes { border-radius: 16px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #7a3a0c, #4a2306); }
.owes small { color: var(--marigold-300); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.owes strong { display: block; font-family: "Poppins", sans-serif; font-size: 26px; font-variant-numeric: tabular-nums; }
.payrow { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--forest-200); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; opacity: 0; }
.payrow b { color: var(--forest-600); }
.points { justify-self: start; background: var(--marigold-100); color: #92460e; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 5px 12px; opacity: 0; }
.chapter.on .payrow { animation: rise .45s .9s both; }
.chapter.on .points { animation: pop .45s 1.9s both; }
.chapter.on .art-udharo .owes strong { animation: press .5s 1.5s both; }

/* 04 Purchases */
.pline { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 12px; padding: 9px 12px; font-size: 13px; }
.pline span { flex: 1; }
.pline .plus { opacity: 0; }
.chapter.on .pline .plus { animation: pop .4s .5s both; }
.chapter.on .pline + .pline .plus { animation-delay: .8s; }
.chapter.on .art-purchase .paybtn { animation: press .5s 1.25s both, press2 .5s 2.45s both; }
.chapter.on .art-purchase .toast { animation: rise .45s 3.1s both; }

/* 05 Expenses */
.erow { display: grid; grid-template-columns: 78px 1fr 60px; align-items: center; gap: 10px; font-size: 13px; }
.erow i { display: block; height: 10px; width: var(--w); border-radius: 6px; background: var(--forest-500); transform-origin: left; }
.erow:nth-child(3) i { background: var(--marigold-500); }
.erow b { text-align: right; font-variant-numeric: tabular-nums; }
.chapter.on .erow i { animation: growx .7s both; }
.chapter.on .erow:nth-child(3) i { animation-delay: .12s; } .chapter.on .erow:nth-child(4) i { animation-delay: .24s; } .chapter.on .erow:nth-child(5) i { animation-delay: .36s; }
.owes.net { background: linear-gradient(135deg, var(--forest-700), var(--forest-900)); }
.slip { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; opacity: 0; }
.slip small { color: var(--muted); font-size: 11px; }
.slip em { font-style: normal; font-weight: 800; color: var(--forest-700); }
.chapter.on .slip { animation: pop .5s 1.8s both; }

/* 06 Profit */
.mock-hero { border-radius: 16px; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--forest-800), var(--forest-950)); }
.mock-hero small { color: var(--marigold-300); font-weight: 700; font-size: 11px; letter-spacing: .12em; }
.mock-hero strong { display: block; font-family: "Poppins", sans-serif; font-size: 26px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards.two { grid-template-columns: 1fr 1fr; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 12px; color: var(--muted); }
.mock-card strong { display: block; color: var(--ink); font-size: 15px; font-family: "Poppins", sans-serif; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--forest-600); transform-origin: bottom; }
.mock-bars i:last-child { background: var(--marigold-500); }
.chapter.on .mock-bars i { animation: grow .7s cubic-bezier(.2,.8,.2,1) both; }
.chapter.on .mock-bars i:nth-child(2) { animation-delay: .08s; } .chapter.on .mock-bars i:nth-child(3) { animation-delay: .16s; }
.chapter.on .mock-bars i:nth-child(4) { animation-delay: .24s; } .chapter.on .mock-bars i:nth-child(5) { animation-delay: .32s; }
.chapter.on .mock-bars i:nth-child(6) { animation-delay: .4s; } .chapter.on .mock-bars i:nth-child(7) { animation-delay: .55s; }
.chapter.on .art-profit .mock-card { animation: rise .5s both; }
.chapter.on .art-profit .mock-card:nth-child(2) { animation-delay: .1s; } .chapter.on .art-profit .mock-card:nth-child(3) { animation-delay: .2s; }

/* 07 Delivery */
.order { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.order strong { display: block; font-size: 14px; } .order small { color: var(--muted); font-size: 11.5px; }
.orderamt { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 14px; white-space: nowrap; }
.couriers { display: flex; gap: 8px; }
.dispatch { background: #e11d48; color: #fff; font-weight: 700; font-size: 13px; border-radius: 10px; padding: 9px 16px; }
.courier-alt { border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13px; color: var(--muted); }
.chapter.on .dispatch { animation: press .5s .5s both; }
.track { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.st { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--muted); }
.st i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex: none; position: relative; z-index: 1; }
.st + .st::before { content: ""; position: absolute; left: 7px; top: -9px; height: 18px; width: 2px; background: var(--line); }
.chapter.on .st1 { animation: done .4s 1.1s both; } .chapter.on .st2 { animation: done .4s 1.9s both; } .chapter.on .st3 { animation: done .4s 3.4s both; }
.chapter.on .st1 i { animation: dot .4s 1.1s both; } .chapter.on .st2 i { animation: dot .4s 1.9s both; } .chapter.on .st3 i { animation: dot .4s 3.4s both; }
.art-deliver .road { margin: 2px 6px 4px; }
.chapter.on .art-deliver .bike { animation: ride 1.6s 1.9s ease-in-out both; }

/* 08 Website */
.browser { padding: 0; gap: 0; overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--cream-2); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-2); }
.mock-url { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 2px 12px; }
.shop-banner { margin: 12px 12px 0; border-radius: 12px; padding: 16px 14px; color: #fff; font-weight: 700; background: linear-gradient(120deg, #7a3a0c, #c2410c); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.sp { border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: 12px; color: var(--ink-2); }
.sp span { display: block; height: 60px; border-radius: 8px; margin-bottom: 6px; }
.sp b { display: block; color: var(--ink); }
.chapter.on .sp { animation: rise .45s .3s both; }
.chapter.on .sp:nth-child(2) { animation-delay: .45s; } .chapter.on .sp:nth-child(3) { animation-delay: .6s; }
.sync { position: absolute; z-index: 2; top: 22px; left: 22px; background: var(--forest-700); color: #fff; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 6px 12px; opacity: 0; }
.chapter.on .sync { animation: pop .45s 1s both; }
.web-toast { position: absolute; z-index: 2; right: 22px; bottom: 22px; }
.chapter.on .web-toast { animation: rise .45s 2s both; }

/* 09 Team */
.mrow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 13px; }
.mrow div { flex: 1; min-width: 0; }
.mrow b { display: block; } .mrow small { color: var(--muted); font-size: 11.5px; }
.mrow .avatar { width: 32px; height: 32px; font-size: 11px; }
.role { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; background: var(--cream-2); color: var(--muted); }
.r-admin { background: var(--forest-700); color: #fff; }
.r-manager { background: var(--marigold-100); color: #92460e; }
.chapter.on .mrow { animation: rise .4s both; }
.chapter.on .mrow:nth-child(3) { animation-delay: .15s; } .chapter.on .mrow:nth-child(4) { animation-delay: .3s; } .chapter.on .mrow:nth-child(5) { animation-delay: .45s; }
.chapter.on .role { animation: pop .4s .8s both; }
.chapter.on .mrow:nth-child(3) .role { animation-delay: 1s; } .chapter.on .mrow:nth-child(4) .role { animation-delay: 1.2s; } .chapter.on .mrow:nth-child(5) .role { animation-delay: 1.4s; }

/* 10 Language */
.art-lang { padding-bottom: 84px; }
.lang-switch { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 800; }
.lang-switch i { font-style: normal; padding: 2px 10px; border-radius: 999px; }
.lang-switch i:first-child { animation: langA 6s infinite; }
.lang-switch i:last-child { animation: langB 6s infinite; }
.devices { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; }
.devices span { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px -10px rgb(0 0 0 / .3); }

.more { margin-top: 32px; text-align: center; }
.more-chips { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.more-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--ink-2); }
.more-chips span::before { content: "✿ "; color: var(--marigold-500); }

@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .chapter:nth-child(even) .ch-text { order: 0; }
  .ch-art { min-height: 360px; }
}
@media (max-width: 560px) {
  .ch-art { padding: 28px 14px; border-radius: 24px; }
  .mini-phone, .qr-label, .slip { display: none; }
  .notif { top: 12px; right: 12px; width: 210px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile:nth-child(n+5) { display: none; }
  .art-profit .mock-cards { grid-template-columns: repeat(2, 1fr); }
  .art-profit .mock-card:nth-child(1) { display: none; }
  .sync { top: 10px; left: 10px; }
  .web-toast { right: 10px; bottom: 10px; }
  .devices { gap: 5px; }
  .devices span { padding: 5px 9px; font-size: 12px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.7); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes tap { 0% { transform: none; } 35% { transform: scale(.94); border-color: var(--marigold-400); box-shadow: 0 0 0 4px rgb(251 173 37 / .35); } 100% { transform: none; border-color: var(--forest-300); box-shadow: 0 0 0 2px rgb(125 204 169 / .5); } }
@keyframes press { 0% { transform: none; } 40% { transform: scale(.9); filter: brightness(1.15); } 100% { transform: none; } }
@keyframes press2 { 0% { transform: none; } 40% { transform: scale(.9); filter: brightness(1.15); } 100% { transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes growx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes beam { 0%, 100% { top: 20%; } 50% { top: 76%; } }
@keyframes flash { 0%, 100% { background: #fff; } 30% { background: var(--marigold-100); } }
@keyframes done { to { color: var(--ink); font-weight: 700; } }
@keyframes dot { to { background: var(--forest-600); border-color: var(--forest-600); box-shadow: 0 0 0 4px var(--forest-100); } }
@keyframes ride { from { left: 0; } to { left: calc(100% - 24px); } }
@keyframes lit { to { opacity: 1; color: var(--forest-700); font-weight: 700; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(251 173 37 / .6); } 50% { box-shadow: 0 0 0 7px rgb(251 173 37 / 0); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes flipA { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes flipB { 0%, 42% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes langA { 0%, 42%, 100% { background: var(--forest-700); color: #fff; } 50%, 92% { background: transparent; color: var(--muted); } }
@keyframes langB { 0%, 42%, 100% { background: transparent; color: var(--muted); } 50%, 92% { background: var(--forest-700); color: #fff; } }

/* Motion off: everything shows its finished state; nothing moves by itself (main.js). */
@media (prefers-reduced-motion: reduce) {
  .hero *, .tour * { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .flip i:last-child { display: none; }
}


/* Feature grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgb(26 34 30 / .04); }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--forest-50); color: var(--forest-700); font-size: 22px; }
.card h3 { font-size: 19px; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--marigold-400); color: var(--forest-950); font-family: "Poppins", sans-serif; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); }

/* Pricing */
.pricing { background: #fff; border-block: 1px solid var(--line); }
.period { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 4px; margin: 0 auto 36px; }
.period button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 15px "Mukta", sans-serif; color: var(--muted); cursor: pointer; }
.period button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.period .save { color: var(--forest-600); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; background: var(--cream); }
.plan.featured { background: linear-gradient(160deg, var(--forest-800), var(--forest-950)); color: #fff; border-color: transparent; box-shadow: var(--shadow); position: relative; }
.plan.featured .tag { position: absolute; top: -13px; left: 28px; background: var(--marigold-400); color: var(--forest-950); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .desc { margin-top: 6px; color: var(--muted); font-size: 15px; min-height: 48px; }
.plan.featured .desc { color: var(--forest-200); }
.plan .price { margin-top: 18px; font-family: "Poppins", sans-serif; font-size: 36px; font-weight: 700; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); font-family: "Mukta", sans-serif; }
.plan.featured .price small { color: var(--forest-200); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--forest-600); font-weight: 800; }
.plan.featured li::before { color: var(--marigold-300); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 16px; }
.plans-note a { color: var(--forest-700); font-weight: 700; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }
.road { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.road .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--marigold-100); font-size: 20px; }
.road h3 { font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.road p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.badge { font: 800 10px "Mukta", sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.badge.now { background: var(--forest-100); color: var(--forest-800); }
.badge.next { background: var(--marigold-100); color: #92460e; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--forest-600); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--forest-800), var(--forest-950)); color: #fff; border-radius: 32px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); position: relative; }
.cta p { margin-top: 12px; color: var(--forest-200); position: relative; font-size: 18px; }
.cta .hero-cta { justify-content: center; position: relative; }
.cta .flower { position: absolute; width: 360px; height: 360px; left: -110px; bottom: -150px; opacity: .15; }

/* Footer */
.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--forest-700); }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Email menu (main.js): Gmail / email app / copy */
.mail-menu { position: absolute; z-index: 50; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; }
.mail-menu p { margin: 0; padding: 8px 10px 6px; font-size: 13px; color: var(--muted); }
.mail-menu a, .mail-menu button { display: block; text-align: left; padding: 9px 10px; border-radius: 9px; font: 600 15px "Mukta", sans-serif; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.mail-menu a:hover, .mail-menu button:hover { background: var(--cream); color: var(--forest-700); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal .updated { margin-top: 10px; color: var(--muted); }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .summary { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--marigold-400); border-radius: 14px; padding: 18px 20px; }
.legal a { color: var(--forest-700); font-weight: 600; }
/* Details still to be filled in before launch — impossible to miss. */
.fill { background: #fde68a; outline: 2px dashed #d97706; padding: 0 4px; border-radius: 4px; }

/* ── Content pages (/pos-software-nepal, /pricing, /about, /for/…) ──────── */
.crumbs { padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; color: var(--forest-700); font-weight: 600; }
.page-hero { padding: 40px 0 56px; max-width: 780px; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 54px); margin-top: 12px; }
.page-hero .lead { margin-top: 18px; }
.page-hero .ne { margin-top: 8px; font-size: 18px; color: var(--forest-700); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px; }
.card h3 { font-size: 19px; }
.card p { margin-top: 8px; color: var(--ink-2); }
a.card { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--forest-300); transform: translateY(-2px); }
a.card .go { display: inline-block; margin-top: 12px; color: var(--forest-700); font-weight: 700; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0 0; }
.prose a { color: var(--forest-700); font-weight: 600; }
.band { background: #fff; border-block: 1px solid var(--line); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: "Poppins", sans-serif; font-size: 15px; background: var(--cream); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 18%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--forest-600); font-weight: 800; }
.compare .no { color: var(--muted); }
@media (max-width: 600px) {
  .compare { min-width: 0; font-size: 14px; line-height: 1.35; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare thead th { font-size: 13px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 21%; }
}

/* ── Kinmelo Library (videos) ──────────────────────────────────────────────
   A .vid card links to YouTube; main.js opens it in a player (.vid-modal)
   on the page. Cards are phone-shaped (9:16); add .vid-wide for 16:9. */
.library .section-head { margin-bottom: 36px; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 250px)); justify-content: center; gap: 28px 24px; }
.vid { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.vid-wide { grid-column: span 2; }
.vid-thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--forest-900); box-shadow: var(--shadow); }
.vid-wide .vid-thumb { aspect-ratio: 16 / 9; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vid:hover .vid-thumb img { transform: scale(1.04); }
.vid-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--marigold-400); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45); transition: transform .2s; }
.vid-play::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--forest-950); }
.vid:hover .vid-play { transform: scale(1.1); }
.vid-time { position: absolute; right: 10px; bottom: 10px; background: rgb(4 36 27 / .8); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 8px; }
.vid-title { margin-top: 14px; font-family: "Poppins", "Mukta", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; }
.vid-desc { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.vid:focus-visible { outline: none; }
.vid:focus-visible .vid-thumb { outline: 3px solid var(--marigold-400); outline-offset: 3px; }
.library-more { margin-top: 32px; text-align: center; }
.library-more a { color: var(--forest-700); font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .vid-wide { grid-column: 1 / -1; }
  .vid-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .vid-play::before { left: 20px; top: 16px; border-width: 9px 0 9px 14px; }
  .vid-title { font-size: 15.5px; }
  .vid-desc { font-size: 14px; }
}
.vid-modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.vid-modal::backdrop { background: rgb(4 36 27 / .88); }
.vid-frame { height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 18px; overflow: hidden; background: #000; }
.vid-modal.wide .vid-frame { height: auto; width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.vid-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.vid-close:hover { background: rgb(255 255 255 / .26); }
