/* muhrdor.uz - the marketing site (ADR-0041). Tokens, buttons, pills, tables and the seal come
   from design/muhrdor.css (served at /design/); this file is the page layer plus the panel
   mockups (panel markup, sized for a mockup). Measurements are the published Figma Make v3,
   measured 2026-09-19: 1200 px container, header 57, h1 68/600 with the second line in the
   action blue, h2 40/600 + 64 below, section padding 96, body copy 14-16, hero buttons 52.
   No yellow anywhere. */

@import url("/design/muhrdor.css");

:root {
  --site-max: 1200px;
  --h1: 68px;
  --h2: 40px;
  --role-muted: #5b6472; /* the role cards' "problem" sentence (Make) */
  --frame: #dde3ed; /* mockup frame (Make) */
  --line: #e2e8f0; /* card and table rules (Make) */
  --tint: #eef3fb; /* pricing upsell, Kafolat column (Make) */
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.site {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.block {
  padding: 96px 0;
  background: var(--paper);
}

.block.alt {
  background: var(--page);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.site h2 {
  margin: 0 0 64px;
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.site h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.site p {
  margin: 0;
}

.site .muted {
  color: var(--muted);
}

.site .accent {
  color: var(--ink);
}

/* ---- header ------------------------------------------------------------------------------ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 57px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}

.site-nav a,
.menu a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.menu a:hover {
  color: var(--text);
  background: var(--hover);
}

.head-aside {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang {
  margin-right: 8px;
}

.burger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.burger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.menu a {
  height: 44px;
  font-size: 16px;
}

.menu .btn {
  margin-top: 8px;
}

/* ---- hero -------------------------------------------------------------------------------- */

.hero {
  padding: 96px 0 80px;
  background: var(--page);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.site h1 {
  margin: 0 0 32px;
  font-size: var(--h1);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 52ch;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.cta .btn {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  gap: 8px;
}

.cta .btn-quiet {
  background: var(--paper);
}

.cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.proof {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.proof li::before,
.problem li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px 0;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---- mockups (panel markup, sized down) --------------------------------------------------- */

.mock {
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  box-shadow:
    0 8px 32px rgb(23 93 220 / 0.1),
    0 2px 8px rgb(27 32 41 / 0.07);
  user-select: none;
}

.step .mock,
.trust-grid .mock {
  border-radius: var(--radius);
  box-shadow: none;
  border-color: var(--frame);
}

.mock .appbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}

.mock .lockup-sm .wordmark {
  font-size: 15px;
}

.mock .appnav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.mock .appnav a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.mock .appnav a[aria-current="page"] {
  background: var(--ink-100);
  color: var(--ink-700);
  font-weight: 500;
}

.mock .appbar-aside {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.mock .tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock .tile {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page);
}

.mock .tile-label {
  font-size: 12px;
  color: var(--muted);
}

.mock .tile-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.mock .tile .meta {
  font-size: 12px;
  color: var(--muted);
}

.mock .pill {
  height: 20px;
  padding: 0 7px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.mock .sheet {
  display: flex;
  flex-direction: column;
}

.mock .sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
}

.mock .sheet-title {
  font-size: 13px;
  font-weight: 600;
}

.mock .sheet-aside {
  margin-left: auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.mock .sheet-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock .row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}

.mock .row-main {
  flex: 1;
  min-width: 0;
}

.mock .row-main .meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock .row-aside {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.mock .who {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.mock .log {
  display: flex;
  flex-direction: column;
}

.mock .log-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.mock .log-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.mock .log-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock .log-text b {
  font-weight: 500;
}

.mock .ok-mark {
  color: var(--ok);
  font-weight: 600;
}

.mock .err-mark,
.mock .log-row.is-err .log-text {
  color: var(--danger);
  font-weight: 600;
}

.mock .form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock .form-grid label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.mock .form-grid .value {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 30px;
  box-sizing: border-box;
}

.mock .form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock .form-actions .btn {
  width: 100%;
  height: 32px;
  font-size: 12px;
  box-sizing: border-box;
}

.mock .form-note {
  font-size: 11px;
  color: var(--muted);
}

.mock .journal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.mock .journal-head .pill {
  margin-left: auto;
}

.mock .journal-body {
  padding: 8px 16px 12px;
}

.mock .journal-body .meta {
  padding: 6px 0;
  font-size: 11px;
  color: var(--muted);
}

.mock-popup .popup-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.mock-popup .popup-body {
  padding: 12px 14px;
}

.mock-popup .label {
  margin-bottom: 4px;
}

.mock-popup .popup-line {
  font-size: 12px;
}

.mock-popup .popup-line + .label {
  margin-top: 10px;
}

/* ---- problem strip ----------------------------------------------------------------------- */

.problem {
  padding: 20px 0 40px;
  background: var(--page);
}

.problem ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--role-muted);
}

/* ---- three steps ------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 28px;
  background: var(--paper);
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step-num {
  margin-bottom: 12px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.step .mock {
  margin-top: auto;
}

.demo-line {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ---- roles ------------------------------------------------------------------------------- */

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.role-col > h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.role-col > .muted {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
}

.role-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.role-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--paper);
}

.role-card h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.role-problem {
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--frame);
  font-size: 13.5px;
  font-style: italic;
  color: var(--role-muted);
}

.role-solution {
  padding-left: 12px;
  border-left: 3px solid var(--ink);
  font-size: 13.5px;
  color: var(--text);
}

/* ---- trust + journal --------------------------------------------------------------------- */

.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.trust-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.trust-card p {
  font-size: 14px;
  color: var(--muted);
}

.disclaimer {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.disclaimer b {
  color: var(--text);
  font-weight: 600;
}

/* ---- pricing ----------------------------------------------------------------------------- */

.pricing-lead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: -48px 0 32px;
  font-size: 18px;
  color: var(--muted);
}

.pricing-lead .annual {
  font-size: 13px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fafb;
  min-width: 0;
}

.price-card.is-main {
  border-color: var(--ink);
}

.price-name {
  font-size: 16px;
  font-weight: 600;
}

.price-tagline {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.price-value {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.price-features li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ok);
  font-weight: 600;
}

.price-upsell {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--ink);
  font-size: 12px;
}

.price-card .btn {
  margin-top: auto;
  height: 36px;
  font-size: 13px;
}

.banner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 0;
  padding: 12px 16px;
  list-style: none;
  border-radius: var(--radius);
  background: var(--page);
  font-size: 13.5px;
}

.quota {
  margin-top: 12px;
  font-size: 13.5px;
}

.quota summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  list-style: none;
}

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

