@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #0a1018;
  --card: #0f1724;
  --link: #64A9EE;
  --button: #4B93DB;
  --heading: #ffffff;
  --text: #c9d4e2;
  --muted: #8a9bb2;
  --border: rgba(255, 255, 255, 0.08);
  --ok: #6fd99b;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--page);
  background-image:
    radial-gradient(120% 80% at 15% 0%, rgba(75, 147, 219, 0.18) 0%, rgba(75, 147, 219, 0) 55%),
    radial-gradient(90% 70% at 90% 100%, rgba(20, 60, 120, 0.35) 0%, rgba(20, 60, 120, 0) 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.column {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding: 32px 0 24px;
}

.site-header img {
  display: block;
  width: 190px;
  max-width: 62%;
  height: auto;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

h1,
h2 {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
}

strong {
  font-weight: 600;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Keeps runs of spaces in the published text visible. */
.published p,
.published th,
.published td {
  white-space: pre-wrap;
}

.updated {
  color: var(--muted);
}

table {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--heading);
  font-weight: 600;
}

.status-ok {
  padding: 14px 18px;
  border: 1px solid rgba(111, 217, 155, 0.35);
  border-radius: 10px;
  background-color: rgba(111, 217, 155, 0.08);
  color: var(--ok);
}

.intro {
  color: var(--text);
  font-size: 19px;
}

.page-links {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.page-links li {
  border-top: 1px solid var(--border);
}

.page-links li:last-child {
  border-bottom: 1px solid var(--border);
}

.page-links a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  text-decoration: none;
}

.page-links a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background-color: var(--button);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.site-footer {
  padding: 28px 0 48px;
  font-size: 16px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px 0 16px;
  }

  .card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 20px;
  }

  .published th,
  .published td {
    padding: 8px 10px;
  }
}
