/* Nikoh.uz — public site. Palette taken from the app icon (indigo → magenta rings). */
:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #17112b;
  --muted: #5f5876;
  --line: #e7e2f3;
  --brand: #6a2cd9;
  --brand-ink: #4a1a9e;
  --rose: #d6338f;
  --brand-soft: #f1ebff;
  --night: #1b0f3a;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0a1f; --surface: #181130; --ink: #eee9fb; --muted: #aaa1c4; --line: #2b2148;
    --brand: #a782ff; --brand-ink: #c6adff; --rose: #ff6fb8; --brand-soft: #241944; --night: #0a0616;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }

.container {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 18px; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 10%, #8a1f7a 0%, transparent 55%), radial-gradient(90% 90% at 10% 100%, #3b1d8f 0%, transparent 60%), var(--night); color: #f6f1ff; }
.hero .container { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.02em; }
.hero p.lead { margin-top: 20px; font-size: 19px; color: #d9cff3; max-width: 56ch; }
.hero .ayah { margin-top: 28px; padding-left: 16px; border-left: 2px solid #ff7cc4; color: #cbbfe9; font-size: 15px; max-width: 52ch; }
.hero-art { justify-self: center; position: relative; }
.hero-art img { width: min(320px, 70vw); height: auto; aspect-ratio: 1; border-radius: 28%; box-shadow: 0 30px 80px rgba(214, 51, 143, 0.35); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.28); color: #fff; font-size: 13px; line-height: 1.3; }
.store b { font-size: 16px; font-weight: 700; }
.store small { color: #cbbfe9; }

/* Sections */
section { padding-block: 80px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); }
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.01em; margin-top: 10px; }
.section-lead { color: var(--muted); max-width: 64ch; margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: s; list-style: none; padding: 0; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--display); font-size: 28px; color: var(--brand); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.band { background: var(--brand-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.list-check { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.list-check li { padding-left: 30px; position: relative; color: var(--muted); }
.list-check li strong { color: var(--ink); }
.list-check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: inset 0 0 0 4px var(--brand-soft); }

.company { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.company dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.company dt { color: var(--muted); font-size: 15px; }
.company dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

.en { border-top: 1px solid var(--line); }
.en p { color: var(--muted); max-width: 72ch; margin-top: 12px; }

/* Legal / document pages */
.doc { padding-block: 56px 80px; }
.doc .container { max-width: 780px; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4.4vw, 40px); }
.doc .meta { color: var(--muted); font-size: 15px; margin-top: 10px; }
.doc h2 { font-size: 21px; margin-top: 40px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin-top: 12px; }
.doc ol, .doc ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.callout { margin-top: 28px; background: var(--brand-soft); border-radius: var(--radius); padding: 22px 24px; }
.callout p { color: var(--ink); margin: 0; }
.callout p + p { margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; }
.contact-card span { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-card a, .contact-card b { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--night); color: #cbbfe9; padding-block: 48px; font-size: 15px; }
.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.site-footer a { color: #e7defd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; color: #9d91bd; }

@media (max-width: 860px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero .container { padding-block: 56px 64px; }
  .hero-art { order: -1; justify-self: start; }
  .hero-art img { width: 120px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid, .site-footer .container { grid-template-columns: 1fr; }
  section { padding-block: 56px; }
  .nav { margin-left: 0; gap: 14px; }
  .site-header .container { padding-block: 10px; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.store-primary { background: #fff; color: var(--night); border-color: #fff; text-decoration: none; }
.store-primary small { color: #6a5a92; }
.store-primary:hover { background: #f1ebff; }
