/* css/site.css — site chrome only; ship builder styles are in shipgen.css */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: #f5f5f5;
    color: #111111;
}

/* ── Header ── */
.tt-header {
    background-color: #1a1a2e;
    padding: 0.6em 1em;
}

.tt-header-link {
    display: flex;
    align-items: center;
    gap: 0.8em;
    text-decoration: none;
}

.tt-logo-mark {
    height: 48px;
    width: auto;
}

.tt-header-text {
    display: flex;
    flex-direction: column;
}

.tt-site-title {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
}

.tt-tagline {
    color: #aaaaaa;
    font-size: 0.85em;
}

/* ── Nav ── */
.tt-nav {
    background-color: #be2218;
    padding: 0.3em 1em;
    display: flex;
    gap: 1.5em;
}

.tt-nav a {
    color: #ffcccc;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    padding-bottom: 0.2em;
    border-bottom: 2px solid transparent;
}

.tt-nav a.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.tt-nav a:hover {
    color: #ffffff;
}

/* ── Main content ── */
.tt-main {
    max-width: 1100px;
    margin: 1.5em auto;
    padding: 0 1em;
}

/* ── Footer ── */
.tt-footer {
    background-color: #222222;
    color: #888888;
    text-align: center;
    padding: 0.6em 1em;
    font-size: 0.85em;
    margin-top: 2em;
}

.tt-footer p {
    margin: 0;
}

/* ── Hub page ── */
.tt-hub-intro {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 1em 1.2em;
    margin-bottom: 1em;
    border-radius: 3px;
    line-height: 1.6;
}

.tt-hub-intro p {
    margin: 0.4em 0;
}

.tt-tool-card {
    display: block;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-left: 4px solid #be2218;
    padding: 0.8em 1.2em;
    border-radius: 3px;
    text-decoration: none;
    color: #111111;
    margin-bottom: 0.8em;
}

.tt-tool-card:hover {
    background: #f0f0f0;
    border-left-color: #8a1810;
}

.tt-tool-card h2 {
    color: #be2218;
    margin: 0 0 0.3em 0;
    font-size: 1.1em;
}

.tt-tool-card p {
    margin: 0;
    color: #555555;
    font-size: 0.9em;
}

@media print {
    .tt-header,
    .tt-nav,
    .tt-footer {
        display: none !important;
    }

    .tt-main {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }
}
