/* Shared by the AI service pages (/ai/ in Uzbek, /ru/ai/ in Russian): the site's black, white and lime */
:root { --bg: #0a0a0a; --card: #141414; --line: #2a2a2a; --ink: #fff; --muted: #a3a3a3; --lime: #c6ff00; color-scheme: dark; }
:root[data-theme="light"] { --bg: #fff; --card: #f4f4f1; --line: #dcdcd5; --ink: #0a0a0a; --muted: #5c5c57; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(100% - 32px, 960px); margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.logo span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lime); color: #0a0a0a; }
.lang { display: flex; gap: 14px; font-size: 14px; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
.kicker { margin: 56px 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0 0 20px; max-width: 18ch; font-weight: 400; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
h1 em, h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--lime); }
:root[data-theme="light"] h1 em, :root[data-theme="light"] h2 em { color: var(--ink); background: linear-gradient(transparent 62%, var(--lime) 62% 92%, transparent 92%); }
.lead { margin: 0 0 32px; max-width: 58ch; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: #0a0a0a; }
.btn--line { border: 1px solid var(--line); }
section { padding: 72px 0 0; }
h2 { margin: 0 0 12px; font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.sub { margin: 0 0 32px; max-width: 60ch; color: var(--muted); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid li { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.grid h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.grid p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 600; color: var(--lime); }
:root[data-theme="light"] .steps li::before { color: var(--ink); }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 24px; line-height: 1; }
:root[data-theme="light"] summary::after { color: var(--ink); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }
.cta { margin: 88px 0 0; padding: 40px; background: var(--lime); color: #0a0a0a; border-radius: 24px; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0 0 24px; max-width: 52ch; }
.cta .btn--lime { background: #0a0a0a; color: #fff; }
.cta .btn--line { border-color: rgba(0, 0, 0, .3); }
footer { padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
footer a { color: var(--ink); }
@media (max-width: 680px) { .grid { grid-template-columns: 1fr; } .cta { padding: 28px 22px; } section { padding-top: 56px; } }
