@font-face {
    font-family: Inter;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: Inter;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Inter;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Inter;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #132033;
    --navy-deep: #0f1624;
    --ink: #161b26;
    --muted: #5c6575;
    --line: #e6e0d6;
    --paper: #f4f0ea;
    --white: #ffffff;
    --blue: #3b9bff;
    --teal: #2ec9a0;
    --gold: #e8c04a;
    --coral: #e56b6f;
    --chip-good-bg: #e7f6ee;
    --chip-good: #17643d;
    --chip-mid-bg: #fff3d0;
    --chip-mid: #7a5600;
    --chip-hot-bg: #fde7e5;
    --chip-hot: #9f1f16;
    --chip-zombie-bg: #eef0f3;
    --chip-zombie: #4b5565;
    --chip-muted-bg: #f2f4f7;
    --chip-muted: #344054;
    --shadow: 0 18px 50px rgba(15, 22, 36, 0.18);
    --radius: 16px;
    --header-h: 68px;
    --max: 1120px;
    --font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 750;
}

h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 700;
}

h3 {
    font-size: 1.05rem;
    font-weight: 650;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 42rem;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.container--narrow {
    width: min(760px, calc(100% - 32px));
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 20;
    padding: 8px 12px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

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

.site-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 750;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.brand__name {
    white-space: nowrap;
}

.brand__mark {
    display: block;
    border-radius: 8px;
}

.nav {
    display: none;
    gap: 22px;
    font-size: 0.95rem;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--ink);
}

.lang {
    display: flex;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 650;
}

.lang__link {
    text-decoration: none;
    padding: 4px 7px;
    border-radius: 6px;
    color: var(--muted);
}

.lang__link.is-active {
    background: var(--paper);
    color: var(--ink);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    padding: 0 11px;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    height: 1.5px;
    background: var(--ink);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav a {
    text-decoration: none;
    padding: 10px 4px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn--small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
}

.btn--lg {
    min-height: 48px;
    padding: 0 20px;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
}

.btn--secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.hero,
.cta-band {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(59, 155, 255, 0.2), transparent 55%),
        radial-gradient(700px 360px at 0% 110%, rgba(46, 201, 160, 0.14), transparent 50%),
        var(--navy-deep);
    color: var(--white);
}

.hero {
    padding: 56px 0 72px;
}

.hero__grid {
    display: grid;
    gap: 40px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #b7c3d3;
    font-size: 0.86rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero .lead,
.cta-band p,
.page-hero .lead {
    color: #c5cdd8;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 16px;
}

.hero .btn--primary,
.cta-band .btn--primary {
    background: var(--white);
    color: var(--navy);
}

.hero .btn--ghost,
.cta-band .btn--ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero__browsers {
    color: #8b97a8;
    font-size: 0.92rem;
}

.product-mock {
    display: grid;
    gap: 14px;
}

.hh-card {
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    border: 1px solid #e4e7ec;
}

.hh-card--panel {
    background: #f8fafc;
}

.hh-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hh-card__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hh-card__meta,
.hh-card__salary,
.hh-card__caption,
.product-mock__note {
    color: #667085;
    font-size: 0.86rem;
}

.hh-card__caption {
    margin: 0 0 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
    line-height: 14px;
}

.product-mock__note {
    margin-top: 12px;
    color: #8b97a8;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.chip--good { background: var(--chip-good-bg); color: var(--chip-good); }
.chip--mid { background: var(--chip-mid-bg); color: var(--chip-mid); }
.chip--hot { background: var(--chip-hot-bg); color: var(--chip-hot); }
.chip--zombie { background: var(--chip-zombie-bg); color: var(--chip-zombie); }
.chip--muted { background: var(--chip-muted-bg); color: var(--chip-muted); font-weight: 500; }

.section {
    padding: 72px 0;
}

.section--band {
    background: var(--paper);
}

.section__head {
    margin-bottom: 32px;
}

.section__head .lead {
    margin-top: 10px;
}

.section__more {
    margin-top: 28px;
}

.section__more a {
    font-weight: 650;
    text-decoration: none;
}

.cards {
    display: grid;
    gap: 16px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.section--band .card {
    border-color: transparent;
    box-shadow: 0 1px 0 rgba(19, 32, 51, 0.04);
}

.card__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--paper);
    color: var(--navy);
}

.card__icon svg {
    width: 22px;
    height: 22px;
}

.card h3 {
    margin-bottom: 8px;
}

.card p,
.steps p,
.faq p,
.browser-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.card .chip {
    margin-bottom: 12px;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.steps__item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
}

.steps__num {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 750;
    letter-spacing: 0.04em;
    color: var(--navy);
}

.steps__item:nth-child(1) .steps__num { color: var(--blue); }
.steps__item:nth-child(2) .steps__num { color: #1f9a78; }
.steps__item:nth-child(3) .steps__num { color: #c28d12; }

.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.browser-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.browser-card h3 {
    font-size: 0.98rem;
}

.browser-card .btn {
    margin-top: auto;
}

.browser-card__icon {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 10px;
}

.download-links a,
.site-footer a,
.prose a,
.release a:not(.btn) {
    color: var(--navy);
}

.muted {
    color: var(--muted);
    font-size: 0.92rem;
}

.center {
    text-align: center;
}

.faq {
    display: grid;
    gap: 10px;
}

.faq__item {
    background: var(--white);
    border-radius: 14px;
    padding: 4px 18px;
}

.faq__item summary {
    cursor: pointer;
    font-weight: 650;
    padding: 14px 0;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item p {
    padding-bottom: 16px;
}

.cta-band {
    padding: 64px 0;
}

.cta-band__inner {
    display: grid;
    gap: 20px;
}

.cta-band .hero__actions {
    margin: 0;
}

.page-hero {
    padding: 48px 0 24px;
    background: var(--navy-deep);
    color: var(--white);
}

.page-hero h1 {
    margin-bottom: 12px;
}

.prose h2 {
    margin: 32px 0 12px;
    font-size: 1.35rem;
}

.prose p,
.prose li {
    color: #3b4453;
}

code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: rgba(19, 32, 51, 0.06);
    padding: 0.1em 0.35em;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.hero code,
.cta-band code,
.page-hero code {
    background: rgba(255, 255, 255, 0.1);
}

.prose ol,
.prose ul {
    padding-left: 1.2rem;
}

.prose li + li {
    margin-top: 8px;
}

.callout {
    background: var(--paper);
    border-radius: 14px;
    padding: 16px 18px;
}

.release {
    padding-bottom: 36px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.release__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.release__head time {
    color: var(--muted);
    font-size: 0.92rem;
}

.release__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.release__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.tag {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    background: var(--chip-muted-bg);
    color: var(--chip-muted);
}

.tag--added { background: var(--chip-good-bg); color: var(--chip-good); }
.tag--changed { background: var(--chip-mid-bg); color: var(--chip-mid); }
.tag--fixed { background: #e7eefc; color: #1d4f91; }
.tag--security { background: var(--chip-hot-bg); color: var(--chip-hot); }

.site-footer {
    background: var(--navy-deep);
    color: #c5cdd8;
    padding: 48px 0 24px;
}

.site-footer__grid {
    display: grid;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__heading {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.site-footer__tagline {
    margin-top: 12px;
    max-width: 28rem;
    color: #8b97a8;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: #c5cdd8;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer__bottom {
    display: grid;
    gap: 6px;
    padding-top: 18px;
    font-size: 0.86rem;
    color: #8b97a8;
}

.brand--footer {
    color: var(--white);
}

#features,
#how,
#download,
#tones,
#faq,
#why {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media (min-width: 720px) {
    .nav {
        display: flex;
    }

    .nav-toggle,
    .mobile-nav,
    body.nav-open .mobile-nav {
        display: none;
    }

    .site-header__actions .btn {
        display: inline-flex;
    }

    .cards--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards--4,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__grid,
    .cta-band__inner,
    .site-footer__grid {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
    }

    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
    }

    .cta-band__inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .cards--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 719px) {
    .site-header__actions .btn {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
