/* BZ Systems — shared site styles */

:root {
    --brand: #4a90e2;
    --brand-dark: #2f6fbb;
    --ink: #1c2530;
    --ink-soft: #4a5867;
    --line: #dfe5ec;
    --bg: #ffffff;
    --bg-alt: #f5f8fc;
    --radius: 10px;
    --measure: 1080px;
}

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

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

.container {
    width: 100%;
    max-width: var(--measure);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    line-height: 1.25;
    color: var(--ink);
}

h1 {
    font-size: 2.1rem;
    margin: 0;
}

h2 {
    font-size: 1.55rem;
    margin: 0 0 18px;
}

h3 {
    font-size: 1.1rem;
    margin: 28px 0 8px;
}

a {
    color: var(--brand-dark);
}

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

/* Header */

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex: none;
}

.brand .tagline {
    margin: 2px 0 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.site-nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--brand-dark);
}

/* Sections */

section {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

section:last-of-type {
    border-bottom: 0;
}

section.alt {
    background: var(--bg-alt);
}

.hero {
    text-align: center;
}

.hero p.lead {
    max-width: 660px;
    margin: 0 auto 26px;
    font-size: 1.12rem;
    color: var(--ink-soft);
}

.play-badge {
    display: inline-block;
    padding: 13px 26px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
}

.play-badge:hover {
    background: var(--brand-dark);
}

.hero .package {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

/* Feature grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.feature {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

/* Screenshots */

.shots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
}

.shot {
    margin: 0;
    text-align: center;
}

.shot img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.shot figcaption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* Prose pages (privacy / support) */

.prose {
    max-width: 760px;
}

.prose ul {
    padding-left: 22px;
}

.prose li {
    margin-bottom: 6px;
}

.updated {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.callout {
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
}

.callout p:first-child {
    margin-top: 0;
}

.callout p:last-child {
    margin-bottom: 0;
}

dl.contact {
    margin: 0;
}

dl.contact dt {
    font-weight: 600;
    margin-top: 14px;
}

dl.contact dd {
    margin: 2px 0 0;
    color: var(--ink-soft);
}

/* Footer */

.site-footer {
    background: var(--ink);
    color: #c6d0dc;
    padding: 30px 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: #fff;
}

.site-footer p {
    margin: 0 0 6px;
}

/* Redirect shim */

.redirect-note {
    max-width: 520px;
    margin: 18vh auto 0;
    padding: 0 20px;
    text-align: center;
    color: var(--ink-soft);
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.7rem;
    }

    section {
        padding: 36px 0;
    }

    .site-nav {
        margin-left: 0;
        width: 100%;
        gap: 16px;
    }
}
