:root {
  --paper: #eef1f4;
  --card: #ffffff;
  --ink: #13254a;
  --muted: #58627a;
  --line: #c9d0da;
  --blocked: #c8261d;
  --open: #1d7048;
  --focus: #1f5fd6;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "opsz" 14;
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--blocked); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 750; font-variation-settings: "wdth" 75, "opsz" 72; letter-spacing: -0.012em; }
h3 { font-size: 18px; font-weight: 700; }

/* Top nav */
.topnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(238, 241, 244, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(19, 37, 74, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Masthead: the hero plus a large Discord silhouette behind it */
.masthead { position: relative; overflow: hidden; }
.clyde {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(780px, 58vw);
  left: 30%; top: -40px;
  transform: rotate(-8deg);
}
.hero { position: relative; z-index: 1; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(32px, 7vw, 96px) var(--gutter) clamp(32px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

h1 {
  font-size: clamp(60px, 9.4vw, 140px);
  font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  line-height: 0.9;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.dek { max-width: 58ch; margin: 28px 0 0; font-size: clamp(17px, 1.6vw, 20px); }
.dek-fil { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 700 16px/1 var(--display);
  text-decoration: none; border-radius: 4px; cursor: pointer;
  border: 2px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blocked); border-color: var(--blocked); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* Status board: the one loud element */
.board {
  background: var(--ink);
  color: #fff;
  padding: 24px 24px 20px;
  border-radius: 6px;
}
.board h2 { font-size: 26px; font-variation-settings: "wdth" 75, "opsz" 72; }
.board-note { margin: 6px 0 16px; color: #b9c3d6; font-size: 14px; }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 18px;
}
.net { font-weight: 700; }
.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.blocked .state { color: #ff9c94; }
.blocked .state::before { background: var(--blocked); box-shadow: 0 0 0 3px rgba(200, 38, 29, 0.35); }
.open .state { color: #8fd9b0; }
.open .state::before { background: #34a86d; }
.board-src { margin: 14px 0 0; font-size: 13px; color: #b9c3d6; }
.board-src a { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .blocked .state::before { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(200, 38, 29, 0); } }
}

main { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* Stats */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stats {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 20px 20px 22px; border-left: 1px solid var(--line); }
.stat:first-of-type { border-left: 0; padding-left: 0; }
.stat-num {
  margin: 0;
  letter-spacing: -0.015em;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 72;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-affected .stat-num { color: var(--blocked); font-size: clamp(56px, 7.5vw, 104px); }
.stat-label { margin: 8px 0 0; font-size: 15px; color: var(--muted); max-width: 28ch; }
.stat-affected .stat-label { font-size: 17px; color: var(--ink); font-weight: 600; max-width: none; }
.affected-ask { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.affected-ask select { width: auto; min-width: 190px; }
.affected-ask .ts-slot { flex-basis: 100%; }
.affected-ask .form-msg { flex-basis: 100%; }
.affected-ask .form-msg:empty { display: none; }
.affected-done { margin: 14px 0 0; font-weight: 700; color: var(--open); }
.by-telco { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.by-telco li { display: inline-flex; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); font-size: 14px; }
.by-telco b { font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-affected { grid-column: 1 / -1; padding-left: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-of-type(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-of-type(2) { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .stat:nth-of-type(3) { border-left: 0; padding-left: 0; }
}

/* Timeline: a real sequence, so it's numbered by date */
.timeline { padding: clamp(40px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline time { font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 72; font-size: 18px; }
.timeline li p { margin: 0; max-width: 62ch; }
.timeline li a { color: var(--muted); font-size: 14px; }
.ask { grid-column: 2; margin: 8px 0 0; padding-left: 104px; font-family: var(--serif); font-size: 20px; line-height: 1.55; max-width: calc(62ch + 104px); }
.ask p { margin: 0 0 12px; }
.ask p + p { font-size: 17px; color: var(--muted); }

.section-dek { margin: 8px 0 24px; color: var(--muted); font-size: 17px; max-width: 70ch; }

/* DNS workaround */
.fix {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.fix-intro p { font-size: 18px; max-width: 48ch; }
.fix-note { font-size: 16px !important; color: var(--muted); border-left: 3px solid var(--blocked); padding-left: 14px; }
.fix-guide { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; align-self: start; }
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--paper); }
.tabs [role="tab"] {
  font: 700 15px var(--display); color: var(--muted);
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 14px 16px 11px; cursor: pointer;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); background: var(--card); }
.panel { padding: 20px 24px 24px; }
.panel > p { margin: 0 0 12px; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 0 0 12px; padding-left: 4px; max-width: 60ch; }
.steps li::marker { font-weight: 800; }
.panel-note { margin: 8px 0 0 !important; font-size: 15px; color: var(--muted); }
code.copy {
  font: 600 15px ui-monospace, "SF Mono", Menlo, monospace;
  background: #e6ebf2; color: var(--ink); padding: 2px 6px; border-radius: 3px;
  cursor: copy; white-space: nowrap;
}
code.copy.copied { background: #d6f0e1; color: var(--open); }

/* Public reactions */
.voices { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); border-top: 3px solid var(--ink); }
.voice-grid { columns: 3 300px; column-gap: 20px; }
.voice { break-inside: avoid; margin: 0 0 22px; }
.voice button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
.voice img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.voice figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.voice figcaption b { color: var(--ink); }

/* Live feed */
.feed { border-top: 3px solid var(--ink); padding: clamp(40px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px clamp(24px, 5vw, 64px); align-items: start; }
.feed-head { grid-column: 1; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--blocked); margin-right: 8px; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: blink 1.8s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: 0.25; } }
}
.comment-form { grid-column: 1; display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.comment-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.comment-form textarea { font-family: var(--serif); font-size: 17px; }
.c-foot { display: grid; gap: 10px; }
.comments { grid-column: 2; grid-row: 1 / span 3; list-style: none; margin: 0; padding: 0; max-height: 760px; overflow-y: auto; border-top: 1px solid var(--line); }
.comment { padding: 14px 4px 14px 0; border-bottom: 1px solid var(--line); }
.comment-top { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.comment-top b { font-size: 15px; }
.comment-top time { color: var(--muted); }
.comment p { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
/* New comments arrive tinted and fade to normal, so you can see what just came in. */
.comment { transition: background-color 2.5s ease-out; }
.comment.fresh { background-color: #fbe4e2; transition: none; }
.empty-line { grid-column: 2; color: var(--muted); margin: 0; }

/* Stories wall */
.stories { padding: 8px 0 clamp(48px, 6vw, 80px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.filter { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }

.wall { columns: 3 320px; column-gap: 20px; }
.story {
  break-inside: avoid;
  margin: 0 0 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.story-shots { display: grid; gap: 2px; background: var(--line); }
.story-shots button { display: block; padding: 0; border: 0; background: #dfe4ea; cursor: zoom-in; }
.story-shots img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; }
.story-body { padding: 16px 18px 18px; }
.story-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.story-no { font-weight: 800; color: var(--ink); font-variation-settings: "wdth" 75, "opsz" 72; }
.story-impact { display: inline-block; margin: 10px 0 8px; padding: 3px 8px; border-radius: 3px; background: #fbe4e2; color: #8e1b14; font-size: 14px; font-weight: 700; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.story-who { margin: 12px 0 0; font-size: 15px; }
.story-who strong { font-weight: 700; }

.empty { border: 2px dashed var(--line); border-radius: 6px; padding: 32px; max-width: 640px; }
.empty p { margin: 0 0 16px; font-size: 18px; }

/* Share form */
.share {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px);
  border-top: 3px solid var(--ink);
  padding: clamp(40px, 6vw, 72px) 0;
}
.share-intro p { font-size: 18px; max-width: 46ch; }
.share-intro h3 { margin-top: 28px; }
.rules { padding-left: 20px; margin: 10px 0 0; }
.rules li { margin: 8px 0; max-width: 46ch; }

.form { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 3vw, 28px); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  font: 400 16px/1.4 var(--display);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
  width: 100%;
}
textarea { font-family: var(--serif); font-size: 17px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.25); }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 16px !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.trap { position: absolute; left: -9999px; }

.drop { border: 0; padding: 0; margin: 0; }
.drop legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
.picker { display: block !important; position: relative; border: 2px dashed var(--line); border-radius: 6px; padding: 22px; text-align: center; cursor: pointer; }
.picker:hover, .picker:focus-within { border-color: var(--ink); }
.picker input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.picker span { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.editors { display: grid; gap: 16px; margin-top: 14px; }
.editor { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.editor-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: var(--paper); font-size: 14px; }
.editor-bar p { margin: 0; color: var(--muted); }
.editor-bar .tools { display: flex; gap: 6px; }
.editor-bar button { font: 600 14px var(--display); padding: 6px 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 4px; color: var(--ink); cursor: pointer; }
.editor-bar button:hover { border-color: var(--ink); }
.editor canvas { display: block; width: 100%; height: auto; cursor: crosshair; touch-action: none; }

.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-msg.error { color: var(--blocked); }
.form-msg.ok { color: var(--open); }

/* Footer */
.site-foot { background: var(--ink); color: #dfe5ef; margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.foot-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr); gap: clamp(40px, 5vw, 80px);
}
.foot-cta h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: 0.95; }
.foot-cta p { margin: 18px 0 0; max-width: 40ch; font-size: 17px; color: #b9c3d6; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--blocked); border-color: var(--blocked); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 0.9fr 1.3fr; gap: 28px; }
.foot-cols h3 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin: 0 0 10px; }
.foot-cols a { color: #b9c3d6; text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: #fff; }
.foot-cols p { margin: 0 0 12px; font-size: 14px; color: #93a0b8; line-height: 1.55; }
.foot-mark {
  margin: 0; padding: 0 var(--gutter);
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(56px, 13.4vw, 250px);
  line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 85%);
  -webkit-background-clip: text; background-clip: text;
  text-align: center;
  transform: translateY(12%);
}
.foot-base { margin: 0; padding: 18px var(--gutter) 22px; text-align: center; font-size: 13px; color: #93a0b8; border-top: 1px solid rgba(255, 255, 255, 0.08); position: relative; }

.viewer { border: 0; padding: 0; max-width: min(96vw, 1100px); max-height: 94vh; background: transparent; }
.viewer::backdrop { background: rgba(10, 18, 36, 0.86); }
.viewer img { display: block; max-width: 100%; max-height: 90vh; margin: 0 auto; border-radius: 4px; }
.viewer .close { display: block; margin: 0 0 8px auto; font: 700 15px var(--display); color: #fff; background: none; border: 1.5px solid #fff; border-radius: 4px; padding: 6px 12px; cursor: pointer; }

@media (max-width: 1000px) {
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .clyde { width: 96vw; left: 34%; top: 10px; opacity: 0.75; }
  .hero, .timeline, .share, .fix, .feed { grid-template-columns: 1fr; }
  .comments, .empty-line { grid-column: 1; grid-row: auto; max-height: none; }
  .ask { grid-column: 1; padding-left: 0; }
}
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .brand span { display: none; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .btn { width: 100%; }
}

/* Keep anchor jumps clear of the sticky nav. */
section[id], h2[id], #top { scroll-margin-top: 72px; }
@media (max-width: 520px) {
  .topnav .btn, .foot-cta .btn { width: auto; }
}
