:root {
      --bg: #f6f7f3;
      --surface: #ffffff;
      --surface-soft: #eef1ec;
      --text: #121712;
      --muted: #68706a;
      --line: #dce2dc;
      --strong-line: #bac4bb;
      --brand: #14833b;
      --brand-strong: #0d612b;
      --terminal: #101612;
      --critical: #c73535;
      --high: #c56614;
      --medium: #9c7900;
      --lab: #286aa6;
      --shadow: 0 20px 60px rgba(19, 35, 24, .12);
      color-scheme: light;
    }

    [data-theme="dark"] {
      --bg: #0f1210;
      --surface: #171b18;
      --surface-soft: #202620;
      --text: #edf2ed;
      --muted: #9ca69e;
      --line: #303730;
      --strong-line: #4b554d;
      --brand: #4ade80;
      --brand-strong: #86efac;
      --terminal: #080b09;
      --critical: #ff6b6b;
      --high: #fb923c;
      --medium: #facc15;
      --lab: #60a5fa;
      --shadow: 0 20px 60px rgba(0, 0, 0, .28);
      color-scheme: dark;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    .wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
    .mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
    .skip { position: absolute; left: 12px; top: -80px; padding: 10px 14px; background: var(--text); color: var(--bg); z-index: 100; }
    .skip:focus { top: 12px; }

    .site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
    .nav { min-height: 72px; display: flex; align-items: center; gap: 34px; }
    .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 760; letter-spacing: -.045em; }
    .brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--text); color: var(--bg); font: 700 13px "SFMono-Regular", Consolas, monospace; letter-spacing: -.08em; }
    .brand em { color: var(--brand); font-style: normal; }
    .nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 13px; color: var(--muted); }
    .nav-links a { padding-block: 10px; }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
    .business-link { color: var(--text) !important; font-weight: 650; }
    .rss-top-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, var(--brand) 12%); color: var(--brand); font: 700 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; white-space: nowrap; }
    .rss-top-link:hover, .rss-top-link:focus-visible { border-color: var(--brand); background: var(--brand); color: #fff; }
    .theme { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 12px; }
    .theme:hover { border-color: var(--strong-line); }
    .visitor-count { position: fixed; z-index: 30; top: 76px; left: 8px; display: flex; align-items: center; gap: 5px; min-width: 44px; padding: 4px 7px; border: 1px solid rgba(74, 222, 128, .32); border-radius: 3px; background: rgba(16, 22, 18, .94); box-shadow: 0 5px 18px rgba(0, 0, 0, .16); color: #4ade80; font: 700 9px/1.2 "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; pointer-events: none; user-select: none; }
    .visitor-count i { color: rgba(74, 222, 128, .5); font-style: normal; }
    .visitor-count[data-state="unavailable"] { opacity: .58; }

    .hero { min-height: 440px; padding-block: 64px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 78px; align-items: center; position: relative; }
    .eyebrow, .section-label { margin: 0 0 13px; color: var(--muted); font: 650 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
    .signal { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
    h1 { max-width: 790px; margin: 0; font-size: clamp(44px, 5.6vw, 72px); line-height: .98; letter-spacing: -.064em; font-weight: 780; }
    h1 span { color: var(--brand); }
    .intro { max-width: 665px; margin: 26px 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; }
    .button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 13px; font-weight: 650; }
    .button.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
    [data-theme="dark"] .button.primary { color: #092a14; }
    .button:hover { transform: translateY(-1px); }

    .terminal { overflow: hidden; border: 1px solid #28322a; border-radius: 9px; background: var(--terminal); color: #dbe5dd; box-shadow: var(--shadow); transform: rotate(1deg); }
    .terminal-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #28322a; color: #839087; font: 10px "SFMono-Regular", Consolas, monospace; }
    .terminal-top i { width: 7px; height: 7px; border-radius: 50%; background: #59665d; }
    .terminal-top span { margin-left: 7px; }
    .terminal-body { padding: 22px; font: 12px/1.85 "SFMono-Regular", Consolas, monospace; }
    .terminal-body p { margin: 0; }
    .prompt, .ok { color: #4ade80; }
    .ok { display: inline-block; width: 28px; }
    .comment { margin-top: 10px !important; color: #647068; }
    .hex { overflow: hidden; padding: 10px 22px; border-top: 1px solid #28322a; color: #56635a; white-space: nowrap; font: 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .18em; }

    .feed-rule { height: 42px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; }
    .layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 66px; padding-block: 56px 84px; }
    .heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
    h2 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.045em; }
    .heading > p { max-width: 255px; margin: 0; color: var(--muted); font-size: 12px; }

    .filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
    .filter { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
    .filter[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
    .filter:hover { border-color: var(--strong-line); color: var(--text); }

    .articles { border-top: 1px solid var(--text); }
    .article { display: grid; grid-template-columns: 86px minmax(0, 1fr) 74px; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
    .article:hover { padding-inline: 14px; background: var(--surface); }
    .severity { display: flex; align-items: flex-start; gap: 7px; padding-top: 3px; text-transform: uppercase; font: 650 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .07em; }
    .severity::before { content: ""; width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: currentColor; }
    .critical { color: var(--critical); }
    .high { color: var(--high); }
    .medium { color: var(--medium); }
    .lab { color: var(--lab); }
    .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); text-transform: uppercase; font: 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; }
    .meta span + span::before { content: "/"; margin-right: 16px; color: var(--line); }
    .article h3 { margin: 9px 0; font-size: 22px; line-height: 1.23; letter-spacing: -.034em; }
    .article h3 a:hover, .article h3 a:focus-visible { color: var(--brand); }
    .summary { max-width: 650px; margin: 0 0 13px; color: var(--muted); font-size: 13px; }
    .tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .tags span, .tags a { padding: 4px 7px; border-radius: 3px; background: var(--surface-soft); font: 9px "SFMono-Regular", Consolas, monospace; }
    .trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 9px; }
    .trust span::before { content: "✓"; margin-right: 5px; color: var(--brand); }
    .article-id { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; color: var(--muted); font: 9px "SFMono-Regular", Consolas, monospace; }
    .article-id b { color: var(--text); font: 19px system-ui, sans-serif; }
    .all { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--text); font-size: 13px; font-weight: 650; }

    aside { padding-left: 26px; border-left: 1px solid var(--line); }
    .side-section { padding-bottom: 31px; margin-bottom: 31px; border-bottom: 1px solid var(--line); }
    .side-section h2 { font-size: 23px; }
    .categories { padding: 0; margin: 16px 0 0; list-style: none; }
    .categories a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 13px; }
    .categories b { min-width: 25px; padding: 2px 6px; border-radius: 10px; background: var(--surface-soft); text-align: center; font: 9px "SFMono-Regular", Consolas, monospace; }
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
    .tag-cloud a { padding: 5px 7px; border-radius: 3px; background: var(--surface-soft); font: 10px "SFMono-Regular", Consolas, monospace; }
    .brief { position: relative; overflow: hidden; padding: 23px; border-radius: 7px; background: var(--text); color: var(--bg); }
    .brief::after { content: "@"; position: absolute; top: -39px; right: -9px; opacity: .07; font: 110px "SFMono-Regular", Consolas, monospace; }
    .brief .section-label { color: color-mix(in srgb, var(--bg) 62%, transparent); }
    .brief h2 { font-size: 22px; }
    .brief p { color: color-mix(in srgb, var(--bg) 68%, transparent); font-size: 12px; }
    .brief a { display: inline-block; position: relative; z-index: 1; margin-top: 5px; padding-bottom: 2px; border-bottom: 1px solid var(--brand); color: var(--brand); font-size: 11px; font-weight: 700; }

    .principles { padding-block: 52px; background: var(--text); color: var(--bg); }
    .principle-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 42px; }
    .principle-grid .section-label { color: color-mix(in srgb, var(--bg) 56%, transparent); }
    .principle-grid h2 { font-size: 26px; }
    .about-contact { max-width: 270px; margin: 16px 0 0; color: color-mix(in srgb, var(--bg) 68%, transparent); font-size: 11px; line-height: 1.55; }
    .about-contact a { color: var(--brand); font-weight: 750; }
    .about-contact a:hover, .about-contact a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
    .principle { padding-left: 20px; border-left: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
    .principle b { color: var(--brand); font: 10px "SFMono-Regular", Consolas, monospace; }
    .principle h3 { margin: 10px 0 5px; font-size: 14px; }
    .principle p { margin: 0; opacity: .62; font-size: 11px; }
    footer { padding-block: 34px; border-top: 1px solid var(--line); background: var(--surface); }
    .footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; color: var(--muted); font-size: 10px; }
    .footer-grid .brand { color: var(--text); }

    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; gap: 38px; }
      .terminal { max-width: 540px; }
      .layout { grid-template-columns: 1fr; }
      aside { padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
      .brief { grid-column: 1 / -1; }
      .principle-grid { grid-template-columns: 1fr 1fr; }
      .principle { padding-left: 0; border-left: 0; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-note { display: none; }
    }

    @media (max-width: 660px) {
      .wrap { width: min(100% - 28px, 1180px); }
      .nav { min-height: 64px; }
      .nav-links { display: none; }
      .rss-top-link { margin-left: auto; padding-inline: 9px; }
      .rss-top-link span:last-child { font-size: 0; }
      .rss-top-link span:last-child::after { content: "RSS"; font-size: 10px; }
      .theme span:last-child { display: none; }
      .visitor-count { top: 68px; left: 5px; padding: 3px 5px; font-size: 8px; }
      .hero { min-height: auto; padding-block: 52px; }
      h1 { font-size: clamp(42px, 13.2vw, 58px); }
      .intro { font-size: 15px; }
      .feed-rule span:last-child { display: none; }
      .layout { padding-block: 44px 64px; }
      .heading { display: block; }
      .heading > p { margin-top: 10px; }
      .article { grid-template-columns: 1fr; gap: 9px; }
      .article-id { display: none; }
      .article h3 { font-size: 20px; }
      aside { grid-template-columns: 1fr; }
      .brief { grid-column: auto; }
      .principle-grid { grid-template-columns: 1fr; }
      .principle { padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); }
      .footer-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { transition: none !important; }
    }

/* SITEWIDE MOBILE HOME — 2026-09-04 */
    @media (max-width: 660px) {
      html { scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
      body { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
      .wrap { width: 100%; padding-inline: 20px; }
      .nav { min-height: 62px; gap: 12px; }
      .brand { font-size: 17px; }
      .brand-mark { width: 30px; height: 30px; }
      .theme { min-width: 44px; min-height: 44px; justify-content: center; padding: 8px; }
      .visitor-count { position: absolute; top: 68px; left: 20px; font-size: 9px; }
      .hero { padding-block: 48px; }
      h1 { font-size: clamp(38px, 11.5vw, 52px); line-height: 1.04; letter-spacing: -.05em; }
      .intro { font-size: 17px; line-height: 1.65; }
      .button { min-height: 46px; }
      .layout { padding-block: 40px 62px; }
      .heading h2 { font-size: 26px; }
      .heading > p { font-size: 15px; line-height: 1.6; }
      .filter { min-height: 44px; padding-inline: 13px; font-size: 12px; }
      .article { padding-block: 24px; }
      .article h3 { font-size: 22px; line-height: 1.3; }
      .summary { font-size: 16px; line-height: 1.65; }
      .meta, .severity, .trust { font-size: 10px; line-height: 1.5; }
      .tags span, .tags a { font-size: 10px; line-height: 1.4; }
      .all, .categories a { min-height: 46px; align-items: center; font-size: 14px; }
      .brief p { font-size: 15px; line-height: 1.65; }
      .principle h3 { font-size: 17px; }
      .principle p { font-size: 15px; line-height: 1.6; }
    }
