/* Asqat landing — uslublar (tashqi shrift/resurslarsiz). Rang tokenlari: yorug' va qorong'i mavzu. */

:root {
  color-scheme: light dark;

  --bg: #f6f8fb;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --header-bg: rgba(246, 248, 251, 0.84);
  --text: #0d1526;
  --text-2: #3f4b5f;
  --text-3: #556175;
  --border: #e1e6ee;
  --border-2: #cdd5e1;
  --grid: rgba(13, 21, 38, 0.05);

  --primary: #0369a1;
  --primary-hover: #075985;
  --on-primary: #ffffff;
  --link: #0369a1;
  --focus: #0369a1;
  --grad-a: #0369a1;
  --grad-b: #047857;
  --glow-a: rgba(14, 165, 233, 0.16);
  --glow-b: rgba(16, 185, 129, 0.12);
  --brand-tint: #e3f0fa;

  --icon-bg: linear-gradient(135deg, #0369a1, #047857);
  --icon-fg: #ffffff;

  --shadow-sm: 0 1px 2px rgba(13, 21, 38, 0.06);
  --shadow: 0 1px 2px rgba(13, 21, 38, 0.05), 0 14px 32px -18px rgba(13, 21, 38, 0.24);
  --shadow-lg: 0 2px 4px rgba(13, 21, 38, 0.04), 0 28px 56px -28px rgba(13, 21, 38, 0.32);

  --ok-fg: #166534;
  --ok-bg: #dcfce7;
  --info-fg: #1e40af;
  --info-bg: #dbeafe;
  --warn-fg: #92400e;
  --warn-bg: #fef3c7;

  /* Hero'dagi panel/chat sxemasi */
  --skeleton: #e6ebf2;
  --skeleton-strong: #d2dae6;
  --chat-bg: #edf2f8;
  --bubble: #ffffff;

  /* Xavfsizlik kartasi */
  --secure-bg: linear-gradient(135deg, #0c4a6e, #064e3b);
  --secure-bd: transparent;
  --secure-fg: #ffffff;
  --secure-muted: rgba(255, 255, 255, 0.82);
  --secure-icon-bg: rgba(255, 255, 255, 0.14);

  --radius: 16px;
  --radius-lg: 22px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1a;
    --bg-alt: #0d1422;
    --surface: #111a2b;
    --surface-2: #172236;
    --header-bg: rgba(10, 15, 26, 0.8);
    --text: #e8ecf4;
    --text-2: #b4bdcc;
    --text-3: #9aa5b8;
    --border: #213048;
    --border-2: #2e3e5c;
    --grid: rgba(255, 255, 255, 0.035);

    --primary: #38bdf8;
    --primary-hover: #7dd3fc;
    --on-primary: #04121f;
    --link: #7dd3fc;
    --focus: #7dd3fc;
    --grad-a: #38bdf8;
    --grad-b: #34d399;
    --glow-a: rgba(56, 189, 248, 0.13);
    --glow-b: rgba(52, 211, 153, 0.09);
    --brand-tint: rgba(56, 189, 248, 0.13);

    --icon-bg: rgba(56, 189, 248, 0.13);
    --icon-fg: #7dd3fc;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 14px 32px -18px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 56px -28px rgba(0, 0, 0, 0.8);

    --ok-fg: #86efac;
    --ok-bg: rgba(34, 197, 94, 0.14);
    --info-fg: #93c5fd;
    --info-bg: rgba(59, 130, 246, 0.16);
    --warn-fg: #fcd34d;
    --warn-bg: rgba(245, 158, 11, 0.14);

    --skeleton: #1f2c43;
    --skeleton-strong: #2b3b58;
    --chat-bg: #0d1524;
    --bubble: #172236;

    --secure-bg: linear-gradient(135deg, #0b2a3f, #0a2c25);
    --secure-bd: #213048;
    --secure-fg: #e8ecf4;
    --secure-muted: #b4bdcc;
    --secure-icon-bg: rgba(125, 211, 252, 0.12);
  }
}

/* Asos */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 0.875em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Sarlavha (header) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 8px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.header-cta {
  flex: none;
}

@media (max-width: 759px) {
  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }
}

/* Tugmalar */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn .i-arrow {
  transition: transform 0.15s ease;
}

.btn:hover .i-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
}

