:root {
  --ink: #1c0f07;        /* jaggery brown-black */
  --ink-2: #2b170b;
  --cream: #f8f0e2;      /* kasavu cream */
  --cream-2: #efe2cb;
  --gold: #e9a426;       /* marigold */
  --gold-l: #f7cf73;
  --kasavu: #c9972f;
  --leaf: #2f7d4f;       /* banana leaf */
  --leaf-l: #e3f0e4;
  --chili: #c8402c;
  --text: #24150b;
  --text-2: #5d4a3a;
  --muted: #8a7766;
  --line: rgba(36, 21, 11, .12);
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --ml: "Anek Malayalam", "Noto Sans Malayalam", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
em { font-style: italic; font-family: var(--display); color: var(--gold); font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(233, 164, 38, .35), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(233, 164, 38, .45); }
.btn-ghost { color: var(--cream); border: 1.5px solid rgba(248, 240, 226, .3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-wa { background: #1faa59; color: #fff; margin-top: 8px; }
.btn-wa:hover { background: #23c065; transform: translateY(-2px); }
.btn.block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(28, 15, 7, .82); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(233, 164, 38, .14); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font: 600 20px/1 var(--display); letter-spacing: -.01em; }
.logo b { font-weight: 900; color: var(--gold); }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { color: rgba(248, 240, 226, .75); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--gold-l); }
.nav .btn { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(233, 164, 38, .18) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 164, 38, .32), rgba(200, 64, 44, .12) 45%, transparent 70%); filter: blur(10px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(233, 164, 38, .35); background: rgba(233, 164, 38, .08); color: var(--gold-l); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: ping 2s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(40px, 9vw, 76px); line-height: 1.02; font-weight: 900; font-variation-settings: "opsz" 144; }
h1 em { font-weight: 600; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: rgba(248, 240, 226, .78); max-width: 560px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: rgba(248, 240, 226, .78); font-size: 15px; }
.hero-points li { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 10px; }
.hero-points b { color: var(--cream); font-weight: 700; }
.hero-points svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: rgba(61, 220, 132, .16);
  stroke: #3ddc84; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone { width: min(330px, 86vw); border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #3a2414, #120904);
  box-shadow: 0 0 0 1px rgba(233, 164, 38, .25), 0 40px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(-3deg); position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.screen { border-radius: 34px; background: var(--cream); color: var(--text); padding: 52px 16px 20px; min-height: 520px; overflow: hidden; }
.scr-head { display: flex; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 var(--body); letter-spacing: .08em; color: var(--chili);
  background: rgba(200, 64, 44, .1); padding: 5px 8px; border-radius: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--chili); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.scr-title { font: 800 20px/1 var(--display); }
.scr-total { margin: 16px 0 18px; padding: 14px; border-radius: 18px; background: linear-gradient(140deg, #8a4513, #4a230a); color: #fff; }
.scr-total > span { font-size: 12px; opacity: .75; display: block; }
.scr-total strong { font: 900 30px/1.15 var(--display); font-variant-numeric: tabular-nums; }
.scr-target { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); margin-top: 10px; overflow: hidden; }
.scr-target div { height: 100%; width: 58%; background: var(--gold); border-radius: 6px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.race { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; position: relative; }
.race li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name val" "track track"; gap: 4px 8px; align-items: center;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.r-name { grid-area: name; font-weight: 700; font-size: 13px; }
.r-val { grid-area: val; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.r-track { grid-area: track; height: 12px; border-radius: 8px; background: rgba(74, 35, 10, .07); overflow: hidden; }
.r-bar { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--c); transition: width 1.1s cubic-bezier(.2, .8, .2, 1), background .6s; }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 252, 246, .96); color: var(--text); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: 13px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 14px; } .float span { color: var(--muted); }
.f-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; flex: none; }
.f-ic.upi { background: linear-gradient(140deg, #f0b84a, #c98417); font-size: 18px; }
.f-ic.ok { background: var(--leaf); }
.f-ic svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.f1 { left: -4px; top: 36%; }
.f2 { right: -6px; bottom: 16%; animation-delay: -3s; }
.f3 { right: 4%; top: 2%; padding: 8px 14px; background: var(--gold); animation-delay: -1.5s; transform: rotate(4deg); }
.ml { font: 800 16px/1.2 var(--ml); color: var(--ink) !important; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- kasavu border + marquee ---------- */
.kasavu { height: 14px; background:
  linear-gradient(var(--kasavu), var(--kasavu)) 0 3px / 100% 2px no-repeat,
  linear-gradient(var(--kasavu), var(--kasavu)) 0 9px / 100% 2px no-repeat,
  repeating-linear-gradient(90deg, var(--kasavu) 0 6px, transparent 6px 14px) 0 5px / 100% 4px no-repeat, var(--ink); }
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: slide 40s linear infinite; font: 600 italic clamp(20px, 3vw, 28px)/1 var(--display); }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .7em; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 0 0 14px; }
.kicker.light { color: var(--gold-l); }
h2 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.06; font-weight: 800; }
.sec-head p:not(.kicker) { color: var(--text-2); font-size: 18px; margin: 18px 0 0; }
#features em, #how em, #who em { color: var(--chili); }

/* bento */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile { position: relative; background: #fffaf2; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(74, 35, 10, .35); border-color: rgba(233, 164, 38, .5); }
.tile h3 { font-size: 23px; line-height: 1.15; font-weight: 700; margin: 18px 0 8px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.t-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--leaf-l); }
.t-ic svg { width: 24px; height: 24px; stroke: var(--leaf); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mini-race { display: grid; gap: 8px; margin-top: 22px; }
.mini-race i { display: block; height: 12px; width: var(--w); border-radius: 8px; background: var(--c); transform-origin: left;
  animation: grow 2.4s cubic-bezier(.2, .8, .2, 1) both; }
.mini-race i:nth-child(2) { animation-delay: .15s; } .mini-race i:nth-child(3) { animation-delay: .3s; } .mini-race i:nth-child(4) { animation-delay: .45s; }
@keyframes grow { from { transform: scaleX(0); } }
.t-dark { background: var(--ink); color: var(--cream); border-color: transparent; }
.t-dark p { color: rgba(248, 240, 226, .72); }
.t-dark .t-ic { background: rgba(233, 164, 38, .16); } .t-dark .t-ic svg { stroke: var(--gold); }
.t-poster { background: linear-gradient(170deg, #fff6e6, #f6e3c4); }
.posters { display: flex; gap: 10px; margin-top: 24px; justify-content: center; }
.pst { width: 31%; aspect-ratio: 4 / 5; border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 9px; line-height: 1.25; box-shadow: 0 10px 24px rgba(74, 35, 10, .25); transition: transform .3s; }
.pst b { font: 800 13px/1.1 var(--display); margin: 2px 0; }
.pst small { font-size: 8px; opacity: .8; }
.p1 { background: linear-gradient(180deg, #fbf3e3 0 60%, #f2dfb8), #fff; color: #4a230a; border: 3px solid #c9972f; transform: rotate(-5deg); }
.p2 { background: radial-gradient(circle at 50% 30%, #3e8a55, #1f5a35); color: #fff; transform: translateY(-8px); }
.p3 { background: #f04e7c; color: #fff; transform: rotate(5deg); }
.tile:hover .p1 { transform: rotate(-8deg) translateY(-4px); } .tile:hover .p3 { transform: rotate(8deg) translateY(-4px); }

/* how */
.how { background: var(--cream-2); position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.s-no { font: 900 52px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--gold); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* who */
.who-grid { display: grid; gap: 40px; }
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.who li { padding: 20px 22px; border-radius: 18px; background: #fffaf2; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px;
  border-left: 5px solid var(--gold); }
.who li:nth-child(3n+2) { border-left-color: var(--leaf); } .who li:nth-child(3n) { border-left-color: var(--chili); }
.who b { font: 700 19px/1.25 var(--display); }
.who span { color: var(--text-2); font-size: 15px; }
.first { margin: 28px 0 0; padding: 20px 22px; border-radius: 18px; background: var(--ink); color: var(--cream); }
.first blockquote { margin: 0; font: 500 italic 19px/1.45 var(--display); }
.first b { color: var(--gold); font-style: normal; }

/* faq */
.faq { background: #fffaf2; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 700 20px/1.3 var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 30px/1 var(--body); color: var(--gold); transition: rotate .25s; }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0 0 22px; color: var(--text-2); }

/* start */
.start { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; }
.start::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 125, 79, .45), transparent 70%); }
.start-grid { display: grid; gap: 40px; align-items: center; }
.start-copy p:not(.kicker) { color: rgba(248, 240, 226, .75); font-size: 18px; margin: 18px 0 20px; }
.lead { background: var(--cream); color: var(--text); border-radius: 26px; padding: 26px 22px; display: grid; gap: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.lead label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.lead input, .lead textarea { font: 16px/1.4 var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 164, 38, .2); }
.f-row { display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.f-msg { margin: 0; min-height: 1.4em; font-weight: 700; font-size: 15px; }
.f-msg.ok { color: var(--leaf); } .f-msg.err { color: var(--chili); }

/* footer */
.foot { background: #120904; color: rgba(248, 240, 226, .7); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-row { display: grid; gap: 12px; }
.foot p { margin: 0; } .foot .muted { opacity: .7; } .foot a { color: var(--gold-l); }

/* reveal on scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .8s cubic-bezier(.2, .8, .2, 1), translate .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr 1fr; }
  .lead { padding: 32px; }
  .foot-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}
@media (min-width: 1000px) {
  .hero { padding: 80px 0 100px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .t-wide { grid-column: span 2; }
  .t-tall { grid-row: span 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .who-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .start-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .f1 { left: -30px; } .f2 { right: -20px; }
}
@media (max-width: 600px) {
  .f1 { top: auto; bottom: 3%; left: -6px; } .f2 { display: none; }
}
@media (max-width: 420px) {
  .float { font-size: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}
.demo-note { font-size: 15px !important; margin: 18px 0 0 !important; }
.demo-note a { color: var(--gold-l); font-weight: 700; }
