/* VPN 111 — vpn111.net
   Palette is the app's own (mobile app, Chrome extension, Mac app):
   Science Blue for brand/actions, Caribbean Green only for "connected",
   Amber only for "connecting". */

:root {
    --blue: #0450e2;
    --blue-deep: #0339a8;
    --blue-soft: rgba(4, 80, 226, 0.1);
    --navy: #051340;
    --navy-deep: #030b29;
    --green: #00d573;
    --green-ink: #00874a;
    --amber: #f5b24a;
    --ink: #0b0e1c;
    --slate: #5b6178;
    --mist: #f4f6fb;
    --line: #e3e7f0;
    --white: #ffffff;

    --font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Noto Sans', sans-serif;
    --header-h: 68px;
    --radius-lg: 24px;
    --radius: 16px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 24px;
}

.icon {
    width: 1em;
    height: 1em;
    flex: none;
}

[dir="rtl"] .icon--flip {
    transform: scaleX(-1);
}

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

.hero :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible,
.page-home .site-header:not(.is-solid) :focus-visible {
    outline-color: var(--white);
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}

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

.btn--primary:hover {
    background: var(--blue-deep);
}

.btn--primary:active {
    transform: scale(0.97);
}

.btn--sm {
    padding: 9px 18px;
    font-size: 0.9375rem;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.page-home .site-header:not(.is-solid) {
    color: var(--white);
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--header-h);
}

.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 1.1875rem;
    letter-spacing: -0.01em;
}

.header-logo img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.nav-desktop {
    display: flex;
    gap: 4px;
    margin-inline-start: auto;
}

.nav-desktop a {
    padding: 8px 14px;
    border-radius: 999px;
    color: inherit;
    opacity: 0.78;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    opacity: 1;
    background: rgba(127, 140, 180, 0.14);
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    margin-inline-end: -10px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.mobile-menu-toggle span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out);
}

.mobile-menu-toggle span:nth-child(1) { top: 17px; }
.mobile-menu-toggle span:nth-child(2) { top: 25px; }

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
    display: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background:
        radial-gradient(90% 70% at 85% 0%, rgba(4, 80, 226, 0.55), transparent 70%),
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #0a2a8a 100%);
    padding-block: calc(var(--header-h) + 64px) 96px;
}

/* Two stacked glows crossfade when the preview connects: blue → green. */
.hero__glow {
    position: absolute;
    z-index: -1;
    inset-inline-end: -10%;
    top: 12%;
    width: 760px;
    height: 760px;
    pointer-events: none;
}

.hero__glow::before,
.hero__glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: opacity 1.2s ease;
}

.hero__glow::before {
    background: radial-gradient(closest-side, rgba(4, 80, 226, 0.55), transparent);
}

.hero__glow::after {
    background: radial-gradient(closest-side, rgba(0, 213, 115, 0.32), transparent);
    opacity: 0;
}

.hero[data-state="on"] .hero__glow::before { opacity: 0.35; }
.hero[data-state="on"] .hero__glow::after { opacity: 1; }

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 64px;
}

.hero__title {
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
    max-width: 13ch;
    text-wrap: balance;
}

