:root {
    color-scheme: light;
    --background: #f4f8ff;
    --background-deep: #eaf2ff;
    --panel: rgba(255, 255, 255, 0.88);
    --panel-strong: #ffffff;
    --text: #101828;
    --muted: #5a6980;
    --border: rgba(37, 99, 235, 0.14);
    --accent: #2563eb;
    --accent-strong: #1749b5;
    --accent-contrast: #ffffff;
    --accent-soft: rgba(37, 99, 235, 0.09);
    --success: #087f5b;
    --shadow: 0 22px 70px rgba(30, 64, 175, 0.10);
    --shadow-small: 0 10px 28px rgba(30, 64, 175, 0.08);
    --radius-large: 30px;
    --radius-medium: 21px;
    --radius-small: 14px;
    --content-width: 1120px;
    --document-width: 880px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --background: #050914;
    --background-deep: #081121;
    --panel: rgba(10, 18, 34, 0.91);
    --panel-strong: #101b31;
    --text: #f3f7ff;
    --muted: #a8b5c9;
    --border: rgba(96, 165, 250, 0.19);
    --accent: #68a9ff;
    --accent-strong: #9ac7ff;
    --accent-contrast: #06101f;
    --accent-soft: rgba(59, 130, 246, 0.15);
    --success: #5ee6b5;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --shadow-small: 0 12px 32px rgba(0, 0, 0, 0.24);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --background: #050914;
        --background-deep: #081121;
        --panel: rgba(10, 18, 34, 0.91);
        --panel-strong: #101b31;
        --text: #f3f7ff;
        --muted: #a8b5c9;
        --border: rgba(96, 165, 250, 0.19);
        --accent: #68a9ff;
        --accent-strong: #9ac7ff;
        --accent-contrast: #06101f;
        --accent-soft: rgba(59, 130, 246, 0.15);
        --success: #5ee6b5;
        --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
        --shadow-small: 0 12px 32px rgba(0, 0, 0, 0.24);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, var(--accent-soft), transparent 38rem),
        linear-gradient(180deg, var(--background), var(--background-deep));
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: var(--accent);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 0.08em;
}

a:hover {
    text-decoration-thickness: 0.12em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--panel-strong);
    background: var(--text);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
main,
.site-footer {
    width: min(calc(100% - 32px), var(--content-width));
    margin-inline: auto;
}

.document-page main {
    width: min(calc(100% - 32px), var(--document-width));
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-block: 20px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 740;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-logo-pair {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
}

.brand-logo {
    position: absolute;
    inset: 0;
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-logo-dark {
    display: none;
}

:root[data-theme="dark"] .brand-logo-light {
    display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .brand-logo-light {
        display: none;
    }

    :root:not([data-theme]) .brand-logo-dark {
        display: block;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.site-nav a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: var(--accent-soft);
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.language-switch {
    display: inline-flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel);
}

.language-switch a {
    min-width: 43px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
    color: var(--text);
    background: var(--panel-strong);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.theme-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: var(--panel);
    cursor: pointer;
}

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

.theme-toggle-icon {
    width: 18px;
    color: var(--accent);
    font-size: 17px;
    line-height: 1;
    text-align: center;
}

.theme-toggle-label {
    font-size: 13px;
    font-weight: 680;
}

.hero {
    padding: clamp(40px, 8vw, 78px) clamp(24px, 6vw, 62px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(29px, 5vw, 45px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.lead {
    max-width: 680px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: clamp(19px, 3vw, 23px);
    line-height: 1.48;
    letter-spacing: -0.015em;
}

.updated {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.landing-page main {
    width: min(calc(100% - 32px), 880px);
}

.landing-page .hero {
    margin-top: clamp(18px, 6vh, 64px);
}

.language-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    color: var(--text);
    background: var(--panel-strong);
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.language-option:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-small);
    text-decoration: none;
    transform: translateY(-2px);
}

.language-option strong,
.language-option small {
    display: block;
}

.language-option strong {
    font-size: 18px;
    line-height: 1.3;
}

.language-option small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.language-option-arrow {
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
}

.marketing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(34px, 7vw, 78px);
    min-height: min(720px, calc(100vh - 110px));
    padding-block: clamp(50px, 8vw, 96px);
}

.marketing-hero h1 {
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    background: var(--panel);
    font-size: 15px;
    font-weight: 720;
    text-decoration: none;
    box-shadow: var(--shadow-small);
}

.button:hover {
    border-color: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
}

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

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

.button[aria-disabled="true"] {
    cursor: default;
}

.button[aria-disabled="true"]:hover {
    transform: none;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.trust-line li {
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--panel);
    font-size: 13px;
    font-weight: 650;
}

.device-frame {
    position: relative;
    width: min(100%, 330px);
    margin-inline: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 48px;
    background: #111827;
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(0, 0, 0, 0.5);
    transform: rotate(2.5deg);
}

.device-frame::before {
    position: absolute;
    z-index: 2;
    top: 19px;
    left: 50%;
    width: 92px;
    height: 24px;
    border-radius: 999px;
    background: #05070b;
    content: "";
    transform: translateX(-50%);
}

.device-screen {
    position: relative;
    display: grid;
    min-height: 620px;
    place-items: center;
    overflow: hidden;
    border-radius: 37px;
    background:
        radial-gradient(circle at 20% 0%, rgba(96, 165, 250, 0.30), transparent 45%),
        linear-gradient(155deg, #091427, #050914);
}

.screenshot-placeholder {
    display: grid;
    width: calc(100% - 34px);
    min-height: 280px;
    place-items: center;
    padding: 28px;
    border: 1px dashed rgba(147, 197, 253, 0.48);
    border-radius: 24px;
    color: #f3f7ff;
    background: rgba(16, 27, 49, 0.72);
    text-align: center;
}

.screenshot-placeholder span,
.screenshot-placeholder small,
.screenshot-placeholder strong {
    display: block;
}

.screenshot-placeholder span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.screenshot-placeholder strong {
    margin-top: 10px;
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.screenshot-placeholder small {
    margin-top: 9px;
    color: #a8b5c9;
    font-size: 14px;
}

.section {
    padding-block: clamp(64px, 10vw, 112px);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading p {
    max-width: 660px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.feature-grid,
.preview-grid,
.steps-grid {
    display: grid;
    gap: 16px;
}

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

.feature-card,
.step-card,
.preview-card,
.support-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--panel);
    box-shadow: var(--shadow-small);
}

.feature-card {
    padding: 25px;
}

.feature-number {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 14px;
    font-weight: 800;
}

.feature-card p,
.step-card p,
.support-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.privacy-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 7vw, 80px);
    align-items: center;
    padding: clamp(30px, 6vw, 62px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background:
        radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 32rem),
        var(--panel);
    box-shadow: var(--shadow);
}

.privacy-points {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.privacy-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--panel-strong);
}

.privacy-points li::before {
    color: var(--success);
    content: "✓";
    font-weight: 850;
}

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

.preview-card {
    margin: 0;
    padding: 14px;
}

.preview-card .screenshot-placeholder {
    width: 100%;
    min-height: 390px;
}

.preview-card figcaption {
    padding: 15px 8px 5px;
    color: var(--muted);
    font-size: 14px;
}

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

.step-card {
    padding: 23px;
}

.step-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.community-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding: clamp(30px, 6vw, 56px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.community-panel p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--muted);
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-block: 20px 38px;
}

.summary-item {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--panel);
}

.summary-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.3;
}

.summary-item span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.document {
    padding: clamp(25px, 5vw, 50px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.document section + section {
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--border);
}

.document h2 {
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.2;
}

.document h3 {
    margin-top: 27px;
    font-size: 18px;
}

p,
ul {
    margin-block: 12px;
}

ul {
    padding-left: 1.2em;
}

li + li {
    margin-top: 7px;
}

.contact-card,
.notice {
    margin-top: 18px;
    padding: 19px 21px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--accent-soft);
}

address {
    font-style: normal;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 18px;
    margin-top: 22px;
}

.support-card {
    padding: clamp(23px, 4vw, 34px);
}

.support-card address {
    margin-top: 18px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: var(--panel-strong);
}

.faq-list summary {
    padding: 17px 19px;
    cursor: pointer;
    font-weight: 700;
}

.faq-list details p,
.faq-list details ul {
    margin: 0;
    padding: 0 19px 19px;
    color: var(--muted);
}

.faq-list details ul {
    padding-left: 39px;
}

.site-footer {
    padding-block: 38px 48px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

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

@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .marketing-hero,
    .privacy-feature,
    .support-layout {
        grid-template-columns: 1fr;
    }

    .marketing-hero {
        min-height: auto;
    }

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

    .preview-grid {
        max-width: 560px;
        margin-inline: auto;
    }

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

@media (max-width: 620px) {
    .site-header {
        padding-block: 15px;
    }

    .brand-logo-pair,
    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .theme-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    .theme-toggle {
        width: 42px;
        justify-content: center;
        padding-inline: 0;
    }

    .language-options,
    .summary,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        border-radius: 24px;
    }

    .document {
        padding: 25px 21px;
        border-radius: 24px;
    }

    .marketing-hero {
        padding-top: 40px;
    }

    .device-frame {
        width: min(92%, 310px);
    }

    .device-screen {
        min-height: 560px;
    }

    .community-panel {
        grid-template-columns: 1fr;
    }

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

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    :root,
    :root[data-theme="dark"] {
        color-scheme: light;
        --background: #ffffff;
        --background-deep: #ffffff;
        --panel: #ffffff;
        --panel-strong: #ffffff;
        --text: #000000;
        --muted: #444444;
        --border: #cccccc;
        --accent: #000000;
        --accent-strong: #000000;
        --accent-contrast: #ffffff;
        --accent-soft: #f3f3f3;
        --shadow: none;
        --shadow-small: none;
    }

    body {
        font-size: 11pt;
        background: #ffffff;
    }

    .site-header {
        padding-top: 0;
    }

    .site-nav,
    .header-actions,
    .language-options,
    .summary,
    .hero-actions {
        display: none;
    }

    .hero,
    .document,
    .support-card {
        border: 0;
        box-shadow: none;
    }

    .hero {
        padding: 24px 0;
    }

    .document {
        padding: 0;
    }
}
