/* Shared styling for the Wobbo support pages.
   No build step and no framework — Netlify serves these files exactly as they are. */

:root {
    --bg: #fdfaf3;
    --card: #ffffff;
    --ink: #2a2333;
    --dim: #5f5870;
    --line: #e7e0d4;
    --accent: #e0632f;
    --accent-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #171320;
        --card: #201a2c;
        --ink: #f2eef7;
        --dim: #a79fb8;
        --line: #322a42;
        --accent: #ff8a4c;
        --accent-ink: #221a12;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0 20px 72px;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; }

header.site {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 30px 0 26px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 34px;
}

/* The real app icon, so the site and the store listing agree on what Wobbo looks like. */
.logo {
    width: 46px; height: 46px; border-radius: 12px; flex: none;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

header.site h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
header.site a { color: inherit; text-decoration: none; }

h2 { font-size: 27px; margin: 0 0 6px; letter-spacing: -.015em; line-height: 1.25; }
h3 { font-size: 18px; margin: 34px 0 8px; }
p, li { color: var(--dim); }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 7px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); }

.updated { font-size: 14px; color: var(--dim); margin-bottom: 30px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    margin: 0 0 18px;
}

.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 26px; }

.tile {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .12s ease, border-color .12s ease;
}

.tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.tile b { display: block; font-size: 17px; margin-bottom: 4px; }
.tile span { font-size: 14px; color: var(--dim); }

/* Tables scroll inside their own box so the page body never scrolls sideways. */
.scroll { overflow-x: auto; margin: 0 0 18px; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; white-space: nowrap; }
td { color: var(--dim); }

footer {
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--dim);
}

footer a { margin-right: 16px; }
