:root {
    --bg: #0b0c0f;
    --bg-2: #121318;
    --bg-3: #15161b;
    --bg-4: #1c1e25;
    --line: #22242b;
    --line-2: #2a2c33;
    --ink: #f1f1ec;
    --muted: #8b8e99;
    --accent: #5df28a;
    --accent-soft: rgba(93, 242, 138, 0.35);
    --accent-glow: rgba(93, 242, 138, 0.16);
    --font: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
    --max: 1248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.page { position: relative; overflow: hidden; }
.glow {
    position: absolute;
    top: -220px;
    right: -120px;
    width: 900px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--accent-glow), rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: 24px;
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    border-radius: 10px;
    border: 0;
    background: var(--accent);
    color: var(--bg);
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.15s, opacity 0.15s;
}
.btn:hover { filter: brightness(1.08); }
.btn--small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.btn--ghost:hover { filter: none; border-color: var(--muted); }
.btn--dark { background: var(--bg); color: var(--ink); }
.btn--dark:hover { filter: none; opacity: 0.9; }

/* ---- header ---- */
.header { position: relative; z-index: 2; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo__mark { color: var(--accent); }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero { position: relative; z-index: 1; padding: 72px 0 96px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--accent-soft);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 48ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---- browser mock ---- */
.mock { position: relative; }
.mock__window {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.mock__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.mock__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock__url { margin-left: 12px; flex: 1; height: 24px; border-radius: 6px; background: var(--bg); display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--muted); }
.mock__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: #f4f4f0; }
.mock__body i { display: block; border-radius: 4px; }
.mock__row { display: flex; justify-content: space-between; align-items: center; }
.mock__logo { width: 84px; height: 14px; background: #1a1b20; }
.mock__menu { display: flex; gap: 10px; }
.mock__menu i { width: 48px; height: 8px; background: #c9c9c2; }
.mock__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-top: 8px; }
.mock__col { display: flex; flex-direction: column; gap: 10px; }
.mock__h { height: 22px; border-radius: 5px !important; background: #1a1b20; }
.mock__p { height: 8px; background: #c9c9c2; }
.mock__btn { width: 110px; height: 32px; border-radius: 8px !important; background: #1a1b20; margin-top: 8px; }
.mock__img { border-radius: 10px; background: linear-gradient(135deg, #e6e2d6, #c9c2b0); min-height: 150px; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__cards i { height: 64px; border-radius: 8px; background: #fff; border: 1px solid #e2e2dc; }

.status {
    position: absolute;
    left: -48px;
    bottom: -36px;
    min-width: 260px;
    padding: 16px 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.status__label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.status__line { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.status__kv { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.status__kv .mono { color: var(--ink); }

/* ---- sections ---- */
.section { padding: 120px 0 40px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section__head h2 { max-width: 20ch; }

/* ---- examples ---- */
.examples__head { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-3);
    transition: border-color 0.15s, transform 0.15s;
}
.shot:hover { border-color: var(--muted); transform: translateY(-2px); }
.shot__img { aspect-ratio: 4 / 3; background: var(--bg-4); display: flex; align-items: center; justify-content: center; font-size: 12px; overflow: hidden; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.shot__meta { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.shot__name { font-size: 15px; font-weight: 600; }
.shot__about { font-size: 13px; }

/* ---- steps ---- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.steps__item { position: relative; display: flex; flex-direction: column; gap: 16px; }
.steps__item p { color: var(--muted); font-size: 15px; }
.steps__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--bg); box-shadow: 0 0 0 1px #3a3d47; }
.steps__item--active .steps__dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.steps__num { font-size: 12px; }

/* ---- terms / compare ---- */
.terms { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; padding-top: 80px; }
.terms__text { display: flex; flex-direction: column; gap: 20px; }
.compare { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.compare__row:last-child { border-bottom: 0; }
.compare__row--head { padding: 18px 24px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.compare__k { font-weight: 500; }
.compare__v { font-weight: 600; }
.compare__big { font-weight: 600; font-size: 22px; }

/* ---- CTA ---- */
.section--cta { padding: 120px 0 96px; }
.cta {
    border-radius: 24px;
    padding: 72px;
    background: var(--accent);
    color: var(--bg);
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}
.cta__text { display: flex; flex-direction: column; gap: 16px; }
.cta__text p { font-size: 17px; opacity: 0.75; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form input {
    height: 52px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid rgba(11, 12, 15, 0.2);
    background: rgba(255, 255, 255, 0.55);
    color: var(--bg);
    font: inherit;
    font-size: 15px;
}
.form input::placeholder { color: rgba(11, 12, 15, 0.55); }
.form input:focus { outline: none; border-color: var(--bg); background: rgba(255, 255, 255, 0.8); }
.form__hp { position: absolute; left: -9999px; }
.form__status { padding: 16px 18px; border-radius: 10px; background: rgba(11, 12, 15, 0.12); font-weight: 500; }
.form__status--error { background: rgba(200, 40, 40, 0.18); }

/* ---- footer ---- */
.footer { padding: 0 0 32px; font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; }

/* ---- responsive ---- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 64px; }
    .mock { margin-bottom: 36px; }
    .status { left: 16px; }
    .examples__head, .terms, .cta { grid-template-columns: 1fr; gap: 32px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .cta { padding: 48px; }
}
@media (max-width: 720px) {
    .nav { display: none; }
    .hero { padding: 40px 0 72px; }
    .section { padding: 80px 0 24px; }
    .section__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; }
    .examples { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .compare__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 16px 18px; font-size: 15px; }
    .compare__row--head { display: none; }
    .compare__k { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-weight: 500; }
    .compare__row > :nth-child(2)::before,
    .compare__row > :nth-child(3)::before { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); margin-bottom: 2px; }
    .compare__row > :nth-child(2)::before { content: "Студия"; }
    .compare__row > :nth-child(3)::before { content: "Eleas"; color: var(--accent); }
    .cta { padding: 32px 24px; border-radius: 18px; }
    .section--cta { padding: 80px 0 64px; }
    .status { position: static; margin-top: 16px; min-width: 0; }
    .mock { margin-bottom: 0; }
    .glow { width: 500px; height: 400px; right: -200px; top: -150px; }
}
