/* PullHub landing. Дизайн-система: ui-ux-pro-max → «Vibrant & Block-based» + «Feature-Rich Showcase»,
   цвета — из логотипа PullHub, шрифт Manrope (кириллица + узбекская латиница). */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #1a6cff;
  --brand-ink: #0b54d9;
  --violet: #7a4cf2;
  --navy: #0b1f44;
  --gold: #ffb020;
  --mint: #12b886;
  --bg: #f5f7ff;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #0b1f44;
  --muted: #475676;
  --border: #dfe5f4;
  --on-brand: #ffffff;
  --grad: linear-gradient(120deg, #1a6cff 0%, #5b5cf6 55%, #8b4cf6 100%);
  --shadow: 0 1px 2px rgb(11 31 68 / 6%), 0 12px 32px -12px rgb(11 31 68 / 18%);
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4d8dff;
    --brand-ink: #7aa9ff;
    --bg: #070d1f;
    --surface: #101935;
    --surface-2: #16214a;
    --text: #eef2ff;
    --muted: #a9b4d3;
    --border: #233056;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ico { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.header.scrolled { border-bottom-color: var(--border); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-light { display: none; } .logo .logo-dark { display: block; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; transition: background .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }
.lang { display: flex; border: 1px solid var(--border); border-radius: 12px; padding: 3px; flex: none; }
.lang a { min-width: 40px; min-height: 36px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 9px; }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .lang a[aria-current="true"] { background: var(--brand); } }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; cursor: pointer; place-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 16px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgb(26 108 255 / 70%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgb(26 108 255 / 75%); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, #6f8dff 0%, transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, #b28cff 0%, transparent 70%); opacity: .35; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgb(18 184 134 / 18%); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { width: 20px; height: 20px; color: var(--mint); }

/* phone mockup */
.phone { position: relative; width: min(340px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: #0b1430; box-shadow: 0 40px 80px -30px rgb(11 31 68 / 55%), inset 0 0 0 2px #26355f; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #f1f3fa; color: #0b1f44; display: flex; flex-direction: column; font-size: 13px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; background: #fff; font-weight: 800; }
.screen-top img { height: 18px; width: auto; }
.seg { display: flex; background: #eef1f8; border-radius: 10px; padding: 3px; margin: 0 14px 10px; font-weight: 700; font-size: 12px; }
.seg span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; color: #5a6889; }
.seg span:first-child { background: #fff; color: #0b1f44; box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.gw { margin: 0 12px 10px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px -10px rgb(11 31 68 / 30%); }
.gw-img { height: 108px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.gw-img .ico { width: 46px; height: 46px; stroke-width: 1.6; }
.gw-body { padding: 12px 14px 14px; }
.gw-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.gw-meta { display: flex; justify-content: space-between; color: #5a6889; font-size: 12px; margin-bottom: 10px; }
.bar { height: 7px; border-radius: 9px; background: #e7ebf5; overflow: hidden; margin-bottom: 12px; }
.bar i { display: block; height: 100%; width: 68%; background: var(--grad); border-radius: inherit; }
.gw-btn { background: var(--grad); color: #fff; text-align: center; font-weight: 800; border-radius: 12px; padding: 10px; }
.task { margin: 0 12px; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.task .coin { width: 34px; height: 34px; border-radius: 10px; background: #fff4dc; color: #b26b00; display: grid; place-items: center; }
.task .coin .ico { width: 18px; height: 18px; }
.task small { display: block; color: #5a6889; }
.task strong { margin-left: auto; color: #0d8f68; white-space: nowrap; }
.bal { margin: 10px 12px 0; background: #0b1f44; color: #fff; border-radius: 16px; padding: 14px; }
.bal small { display: block; color: rgb(255 255 255 / 70%); font-size: 11px; }
.bal b { display: block; font-size: 20px; letter-spacing: -0.01em; margin: 2px 0 10px; }
.bal span { display: block; text-align: center; background: rgb(255 255 255 / 14%); border-radius: 10px; padding: 8px; font-weight: 700; }
.float-card { position: absolute; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.float-card .ico { width: 20px; height: 20px; }
.fc-1 { left: -34px; top: 18%; } .fc-1 .ico { color: var(--gold); }
.fc-2 { right: -26px; bottom: 16%; } .fc-2 .ico { color: var(--mint); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 12px; }

/* audience blocks */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.block { position: relative; border-radius: var(--radius); padding: 30px 28px 28px; color: #fff; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; isolation: isolate; }
.block::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -60px; bottom: -70px; border-radius: 40px; transform: rotate(18deg); background: rgb(255 255 255 / 10%); }
.block.b1 { background: linear-gradient(150deg, #1a6cff, #3f5bf5); }
.block.b2 { background: linear-gradient(150deg, #0f8f6a, #12b886); }
.block.b3 { background: linear-gradient(150deg, #5a3fe0, #8b4cf6); }
.block .badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgb(255 255 255 / 18%); margin-bottom: 22px; }
.block .badge .ico { width: 26px; height: 26px; }
.block h3 { font-size: 1.45rem; }
.block p { color: rgb(255 255 255 / 88%); }
.block ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-weight: 600; font-size: 15.5px; }
.block li { display: flex; gap: 8px; align-items: flex-start; }
.block li .ico { width: 20px; height: 20px; margin-top: 2px; }
.block .more { margin-top: auto; color: #fff; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.block .more:hover { text-decoration: underline; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .step::before { background: var(--brand); } }
.step p { color: var(--muted); margin: 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-ink); margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* split (text + numbers) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.num { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.num b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.num span { color: var(--muted); font-size: 15px; font-weight: 600; }
.num.hl { background: var(--navy); color: #fff; border-color: var(--navy); }
.num.hl span { color: rgb(255 255 255 / 75%); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--mint); margin-top: 2px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--brand); position: relative; box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin-bottom: 6px; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li .ico { width: 20px; height: 20px; color: var(--brand-ink); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.oneoff { margin-top: 20px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 22px 26px; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: center; }
.oneoff h3 { margin: 0; }
.oneoff ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.oneoff li { background: var(--surface-2); border-radius: 12px; padding: 8px 14px; font-size: 15px; font-weight: 600; }
.oneoff li b { color: var(--brand-ink); }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 22px 20px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* article (inner pages) */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 16px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface-2); }
.table-wrap { overflow-x: auto; }
.note-box { background: var(--surface-2); border-radius: 18px; padding: 18px 22px; margin: 1.4em 0; }
.page-hero { padding: 30px 0 20px; }
.page-hero .lead { max-width: 60ch; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--text); font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.related a span { display: block; color: var(--muted); font-weight: 500; font-size: 15px; margin-top: 6px; }

/* final cta */
.final { padding: 40px 0 88px; }
.final .box { background: var(--grad); color: #fff; border-radius: 32px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.final .box::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; left: -80px; top: -120px; border-radius: 60px; transform: rotate(24deg); background: rgb(255 255 255 / 10%); }
.final h2 { color: #fff; }
.final p { color: rgb(255 255 255 / 88%); max-width: 56ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 32px; font-size: 15px; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h2 { font-size: 15px; color: var(--text); letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 20px; font-size: 14px; }

/* reveal animation (JS добавляет .js на <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .phone { width: min(300px, 82%); }
  .fc-1 { left: -8px; } .fc-2 { right: -8px; }
  .blocks, .features, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .blocks .block:last-child, .plans .plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .menu-btn { display: grid; }
  .header .lang { margin-left: 0; }
  .header .btn-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .blocks, .features, .plans, .steps, .numbers, .related, .footer .wrap { grid-template-columns: 1fr; }
  .blocks .block:last-child, .plans .plan:last-child { grid-column: auto; }
  .block { min-height: 0; }
  .cta-row .btn { width: 100%; }
  .oneoff { grid-template-columns: 1fr; }
  .final .box { padding: 40px 22px; border-radius: 26px; }
  .float-card { display: none; }
  .phone { width: min(270px, 78%); }
}
