/*
 * Shared public theme for OSINT OR NOT.
 * Admin-only components live in private/studio.css and are never linked from
 * a public page.
 */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/space-grotesk.woff2') format('woff2');
}

body {
    background-color: #0B0F17;
    color: #9CA3AF;
    font-family: 'JetBrains Mono', monospace;
}

/* Mobile GPUs pay a high cost for fixed overlays and backdrop filters. */
@media (max-width: 720px) {
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: #151A23;
    }

    .page-scanlines {
        display: none;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(31, 41, 55, 0.3) 25%, rgba(31, 41, 55, 0.3) 26%, transparent 27%, transparent 74%, rgba(31, 41, 55, 0.3) 75%, rgba(31, 41, 55, 0.3) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(31, 41, 55, 0.3) 25%, rgba(31, 41, 55, 0.3) 26%, transparent 27%, transparent 74%, rgba(31, 41, 55, 0.3) 75%, rgba(31, 41, 55, 0.3) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    z-index: -1;
}

body ::selection {
    background-color: #38BDF8;
    color: #FFFFFF;
}

.tactical-panel {
    background-color: #151A23;
    border: 1px solid #1F2937;
    border-radius: 0.25rem;
    position: relative;
}

.tactical-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, #1F2937, transparent);
    opacity: 0.5;
}

.tactical-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border-radius: 0.125rem;
    border-width: 1px;
    display: inline-flex;
    align-items: center;
}

.badge-confirmed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.3);
}

.badge-suspicious {
    background-color: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border-color: rgba(245, 158, 11, 0.3);
}

.badge-unmasked {
    background-color: rgba(52, 211, 153, 0.1);
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.3);
}

.badge-debunked {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn {
    padding: 0.5rem 1rem;
    background-color: #1F2937;
    color: white;
    transition: all 0.2s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.btn:hover {
    background-color: #38BDF8;
    color: #0B0F17;
    border-color: #38BDF8;
}

.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #38BDF8;
}

.input-field {
    width: 100%;
    background-color: #0B0F17;
    border: 1px solid #1F2937;
    color: white;
    padding: 0.5rem 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #38BDF8;
    box-shadow: 0 0 0 1px #38BDF8;
}

.markdown-body {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.7;
}

.markdown-body h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
    padding-bottom: 0.5rem;
}

.markdown-body h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1F2937;
}

.markdown-body h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.markdown-body h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.markdown-body p {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.markdown-body a {
    color: #38BDF8;
    text-decoration: none;
    border-bottom: 1px dashed #38BDF8;
    transition: color 0.2s;
}

.markdown-body a:hover {
    color: white;
    border-color: white;
}

.markdown-body strong {
    font-weight: bold;
    color: white;
}

.markdown-body em {
    font-style: italic;
}

.markdown-body ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
}

.markdown-body ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-body li {
    margin-bottom: 0.25rem;
}

.markdown-body p code,
.markdown-body li code {
    background-color: #0B0F17;
    border: 1px solid #1F2937;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    color: #F59E0B;
    font-size: 0.875rem;
    font-family: monospace;
}

.markdown-body pre {
    padding: 1rem;
    background-color: #0B0F17;
    border: 1px solid #1F2937;
    border-radius: 0.25rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    position: relative;
}

.markdown-body pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    color: white;
}

.markdown-body blockquote {
    border-left: 4px solid #1F2937;
    padding-left: 1rem;
    font-style: italic;
    color: #9CA3AF;
    margin: 1rem 0;
}

.markdown-body hr {
    border: 0;
    border-top: 1px solid #1F2937;
    margin: 2rem 0;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid #1F2937;
    padding: 0.75rem;
    text-align: left;
}

.markdown-body th {
    background-color: #0B0F17;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.markdown-body img {
    max-width: 100%;
    height: auto;
    border: 1px solid #1F2937;
    border-radius: 0.25rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    display: block;
}

/* ============================================================
   Intel Feed — public intelligence index
   ============================================================ */
.intel-feed {
    --intel-cyan: #38BDF8;
    --intel-green: #10B981;
    --intel-amber: #F59E0B;
    --intel-red: #EF4444;
    --intel-ink: #F8FAFC;
}

.intel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
    gap: 24px;
    margin-bottom: 24px;
}

