.articles-page {
    --paper: #fff;
    --ink: #000;
    --muted: #444;
    --line: #ddd;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.articles-page *,
.articles-page *::before,
.articles-page *::after {
    box-sizing: border-box;
}

.articles-page [hidden] {
    display: none !important;
}

.articles-page a {
    color: inherit;
    text-underline-offset: 4px;
}

.articles-page :where(a, button, input, summary, [tabindex]):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.articles-page :where(h1, h2, h3, p) {
    margin: 0 0 1rem;
}

.articles-page :where(h1, h2, h3) {
    line-height: 1.2;
    text-wrap: balance;
}

.articles-page :where(section, main, h1) {
    scroll-margin-top: 24px;
}

.articles-page :where(h1, h2, h3, .brand) {
    font-family: Georgia, "Times New Roman", serif;
}

.articles-page h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    letter-spacing: -0.025em;
}

.articles-page img {
    display: block;
    max-width: 100%;
}

.articles-page .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.articles-page .skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10;
    padding: 10px 16px;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--ink);
}

.articles-page .skip-link:focus {
    top: 12px;
}

.articles-page .reading-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 9;
    pointer-events: none;
}

.articles-page .reading-progress span {
    display: block;
    height: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
}

.articles-page .site-header {
    background: var(--ink);
    color: var(--paper);
}

.articles-page .header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.articles-page .brand {
    font-size: 1.85rem;
    font-weight: 700;
    text-decoration: none;
}

.articles-page .brand span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.articles-page .home-link {
    padding: 10px 0;
    font-size: 0.85rem;
    white-space: nowrap;
}

.articles-page .breadcrumb {
    font-size: 0.75rem;
    color: var(--muted);
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
}

.articles-page .breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.articles-page .breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
}

.articles-page .hero-copy {
    padding-block: 40px 30px;
}

.articles-page .eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.articles-page h1 {
    max-width: 1000px;
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    letter-spacing: -0.035em;
}

.articles-page .hero-intro {
    max-width: 830px;
    font-size: 1.08rem;
}

.articles-page .hero-meta {
    color: var(--muted);
    font-size: 0.77rem;
    margin: 24px 0 0;
}

.articles-page .hero-image {
    overflow: hidden;
    background: var(--ink);
}

.articles-page .hero-image :where(picture, img) {
    width: 100%;
    height: clamp(210px, 30vw, 370px);
    object-fit: cover;
}

.articles-page .reading-layout {
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 65px;
    padding-block: 44px;
    align-items: start;
}

.articles-page .contents {
    position: sticky;
    top: 24px;
}

.articles-page .toc summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.articles-page .toc summary::-webkit-details-marker {
    display: none;
}

.articles-page .toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
}

.articles-page .toc a {
    display: block;
    padding: 9px 14px;
    font-size: 0.8rem;
    line-height: 1.5;
    text-decoration: none;
    color: var(--muted);
    border-left: 2px solid transparent;
    margin-left: -1px;
}

.articles-page .toc a[aria-current="location"] {
    color: var(--ink);
    border-left-color: var(--ink);
    font-weight: 650;
}

.articles-page .article-body {
    min-width: 0;
    max-width: 780px;
}

.articles-page .section-block {
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
}

.articles-page .article-body > .section-block:first-child {
    padding-top: 0;
}

.articles-page .section-block p:last-child {
    margin-bottom: 0;
}

.articles-page .questions details {
    border-top: 1px solid var(--line);
    padding-block: 14px;
}

.articles-page .questions summary {
    cursor: pointer;
    font-weight: 600;
    min-height: 30px;
}

.articles-page .questions details p {
    margin-top: 14px;
    font-size: 0.95rem;
}

.articles-page .related-section {
    padding-block: 24px 50px;
    border-top: 2px solid var(--ink);
}

.articles-page .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.articles-page .section-heading h2 {
    margin: 0;
}

.articles-page .section-heading > :where(a, span) {
    font-size: 0.85rem;
}

.articles-page .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.articles-page .article-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    text-decoration: none;
}

.articles-page .card-image {
    aspect-ratio: 8 / 5;
    overflow: hidden;
}

.articles-page .card-image :where(picture, img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-page .card-image img {
    transition: transform 240ms ease;
}

.articles-page .card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 0;
}

.articles-page .card-copy h3 {
    font-size: 1.25rem;
}

.articles-page .card-copy p {
    font-size: 0.87rem;
}

.articles-page .card-link {
    font-size: 0.78rem;
    font-weight: 650;
    margin-top: auto;
}

.articles-page .hub-main {
    padding-block: 20px 40px;
}

.articles-page #featured {
    max-width: 830px;
    margin-bottom: 40px;
}

.articles-page .text-link {
    font-size: 0.9rem;
}

.articles-page .article-search {
    max-width: 680px;
    margin-bottom: 24px;
}

.articles-page .article-search label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.articles-page .search-fields {
    display: flex;
    gap: 8px;
}

.articles-page .search-fields input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    font: inherit;
    font-size: 1rem;
}

.articles-page .search-fields input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.articles-page .search-fields button {
    padding: 10px 18px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.articles-page .search-status {
    color: var(--muted);
    font-size: 0.78rem;
    margin-block: 8px;
}

.articles-page .category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-block: 12px;
    margin-bottom: 32px;
    border-block: 1px solid var(--ink);
}

.articles-page .category-links a {
    font-size: 0.8rem;
    padding-block: 6px;
    text-decoration: none;
    font-weight: 650;
}

.articles-page .guide-group {
    margin-bottom: 44px;
}

.articles-page .guide-group > h2 {
    font-size: 1.45rem;
}

