/* InterSIP Social Analytics: public site. Black and white like the logo; monospace caps for display type. */
:root {
  color-scheme: dark;
  --bg: #000; --surface: #0b0b0b; --raise: #141413; --line: rgba(255, 255, 255, .14); --line-2: rgba(255, 255, 255, .28);
  --ink: #f5f5f2; --ink-2: #bdbcb5; --muted: #8a8983;
  --on: #3fb950; --part: #d4a72c; --off: #6f6e69;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --logo-filter: none;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fafaf8; --surface: #fff; --raise: #f1f1ee; --line: rgba(0, 0, 0, .12); --line-2: rgba(0, 0, 0, .3);
    --ink: #0a0a0a; --ink-2: #45443f; --muted: #6f6e69;
    --on: #1a7f37; --part: #9a6700; --off: #8c8b86;
    --logo-filter: invert(1);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
img { max-width: 100%; }
.logo, .mark { filter: var(--logo-filter); display: block; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--bg); padding: 6px 10px; z-index: 10; }

/* type */
h1, h2, h3, .kicker, .btn, summary, .status, figcaption, th { font-family: var(--mono); }
h1 { font-size: clamp(34px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase;
     font-weight: 800; margin: 0 0 20px; text-wrap: balance; }
h2 { font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; margin: 0 0 12px; }
h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin: 0; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 36em; margin: 0 0 28px; }
.section-lede { color: var(--ink-2); max-width: 46em; margin: 0 0 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2);
       background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .06em;
       text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; }
.btn:hover { background: var(--raise); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { opacity: .88; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand .logo { width: 164px; }
@media (max-width: 420px) { .brand .logo { width: 136px; } }
section[id] { scroll-margin-top: 72px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.15fr 1fr; padding-top: 88px; padding-bottom: 96px; } }

/* example ledger */
.ledger { margin: 0; border: 1px solid var(--line-2); background: var(--surface); min-width: 0; }
.ledger figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px;
                     border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tag { border: 1px dashed var(--line-2); padding: 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th, .ledger td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 0; }
.ledger thead th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-block: 8px; }
.ledger tbody th { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ledger td:nth-child(2) { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.ledger td b { display: block; font-weight: 600; font-size: 13px; }
.ledger td small { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; }
@media (max-width: 480px) { .ledger th, .ledger td { padding: 10px; } .ledger thead { display: none; } }

/* bands */
.band { padding: 64px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .band { padding: 88px 0; } }

/* platforms */
.plats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.plat { background: var(--bg); padding: 20px; min-width: 0; }
.plat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em;
          text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--off); }
.status.on i { background: var(--on); } .status.part i { background: var(--part); }
.plat dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.plat dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.plat dd { margin: 0; color: var(--ink-2); }

/* rules */
.rules { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.rules li { counter-increment: r; background: var(--bg); padding: 24px; }
.rules li::before { content: counter(r, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 12px;
                    color: var(--muted); letter-spacing: .1em; margin-bottom: 10px; }
.rules p { margin: 8px 0 0; color: var(--ink-2); }

/* about */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700;
          font-size: 15px; letter-spacing: .02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 20px; color: var(--ink-2); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--ink-2); max-width: 42em; }
.contact { margin-top: 24px; color: var(--ink-2); }

/* footer */
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 28px; padding-bottom: 40px;
           font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.foot .mark { width: 32px; }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 20;
           background: var(--surface); border: 1px solid var(--line-2); padding: 18px 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.consent p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.consent-actions { display: flex; gap: 10px; margin: 0 !important; }
[hidden] { display: none !important; }
