/* Taptivate. — design system
 *
 * Colour values live in tokens.css (--tt-*). Everything here is an alias, so
 * a theme flip repaints this file without touching it. The raw palette below
 * is the brand black/cream that some surfaces reference literally (3D card
 * faces, exported pages) and that must NOT flip with the theme.
 */
:root {
    --ink: #0A0A0A;
    --off: #F8F6F1;
    --white: #FFFFFF;
    --dark-surface: #141414;

    --muted: var(--tt-text-muted);
    --hair-light: var(--tt-border);
    --hair-dark: var(--tt-border);
    --gold: var(--tt-accent);
    --gold-ink: var(--tt-accent-ink);

    --bg: var(--tt-bg);
    --text: var(--tt-text);
    --surface: var(--tt-surface);
    --hairline: var(--tt-border);
    --btn-bg: var(--tt-inverse-bg);
    --btn-text: var(--tt-inverse-text);
    --shadow: var(--tt-shadow-2);

    --font-display: var(--tt-font-serif);
    --font-body: var(--tt-font-sans);

    /* Status chips. Backgrounds are translucent tints and dots are theme
       colours, so the same three chips read correctly on #F8F6F1 and #0B0B0B
       without a second declaration block. */
    --status-pending-bg: var(--tt-warning-soft);
    --status-pending-dot: var(--tt-warning);
    --status-exported-bg: var(--tt-success-soft);
    --status-exported-dot: var(--tt-success);
    --status-deployed-bg: var(--tt-neutral-soft);
    --status-deployed-dot: var(--tt-text-muted);
    --status-text: var(--tt-text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

.tp-dev-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--tt-space-2);
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--tt-type-body);
    line-height: var(--tt-leading-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
input { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 2px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.micro {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
}
.muted { color: var(--muted); }
.center { text-align: center; }

.gold-line {
    display: block;
    width: 110px;
    height: 1.5px;
    margin: 18px auto;
    background: linear-gradient(90deg, rgba(184, 155, 94, 0), var(--gold) 45%, var(--gold) 55%, rgba(184, 155, 94, 0));
    transform: scaleX(0);
}
.gold-line.short { width: 56px; margin: 14px 0; transform: scaleX(1); }

