/* flycontrol — bosh sahifa (kirish sahifasi). Faqat shu sahifa uchun. Shrift: tizim shriftlari, internetdan hech narsa yuklanmaydi. */
:root { --dark: #06150c; --lime: #b9f56b; --ink: #0b1d12; --muted: #56635b; --soft: #f2f5f0; --line: #e3e9e1; --green: #3d6b12; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3, .lp p { margin: 0; }
.lp img { display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 20px clamp(12px, 2vw, 28px) 40px; }

/* ---------- tugmalar ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: transparent; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.pill.dark { background: var(--dark); color: #fff; min-height: 44px; font-size: 15px; font-weight: 600; padding: 0 22px; }
.pill.lime { background: var(--lime); color: var(--dark); min-height: 52px; }
.pill.ghost { border-color: rgba(255, 255, 255, .35); color: #fff; font-weight: 600; min-height: 52px; }
.pill:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.pill.dark:focus-visible { outline-color: var(--green); }

/* ---------- yuqori qator ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 8px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--dark); }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--dark); display: flex; align-items: center; justify-content: center; color: var(--lime); }
.navlinks { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: #3d4a42; }
.navlinks a:hover { color: var(--dark); text-decoration: underline; }

/* ---------- qorong'i bloklar: to'r va yashil nur ---------- */
.dark { position: relative; overflow: hidden; border-radius: 32px; color: #fff; background-color: var(--dark);
  background-image: radial-gradient(ellipse 70% 60% at 0% 100%, rgba(120, 210, 60, .42), rgba(6, 21, 12, 0) 70%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px; }
.dark.glow-tr { background-image: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(120, 210, 60, .32), rgba(6, 21, 12, 0) 70%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.pad { padding: clamp(24px, 4.5vw, 72px); }

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero .copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero .ask { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .78); max-width: 520px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 74px); line-height: 1.04; font-weight: 400; letter-spacing: -.03em; }
.hero h1 b, .lp h2 b { font-weight: 800; }
.hero h1 b { color: var(--lime); }
.hero .lead { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 500px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.collage { flex: 1 1 460px; min-width: 0; position: relative; min-height: 580px; }
.collage img, .mini { position: absolute; border-radius: 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.collage img { object-fit: cover; }
.cA { left: 2%; top: 0; width: 46%; height: 210px; }
.cB { right: 0; top: 26px; width: 46%; }
.cC { left: 0; top: 236px; width: 34%; height: 300px; }
.cD { right: 0; top: 262px; width: 62%; padding-bottom: 64px !important; }
.collage img.cE { right: 4%; top: 452px; width: 36%; height: 128px; border-radius: 18px; border: 4px solid var(--dark); }
.mini { background: #fff; color: var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.mini .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini .ttl { font-size: 13px; font-weight: 700; color: #3d4a42; }
.chip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e9f9d2; color: #2c4a0f; }
.nums { display: flex; gap: 22px; align-items: flex-end; }
.nums b { display: block; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.nums span { font-size: 12px; color: var(--muted); }
.bar { height: 8px; border-radius: 999px; background: #e8ede6; overflow: hidden; }
.bar i { display: block; width: 87%; height: 100%; background: var(--dark); }
.line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; padding-bottom: 0; }
.st { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--dark); color: #fff; }
.st.warn { background: #ffe9b8; color: #5a3a00; }

/* ---------- bo'limlar ---------- */
.sec { padding: clamp(56px, 8vw, 112px) clamp(8px, 2vw, 24px) 24px; display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.dark .eyebrow { color: var(--lime); }
.lp h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.dark h2 b { color: var(--lime); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.box { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.box.soft { background: var(--soft); }
.box.out { border: 1px solid var(--line); min-height: 230px; }
.box .no { font-size: 15px; font-weight: 800; color: var(--green); }
.box h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
.box.out h3 { font-size: 21px; }
.box p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--dark); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.photo { position: relative; overflow: hidden; border-radius: 24px; min-height: 230px; display: flex; align-items: flex-end; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .cap { position: relative; width: 100%; padding: 56px 28px 24px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); color: #fff; }
.photo .cap b { display: block; font-size: 24px; font-weight: 800; }
.photo .cap span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.photo.tall { min-height: 460px; border-radius: 28px; }
.photo.tall .cap { padding: 96px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.photo.tall .cap b { font-size: 30px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: var(--dark); }

/* jarayon */
.steps { margin-top: 20px; display: flex; flex-direction: column; gap: 40px; }
.step { border-radius: 24px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step .n { font-size: 48px; font-weight: 300; line-height: 1; color: var(--lime); }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .75); }

/* aloqa */
.cta-wrap { margin-top: clamp(40px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.cta-wrap .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cta-wrap h2 { font-size: clamp(32px, 4.4vw, 62px); line-height: 1.06; }
.cta-wrap p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .75); max-width: 520px; }
.cta-wrap .pic { flex: 1 1 320px; min-width: 0; }
.cta-wrap .pic img { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.mail { display: inline-flex; flex-direction: column; gap: 2px; align-self: flex-start; }
.mail small { font-size: 13px; color: rgba(255, 255, 255, .65); }
.mail a { font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--lime); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 8px 0; font-size: 14px; color: var(--muted); }
.foot b { font-size: 16px; font-weight: 800; color: var(--dark); }
.foot a { color: var(--dark); font-weight: 700; text-decoration: underline; }

/* ---------- Kirish oynasi ---------- */
dialog.login { border: 0; padding: 0; width: min(400px, calc(100% - 24px)); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: var(--ink); background: #fff; }
dialog.login::backdrop { background: rgba(6, 21, 12, .62); backdrop-filter: blur(3px); }
.lf { padding: 28px 28px 26px; }
.lf .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lf h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.lf .x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lf .x:hover { background: var(--soft); }
.lf .sub { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.lf label { display: block; font-size: 13px; font-weight: 600; color: #3f4b43; margin: 14px 0 5px; }
.lf input[type=text], .lf input[type=password] { width: 100%; padding: 12px 14px; border: 1px solid #ccd6c8; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.lf input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(185, 245, 107, .55); }
.lf .pill { width: 100%; margin-top: 22px; }
.lf .err { background: #fef0ee; border: 1px solid #f7c1bb; border-left: 4px solid #d92d20; color: #8f1d1d; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; font-size: 14px; }

@media (max-width: 820px) {
  .navlinks { display: none; }
  .cA, .cC, .cE { display: none !important; }
  .cB { left: 0 !important; right: auto !important; width: 100% !important; top: 0 !important; }
  .cD { left: 0 !important; right: auto !important; width: 100% !important; top: 210px !important; }
  .collage { min-height: 470px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
