/* Palette follows the blyam-desktop dark theme; Unbounded is self-hosted (OFL, see assets/fonts). */

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

@font-face {
    font-family: "Unbounded";
    src: url("./assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 900;
    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 {
    color-scheme: dark;
    --ink: #0f1220;
    --panel: #171b2d;
    --line: #262c42;
    --line-strong: #353d58;
    --text: #eef0f8;
    --text-muted: #a6aec4;
    --text-faint: #8a93ab;
    --accent: #8394ff;
    --accent-hover: #a1aeff;
    --accent-contrast: #0f1220;

    /* Names shared with legal.css. */
    --bg-sidebar: var(--panel);
    --bg-elevated: var(--panel);
    --border: var(--line);
    --border-strong: var(--line-strong);

    --font-display: "Unbounded","Segoe UI Variable Display","Segoe UI",sans-serif;
    --font-text: "Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif;
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.6;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    color: var(--text);
    background: var(--ink);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--ink);
}

button {
    font: inherit;
    color: inherit;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button:disabled {
    cursor: default;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

h1,h2,h3,p,dl,dd,figure,ul {
    margin: 0;
}

h1,h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(32px, 4.2vw, 52px);
}

::selection {
    background: var(--accent);
    color: var(--accent-contrast);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

[hidden] {
    display: none!important;
}

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

.svg-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    background: var(--accent);
    color: var(--accent-contrast);
    z-index: 20;
    transform: translateY(-200%);
    border-radius: 10px;
}

.skip-link:focus {
    transform: none;
}

/* Header stays on screen; the frosted ink keeps the nav readable over the wordmark. */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(15 18 32 / 82%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

.brand img {
    border-radius: 9px;
}

.brand-dot,.wordmark-dot {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 4px;
    margin-right: -14px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 10px;
    transition: background-color .15s,color .15s;
}

.main-nav a:hover {
    color: var(--text);
    background: var(--panel);
}

/* Mobile menu toggle; script.js unhides it, so without JS the inline nav stays. */

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    place-items: center;
    border-radius: 10px;
    background: transparent;
    transition: background-color .15s;
}

.nav-toggle:hover {
    background: var(--panel);
}

.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s,background-color .2s;
}

.nav-toggle span {
    position: relative;
}

.nav-toggle span::before,.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    transform: translateY(-7px) rotate(-45deg);
}

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

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 650;
    white-space: nowrap;
    transition: background-color .15s;
}

.button-primary {
    background: var(--accent);
    color: var(--accent-contrast);
}

.button-primary:hover {
    background: var(--accent-hover);
}

/* Hero: the wordmark and the real connect sound are the page's one loud moment. */

.hero {
    padding: 40px 0 96px;
    container-type: inline-size;
}

/* Sized to the container so the wordmark always spans the full column. */
.wordmark {
    display: block;
    font-size: min(28.5cqi, 340px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .86;
    margin-left: -.045em;
}

.hero-tagline {
    display: block;
    margin-top: 28px;
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text-muted);
}

.hero-sound {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 56px;
    padding-block: 8px;
    border-block: 1px solid var(--line);
}

.sound-control {
    display: grid;
    gap: 2px;
    flex-shrink: 0;
    max-width: 260px;
}

.sound-caption {
    padding-left: 66px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-faint);
}

.sound-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 8px 8px 8px 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.sound-button-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-contrast);
    transition: background-color .15s,transform .15s;
}

