/* Copied from unseenet/unseenet docs/stylesheets/home.css, so this page looks like unseenet.org. Update it from there; do not edit here. */
/* The front page. The hero is set like the head of a Usenet article:
   header lines, then the subject as the headline. Colours are the logo's
   (assets/README.md): ink #10302a, green #16a974 / #34d399. No web fonts. */

:root {
  --un-ink: #10302a;
  --un-ink-2: #173d35;
  --un-paper: #e8f3ef;
  --un-muted: #9cc3b6;
  --un-green: #34d399;
  --un-green-deep: #16a974;
  --un-mono: ui-monospace, "SF Mono", "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
}

/* ---- Hero ---------------------------------------------------------------- */

.un-hero {
  background: var(--un-ink);
  color: var(--un-paper);
  border-radius: 14px;
  padding: 2.2rem 2.4rem 1.8rem;
  margin: 0.6rem 0 1.4rem;
}

.un-hero__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.un-hero__icon {
  width: 3.2rem;
  height: auto;
  flex: none;
}

.un-headers {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.6rem;
  margin: 0;
  font-family: var(--un-mono);
  font-size: 0.78rem;
  line-height: 1.6;
}
.un-headers dt { color: var(--un-muted); margin: 0; }
.un-headers dt::after { content: ":"; }
.un-headers dd { margin: 0; color: var(--un-paper); }

.md-typeset h1.un-subject {
  font-family: var(--un-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--un-paper);
  margin: 1.5rem 0 1rem;
}
.un-subject__key {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--un-muted);
  margin-bottom: 0.35rem;
}

.md-typeset .un-lede {
  max-width: 36em;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--un-paper);
  margin: 0 0 1.4rem;
}

.un-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.md-typeset a.un-button {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid var(--un-muted);
  color: var(--un-paper);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
}
.md-typeset a.un-button:hover { border-color: var(--un-paper); color: var(--un-paper); }
.md-typeset a.un-button--primary {
  background: var(--un-green);
  border-color: var(--un-green);
  color: var(--un-ink);
}
.md-typeset a.un-button--primary:hover {
  background: var(--un-paper);
  border-color: var(--un-paper);
  color: var(--un-ink);
}
.md-typeset a.un-button:focus-visible {
  outline: 2px solid var(--un-green);
  outline-offset: 3px;
}

.md-typeset .un-status {
  margin: 1.6rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(232, 243, 239, 0.15);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--un-muted);
  max-width: 48em;
}
.md-typeset .un-status strong { color: #f5c26b; }

/* ---- The recordings -------------------------------------------------------- */

/* Portable and Bootable side by side, the same size; "Larger" makes one
   span the full width. One column on narrow screens. */
.un-recordings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  margin: 0 0 1.8rem;
  align-items: start;
}
@media screen and (max-width: 44.9375em) {
  .un-recordings { grid-template-columns: minmax(0, 1fr); }
  .md-typeset .un-rec__size { display: none; }
}

.md-typeset figure.un-rec {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
}
.md-typeset figure.un-rec.is-large { grid-column: 1 / -1; }

.un-rec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0 0 0.55rem;
}
.md-typeset h2.un-rec__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
.md-typeset h2.un-rec__title a { color: var(--md-default-fg-color); }
.md-typeset h2.un-rec__title a:hover { color: var(--md-accent-fg-color); }

.md-typeset .un-rec__size {
  flex: none;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--md-default-fg-color--lighter);
  background: transparent;
  color: var(--md-default-fg-color--light);
  cursor: pointer;
}
.md-typeset .un-rec__size:hover { color: var(--md-default-fg-color); border-color: var(--md-default-fg-color--light); }
.md-typeset .un-rec__size:focus-visible { outline: 2px solid var(--md-accent-fg-color); outline-offset: 2px; }

/* Both recordings sit in the same 16:10 frame, so they line up */
.un-term,
.un-media {
  border-radius: 10px;
  overflow: hidden;
  background: var(--un-ink);
  aspect-ratio: 16 / 10;
}
.un-term img { display: block; width: 100%; height: 100%; object-fit: contain; }
.un-term .ap-wrapper { background: var(--un-ink); height: 100%; }
.un-term .ap-player { border-radius: 0; }
.un-media { background: #000; }
.un-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

.md-typeset .un-rec figcaption {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--md-default-fg-color--light);
  text-align: left;
  max-width: 44em;
  margin: 0.6rem 0 0;
}

/* ---- Web client teaser --------------------------------------------------------- */

