/* Soft Pastel: lavender, indigo, Plus Jakarta Sans. --brand layout.html mein brand.json se aata hai. */
:root {
  --brand: #5B4FE9;
  --brand-soft: color-mix(in srgb, var(--brand) 12%, white);
  --bg: #F7F5FF;
  --card: #FFFFFF;
  --ink: #1E1B3A;
  --muted: #6B6890;
  --line: #E6E2FA;
  --green: #E3F6EC; --green-ink: #1F7A4D;
  --amber: #FFF2DC; --amber-ink: #9A5B00;
  --blue: #E2F0FF; --blue-ink: #1F5FA8;
  --purple: #EFEAFF; --purple-ink: #5B3FC4;
  --coral: #FFE8E3; --coral-ink: #B2432C;
  --teal: #DFF6F4; --teal-ink: #17756D;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(60, 45, 160, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-soft: color-mix(in srgb, var(--brand) 22%, #15132A);
    --bg: #100E20; --card: #1A1830; --ink: #F1EFFF; --muted: #A7A3C8; --line: #2C2950;
    --green: #173527; --green-ink: #7FDCAA;
    --amber: #3A2B12; --amber-ink: #FFC56B;
    --blue: #14293F; --blue-ink: #8CC2FF;
    --purple: #241D45; --purple-ink: #B9A8FF;
    --coral: #3A1D18; --coral-ink: #FF9E89;
    --teal: #12302D; --teal-ink: #76DDD3;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  }
  .eyebrow, a { color: color-mix(in srgb, var(--brand) 55%, white); }
  .nav nav a, .footer-grid a { color: var(--muted); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav nav a[aria-current] { color: var(--brand); }
.nav .nav-cta { background: var(--brand); color: #fff !important; padding: 8px 16px; border-radius: 999px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 800; }
.logo-mark.sm { width: 26px; height: 26px; border-radius: 8px; font-size: .85rem; }
@media (max-width: 640px) { .nav nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 85% 0%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { max-width: 420px; } }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn[aria-disabled="true"] { opacity: .6; cursor: default; }

.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.mock-top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.mock-stat { background: var(--brand); color: #fff; border-radius: 16px; padding: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.mock-stat strong { font-size: 1.6rem; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg); border-radius: 14px; font-weight: 600; font-size: .95rem; }
.mock-row .pill { margin-left: auto; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: var(--green-ink); } .dot-amber { background: var(--amber-ink); } .dot-blue { background: var(--blue-ink); }
.pill { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); }
.pill-amber { background: var(--amber); color: var(--amber-ink); } .pill-blue { background: var(--blue); color: var(--blue-ink); }

/* Sections */
.section { padding: 64px 0; }
.section.pt0 { padding-top: 0; }
.section-tint { background: var(--brand-soft); }
.section-title { text-align: center; margin-bottom: 32px; }
.page-head { padding-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); margin: 0; }
.ficon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.ficon-green { background: var(--green); color: var(--green-ink); } .ficon-amber { background: var(--amber); color: var(--amber-ink); }
.ficon-blue { background: var(--blue); color: var(--blue-ink); } .ficon-purple { background: var(--purple); color: var(--purple-ink); }
.ficon-coral { background: var(--coral); color: var(--coral-ink); } .ficon-teal { background: var(--teal); color: var(--teal-ink); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; gap: 16px; background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

.cta-box { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 48px 24px; box-shadow: var(--shadow); }

/* Pricing */
.trial-note { display: inline-block; background: var(--green); color: var(--green-ink); font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.plan { display: flex; flex-direction: column; gap: 6px; min-height: 220px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { align-self: flex-start; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); }
.plan .save { color: var(--green-ink); font-weight: 700; font-size: .9rem; }
.skeleton { background: linear-gradient(90deg, var(--card), var(--brand-soft), var(--card)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } html { scroll-behavior: auto; } }
.included { list-style: none; padding: 0; margin: 32px auto 16px; max-width: 560px; display: grid; gap: 10px; }
.included li { padding-left: 30px; position: relative; }
.included li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--green-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* Legal pages */
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid .logo { color: var(--ink); display: inline-flex; margin-bottom: 12px; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 32px; }