.sound-button-icon .icon {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.sound-button:hover .sound-button-icon {
    background: var(--accent-hover);
}

.sound-button:active .sound-button-icon {
    transform: scale(.94);
}

.sonic-wave {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    height: 108px;
    min-width: 0;
}

.sonic-wave i {
    display: block;
    flex: 0 1 5px;
    min-width: 2px;
    height: var(--height);
    border-radius: 3px;
    background: var(--accent);
    opacity: .75;
    transform-origin: center;
    animation: wave-arrive .9s calc(var(--index) * 14ms) cubic-bezier(.2,.7,.2,1) both;
}

.sonic-wave i:nth-child(n+22) {
    opacity: .35;
}

.sonic-wave.is-playing i {
    animation: wave-playing .24s calc(var(--index) * -17ms) ease-in-out infinite alternate;
}

@keyframes wave-arrive {
    from { transform: scaleY(.06); opacity: 0; }
}

@keyframes wave-playing {
    from { transform: scaleY(.35); }
    to { transform: scaleY(1.12); }
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 48px;
    margin-top: 40px;
}

.hero-description {
    max-width: 34em;
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero-actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-faint);
    text-align: right;
}

/* Sections share one rhythm: heading column on the left, content on the right. */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    padding-block: 96px;
    border-top: 1px solid var(--line);
}

/* Why: each card carries a small app-window illustration drawn in CSS/SVG. */

.why {
    padding-block: 96px;
    border-top: 1px solid var(--line);
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
    padding: 0;
    list-style: none;
}

.why-card {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 28px;
    border-radius: 24px;
    background: var(--panel);
}

.why-art {
    display: grid;
    place-items: center;
    height: 200px;
    margin-bottom: 26px;
    border-radius: 16px;
    background: var(--ink);
}

.why-card h3 {
    padding-inline: 16px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.why-card p {
    margin-top: 10px;
    padding-inline: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
}

.mock-window {
    display: flex;
    flex-direction: column;
    width: min(100% - 40px, 200px);
    height: 128px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--panel);
    overflow: hidden;
}

.mock-vpn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 18px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-faint);
    text-decoration: line-through 2px var(--text-faint);
}

.mock-switch {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--line-strong);
}

.mock-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-faint);
}

.mock-ping {
    flex: 1;
    min-height: 0;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ping-grid {
    stroke: var(--line);
}

.ping-bad {
    stroke: var(--text-faint);
    stroke-width: 2;
    opacity: .6;
}

.ping-switch {
    stroke: var(--line-strong);
    stroke-width: 1.5;
    stroke-dasharray: 3 4;
}

.ping-good {
    stroke: var(--accent);
    stroke-width: 3;
}

.ping-dot {
    fill: var(--accent);
}

.mock-sound,.mock-load {
    align-items: center;
}

.mock-load {
    justify-content: center;
}

.mock-bitrate {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}

.mock-bitrate small {
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--accent);
}

.mock-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    margin-top: auto;
    margin-bottom: 14px;
}

.mock-wave i {
    width: 4px;
    height: var(--h);
    border-radius: 2px;
    background: var(--accent);
}

.mock-gauge {
    width: 112px;
    fill: none;
    stroke-linecap: round;
}

.gauge-track {
    stroke: var(--line-strong);
    stroke-width: 9;
}

.gauge-value {
    stroke: var(--accent);
    stroke-width: 9;
}

.gauge-needle {
    stroke: var(--text);
    stroke-width: 3;
}

.gauge-hub {
    fill: var(--text);
}

.mock-load-value {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Presence: dots come from assets/russia-dots.svg; markers sit on top at the cities' projected positions. */

.presence {
    padding-block: 96px;
    border-top: 1px solid var(--line);
}

.presence-map {
    margin-top: 56px;
    padding: 48px 48px 0;
    border-radius: 28px;
    background: var(--panel);
    overflow: hidden;
}

.map-canvas {
    position: relative;
}

.map-canvas img {
    width: 100%;
    height: auto;
}

.map-point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    border: 2px dashed var(--text-muted);
    background: var(--panel);
}

.map-point.is-live {
    border: 0;
    background: var(--text);
    box-shadow: 0 0 0 4px var(--accent);
}

.map-point.is-live::before,.map-point.is-live::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: point-pulse 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}

.map-point.is-live::after {
    animation-delay: 1.2s;
}

@keyframes point-pulse {
    from { transform: scale(1); opacity: .9; }
    to { transform: scale(3.6); opacity: 0; }
}

