/* TEN Network Association — Notices
   Swiss-minimalist, archival typography. Designed for longevity. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #3a3a3a;
  --muted:      #6b6b6b;
  --rule:       #e5e5e5;
  --rule-soft:  #f0f0f0;
  --paper:      #ffffff;
  --accent:     #b91c1c;

  --serif: 'Source Serif 4', 'Iowan Old Style', 'Charter', Georgia, serif;
  --sans:  'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:  'Geist Mono', 'SF Mono', Menlo, Consolas, monospace;

  --measure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga", "onum";
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* Header */
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 56px;
}
.site-head .brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.site-head .brand-sub {
  display: block;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.site-head nav a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 20px;
}
.site-head nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Index */
.intro { margin: 0 0 64px; max-width: 60ch; }
.intro h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.2;
}
.intro p { margin: 0; color: var(--ink-soft); }

.notices { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.notices li { border-bottom: 1px solid var(--rule); }

.notices a.notice-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  text-decoration: none;
  color: var(--ink);
  transition: background 120ms ease;
}
.notices a.notice-link:hover { background: var(--rule-soft); }

.notices .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
  white-space: nowrap;
}
.notices .meta .ref {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.notices .title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.notices .summary {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 2px 6px;
  margin-right: 8px;
  vertical-align: 1px;
}
.tag.legal { border-color: var(--accent); color: var(--accent); }

/* Notice */
.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.notice-meta dt {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  margin-bottom: 2px;
}
.notice-meta dd { margin: 0; color: var(--ink); font-size: 13px; }

.notice h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 30ch;
}

.notice .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 40px;
  font-style: italic;
}

.notice .body { max-width: var(--measure); }
.notice .body p { margin: 0 0 1.1em; }
.notice .body h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 2em 0 0.6em;
}
.notice .body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  margin: 1.6em 0 0.4em;
}
.notice .body ul, .notice .body ol { padding-left: 1.4em; }
.notice .body li { margin-bottom: 0.4em; }
.notice .body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.notice .body a:hover { color: var(--accent); }
.notice .body blockquote {
  margin: 1.4em 0;
  padding-left: 20px;
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  font-style: italic;
}
.notice .body code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--rule-soft);
  padding: 1px 5px;
  border-radius: 2px;
}
.notice .body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

.back {
  display: inline-block;
  margin-top: 64px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.back:hover { color: var(--ink); }
.back::before { content: "← "; }

/* Footer */
.site-foot {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.site-foot p { margin: 0 0 4px; }
.site-foot a { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 600px) {
  .wrap { padding: 32px 20px 64px; }
  .site-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-head nav a { margin-left: 0; margin-right: 16px; }
  .notices a.notice-link { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .notices .meta { font-size: 11px; }
  .notice h1 { font-size: 26px; }
  .notice .lede { font-size: 17px; }
}

/* Print — for legal archival to PDF */
@media print {
  body { font-size: 11pt; color: #000; background: #fff; }
  .wrap { max-width: 100%; padding: 0; }
  .site-head nav, .back { display: none; }
  .site-head { border-bottom: 1px solid #000; margin-bottom: 24px; }
  a { color: #000; text-decoration: none; }
  .notice .body a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .notice h1 { font-size: 20pt; }
  .notice .lede { font-size: 12pt; }
  .site-foot { page-break-before: avoid; }
}
