/* ClipPetti · "Kasavu Pop": deep purple + golden yellow + kasavu cream/gold, soft 3D, rounded */
:root {
  --plum: #2E0E52;
  --purple: #4B1A7A;
  --violet: #7B3FE4;
  --lav: #EFE6FF;
  --gold: #F5B731;
  --gold-d: #D9961A;
  --gold-l: #FFD978;
  --cream: #FFF8EC;
  --kasavu: #FFF2D6;
  --paper: #FFFFFF;
  --ink: #23103A;
  --muted: #6E5F80;
  --pink: #FF7A8A;
  --mint: #3CCB9A;
  --radius: 28px;
  --sh: 0 18px 40px -18px rgba(46, 14, 82, .45), 0 4px 12px -4px rgba(46, 14, 82, .18);
  --sh-sm: 0 10px 24px -12px rgba(46, 14, 82, .45);
  --head: 'Baloo Chettan 2', 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px;
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0; letter-spacing: -0.01em; font-weight: 800; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* kasavu border: cream band with two gold lines, like a mundu edge */
.kasavu { height: 22px; background:
  linear-gradient(var(--kasavu), var(--kasavu)) 0 0 / 100% 100%,
  var(--kasavu);
  position: relative; }
.kasavu::before, .kasavu::after { content: ''; position: absolute; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l), var(--gold-d)); }
.kasavu::before { top: 5px; }
.kasavu::after { bottom: 5px; height: 2px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 248, 236, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 26, 122, .1); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--sh-sm); }
.logo .word { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--purple); letter-spacing: -0.02em;
  display: inline-flex; align-items: center; line-height: 1; }
.logo .word b { font-weight: 800; background: var(--purple); color: #fff; border-radius: 10px; padding: 4px 9px 1px; margin-left: 3px; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 999px; color: var(--purple); }
.nav a:hover { background: var(--lav); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 17px var(--body);
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; position: relative;
  color: var(--plum); background: linear-gradient(180deg, var(--gold-l), var(--gold) 55%, var(--gold-d));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.65), inset 0 -3px 0 rgba(150, 90, 0, .35), 0 10px 22px -8px rgba(217, 150, 26, .9);
  transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: saturate(1.1); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(150,90,0,.35), 0 4px 10px -6px rgba(217,150,26,.9); }
