/* Bazis — dizayn tizimi
   Yo'nalish: iliq oq qog'oz, qora siyoh, bitta chuqur yashil urg'u.
   Yumshoq soyalar, keng havo, silliq burchaklar. Rang ko'paymaydi. */

/* ---------------------------------- tokenlar --------------------------------- */
:root {
  color-scheme: light;

  /* yuzalar */
  --paper:        oklch(98.6% 0.003 95);
  --paper-2:      oklch(96.6% 0.005 100);
  --card:         oklch(99.6% 0.002 95);
  --ink:          oklch(19% 0.012 162);
  --ink-2:        oklch(34% 0.012 162);
  --muted:        oklch(53% 0.012 162);
  --line:         oklch(91% 0.006 110);
  --line-soft:    oklch(94.6% 0.005 110);

  /* bitta urg'u */
  --accent:       oklch(46% 0.098 162);
  --accent-deep:  oklch(39% 0.095 162);
  --accent-soft:  oklch(95% 0.028 162);
  --accent-line:  oklch(86% 0.045 162);
  --accent-ink:   oklch(99% 0.004 162);
  --focus:        oklch(46% 0.12 162);

  /* holat */
  --warn:         oklch(62% 0.11 75);
  --warn-soft:    oklch(96% 0.035 85);
  --error:        oklch(52% 0.17 25);
  --error-soft:   oklch(96% 0.03 25);

  /* shriftlar */
  --font: "Geist", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* o'lchov */
  --text-xs: 0.8125rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-lead: clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  --text-title: clamp(1.15rem, 0.4vw + 1.05rem, 1.3rem);
  --text-section: clamp(1.85rem, 2.6vw + 0.6rem, 2.9rem);
  --text-display: clamp(2.5rem, 4.6vw + 0.9rem, 4.4rem);

  /* bo'shliq */
  --s-3xs: 2px; --s-2xs: 4px; --s-xs: 8px; --s-sm: 12px; --s-md: 16px;
  --s-lg: 24px; --s-xl: 32px; --s-2xl: 48px; --s-3xl: 72px; --s-4xl: 112px;

  /* burchak */
  --r-xs: 8px; --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* soya */
  --lift:   0 1px 2px oklch(20% 0.01 162 / 0.05), 0 10px 30px -18px oklch(20% 0.01 162 / 0.22);
  --lift-2: 0 2px 4px oklch(20% 0.01 162 / 0.05), 0 24px 56px -28px oklch(20% 0.01 162 / 0.3);

  /* harakat */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --t-fast: 140ms;
  --t: 240ms;
  --t-slow: 420ms;

  /* o'lcham */
  --container: 1180px;
  --gutter: 40px;
  --nav-h: 68px;

  /* qatlam */
  --z-nav: 300; --z-sheet: 400;
}

/* ----------------------------------- asos ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s-lg)); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-md);
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); letter-spacing: -0.038em; line-height: 1.02; max-width: 17ch; }
h2 { font-size: var(--text-section); max-width: 22ch; }
h3 { font-size: var(--text-title); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }
h4 { font-size: var(--text-md); line-height: 1.4; letter-spacing: -0.015em; }

p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 66ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* Kirgan yoki kirmaganiga qarab ko'rinadigan qismlar.
   Holatni server <html> tegiga yozadi, shuning uchun sahifa ochilishida sakrash bo'lmaydi. */
html[data-kirgan] .faqat-mehmon { display: none !important; }
html:not([data-kirgan]) .faqat-mijoz { display: none !important; }
html:not([data-rol="admin"]) .faqat-admin { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--accent-soft); color: var(--accent-deep); }

.lead { font-size: var(--text-lead); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--s-4xl); }
.section-sm { padding-block: var(--s-3xl); }

.skip {
  position: fixed; left: var(--s-md); top: -120px; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: var(--s-sm) var(--s-md); border-radius: var(--r-sm);
  transition: top var(--t) var(--ease);
}
.skip:focus-visible { top: var(--s-md); }

/* to'ldirilishi kerak bo'lgan ma'lumot */
.fill {
  color: var(--muted); font-style: normal;
  border-bottom: 1px dashed var(--line);
}

