
/* Layout: yengil bir sahifa, yo'l belgisi ranglari (zumrad yashil, ko'k, asfalt), yo'l chizig'i motivi */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #14202e;
  --muted: #5a6778;
  --line: #dfe4ea;
  --asphalt: #1d2733;
  --accent: #087a5b;
  --on-accent: #ffffff;
  --accent-soft: #c9efe0;
  --road-line: #e8eef5;
  --sign-blue: #1d5fb8;
  --ok: #1b8a4f;
  --ok-bg: #e3f4ea;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f161e; --surface: #17212c; --ink: #eef2f6; --muted: #9aa8b8; --line: #28333f;
    --asphalt: #0a0f15; --sign-blue: #5b9bf0; --ok: #4cc88a; --ok-bg: #12301f; --accent: #34d399; --on-accent: #052e20; --accent-soft: #14503d; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f161e; --surface: #17212c; --ink: #eef2f6; --muted: #9aa8b8; --line: #28333f;
  --asphalt: #0a0f15; --sign-blue: #5b9bf0; --ok: #4cc88a; --ok-bg: #12301f; --accent: #34d399; --on-accent: #052e20; --accent-soft: #14503d; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sign-blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; }
section { padding-block: 56px; scroll-margin-top: 72px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sign-blue); margin-bottom: 12px; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); max-width: 22ch; }
.lead { color: var(--muted); max-width: 58ch; margin-top: 14px; }

