/* Layout */
.layer-inset {
  max-width: 72rem;
}

/* Typography */
body {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h2 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 3rem;
  }
}

h3 {
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  h3 {
    font-size: 2rem;
  }
}

/* Buttons */
.button {
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 1rem 2rem;
}

header .layer-inset {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: unset;
}

nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

nav a {
  opacity: 0.7;
  transition: opacity 0.2s;
}

nav a:hover,
nav a[aria-current='page'] {
  opacity: 1;
}

nav a[aria-current='page'] {
  cursor: default;
  font-weight: 600;
  pointer-events: none;
}

.logo {
  align-items: center;
  color: #f70;
  display: flex;
  font-size: 1.5rem;
  gap: 0.5em;
}
.logo-mark {
  display: flex;
}
.logo-mark .fa-diamond {
  width: 1.5rem;
}
.logo-mark .fa-regular {
  color: #fa0;
}
.logo-mark .fa-solid {
  margin-left: -0.5em;
}
.logo-type {
  font:
    1.75rem/1 'DM Serif Text',
    serif;
}

.browser {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  margin: clamp(1.5rem, 5vw, 4rem) 0 0;
  overflow: hidden;
  width: 100%;
}

.bar-address {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  padding: 12px;
}

.viewport {
  aspect-ratio: 16 / 9;
  background: var(--color-lightest);
}

#research-hero .layer-inset {
  text-align: center;
}

#research-hero h1 + p {
  text-align: center;
}

.placeholder {
  aspect-ratio: 16 / 9;
  background: var(--color-light);
  border-radius: 0.5rem;
  width: 100%;
}

.post {
  border-bottom: 1px solid var(--color-light);
  display: block;
  padding: 1.5rem 0;
}

.post:first-child {
  border-top: 1px solid var(--color-light);
}

.post h3 {
  margin: 0;
}

.post p {
  color: var(--color-half);
  margin: 0.5rem 0;
}

.post time {
  color: var(--color-half);
  font-size: 0.875rem;
}

#footer-logo {
  width: 100%;
}

#footer-logo text {
  fill: currentColor;
  font:
    9rem 'DM Serif Text',
    serif;
}

/* Footer */
#footer {
  border-top: 1px solid var(--color-darkest);
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
  #footer {
    padding: 3rem;
  }
}
.footer-container {
  margin: 0 auto;
  max-width: 72rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-column h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column li {
  margin-bottom: 0.5rem;
}
.footer-column a {
  color: var(--color-half);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-column a:hover {
  opacity: 1;
}
.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--color-darkest);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.footer-bottom p {
  color: var(--color-half);
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.6;
}