/* ---------------------------------- tugmalar --------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-xs);
  min-height: 48px; padding: 0 var(--s-lg);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease);
}
.btn:hover { --btn-bg: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: var(--accent); box-shadow: var(--lift); }
.btn-primary:hover { --btn-bg: var(--accent-deep); --btn-bd: var(--accent-deep); box-shadow: var(--lift-2); }
.btn-ghost { --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--paper-2); }
.btn-sm { min-height: 40px; padding: 0 var(--s-md); font-size: var(--text-xs); }
.btn-lg { min-height: 54px; padding: 0 var(--s-xl); font-size: var(--text-md); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-sm); }

.textlink { color: var(--accent); font-weight: 500; text-underline-offset: 3px; }
.textlink:hover { text-decoration: underline; }

/* ----------------------------------- yorliq ---------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  padding: var(--s-3xs) var(--s-sm); border-radius: var(--r-pill);
  background: var(--paper-2); color: var(--muted);
  font-size: var(--text-xs); font-weight: 500; white-space: nowrap;
}
.tag-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.tag-live { background: var(--accent-soft); color: var(--accent-deep); }
.tag-wait { background: var(--warn-soft); color: oklch(42% 0.09 70); }
.tag-accent { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------------------------------- maydonlar -------------------------------- */
.field { display: grid; gap: var(--s-xs); }
.field > label { font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
select, textarea {
  width: 100%; min-height: 50px; padding: var(--s-sm) var(--s-md);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--text-md); line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea { min-height: 104px; resize: vertical; }
select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2366726d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-md) center; padding-right: var(--s-2xl); }
input::placeholder, textarea::placeholder { color: oklch(68% 0.01 162); }
input:hover, select:hover, textarea:hover { border-color: oklch(85% 0.008 120); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; background: var(--paper-2); }
.field-error { font-size: var(--text-sm); color: var(--error); }
.field-error:empty, .note:empty { display: none; }
.field[data-invalid="ha"] input, .field[data-invalid="ha"] select { border-color: var(--error); }

/* parolni ko'rsatish */
.pw { position: relative; }
.pw input { padding-right: 86px; }
.pw button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 38px; padding: 0 var(--s-sm);
  background: transparent; border: 0; border-radius: var(--r-xs);
  font-size: var(--text-xs); font-weight: 500; color: var(--muted); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pw button:hover { background: var(--paper-2); color: var(--ink); }

.note { font-size: var(--text-sm); color: var(--muted); }
.answer { min-height: 1.2lh; font-size: var(--text-sm); font-weight: 500; }
.answer[data-kind="error"] { color: var(--error); }
.answer[data-kind="ok"] { color: var(--accent-deep); }

/* -------------------------------- navigatsiya -------------------------------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(98.6% 0.003 95 / 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav[data-scrolled="ha"] { border-bottom-color: var(--line-soft); }
.nav-in { display: flex; align-items: center; gap: var(--s-lg); min-height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.03em; font-size: 1.07rem; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: -0.02em;
}

.nav-menu { display: flex; align-items: center; gap: var(--s-lg); margin-inline: auto; }
.nav-menu a { font-size: var(--text-sm); font-weight: 500; color: var(--muted); transition: color var(--t-fast) var(--ease); }
.nav-menu a:hover { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: var(--s-xs); }

.burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform var(--t) var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(-90deg); }
.burger[aria-expanded="true"] span::after { opacity: 0; }

.sheet {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: var(--z-sheet);
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: var(--s-lg) var(--gutter) var(--s-xl);
  display: grid; gap: var(--s-xs);
  box-shadow: var(--lift-2);
}
.sheet[hidden] { display: none; }
.sheet a { padding: var(--s-sm) 0; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.sheet .btn { margin-top: var(--s-md); }

/* ----------------------------------- hero ------------------------------------ */
.hero { position: relative; padding-block: clamp(44px, 6.5vw, 84px) clamp(52px, 6vw, 80px); text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -140px 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(52% 90% at 50% 2%, var(--accent-soft), transparent 68%),
    radial-gradient(90% 60% at 50% 0%, oklch(97.5% 0.012 150), transparent 72%);
  pointer-events: none;
}
.hero-in { display: grid; justify-items: center; gap: var(--s-lg); }
.hero h1 { margin-inline: auto; }
.hero .lead { margin-inline: auto; text-align: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-xs) var(--s-lg); font-size: var(--text-sm); color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: var(--s-xs); }
.tick { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); }

/* domen tekshirgich */
.checker { width: min(100%, 560px); display: grid; gap: var(--s-sm); text-align: left; }
.checker-box {
  display: flex; align-items: center; gap: var(--s-xs);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 6px 6px var(--s-lg);
  box-shadow: var(--lift);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.checker-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--lift); }