.un-web {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1.4rem 2.2rem;
  align-items: center;
  margin: 1.4rem 0 2.2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 14px;
  background: color-mix(in srgb, var(--un-green) 6%, transparent);
}
.md-typeset .un-web p { margin: 0 0 0.6rem; }
.md-typeset .un-web .un-web__kicker {
  margin: 0;
  font-family: var(--un-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--un-green-deep);
}
.md-typeset h2.un-web__title { margin: 0.2rem 0 0.6rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.md-typeset .un-web .un-web__note { font-size: 0.72rem; color: var(--md-default-fg-color--light); }
.md-typeset .un-web .un-web__links { margin: 0; font-weight: 600; }
.un-web__shots { position: relative; padding: 0 0 12% 0; }
.md-typeset .un-web__shots img {
  display: block;
  border-radius: 10px;
  box-shadow: 0 14px 34px -14px rgba(16, 48, 42, 0.55);
  border: 1px solid rgba(16, 48, 42, 0.25);
}
.md-typeset img.un-web__main { width: 92%; margin-left: auto; }
.md-typeset img.un-web__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  border: 2px solid var(--un-green);
}
[data-md-color-scheme="slate"] .un-web__kicker { color: var(--un-green); }

@media (max-width: 52em) {
  .un-web { grid-template-columns: 1fr; }
}

/* ---- How it fits together ------------------------------------------------- */

.un-how {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.6rem 2.4rem;
  align-items: center;
}

.md-typeset figure.un-diagram { margin: 0; width: 100%; max-width: none; }
.un-diagram svg { width: 100%; height: auto; display: block; }
.un-diagram figcaption {
  font-size: 0.72rem;
  color: var(--md-default-fg-color--light);
  text-align: left;
  max-width: none;
}

.un-diagram .d-tor path {
  fill: none;
  stroke: var(--un-green-deep);
  stroke-width: 2.5;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.un-diagram .d-box rect,
.un-diagram .d-box circle {
  fill: var(--md-default-bg-color);
  stroke: var(--md-default-fg-color);
  stroke-width: 1.6;
}
.un-diagram text {
  fill: var(--md-default-fg-color);
  font-family: var(--md-text-font-family, sans-serif);
  font-size: 16px;
  text-anchor: middle;
}
.un-diagram .d-label text { font-weight: 600; }
.un-diagram text.d-small { font-size: 13px; font-weight: 400; fill: var(--md-default-fg-color--light); }
.un-diagram .d-note text { fill: var(--un-green-deep); font-size: 12px; font-family: var(--un-mono); }
.un-diagram .d-vault { fill: var(--un-ink); }
.un-diagram text.d-vault-text { fill: var(--un-paper); }

[data-md-color-scheme="slate"] .un-diagram .d-tor path { stroke: var(--un-green); }
[data-md-color-scheme="slate"] .un-diagram .d-note text { fill: var(--un-green); }
[data-md-color-scheme="slate"] .un-diagram .d-vault { fill: var(--un-ink-2); }

.md-typeset .un-points { margin: 0; }
.md-typeset .un-points dt { font-weight: 700; margin-top: 0; }
.md-typeset .un-points dd { margin: 0.15rem 0 0.9rem; }

/* ---- How is it different? ------------------------------------------------------ */
/* A dark box like the hero, framed in green; the Unseenet column is lit up.
   Other networks get a plain initial, not their logos (those are theirs). */

.un-cmp {
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(52, 211, 153, 0.16), transparent 60%),
    var(--un-ink);
  color: var(--un-paper);
  border: 2px solid var(--un-green);
  border-radius: 16px;
  padding: 1.3rem 1.6rem 1.2rem;
  margin: 0.8rem 0 1.6rem;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.08), 0 18px 40px -18px rgba(16, 48, 42, 0.55);
}
.md-typeset .un-cmp p { margin: 0; }
.md-typeset .un-cmp .un-cmp__kicker {
  font-family: var(--un-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--un-green);
}
.md-typeset .un-cmp .un-cmp__headline {
  margin-top: 0.2rem;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.md-typeset .un-cmp .un-cmp__headline span { color: var(--un-green); }
.md-typeset .un-cmp .un-cmp__lede {
  margin-top: 0.35rem;
  max-width: 44em;
  color: var(--un-muted);
  font-size: 0.82rem;
}

.un-cmp__scroll { overflow-x: auto; scrollbar-color: var(--un-green-deep) transparent; margin: 0.3rem -0.4rem 0; padding: 0.8rem 0.4rem 0.1rem; }
.md-typeset table.un-cmp__table {
  display: table;
  width: 100%;
  min-width: 40rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  box-shadow: none;
  font-size: 0.74rem;
  background: transparent;
}
.md-typeset .un-cmp__table th,
.md-typeset .un-cmp__table td {
  padding: 0.28rem 0.5rem;
  line-height: 1.25;
  border: 0;
  border-bottom: 1px solid rgba(232, 243, 239, 0.1);
  text-align: center;
  vertical-align: middle;
  color: var(--un-paper);
  background: transparent;
}
.md-typeset .un-cmp__table tbody tr:hover th,
.md-typeset .un-cmp__table tbody tr:hover td { background: rgba(232, 243, 239, 0.04); }

/* Feature names: first column, kept in view when the table scrolls sideways */
.md-typeset .un-cmp__table th[scope="row"] {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--un-ink);
  min-width: 11rem;
}
.un-cmp__t { display: block; font-weight: 700; }
.un-cmp__sub { display: block; font-weight: 400; font-size: 0.66rem; color: var(--un-muted); margin-top: 0; line-height: 1.2; }

