:root {
    color-scheme: light;
    --bg: #f7faf9;
    --surface: #ffffff;
    --ink: #14211f;
    --muted: #5d6b67;
    --line: #dce7e4;
    --green: #18b96f;
    --blue: #0d9ce8;
    --red: #ff5a5f;
    --yellow: #f7bf26;
    --shadow: 0 24px 70px rgba(20, 33, 31, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(24, 185, 111, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(13, 156, 232, 0.16), transparent 32rem),
        var(--bg);
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(13, 156, 232, 0.2);
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

nav a {
    padding: 8px 12px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
}

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

.lang-toggle {
    min-height: 38px;
    padding: 7px 12px;
    color: var(--ink);
    font: inherit;
    font-weight: 750;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(20, 33, 31, 0.06);
}

.lang-toggle:hover {
    border-color: rgba(13, 156, 232, 0.42);
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px 72px;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 56px;
    padding: 38px 0 72px;
}

.hero-copy {
    max-width: 660px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 5.8vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 9px;
    font-size: 1.05rem;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.18rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-weight: 750;
    text-decoration: none;
    border-radius: 12px;
}

.button.primary {
    color: #fff;
    background: var(--ink);
}

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.hero-device {
    position: relative;
    min-height: 460px;
}

.app-icon-large {
    position: absolute;
    top: 0;
    right: 34px;
    z-index: 2;
    width: min(54vw, 280px);
    max-width: 280px;
    border-radius: 54px;
    box-shadow: var(--shadow);
}

.device-screen {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 520px);
    min-height: 320px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.player-bar {
    display: flex;
    gap: 9px;
    margin-bottom: 26px;
}

.player-bar span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
}

.player-bar span:nth-child(2) {
    background: var(--yellow);
}

.player-bar span:nth-child(3) {
    background: var(--green);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.video-grid div {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(20, 33, 31, 0.12), rgba(20, 33, 31, 0.02)),
        linear-gradient(135deg, var(--green), var(--blue));
}

.video-grid div:nth-child(2) {
    background:
        linear-gradient(135deg, rgba(20, 33, 31, 0.16), rgba(20, 33, 31, 0.02)),
        linear-gradient(135deg, var(--blue), var(--red));
}

.timeline {
    height: 12px;
    margin-top: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
}

.section,
.page-hero,
.content {
    padding: 70px 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.feature-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.info-grid > div,
.contact-box {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(20, 33, 31, 0.06);
}

.feature-card p,
.info-grid p,
.content p,
.content li,
.check-list li {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 40px;
    align-items: start;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.page {
    max-width: 980px;
}

.page-hero {
    padding-top: 54px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.support-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: end;
}

.support-hero .eyebrow,
.support-hero h1,
.support-hero .lead {
    grid-column: 1;
}

.contact-box {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.contact-box span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-box a {
    overflow-wrap: anywhere;
    color: var(--blue);
    font-weight: 800;
}

.content {
    display: grid;
    gap: 24px;
}

.content article {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.content article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.content h2 {
    font-size: 1.65rem;
}

.content ul {
    padding-left: 1.2rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.site-footer a,
.content a {
    color: var(--blue);
    font-weight: 700;
}

@media (max-width: 820px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        justify-content: flex-start;
    }

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

    .hero,
    .split,
    .support-hero {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        gap: 20px;
    }

    .hero-device {
        min-height: 440px;
    }

    .feature-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-box,
    .support-hero .eyebrow,
    .support-hero h1,
    .support-hero .lead {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 520px) {
    .site-header,
    main,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    h1 {
        font-size: 2.6rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-device {
        min-height: 360px;
    }

    .app-icon-large {
        right: 18px;
        width: 190px;
        border-radius: 40px;
    }

    .device-screen {
        min-height: 250px;
        padding: 20px;
        border-radius: 24px;
    }

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