.checker-box input {
  flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  font-family: var(--font-mono); font-size: var(--text-md); letter-spacing: -0.01em;
}
.checker-box input:focus-visible { outline: none; box-shadow: none; border: 0; }
.checker-suffix { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--muted); white-space: nowrap; }
.checker-status { display: flex; align-items: center; gap: var(--s-xs); min-height: 1.4lh; padding-left: var(--s-lg); font-size: var(--text-sm); color: var(--muted); }
.checker-status[data-state="bosh"] { color: var(--accent-deep); font-weight: 500; }
.checker-status[data-state="band"], .checker-status[data-state="notogri"] { color: oklch(45% 0.1 60); }
.spinner {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); border-top-color: var(--accent);
  animation: aylan 700ms linear infinite;
}
@keyframes aylan { to { transform: rotate(360deg); } }

/* --------------------------------- kartalar ---------------------------------- */
.card {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--lift);
}
.card-pad { padding: var(--s-xl); }

.head-block { display: grid; gap: var(--s-md); max-width: 46ch; }
.head-center { margin-inline: auto; text-align: center; justify-items: center; }
.head-center .lead { text-align: center; }
.eyebrow-free { margin-bottom: var(--s-2xl); }

/* ---------------------------------- tariflar --------------------------------- */
.plan-bar { display: flex; align-items: center; justify-content: center; gap: var(--s-md); margin-bottom: var(--s-2xl); }
.toggle {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--paper-2); border-radius: var(--r-pill);
}
.toggle button {
  min-height: 38px; padding: 0 var(--s-md);
  background: transparent; border: 0; border-radius: var(--r-pill);
  font-size: var(--text-sm); font-weight: 500; color: var(--muted); cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--lift); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-md); align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s-md);
  padding: var(--s-xl) var(--s-lg) var(--s-lg);
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xs); min-height: 26px; }
.plan-name { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.plan-price span { font-size: var(--text-sm); color: var(--muted); }
.plan-for { font-size: var(--text-sm); color: var(--muted); min-height: 2.6lh; }
.plan-spec { display: grid; gap: var(--s-xs); padding-top: var(--s-md); border-top: 1px solid var(--line-soft); }
.plan-spec li { display: flex; align-items: center; gap: var(--s-xs); font-size: var(--text-sm); color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plan[data-featured] { box-shadow: 0 0 0 1.5px var(--accent-line), var(--lift-2); }

/* -------------------------------- qadamlar ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-xl); counter-reset: q; }
.step { display: grid; gap: var(--s-sm); counter-increment: q; }
.step::before {
  content: counter(q);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: var(--text-sm); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step p { font-size: var(--text-sm); color: var(--muted); max-width: 36ch; }

/* -------------------------------- mahsulot ----------------------------------- */
.product { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s-3xl); align-items: center; }
.product-notes { display: grid; gap: var(--s-lg); margin-top: var(--s-xl); }
.product-note { display: grid; gap: 2px; padding-left: var(--s-md); border-left: 2px solid var(--accent-line); }
.product-note p { font-size: var(--text-sm); color: var(--muted); max-width: 40ch; }

.shot { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift-2); overflow: hidden; }
.shot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-sm);
  padding: var(--s-sm) var(--s-md); border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-sm); font-weight: 500;
}
.shot-tabs { display: flex; gap: 2px; padding: var(--s-xs) var(--s-xs) 0; }
.shot-tabs button {
  flex: 1 1 0; min-height: 36px; padding: 0 var(--s-sm);
  background: transparent; border: 0; border-radius: var(--r-xs);
  font-size: var(--text-xs); font-weight: 500; color: var(--muted); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.shot-tabs button:hover { background: var(--paper-2); }
.shot-tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-deep); }
.shot-body { padding: var(--s-xs) var(--s-md) var(--s-md); }
.shot-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-sm);
  padding: var(--s-sm) var(--s-xs); border-bottom: 1px solid var(--line-soft);
}
.shot-row:last-child { border-bottom: 0; }
.shot-row .k { font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: -0.02em; }
.shot-row .v { font-size: var(--text-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.shot-panel[hidden] { display: none; }

/* -------------------------------- xizmatlar ---------------------------------- */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-md); }
.svc-item {
  display: grid; gap: var(--s-xs); padding: var(--s-xl);
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift);
}
.svc-item p { font-size: var(--text-sm); color: var(--muted); max-width: 44ch; }
.svc-price { font-size: var(--text-sm); color: var(--accent-deep); font-weight: 500; }