.hero__lead {
    margin-top: 22px;
    max-width: 34rem;
    font-size: 1.1875rem;
    line-height: 1.6;
    color: rgba(236, 241, 255, 0.78);
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.store-badges--center {
    justify-content: center;
}

.store-badge {
    display: inline-flex;
    border-radius: 10px;
    transition: transform 0.25s var(--ease-out);
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge img {
    height: var(--badge-h, 48px);
    width: auto;
}

/* Google's badge PNG carries ~16% transparent padding; scale it so the
   visible button matches the App Store badge. */
.store-badge--play img {
    height: calc(var(--badge-h, 48px) * 250 / 168);
    margin: calc(var(--badge-h, 48px) * -41 / 168);
}

.hero__soon {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    color: rgba(236, 241, 255, 0.8);
    font-size: 0.9375rem;
    text-decoration: none;
}

.hero__soon:hover {
    color: var(--white);
}

.hero__soon-tag {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Load sequence — once, on page load. */
.hero__copy > * {
    animation: rise 0.8s var(--ease-out) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }

.demo {
    animation: rise 1s var(--ease-out) 0.2s both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ===== PRODUCT PREVIEW (mirrors the extension popup) ===== */
.demo {
    justify-self: center;
    width: min(100%, 360px);
}

.demo__card {
    text-align: start;
    padding: 18px 16px 16px;
    border-radius: 26px;
    background: var(--mist);
    color: var(--ink);
    box-shadow:
        0 40px 80px -30px rgba(0, 6, 30, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.demo__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-inline: 4px;
}

.demo__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9375rem;
}

.demo__brand svg {
    color: var(--blue);
}

.demo__pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e9ecf4;
    color: var(--slate);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.demo__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 0 18px;
}

.demo__power {
    --tone: var(--blue);
    --tone-soft: rgba(4, 80, 226, 0.14);
    --tone-glow: rgba(4, 80, 226, 0.45);
    position: relative;
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 42px;
    background: var(--tone);
    box-shadow: 0 0 0 12px var(--tone-soft), 0 14px 34px var(--tone-glow);
    cursor: pointer;
    transition: background-color 0.45s ease, box-shadow 0.45s ease, transform 0.2s var(--ease-out);
}

.demo__power:hover {
    transform: scale(1.03);
}

.demo__power:active {
    transform: scale(0.96);
}

.demo__power:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 16px;
    border-radius: 50%;
}

.demo__ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 3px solid transparent;
    pointer-events: none;
}

/* Off: a slow breath that invites the tap. */
.demo[data-state="off"] .demo__ring {
    border-color: rgba(4, 80, 226, 0.35);
    animation: breathe 2.6s ease-in-out infinite;
}

/* Connecting: amber with a spinning arc. */
.demo[data-state="busy"] .demo__power {
    --tone: var(--amber);
    --tone-soft: rgba(245, 178, 74, 0.18);
    --tone-glow: rgba(245, 178, 74, 0.45);
}

.demo[data-state="busy"] .demo__ring {
    border-top-color: var(--amber);
    animation: spin 0.9s linear infinite;
}

/* Connected: green, with one ripple outward. */
.demo[data-state="on"] .demo__power {
    --tone: var(--green);
    --tone-soft: rgba(0, 213, 115, 0.18);
    --tone-glow: rgba(0, 213, 115, 0.5);
}

.demo[data-state="on"] .demo__ring {
    border-color: rgba(0, 213, 115, 0.6);
    animation: ripple 0.9s var(--ease-out) forwards;
}

.demo[data-state="on"] .demo__pill {
    background: rgba(0, 213, 115, 0.16);
    color: var(--green-ink);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 0.2; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes ripple {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.45); opacity: 0; }
}

.demo__state {
    margin-top: 22px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.demo__row,
.demo__split {
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
}

.demo__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
}

.demo__row-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 16px;
}

.demo__row-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    font-size: 0.875rem;
    flex: 1;
    min-width: 0;
}

.demo__row-text span,
.demo__split span {
    color: var(--slate);
    font-size: 0.8125rem;
}

.demo__chev {
    color: var(--slate);
    font-size: 18px;
}

.demo__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.demo__split > div {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    line-height: 1.35;
}

.demo__split > div + div {
    border-inline-start: 1px solid var(--line);
}

.demo__split strong {
    font-size: 0.9375rem;
    transition: color 0.4s ease;
}

.demo[data-state="on"] .demo__split strong {
    color: var(--green-ink);
}

.demo__caption {
    margin-top: 14px;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(236, 241, 255, 0.6);
}

/* ===== SECTIONS ===== */
.section {
    padding-block: 112px;
}

.section--mist {
    background: var(--mist);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head--start {
    margin: 0;
    text-align: start;
}

.section-title {
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -0.028em;
    text-wrap: balance;
}

.section-lead {
    margin-top: 16px;
    color: var(--slate);
    font-size: 1.125rem;
    text-wrap: pretty;
}

/* ===== DEVICES ===== */
.devices {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px; /* hairlines come from the background showing through */
    border-radius: var(--radius-lg);
    background: var(--line);
    border: 1px solid var(--line);
    overflow: hidden;
}

.device {
    background: var(--white);
}

.device__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 28px 24px 24px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease;
}

