/* PuchoKanoonAI marketing site. No third-party fonts or scripts (strict CSP); colours from the supplied logo. */
:root {
  --navy: #13285a;
  --navy-2: #1d3b7c;
  --saffron: #f28c28;
  --orange: #e8590c;
  --green: #138a3c;
  --gold: #f2b632;
  --ink: #18202f;
  --muted: #586276;
  --line: #e2e8f1;
  --soft: #f4f7fb;
  --card: #ffffff;
  --bg: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(19, 40, 90, 0.08);
  --font: system-ui, "Segoe UI", "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", "Mangal", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
.brand-name .ai { color: var(--orange); }
.brand-sub { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--soft); color: var(--navy); }
.nav .lang { border: 1px solid var(--line); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 13px 24px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg, .store svg { width: 20px; height: 20px; flex: none; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--saffron)); color: #fff; box-shadow: 0 8px 20px rgba(232, 89, 12, .25); }
.btn-primary:hover { color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 9px 18px; margin-left: 6px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at -10% -10%, rgba(242, 140, 40, .18), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(19, 138, 60, .14), transparent 60%),
    radial-gradient(800px 500px at 110% 20%, rgba(29, 59, 124, .10), transparent 60%),
    var(--bg); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.chip { display: inline-block; background: #e8f0fc; color: var(--navy); font-weight: 700; font-size: .9rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .15em; }
.hero h1 .ai { color: var(--orange); }
.hero .hindi-name { font-size: clamp(1.8rem, 4.2vw, 2.8rem); font-weight: 800; color: var(--navy); margin: 0 0 .25em; }
.tagline { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--ink); margin-bottom: .6em; position: relative; display: inline-block; }
.tagline::after { content: ""; display: block; height: 4px; width: 55%; margin-top: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-note { font-size: .9rem; color: var(--muted); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 182, 50, .22), transparent 65%); z-index: 0; }
.hero-art img { position: relative; z-index: 1; width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(19, 40, 90, .12)); }
.tricolor { height: 6px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); border-bottom: 1px solid var(--line); }

/* ---- sections ---- */
section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 46em; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 28px; height: 28px; }
.i-purple { background: #f1ebff; color: #7a3ff2; }
.i-blue { background: #e6efff; color: #1f5fd6; }
.i-green { background: #e5f6ec; color: var(--green); }
.i-orange { background: #fff0e2; color: var(--orange); }
.i-pink { background: #ffe8ef; color: #d6336c; }
.i-navy { background: #e7ecf6; color: var(--navy); }
.i-gold { background: #fff6dc; color: #b27b00; }
.i-red { background: #ffe9e6; color: #c92a2a; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 26px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: 0 6px 14px rgba(19, 40, 90, .25); }

.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.langs span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--navy); }

.helplines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.helpline { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 14px; padding: 16px; }
.helpline strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.helpline span { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.5rem; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.cta { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 22px solid rgba(242, 140, 40, .35); }
.cta h2 { color: #fff; }
.cta p { color: #d7e0f2; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 14px; padding: 10px 20px; text-decoration: none; border: 1px solid #333; }
.store small { display: block; font-size: .72rem; opacity: .8; }
.store b { font-size: 1.15rem; }
.store[aria-disabled="true"] { cursor: default; }
.cta-art { position: relative; z-index: 1; background: #fff; border-radius: 22px; padding: 12px; }

/* ---- legal pages ---- */
.page-hero { padding: 48px 0 24px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); }
.prose { max-width: 820px; padding: 40px 20px 72px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.note { background: #fff6dc; border: 1px solid #f2d27a; border-radius: 12px; padding: 14px 18px; color: #6b4e00; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.contact-box dt { font-weight: 700; color: var(--navy); }
.contact-box dd { margin: 0; }

/* ---- footer ---- */
.site-footer { background: #0f1f45; color: #c8d3ea; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand .plate { background: #fff; border-radius: 16px; padding: 6px; width: 76px; height: 76px; flex: none; }
.footer-brand .plate img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand b { color: #fff; font-size: 1.2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px; font-size: .88rem; color: #9fb0d3; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .helplines { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .hero .container, .split, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .helplines { grid-template-columns: repeat(2, 1fr); }
  section { padding: 56px 0; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.helplines-title { margin: 48px auto 18px; }
