/* The website's front page. The app's own styles stay in app.css. */
:root {
  --ink: #2a1a14; --muted: #6b5a50; --paper: #fdf6ec; --card: #ffffff; --line: #eadfce;
  --brand: #8f1239; --brand-dark: #5f0f26; --accent: #f59e0b; --accent-dark: #b8740a; --ok: #166534;
  --radius: 16px; --shadow: 0 6px 24px rgba(80, 40, 20, .12);
  font-family: 'Mukta', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.5; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--brand); }
img, canvas { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.display { font-family: 'Poppins', 'Mukta', sans-serif; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--brand); color: var(--brand); background: transparent; font-size: 17px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.gold { background: var(--accent); border-color: var(--accent); color: #3b1d03; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(253, 246, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-family: 'Poppins', 'Mukta', sans-serif; font-weight: 800; font-size: 24px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav nav { display: flex; gap: 18px; align-items: center; }
.nav nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav nav .btn { padding: 8px 16px; font-size: 16px; }
@media (max-width: 700px) { .nav nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding-block: 44px 28px; background: radial-gradient(1200px 500px at 85% -10%, rgba(245, 158, 11, .22), transparent 60%), radial-gradient(900px 400px at 0% 100%, rgba(143, 18, 57, .10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 14px; color: var(--brand-dark); }
.hero .lead { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.stats strong { display: block; font-family: 'Poppins', 'Mukta', sans-serif; font-size: 26px; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.collage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.collage canvas { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 14px; box-shadow: var(--shadow); background: #eee3d3; }
.collage canvas:nth-child(1) { left: 0; top: 6%; transform: rotate(-4deg); z-index: 1; }
.collage canvas:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); z-index: 2; }
.collage canvas:nth-child(3) { left: 21%; bottom: 0; z-index: 3; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .collage { max-width: 400px; } }

/* Sections */
section.block { padding-block: 44px; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block h2 { font-size: clamp(26px, 3vw, 36px); color: var(--brand-dark); }
.block .sub { color: var(--muted); margin-top: 8px; max-width: 42em; font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step h3 { margin-top: 12px; font-size: 20px; }
.step p { color: var(--muted); margin-top: 6px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature svg { width: 34px; height: 34px; color: var(--brand); }
.feature h3 { font-size: 18px; margin-top: 10px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.sample { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sample canvas { display: block; width: 100%; aspect-ratio: 1; background: #eee3d3; }
.sample p { padding: 10px 14px 12px; font-weight: 700; }
.sample p small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .sample p { font-size: 14px; padding: 8px 10px; } }

/* Pricing */
.offer { margin-top: 18px; background: #fff7e2; border: 1px solid #f3d58a; color: #6b4400; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; align-items: stretch; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.plan.best { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 16px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.plan h3 { font-size: 19px; }
.plan .term { color: var(--muted); font-size: 15px; }
.plan .price { font-family: 'Poppins', 'Mukta', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; color: var(--muted); font-family: 'Mukta', sans-serif; font-weight: 600; }
.plan ul { padding-left: 18px; color: var(--ink); font-size: 15px; display: grid; gap: 4px; flex: 1; }
.plan .btn { text-align: center; margin-top: 6px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* Compare, FAQ, download, footer */
.compare { width: 100%; border-collapse: collapse; margin-top: 22px; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: #fff3dc; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare-wrap { overflow-x: auto; }
.faq { display: grid; gap: 10px; margin-top: 22px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq p { color: var(--muted); margin-top: 8px; }
.download { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 70%); color: #fff; }
.download .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.download h2 { color: #fff; }
.download p { color: rgba(255, 255, 255, .86); margin-top: 8px; max-width: 36em; }
.download .cta .btn { border-color: #fff; color: #fff; }
.download .cta .btn.gold { border-color: var(--accent); color: #3b1d03; }
.download canvas { width: 160px; height: 160px; border-radius: 12px; background: #fff; display: block; }
@media (max-width: 640px) { .download .wrap { grid-template-columns: 1fr; } }
footer { padding-block: 28px 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
footer a { color: var(--brand); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