a.device__link:hover {
    background: #f8f9fd;
}

.device__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 24px;
    transition: transform 0.3s var(--ease-out);
}

a.device__link:hover .device__icon {
    transform: translateY(-3px);
}

.device__name {
    font-weight: 700;
    font-size: 1.0625rem;
}

.device__where {
    color: var(--slate);
    font-size: 0.9375rem;
}

.device__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-ink);
}

.device__status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.device--soon .device__icon {
    background: #eef0f5;
    color: #8a90a6;
}

.device--soon .device__status {
    color: var(--slate);
}

.device--soon .device__status::before {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px #a3a8ba;
}

/* ===== FEATURES ===== */
.features-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
}

.features-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}

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

.feature__icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 20px;
}

.feature h3 {
    margin-top: 16px;
    font-size: 1.125rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.feature p {
    margin-top: 6px;
    color: var(--slate);
    font-size: 1rem;
}

/* ===== APP GALLERY ===== */
.app-gallery {
    overflow: hidden;
}

.phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.phones img {
    width: auto;
    filter: drop-shadow(0 30px 40px rgba(5, 19, 64, 0.22));
}

.phones__main {
    position: relative;
    z-index: 1;
    height: 540px;
}

.phones__side {
    height: 470px;
}

.phones__side:first-child {
    margin-inline-end: -36px;
    transform: rotate(-4deg);
    transform-origin: bottom right;
}

.phones__side:last-child {
    margin-inline-start: -36px;
    transform: rotate(4deg);
    transform-origin: bottom left;
}

/* ===== STEPS ===== */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    counter-reset: none;
}

