/* Penny — landing sahifa. Tokenlar, tugmalar, .glass, .bcard: tokens.css */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.lp { overflow-x: hidden; }
.lp h1, .lp h2, .lp h3 { text-wrap: balance; }

.lp-skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  padding: 10px 16px; border-radius: var(--r-s); background: var(--surface); color: var(--ink); font-weight: 700;
}
.lp-skip:focus { top: 12px; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ───────── Sarlavha: yopishqoq shaffof tasma ───────── */
.lp-head {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lp-head { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
}
.lp-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lp-logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none; border-radius: var(--r-s);
  font-weight: 800; font-size: 22px; letter-spacing: -.5px;
}
.lp-nav { display: none; }
.lp-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  color: var(--ink-2); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: color .15s, background-color .15s;
}
.lp-nav a:hover { color: var(--ink); background: var(--surface-2); }
.lp-head-cta { min-height: 44px; padding: 0 22px; }

/* ───────── Umumiy tipografika ───────── */
.lp-kicker {
  display: inline-block; margin-bottom: 12px;
  color: var(--accent-text); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.lp-h2 { font-weight: 800; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -1px; }
.lp-h3 { font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -.5px; }
.lp-lead { color: var(--ink-2); font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.55; margin-top: 16px; max-width: 56ch; }
.lp-lead a { font-weight: 700; text-underline-offset: 3px; }
.lp-btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

.lp-sec { padding: 64px 0; }
.lp-sec-head { margin-bottom: 32px; max-width: 760px; }

.lp-feat-ic, .lp-step-ic {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-m); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--glow-soft);
}

/* ───────── 1. Hero ───────── */
.lp-hero { position: relative; isolation: isolate; padding: 40px 0 56px; overflow: hidden; }
@supports (overflow: clip) { .lp-hero { overflow: visible; overflow-x: clip; } }
.lp-hero::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -8%;
  width: min(900px, 130vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-soft), rgba(45, 90, 67, .12) 50%, transparent 72%);
}
.lp-hero-in { display: grid; gap: 44px; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13.5px; font-weight: 700;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px var(--glow-soft); }
.lp-h1 {
  margin-top: 20px;
  font-weight: 800; font-size: clamp(40px, 11.5vw, 84px); line-height: .98; letter-spacing: -.04em;
}
/* gradient matn: qo'llab-quvvatlanmasa oddiy urg'u rangi qoladi */
.lp-grad { color: var(--accent-text); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .lp-grad {
    background: linear-gradient(100deg, var(--accent) 10%, #1f8f74 60%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.lp-hero .lp-lead { margin-top: 22px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-actions .btn { flex: 1 1 auto; }
.lp-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.lp-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.lp-ticks .ico { width: 18px; height: 18px; color: var(--accent-text); }

/* Mahsulot maketi */
.lp-stage { position: relative; isolation: isolate; width: 100%; max-width: 400px; margin: 0 auto; padding: 56px 0 0; }
.lp-stage-logo {
  position: absolute; z-index: 2; right: -22px; top: -46px; width: 150px; height: 150px;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .3));
  animation: lp-float 7s ease-in-out infinite;
}
.lp-mock {
  position: relative; padding: 18px; border-radius: 32px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-2), 0 40px 90px -40px rgba(0, 192, 163, .5);
  animation: pn-rise .6s var(--ease) both;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lp-mock { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
}
.lp-mock-head { padding: 14px 16px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.lp-mock-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; letter-spacing: -.3px; }
.lp-mock-brand .mark { width: 24px; height: 24px; }
.lp-mock-shop { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.lp-mock-sum { font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -1px; }
.lp-mock-desc { color: var(--ink-2); font-size: 13px; }
.lp-mock-q { margin: 16px 4px 8px; font-weight: 800; font-size: 16px; letter-spacing: -.3px; }
.lp-mock-row {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px 8px 10px; margin-top: 8px;
  border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line);
}
.lp-mock-row.is-on { border-color: var(--accent-text); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--glow-soft); }
.lp-mock-chip { flex: none; width: 50px; height: 34px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.lp-mock-main { flex: 1; display: grid; line-height: 1.3; font-size: 15px; }
.lp-mock-main small { color: var(--ink-2); font-size: 12.5px; }
.lp-mock-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); }
.is-on .lp-mock-radio { border-color: var(--accent-text); background: var(--accent-text); box-shadow: inset 0 0 0 3px var(--surface); }
.lp-mock-pay {
  display: grid; place-items: center; min-height: 54px; margin-top: 16px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 16px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), var(--shadow-glow);
}
.lp-mock-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--ink-2); font-size: 12px; }
.lp-mock-foot .ico { width: 14px; height: 14px; }

