* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--wx-color-bg);
    color: var(--wx-color-text);
    line-height: 1.5;
}

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

nav.site-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 18px 0;
    margin-bottom: 8px;
}

nav.site-nav a {
    color: var(--wx-color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a.active {
    color: var(--wx-color-accent);
    border-bottom-color: var(--wx-color-accent);
}

.hero-image {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 12px auto 20px;
    border-radius: var(--wx-radius-hero);
    box-shadow: var(--wx-shadow-lg);
}

h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--wx-color-text-muted);
    margin-top: 4px;
    margin-bottom: 24px;
}

/* Spells out the acronym inline via each word's own first letter, rather
   than a separate explanation - the full breakdown lives on About. */
.acronym-line {
    text-align: center;
    color: var(--wx-color-text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.acronym-letter {
    font-size: 1.3em;
    font-weight: 800;
    color: var(--wx-color-accent);
}

.spiel {
    max-width: 560px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--wx-color-text-muted);
}

.spiel p {
    margin-bottom: 12px;
}

.acronym-table-wrap {
    max-width: 560px;
    margin: 0 auto 32px;
    border: 1px solid var(--wx-color-border);
    border-radius: var(--wx-radius-card);
    box-shadow: var(--wx-shadow-sm);
    /* Rounded corners on a <table> need overflow:hidden on a wrapper (border-radius
       alone won't clip cell borders) - overflow-x stays scrollable as a safety net
       on very narrow screens rather than ever squeezing the table illegibly. */
    overflow: auto hidden;
}

.acronym-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--wx-color-card-bg);
}

.acronym-table th {
    background: var(--wx-color-accent-soft);
    color: var(--wx-color-accent);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.acronym-table td {
    padding: 12px 14px;
    border-top: 1px solid var(--wx-color-border);
    font-size: 0.9rem;
    color: var(--wx-color-text);
    vertical-align: top;
}

.acronym-table td.letter {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--wx-color-accent);
    text-align: center;
    width: 36px;
}

.acronym-table td.word {
    font-weight: 700;
    white-space: nowrap;
}

h2.section-heading {
    font-size: 1.3rem;
    margin: 40px 0 16px;
    text-align: center;
}

.subtext {
    text-align: center;
    color: var(--wx-color-text-muted);
    font-size: 0.9rem;
    margin-top: -8px;
    margin-bottom: 16px;
}

/* Heading sits inside a .spiel block that already carries its own top
   margin from the element before it - the default 40px on top of that
   is too much whitespace stacked on whitespace. */
h2.wombat-why-heading {
    margin-top: 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.card {
    background: var(--wx-color-card-bg);
    border: 1px solid var(--wx-color-border);
    border-radius: var(--wx-radius-card);
    padding: 20px;
    box-shadow: var(--wx-shadow-sm);
}

a.card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--wx-shadow-md);
}

.card h2, .card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card p {
    color: var(--wx-color-text-muted);
    font-size: 0.95rem;
}

.status-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: var(--wx-radius-pill);
    background: var(--wx-color-status-live-bg);
    color: var(--wx-color-status-live-text);
}

.status-badge.progress {
    background: var(--wx-color-status-progress-bg);
    color: var(--wx-color-status-progress-text);
}

.status-badge.platform {
    background: var(--wx-color-status-platform-bg);
    color: var(--wx-color-status-platform-text);
}

.card.disabled {
    opacity: 0.85;
    cursor: default;
}

.card.disabled:hover {
    transform: none;
    box-shadow: var(--wx-shadow-sm);
}

.teaser {
    text-align: center;
    margin: 20px 0 40px;
    color: var(--wx-color-text-muted);
}

.teaser a {
    color: var(--wx-color-accent);
    font-weight: 600;
    text-decoration: none;
}

.contact-links {
    text-align: center;
    margin-top: 28px;
}

.contact-links a {
    display: inline-block;
    color: var(--wx-color-accent);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--wx-color-text-faint);
    margin-top: 36px;
}

@media (max-width: 480px) {
    nav.site-nav { gap: 18px; font-size: 0.9rem; }
    .app-grid { grid-template-columns: 1fr; }
    .acronym-table th, .acronym-table td { padding: 8px 10px; font-size: 0.82rem; }
}
