/* ── manaAI.uz — NeuralKinetics dizayn tili: yorug', Inter, ingichka tipografiya, pill'lar ── */
  :root {
    --bg: #ffffff;
    --bg-2: #f6f6f7;
    --surface: #f4f4f6;
    --ink: #0a0a0a;
    --ink-2: #1a1a1a;
    --muted: rgba(0,0,0,0.56);
    --faint: rgba(0,0,0,0.40);
    --line: rgba(0,0,0,0.10);
    --line-2: rgba(0,0,0,0.18);
    --accent: #16a34a;             /* yorug' fonda o'qiladigan yashil (yagona urg'u) */
    --accent-soft: rgba(22,163,74,0.10);
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --maxw: 1240px;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: #9fff57; color: #000; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

  /* ── Nav ── */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.7);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
  .brand .cur { width: 9px; height: 20px; background: var(--accent); border-radius: 3px; animation: blink 1.15s steps(1) infinite; }
  .brand b { font-weight: 700; }
  .nav-links { display: flex; align-items: center; gap: 1.9rem; }
  .nav-links a { font-size: 0.85rem; font-weight: 400; color: var(--muted); transition: color 0.15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.82rem; font-weight: 500; color: #fff;
    background: var(--ink); padding: 0.62rem 1.1rem; border-radius: 9999px;
    transition: background 0.15s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
  @media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

  /* ── NeuralKinetics uslubidagi nav: Menu+ / teglar / badge ── */
  .nav-left { display: flex; align-items: center; gap: 12px; }
  .nav-right { display: flex; align-items: center; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: none; border-radius: 9999px; padding: 4px 16px 4px 4px; cursor: pointer; font-family: inherit; font-size: 0.8rem; font-weight: 500; transition: background 0.15s; }
  .menu-btn:hover { background: var(--ink-2); }
  .menu-ic { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
  .menu-ic svg { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
  .menu-btn.open .menu-ic svg { transform: rotate(135deg); }
  .nav-tags { display: inline-flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 9999px; padding: 8px 16px; }
  .nav-tags span { font-size: 0.72rem; font-weight: 500; }
  .nav-tags .on { color: var(--ink); }
  .nav-tags .off { color: var(--faint); }
  .nav-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 9999px; padding: 4px 14px 4px 4px; }
  .dots-btn { width: 26px; height: 26px; border: none; border-radius: 50%; background: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
  .nav-badge > span { font-size: 0.72rem; font-weight: 500; color: var(--ink); }

  .menu-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 49; overflow: hidden; max-height: 0; opacity: 0; background: rgba(255,255,255,0.86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, border-color 0.3s ease; }
  .menu-panel.open { max-height: 360px; opacity: 1; border-bottom-color: var(--line); }
  .menu-inner { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding: 0.75rem 2rem 1.5rem; }
  .menu-inner a { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; letter-spacing: -0.025em; color: var(--ink); padding: 0.55rem 0; opacity: 0; transform: translateX(28px); transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1), color 0.15s; }
  .menu-panel.open .menu-inner a { opacity: 1; transform: none; }
  .menu-panel.open .menu-inner a:nth-child(1) { transition-delay: 0.06s; }
  .menu-panel.open .menu-inner a:nth-child(2) { transition-delay: 0.12s; }
  .menu-panel.open .menu-inner a:nth-child(3) { transition-delay: 0.18s; }
  .menu-panel.open .menu-inner a:nth-child(4) { transition-delay: 0.24s; }
  .menu-panel.open .menu-inner a:nth-child(5) { transition-delay: 0.30s; }
  .menu-inner a:hover { color: var(--accent); }
  .menu-inner .menu-cta { color: var(--accent); font-weight: 400; }
  @media (max-width: 760px) { .nav-tags, .nav-badge { display: none; } }

  @keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
  @property --spot { syntax: "<color>"; inherits: false; initial-value: rgba(34,197,94,0); }

  /* ── Eyebrow (status yorlig'i) ── */
  .eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 400; color: var(--muted); letter-spacing: 0.01em; }
  .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

  /* ── Buttons ── */
  .btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: inherit; font-size: 0.9rem; font-weight: 500; padding: 0.8rem 1.5rem; border-radius: 9999px; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s; }
  .btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
  .btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); }
  .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
  .btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

  /* ── Hero (video fon, pastga bosilgan matn — NeuralKinetics) ── */
  .hero { position: relative; min-height: 100vh; min-height: 100svh; margin-top: -72px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0 0 3.5rem; background: var(--bg); }
  .hero-media { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: flex-end; background: #ffffff; }
  .hero-media video { width: 58%; height: 100%; object-fit: cover; object-position: center; display: block; animation: heroVideoIn 1.7s cubic-bezier(0.16,1,0.3,1) both; }
  @keyframes heroVideoIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
  .hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(to top, #ffffff 2%, rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.15) 52%, transparent 82%),
      linear-gradient(to right, rgba(255,255,255,0.78), rgba(255,255,255,0.12) 40%, transparent 60%);
  }
  .hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: end; padding-top: 72px; }
  .hero-copy { animation: heroUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  h1.headline {
    --mx: 50%; --my: 42%; --spot: rgba(34,197,94,0);
    margin: 1.2rem 0 0; font-weight: 300; font-size: clamp(2.6rem, 7.5vw, 5.1rem);
    line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance; cursor: default;
    background-image:
      radial-gradient(280px 240px at var(--mx) var(--my), var(--spot), transparent 62%),
      radial-gradient(52% 60% at 16% 26%, rgba(96,96,104,0.92), transparent 60%),
      radial-gradient(48% 56% at 84% 18%, rgba(38,38,44,0.92), transparent 60%),
      radial-gradient(58% 62% at 60% 86%, rgba(128,128,138,0.88), transparent 60%),
      linear-gradient(120deg, #0b0b0d, #26262b 45%, #0b0b0d 85%);
    background-size: 100% 100%, 180% 180%, 190% 190%, 200% 200%, 180% 180%;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: meshFlow 9s ease-in-out infinite;
    transition: --spot 0.3s ease;
  }
  h1.headline:hover { --spot: rgba(34,197,94,0.95); }
  h1.headline .g { -webkit-text-fill-color: var(--accent); font-weight: 400; }
  @keyframes meshFlow {
    0%,100% { background-position: 0 0, 0% 0%, 100% 0%, 50% 100%, 0% 50%; }
    50%     { background-position: 0 0, 100% 100%, 0% 100%, 40% 10%, 100% 50%; }
  }
  .deck { font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 400; color: var(--muted); max-width: 40ch; margin: 1rem 0 0; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
  .trust { margin-top: 1rem; font-size: 0.82rem; color: var(--faint); }
  .trust b { color: var(--accent); font-weight: 500; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: flex-end; align-content: flex-end; animation: heroUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.55s both; }
  .tag { background: rgba(255,255,255,0.9); border: 1px solid var(--line); border-radius: 9999px; padding: 0.55rem 1.05rem; font-size: 0.8rem; font-weight: 500; color: var(--ink); backdrop-filter: blur(6px); }
  .scroll-hint { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 2; width: 22px; height: 34px; border: 1px solid var(--line-2); border-radius: 20px; display: grid; place-items: start center; padding-top: 5px; opacity: 0.55; }
  .scroll-hint span { width: 3px; height: 7px; border-radius: 3px; background: var(--ink); animation: scrollDot 1.6s ease-in-out infinite; }
  @keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(9px); opacity: 1; } }

  /* ── Sections ── */
  section { padding: 6rem 0; position: relative; z-index: 1; }
  .sec-head { max-width: 52ch; }
  h2 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 300; margin: 1rem 0 0; color: var(--ink); text-wrap: balance; }
  h2 .g { color: var(--accent); font-weight: 400; }
  .sec-deck { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; font-weight: 400; }

  /* qanday ishlaydi */
  .flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
  .flow-step { border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; background: var(--bg); position: relative; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
  .flow-step:hover { border-color: var(--line-2); transform: translateY(-3px); }
  .flow-step .no { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; }
  .flow-step h3 { margin: 1rem 0 0.45rem; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
  .flow-step p { margin: 0; color: var(--muted); font-size: 0.94rem; }
  .flow-step .arm { position: absolute; right: -6px; bottom: -16px; font-family: var(--mono); font-size: 4.5rem; color: rgba(0,0,0,0.04); font-weight: 700; }

  /* terminal — yorug' fonda qora "kod muharriri" (jonli namuna) */
  .term-demo { margin: 2.5rem auto 0; max-width: 760px; }
  .term { background: #0d0d10; border: 1px solid rgba(0,0,0,0.9); border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); overflow: hidden; }
  .term-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .term-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #34343c; }
  .term-title { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.76rem; color: rgba(255,255,255,0.4); }
  .term-body { padding: 1.2rem 1.25rem 1.5rem; font-family: var(--mono); font-size: 0.88rem; min-height: 200px; }
  .term-line { color: #e8e8ec; }
  .term-line .p { color: #4ade80; margin-right: 0.5rem; }
  .cursor { display: inline-block; width: 8px; height: 1.05em; background: #4ade80; vertical-align: -0.15em; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
  .term-out { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
  .step { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.6); opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s; }
  .step.on { opacity: 1; transform: none; }
  .step .tick { color: #4ade80; }
  .step.build .tick { color: #fbbf24; }

  /* kurslar */
  .courses { margin-top: 3rem; border-top: 1px solid var(--line); }
  .course { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: 1.5rem 0.5rem; border-bottom: 1px solid var(--line); transition: background 0.15s, padding 0.15s; }
  .course:hover { background: var(--bg-2); padding-left: 1rem; padding-right: 1rem; }
  .course .idx { font-family: var(--mono); font-size: 0.95rem; color: var(--faint); width: 2ch; }
  .course.live .idx { color: var(--accent); }
  .course .c-name { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
  .course .c-sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }
  .pill { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; padding: 0.4rem 0.85rem; border-radius: 9999px; white-space: nowrap; }
  .pill-live { color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(22,163,74,0.28); }
  .pill-soon { color: var(--faint); border: 1px solid var(--line-2); }

  /* nima qura olasiz — chiplar */
  .builds { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2.5rem; }
  .chip { font-size: 0.9rem; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 9999px; padding: 0.6rem 1.15rem; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
  .chip:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--bg-2); }
  .chip .plus { color: var(--accent); margin-right: 0.4rem; }

  /* nega manaAI — bento */
  .bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: 1fr; gap: 1rem; margin-top: 3rem; }
  .cell { border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem; background: var(--bg); }
  .cell h3 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
  .cell p { margin: 0; color: var(--muted); font-size: 0.94rem; }
  .cell.feat { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(165deg, var(--accent-soft), var(--bg) 55%); border-color: rgba(22,163,74,0.22); }
  .cell .k { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
  .lvl { margin-top: 1.5rem; }
  .lvl-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
  .lvl-top .name { color: var(--ink); font-weight: 500; }
  .lvl-top .fire { color: #d97706; font-weight: 500; }
  .lvl-bar { height: 8px; border-radius: 20px; background: rgba(0,0,0,0.07); margin-top: 0.6rem; overflow: hidden; }
  .lvl-fill { height: 100%; width: 68%; border-radius: 20px; background: linear-gradient(90deg, #22c55e, #16a34a); }
  .badges { display: flex; gap: 0.5rem; margin-top: 1.1rem; font-size: 1.15rem; }
  .badges span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
  /* Bento: 4 ta yordamchi karta faqat geymifikatsiya kartasi ustiga hover qilinganda chiqadi */
  .bento .cell:not(.feat) { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1); }
  .cell.feat:hover ~ .cell:not(.feat) { opacity: 1; transform: none; }
  .cell.feat:hover ~ .cell:nth-child(3) { transition-delay: 0.06s; }
  .cell.feat:hover ~ .cell:nth-child(4) { transition-delay: 0.12s; }
  .cell.feat:hover ~ .cell:nth-child(5) { transition-delay: 0.18s; }
  @media (hover: none) { .bento .cell:not(.feat) { opacity: 1; transform: none; } }

  /* ── Kurslar — Interactive 3D (qorong'u karta + Spline + kursor yorug'i) ── */
  .kurslar-3d { background: #000; padding: 6rem 0; }
  .eyebrow-dark { color: rgba(255,255,255,0.6); }
  .i3d-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; background: #050506; box-shadow: 0 50px 130px -60px rgba(0,0,0,0.9); }
  .i3d-spot { position: absolute; width: 520px; height: 520px; border-radius: 9999px; pointer-events: none; background: radial-gradient(circle at center, rgba(74,222,128,0.18), rgba(74,222,128,0.05) 45%, transparent 72%); filter: blur(42px); opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
  .i3d-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .i3d-left { padding: 3rem; display: flex; flex-direction: column; }
  .i3d-title { font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.025em; margin: 1rem 0 0; background: linear-gradient(to bottom, #fafafa, #a3a3a3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .i3d-deck { color: rgba(255,255,255,0.6); font-size: 1rem; margin: 1rem 0 0; max-width: 34ch; }
  .i3d-right { position: relative; min-height: 560px; }
  .i3d-right spline-viewer { width: 100%; height: 100%; display: block; }
  .kurslar-3d .courses { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .kurslar-3d .course { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0.25rem; }
  .kurslar-3d .course:hover { background: rgba(255,255,255,0.04); padding-left: 0.6rem; padding-right: 0.6rem; }
  .kurslar-3d .c-name { color: #fff; }
  .kurslar-3d .c-sub { color: rgba(255,255,255,0.55); }
  .kurslar-3d .idx { color: rgba(255,255,255,0.4); }
  .kurslar-3d .course.live .idx { color: #4ade80; }
  .kurslar-3d .pill-live { color: #4ade80; background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.3); }
  .kurslar-3d .pill-soon { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }

  /* ── Nega manaAI — Mentality (lilak, Outfit editorial) ── */
  .nega-mn { background: #ffffff; color: #18181b; padding: 6rem 0; position: relative; overflow: hidden; }
  .mn-video { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: 0; }
  .mn-video video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.95; }
  .mn-video::after { content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.4) 20%, transparent 52%),
      linear-gradient(to bottom, #ffffff 0%, transparent 15%, transparent 85%, #ffffff 100%);
  }
  @media (max-width: 880px) { .mn-video { width: 100%; } .mn-video video { opacity: 0.32; } }
  .nega-mn > .wrap, .nega-mn .mn-corner { position: relative; z-index: 1; }
  .nega-mn .eyebrow { color: #52525b; }
  .mn-head { font-family: 'Outfit', sans-serif; font-weight: 400; font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1.12; letter-spacing: -0.02em; color: #1a1a1a; margin: 1.2rem 0 0; max-width: 18ch; }
  .mn-head .dim { color: #8e8e8e; }
  .mn-head .eye { width: 0.92em; height: 0.52em; border: 2px solid #1a1a1a; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin: 0 0.12em; }
  .mn-head .eye i { width: 0.17em; height: 0.17em; border-radius: 9999px; background: #1a1a1a; display: block; }
  .mn-ask { max-width: 460px; margin: 2.2rem 0 0; }
  .mn-input { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 8px; padding: 0.5rem 0.5rem 0.5rem 1.15rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06); color: #52525b; font-size: 0.95rem; transition: box-shadow 0.2s, transform 0.2s; }
  .mn-input:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-1px); }
  .mn-arrow { width: 40px; height: 40px; min-width: 40px; display: grid; place-items: center; border-radius: 9999px; background: #1a1a1a; color: #fff; font-size: 1.05rem; }
  .mn-corner { position: absolute; bottom: 1.5rem; font-size: 0.75rem; color: #52525b; letter-spacing: 0.02em; z-index: 2; }
  .mn-corner-l { left: 2rem; }
  .mn-corner-r { right: 2rem; }
  .nega-mn .bento { margin-top: 3rem; }
  .nega-mn .cell { border-color: rgba(0,0,0,0.08); }

  /* final CTA */
  .final { text-align: center; padding: 7.5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); }
  .final h2 { font-size: clamp(2.1rem, 6vw, 3.8rem); }
  .final .deck { margin: 1.2rem auto 0; }
  .final .cta-row { justify-content: center; }

  /* alternate bg */
  .band { background: var(--bg-2); }

  /* footer */
  footer { border-top: 1px solid var(--line); padding: 2.8rem 0; background: var(--bg); }
  .foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--faint); font-size: 0.85rem; }
  .foot .fl { display: flex; gap: 1.5rem; }
  .foot a:hover { color: var(--ink); }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    .cursor, .brand .cur, .hero-media video, .hero-copy, .hero-tags, .scroll-hint span { animation: none; opacity: 1; transform: none; }
    h1.headline { animation: none; background: none; -webkit-text-fill-color: #0a0a0a; color: #0a0a0a; }
    h1.headline .g { -webkit-text-fill-color: var(--accent); }
  }

  /* mobil */
  @media (max-width: 880px) {
    .hero { min-height: auto; margin-top: -72px; padding-bottom: 3rem; }
    .hero-media { justify-content: center; }
    .hero-media video { width: 100%; }
    .hero-inner { grid-template-columns: 1fr; gap: 1.75rem; align-items: start; padding-top: 92px; }
    .hero-tags { justify-content: flex-start; }
    .scroll-hint { display: none; }
    .flow { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .cell.feat { grid-row: auto; }
    .course { grid-template-columns: auto 1fr; }
    .course .pill { grid-column: 2; justify-self: start; margin-top: 0.4rem; }
    .i3d-grid { grid-template-columns: 1fr; }
    .i3d-left { padding: 1.75rem; order: 2; }
    .i3d-right { min-height: 300px; order: 1; }
    .mn-corner { display: none; }
  }

/* ── Sub-sahifa yordamchilari ── */
.backlink{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted);transition:color .15s;}
.backlink:hover{color:var(--ink);}


/* ── Sub-sahifa: tepadagi ortiqcha bo'sh joyni kamaytirish ── */
main > .wrap:first-child { padding-top: 5rem !important; padding-bottom: 0.4rem !important; }
main > .wrap:first-child + section { padding-top: 1.5rem !important; }
