:root {
  color-scheme: light dark;
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f2f0ea;
  --text: #1d1b24;
  --muted: #5f5c69;
  --border: #e4e1d9;
  --accent: #4a3ac0;
  --accent-ink: #ffffff;
  --accent-soft: #ecebfa;
  --shadow: 0 1px 2px rgb(20 18 30 / 6%), 0 10px 30px rgb(20 18 30 / 7%);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131218;
    --surface: #1b1a22;
    --surface-2: #23222c;
    --text: #ecebf3;
    --muted: #a7a4b4;
    --border: #2f2d39;
    --accent: #a197ff;
    --accent-ink: #15131f;
    --accent-soft: #272442;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 30%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.mark { width: 28px; height: 28px; flex: none; }
.mark rect { fill: var(--accent); }
.mark path { stroke: var(--accent-ink); }
.site-header nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
.lead { margin: 0 0 28px; max-width: 34em; font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* Example chat in the hero */
.example { justify-self: center; width: 100%; max-width: 360px; margin: 0; }
.phone { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); line-height: 1.3; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.phone-top small { display: block; color: var(--muted); font-size: .78rem; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface-2); font-size: .9rem; }
.msg { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 14px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg.store { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.product { align-self: flex-start; width: 80%; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.product .photo { height: 110px; background:
  repeating-linear-gradient(90deg, transparent 0 18px, rgb(242 181 68 / 55%) 18px 22px),
  linear-gradient(135deg, #8e1027, #c8323f 60%, #e2574c); }
.product .info { padding: 8px 12px; line-height: 1.35; }
.product strong { display: block; font-size: .86rem; }
.product small { color: var(--muted); }
.taps { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; width: 80%; }
.taps span { padding: 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); font-size: .82rem; font-weight: 600; text-align: center; }
.example figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; text-align: center; }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; }
.section-lead { margin: 0 0 32px; max-width: 42em; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.details p { margin: 0 0 14px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Policy pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc .updated { margin-top: -6px; color: var(--muted); }
.doc h2 { margin: 36px 0 8px; font-size: 1.25rem; }
.doc h3 { margin: 22px 0 6px; font-size: 1.02rem; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc address { font-style: normal; }

/* Footer */
.site-footer { padding: 32px 0 20px; background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0 0 6px; }
.foot address { font-style: normal; }
.foot .brand { font-size: 1rem; margin-bottom: 8px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.copy { margin-top: 24px; font-size: .82rem; }

@media (max-width: 860px) {
  .hero-grid, .details { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 36px; }
  section { padding: 44px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 12px; }
}