@keyframes lp-float { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-10px) rotate(8deg); } }

/* ───────── 2. Qadamlar ───────── */
.lp-steps { display: grid; gap: 14px; counter-reset: step; }
.lp-step { position: relative; overflow: hidden; padding: 24px 22px 26px; border-radius: var(--r-xl); }
.lp-step h3 { margin-top: 18px; font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.4px; }
.lp-step p { margin-top: 8px; color: var(--ink-2); }
.lp-step-n {
  position: absolute; right: 14px; top: -18px;
  font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -.05em;
  color: var(--accent-text); opacity: .13; font-variant-numeric: lining-nums;
}

/* ───────── 3. Imkoniyatlar (bento) ───────── */
.lp-bento { display: grid; gap: 14px; }
.lp-feat { padding: 24px 22px; border-radius: var(--r-xl); }
.lp-feat h3 { margin-top: 16px; font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.4px; }
.lp-feat p { margin-top: 8px; color: var(--ink-2); }
.lp-feat--wide { display: grid; gap: 26px; overflow: hidden; }
.lp-feat--wide h3 { font-size: 24px; }
.lp-deck { position: relative; width: 100%; max-width: 330px; margin: 0 auto; padding: 34px 0 6px; }
.lp-deck .bcard { min-height: 0; }
.lp-deck-b { position: absolute; left: 0; top: 0; transform: translate(7%, 0) rotate(5deg) scale(.92); transform-origin: 50% 100%; opacity: .96; }
.lp-deck-a { position: relative; transform: rotate(-3deg); }

.lp-bal {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 22px;
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.lp-bal-main { display: grid; line-height: 1.25; min-width: 0; }
.lp-bal-main small { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.lp-bal-main strong { font-size: 20px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }

/* ───────── 4. Xavfsizlik — obsidian tasma (ikkala temada ham to'q) ───────── */
.lp-dark {
  --ink: #efefe8; --ink-2: #a4b0aa; --line: rgba(255, 255, 255, .1); --line-strong: #6d7a74;
  --surface: #141a17; --surface-2: #1c2520; --glass: rgba(20, 26, 23, .62);
  --accent-text: #00c0a3; --accent-soft: #16271f; --accent-hover: #37705a; --focus: #00c0a3;
  --glow-soft: rgba(0, 192, 163, .28);
  color: var(--ink);
  background:
    radial-gradient(55% 60% at 100% 0%, rgba(0, 192, 163, .16), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(45, 90, 67, .5), transparent 72%),
    #0b0f0d;
}
.lp-dark .btn:not(.btn--ghost) { border-color: rgba(0, 192, 163, .42); }
#xavfsizlik { padding: 72px 0; margin: 24px 0; }
.lp-safe { display: grid; gap: 36px; }
.lp-masked {
  display: inline-block; margin-top: 22px; padding: 14px 20px; border-radius: var(--r-l);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 192, 163, .35);
  box-shadow: 0 0 0 5px rgba(0, 192, 163, .08), 0 20px 50px -24px rgba(0, 192, 163, .7);
  font-family: var(--font-mono); font-weight: 600; font-size: clamp(19px, 5.4vw, 30px); letter-spacing: .06em; white-space: nowrap;
}
.lp-safe-list { display: grid; gap: 12px; }
.lp-safe-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px;
  border-radius: var(--r-l); background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.lp-safe-list h3 { font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.3px; }
.lp-safe-list p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

/* ───────── 5–6. Qayerda ishlaydi / Sotuvchilar ───────── */
.lp-duo { display: grid; gap: 14px; }
.lp-panel { padding: 26px 22px 24px; border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: flex-start; }
.lp-panel .lp-h3 { margin-top: 18px; }
.lp-panel p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; max-width: 52ch; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.lp-chips li {
  padding: 8px 16px; border-radius: var(--r-pill); background: var(--accent-soft); border: 1px solid var(--glow-soft);
  color: var(--accent-text); font-weight: 800; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase;
}
.lp-ext { margin-top: auto; padding-top: 12px; margin-left: -6px; font-size: 16px; }
.lp-ext .ico { width: 18px; height: 18px; }

/* ───────── 7. Savollar ───────── */
.lp-faq-wrap { display: grid; gap: 8px; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { border-radius: var(--r-l); overflow: hidden; }
.lp-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 18px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 17px; line-height: 1.3; letter-spacing: -.3px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:focus-visible { outline-offset: -3px; box-shadow: none; border-radius: var(--r-l); }
.lp-faq-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); transition: transform .25s var(--ease);
}
.lp-faq-x .ico { width: 18px; height: 18px; }
.lp-faq details[open] .lp-faq-x { transform: rotate(45deg); }
.lp-faq details p { padding: 0 18px 20px; color: var(--ink-2); max-width: 64ch; }

