:root {
    color-scheme: light dark;
    --accent: #2f6fed;
    --muted: #6b7280;
    --border: rgba(127, 127, 127, 0.25);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: 17px;
}

header {
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

header .brand {
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    color: inherit;
}

header .brand .esti { color: #2f6fed; }
header .brand .craft { color: #f2b705; }

nav { margin-top: 6px; font-size: 15px; }
nav a { margin-right: 16px; color: var(--accent); text-decoration: none; }
nav a:hover { text-decoration: underline; }

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}

h1 { font-size: 30px; line-height: 1.25; margin-bottom: 4px; }
h2 { font-size: 21px; margin-top: 32px; }
h3 { font-size: 18px; margin-top: 24px; }

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

.lang-switch {
    display: inline-block;
    margin: 8px 0 24px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
}

.lang-switch a { color: var(--accent); text-decoration: none; }

/* Oficjalna plakietka Apple „Download on the App Store” */
.store { margin: 4px 0 8px; }
.store img { height: 48px; width: auto; display: block; }

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
}

hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

a { color: var(--accent); }

footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