/* The line the three numbers sit on. */
.steps::before {
    content: '';
    position: absolute;
    top: 27px;
    inset-inline: 16.66%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

.step {
    position: relative;
    text-align: center;
}

.step__num {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
    color: var(--blue);
    font-weight: 750;
    font-size: 1.25rem;
}

.step:last-child .step__num {
    border-color: var(--green);
    background: var(--green);
    color: var(--white);
}

.step h3 {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.step p {
    margin: 8px auto 0;
    max-width: 30ch;
    color: var(--slate);
}

/* ===== CTA ===== */
.cta {
    position: relative;
    overflow: hidden;
    padding-block: 104px;
    color: var(--white);
    text-align: center;
    background:
        radial-gradient(60% 90% at 50% 110%, rgba(4, 80, 226, 0.7), transparent 70%),
        var(--navy);
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(4, 80, 226, 0.5);
}

.cta__title {
    margin-top: 28px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta__lead {
    margin-top: 14px;
    color: rgba(236, 241, 255, 0.75);
    font-size: 1.125rem;
}

.cta .store-badges {
    margin-top: 32px;
}

/* ===== FOOTER ===== */
.site-footer {
    padding-block: 64px 32px;
    background: var(--navy-deep);
    color: rgba(236, 241, 255, 0.72);
    font-size: 0.9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

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

.footer-brand p {
    margin-top: 16px;
    max-width: 30ch;
}

.footer-links h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
}

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

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.site-footer .legal-footer {
    margin-top: 0 !important;
    padding-inline: 0 !important;
}

/* Keep "+90 …" in order inside right-to-left pages. */
.site-footer a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: isolate;
}

.footer-copy {
    margin-top: 8px;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(236, 241, 255, 0.5);
}

/* ===== BLOG ===== */
.page-top {
    padding-top: calc(var(--header-h) + 72px);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
}

.post-card {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 22px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    border-color: rgba(4, 80, 226, 0.35);
    box-shadow: 0 18px 40px -24px rgba(5, 19, 64, 0.35);
}

.post-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: var(--mist);
}

.post-card__image--empty {
    display: grid;
    place-items: center;
    color: rgba(4, 80, 226, 0.25);
}

.post-card__meta,
.post-card__title,
.post-card__summary,
.post-card__more {
    padding-inline: 10px;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 18px;
    color: var(--slate);
    font-size: 0.8125rem;
}

.post-card__title {
    margin-top: 8px;
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.post-card__summary {
    margin-top: 8px;
    color: var(--slate);
    font-size: 0.9375rem;
    flex-grow: 1;
}

.post-card__more {
    margin-top: 14px;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9375rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

.pagination__item {
    min-width: 42px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    text-align: center;
    text-decoration: none;
    font-size: 0.9375rem;
    color: var(--ink);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.pagination__item:hover {
    border-color: var(--blue);
}

.pagination__item.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.pagination__item.is-disabled {
    color: #a3a8ba;
}

.empty-state {
    padding: 64px 0;
    text-align: center;
}

.empty-state p {
    margin-top: 8px;
    color: var(--slate);
}

.article {
    max-width: 760px;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}

.article__back:hover {
    text-decoration: underline;
}

.article__title {
    margin-top: 28px;
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 18px;
    color: var(--slate);
    font-size: 0.9375rem;
}

.article__cover {
    margin-top: 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article__cover img {
    width: 100%;
}

.blog-content {
    margin-top: 40px;
    font-size: 1.125rem;
    line-height: 1.8;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.blog-content h2 { font-size: 1.75rem; }
.blog-content h3 { font-size: 1.375rem; }
.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content table { margin-bottom: 1.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content a { color: var(--blue); text-underline-offset: 3px; }
.blog-content blockquote {
    margin: 2rem 0;
    padding-inline-start: 1.5rem;
    border-inline-start: 4px solid var(--blue);
    color: var(--slate);
}
.blog-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.blog-content th,
.blog-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }

.article__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.article__share {
    display: flex;
    gap: 8px;
}

.article__share a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--slate);
    font-size: 18px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.article__share a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero__title,
    .hero__lead {
        margin-inline: auto;
    }

    .hero .store-badges {
        justify-content: center;
    }

    .hero__soon {
        justify-content: center;
    }

    /* Available apps share the first row, coming-soon ones the second. */
    .devices {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .device {
        grid-column: span 3;
    }

    .device--soon {
        grid-column: span 2;
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-layout .section-head {
        position: static;
    }
}

@media (max-width: 860px) {
    .nav-desktop,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-inline-start: auto;
    }

    .nav-mobile {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 8px 24px 24px;
        background: var(--white);
        color: var(--ink);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(5, 19, 64, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
        position: absolute;
        inset: var(--header-h) 0 auto;
    }

    .nav-mobile a:not(.btn) {
        padding: 12px 4px;
        font-size: 1.125rem;
        font-weight: 500;
        text-decoration: none;
        border-bottom: 1px solid var(--line);
    }

    .nav-mobile .btn {
        margin-top: 16px;
        padding-block: 14px;
    }

    .site-header.is-open .nav-mobile {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s;
    }

    .section {
        padding-block: 80px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .phones__main { height: 420px; }
    .phones__side { height: 360px; }

    .steps {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 420px;
        margin-inline: auto;
    }

    .steps::before {
        top: 28px;
        bottom: 28px;
        inset-inline-start: 27px;
        inset-inline-end: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px);
    }

    .step {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 20px;
        text-align: start;
    }

    .step__num {
        grid-row: span 2;
    }

    .step h3 {
        margin-top: 12px;
    }

    .step p {
        margin: 4px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .container {
        padding-inline: 16px;
    }

    .hero {
        padding-block: calc(var(--header-h) + 36px) 72px;
    }

    .hero__lead {
        font-size: 1.0625rem;
    }

    .store-badges {
        --badge-h: 44px;
    }

    .devices {
        grid-template-columns: 1fr;
    }

    .device,
    .device--soon {
        grid-column: auto;
    }

    .device__link {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        column-gap: 14px;
        align-items: center;
        padding: 16px 18px;
    }

    .device__icon {
        grid-row: span 2;
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 22px;
    }

    .device__status {
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .phones__main { height: 340px; }
    .phones__side { height: 290px; }
    .phones__side:first-child { margin-inline-end: -48px; }
    .phones__side:last-child { margin-inline-start: -48px; }

    .article__foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .demo[data-state] .demo__ring {
        animation: none;
    }
}