.intel-hero-main {
    padding: 34px 34px 28px;
    border: 1px solid #1F2937;
    background:
        radial-gradient(circle at 8% 12%, rgba(56, 189, 248, 0.12), transparent 34%),
        linear-gradient(135deg, #151A23 0%, #10151D 100%);
    position: relative;
    overflow: hidden;
}

.intel-hero-main::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    transform: rotate(45deg);
    pointer-events: none;
}

.intel-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7DD3FC;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.intel-live-dot,
.intel-status i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--intel-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 0 14px rgba(16, 185, 129, 0.8);
    display: inline-block;
    animation: intel-pulse 2s ease-in-out infinite;
}

.intel-eyebrow-slash { color: #475569; }

@keyframes intel-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.intel-title {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--intel-ink);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}

.intel-title span {
    color: var(--intel-cyan);
    text-shadow: 0 0 34px rgba(56, 189, 248, 0.24);
}

.intel-lede {
    max-width: 660px;
    color: #A7B3C2;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 26px;
}

.intel-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #243143;
    padding-top: 18px;
    gap: 12px;
}

.intel-stat {
    border-left: 1px solid #243143;
    padding-left: 14px;
    min-width: 0;
}

.intel-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.intel-stat strong {
    display: block;
    color: #F8FAFC;
    font-size: 19px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.intel-stat span {
    display: block;
    margin-top: 5px;
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.intel-console {
    border: 1px solid #1F2937;
    background: #10151D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.intel-console::before,
.intel-console::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--intel-cyan);
    opacity: 0.6;
}

.intel-console::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.intel-console::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.intel-console-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding-bottom: 14px;
    border-bottom: 1px solid #1F2937;
}

.intel-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--intel-green);
    letter-spacing: 0.1em;
}

.intel-status i { width: 5px; height: 5px; }

.intel-console-body {
    padding: 16px 0;
    display: grid;
    gap: 12px;
}

.intel-console-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748B;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.intel-console-row strong {
    color: #CBD5E1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: right;
}

.intel-search {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #243143;
    background: #0B0F17;
    padding: 10px 11px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.intel-search:focus-within {
    border-color: var(--intel-cyan);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.intel-search-prompt {
    color: var(--intel-cyan);
    font-size: 12px;
    font-weight: 700;
}

.intel-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #F8FAFC;
    font-family: inherit;
    font-size: 11.5px;
}

.intel-search input::placeholder { color: #64748B; }

.intel-search kbd {
    border: 1px solid #334155;
    color: #94A3B8;
    font-family: inherit;
    font-size: 9px;
    line-height: 1;
    padding: 3px 5px;
}

.intel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid #1F2937;
    border-bottom: 1px solid #1F2937;
    padding: 12px 0;
    margin-bottom: 22px;
}

.intel-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.intel-filter-label {
    color: #64748B;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-right: 4px;
}

.intel-filter {
    border: 1px solid transparent;
    background: transparent;
    color: #94A3B8;
    font-family: inherit;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    padding: 7px 9px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.intel-filter span {
    color: #475569;
    margin-left: 3px;
    font-size: 8.5px;
}

.intel-filter:hover {
    color: #F8FAFC;
    border-color: #243143;
}

.intel-filter.is-active {
    color: #0B0F17;
    background: var(--intel-cyan);
    border-color: var(--intel-cyan);
}

.intel-filter.is-active span { color: rgba(11, 15, 23, 0.55); }

.intel-result-count {
    color: #64748B;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.intel-result-count span { color: var(--intel-cyan); }

.intel-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    border: 1px solid #2A3A4E;
    background: #111721;
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.intel-featured:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    transform: translateY(-2px);
}

.intel-featured-media,
.intel-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0B0F17;
}

.intel-featured-media {
    min-height: 360px;
    border-right: 1px solid #1F2937;
}

.intel-featured-media img,
.intel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s;
}

.intel-featured:hover .intel-featured-media img,
.intel-card--grid:hover .intel-card-media img {
    transform: scale(1.035);
}

.intel-media-scan {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(11, 15, 23, 0.72), transparent 50%),
        repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,0.022) 4px);
    pointer-events: none;
}

.intel-featured-label {
    position: absolute;
    top: 16px;
    left: 16px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(11, 15, 23, 0.82);
    color: var(--intel-cyan);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 6px 9px;
}

