@font-face {
  font-family: 'Plex';
  src: url('/assets/plex-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202827;
  --muted: #63706c;
  --green: #123e35;
  --accent: #277d64;
  --border: #d8e1de;
  --paper: #fbfcfb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Plex', 'Trebuchet MS', sans-serif;
  letter-spacing: 0;
  color: var(--ink);
  background: radial-gradient(#b6c4bd55 0.65px, transparent 0.65px) 0 0 / 8px 8px, var(--paper);
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  min-height: 82px;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.wordmark { display: flex; align-items: center; gap: 16px; text-decoration: none; font-size: 17px; font-weight: 700; }
.wordmark-divider { height: 20px; width: 1px; background: var(--border); }
.wordmark-section { font-size: 11px; color: var(--muted); font-weight: 500; }
.secure-label { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; color: var(--green); }
main { width: min(1280px, calc(100% - 96px)); margin: 0 auto; flex: 1; padding: 40px 0 32px; }
.intro { margin-bottom: 24px; animation: arrive 450ms ease-out both; }
.eyebrow { font-size: 11px; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
h1 { font-size: 36px; line-height: 1.15; font-weight: 500; margin: 0 0 10px; overflow-wrap: anywhere; }
.title-dot { color: #cc674c; }
.subtitle { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.institution-types { display: flex; flex-wrap: wrap; gap: 10px 0; list-style: none; padding: 0; margin: 22px 0 0; color: var(--green); font-size: 12px; }
.institution-types li { border-left: 2px solid #cc674c; padding: 0 18px 0 10px; }
.connection { background: #fff; border-bottom: 1px solid var(--border); animation: arrive 450ms 160ms ease-out both; }
.section-heading { padding: 20px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-size: 15px; font-weight: 500; }
.protocol { color: var(--muted); font-size: 12px; }
dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
dt { font-size: 10px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
dd { margin: 0; font-size: 14px; }
.host-row { padding: 14px 0 4px; }
.host-row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
code { font-family: 'Courier New', monospace; }
.host-row code { font-size: 22px; overflow-wrap: anywhere; min-width: 0; }
.icon-button { border: 1px solid var(--border); background: var(--paper); cursor: pointer; width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; }
.icon-button:hover { background: #edf3ef; border-color: var(--accent); }
:focus-visible { outline: 3px solid #368dba; outline-offset: 4px; }
.detail-row { display: grid; grid-template-columns: 0.6fr 1fr 1.3fr; gap: 24px; padding-top: 14px; align-content: center; }
.copy-status { min-height: 18px; margin: 4px 0 8px; font-size: 12px; color: var(--green); }
.administration { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 2px solid var(--green); border-bottom: 1px solid var(--border); animation: arrive 450ms 80ms ease-out both; }
.admin-heading { display: flex; align-items: center; gap: 24px; }
.admin-heading .eyebrow { margin: 0; font-size: 10px; }
.pma-logo { width: 82px; height: auto; object-fit: contain; object-position: left; }
.admin-heading h2 { font-size: 16px; color: var(--ink); line-height: 1.4; }
.admin-description { margin: 0; max-width: 360px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 20px; border-radius: 4px; background: var(--green); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.primary-button img { filter: invert(1); }
.primary-button:hover { background: #1d584a; }
.access-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.note-line { height: 16px; width: 3px; background: #cc674c; flex-shrink: 0; }
.access-note p { font-size: 12px; line-height: 1.6; margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--border); padding: 22px 6%; display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); background: #fff; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  main { width: calc(100% - 48px); }
  dl { grid-template-columns: 1fr; gap: 8px; }
  .host-row { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .detail-row { padding-top: 12px; }
}
@media (max-width: 540px) {
  .topbar { padding: 18px 24px; flex-wrap: wrap; gap: 12px; }
  .wordmark { gap: 10px; font-size: 15px; }
  .wordmark-section { font-size: 10px; }
  .secure-label { font-size: 11px; }
  main { padding-top: 26px; }
  h1 { font-size: 28px; }
  .intro { margin-bottom: 20px; }
  .host-row code { font-size: 18px; }
  .detail-row { grid-template-columns: 1fr 1fr; gap: 22px; }
  .detail-row > :last-child { grid-column: 1 / -1; }
  .administration { align-items: flex-start; flex-direction: column; gap: 16px; }
  .primary-button { width: 100%; }
  footer { padding: 20px 24px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .intro, .connection, .administration { animation: none; }
}