/* Self-hosted Space Mono (SIL Open Font License). No third-party font CDN. */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000000;
  color: #a7cfd5;
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Document pages (about / privacy / terms) top-align rather than centre */
body.page--doc {
  justify-content: flex-start;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.logo {
  margin-bottom: 3rem;
}

.logo img {
  max-width: 480px;
  width: 100%;
  display: block;
}

/* Smaller wordmark used as a home link on document pages */
.logo--small {
  margin-bottom: 2.5rem;
}

.logo--small img {
  max-width: 220px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.logo--small:hover img {
  opacity: 1;
}

.projects-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d5f63;
  margin-bottom: 1.25rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 760px;
}

@media (max-width: 560px) {
  .projects {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.project-card {
  display: block;
  border: 1px solid #1a3035;
  border-radius: 6px;
  background-color: #0d1a1c;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.project-card:hover {
  border-color: #7dd3d8;
  background-color: #0f2124;
}

/* Screenshot / placeholder banner at the top of each card */
.project-shot {
  width: 100%;
  aspect-ratio: 2452 / 920;
  overflow: hidden;
  border-bottom: 1px solid #1a3035;
  background-color: #081315;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project-shot--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(
    45deg,
    #0a1618,
    #0a1618 10px,
    #0c1c1f 10px,
    #0c1c1f 20px
  );
}

.soon-badge {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #3d5f63;
  border: 1px solid #1a3035;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  background-color: #0d1a1c;
}

.project-body {
  padding: 1.1rem 1.4rem;
}

.project-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #7dd3d8;
  margin-bottom: 0.35rem;
}

.project-body .project-name:last-child {
  margin-bottom: 0;
}

.project-desc {
  font-size: 0.75rem;
  color: #3d5f63;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.project-card:hover .project-desc {
  color: #a7cfd5;
}

.project-card--soon {
  cursor: default;
  opacity: 0.5;
}

.project-card--soon:hover {
  border-color: #1a3035;
  background-color: #0d1a1c;
}

/* Long-form document content (about / privacy / terms) */
.doc {
  width: 100%;
  max-width: 620px;
}

.doc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7dd3d8;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}

.doc p {
  font-size: 0.8rem;
  line-height: 1.9;
  color: #a7cfd5;
  margin-bottom: 1.25rem;
}

.doc p.muted {
  color: #3d5f63;
}

.doc p a {
  color: #7dd3d8;
  text-decoration: underline;
  text-decoration-color: #1a3035;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.doc p a:hover {
  text-decoration-color: #7dd3d8;
}

.doc h2 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d5f63;
  margin: 2.75rem 0 1.5rem;
}

/* Four tenets, presented as a numbered set rather than plain bullets */
.tenets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.tenets li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #a7cfd5;
  padding: 0.85rem 1.1rem;
  border: 1px solid #1a3035;
  border-radius: 6px;
  background-color: #0d1a1c;
}

.tenets .tenet-num {
  font-weight: 700;
  color: #7dd3d8;
  font-size: 0.75rem;
}

/* Q&A blocks */
.qa {
  margin-bottom: 1.75rem;
}

.qa:last-child {
  margin-bottom: 0;
}

.qa-q {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3d8;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.qa-a {
  font-size: 0.8rem;
  line-height: 1.9;
  color: #a7cfd5;
}

/* Shared footer nav */
.footer {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #3d5f63;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #7dd3d8;
}

.footer-nav .sep {
  color: #1a3035;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #26454a;
}

/* Subprocessor provider cards */
.subprocessor {
  border: 1px solid #1a3035;
  border-radius: 6px;
  background-color: #0d1a1c;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}

.subprocessor:last-of-type {
  margin-bottom: 0;
}

.sp-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #7dd3d8;
  margin-bottom: 0.55rem;
}

.sp-purpose {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #a7cfd5;
  margin: 0;
}

.sp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #14262a;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sp-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d5f63;
}

.sp-value {
  font-size: 0.75rem;
  color: #a7cfd5;
}