.intel-featured-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.intel-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.intel-date {
    color: #64748B;
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.intel-verdict {
    display: inline-flex;
    align-items: center;
    border: 1px solid;
    padding: 4px 7px;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.intel-verdict--unmasked {
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.08);
}

.intel-verdict--confirmed {
    color: #38BDF8;
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
}

.intel-verdict--suspicious {
    color: #F59E0B;
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
}

.intel-featured-title {
    font-size: clamp(24px, 2.8vw, 35px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.intel-featured-title a,
.intel-card-title a {
    color: #F8FAFC;
    text-decoration: none;
}

.intel-featured-title a:hover,
.intel-card-title a:hover { color: var(--intel-cyan); }

.intel-summary {
    color: #94A3B8;
    font-size: 12.5px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.intel-summary--featured {
    -webkit-line-clamp: 4;
    margin-bottom: 22px;
}

.intel-target-line {
    display: flex;
    align-items: baseline;
    gap: 9px;
    border-left: 2px solid rgba(56, 189, 248, 0.5);
    padding-left: 10px;
    color: #64748B;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.intel-target-line strong {
    color: #E2E8F0;
    font-size: 12px;
    letter-spacing: 0;
}

.intel-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #1F2937;
    padding-top: 13px;
    margin-top: auto;
}

.intel-featured-body .intel-card-footer { margin-top: 24px; }

.intel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.intel-tag {
    color: #7DD3FC;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.intel-read-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.intel-read-meta a {
    color: var(--intel-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
    padding-bottom: 2px;
}

.intel-read-meta a:hover { color: #fff; border-color: #fff; }

.intel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.intel-card--grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #1F2937;
    background: #111721;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.intel-card--grid:hover {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}

.intel-card-media {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid #1F2937;
}

.intel-card-body {
    padding: 19px 20px 17px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.intel-card-title {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 11px;
    text-transform: uppercase;
}

.intel-card-body .intel-target-line { margin-bottom: 12px; }
.intel-card-body .intel-summary { margin-bottom: 16px; }

.intel-no-media {
    height: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    color: #475569;
    font-size: 10px;
    letter-spacing: 0.14em;
    background:
        linear-gradient(135deg, transparent 49.5%, rgba(56,189,248,0.12) 50%, transparent 50.5%),
        #0B0F17;
}

.intel-empty {
    border: 1px dashed #334155;
    background: #10151D;
    padding: 50px 24px;
    text-align: center;
}

.intel-empty--compact { margin-top: 18px; }

.intel-empty-code {
    color: var(--intel-amber);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.intel-empty h2 {
    color: #E2E8F0;
    font-size: 20px;
    margin: 10px 0 7px;
}

.intel-empty p {
    color: #64748B;
    font-size: 12px;
}

.intel-reset {
    margin-top: 17px;
    border: 1px solid #334155;
    background: transparent;
    color: var(--intel-cyan);
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 9px 14px;
    cursor: pointer;
}

.intel-reset:hover {
    border-color: var(--intel-cyan);
    background: rgba(56, 189, 248, 0.08);
}

.intel-feed-end {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    color: #475569;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.intel-feed-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #1F2937, transparent);
}

.intel-card[hidden] { display: none !important; }

@media (max-width: 960px) {
    .intel-hero { grid-template-columns: 1fr; }
    .intel-featured { grid-template-columns: 1fr; }
    .intel-featured-media { min-height: 260px; border-right: 0; border-bottom: 1px solid #1F2937; }
    .intel-featured-body { padding: 24px; }
}

@media (max-width: 720px) {
    .intel-hero-main { padding: 24px 20px 22px; }
    .intel-console { padding: 16px; }
    .intel-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .intel-stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .intel-toolbar { align-items: flex-start; flex-direction: column; }
    .intel-grid { grid-template-columns: 1fr; }
    .intel-featured-body { padding: 20px; }
    .intel-card-footer { align-items: flex-start; flex-direction: column; }
    .intel-read-meta { width: 100%; justify-content: space-between; }
    .intel-title { font-size: 42px; }
}

/* ============================================================
   Home page — signal over noise
   ============================================================ */
.home-page {
    --home-cyan: #38BDF8;
    --home-green: #10B981;
    --home-ink: #F8FAFC;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 24px;
    margin-bottom: 46px;
}

.home-hero-main {
    border: 1px solid #1F2937;
    background:
        radial-gradient(circle at 78% 18%, rgba(56, 189, 248, 0.10), transparent 34%),
        linear-gradient(135deg, #151A23 0%, #0F141C 100%);
    padding: 46px 42px;
    position: relative;
    overflow: hidden;
}

.home-hero-main::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    right: -190px;
    bottom: -210px;
    border: 1px solid rgba(56, 189, 248, 0.14);
    transform: rotate(45deg);
}

.home-eyebrow,
.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7DD3FC;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-eyebrow { margin-bottom: 22px; }

.home-title {
    color: var(--home-ink);
    font-size: clamp(42px, 5.4vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.065em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.home-title span {
    color: var(--home-cyan);
    text-shadow: 0 0 40px rgba(56, 189, 248, 0.22);
}

.home-lede {
    max-width: 650px;
    color: #A6B4C4;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid transparent;
    padding: 12px 15px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.home-btn--primary {
    background: var(--home-cyan);
    color: #0B0F17;
    border-color: var(--home-cyan);
}

.home-btn--primary:hover {
    background: #fff;
    border-color: #fff;
    color: #0B0F17;
}

.home-btn--ghost {
    border-color: #334155;
    color: #CBD5E1;
    background: transparent;
}

.home-btn--ghost:hover {
    border-color: var(--home-cyan);
    color: #fff;
}

.home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid #243143;
    padding-top: 16px;
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.home-trust span::before {
    content: '//';
    color: #334155;
    margin-right: 7px;
}

.home-terminal {
    background: #10151D;
    border: 1px solid #1F2937;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-terminal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    border-bottom: 1px solid #1F2937;
    padding-bottom: 14px;
}

.home-terminal-body {
    display: grid;
    gap: 11px;
    padding: 18px 0;
    border-bottom: 1px solid #1F2937;
}

.home-terminal-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #64748B;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.home-terminal-row strong {
    color: #CBD5E1;
    text-align: right;
    font-size: 9px;
    letter-spacing: 0.03em;
}

.home-terminal-list {
    padding-top: 15px;
    display: grid;
    gap: 11px;
}

.home-terminal-item {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 10px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(31, 41, 55, 0.65);
    padding-bottom: 10px;
}

.home-terminal-item:hover { color: var(--home-cyan); }

.home-terminal-code { color: var(--home-cyan); }
.home-terminal-item small { color: #64748B; font-size: 8px; letter-spacing: 0.05em; }
.home-terminal-empty { color: #64748B; font-size: 9px; letter-spacing: 0.1em; }

.home-section {
    margin-bottom: 46px;
}

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.home-section-head h2 {
    color: #F8FAFC;
    font-size: clamp(23px, 2.6vw, 32px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-top: 6px;
    text-transform: uppercase;
}

.home-text-link {
    color: #7DD3FC;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.4);
}

.home-text-link:hover { color: #fff; border-color: #fff; }

.home-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-report-card {
    background: #111721;
    border: 1px solid #1F2937;
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: border-color 0.2s, transform 0.2s;
}

.home-report-card:hover {
    border-color: rgba(56, 189, 248, 0.55);
    transform: translateY(-2px);
}

.home-report-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: #64748B;
    font-size: 9px;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.home-report-card h3 {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.home-report-card h3 a { color: #F8FAFC; text-decoration: none; }
.home-report-card h3 a:hover { color: var(--home-cyan); }

.home-report-target {
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-bottom: 12px;
}

.home-report-target strong { color: #E2E8F0; font-size: 11px; letter-spacing: 0; }

.home-report-card p {
    color: #94A3B8;
    font-size: 11.5px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.home-report-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #1F2937;
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.home-report-foot a { color: var(--home-cyan); text-decoration: none; }
.home-report-foot a:hover { color: #fff; }

.home-section--process { border-top: 1px solid #1F2937; padding-top: 26px; }

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-process {
    border-left: 1px solid #243143;
    padding-left: 18px;
    min-height: 120px;
}

.home-process:first-child { border-left: 0; padding-left: 0; }

.home-process-num {
    color: var(--home-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.home-process h3 {
    color: #F8FAFC;
    font-size: 18px;
    text-transform: uppercase;
    margin: 10px 0 8px;
}

.home-process p {
    color: #7D8B9D;
    font-size: 11.5px;
    line-height: 1.65;
    max-width: 300px;
}

.home-prose {
    color: #7D8B9D;
    font-size: 12.5px;
    line-height: 1.8;
    max-width: 920px;
}

.home-prose p {
    margin-bottom: 12px;
}

.home-prose p:last-child {
    margin-bottom: 0;
}

.home-coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.home-coverage-card {
    background: #111721;
    border: 1px solid #1F2937;
    padding: 20px;
    transition: border-color 0.2s, transform 0.2s;
}

.home-coverage-card:hover {
    border-color: rgba(56, 189, 248, 0.55);
    transform: translateY(-2px);
}

.home-coverage-card h3 {
    color: #F8FAFC;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.home-coverage-card p {
    color: #7D8B9D;
    font-size: 11.5px;
    line-height: 1.7;
}

.home-faq {
    display: grid;
    gap: 10px;
}

.home-faq details {
    background: #111721;
    border: 1px solid #1F2937;
    padding: 14px 16px;
}

.home-faq details[open] {
    border-color: rgba(56, 189, 248, 0.45);
}

.home-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #F8FAFC;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    list-style: none;
}

.home-faq summary::-webkit-details-marker {
    display: none;
}

.home-faq summary::after {
    content: '+';
    color: var(--home-cyan);
}

.home-faq details[open] summary::after {
    content: '−';
}

.home-faq p {
    color: #7D8B9D;
    font-size: 11.5px;
    line-height: 1.7;
    margin-top: 10px;
    max-width: 900px;
}

.home-closing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid #2A3A4E;
    background:
        linear-gradient(90deg, rgba(56, 189, 248, 0.08), transparent 55%),
        #111721;
    padding: 28px 30px;
}

.home-closing h2 {
    color: #F8FAFC;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: -0.03em;
    margin: 6px 0 7px;
    text-transform: uppercase;
}

.home-closing p {
    color: #94A3B8;
    font-size: 11.5px;
    line-height: 1.6;
    max-width: 620px;
}

.home-empty {
    border: 1px dashed #334155;
    padding: 28px;
    color: #64748B;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.06em;
}

@media (max-width: 960px) {
    .home-hero { grid-template-columns: 1fr; }
    .home-hero-main { padding: 34px 28px; }
    .home-report-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .home-hero-main { padding: 26px 20px; }
    .home-title { font-size: 43px; }
    .home-report-grid,
    .home-process-grid,
    .home-coverage-grid { grid-template-columns: 1fr; }
    .home-section-head { align-items: flex-start; flex-direction: column; }
    .home-process { border-left: 0; border-top: 1px solid #243143; padding: 15px 0 0; min-height: 0; }
    .home-process:first-child { border-top: 0; padding-top: 0; }
    .home-closing { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
    .home-closing .home-btn { width: 100%; }
    .home-trust { gap: 9px 14px; }
}

/* ============================================================
   About page — operations directive
   ============================================================ */
.about-page {
    --about-cyan: #38BDF8;
    --about-ink: #F8FAFC;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 24px;
    margin-bottom: 24px;
}

.about-hero-main {
    border: 1px solid #1F2937;
    background:
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.10), transparent 34%),
        linear-gradient(135deg, #151A23 0%, #0F141C 100%);
    padding: 42px 40px;
}

.about-title {
    color: var(--about-ink);
    font-size: clamp(38px, 4.8vw, 60px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-title span { color: var(--about-cyan); }

.about-lede {
    color: #A6B4C4;
    max-width: 650px;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #243143;
    padding-top: 15px;
    color: #64748B;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-hero-tags span::before {
    content: '//';
    color: #334155;
    margin-right: 7px;
}

.about-meta {
    border: 1px solid #1F2937;
    background: #10151D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-meta-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1F2937;
    padding-bottom: 14px;
    margin-bottom: 4px;
    color: #64748B;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.about-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
    color: #64748B;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.about-meta-row:last-child { border-bottom: 0; }
.about-meta-row strong { color: #CBD5E1; text-align: right; font-size: 9px; letter-spacing: 0.03em; }

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 24px;
    margin-bottom: 24px;
}

.about-card,
.about-principles,
.about-team,
.about-secure {
    border: 1px solid #1F2937;
    background: #111721;
    padding: 30px;
}

.about-section-label {
    color: #7DD3FC;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 13px;
}

.about-section-label span { color: #475569; margin-right: 7px; }

.about-heading {
    color: var(--about-ink);
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-card p,
.about-secure-copy p {
    color: #94A3B8;
    font-size: 12.5px;
    line-height: 1.75;
    margin-bottom: 13px;
}

.about-card p strong,
.about-secure-copy p strong { color: #E2E8F0; }

.about-quote {
    margin: 22px 0 0;
    border-left: 2px solid #F59E0B;
    padding-left: 14px;
    color: #FCD34D;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

.about-principles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-principle {
    border-top: 1px solid #1F2937;
    padding: 15px 0;
}

.about-principle:first-of-type { border-top: 0; padding-top: 4px; }
.about-principle:last-child { padding-bottom: 0; }

.about-principle strong {
    color: var(--about-cyan);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.about-principle p {
    color: #7D8B9D;
    font-size: 11.5px;
    line-height: 1.65;
    margin-top: 6px;
}

.about-team { margin-bottom: 24px; }

.about-team-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.about-team-head h2 {
    color: var(--about-ink);
    font-size: clamp(23px, 2.7vw, 32px);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-top: 6px;
}

.about-team-badge {
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.07);
    color: #7DD3FC;
    padding: 6px 9px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.about-operative {
    border: 1px solid #243143;
    background: #0F141C;
    padding: 17px;
    display: flex;
    flex-direction: column;
    min-height: 175px;
}

.about-operative-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.about-operative-mark {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--about-cyan);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.about-operative-role {
    color: #64748B;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-operative h3 {
    color: #F8FAFC;
    font-size: 16px;
    margin-bottom: 4px;
}

.about-alias {
    color: #64748B;
    font-size: 10px;
}

.about-alias strong { color: #F59E0B; }

.about-operative-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #1F2937;
    margin-top: auto;
    padding-top: 12px;
    color: #64748B;
    font-size: 9px;
}

.about-operative-foot a {
    color: #7DD3FC;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.about-secure {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    margin-bottom: 8px;
}

.about-secure-copy h2 {
    color: #F8FAFC;
    font-size: clamp(24px, 2.8vw, 34px);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 7px 0 13px;
}

.about-secure-copy a {
    color: var(--about-cyan);
    text-decoration: none;
    border-bottom: 1px dashed rgba(56, 189, 248, 0.5);
}

.about-secure-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    border-top: 1px solid #1F2937;
    padding-top: 13px;
    color: #64748B;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.about-pgp {
    border: 1px solid #243143;
    background: #0F141C;
}

.about-pgp summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    color: var(--about-cyan);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-pgp summary::-webkit-details-marker { display: none; }
.about-pgp summary span { font-size: 16px; color: #64748B; line-height: 1; }
.about-pgp[open] summary { border-bottom: 1px solid #243143; }
.about-pgp[open] summary span { transform: rotate(45deg); }

.about-pgp-box {
    position: relative;
    padding: 12px;
}

.about-pgp-box pre {
    max-height: 300px;
    overflow: auto;
    color: #7DD3FC;
    font-size: 9.5px;
    line-height: 1.6;
    white-space: pre;
    margin: 0;
}

.about-copy-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 1px solid #334155;
    background: rgba(15, 20, 28, 0.92);
    color: #CBD5E1;
    padding: 5px 8px;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.about-copy-btn:hover { border-color: var(--about-cyan); color: #fff; }

@media (max-width: 960px) {
    .about-hero,
    .about-grid,
    .about-secure { grid-template-columns: 1fr; }
    .about-hero-main { padding: 32px 26px; }
    .about-team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .about-card,
    .about-principles,
    .about-team,
    .about-secure { padding: 22px 20px; }
    .about-title { font-size: 43px; }
    .about-team-head { flex-direction: column; align-items: flex-start; }
    .about-team-grid { grid-template-columns: 1fr; }
}

.home-terminal-cta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #1F2937;
    color: var(--home-cyan);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-terminal-cta:hover { color: #fff; }

.about-secure { align-items: center; }

.about-secure-right { display: grid; gap: 12px; }

.about-pgp-meta {
    border: 1px solid #243143;
    background: #0F141C;
    padding: 13px 15px;
    display: grid;
    gap: 10px;
}

.about-pgp-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748B;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.about-pgp-meta strong {
    color: #CBD5E1;
    text-align: right;
    font-size: 8px;
    letter-spacing: 0.03em;
}

.about-secure:has(.about-pgp[open]) { align-items: start; }