/* ---------------------------------- savollar --------------------------------- */
.faq { display: grid; gap: var(--s-xs); }
.qa { background: var(--card); border-radius: var(--r); box-shadow: var(--lift); overflow: hidden; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
  padding: var(--s-lg); cursor: pointer; list-style: none;
  font-weight: 500; letter-spacing: -0.015em;
  transition: background-color var(--t-fast) var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--paper-2); }
.qa summary::after {
  content: ""; width: 11px; height: 11px; flex-shrink: 0;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t) var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.qa-body { padding: 0 var(--s-lg) var(--s-lg); }
.qa-body p { font-size: var(--text-sm); color: var(--muted); max-width: 70ch; line-height: 1.7; }

/* ----------------------------------- chaqiriq -------------------------------- */
.cta {
  display: grid; justify-items: center; gap: var(--s-lg); text-align: center;
  padding: var(--s-3xl) var(--s-xl);
  background: var(--accent-soft); border-radius: var(--r-xl);
}
.cta h2 { max-width: 20ch; }
.cta .lead { text-align: center; color: oklch(42% 0.05 162); }

/* ----------------------------------- futer ----------------------------------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: var(--s-3xl) var(--s-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); gap: var(--s-xl); }
.footer-grid p { font-size: var(--text-sm); color: var(--muted); max-width: 32ch; margin-top: var(--s-sm); }
.footer h4 { font-size: var(--text-sm); color: var(--muted); font-weight: 500; margin-bottom: var(--s-sm); }
.footer-col a { display: block; padding-block: 5px; font-size: var(--text-sm); transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-sm);
  margin-top: var(--s-2xl); padding-top: var(--s-lg); border-top: 1px solid var(--line-soft);
  font-size: var(--text-sm); color: var(--muted);
}

/* ---------------------------------- auth ------------------------------------- */
/* qadamlar chizig'i */
.qadamlar { display: flex; align-items: center; justify-content: center; gap: var(--s-sm); counter-reset: q; flex-wrap: wrap; margin-bottom: var(--s-xl); }
.qadamlar li {
  display: flex; align-items: center; gap: var(--s-xs); counter-increment: q;
  font-size: var(--text-sm); font-weight: 500; color: var(--muted);
}
.qadamlar li::before {
  content: counter(q);
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--muted);
  font-size: var(--text-xs); font-variant-numeric: tabular-nums;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.qadamlar li + li::after { content: ""; }
.qadamlar li:not(:last-child) { padding-right: var(--s-sm); border-right: 1px solid var(--line); }
.qadamlar li[aria-current="step"] { color: var(--ink); }
.qadamlar li[aria-current="step"]::before { background: var(--accent); color: var(--accent-ink); }
.qadamlar li[data-tugadi]::before {
  content: "✓"; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px;
}
.qadamlar li[data-tugadi] { color: var(--accent-deep); }

.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

.auth-center { max-width: 440px; margin-inline: auto; padding-block: var(--s-3xl) var(--s-4xl); }
.auth-center .head-block { margin-bottom: var(--s-xl); }
.auth-card { padding: var(--s-xl); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift-2); }
.auth-form { display: grid; gap: var(--s-md); }
.auth-form .btn[type="submit"] { margin-top: var(--s-2xs); }
.auth-form .answer:empty { display: none; }
.auth-alt { margin-top: var(--s-lg); text-align: center; font-size: var(--text-sm); color: var(--muted); }
.field > label .muted { font-weight: 400; }

/* --------------------------------- kabinet ----------------------------------- */
.kab-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-lg); flex-wrap: wrap; padding-block: var(--s-3xl) var(--s-xl); }
.kab-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-xl); align-items: start; padding-bottom: var(--s-4xl); }
.panel { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-sm);
  padding: var(--s-md) var(--s-lg); border-bottom: 1px solid var(--line-soft);
}
.panel-head h2, .panel-head h3 { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.02em; max-width: none; }
.panel-body { padding: var(--s-lg); display: grid; gap: var(--s-md); }