/* header */
header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.bar { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 15px; min-width: 0; }
.brand svg { flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-dark { background: var(--asphalt); color: #fff; }
.bar .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { padding-block: 48px 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.3rem); letter-spacing: -.01em; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); color: inherit; padding: 0 .08em; }
.hero p.lead { font-size: 1.05rem; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; border-radius: 20px; }
.road-bg { fill: var(--asphalt); }
.road-dash { fill: var(--road-line); }
.road-edge { fill: #fff; opacity: .85; }
.sky { fill: var(--surface); }
.sign-ring { fill: var(--sign-blue); }
.sign-in { fill: #fff; }
.sign-txt { fill: var(--sign-blue); font-family: "Unbounded", sans-serif; font-weight: 700; }

/* platform */
.platform { --accent: #34d399; --on-accent: #052e20; background: var(--asphalt); color: #eef2f6; border-radius: 28px; padding: 44px 36px; border: 1px solid var(--line); }
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.plat-grid > * { min-width: 0; }
.platform .eyebrow { color: var(--accent); }
.platform h2 { color: #fff; max-width: 18ch; }
.platform .lead { color: #b4c0ce; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #dbe3ec; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.8); transform-origin: center; }
.platform .cta { margin-top: 28px; }
.mock { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 18px; display: grid; gap: 16px; border: 1px solid var(--line); }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-head b { font-size: 13px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.meter { display: grid; gap: 8px; }
.meter .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.meter .big { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--sign-blue); border-radius: 999px; }
.qbox { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 12px; }
.qrow { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.qrow svg { flex: none; }
.opt { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.opt i { font-style: normal; font-weight: 700; color: var(--muted); width: 16px; }
.opt.ok { border-color: var(--ok); background: var(--ok-bg); }
.opt.ok i { color: var(--ok); }
.explain { font-size: 13px; color: var(--muted); }
.explain b { color: var(--ok); }
.topics { display: grid; gap: 10px; font-size: 13px; }
.topics .t { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 4px 10px; align-items: center; }
.topics .t span:first-child { grid-column: 1 / -1; }
.topics .t .pct { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin-bottom: 14px; }
.feat .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.mode { border: 2px solid var(--ink); border-radius: 16px; padding: 22px; min-width: 0; }
.mode.exam { background: var(--ink); color: var(--bg); }
.mode h3 { font-size: 1rem; margin-bottom: 12px; }
.mode ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.plat-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cat .letter {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px;
}
.cat h3 { font-size: 1rem; }
.cat p { color: var(--muted); font-size: 14px; }

/* steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; position: relative; display: grid; gap: 0; max-width: 720px; }
.steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 0; border-left: 3px dashed var(--accent); }
.steps li { position: relative; padding: 0 0 28px 64px; }
.steps li:last-child { padding-bottom: 0; }
.steps .dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--asphalt); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; border: 3px solid var(--bg);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; padding-top: 6px; }
.steps p { color: var(--muted); }

/* why */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin-top: 32px; }
.why div { border-top: 2px solid var(--ink); padding-top: 14px; min-width: 0; }
.why h3 { font-size: 1rem; margin-bottom: 6px; }
.why p { color: var(--muted); }

/* contact */
.contact { background: var(--accent); color: var(--on-accent); border-radius: 24px; padding: 40px 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.contact h2 { max-width: 20ch; }
.contact p { margin-top: 12px; max-width: 52ch; }
.contact .side { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.handle { font-family: var(--font-display); font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }

.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 10px; background: var(--bg); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.mbar .btn { flex: 1; padding: 0 12px; }
.actions { display: flex; align-items: center; gap: 10px; flex: none; }
.info { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.info div { min-width: 0; border-top: 2px solid var(--on-accent); padding-top: 8px; }
.info dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.info dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }
.contact .btn-line { background: transparent; border-color: var(--on-accent); color: var(--on-accent); }
.contact .btn-dark { background: var(--on-accent); color: var(--accent); }
footer { padding-block: 28px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (min-width: 1280px) {
  .wrap, .bar { max-width: 1160px; }
}
@media (max-width: 900px) {
  nav { display: none; }
  .actions .btn { display: none; }
  .mbar { display: flex; }
  body { padding-bottom: 84px; }
}
@media (max-width: 860px) {
  .plat-grid { grid-template-columns: 1fr; }
  .platform { padding: 32px 20px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; padding: 32px 22px; }
}
@media (max-width: 640px) {
  .feats, .modes { grid-template-columns: 1fr; }
  section { padding-block: 44px; }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brand span { font-size: 14px; }
  .cta .btn { flex: 1 1 100%; }
  .contact .side { justify-items: stretch; width: 100%; }
  .mbar .btn { font-size: 14px; }
  .info { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .cats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

:root{color-scheme:light}body{margin:0}img{max-width:100%}[hidden]{display:none!important}
.f-accent{fill:var(--accent)}.s-onaccent{stroke:var(--on-accent)}.f-onaccent{fill:var(--on-accent)}
.w78{width:78%}.w90{width:90%}.w64{width:64%}.w45{width:45%}.pb40{padding-bottom:40px}
/* yuklanish ekrani (birinchi kirishda 1.5 soniya) */
.loader{position:fixed;inset:0;z-index:100;background:var(--bg);display:grid;place-items:center;transition:opacity .45s ease,visibility .45s}
.loader.done{opacity:0;visibility:hidden}
html.seen .loader{display:none}
.loader-box{display:grid;justify-items:center;gap:18px}
.loader-road{width:min(220px,60vw);height:64px;position:relative;overflow:hidden;border-radius:14px;background:var(--asphalt)}
.loader-road::before{content:"";position:absolute;left:-40%;right:-40%;top:50%;height:4px;margin-top:-2px;background:repeating-linear-gradient(90deg,var(--road-line) 0 26px,transparent 26px 56px);animation:road 1.1s linear infinite}
.loader-sign{position:absolute;left:50%;top:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:var(--sign-blue);display:grid;place-items:center;color:#fff;font-family:var(--font-display);font-weight:700;font-size:17px;box-shadow:0 0 0 4px #fff inset;animation:bob 1.1s ease-in-out infinite}
.loader-name{font-family:var(--font-display);font-weight:700;font-size:15px}
.loader-bar{width:min(220px,60vw);height:6px;border-radius:99px;background:var(--line);overflow:hidden}
.loader-bar i{display:block;height:100%;width:0;background:var(--accent);border-radius:99px;animation:fill 1.5s ease-out forwards}
@keyframes road{to{transform:translateX(-56px)}}
@keyframes bob{50%{transform:translateY(-4px)}}
@keyframes fill{to{width:100%}}
@media (prefers-reduced-motion:reduce){.loader-road::before,.loader-sign,.loader-bar i{animation:none}.loader-bar i{width:100%}}
.btn{-webkit-tap-highlight-color:transparent}
@media (max-width:520px){.hero{padding-block:28px 24px}.hero p.lead{font-size:1rem}.platform{border-radius:20px}.contact{border-radius:18px}.cat{padding:16px}.cat .letter{width:44px;height:44px;font-size:19px}.feat{padding:18px}section{scroll-margin-top:64px}}

/* yengil animatsiyalar */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.feat, .cat { transition: transform .2s ease, box-shadow .2s ease; }
.feat:hover, .cat:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20, 32, 46, .12); }
.road-dash { animation: dashpulse 2.6s ease-in-out infinite; }
.road-dash:nth-of-type(odd) { animation-delay: 1.3s; }
.hero-art .sign-ring { animation: signpulse 3s ease-in-out infinite; }
@keyframes dashpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes signpulse { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .road-dash, .hero-art .sign-ring { animation: none; } .feat, .cat { transition: none; } }