/* Column heads */
.md-typeset .un-cmp__table thead th {
  vertical-align: bottom;
  font-weight: 600;
  padding-top: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(232, 243, 239, 0.25);
}
.un-cmp__name { display: block; margin-top: 0.2rem; font-size: 0.72rem; line-height: 1.2; }
.un-cmp__mono {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: rgba(232, 243, 239, 0.08);
  border: 1px solid rgba(232, 243, 239, 0.18);
  color: var(--un-muted);
  font-weight: 700;
  font-size: 0.75rem;
}

/* The Unseenet column */
.md-typeset .un-cmp__table th.un-cmp__us,
.md-typeset .un-cmp__table td:nth-child(2) {
  background: rgba(52, 211, 153, 0.14);
  border-left: 2px solid var(--un-green);
  border-right: 2px solid var(--un-green);
}
.md-typeset .un-cmp__table th.un-cmp__us {
  position: relative;
  border-top: 2px solid var(--un-green);
  border-radius: 12px 12px 0 0;
  color: #fff;
  font-weight: 800;
  min-width: 6.5rem;
}
.md-typeset .un-cmp__table tfoot td:nth-child(2) {
  border-bottom: 2px solid var(--un-green);
  border-radius: 0 0 12px 12px;
}
.un-cmp__us img { display: inline-block; width: 1.6rem; height: 1.6rem; }
.un-cmp__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--un-green);
  color: var(--un-ink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* Icons, with the word kept for screen readers. The symbols draw in currentColor. */
.un-ic { width: 1.05rem; height: 1.05rem; vertical-align: middle; display: inline-block; }
.un-cmp .y .un-ic { color: rgba(232, 243, 239, 0.62); }
.un-cmp td:nth-child(2).y .un-ic, .un-ic.y { color: var(--un-green); }
.un-cmp .p .un-ic, .un-ic.p { color: var(--un-muted); }
.un-cmp .n .un-ic, .un-ic.n { color: rgba(232, 243, 239, 0.35); }
.un-cmp td:nth-child(2) .un-ic { width: 1.2rem; height: 1.2rem; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6)); }
.un-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Score */
.md-typeset .un-cmp__table tfoot th,
.md-typeset .un-cmp__table tfoot td { border-bottom: 0; color: var(--un-muted); font-size: 0.72rem; }
.md-typeset .un-cmp__table tfoot strong { color: var(--un-paper); font-size: 0.95rem; }
.md-typeset .un-cmp__table td.un-cmp__win strong { color: var(--un-green); font-size: 1.25rem; }

.md-typeset .un-cmp .un-cmp__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 0.6rem;
  font-size: 0.66rem;
  color: var(--un-muted);
}
.un-cmp__legend .un-ic { width: 1rem; height: 1rem; margin-right: 0.2rem; }
.un-cmp__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }

@media (max-width: 36em) {
  .un-cmp { padding: 1.5rem 1.1rem 1.3rem; border-radius: 12px; }
  .md-typeset .un-cmp .un-cmp__headline { font-size: 1.25rem; }
  .md-typeset table.un-cmp__table { min-width: 31rem; font-size: 0.68rem; }
  .md-typeset .un-cmp__table th[scope="row"] { min-width: 0; width: 7.2rem; max-width: 7.2rem; padding-left: 0.2rem; }
  .md-typeset .un-cmp__table th, .md-typeset .un-cmp__table td { padding: 0.5rem 0.3rem; }
  .un-cmp__sub { display: none; }
  .md-typeset .un-cmp__table th.un-cmp__us { min-width: 5rem; }
  .un-cmp__mono { width: 1.7rem; height: 1.7rem; font-size: 0.75rem; }
}

/* ---- Small screens ----------------------------------------------------------- */