.quota summary::after {
  content: " ↓";
}

.quota[open] summary::after {
  content: " ↑";
}

.quota ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.tiers {
  margin-top: 56px;
}

.tiers h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.tiers .table {
  font-size: 14px;
}

.tiers th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.tiers td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.tiers th:not(:first-child),
.tiers td:not(:first-child) {
  text-align: center;
  width: 20%;
}

.tiers th:last-child,
.tiers td:last-child {
  background: var(--tint);
  color: var(--ink);
  font-weight: 500;
}

.tiers .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
}

.tiers .yes {
  color: var(--ok);
}

.tiers td:last-child .yes {
  color: var(--ink);
}

.tiers .no {
  color: var(--faint);
}

.tiers-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.start-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.start-price .spots {
  font-weight: 600;
  color: var(--text);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact .btn {
  gap: 8px;
  font-size: 13px;
}

.contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- faq --------------------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 672px;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "⌄";
  flex: none;
  color: var(--muted);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "⌃";
}

.faq-list details p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ---- footer ------------------------------------------------------------------------------ */

.site-foot {
  padding: 48px 0;
  background: var(--page);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.foot-brand .lockup {
  margin-bottom: 12px;
}

.foot-brand p {
  font-size: 13px;
  color: var(--muted);
}

.foot-col .label {
  display: block;
  margin-bottom: 12px;
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col a {
  color: var(--text);
  text-decoration: none;
}

.foot-col a:hover {
  text-decoration: underline;
}

.soon {
  color: var(--faint);
}

.soon .pill {
  margin-left: 6px;
  vertical-align: middle;
}

.foot-legal {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(23 93 220 / 0.3);
}

/* ---- docs and 404 ------------------------------------------------------------------------ */

.doc-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
}

.doc-list {
  display: flex;
  flex-direction: column;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.doc-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.doc-list .doc-name {
  font-weight: 500;
}

.doc-list .doc-desc {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--muted);
}

.notfound {
  padding: 120px 0;
  text-align: center;
}

.notfound h1 {
  font-size: 40px;
}

/* ---- responsive -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-mock {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
    background: transparent;
  }

  .step,
  .step:first-child,
  .step:last-child {
    padding: 0;
  }

  .step .mock {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .roles-grid,
  .trust-cards,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .block {
    padding: 64px 0;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .site h2 {
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .site-nav,
  .head-aside .btn {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site h1 {
    font-size: 40px;
  }

  .site h2 {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .block {
    padding: 56px 0;
  }

  .pricing-lead {
    margin-top: -16px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}