/* ───────── 8. Yakuniy chaqiriq ───────── */
.lp-cta-sec { padding-top: 24px; }
.lp-cta {
  position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center;
  padding: 48px 22px 52px; border-radius: 36px; border: 1px solid rgba(255, 255, 255, .08);
}
.lp-cta-logo { width: 120px; height: 120px; margin-bottom: 6px; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .5)); }
.lp-cta .lp-lead { margin-top: 12px; }
.lp-cta .btn { margin-top: 28px; }

/* ───────── 9. Futer ───────── */
.lp-foot { margin-top: 24px; padding: 40px 0 max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lp-foot-in { display: grid; gap: 28px; }
.lp-foot-brand p { margin-top: 6px; color: var(--ink-2); }
.lp-foot-t { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.lp-foot-list a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--r-s);
}
.lp-foot-list a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.lp-foot-list .ico { width: 20px; height: 20px; color: var(--accent-text); }
.lp-legal { padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

/* ───────── Planshet ───────── */
@media (min-width: 640px) {
  .lp-wrap { padding: 0 28px; }
  .lp-sec { padding: 84px 0; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .lp-bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .lp-feat--wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; padding: 34px; }
  .lp-feat--half { grid-column: 1 / -1; }
  .lp-duo { grid-template-columns: 1fr 1fr; gap: 18px; }
  .lp-panel { padding: 34px; }
  .lp-safe-list { grid-template-columns: 1fr 1fr; }
  .lp-foot-in { grid-template-columns: 1.3fr 1fr 1fr; }
  .lp-legal { grid-column: 1 / -1; }
  .lp-cta { padding: 72px 32px 76px; }
  .lp-stage { max-width: 420px; }
  .lp-actions .btn { flex: 0 0 auto; }
  .lp-stage-logo { width: 230px; height: 230px; right: -70px; top: -40px; }
}

/* ───────── Desktop ───────── */
@media (min-width: 980px) {
  .lp-nav { display: flex; gap: 2px; }
  .lp-head-in { min-height: 72px; }
  .lp-hero { padding: 72px 0 96px; }
  .lp-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 56px; }
  .lp-stage { margin: 0 40px 0 auto; }
  .lp-stage-logo { width: 270px; height: 270px; right: -96px; top: -64px; }
  .lp-sec { padding: 80px 0; }
  .lp-sec-head { margin-bottom: 44px; }
  .lp-step { padding: 30px 28px 34px; }
  .lp-step-n { font-size: 150px; }

  .lp-bento { grid-template-columns: repeat(6, 1fr); }
  .lp-feat { grid-column: span 2; padding: 30px 28px; }
  .lp-feat--wide { grid-column: span 4; padding: 40px; }
  .lp-feat--half { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; }
  .lp-feat--half .lp-bal { align-self: stretch; margin-bottom: auto; }
  .lp-feat--half .lp-feat-ic { margin-top: 22px; }
  .lp-feat--half h3 { font-size: 24px; }

  #xavfsizlik { padding: 96px 0; }
  .lp-safe { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
  .lp-faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .lp-faq-head { position: sticky; top: 104px; margin-bottom: 0; }
  .lp-cta-logo { width: 150px; height: 150px; }
}

@media (prefers-color-scheme: dark) {
  .lp-grad { color: var(--glow); }
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .lp-grad { background: linear-gradient(100deg, #7fe6d2 0%, #00c0a3 55%, #4fa783 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  }
  /* qorong'i temada obsidian tasma fon bilan qo'shilib ketmasin */
  #xavfsizlik { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}