@media (max-width: 52em) {
  .un-how { grid-template-columns: 1fr; }
}
@media (max-width: 36em) {
  .un-hero { padding: 1.5rem 1.2rem 1.3rem; border-radius: 10px; }
  .un-hero__icon { width: 2.6rem; }
  .un-hero__head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .un-headers { font-size: 0.7rem; }
  .un-headers dd a { white-space: nowrap; }
  .md-typeset h1.un-subject { margin-top: 1.1rem; }
}

/* Version header lines in the hero, filled in at build time (tools/docs_hooks.py) */
.md-typeset .un-headers dd a { color: var(--un-green); text-decoration: none; }
.md-typeset .un-headers dd a:hover { color: var(--un-paper); text-decoration: underline; }
.un-headers .un-dim { color: var(--un-muted); }
.un-headers .un-dim { white-space: nowrap; }

/* ---- Where to start: four paths, each a list of pages in reading order ---- */

.un-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2.2rem;
}
.un-path {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 12px;
  padding: 1.1rem 1.3rem 1rem;
  transition: border-color 0.15s;
}
.un-path:hover { border-color: var(--md-accent-fg-color); }
.md-typeset h3.un-path__title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}
.md-typeset .un-path__lede {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  color: var(--md-default-fg-color--light);
}
.md-typeset ol.un-path__steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.md-typeset ol.un-path__steps li {
  counter-increment: step;
  position: relative;
  margin: 0 0 0.45rem;
  padding-left: 1.9rem;
  font-size: 0.76rem;
  line-height: 1.5;
}
.md-typeset ol.un-path__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--un-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--un-ink);
  background: var(--un-green);
}
.md-typeset ol.un-path__steps li + li { margin-left: 0; }
.md-typeset .un-path a { font-weight: 600; }
.md-typeset .un-or { color: var(--md-default-fg-color--light); font-size: 0.7rem; }
.md-typeset .un-path__more {
  margin: 0.7rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--md-default-fg-color--lightest);
  font-size: 0.7rem;
  color: var(--md-default-fg-color--light);
}

/* ---- Talk about Unseenet: set like the hero, groups like the client's list -- */

.un-talk {
  background: var(--un-ink);
  color: var(--un-paper);
  border-radius: 14px;
  padding: 1.6rem 2rem 1.4rem;
  margin: 0 0 1rem;
}
.un-talk__key {
  display: block;
  font-family: var(--un-mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--un-muted);
  margin-bottom: 0.3rem;
}
.md-typeset h2.un-talk__title {
  margin: 0 0 0.6rem;
  font-family: var(--un-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--un-paper);
}
.md-typeset .un-talk__lede { margin: 0 0 1rem; font-size: 0.78rem; color: var(--un-paper); }
.md-typeset .un-talk a { color: var(--un-green); }
.md-typeset .un-talk kbd {
  background: var(--un-ink-2);
  color: var(--un-paper);
  box-shadow: 0 0 0 1px rgba(232, 243, 239, 0.25);
}
.md-typeset ul.un-groups {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border: 1px solid rgba(232, 243, 239, 0.15);
  border-radius: 8px;
  overflow: hidden;
}
.md-typeset ul.un-groups li {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 1.2rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.74rem;
}
.md-typeset ul.un-groups li + li { border-top: 1px solid rgba(232, 243, 239, 0.1); }
.md-typeset ul.un-groups li:hover { background: var(--un-ink-2); }
.md-typeset .un-talk code {
  background: none;
  padding: 0;
  font-family: var(--un-mono);
  font-size: 0.74rem;
  color: var(--un-green);
  word-break: break-all;
}
.un-groups__for { color: var(--un-muted); }
.md-typeset .un-talk__node { margin: 0; font-size: 0.74rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; }
.md-typeset .un-talk__node .un-talk__key { display: inline; margin: 0; }
.md-typeset .un-copy {
  font: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 243, 239, 0.3);
  background: transparent;
  color: var(--un-paper);
  cursor: pointer;
}
.md-typeset .un-copy:hover { border-color: var(--un-green); color: var(--un-green); }
.md-typeset .un-copy:focus-visible { outline: 2px solid var(--un-green); outline-offset: 2px; }

@media screen and (max-width: 44.9375em) {
  .un-paths { grid-template-columns: minmax(0, 1fr); }
  .un-talk { padding: 1.3rem 1.2rem 1.1rem; border-radius: 10px; }
  .md-typeset ul.un-groups li { grid-template-columns: minmax(0, 1fr) auto; }
  .md-typeset ul.un-groups .un-groups__for { grid-column: 1; grid-row: 2; }
  .md-typeset ul.un-groups .un-copy { grid-row: 1 / span 2; grid-column: 2; }
}

.md-typeset .un-path__pick { font-weight: 700; }
