:root {
  /* Layout: pltgroup.uz design code (Manrope, #fbfbfd, dot-matrix hero, pill buttons, hairline rows).
     The first screen is white; as the visitor scrolls past it, --p goes 0 → 1 and the whole page turns black. */
  --p: 0;
  --light-bg: #fbfbfd; --dark-bg: #0a0a0b;
  --light-text: #1d1d1f; --dark-text: #f2f2f4;
  --light-muted: #6e6e73; --dark-muted: #8e8e93;
  --bg: color-mix(in srgb, var(--dark-bg) calc(var(--p) * 100%), var(--light-bg));
  --bg-2: color-mix(in srgb, #121214 calc(var(--p) * 100%), #f5f5f7);
  --text: color-mix(in srgb, var(--dark-text) calc(var(--p) * 100%), var(--light-text));
  --muted: color-mix(in srgb, var(--dark-muted) calc(var(--p) * 100%), var(--light-muted));
  --line: color-mix(in srgb, #2a2a2e calc(var(--p) * 100%), #e2e2e6);
  --surface: color-mix(in srgb, #161618 calc(var(--p) * 100%), #f0f0f3);
  --glow: color-mix(in srgb, #0a0a0b calc(var(--p) * 100%), #ececf0);
  --c1: #1d1d1f; --c2: #6e6e73; --c3: #a1a1a6;
  --accent: #f2f2f4;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: 12px;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bg);
}
*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:not([lang="uz"]) .uz { display: none !important; }
html[lang="uz"] .ru { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.62 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
:focus-visible { outline: 2.5px solid var(--text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--text); color: var(--bg); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * max(16px, min(5vw, 48px))); margin-inline: auto; padding-left: max(16px, min(5vw, 48px), env(safe-area-inset-left, 0px)); padding-right: max(16px, min(5vw, 48px), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; color: var(--muted); }
.label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.eyebrow .dot { background: var(--accent); }

/* Buttons (pltgroup.uz) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; background: none; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--text); color: var(--bg); }
.btn--main:hover { filter: brightness(1.15); }
.btn--outline { border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.logo { width: 28px; height: 28px; flex: 0 0 auto; }
.logo circle:nth-child(1), .logo circle:nth-child(2), .logo circle:nth-child(4) { fill: var(--text); }
.logo circle:nth-child(3), .logo circle:nth-child(5), .logo circle:nth-child(7) { fill: var(--muted); }
.logo circle:nth-child(6), .logo circle:nth-child(8), .logo circle:nth-child(9) { fill: var(--accent-dot, var(--c3)); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a { text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang { display: inline-flex; gap: 2px; font-size: 14px; font-weight: 600; flex: none; }
.lang button { appearance: none; border: 0; background: none; padding: 6px 9px; border-radius: 8px; color: var(--muted); cursor: pointer; font-weight: 600; font-size: 14px; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--text); background: var(--surface); }
@media (max-width: 900px) { .nav { display: none; } .lang { margin-left: auto; } .header-row { gap: 16px; } }

/* Hero (pltgroup.uz) */
.hero { position: relative; overflow: hidden; min-height: clamp(600px, calc(100svh - 74px), 860px); display: flex; align-items: flex-end; padding-bottom: clamp(48px, 7vh, 80px); background: radial-gradient(120% 80% at 50% 0%, var(--glow) 0%, transparent 65%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-copy { position: relative; z-index: 1; text-align: center; }
.hero-title { margin: 0 auto 16px; max-width: 17em; font-size: clamp(32px, 4.2vw, 58px); letter-spacing: -.04em; }
.hero .lead { margin: 0 auto 30px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: 14px; color: var(--muted); }
.scroll-cue { display: block; width: 1.5px; height: 34px; margin: 18px auto 0; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Section heads */
.section-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-top h2 { font-size: clamp(34px, 4.4vw, 58px); }
.section-top p { color: var(--muted); max-width: 30em; }

/* Big statement */
.statement { font-size: clamp(28px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; max-width: 22em; color: color-mix(in srgb, var(--text) 34%, transparent); text-wrap: balance; }
.statement em { font-style: normal; color: var(--text); }
.statement b { font-weight: 700; color: var(--accent); }

/* Rows (svc-rows on pltgroup.uz) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 140px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.row-name { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.035em; transition: color .25s, transform .35s var(--ease); }
.row-short { color: var(--muted); }
.row-end { justify-self: end; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
a.row:hover .row-name, .row:hover .row-name { transform: translateX(8px); color: var(--c, var(--accent)); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 6px; } .row-end { justify-self: start; } }

/* Company rows on the group page */
.co { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding-block: clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.co-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.co-tag .dot { background: var(--c); }
.co-name { font-size: clamp(36px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .95; transition: color .3s, transform .4s var(--ease); }
.co-text { margin-top: 12px; color: var(--muted); max-width: 32em; }
.co-go { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 20px; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.co:hover .co-name { color: var(--c); transform: translateX(10px); }
.co:hover .co-go { background: var(--c); border-color: var(--c); color: #0a0a0b; transform: rotate(-45deg); }
@media (max-width: 760px) { .co { grid-template-columns: 1fr; } .co-go { display: none; } }

.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }

/* Rules (pltgroup.uz) */
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rules-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rules-grid li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.rule-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--accent)); margin-bottom: 6px; }
.rules-grid strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rules-grid span { color: var(--muted); }
@media (max-width: 1000px) { .rules-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rules-grid, .rules-grid.four { grid-template-columns: 1fr; gap: 28px; } }

/* Steps (pltgroup.uz) */
.steps { border-top: 1px solid var(--line); counter-reset: s; }
.step { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding-block: 34px; border-bottom: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); font-size: clamp(56px, 7vw, 96px); font-weight: 300; line-height: .85; background-image: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--accent) 70%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 34em; }
.step-time { font-weight: 700; font-size: 15px; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--surface); }
@media (max-width: 760px) { .step { grid-template-columns: 64px minmax(0, 1fr); } .step-time { grid-column: 2; justify-self: start; } }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proj { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; transition: border-color .25s, background-color .25s; min-width: 0; }
.proj:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: var(--surface); }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.proj h3 { font-size: clamp(26px, 3vw, 36px); }
.proj p { color: var(--muted); }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } }

/* CTA + contacts */
.cta-title { font-size: clamp(40px, 8vw, 112px); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin-bottom: clamp(32px, 5vw, 56px); }
.cta-title .a { color: var(--accent); }
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.contacts > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.contacts .value { display: block; margin-top: 8px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: none; }
.contacts a.value:hover { color: var(--accent); }
.copy { margin-top: 14px; }
@media (max-width: 1000px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contacts { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 70; }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Plain blocks (pltgroup.uz cta-band, footer) */
a.row { color: inherit; text-decoration: none; }
.row-end.link { font-weight: 700; border-bottom: 1.5px solid; padding-bottom: 2px; }
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 72px; align-items: start; }
.about h2 { font-size: clamp(34px, 4.4vw, 58px); }
.about-text { display: grid; gap: 18px; color: var(--muted); font-size: 18px; max-width: 36em; }
.about-text strong { color: var(--text); font-weight: 700; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.cta-band { background: #1d1d1f; color: #f5f5f7; padding-block: clamp(52px, 7vw, 92px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.cta-band p { max-width: 26em; font-weight: 500; opacity: .75; }
.btn--light { background: #f5f5f7; color: #1d1d1f; }
.btn--light:hover { background: #fff; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; align-items: start; } }
.foot { border-top: 1px solid var(--line); padding-block: 40px 28px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.02em; margin-bottom: 10px; }
.foot-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Contacts (pltgroup.uz contacts page) */
.ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacts-sec { background: radial-gradient(90% 80% at 85% 0%, var(--glow) 0%, transparent 60%); scroll-margin-top: 74px; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contacts-grid h2 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -.05em; margin-bottom: 18px; }
.contacts-grid .lead { margin-bottom: 40px; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 32px; }
.mail { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(100deg, var(--text), var(--muted) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.copybtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); }
.copybtn:hover { color: var(--text); border-color: var(--text); }
.copybtn .ico { width: 16px; height: 16px; }
.channels { border-top: 1px solid var(--line); margin-bottom: 20px; }
.channels a { display: grid; grid-template-columns: 24px 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.channels span { color: var(--muted); }
.channels b { font-weight: 700; font-variant-numeric: tabular-nums; transition: color .2s; }
.channels a:hover b { color: var(--accent); }
.small { font-size: 14px; color: var(--muted); }
.form { padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.form h3 { font-size: 28px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field .error { display: none; font-size: 13px; color: #e5484d; }
.field.is-invalid input { border-color: #e5484d; }
.field.is-invalid .error { display: block; }
.btn--block { width: 100%; margin-top: 6px; }
.form-note { margin-top: 12px; text-align: center; }
.form-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding-block: 24px; }
.form-done h3 { margin: 0; }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .channels a { grid-template-columns: 24px minmax(0, 1fr); } .channels span { display: none; } }

/* Theme switch */
.theme { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.theme button { appearance: none; border: 0; background: none; width: 32px; height: 30px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s; }
.theme button:hover { color: var(--text); }
.theme button[aria-pressed="true"] { color: var(--text); background: var(--surface); }
.theme .ico { width: 16px; height: 16px; }
.header-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-end { margin-left: 0; }
html.theming, html.theming * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
@media (max-width: 900px) { .lang { margin-left: 0; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .header-end { margin-left: auto !important; } }
@media (max-width: 440px) { .header-row { gap: 10px; } .header-end { gap: 6px; } .theme button { width: 28px; } .lang button { padding: 6px 7px; } .brand { font-size: 16px; gap: 8px; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; text-align: center; color: #e5484d; }
button[disabled] { opacity: .6; cursor: progress; }
.foot-grid { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-copy a, .form-note a { color: inherit; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; margin-bottom: 18px; }
.doc .lead { margin-bottom: 40px; }
.doc h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 12px; }
.doc p { color: var(--muted); margin-bottom: 12px; max-width: 40em; }
.group-title { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); margin: 36px 0 12px; }
.section-top + .group-title { margin-top: 0; }

/* Launch prices: regular price struck through, start price highlighted until the date in data-promo-until */
.price s { color: var(--muted); font-weight: 500; margin-right: 6px; text-decoration-thickness: 1.5px; }
.price b { font-weight: 800; color: var(--text); }
.price.expired s { text-decoration: none; color: var(--text); font-weight: 700; margin: 0; }
.price.expired b { display: none; }
.promo-note { display: inline-block; margin: 0 8px 6px 0; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
@media (max-width: 760px) { .row-end { white-space: normal; } }
.row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }
