:root {
    color-scheme: light dark;

    --bg: #f2f6f7;
    --surface: #ffffff;
    --text: #10242a;
    --muted: #566e75;
    --border: #d8e3e6;
    --accent: #007d8c;
    --accent-hover: #00697a;
    --accent-text: #ffffff;
    --header-bg: #00808f;
    --header-text: #ffffff;
    --header-line: rgba(255, 255, 255, 0.38);
    --header-fill: rgba(255, 255, 255, 0.18);
    --footer-bg: #10242a;
    --footer-text: #d5e3e6;
    --focus: #00343c;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16, 36, 42, 0.06), 0 10px 24px rgba(16, 36, 42, 0.07);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c1417;
        --surface: #131f23;
        --text: #e7f1f3;
        --muted: #a1b6bb;
        --border: #24363c;
        --accent: #2bbfd2;
        --accent-hover: #4fd2e2;
        --accent-text: #04181c;
        --header-bg: #0b2b31;
        --header-text: #eaf6f8;
        --header-line: rgba(234, 246, 248, 0.28);
        --header-fill: rgba(234, 246, 248, 0.12);
        --footer-bg: #081114;
        --footer-text: #bacfd3;
        --focus: #7fe0ee;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    background-color: var(--bg);
    color: var(--text);
}

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

.site-header {
    background-color: var(--header-bg);
    color: var(--header-text);
}

.site-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 1.375rem;
    font-weight: 600;
}

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

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-switch a {
    padding: 5px 11px;
    border: 1px solid var(--header-line);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.lang-switch a[aria-current="page"] {
    background-color: var(--header-fill);
}

main {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 44px 20px 56px;
}

.hero {
    max-width: 60ch;
    margin-bottom: 8px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.15;
}

.hero p {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--muted);
}

.platform-group {
    margin-top: 36px;
}

.platform-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.group-icon {
    display: inline-flex;
    color: var(--accent);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-icon {
    display: inline-flex;
    color: var(--accent);
}

/* Knocked-out details inside a platform mark — eyes, belly, robot eyes. */
.card-icon .icon-cut {
    fill: var(--surface);
}

.card h3 {
    margin: 0;
    font-size: 1.0625rem;
}

.card p {
    margin: 0;
    flex: 1;
    font-size: 0.9375rem;
    color: var(--muted);
}

.btn {
    align-self: flex-start;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: var(--accent);
    color: var(--accent-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.card-check {
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--muted);
}

.section-note {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.site-footer {
    margin-top: auto;
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.site-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: inherit;
}

@media (max-width: 480px) {
    .site-header-inner,
    .site-footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    main {
        padding: 32px 16px 44px;
    }

    .btn {
        align-self: stretch;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}
