/* Shared styles for the document pages (contact, privacy, terms).
   Palette follows the Tyrant app's "Dark Fortress" theme. */
:root {
    --bg-app: #0a0c10;
    --bg-screen: #12141a;
    --bg-card: #1a1c22;
    --border-dark: #2a2c32;
    --border: #3a3c45;
    --gold-dark: #9a7030;
    --gold: #c9a050;
    --gold-light: #dab060;
    --text: #e8e4dc;
    --text-2: #a8a498;
    --text-3: #686860;
    --display: 'Cinzel', Georgia, 'Times New Roman', serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
    font-family: var(--body);
    line-height: 1.7;
    max-width: 840px;
    margin: 0 auto;
    padding: 0 24px 40px;
    color: var(--text-2);
    background:
        radial-gradient(ellipse 80% 300px at 50% 0, rgba(217,119,43,0.12), transparent 70%),
        var(--bg-app);
    background-repeat: no-repeat;
    background-color: var(--bg-app);
    -webkit-font-smoothing: antialiased;
}
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 76px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-dark);
}
.topbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.2em;
}
.topbar .brand b { color: var(--gold); }
.topbar .brand .crest { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.topbar nav a:hover { color: var(--gold-light); }
h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--gold), transparent 70%) 1;
}
h2 {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 40px 0 10px;
}
p { margin: 0 0 14px; }
strong { color: var(--text); }
a { color: var(--gold-light); }
a:hover { color: #eac070; }
ul { padding-left: 20px; }
li { margin-bottom: 9px; }
li::marker { color: var(--gold-dark); }
.effective-date {
    color: var(--text-3);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 10px 0 24px;
}
.contact, .links {
    position: relative;
    background: linear-gradient(180deg, var(--bg-card), #16181d);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.contact { padding: 6px 24px 14px; margin-top: 36px; }
.contact::before {
    content: "";
    position: absolute;
    top: -1px; left: 24px; right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.7;
}
.contact h2 { margin-top: 24px; }
.contact a { text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; }
.links {
    margin: 20px 0 24px;
    padding: 12px 18px;
    font-size: 0.92rem;
}
.links a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    margin-right: 16px;
}
.links a:hover { text-decoration: underline; }
.site-footer {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
    color: var(--text-3);
    font-size: 0.85rem;
}
.site-footer a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold-light); }
@media (max-width: 600px) {
    body { padding: 0 16px 32px; }
    .topbar nav { gap: 14px; }
    .topbar nav a { font-size: 0.68rem; letter-spacing: 0.1em; }
    .topbar .brand span { display: none; }
}