.btn[disabled] { opacity: .65; cursor: wait; }
.btn.ghost { background: var(--paper); color: var(--purple); box-shadow: inset 0 0 0 2px rgba(75,26,122,.18), var(--sh-sm); }
.btn.dark, .btn.purple { background: linear-gradient(180deg, #6A2FA8, var(--purple) 60%, var(--plum)); color: #fff;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -3px 0 rgba(0,0,0,.25), 0 10px 22px -8px rgba(75,26,122,.8); }
.btn.small { padding: 10px 18px; font-size: 15px; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--purple); text-decoration: underline; cursor: pointer; font-weight: 800; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 22px 0 0; }
.hero-panel { position: relative; background: radial-gradient(120% 120% at 85% 10%, #7B3FE4 0%, var(--purple) 42%, var(--plum) 100%);
  border-radius: 40px; color: #fff; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(46,14,82,.8); }
.hero-panel::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(circle at 12% 85%, rgba(245,183,49,.28), transparent 32%),
  radial-gradient(circle at 70% 120%, rgba(255,122,138,.25), transparent 35%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center; padding: 56px 56px 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 13px; text-transform: uppercase;
  letter-spacing: .07em; background: rgba(255,255,255,.12); color: var(--gold-l); border: 1px solid rgba(255,217,120,.4);
  border-radius: 999px; padding: 7px 14px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,183,49,.25); animation: pulse 1.6s infinite; }
.pill.light { background: var(--lav); color: var(--purple); border-color: rgba(75,26,122,.15); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(245,183,49,0); } }
.hero h1 { font-size: clamp(46px, 7.2vw, 88px); margin: 20px 0 16px; }
.hero h1 .gold { background: linear-gradient(180deg, #FFE7A3, var(--gold) 60%, #E89B12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: #E6DAFF; max-width: 540px; margin: 0 0 28px; }
.hero p.lead b { color: #fff; }
.hero p.lead s { opacity: .7; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .ctas .btn.ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.hero .note { font-size: 15px; color: #CBB8F0; margin-top: 16px; font-weight: 700; }

.stage { position: relative; height: 460px; }
.stage .petti-main { position: absolute; left: 50%; bottom: 22px; width: 88%; max-width: 470px; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(20, 0, 40, .45)); animation: hop 3.2s ease-in-out infinite; z-index: 3; }
.stage .floor { position: absolute; left: 50%; bottom: 10px; width: 56%; height: 34px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(10,0,25,.45), transparent); animation: shadow 3.2s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-16px) rotate(1.5deg); } }
@keyframes shadow { 50% { transform: translateX(-50%) scale(.82); opacity: .7; } }
.fly { position: absolute; z-index: 2; width: 74px; height: 120px; border-radius: 16px; background: linear-gradient(160deg, #B98CFF, var(--violet));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 14px 24px -10px rgba(0,0,0,.5); display: grid; place-items: center; animation: float 5s ease-in-out infinite; }
.fly::after { content: ''; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.fly.f1 { left: 2%; top: 30px; transform: rotate(-16deg); --r: -16deg; }
.fly.f2 { right: 4%; top: 6px; transform: rotate(14deg); --r: 14deg; animation-delay: -1.6s; background: linear-gradient(160deg, #FFB0BC, #FF6F86); }
.fly.f3 { right: 0; top: 230px; width: 56px; height: 90px; --r: 8deg; animation-delay: -3s; background: linear-gradient(160deg, #8EF0CF, #23B888); }
@keyframes float { 50% { transform: rotate(var(--r)) translateY(-14px); } }
.spark { position: absolute; color: var(--gold-l); font-size: 26px; animation: twinkle 2.4s ease-in-out infinite; z-index: 4; }
.spark.s1 { left: 12%; top: 210px; } .spark.s2 { right: 18%; top: 150px; font-size: 18px; animation-delay: -.8s; } .spark.s3 { left: 30%; top: 40px; font-size: 16px; animation-delay: -1.5s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6) rotate(30deg); } }
.coin { position: absolute; z-index: 4; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 800 26px var(--head); color: #8A5A00;
  background: radial-gradient(circle at 35% 30%, #FFF0B8, var(--gold) 55%, var(--gold-d)); box-shadow: inset 0 -3px 0 rgba(140,80,0,.35), 0 10px 18px -8px rgba(0,0,0,.5);
  animation: float 4s ease-in-out infinite; --r: 0deg; }
.coin.c1 { left: 6%; bottom: 120px; } .coin.c2 { right: 8%; bottom: 70px; width: 44px; height: 44px; font-size: 20px; animation-delay: -2s; }
.hero-panel .kasavu { position: relative; z-index: 1; }

/* trust strip */
.strip { display: flex; justify-content: center; gap: 12px 34px; flex-wrap: wrap; padding: 26px 10px 6px; color: var(--muted); font-weight: 800; font-size: 15px; }
.strip span::before { content: '✦'; color: var(--gold-d); margin-right: 8px; }

/* ---------- sections ---------- */
section.block { padding: 76px 0; position: relative; }
.eyebrow { font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.block h2 { font-size: clamp(36px, 5vw, 58px); margin: 8px 0 14px; color: var(--plum); }
.block .sub { color: var(--muted); font-size: 19px; max-width: 660px; margin: 0 0 36px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: var(--sh); position: relative; overflow: hidden; }
.step .art { height: 150px; display: grid; place-items: center; margin: -6px -6px 12px; border-radius: 22px;
  background: radial-gradient(circle at 50% 70%, var(--lav), #F8F3FF 70%); }
.step .art img { height: 136px; width: auto; filter: drop-shadow(0 12px 12px rgba(46,14,82,.25)); transition: transform .3s; }
.step:hover .art img { transform: translateY(-6px) rotate(-3deg); }
.step .n { position: absolute; top: 18px; left: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 800 19px var(--head); color: var(--plum); background: linear-gradient(180deg, var(--gold-l), var(--gold)); box-shadow: var(--sh-sm); z-index: 1; }
.step h3 { font-size: 25px; margin-bottom: 8px; color: var(--plum); }
.step p { margin: 0; color: var(--muted); }

/* locked campaign board */
.board { position: relative; border-radius: 34px; background: var(--paper); padding: 22px; box-shadow: var(--sh); overflow: hidden; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brief { border-radius: 22px; padding: 20px; background: linear-gradient(180deg, #FBF7FF, var(--lav)); border: 1px solid rgba(75,26,122,.08); }
.brief .bt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.brief .cat { font: 800 12px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--purple); background: #fff; padding: 5px 10px; border-radius: 999px; }
.brief .sample { font: 900 11px var(--body); text-transform: uppercase; color: #fff; background: var(--muted); padding: 4px 8px; border-radius: 999px; letter-spacing: .06em; }
.brief h3 { font-size: 22px; margin-bottom: 6px; color: var(--plum); }
.brief p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.brief .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.brief .meta span { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 4px 11px; background: #fff; color: var(--purple); }
.board.locked .board-grid { filter: blur(6px) saturate(.6); pointer-events: none; user-select: none; min-height: 360px; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,248,236,.25); z-index: 2; padding: 20px; }
.lock-card { background: var(--paper); border-radius: 30px; padding: 0 30px 28px; max-width: 440px; text-align: center; box-shadow: var(--sh); position: relative; }
.lock-card img { width: 170px; margin: -70px auto 4px; filter: drop-shadow(0 14px 14px rgba(46,14,82,.3)); animation: wiggle 3.5s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-5deg); } 20% { transform: rotate(4deg); } 30% { transform: rotate(0); } }
.lock-card h3 { font-size: 30px; margin-bottom: 8px; color: var(--plum); }
.lock-card p { color: var(--muted); margin: 0 0 20px; }
.board.locked { padding-top: 90px; }
.board-note { font-size: 14px; color: var(--muted); margin: 14px 4px 0; text-align: center; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.faq-wrap .side img { width: 240px; filter: drop-shadow(0 18px 18px rgba(46,14,82,.25)); animation: hop2 4s ease-in-out infinite; }
@keyframes hop2 { 50% { transform: translateY(-10px) rotate(2deg); } }
.faq { display: grid; gap: 12px; }
details { background: var(--paper); border-radius: 22px; padding: 18px 22px; box-shadow: var(--sh-sm); transition: box-shadow .2s; }
details[open] { box-shadow: var(--sh); }
summary { cursor: pointer; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--plum); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--purple); font: 800 20px var(--head); }
details[open] summary::after { content: '–'; background: var(--gold); color: var(--plum); }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- forms ---------- */
.join-bg { background: linear-gradient(180deg, transparent, #F3EAFF 30%, #F3EAFF 70%, transparent); }
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.join .pitch .petti-side { width: min(330px, 80%); margin: 10px 0 18px -10px; filter: drop-shadow(0 20px 20px rgba(46,14,82,.25)); animation: hop2 3.6s ease-in-out infinite; }
.join .pitch ul { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 14px; }
.join .pitch li { display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--plum); }
.join .pitch li b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-l), var(--gold)); display: grid; place-items: center; font-size: 15px; box-shadow: var(--sh-sm); }
.card { background: var(--paper); border-radius: 34px; padding: 32px; box-shadow: var(--sh); position: relative; }
.card::before { content: ''; position: absolute; left: 30px; right: 30px; top: 0; height: 6px; border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l), var(--gold-d)); }
.card h3 { font-size: 30px; margin-bottom: 4px; color: var(--plum); }
.card .hint { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label, .field .lbl { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; color: var(--plum); }
.field .opt { font-weight: 600; color: var(--muted); }
.input { width: 100%; font: 600 16px var(--body); padding: 14px 16px; border: 2px solid #E7DDF5; border-radius: 16px;
  background: #FBF8FF; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.input::placeholder { color: #A898BC; }
.input:focus { background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,63,228,.15); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple) 50%), linear-gradient(135deg, var(--purple) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 14px; border: 2px solid #E7DDF5; border-right: 0; border-radius: 16px 0 0 16px; background: var(--lav); font-weight: 800; color: var(--purple); }
.prefix .input { border-radius: 0 16px 16px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--lav); color: var(--purple);
  cursor: pointer; user-select: none; transition: background .15s, color .15s, transform .15s; }
.chip input:checked + span { background: linear-gradient(180deg, #6A2FA8, var(--purple)); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-sm); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; font-weight: 600; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--purple); flex: none; }
.err { color: #C21F4A; font-size: 14px; font-weight: 800; margin-top: 6px; }
.field.bad .input, .field.bad .chips { border-color: #FF9DB0; box-shadow: 0 0 0 4px rgba(255,122,138,.18); border-radius: 16px; }
.formerr { display: flex; gap: 12px; align-items: center; background: #FFF0F3; color: #9B1238; padding: 10px 14px; border-radius: 18px; font-weight: 800; margin-bottom: 14px; font-size: 15px; }
.formerr::before { content: ''; flex: none; width: 52px; height: 52px; background: url(/assets/petti/oops.webp) center / contain no-repeat; }
.hp { position: absolute; left: -9999px; }
.codebox { font: 800 34px var(--head); letter-spacing: 14px; text-align: center; padding: 14px; }
.small { font-size: 14px; color: var(--muted); }
.devcode { background: #FFF5D6; border: 2px dashed var(--gold-d); padding: 8px 12px; border-radius: 14px; font-weight: 800; margin-bottom: 12px; color: #7A5200; }
.code-art { width: 120px; margin: -10px auto 4px; filter: drop-shadow(0 10px 10px rgba(46,14,82,.25)); }

/* ---------- dashboard ---------- */
.dash { padding: 30px 0 80px; }
.dash-hero { position: relative; background: radial-gradient(120% 140% at 90% 0%, #7B3FE4, var(--purple) 45%, var(--plum)); color: #fff; border-radius: 36px;
  padding: 34px 36px; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; box-shadow: 0 30px 60px -30px rgba(46,14,82,.8); }
.dash-hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin-top: 12px; }
.dash-hero .who { color: #D9C9F7; font-weight: 700; margin-top: 6px; }
.dash-hero img { width: 230px; margin: -10px 0 -40px; filter: drop-shadow(0 20px 20px rgba(0,0,0,.35)); animation: hop2 2.6s ease-in-out infinite; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 22px; }
.stat { background: var(--paper); border-radius: 26px; padding: 24px; box-shadow: var(--sh); }
.stat .k { font-size: 14px; font-weight: 800; color: var(--muted); }
.stat .v { font: 800 60px var(--head); line-height: 1; margin: 10px 0 2px; color: var(--plum); }
.stat.pos { background: linear-gradient(180deg, var(--gold-l), var(--gold)); }
.stat.pos .k, .stat.pos .small { color: #6B4500; }
.invite { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.invite .input { flex: 1 1 220px; font-size: 14px; }
.panel { background: var(--paper); border-radius: 28px; padding: 28px; box-shadow: var(--sh); margin-top: 22px; }
.panel h3 { font-size: 28px; margin-bottom: 6px; color: var(--plum); }
.empty { text-align: center; padding: 10px 10px 6px; }
.empty img { width: 190px; margin: 0 auto; filter: drop-shadow(0 14px 14px rgba(46,14,82,.22)); }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: #FBF8FF; }
.checklist li b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-l), var(--gold)); display: grid; place-items: center; font-size: 13px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(35,16,58,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 18px; }
.modal .card { width: min(440px, 100%); }
.modal .x { position: absolute; right: 16px; top: 12px; background: var(--lav); border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; cursor: pointer; line-height: 1; color: var(--purple); }

/* ---------- footer ---------- */
footer { margin-top: 30px; background: var(--plum); color: #E6DAFF; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; padding: 34px 0 44px; }
footer .logo .word { color: #fff; }
footer .logo .word b { background: var(--gold); color: var(--plum); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { font-weight: 800; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .small { margin: 10px 0 0; color: #BBA6E0; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; padding: 50px 0 60px; }
.prose h1 { font-size: clamp(40px, 5vw, 58px); margin-bottom: 10px; color: var(--plum); }
.prose h2 { font-size: 26px; margin: 34px 0 10px; color: var(--plum); }
.prose p, .prose li { color: #3D2E52; }
.prose ul { padding-left: 20px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--plum); color: #fff;
  padding: 13px 20px; border-radius: 999px; font-weight: 800; z-index: 60; box-shadow: var(--sh); }

/* ---------- confetti ---------- */
.confetti { position: fixed; top: -12px; width: 10px; height: 16px; border-radius: 3px; z-index: 70; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding: 40px 26px 20px; }
  .stage { height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .steps, .board-grid, .dash-grid { grid-template-columns: 1fr; }
  .join, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .side { display: flex; justify-content: center; }
  .faq-wrap .side img { width: 170px; }
  .join .pitch .petti-side { width: 220px; margin: 0 auto 10px; display: block; }
  .board-grid .brief:nth-child(n+2) { display: none; }
  .dash-hero { grid-template-columns: 1fr; }
  .dash-hero img { width: 170px; margin: 0 auto -30px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .hero-panel { border-radius: 30px; }
  .hero h1 { font-size: 50px; }
  .hero p.lead { font-size: 18px; }
  .stage { height: 330px; }
  .fly { width: 58px; height: 94px; }
  .nav a.hide-m { display: none; }
  .logo .word { font-size: 22px; }
  .row2 { grid-template-columns: 1fr; }
  .card { padding: 26px 18px; border-radius: 28px; }
  section.block { padding: 54px 0; }
  .dash-hero { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Malayalam touches ---------- */
.ml { font-family: 'Baloo Chettan 2', var(--head); font-weight: 700; letter-spacing: 0; }
.say { position: absolute; z-index: 6; background: #fff; color: var(--plum); font: 800 18px 'Baloo Chettan 2', var(--head);
  padding: 9px 16px 6px; border-radius: 20px; box-shadow: var(--sh-sm); white-space: nowrap; line-height: 1.25;
  animation: sayPop 4s ease-in-out infinite; transform-origin: bottom left; }
.say::after { content: ''; position: absolute; left: 22px; bottom: -9px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.say.right { transform-origin: bottom right; }
.say.right::after { left: auto; right: 22px; }
.say.gold { background: var(--gold); }
.say.gold::after { border-top-color: var(--gold); }
@keyframes sayPop { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.05) rotate(1deg); } }
.stage .say { left: 6%; top: 118px; }
.lock-card .say { left: calc(50% + 62px); top: -58px; }
.side-art { position: relative; display: inline-block; }
.side-art .say { right: -30px; top: 6px; left: auto; }
.dash-hero .art { position: relative; }
.dash-hero .say { left: -40px; top: 0; }
.empty .art { position: relative; display: inline-block; }
.empty .say { right: -70px; top: 10px; }
.code-wrap { position: relative; text-align: center; }
.code-wrap .say { left: 50%; top: -4px; margin-left: 48px; font-size: 16px; }
.eyebrow .ml { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--gold-d); margin-left: 6px; }
.hero .ml-tag { display: block; font-size: clamp(22px, 2.8vw, 30px); color: var(--gold-l); margin: -4px 0 18px; }
.btn .ml { font-size: .82em; opacity: .85; font-weight: 800; }
.strip .ml { font-size: 16px; color: var(--purple); }
.step .ml-sub { display: block; font-size: 17px; color: var(--violet); margin: -2px 0 6px; }
footer .ml { color: var(--gold-l); font-size: 16px; }
@media (max-width: 560px) {
  .say { font-size: 15px; padding: 8px 12px 5px; }
  .stage .say { top: 70px; left: 2%; }
  .side-art .say { right: -10px; }
  .empty .say { right: -20px; top: -6px; }
  .dash-hero .say { left: -10px; }
  .lock-card .say { left: auto; right: -8px; top: -52px; font-size: 14px; }
  .lock-card .say::after { left: 26px; }
}

/* ---------- sign-in, campaigns, dashboards ---------- */
.gslot { display: flex; justify-content: center; min-height: 46px; }
.gslot .devlogin { width: 100%; }
.signin-card { text-align: center; }
.signin-card .hint { margin-bottom: 18px; }
.linkbtn.light { color: var(--gold-l); }
.camp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.camp { background: linear-gradient(180deg, #FBF7FF, #fff); border: 1px solid rgba(75,26,122,.1); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.camp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.camp .cat { font: 800 12px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--purple); background: var(--lav); padding: 5px 10px; border-radius: 999px; }
.camp h4 { font: 800 22px var(--head); margin: 0; color: var(--plum); line-height: 1.1; }
.camp-brand { font-size: 14px; color: var(--muted); }
.camp-brief { margin: 0; color: #3D2E52; font-size: 15px; white-space: pre-line; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.camp-meta span { font-size: 13px; font-weight: 800; background: #fff; border: 1px solid #E7DDF5; color: var(--purple); border-radius: 999px; padding: 4px 10px; }
.camp-meta .money { background: linear-gradient(180deg, var(--gold-l), var(--gold)); border: 0; color: var(--plum); font-size: 15px; }
.camp-meta .money small { font-weight: 700; font-size: 11px; }
.camp-rules { box-shadow: none; padding: 8px 12px; border-radius: 14px; background: #FBF8FF; }
.camp-rules summary { font-size: 14px; }
.camp-rules summary::after { width: 22px; height: 22px; font-size: 16px; }
.camp-rules p { font-size: 14px; white-space: pre-line; }
.camp .note { font-size: 14px; background: #FFF5D6; border-radius: 12px; padding: 8px 12px; color: #6B4500; }
.take-part { margin: 16px 0 0; background: #FBF8FF; border-radius: 14px; padding: 12px 14px; }
.badge { font: 900 11px var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge.live, .badge.approved, .badge.verified, .badge.active { background: #DDF7EC; color: #0E7A52; }
.badge.pending, .badge.new { background: #FFF1CC; color: #8A5A00; }
.badge.rejected, .badge.blocked { background: #FFE3E8; color: #A3173D; }
.badge.paused, .badge.ended { background: #ECE6F5; color: #5B4E6E; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.hint-inline { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr; } .camp-list { grid-template-columns: 1fr; } }
.dash-hero h1, .pitch h2, .camp h4 { overflow-wrap: anywhere; }

/* ---------- Reels-style video tiles (hero) ---------- */
.reel { position: absolute; z-index: 2; width: 128px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #111;
  border: 4px solid #1B0A30; box-shadow: 0 18px 30px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); animation: float 5s ease-in-out infinite; }
.reel.r1 { left: 0; top: 34px; transform: rotate(-12deg); --r: -12deg; }
.reel.r2 { right: 2%; top: 0; transform: rotate(10deg); --r: 10deg; animation-delay: -1.6s; }
.reel.r3 { right: -2%; top: 236px; width: 104px; transform: rotate(6deg); --r: 6deg; animation-delay: -3s; }
.reel .scr { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, var(--bg1), var(--bg2)); overflow: hidden; }
.reel .scr img { position: absolute; left: 50%; bottom: 8%; width: 86%; transform: translateX(-50%); animation: reelBob 1.6s ease-in-out infinite; filter: drop-shadow(0 8px 8px rgba(0,0,0,.35)); }
.reel.r2 .scr img { animation-duration: 1.1s; }
.reel.r3 .scr img { animation: reelZoom 5s ease-in-out infinite; }
@keyframes reelBob { 50% { transform: translateX(-50%) translateY(-7px) rotate(-3deg); } }
@keyframes reelZoom { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.12) rotate(2deg); } }
.reel .prop { position: absolute; font-size: 22px; animation: propFly 2.6s ease-in-out infinite; }
.reel .prop.p1 { left: 10%; top: 14%; } .reel .prop.p2 { right: 10%; top: 28%; animation-delay: -1.3s; font-size: 18px; }
@keyframes propFly { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(10deg); } }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.reel.has-video video { opacity: 1; }
.reel.has-video .scr { visibility: hidden; }
.reel .ui { position: absolute; inset: 0; pointer-events: none; font-family: var(--body); color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 70%, rgba(0,0,0,.55)); }
.reel .bar { position: absolute; left: 8px; right: 8px; top: 7px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.reel .bar::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: reelBar 5s linear infinite; }
.reel.r2 .bar::after { animation-duration: 6.5s; } .reel.r3 .bar::after { animation-duration: 4.2s; }
@keyframes reelBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel .tag { position: absolute; left: 8px; top: 15px; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; background: rgba(0,0,0,.4); padding: 2px 6px; border-radius: 6px; }
.reel .heart { position: absolute; right: 6px; bottom: 34px; display: flex; flex-direction: column; align-items: center; font-size: 15px; color: #FF5C7A; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.reel .heart b { font-size: 8px; color: #fff; font-weight: 800; }
.reel .foot { position: absolute; left: 8px; bottom: 9px; right: 6px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.reel .foot em { font-style: normal; color: var(--gold-l); }
.reel.r3 .tag, .reel.r3 .foot { font-size: 8px; }
@media (max-width: 560px) {
  .reel { width: 92px; border-width: 3px; border-radius: 16px; }
  .reel.r3 { width: 78px; top: 190px; }
  .reel .foot { font-size: 7.5px; } .reel .tag { font-size: 7.5px; } .reel .prop { font-size: 16px; }
}
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-card { position: relative; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; }
.type-card span { display: block; height: 100%; border: 2px solid #E7DDF5; border-radius: 20px; padding: 16px 18px; background: #FBF8FF; transition: border-color .15s, box-shadow .15s, background .15s; }
.type-card b { display: block; font: 800 19px var(--head); color: var(--plum); margin-bottom: 4px; }
.type-card small { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }
.type-card input:checked + span { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(123,63,228,.15); }
.type-card input:focus-visible + span { box-shadow: 0 0 0 4px var(--gold); }
fieldset.tfields { border: 0; padding: 0; margin: 0; min-width: 0; }
.lbl.stephead { font: 800 18px var(--head); color: var(--plum); margin: 22px 0 10px; padding-top: 16px; border-top: 2px dashed #EFE7FA; }
textarea.gl { min-height: 96px; }
.tfields[data-type="youtube"] .promo-only, .tfields[data-type="promo"] .yt-only { display: none; }
.type-badge { font: 900 11px var(--body); text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; background: #FFE3E3; color: #C4161C; }
.type-badge.promo { background: #E4F0FF; color: #1D5FB8; }
.gl-list { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: #3D2E52; }
.gl-list li::before { content: '✓'; color: #0E7A52; font-weight: 900; margin-right: 6px; }
.gl-list.no li::before { content: '✕'; color: #A3173D; }
.gl-h { font: 800 13px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--violet); margin-top: 6px; }
@media (max-width: 560px) { .type-pick { grid-template-columns: 1fr; } }

/* ---------- Malayalam helper lines + AI prompt ---------- */
.ml-line { display: block; font-family: 'Baloo Chettan 2', var(--head); font-weight: 600; font-size: 16.5px; line-height: 1.45; color: #5A3D86; margin-top: 4px; }
details .ml-line { margin-top: 6px; }
.lbl-ml, label .lbl-ml { font-family: 'Baloo Chettan 2', var(--head); font-weight: 700; color: var(--violet); font-size: 14px; margin-left: 4px; }
.gl-h .lbl-ml { text-transform: none; letter-spacing: 0; font-size: 14px; }
.ai-btn { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; border: 0; cursor: pointer; font: 800 14px var(--body);
  padding: 9px 14px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #7B3FE4, #FF6F91); box-shadow: var(--sh-sm); }
.ai-btn .ml { font-size: 13px; opacity: .9; }
.ai-btn:hover { filter: brightness(1.08); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 22px; }
.ways > div { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--sh-sm); }
.ways .ico { font-size: 30px; }
.ways b { font: 800 19px var(--head); color: var(--plum); display: block; margin: 4px 0; }
.take-part ol { margin: 6px 0 0; padding-left: 20px; }
.take-part li { margin-bottom: 4px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
summary { justify-content: flex-start; align-items: center; flex-wrap: nowrap; column-gap: 8px; }
summary::after { margin-left: auto; flex: none; }
.ai-btn { flex-direction: column; align-items: flex-start; gap: 0; border-radius: 18px; text-align: left; line-height: 1.25; }
.ai-btn .ml { font-size: 12.5px; }
.say.say-wide { white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- brands page sections ---------- */
.band-soft { background: linear-gradient(180deg, transparent, #F3EAFF 18%, #F3EAFF 82%, transparent); }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uses > div { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--sh); transition: transform .2s; }
.uses > div:hover { transform: translateY(-4px); }
.uses .ico { font-size: 34px; display: block; }
.uses b { font: 800 22px var(--head); color: var(--plum); display: block; margin: 6px 0 2px; }
.uses p { margin: 0; color: var(--muted); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.four .step .art { height: 120px; }
.steps.four .step .art img { height: 110px; }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.calc input[type=range] { width: 100%; accent-color: var(--violet); height: 28px; }
.calc label { display: flex !important; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.calc-val { margin-left: auto; font: 800 22px var(--head); color: var(--plum); }
.calc-out { margin-top: 8px; background: linear-gradient(180deg, var(--gold-l), var(--gold)); border-radius: 22px; padding: 18px 20px; text-align: center; color: #5A3900; font-weight: 800; }
.calc-out b { display: block; font: 800 54px var(--head); color: var(--plum); line-height: 1.05; margin: 4px 0; }
.compare { max-width: 980px; margin: 0 auto; }
.compare table { font-size: 15px; }
.compare th, .compare td { white-space: normal; padding: 14px 16px; }
.compare td:first-child { font-weight: 800; color: var(--plum); }
.compare .us { background: #FFF6DA; font-weight: 800; color: var(--plum); }
.compare th.us { background: linear-gradient(180deg, var(--gold-l), var(--gold)); }
.control-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.control-wrap .side-art { justify-self: center; }
@media (max-width: 920px) {
  .uses { grid-template-columns: 1fr 1fr; }
  .steps.four { grid-template-columns: 1fr 1fr; }
  .calc-wrap, .control-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .uses, .steps.four { grid-template-columns: 1fr; }
  .compare table { font-size: 13px; } .compare th, .compare td { padding: 10px; }
  .calc-out b { font-size: 42px; }
}
.hero h1.h1-brand { font-size: clamp(44px, 5.6vw, 74px); }
.petti-lock { display: block; width: 260px; max-width: 70vw; filter: drop-shadow(0 18px 18px rgba(46,14,82,.25)); animation: hop2 3.8s ease-in-out infinite; }
.control-wrap .side-art .say { top: -14px; right: -40px; }
@media (max-width: 920px) { .control-wrap .side-art .say { right: -10px; } }
.nav .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .ctas .btn:has(.ml) { flex-direction: column; gap: 0; line-height: 1.2; padding: 12px 22px; }
  .ctas .btn .ml { font-size: 13px; }
  .compare th:nth-child(3), .compare td:nth-child(3) { display: none; }
}