.map-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 11px;
    border-radius: 8px;
    background: var(--ink);
    border: 1px solid var(--line-strong);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--text-muted);
}

.is-live .map-label {
    color: var(--text);
    border-color: var(--accent);
}

.map-point.is-label-right .map-label,.map-point.is-label-left .map-label {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

.map-point.is-label-right .map-label {
    left: calc(100% + 16px);
}

.map-point.is-label-left .map-label {
    left: auto;
    right: calc(100% + 16px);
}

.presence-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 40px -48px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.presence-list li {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 24px 28px 28px;
}

.presence-list li:first-child {
    padding-left: 48px;
}

.presence-list li+li {
    border-left: 1px solid var(--line);
}

.presence-city {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.presence-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    color: var(--text-faint);
}

.presence-status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px dashed var(--text-faint);
}

.is-live .presence-status {
    color: var(--accent);
}

.is-live .presence-status::before {
    border: 0;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgb(131 148 255 / 25%);
}

/* Comparison */

.compare {
    padding-block: 96px;
    border-top: 1px solid var(--line);
}

/* One line at every width: below 760px the size follows the viewport. */
.compare-intro h2 {
    white-space: nowrap;
}

.memory-chart {
    margin-top: 56px;
}

.memory-chart figcaption {
    font-size: 15px;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.memory-chart sup,.compare-note sup {
    font-size: .7em;
    line-height: 0;
}

.memory-chart ul {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.memory-chart li {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 20px;
}

.memory-name {
    font-weight: 600;
    color: var(--text-muted);
}

.memory-track {
    height: 44px;
    border-radius: 12px;
    background: var(--panel);
    overflow: hidden;
}

.memory-track>span {
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: 12px;
    background: var(--line-strong);
}

.memory-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-align: right;
    color: var(--text-muted);
}

.memory-chart .is-ours .memory-name,.memory-chart .is-ours .memory-value {
    color: var(--text);
}

.memory-chart .is-ours .memory-track>span {
    background: var(--accent);
}

.compare-wrap {
    margin-top: 40px;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare-table th:first-child,.compare-table td:first-child {
    padding-left: 0;
}

.compare-table thead th {
    font-weight: 600;
    color: var(--text-muted);
}

.compare-table tbody th {
    width: 26%;
    font-weight: 500;
    color: var(--text-faint);
}

.compare-table td {
    color: var(--text-muted);
}

.compare-table .is-ours {
    color: var(--text);
    font-weight: 650;
}

.compare-table thead .is-ours {
    color: var(--accent);
}

.compare-note {
    max-width: 52em;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-faint);
}

.compare-note+.compare-note {
    margin-top: 8px;
}

.compare-table sup {
    font-size: .7em;
    line-height: 0;
    color: var(--accent);
}

/* FAQ */

.faq-list {
    border-top: 1px solid var(--line);
}

details {
    border-bottom: 1px solid var(--line);
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 18px;
    font-weight: 600;
}

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

summary:hover {
    color: var(--accent-hover);
}

.faq-plus {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: var(--text-faint);
    transition: transform .2s;
}

details[open] .faq-plus {
    transform: rotate(45deg);
    color: var(--accent);
}

details p {
    max-width: 38em;
    padding: 0 40px 24px 0;
    color: var(--text-muted);
}

details a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Download */

.download {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    padding: 72px 56px;
    border-radius: 28px;
    background: var(--panel);
}

.download h2 {
    font-size: clamp(36px, 5vw, 64px);
}

.download-body {
    display: grid;
    justify-items: start;
    gap: 24px;
}

.download-body>p:first-child {
    font-size: 19px;
    color: var(--text-muted);
}

/* Footer (shared with legal pages) */

.site-footer {
    padding-top: 64px;
    padding-bottom: 28px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.footer-main>.brand {
    font-size: 22px;
}

.footer-main>span {
    font-size: 15px;
    color: var(--text-faint);
}

.footer-main>nav {
    margin-left: auto;
    display: flex;
    gap: 28px;
    color: var(--text-muted);
    font-size: 15px;
}

.footer-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-faint);
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 22px;
    font-size: 14px;
    color: var(--text-faint);
}

