* {
  box-sizing: border-box;
}

html {
  background: #0f0e2e;
  font-size: 90%;
}

:root {
  --page-inset: clamp(1.15rem, 1.8vw, 1.85rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f0e2e;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: #109beb;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline dotted;
  outline: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  z-index: 20;
}

.skip-link:focus {
  left: 0;
}

.hyper-header {
  width: min(100%, 90rem);
  padding: 0.85rem 0 2.75rem var(--page-inset);
  background: linear-gradient(180deg, rgba(15, 14, 46, 0.98) 0%, rgba(15, 14, 46, 0.86) 72%, rgba(15, 14, 46, 0) 100%);
}

.topline,
.topline a {
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
}

.topline .sep {
  color: rgba(255, 255, 255, 0.7);
}

.brand-link,
.rss-link,
.topline a[href="/email-newsletter/"],
.topline a[href="/support/"] {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.mono-icon {
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.16rem;
  color: #fff;
  vertical-align: -0.12em;
}

.site-icon {
  object-fit: contain;
  padding: 0.1rem;
  filter: grayscale(1) brightness(2.4);
  background: transparent;
}

.rss-link {
  color: #fff;
}

.rss-icon {
  background: transparent;
}

.rss-icon svg {
  width: 0.72rem;
  height: 0.72rem;
  fill: currentColor;
}

.topline a[href="/email-newsletter/"]::before,
.topline a[href="/support/"]::before {
  content: "";
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.topline a[href="/email-newsletter/"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.25' y='3' width='13.5' height='10' rx='1.2' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3Cpath d='M2.3 4.2 8 8.4l5.7-4.2' fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.topline a[href="/support/"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='2' width='12' height='12' rx='2' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3Cpath d='M8 4.5v7M4.5 8h7' fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.hyper-header h1 {
  margin: 0.4rem 0 0.25rem;
  font-size: clamp(0.96rem, 0.98rem + 0.55vw, 1.44rem);
  letter-spacing: -1px;
  line-height: 1.45;
  text-transform: lowercase;
  overflow-wrap: anywhere;
}

.hyper-header h1 a {
  color: #fff;
}

.hyper-header h1 span {
  background: #ea6a00;
  color: #fff;
  padding: 0 0.12em;
}

.tagline,
.honest {
  max-width: 70ch;
  margin: 0.2rem 0;
  font-size: 0.88rem;
}

.tagline strong,
.tagline-highlight {
  background: #fefefe;
  color: #000;
  padding: 0 0.12em;
}

.footer-logo {
  width: min(100%, 9.5rem);
  margin: 0 0 0.8rem -0.35rem;
}

.content {
  flex: 1 0 auto;
  width: min(80%, 70rem);
  margin-left: var(--page-inset);
  padding-top: clamp(1.8rem, 3vw, 2.6rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.archive-page .content,
.post-page .content {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.45rem;
}

.intro-panel {
  max-width: 58rem;
  margin-bottom: 2.5rem;
}

.post-list {
  display: grid;
  gap: 5.5rem;
}

.single-post {
  display: grid;
  gap: 0.3rem;
}

.post-card,
.single-post {
  max-width: 60rem;
}

time {
  display: block;
  color: #f2f2f2;
  font-size: 0.8rem;
}

h2 {
  margin: 0.15rem 0 1.2rem;
  color: #fff;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: capitalize;
}

.single-post h2 {
  margin: 0.05rem 0 0.45rem;
}

h2 a {
  color: #f9f9f9;
}

p,
li {
  max-width: 70ch;
}

.post-card p,
.entry-content {
  color: #fff;
  font-size: 1em;
  line-height: 1.35;
}

.entry-content > * + * {
  margin-top: 1em;
}

.entry-content blockquote {
  margin-left: 0;
  padding-left: 1rem;
  border-left: 2px solid #de0000;
}

.entry-content a:hover,
.entry-content a:focus-visible {
  font-style: italic;
}

.post-nav,
.archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  max-width: 70rem;
  font-size: 0.88rem;
}

.footer-nav {
  align-items: center;
  margin-top: auto;
  padding-top: clamp(4.8rem, 11vh, 6.8rem);
  font-size: 0.82rem;
}

.archive-nav span,
.post-nav span {
  color: #f2f2f2;
}

.hyper-footer {
  width: min(80%, 70rem);
  margin-left: var(--page-inset);
  padding: 1rem 0 2rem;
  color: #fff;
  font-size: clamp(0.88rem, 0.8rem + 0.25vw, 1rem);
  line-height: 2;
}

.hyper-footer blockquote {
  max-width: 70ch;
  margin: 0 0 1rem;
  font-style: italic;
}

.hyper-footer p {
  color: #fff;
  font-size: inherit;
}

.footer-links {
  margin: 0 0 0.15rem;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.footer-copy {
  margin: 0;
  font-size: 0.9em;
}

.hyper-footer a {
  color: #fff;
}

.hyper-footer cite {
  font-style: italic;
}

@media (max-width: 760px) {
  :root {
    --page-inset: 1rem;
  }

  .hyper-header {
    width: 100%;
    padding: 0.75rem 0.75rem 1.25rem var(--page-inset);
  }

  .topline,
  .topline a {
    font-size: 0.68rem;
  }

  .hyper-header h1 {
    font-size: clamp(0.88rem, 0.82rem + 1vw, 1.08rem);
    line-height: 1.35;
  }

  .tagline,
  .honest {
    font-size: 0.82rem;
  }

  .content,
  .hyper-footer {
    width: calc(100% - 2rem);
    margin-left: var(--page-inset);
  }

  .content {
    padding-top: 1.45rem;
  }

  .post-list {
    gap: 3.4rem;
  }

  .archive-page .content,
  .post-page .content {
    padding-bottom: 0.35rem;
  }

  .single-post {
    gap: 0.15rem;
  }

  .single-post h2 {
    margin-bottom: 0.3rem;
  }

  .footer-nav {
    padding-top: 3.6rem;
    font-size: 0.78rem;
  }
}
