/* ATLAS — hub-specific styles layered over https://tough.services/shared/tough.css */
.hero { padding: 36px 0 8px; }
.hero h1 {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.hero p {
    margin: 12px 0 0;
    max-width: 560px;
    color: var(--ink-2);
    font-size: 1.02rem;
}

.section-head { margin-bottom: 2px; }
.section-head h2 { font-size: 1.15rem; }
.section-head .sub { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.project-grid > * { min-width: 0; }
.project-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.project-card:hover {
    transform: translateY(-2px);
    border-color: var(--baseline);
    box-shadow: 0 4px 8px rgba(11, 11, 11, 0.08), 0 8px 24px rgba(11, 11, 11, 0.08);
}
.project-head { display: flex; align-items: center; gap: 12px; }
.project-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.project-icon svg { width: 22px; height: 22px; }
.project-title { font-size: 1.02rem; font-weight: 600; }
.project-host { font-size: 0.78rem; color: var(--muted); }
.project-desc { color: var(--ink-2); font-size: 0.9rem; margin: 0; }
.project-live {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--grid);
    font-size: 0.82rem;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 1.4em;
}
.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--status-good);
    flex-shrink: 0;
}
.live-dot.idle { background: var(--muted); }
.badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--page);
    border: 1px solid var(--border);
    color: var(--ink-2);
    margin-left: auto;
    white-space: nowrap;
}

.toolbox {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 20px 22px;
}
.toolbox h2 { font-size: 1.02rem; margin-bottom: 4px; }
.tb-intro { margin: 0 0 16px !important; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool-grid > * { min-width: 0; }
.tool h3 { font-size: 0.95rem; margin: 0 0 4px; }
.tool p { margin: 0 0 10px; color: var(--ink-2); font-size: 0.85rem; line-height: 1.5; }
.tb-cat { font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 20px 0 10px !important; }
.tb-cat:first-of-type { margin-top: 6px !important; }
.tool h3 { display: flex; align-items: center; gap: 8px; }
.tool-tag { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 6px; border-radius: 99px; }
.tag-root { background: color-mix(in srgb, var(--status-serious) 18%, transparent); color: var(--status-serious); }
.tag-live { background: color-mix(in srgb, var(--status-good) 16%, transparent); color: var(--status-good); }
@media (max-width: 640px) { .tool-grid { grid-template-columns: 1fr; } }
.toolbox p { margin: 0 0 12px; color: var(--ink-2); font-size: 0.9rem; }
.cmd {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--page);
    border: 1px solid var(--grid);
    border-radius: 10px;
    padding: 10px 14px;
    overflow-x: auto;
}
.cmd code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.82rem;
    color: var(--ink-2);
    white-space: nowrap;
}
.copy-btn {
    margin-left: auto;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-2);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 4px 12px;
    cursor: pointer;
    flex-shrink: 0;
}
.copy-btn:hover { color: var(--ink); border-color: var(--baseline); }

@media (max-width: 760px) {
    .page { padding: 16px; gap: 28px; }
    .project-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 20px; }
    .hero h1 { font-size: 1.7rem; }
}