/* Responsive */

@media (max-width: 1100px) {
    .why-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .faq,.download {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .presence-map {
        padding: 36px 32px 0;
    }
    .presence-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline: -32px;
    }
    .presence-list li:first-child {
        padding-left: 28px;
    }
    .presence-list li:nth-child(3) {
        border-left: 0;
    }
    .presence-list li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
    .download {
        padding: 48px 36px;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }
    .main-nav {
        font-size: 15px;
        margin-right: -10px;
    }
    .main-nav a {
        padding: 7px 10px;
    }
    .nav-toggle:not([hidden]) {
        display: grid;
    }
    .nav-toggle:not([hidden]) + .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 2px;
        margin: 0;
        padding: 8px 10px 14px;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgb(0 0 0 / 35%);
        color: var(--text);
        font-size: 17px;
    }
    .site-header.is-open .main-nav {
        display: flex;
    }
    .nav-toggle:not([hidden]) + .main-nav a {
        padding: 14px 10px;
    }
    .hero {
        padding: 28px 0 64px;
    }
    .hero-sound {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 40px;
        padding-block: 16px;
    }
    .sonic-wave {
        height: 84px;
    }
    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 28px;
    }
    .hero-description {
        font-size: 17px;
    }
    .hero-actions {
        justify-items: stretch;
    }
    .hero-note {
        text-align: left;
    }
    .why,.faq,.compare,.presence {
        padding-block: 64px;
    }
    .why-cards {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    .presence-map {
        margin-top: 40px;
        padding: 24px 16px 0;
        border-radius: 22px;
    }
    .map-point {
        width: 10px;
        height: 10px;
        margin: -5px 0 0 -5px;
        border: 2px solid var(--text-faint);
    }
    .map-point.is-live {
        box-shadow: 0 0 0 3px var(--accent);
    }
    .map-point.is-live::before,.map-point.is-live::after {
        inset: -3px;
        border-width: 1.5px;
    }
    .map-label {
        display: none;
    }
    .presence-list {
        margin: 24px -16px 0;
    }
    .presence-list li,.presence-list li:first-child {
        padding: 18px 16px 20px;
    }
    .presence-city {
        font-size: 16px;
    }
    .presence-status {
        font-size: 14px;
    }
    .compare-intro h2 {
        font-size: 7.4vw;
    }
    .memory-chart {
        margin-top: 40px;
    }
    .memory-chart li {
        grid-template-columns: 1fr auto;
        gap: 8px 16px;
    }
    .memory-track {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 32px;
        border-radius: 10px;
    }
    .memory-track>span {
        border-radius: 10px;
    }
    .memory-value {
        font-size: 18px;
    }
    .compare-table th,.compare-table td {
        padding: 14px 10px;
        font-size: 15px;
    }
    .download {
        padding: 40px 24px;
        border-radius: 22px;
    }
    .download .button {
        width: 100%;
    }
    .footer-main {
        flex-wrap: wrap;
        gap: 14px 24px;
    }
    .footer-main>nav {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        gap: 12px 24px;
    }
    .footer-documents {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .container {
        width: calc(100% - 32px);
    }
    .header-inner {
        height: 60px;
        gap: 8px;
    }
    .legal-header .brand>span {
        display: none;
    }
    .nav-toggle:not([hidden]) + .main-nav {
        padding-inline: 6px;
    }
    .site-header .brand img {
        width: 32px;
        height: 32px;
    }
    .compare-table th,.compare-table td {
        padding-inline: 6px;
        font-size: 14px;
    }
    summary {
        font-size: 17px;
    }
    details p {
        padding-right: 8px;
    }
}

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