.btn-lg {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 1rem;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
}

.btn-sm svg {
  width: 16px;
  height: 16px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(44px, 8vw, 96px) clamp(44px, 7vw, 88px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Pastki chekkada keskin chiziq bo'lmasligi uchun fon pastga qarab so'nadi */
.hero::before {
  background:
    radial-gradient(640px 420px at 82% 18%, var(--glow-a), transparent 70%),
    radial-gradient(560px 380px at 6% 78%, var(--glow-b), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

.hero::after {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 75%);
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 379px) {
  .pill {
    font-size: 0.8125rem;
  }
}

.pill-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.125rem, 1.35rem + 3.4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.text-grad {
  color: var(--grad-a);
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 38rem;
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Kichik ekranda tugmalar to'liq kenglikda */
@media (max-width: 479px) {
  .actions .btn {
    flex: 1 1 100%;
  }
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero-points li,
.checks li {
  position: relative;
}

.hero-points li {
  padding-left: 26px;
}

/* Belgi (check) — rasm yoki ikonkasiz, faqat CSS */
.hero-points li::before,
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  border-radius: 50%;
  background: var(--ok-bg);
}

.hero-points li::after,
.checks li::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 9px;
  border: solid var(--ok-fg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hero-points li::before {
  top: 2px;
  width: 18px;
  height: 18px;
}

.hero-points li::after {
  top: 5.5px;
  left: 6.5px;
}

.checks {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.checks li {
  padding-left: 32px;
}

.checks li::before {
  top: 2px;
  width: 22px;
  height: 22px;
}

.checks li::after {
  top: 6.5px;
  left: 8.5px;
}

/* Hero sxemasi: admin panel + mijozga kelgan Telegram xabari */

.hero-art {
  display: none;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }

  .hero-art {
    display: block;
  }
}

.mock {
  display: grid;
  max-width: 500px;
  margin-inline: auto;
  font-size: 13px;
  line-height: 1.4;
}

.mock-window,
.mock-phone {
  grid-area: 1 / 1;
  align-self: start;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.mock-window {
  margin-right: 14%;
  border-radius: 18px;
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
}

.mock-url {
  flex: 1;
  margin-right: 36px;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
}

.mock-body {
  padding: 16px 16px 20px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-h {
  font-size: 15px;
  font-weight: 700;
}

.mock-add {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 700;
}

.mock-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.mock-rows li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 56px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.av-1 {
  background: linear-gradient(135deg, #fdba74, #ea580c);
}

.av-2 {
  background: linear-gradient(135deg, #86efac, #16a34a);
}

.av-3 {
  background: linear-gradient(135deg, #93c5fd, #2563eb);
}

.av-4 {
  background: linear-gradient(135deg, #c4b5fd, #7c3aed);
}

.sk {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 6px;
  background: var(--skeleton);
}

.sk-name {
  width: 78%;
}

.sk-w2 {
  width: 60%;
}

.sk-w3 {
  width: 70%;
}

.sk-w4 {
  width: 52%;
}

.sk-short {
  width: 68%;
}

.sk-amt {
  height: 10px;
  background: var(--skeleton-strong);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-fg);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.tag-debt {
  --tag-fg: var(--warn-fg);
  --tag-bg: var(--warn-bg);
}

.tag-pay {
  --tag-fg: var(--ok-fg);
  --tag-bg: var(--ok-bg);
}

.tag-sale {
  --tag-fg: var(--info-fg);
  --tag-bg: var(--info-bg);
}

.mock-phone {
  z-index: 1;
  margin-top: 190px;
  margin-left: 50%;
  padding: 10px;
  border-color: var(--border-2);
  border-radius: 26px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 10px;
}

.chat-head img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.chat-head b {
  display: block;
  font-size: 13px;
}

.chat-head small {
  display: block;
  color: var(--text-3);
  font-size: 11px;
}

.chat {
  display: grid;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 18px;
  background: var(--chat-bg);
}

.bubble {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  background: var(--bubble);
  box-shadow: var(--shadow-sm);
}

.bal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding-top: 7px;
  border-top: 1px dashed var(--border-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
}

.bal .sk-amt {
  width: 64px;
}

/* Bo'limlar */

.section {
  padding-block: clamp(52px, 7vw, 88px);
  scroll-margin-top: var(--header-h);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.kicker {
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.section-lead {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 1.0625rem;
}

/* Qanday ishlaydi */

.steps {
  display: grid;
  gap: 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: step;
}

.step::before {
  content: counter(step) "-qadam";
  position: absolute;
  top: clamp(22px, 3vw, 28px);
  right: clamp(22px, 3vw, 28px);
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-icon,
.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-fg);
}

.step-icon svg,
.feature-icon svg {
  width: 24px;
  height: 24px;
}

.step h3 {
  margin-top: 18px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  /* Qadamlar orasidagi strelka */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--border-2);
    border-right: 2px solid var(--border-2);
    transform: translateY(-50%) rotate(45deg);
  }
}

/* Imkoniyatlar */

.features {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.feature {
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}

.feature h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* Telefonda ixchamroq: ikonka chapda, matn o'ngda */
@media (max-width: 639px) {
  .feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
  }

  .feature-icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .feature h3 {
    margin-top: 0;
    align-self: center;
  }

  .feature p {
    margin-top: 4px;
  }
}

.secure {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--secure-bd);
  border-radius: var(--radius-lg);
  background: var(--secure-bg);
  color: var(--secure-fg);
}

.secure-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.secure-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--secure-icon-bg);
}

.secure-icon svg {
  width: 26px;
  height: 26px;
}

.secure h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.secure-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
  color: var(--secure-muted);
  font-size: 0.9375rem;
}

.secure-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--secure-fg);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .secure {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .secure-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

/* Kim uchun */

.who {
  display: grid;
  gap: 8px;
  align-items: center;
}

.who-list {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-weight: 500;
}

@media (min-width: 900px) {
  .who {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .who .section-head {
    margin-bottom: 0;
  }
}

/* Savollar */

.faq-wrap {
  display: grid;
}

@media (min-width: 900px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
  }
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq details[open] {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 20px;
  border-radius: var(--radius);
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq summary:hover {
  color: var(--link);
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--text-2);
}

/* Ulanish (CTA) */

.section-cta {
  padding-top: 0;
}

.cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4.5vw, 48px);
  border: 1.5px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--grad-a), var(--grad-b)) border-box;
  box-shadow: var(--shadow);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 260px at 100% 0%, var(--glow-a), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, var(--glow-b), transparent 70%);
}

.cta-copy h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta-copy p {
  max-width: 36rem;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.cta-note {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (min-width: 860px) {
  .cta-box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .cta-actions .btn {
    flex: 1 1 100%;
  }
}

/* Pastki qism (footer) */

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* 404 sahifa */

/* Hero butun bo'sh balandlikni egallaydi — fon sarlavhadan uzilmaydi */
.notfound {
  display: flex;
}

.notfound .hero {
  display: flex;
  flex: 1;
  align-items: center;
}

.nf-code {
  font-size: clamp(4.5rem, 3rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.notfound h1 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
}

/* Harakatni kamaytirish va majburiy ranglar */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .step,
  .feature,
  .secure,
  .cta-box,
  .faq details {
    border: 1px solid CanvasText;
  }

  .text-grad {
    -webkit-text-fill-color: currentColor;
  }
}