.articles-page .site-footer {
    border-top: 2px solid var(--ink);
    padding-block: 30px;
    font-size: 0.8rem;
}

.articles-page .photo-credit {
    font-size: 0.72rem;
    color: var(--muted);
}

.articles-page .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.articles-page .access-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid var(--ink);
    padding: 16px;
    background: var(--paper);
}

.articles-page .access-bar a {
    padding: 10px 20px;
    min-height: 44px;
    border: 1px solid var(--ink);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    text-align: center;
}

.articles-page .access-website {
    background: var(--ink);
    color: var(--paper);
}

.articles-page .access-telegram {
    background: var(--paper);
    color: var(--ink);
}

.articles-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.articles-page .scam-card {
    padding: 24px 0;
    border-top: 1px solid var(--ink);
    font-size: 0.85rem;
}

.articles-page .scam-figure strong {
    font-variant-numeric: tabular-nums;
}

.articles-page .scam-source {
    font-size: 0.78rem;
}

.articles-page .status-meta,
.articles-page .status-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.articles-page .status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.articles-page .status-filters button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.articles-page .status-filters button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
}

.articles-page .table-wrap {
    overflow-x: auto;
    border-block: 1px solid var(--ink);
}

.articles-page .status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.articles-page .status-table th {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px;
}

.articles-page .status-table td {
    padding: 12px;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}

.articles-page .status-address {
    min-width: 210px;
    overflow-wrap: anywhere;
}

.articles-page .dead-domain {
    color: var(--muted);
}

.articles-page .status-result {
    white-space: nowrap;
}

.articles-page .status-detail {
    display: block;
    font-size: 0.75rem;
}

.articles-page .status-dot {
    display: inline-block;
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.articles-page .status-dot:is(.status-ok, .status-redirect, .status-group-live) {
    background: currentColor;
}

.articles-page .status-dot:is(.status-imda, .status-ocha, .status-group-blocked) {
    border-radius: 0;
}

.articles-page .copy-domain {
    margin-left: 8px;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 0.7rem;
    cursor: pointer;
}

.articles-page .copy-domain.is-done {
    border-color: var(--ink);
    font-weight: 700;
}

.articles-page .timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 22px;
    border-left: 1px solid var(--ink);
}

.articles-page .timeline li {
    position: relative;
    padding-bottom: 20px;
}

.articles-page .timeline li:last-child {
    padding-bottom: 0;
}

.articles-page .timeline li::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ink);
}

.articles-page .timeline time {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.articles-page .timeline a {
    font-weight: 600;
}

.articles-page .timeline q {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
}

.articles-page .sources {
    padding-block: 26px 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.articles-page .sources h2 {
    font-family: inherit;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.articles-page .sources ul {
    padding-left: 18px;
    margin: 0;
}

.articles-page .toast {
    position: fixed;
    left: 50%;
    bottom: calc(96px + env(safe-area-inset-bottom));
    z-index: 11;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 10px 18px;
    background: var(--ink);
    color: var(--paper);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.articles-page .toast.is-leaving {
    opacity: 0;
    transition: opacity 180ms ease;
}

@view-transition {
    navigation: auto;
}

::view-transition-group(*) {
    animation-duration: 180ms;
}

@media (hover: hover) {
    .articles-page .article-card:hover h3,
    .articles-page .category-links a:hover,
    .articles-page .toc a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .articles-page .article-card:hover img {
        transform: scale(1.015);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .articles-page .questions details[open] p {
        animation: article-arrive 180ms ease-out;
    }
}

@keyframes article-arrive {
    from { opacity: 0.8; transform: translateY(3px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .articles-page .reading-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .articles-page .contents {
        position: static;
    }

    .articles-page .toc {
        border-block: 1px solid var(--ink);
        padding-block: 14px;
    }

    .articles-page .toc summary {
        display: flex;
        justify-content: space-between;
        margin: 0;
    }

    .articles-page .toc summary::after {
        content: "+";
        font-size: 1rem;
        line-height: 1;
    }

    .articles-page .toc[open] summary {
        margin-bottom: 12px;
    }

    .articles-page .toc[open] summary::after {
        content: "-";
    }

    .articles-page .article-body {
        max-width: none;
    }

    .articles-page .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .articles-page {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .articles-page .access-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 8;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }

    .articles-page .access-bar a {
        flex: 1;
        padding-inline: 8px;
    }
}

@media (max-width: 600px) {
    .articles-page {
        font-size: 16px;
    }

    .articles-page .container {
        width: calc(100% - 32px);
    }

    .articles-page .header-inner {
        min-height: 72px;
        gap: 12px;
    }

    .articles-page .brand {
        font-size: 1.25rem;
    }

    .articles-page .brand span {
        font-size: 0.6rem;
        letter-spacing: 0.02em;
    }

    .articles-page .home-link {
        font-size: 0.72rem;
    }

    .articles-page .hero-copy {
        padding-block: 28px 24px;
    }

    .articles-page .hero-intro {
        font-size: 1rem;
    }

    .articles-page .hero-image :where(picture, img) {
        height: auto;
        aspect-ratio: 8 / 5;
    }

    .articles-page .reading-layout {
        padding-block: 28px;
    }

    .articles-page .cards-grid {
        grid-template-columns: 1fr;
    }

    .articles-page :where(.status-table th, .status-table td) {
        padding: 10px;
    }

    .articles-page .access-bar {
        gap: 8px;
    }

    .articles-page .access-bar a {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }

    .articles-page *,
    .articles-page *::before,
    .articles-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .articles-page .article-card:hover img {
        transform: none;
    }
}
