/* Markaz Zen — the open site. Style 2 «Indigo boshlanish» (owner's choice, 15.11.2026):
   indigo header and hero, mint main button, white work area; headings Manrope, text Inter. */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --indigo: #2E3A8C; --indigo-deep: #232C6E; --indigo-soft: #EEF0FB; --indigo-line: #3F4DA8;
  --teal: #14A3A3; --mint: #5EEAD4; --mint-ink: #0B2B2B;
  --ink: #1B2150; --muted: #5B6288; --line: #E6E8F2; --bg: #FFFFFF; --bg-soft: #F6F7FB; --card: #FFFFFF;
  --on-indigo: #FFFFFF; --on-indigo-muted: #C9D0FF;
  --late: #FDE8E8; --late-ink: #A1282A; --chip: #E1F5F5; --chip-ink: #0D6E6E;
  --radius: 12px; --wrap: 1120px;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Manrope", "Inter", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E6E9FF; --muted: #9AA3CF; --line: #232A52; --bg: #0F1430; --bg-soft: #151B3D; --card: #151B3D;
    --indigo-soft: #1C2350; --late: #4A1F2A; --late-ink: #FFB3B8; --chip: #123B44; --chip-ink: #7FE7E7;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--indigo); }
@media (prefers-color-scheme: dark) { a { color: var(--mint); } }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--mint); color: var(--mint-ink); padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 10; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* header and hero: indigo */
.top { background: var(--indigo); color: var(--on-indigo); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--on-indigo-muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-indigo); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; text-decoration: none; font-family: var(--text); }
.btn-main { background: var(--mint); color: var(--mint-ink) !important; }
.btn-main:hover { background: #7FF0DE; }
.btn-line { border: 1.5px solid var(--on-indigo); color: var(--on-indigo) !important; }
.btn-line:hover { background: var(--indigo-line); }
.bar-cta { min-height: 40px; padding: 0 16px; }

.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 72px 0 88px; } }
.hero h1 { color: var(--on-indigo); }
.lead { font-size: 19px; color: var(--on-indigo-muted); max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.note { font-size: 14px; color: var(--on-indigo-muted); margin: 0; }

.page-head { padding: 40px 0 48px; }
.page-head h1 { color: var(--on-indigo); margin-bottom: .3em; }
.page-head p { color: var(--on-indigo-muted); font-size: 19px; max-width: 680px; margin: 0; }

/* the app picture in the hero: drawn with HTML, no real data */
.mock { background: var(--bg); color: var(--ink); border-radius: 16px; overflow: hidden; border: 1px solid var(--indigo-line); font-size: 14px; }
.mock-cap { font-size: 13px; color: var(--on-indigo-muted); margin: 10px 4px 0; }
.mock-in { display: grid; grid-template-columns: 170px 1fr; min-height: 300px; }
.mock-side { background: var(--indigo-deep); padding: 12px 8px; }
.mock-side .it { display: flex; justify-content: space-between; color: #E6E9FF; padding: 6px 10px; border-radius: 8px; }
.mock-side .it.on { background: var(--indigo-line); }
.mock-side .it b { color: var(--mint); font-weight: 600; }
.mock-main { padding: 12px; }
.mock-headline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock-headline strong { font-family: var(--head); font-size: 17px; }
.mock-headline span { background: var(--indigo); color: #fff; border-radius: 8px; padding: 4px 10px; font-weight: 600; font-size: 13px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--card); }
.row small { display: block; color: var(--muted); }
.chip { flex: none; background: var(--chip); color: var(--chip-ink); border-radius: 7px; padding: 2px 9px; font-weight: 600; font-size: 13px; }
.chip.late { background: var(--late); color: var(--late-ink); }
@media (max-width: 560px) { .mock-in { grid-template-columns: 1fr; } .mock-side { display: none; } }

/* sections */
.sec { padding: 64px 0; }
.sec.soft { background: var(--bg-soft); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h2 { font-size: 21px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-soft); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .icon svg { stroke: var(--mint); } }
.steps { counter-reset: step; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 12px; }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.roles li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 0; padding: 14px 16px; }
.list { margin: 0; padding-left: 1.2em; }
.list li { margin: 0 0 .45em; }
.list li::marker { color: var(--teal); }

.band { background: var(--indigo); color: var(--on-indigo); padding: 48px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band h2 { color: var(--on-indigo); margin: 0 0 .25em; }
.band p { color: var(--on-indigo-muted); margin: 0; }

.doc { max-width: 760px; }
.doc h2 { font-size: 22px; margin-top: 1.6em; }
.updated { color: var(--muted); font-size: 15px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot .logo-light { height: 28px; width: auto; }
.foot .logo-dark { display: none; height: 28px; width: auto; }
@media (prefers-color-scheme: dark) { .foot .logo-light { display: none; } .foot .logo-dark { display: block; } }
.foot p { margin: 8px 0 0; }

@media (prefers-reduced-motion: no-preference) { .btn { transition: background .15s ease; } }
.mockfig { margin: 0; }
@media (max-width: 560px) {
  .bar { min-height: 0; gap: 10px 14px; }
  .brand img { height: 30px; }
  .bar-cta { margin-left: auto; min-height: 36px; padding: 0 12px; font-size: 15px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 18px; font-size: 15px; }
  .hero { padding-top: 28px; }
}