.order { display: grid; grid-template-columns: 1fr auto; gap: var(--s-xs) var(--s-md); padding: var(--s-lg); border-bottom: 1px solid var(--line-soft); }
.order:last-child { border-bottom: 0; }
.order-name { font-weight: 600; letter-spacing: -0.02em; }
.order-sub { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--muted); letter-spacing: -0.02em; }
.order-meta { font-size: var(--text-xs); color: var(--muted); }
.order-right { display: grid; gap: var(--s-xs); justify-items: end; align-content: start; }
.order-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.empty { display: grid; gap: var(--s-sm); justify-items: start; padding: var(--s-2xl) var(--s-lg); }
.empty p { font-size: var(--text-sm); color: var(--muted); max-width: 46ch; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: var(--s-xs) var(--s-md); align-items: baseline; padding-bottom: var(--s-md); margin-bottom: var(--s-xs); border-bottom: 1px solid var(--line-soft); }
.kv dt { font-size: var(--text-sm); color: var(--muted); }
.kv dd { margin: 0; font-size: var(--text-sm); text-align: right; }

/* --------------------------------- boshqaruv --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-md); margin-bottom: var(--s-xl); }
.stat { padding: var(--s-lg); background: var(--card); border-radius: var(--r); box-shadow: var(--lift); }
.stat dt { font-size: var(--text-sm); color: var(--muted); }
.stat dd { margin: var(--s-2xs) 0 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: var(--text-sm); font-weight: 500; color: var(--muted); }

.filtr { display: flex; flex-wrap: wrap; gap: var(--s-2xs); }
.filtr button {
  min-height: 34px; padding: 0 var(--s-sm);
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--text-xs); font-weight: 500; color: var(--muted); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.filtr button:hover { background: var(--paper-2); color: var(--ink); }
.filtr button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.ad-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: var(--s-sm) var(--s-lg); align-items: start; padding: var(--s-lg); border-bottom: 1px solid var(--line-soft); }
.ad-row:last-child { border-bottom: 0; }
.ad-row b { font-weight: 600; letter-spacing: -0.02em; }
.ad-sub { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--muted); letter-spacing: -0.02em; }
.ad-meta { font-size: var(--text-xs); color: var(--muted); }
.ad-izoh { font-size: var(--text-sm); color: var(--ink-2); margin-top: var(--s-2xs); }
.ad-kishi { display: grid; gap: 2px; font-size: var(--text-sm); }
.ad-kishi a { color: var(--muted); }
.ad-kishi a:hover { color: var(--accent); }
.ad-act { display: grid; gap: var(--s-xs); justify-items: end; }
.ad-act select { min-height: 40px; min-width: 160px; font-size: var(--text-sm); }
.ad-narx { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.kod-input { font-family: var(--font-mono); font-size: 1.6rem; letter-spacing: 0.35em; text-align: center; min-height: 64px; }
.kod-qayta { display: grid; gap: var(--s-sm); justify-items: center; text-align: center; margin-top: var(--s-lg); padding-top: var(--s-lg); border-top: 1px solid var(--line-soft); }
.kod-qayta .note:empty { display: none; }
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md); flex-wrap: wrap;
  margin-top: var(--s-xl); padding: var(--s-md) var(--s-lg);
  background: var(--warn-soft); border-radius: var(--r);
}
.banner[hidden] { display: none; }
.banner b { font-weight: 600; letter-spacing: -0.015em; }

/* ----------------------------------- 404 ------------------------------------- */
.nf { display: grid; gap: var(--s-lg); justify-items: center; text-align: center; padding-block: var(--s-4xl); }

/* ---------------------------------- kirish ----------------------------------- */
/* Reveal faqat JS ishlaganda yashiradi, aks holda hamma narsa ko'rinadi. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
  .js .reveal[data-seen="ha"] { opacity: 1; transform: none; }
}

@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; }
}

/* -------------------------------- moslashuv ---------------------------------- */
@media (max-width: 1040px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-row { grid-template-columns: 1fr; }
  .ad-act { justify-items: start; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .kab-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; --s-4xl: 80px; --s-3xl: 56px; }
  .nav-menu { display: none; }
  .nav-act .nav-hide { display: none; }
  .burger { display: inline-flex; }
  .steps { grid-template-columns: 1fr; gap: var(--s-lg); }
  .svc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; --s-4xl: 64px; --s-3xl: 44px; }
  .plans { grid-template-columns: 1fr; }
  .cta { padding: var(--s-2xl) var(--s-lg); border-radius: var(--r-lg); }
  .auth-card { padding: var(--s-lg); }
  .checker-box { flex-wrap: wrap; border-radius: var(--r-lg); padding: var(--s-sm); gap: var(--s-xs) var(--s-sm); }
  .checker-box input { flex: 1 1 120px; padding-inline: var(--s-xs); }
  .checker-box .btn { flex: 1 1 100%; }
  .checker-status { padding-left: var(--s-sm); }
  .kab-top { padding-block: var(--s-2xl) var(--s-lg); }
}
