/* ==========================================================================
   166 Kassa — public sayt dizayn sistemi
   Minimal, professional, responsive. Gradient və artıq effekt yoxdur.
   ========================================================================== */

:root {
    /* Rəng */
    --c-bg: #ffffff;
    --c-bg-soft: #f6f8fa;
    --c-bg-muted: #eef2f6;
    --c-border: #e2e8f0;
    --c-border-strong: #cbd5e1;

    --c-text: #0f172a;
    --c-text-soft: #475569;
    --c-text-muted: #64748b;

    --c-primary: #0b5cd5;
    --c-primary-dark: #0847a6;
    --c-primary-soft: #e8f0fe;

    --c-success: #0f7b3f;
    --c-success-soft: #e6f4ec;
    --c-warning: #b45309;
    --c-warning-soft: #fdf3e3;
    --c-danger: #b91c1c;
    --c-danger-soft: #fdeaea;

    /* Ölçü */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;

    --sh-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --sh-md: 0 4px 12px rgba(15, 23, 42, .07);
    --sh-lg: 0 12px 32px rgba(15, 23, 42, .10);

    --container: 1180px;
    --header-h: 68px;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.375rem); }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }

::selection { background: var(--c-primary); color: #fff; }

/* --------------------------------------------------------- Layout ------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow { max-width: 780px; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: #0d1b2f; color: #e6edf6; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b9c7da; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--c-text-soft); font-size: 1.0625rem; margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-soft { color: var(--c-text-soft); }
.text-muted { color: var(--c-text-muted); }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.0625rem; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* --------------------------------------------------------- Header ------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.125rem; color: var(--c-text); letter-spacing: -.02em; }
.brand:hover { color: var(--c-text); }
.brand__mark {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    font-size: .8125rem; font-weight: 800; letter-spacing: -.03em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    color: var(--c-text-soft);
    font-size: .9375rem;
    font-weight: 500;
    white-space: nowrap;
}
.nav a:hover { background: var(--c-bg-muted); color: var(--c-text); }
.nav a.is-active { color: var(--c-primary); background: var(--c-primary-soft); }

.nav-dropdown { position: relative; }
.nav-dropdown__panel {
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    padding: 8px;
    display: none;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel { display: block; }
.nav-dropdown__panel a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: .9375rem; }
.nav-dropdown__panel a span { display: block; font-size: .8125rem; color: var(--c-text-muted); font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: #fff;
    cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--c-text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--c-text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* --------------------------------------------------------- Buttons ------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    font-size: .9375rem; font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--c-text); border-color: var(--c-border-strong); }
.btn-outline:hover { background: var(--c-bg-soft); color: var(--c-text); }
.btn-ghost { background: transparent; color: var(--c-text-soft); }
.btn-ghost:hover { background: var(--c-bg-muted); color: var(--c-text); }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { background: #f1f5f9; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --------------------------------------------------------- Cards -------- */

.card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.card-hover { transition: box-shadow .18s, border-color .18s, transform .18s; }
.card-hover:hover { box-shadow: var(--sh-md); border-color: var(--c-border-strong); transform: translateY(-2px); }

.feature-card h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.feature-card p { margin: 0; color: var(--c-text-soft); font-size: .9375rem; }

.icon-box {
    width: 42px; height: 42px;
    border-radius: var(--r-md);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    display: grid; place-items: center;
    margin-bottom: 14px;
}
.icon-box svg { width: 21px; height: 21px; }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .8125rem; font-weight: 600;
    background: var(--c-bg-muted); color: var(--c-text-soft);
}
.badge-primary { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge-success { background: var(--c-success-soft); color: var(--c-success); }
.badge-warning { background: var(--c-warning-soft); color: var(--c-warning); }

/* --------------------------------------------------------- Hero --------- */

.hero { padding: 76px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 1.125rem; color: var(--c-text-soft); margin-bottom: 28px; max-width: 34em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note { font-size: .875rem; color: var(--c-text-muted); }

.hero__visual {
    background: #0d1b2f;
    border-radius: var(--r-xl);
    padding: 18px;
    box-shadow: var(--sh-lg);
}

/* Mock POS ekranı (şəkil əvəzinə saf HTML/CSS) */
.mock {
    background: #f8fafc;
    border-radius: var(--r-lg);
    overflow: hidden;
    font-size: .8125rem;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e2e8f0; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; }
.mock__body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 268px; }
.mock__left { padding: 12px; border-right: 1px solid var(--c-border); }
.mock__right { padding: 12px; background: #fff; display: flex; flex-direction: column; }
.mock__search {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-sm);
    padding: 8px 10px; color: var(--c-text-muted); margin-bottom: 10px;
}
.mock__row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--c-border); }
.mock__row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.mock__total { margin-top: auto; padding-top: 12px; border-top: 2px solid var(--c-text); display: flex; justify-content: space-between; font-size: 1.125rem; font-weight: 800; }
.mock__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.mock__key { background: var(--c-bg-muted); border-radius: var(--r-sm); padding: 9px 4px; text-align: center; font-weight: 600; font-size: .75rem; }
.mock__key.is-primary { background: var(--c-primary); color: #fff; }

/* ----------------------------------------------- Home explainer ------- */

.home-explainer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(11, 92, 213, .09), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    border-top: 1px solid #edf2f8;
    border-bottom: 1px solid #e8eef6;
}
.home-explainer::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    right: -190px;
    top: 170px;
    border: 1px solid rgba(11, 92, 213, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(11, 92, 213, .025), 0 0 0 116px rgba(11, 92, 213, .018);
    pointer-events: none;
}
.home-explainer .container { position: relative; z-index: 1; }
.home-explainer__head { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: end; margin-bottom: 38px; }
.home-explainer__head h2 { max-width: 580px; margin-bottom: 0; font-size: clamp(2rem, 3.3vw, 2.8rem); }
.home-explainer__head p { max-width: 610px; margin: 0 0 4px; color: var(--c-text-soft); font-size: 1.02rem; line-height: 1.75; }
.home-explainer__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr); gap: 22px; }
.home-explainer__stack { display: grid; gap: 22px; }
.explain-card { padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: rgba(255, 255, 255, .94); box-shadow: 0 12px 35px rgba(25, 48, 82, .055); }
.explain-card--primary { display: flex; flex-direction: column; padding: 34px; }
.explain-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.explain-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--c-primary); background: var(--c-primary-soft); }
.explain-card__icon svg { width: 21px; height: 21px; }
.explain-card__step { color: var(--c-primary); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.explain-card h3 { margin-bottom: 11px; font-size: 1.35rem; line-height: 1.28; }
.explain-card--primary h3 { max-width: 650px; font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
.explain-card p { margin-bottom: 18px; color: var(--c-text-soft); font-size: .925rem; line-height: 1.7; }
.pos-compare { display: grid; grid-template-columns: 1fr 36px 1fr; gap: 8px; align-items: center; margin: auto 0 20px; padding-top: 10px; }
.pos-compare__item { display: grid; gap: 4px; min-height: 118px; align-content: center; padding: 18px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #f8fafc; }
.pos-compare__item.is-software { color: #fff; border-color: #0d1b2f; background: #0d1b2f; }
.pos-compare__item span { color: var(--c-primary); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pos-compare__item.is-software span { color: #7eb1ff; }
.pos-compare__item strong { font-size: .93rem; }
.pos-compare__item small { color: var(--c-text-muted); font-size: .73rem; }
.pos-compare__item.is-software small { color: #aab9cd; }
.pos-compare__plus { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--c-primary); background: var(--c-primary-soft); font-weight: 800; }
.explain-card__link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--c-primary); font-size: .84rem; font-weight: 700; }
.explain-card__link span { transition: transform .15s ease; }
.explain-card__link:hover span { transform: translateX(3px); }
.explain-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.explain-card__tags span { padding: 5px 9px; border-radius: 999px; color: #46617f; background: #eff4fa; font-size: .7rem; font-weight: 700; }
.explain-card__status { display: flex; align-items: center; gap: 8px; color: #126c43; font-size: .78rem; font-weight: 700; }
.explain-card__status span { width: 8px; height: 8px; border-radius: 50%; background: #27c47d; box-shadow: 0 0 0 5px rgba(39, 196, 125, .12); }
.explainer-demo { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 22px; padding: 28px 30px; overflow: hidden; border-radius: var(--r-xl); color: #fff; background: linear-gradient(120deg, #0d1b2f 0%, #122b50 62%, #0b5cd5 145%); box-shadow: 0 18px 42px rgba(13, 27, 47, .14); }
.explainer-demo__mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; color: #88b8ff; background: rgba(255, 255, 255, .07); }
.explainer-demo__mark svg { width: 24px; height: 24px; }
.explainer-demo__copy span { display: block; margin-bottom: 3px; color: #82b4ff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.explainer-demo__copy h3 { margin-bottom: 5px; color: #fff; font-size: 1.12rem; }
.explainer-demo__copy p { max-width: 760px; margin: 0; color: #b9c7da; font-size: .82rem; line-height: 1.58; }
.explainer-demo__actions { display: flex; align-items: center; gap: 8px; }
.explainer-demo__actions .btn-ghost { color: #dce8f8; }
.explainer-demo__actions .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------- Stats -------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 22px 20px; text-align: center; }
.stat__value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.stat__label { font-size: .875rem; color: var(--c-text-muted); }

/* --------------------------------------------------------- Pricing ------ */

.plan {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    display: flex; flex-direction: column;
}
.plan.is-featured { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.plan__name { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.plan__desc { font-size: .875rem; color: var(--c-text-muted); margin-bottom: 18px; min-height: 42px; }
.plan__price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan__price small { font-size: .875rem; font-weight: 500; color: var(--c-text-muted); }
.plan__list { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan__list li { display: flex; gap: 9px; align-items: flex-start; font-size: .9375rem; padding: 5px 0; margin: 0; }
.plan__list li svg { flex: 0 0 16px; margin-top: 4px; color: var(--c-success); }
.plan__list li.is-off { color: var(--c-text-muted); }
.plan__list li.is-off svg { color: var(--c-border-strong); }

/* --------------------------------------------------------- Tables ------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
table.table { width: 100%; border-collapse: collapse; font-size: .9375rem; background: #fff; }
table.table th, table.table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-border); }
table.table th { background: var(--c-bg-soft); font-weight: 600; font-size: .875rem; color: var(--c-text-soft); white-space: nowrap; }
table.table tr:last-child td { border-bottom: 0; }
table.table td.num, table.table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------- FAQ ---------- */

.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-md); margin-bottom: 10px; background: #fff; }
.faq-item summary {
    padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item__q { font: inherit; margin: 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--c-text-muted); flex: 0 0 auto; }
.faq-item[open] summary::after { content: '−'; }
.faq-item__body { padding: 0 20px 18px; color: var(--c-text-soft); font-size: .9375rem; }

/* --------------------------------------------------------- Forms -------- */

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
.form-label .req { color: var(--c-danger); }
.form-control {
    width: 100%;
    padding: 10px 13px;
    font-size: .9375rem;
    font-family: inherit;
    color: var(--c-text);
    background: #fff;
    border: 1px solid var(--c-border-strong);
    border-radius: var(--r-md);
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.form-control.is-invalid { border-color: var(--c-danger); }
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.form-error { color: var(--c-danger); font-size: .8125rem; margin-top: 5px; }
.form-hint { color: var(--c-text-muted); font-size: .8125rem; margin-top: 5px; }
.form-check { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; }
.form-check input { margin-top: 4px; flex: 0 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 13px 16px; border-radius: var(--r-md); font-size: .9375rem; margin-bottom: 18px; border: 1px solid transparent; }
.alert-success { background: var(--c-success-soft); color: var(--c-success); border-color: #bfe3cd; }
.alert-danger { background: var(--c-danger-soft); color: var(--c-danger); border-color: #f3c9c9; }
.alert-warning { background: var(--c-warning-soft); color: var(--c-warning); border-color: #f2ddb9; }
.alert-info { background: var(--c-primary-soft); color: var(--c-primary-dark); border-color: #c5d9f7; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* --------------------------------------------------------- Docs --------- */

.docs { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.docs-nav a {
    display: block; padding: 9px 13px; border-radius: var(--r-sm);
    color: var(--c-text-soft); font-size: .9375rem; margin-bottom: 2px;
}
.docs-nav a:hover { background: var(--c-bg-muted); color: var(--c-text); }
.docs-nav a.is-active { background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }

.prose { max-width: 76ch; }
.prose h2 { margin-top: 2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--c-border); }
.prose h3 { margin-top: 1.6rem; }
.prose code { background: var(--c-bg-muted); padding: 2px 6px; border-radius: 4px; font-size: .875em; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.prose pre { background: #0d1b2f; color: #e6edf6; padding: 16px 18px; border-radius: var(--r-md); overflow-x: auto; font-size: .875rem; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose blockquote { margin: 1.25rem 0; padding: 12px 18px; border-left: 3px solid var(--c-primary); background: var(--c-bg-soft); color: var(--c-text-soft); }
.prose img { border-radius: var(--r-md); border: 1px solid var(--c-border); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1.25rem 0; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 9px 12px; text-align: left; }
.prose th { background: var(--c-bg-soft); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 20px; }
.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 30px; height: 30px;
    background: var(--c-primary); color: #fff;
    border-radius: 50%; display: grid; place-items: center;
    font-size: .875rem; font-weight: 700;
}
.steps li strong { display: block; margin-bottom: 2px; }

/* ----------------------------------------------- Detail / SEO pages --- */

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 58px;
    background:
        radial-gradient(circle at 88% 12%, rgba(11, 92, 213, .11), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    border-bottom: 1px solid var(--c-border);
}
.detail-hero::after {
    content: "";
    position: absolute;
    width: 380px; height: 380px;
    right: -210px; bottom: -260px;
    border: 1px solid rgba(11, 92, 213, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(11, 92, 213, .025), 0 0 0 96px rgba(11, 92, 213, .018);
    pointer-events: none;
}
.detail-hero .hero__grid { position: relative; z-index: 1; align-items: center; }
.detail-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--c-primary); font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.detail-hero__eyebrow .icon-box { width: 36px; height: 36px; margin: 0; }
.detail-hero__panel { background: #0d1b2f; color: #fff; border-radius: var(--r-xl); padding: 26px; box-shadow: 0 24px 64px rgba(13, 27, 47, .16); }
.detail-hero__panel-head { display: flex; align-items: center; gap: 9px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.detail-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 5px rgba(53,208,127,.12); }
.detail-hero__benefits { display: grid; gap: 4px; padding-top: 12px; }
.detail-hero__benefits > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px 6px; }
.detail-hero__benefits > div + div { border-top: 1px solid rgba(255,255,255,.08); }
.detail-hero__benefits > div > span { color: #75aafa; font-weight: 800; font-size: .75rem; }
.detail-hero__benefits p { margin: 0; display: grid; }
.detail-hero__benefits strong { color: #fff; font-size: .9375rem; }
.detail-hero__benefits small { color: #9fb0c7; margin-top: 2px; }

.detail-body { padding: 64px 0 72px; background: #f7f9fc; }
.detail-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; max-width: 1080px; margin: 0 auto; }
.detail-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.detail-toc__label { display: block; margin: 0 0 10px 14px; color: var(--c-text-muted); font-size: .6875rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.detail-toc nav { display: grid; gap: 4px; }
.detail-toc nav a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; padding: 10px 12px; border-radius: 9px; color: var(--c-text-soft); font-size: .8125rem; line-height: 1.35; transition: background .16s ease, color .16s ease, transform .16s ease; }
.detail-toc nav a:hover { color: var(--c-primary); background: #fff; transform: translateX(2px); }
.detail-toc nav a > span { color: #94a3b8; font-size: .6875rem; font-weight: 800; padding-top: 2px; }
.detail-toc__help { margin-top: 20px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; font-size: .8125rem; }
.detail-toc__help strong, .detail-toc__help a { display: block; }
.detail-toc__help a { margin-top: 4px; font-weight: 700; }

.detail-main { display: grid; gap: 18px; min-width: 0; }
.detail-card { scroll-margin-top: calc(var(--header-h) + 22px); display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; padding: 30px 32px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(15, 23, 42, .025); }
.detail-card:hover { border-color: #c7d7ee; box-shadow: 0 10px 30px rgba(15, 23, 42, .055); }
.detail-card__number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--c-primary-soft); color: var(--c-primary); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.detail-card__content h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 10px; }
.detail-card__lead { margin: 0; color: var(--c-text-soft); font-size: 1rem; line-height: 1.75; }
.detail-checks { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--c-border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.detail-checks li { display: flex; gap: 9px; align-items: flex-start; color: #253248; font-size: .9rem; line-height: 1.5; }
.detail-check { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--c-success); background: var(--c-success-soft); margin-top: 1px; }
.detail-check svg { width: 13px; height: 13px; }
.detail-card--accent { border-color: #bdd3f6; background: linear-gradient(145deg, #fff 30%, #f4f8ff 100%); }
.detail-note { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--c-warning); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-warning-soft); }
.detail-note strong { color: #8a3e08; }
.detail-note p { margin: 6px 0 0; color: #68411f; }
.detail-faq { scroll-margin-top: calc(var(--header-h) + 22px); margin-top: 10px; padding: 34px 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-border); }
.detail-faq > h2 { margin-bottom: 6px; }
.detail-author { margin: 28px 0 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--c-bg-soft); font-size: .8125rem; }
.detail-author a { font-weight: 700; }
.detail-author span { color: var(--c-text-muted); }
.article-practical { margin-top: 42px; padding: 30px; border: 1px solid #bdd3f6; border-radius: var(--r-lg); background: linear-gradient(145deg, #fff 35%, #f4f8ff 100%); }
.article-practical > h2 { margin-top: 14px; }
.article-practical > h3 { margin-top: 24px; font-size: 1.1rem; }
.solution-metrics .stat { background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.1); }
.solution-metrics .stat span { color: #aab9cd !important; }
.solution-metrics .stat strong { color: #fff; }
.solution-detail-overview .split { align-items: stretch; gap: 22px; }
.solution-detail-overview .split > div { padding: 30px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.solution-detail-overview .split__media { box-shadow: var(--sh-sm); }
.solution-detail-overview h2 { font-size: 1.45rem; margin-bottom: 16px; }

.detail-section-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--c-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.solution-detail-body { border-top: 1px solid var(--c-border); }
.solution-compare {
    scroll-margin-top: calc(var(--header-h) + 22px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.solution-compare__card {
    padding: 28px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: #fff;
}
.solution-compare__card--problem { background: linear-gradient(150deg, #fff 35%, #fff8f8 100%); }
.solution-compare__card--solution { border-color: #bddfc9; background: linear-gradient(150deg, #fff 35%, #f4fbf7 100%); }
.solution-compare__eyebrow {
    color: var(--c-text-muted);
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.solution-compare__card--solution .solution-compare__eyebrow { color: var(--c-success); }
.solution-compare__card h2 { margin: 8px 0 16px; font-size: 1.35rem; }
.solution-point-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.solution-point-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: #253248; font-size: .875rem; line-height: 1.5; }
.solution-point-list__icon {
    flex: 0 0 22px;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--c-danger-soft);
    color: var(--c-danger);
    font-size: 1rem;
    line-height: 1;
}
.solution-flow { counter-reset: solution-step; display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.solution-flow li {
    counter-increment: solution-step;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 0 0 18px;
    color: #253248;
    font-size: .92rem;
    line-height: 1.65;
}
.solution-flow li:not(:last-child) span { padding-bottom: 17px; border-bottom: 1px solid var(--c-border); }
.solution-flow li::before {
    content: counter(solution-step);
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: #0d1b2f;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}
.implementation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.implementation-grid > div { min-height: 116px; padding: 17px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-bg-soft); }
.implementation-grid strong, .implementation-grid span { display: block; }
.implementation-grid strong { margin-bottom: 6px; font-size: .9rem; }
.implementation-grid span { color: var(--c-text-soft); font-size: .8125rem; line-height: 1.55; }
.solution-demo-box { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding: 20px; border-radius: var(--r-md); background: #0d1b2f; color: #fff; }
.solution-demo-box strong { color: #fff; }
.solution-demo-box p { max-width: 540px; margin: 5px 0 0; color: #b9c7da; font-size: .8125rem; line-height: 1.55; }
.solution-demo-box .btn { flex: 0 0 auto; color: #fff; border-color: rgba(255,255,255,.32); }
.solution-demo-box .btn:hover { border-color: #fff; background: #fff; color: #0d1b2f; }
.detail-card--links { background: linear-gradient(145deg, #fff 25%, #f7faff 100%); }
.context-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.context-link { position: relative; min-height: 128px; padding: 18px 42px 18px 18px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; color: var(--c-text); }
.context-link:hover { border-color: #a9c6ef; color: var(--c-primary); box-shadow: 0 8px 24px rgba(15, 23, 42, .06); transform: translateY(-1px); }
.context-link strong, .context-link small { display: block; }
.context-link strong { font-size: .9rem; line-height: 1.35; }
.context-link small { margin-top: 7px; color: var(--c-text-soft); font-size: .75rem; line-height: 1.5; }
.context-link__arrow { position: absolute; top: 17px; right: 17px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); font-weight: 800; }

/* --------------------------------------------------- Blog detail ------- */

.article-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 62px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 84% 5%, rgba(80, 145, 255, .23), transparent 28%),
        linear-gradient(135deg, #0b1728 0%, #10243e 100%);
    color: #fff;
}
.article-hero::after { content: ""; position: absolute; right: -90px; bottom: -170px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.018), 0 0 0 96px rgba(255,255,255,.012); }
.article-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .62fr); gap: 64px; align-items: center; }
.article-hero__category { display: inline-flex; margin-bottom: 18px; padding: 6px 11px; border: 1px solid rgba(117,170,250,.35); border-radius: 999px; background: rgba(40,112,221,.13); color: #9cc3ff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.article-hero h1 { max-width: 860px; margin: 0; color: #fff; font-size: clamp(2.15rem, 4.4vw, 3.55rem); line-height: 1.08; letter-spacing: -.04em; }
.article-hero__excerpt { max-width: 760px; margin: 20px 0 0; color: #b9c7da; font-size: 1.05rem; line-height: 1.75; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 24px; color: #91a4bd; font-size: .8125rem; }
.article-hero__panel { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); background: rgba(255,255,255,.065); backdrop-filter: blur(10px); }
.article-hero__panel-label { display: block; margin-bottom: 18px; color: #75aafa; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.article-author-compact { display: flex; gap: 12px; align-items: center; }
.article-author-compact__mark { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--c-primary); color: #fff; font-size: .75rem; font-weight: 800; }
.article-author-compact strong, .article-author-compact small { display: block; }
.article-author-compact a { color: #fff; }
.article-author-compact small { margin-top: 3px; color: #9fb0c7; font-size: .72rem; }
.article-hero__panel > p { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #b9c7da; font-size: .8125rem; line-height: 1.6; }
.article-hero__updated { display: block; margin-top: 12px; color: #91a4bd; }
.article-body { padding: 58px 0 72px; background: #f7f9fc; }
.article-layout { display: grid; grid-template-columns: 245px minmax(0, 780px); justify-content: center; gap: 36px; align-items: start; }
.article-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 46px); overflow-y: auto; scrollbar-width: thin; }
.article-toc nav { display: grid; gap: 3px; }
.article-toc nav a { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding: 9px 11px; border-radius: 8px; color: var(--c-text-soft); font-size: .78rem; line-height: 1.4; }
.article-toc nav a:hover { background: #fff; color: var(--c-primary); }
.article-toc nav a > span { color: #94a3b8; font-size: .65rem; font-weight: 800; padding-top: 2px; }
.article-toc__cta { display: grid; gap: 5px; margin-top: 19px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; font-size: .78rem; }
.article-toc__cta span { color: var(--c-text-soft); line-height: 1.5; }
.article-toc__cta a { margin-top: 4px; font-weight: 700; }
.article-surface { max-width: none; padding: 42px 46px; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: #fff; box-shadow: 0 12px 40px rgba(15, 23, 42, .045); }
.article-surface > h2 { scroll-margin-top: calc(var(--header-h) + 22px); margin-top: 3rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem); border-bottom: 0; }
.article-surface > h2:first-child { margin-top: 0; }
.article-surface > h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 99px; background: var(--c-primary); }
.article-surface > p, .article-surface > ul, .article-surface > ol { color: #334155; line-height: 1.8; }
.article-surface > ul li, .article-surface > ol li { margin-bottom: .55rem; }
.article-practical { scroll-margin-top: calc(var(--header-h) + 22px); }
.article-checklist { display: grid; gap: 9px; padding: 0; list-style: none; }
.article-checklist li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.article-related-guides { scroll-margin-top: calc(var(--header-h) + 22px); margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--c-border); }
.article-related-guides > h2 { margin-top: 0; border-bottom: 0; }
.article-related-guides > p { color: var(--c-text-soft); }
.article-review { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-top: 38px; padding: 20px; border-radius: var(--r-md); background: var(--c-bg-soft); }
.article-review strong { display: block; font-size: .875rem; }
.article-review p { margin: 4px 0 0; color: var(--c-text-soft); font-size: .78rem; line-height: 1.55; }

/* ---------------------------------------------------- Free SEO tools --- */

.tools-hero .hero__lead { max-width: 720px; }
.tool-card { color: inherit; }
.tool-card__link { display: block; margin-top: auto; padding-top: 14px; color: var(--c-primary); font-size: .875rem; }
.download-card { color: inherit; }
.download-card h3 { margin-top: 16px; }
.download-card strong { display: block; margin-top: auto; padding-top: 14px; color: var(--c-primary); }
.tool-detail-hero { padding: 54px 0 58px; }
.tool-detail-hero__icon { margin: 0 auto 14px; }
.tool-detail-hero .hero__lead { max-width: 720px; margin: 14px auto 0; }
.calculator-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 20px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.calculator-form, .calculator-result { padding: 32px; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: #fff; }
.calculator-form h2 { margin-bottom: 22px; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.calculator-result { color: #fff; border-color: #0d1b2f; background: linear-gradient(145deg, #0d1b2f, #152d4c); box-shadow: 0 22px 54px rgba(13, 27, 47, .15); }
.calculator-result .detail-section-kicker { color: #75aafa; }
.calculator-result__grid { display: grid; gap: 10px; margin-top: 24px; }
.calculator-result__grid > div { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.calculator-result__grid span { color: #aab9cd; font-size: .8125rem; }
.calculator-result__grid strong { color: #fff; text-align: right; font-size: 1.05rem; }
.calculator-result__note { margin: 20px 0 0; padding: 15px 16px; border-radius: var(--r-md); background: rgba(117,170,250,.12); color: #c9dcf8; font-size: .8125rem; line-height: 1.55; }
.calculator-guide { max-width: 1000px; margin: 20px auto 0; padding: 28px 32px; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: #fff; }
.calculator-guide h2 { font-size: 1.35rem; }
.calculator-guide .detail-checks { margin-top: 16px; }

/* ------------------------------------------------ Product visual proof -- */

.product-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-shot { margin: 0; overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; box-shadow: 0 8px 28px rgba(15, 23, 42, .05); }
.product-shot__button { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--c-border); background: #eef3f9; cursor: zoom-in; }
.product-shot__button img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.product-shot figcaption { display: grid; gap: 5px; padding: 17px 18px 19px; }
.product-shot figcaption strong { font-size: .9375rem; }
.product-shot figcaption span { color: var(--c-text-soft); font-size: .78rem; line-height: 1.5; }
.product-gallery__note { margin: 16px 0 0; color: var(--c-text-muted); text-align: center; font-size: .75rem; }
.image-dialog { width: min(1120px, calc(100% - 32px)); padding: 0; overflow: visible; border: 0; border-radius: var(--r-lg); background: transparent; box-shadow: var(--sh-lg); }
.image-dialog::backdrop { background: rgba(5, 14, 27, .78); backdrop-filter: blur(4px); }
.image-dialog img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: #fff; }
.image-dialog__close { position: absolute; z-index: 1; top: -14px; right: -14px; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #0d1b2f; color: #fff; font-size: 1.35rem; cursor: pointer; }
.product-video { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; }
.product-video__frame { overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: #0d1b2f; box-shadow: var(--sh-lg); aspect-ratio: 16 / 9; }
.product-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------- CTA ---------- */

.cta-band {
    background: #0d1b2f;
    border-radius: var(--r-xl);
    padding: 48px 40px;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #b9c7da; margin: 0; }

/* --------------------------------------------------------- Footer ------- */

.site-footer { background: #0d1b2f; color: #b9c7da; padding: 56px 0 28px; font-size: .9375rem; }
.site-footer a { color: #b9c7da; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .9375rem; margin-bottom: 14px; letter-spacing: .01em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr; gap: 36px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.125rem; margin-bottom: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 16px; margin-top: 4px; opacity: .7; }
.footer-ecosystem { margin: 18px 0 0; color: #8497b1; font-size: .78rem; line-height: 1.7; }
.footer-ecosystem strong { display: block; color: #b9c7da; }
.footer-ecosystem a { color: #d5dfec; }
.footer-ecosystem span { margin: 0 5px; }

/* --------------------------------------------------- Floating actions --- */

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: var(--sh-lg);
    color: #fff;
}
.float-btn:hover { color: #fff; opacity: .92; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--c-primary); }
.float-btn svg { width: 24px; height: 24px; }

/* --------------------------------------------------------- Utilities --- */

.list-check { list-style: none; padding: 0; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; margin: 0; }
.list-check li svg { flex: 0 0 18px; margin-top: 4px; color: var(--c-success); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: -1; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 13px; border: 1px solid var(--c-border); border-radius: 999px; font-size: .875rem; color: var(--c-text-soft); background: #fff; }
.tag-list a:hover { border-color: var(--c-primary); color: var(--c-primary); }

.breadcrumb-bar { border-bottom: 1px solid var(--c-border); background: #fff; padding: 12px 0; }
.breadcrumb-bar .breadcrumb { margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .8125rem; color: var(--c-text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--sh-lg); }

/* --------------------------------------------------------- Responsive --- */

@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .docs { grid-template-columns: 1fr; }
    .docs-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
    .docs-nav a { white-space: nowrap; }
    .detail-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
    .detail-card { padding: 26px; }
    .article-hero__grid { gap: 36px; }
    .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
    .article-surface { padding: 36px; }
    .home-explainer__head { gap: 36px; }
    .home-explainer__grid { grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr); }
    .explainer-demo { grid-template-columns: 54px minmax(0, 1fr); }
    .explainer-demo__actions { grid-column: 2; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--c-border);
        padding: 12px 20px 20px; gap: 2px;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        box-shadow: var(--sh-lg);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 11px 12px; }
    .nav-dropdown__panel { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
    .header-actions .btn-ghost { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--reverse .split__media { order: 0; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 52px 0; }
    .hero { padding: 44px 0 40px; }
    .detail-hero { padding: 42px 0; }
    .detail-body { padding: 38px 0 52px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-toc { position: static; padding: 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
    .detail-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-toc__help { display: none; }
    .detail-card { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 22px; }
    .detail-card__number { width: 38px; height: 38px; }
    .solution-compare { grid-template-columns: 1fr; }
    .article-hero { padding: 42px 0; }
    .article-hero__grid { grid-template-columns: 1fr; gap: 26px; }
    .article-hero__panel { max-width: 540px; }
    .article-body { padding: 38px 0 54px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-toc { position: static; max-height: none; overflow: visible; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; }
    .article-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-toc__cta { display: none; }
    .calculator-shell { grid-template-columns: 1fr; }
    .product-gallery { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
    .product-video { grid-template-columns: 1fr; gap: 28px; }
    .home-explainer__head, .home-explainer__grid { grid-template-columns: 1fr; }
    .home-explainer__head { gap: 14px; margin-bottom: 28px; }
    .home-explainer__head p { max-width: 700px; }
    .home-explainer__stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { padding: 32px 22px; }
    .mock__body { grid-template-columns: 1fr; }
    .mock__left { border-right: 0; border-bottom: 1px solid var(--c-border); }
    .detail-toc nav { grid-template-columns: 1fr; }
    .detail-card { grid-template-columns: 1fr; gap: 14px; }
    .detail-checks { grid-template-columns: 1fr; }
    .detail-faq { padding: 26px 20px; }
    .solution-compare__card { padding: 22px 20px; }
    .implementation-grid, .context-links { grid-template-columns: 1fr; }
    .solution-demo-box { align-items: flex-start; flex-direction: column; }
    .article-hero h1 { font-size: 2rem; }
    .article-hero__excerpt { font-size: .95rem; }
    .article-toc nav { grid-template-columns: 1fr; }
    .article-surface { padding: 28px 20px; border-radius: var(--r-lg); }
    .article-practical { padding: 24px 20px; }
    .calculator-form, .calculator-result, .calculator-guide { padding: 24px 20px; border-radius: var(--r-lg); }
    .calculator-fields { grid-template-columns: 1fr; }
    .home-explainer__stack { grid-template-columns: 1fr; }
    .explain-card, .explain-card--primary { padding: 24px 20px; }
    .pos-compare { grid-template-columns: 1fr; }
    .pos-compare__plus { margin: -4px auto; }
    .explainer-demo { grid-template-columns: 1fr; padding: 26px 22px; }
    .explainer-demo__actions { grid-column: 1; align-items: stretch; flex-direction: column; }
    .explainer-demo__actions .btn { width: 100%; }
}

@media print {
    .site-header, .site-footer, .float-actions, .btn { display: none !important; }
    body { font-size: 12pt; }
}

.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--c-primary), #6aa6ff); -webkit-background-clip: text;
    background-clip: text; color: transparent; margin-bottom: 8px; }
