@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/blog/_assets/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/blog/_assets/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/blog/_assets/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/blog/_assets/inter-latin-700-normal.woff2') format('woff2');
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: #18181b;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #6c0aff;
  outline-offset: 5px;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e4e4e7;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0 32px;
}
.header-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  width: 180px;
  height: 48px;
  object-fit: contain;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.login {
  padding: 8px 16px;
  color: #6b7280;
}
.button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #6c0aff;
  color: white;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.button:hover {
  background: #5d08e0;
}
.back-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
}
.back-link:hover {
  color: #18181b;
}
.post-main,
.index-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.post-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px) 1fr;
  gap: 48px;
}
.post-rail {
  position: sticky;
  top: 112px;
  align-self: start;
}
.share-rail {
  margin-top: 112px;
}
.share-rail p {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9aa0;
}
.share-rail nav {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  align-items: center;
}
.share-rail a {
  font-size: 22px;
  font-weight: 600;
  color: #73737a;
}
.share-rail a:hover {
  color: #18181b;
}
.post-article {
  min-width: 0;
}
.published {
  font-size: 15px;
  color: #8f8f95;
}
.published a {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: #00000026;
}
.post-article h1 {
  margin-top: 16px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  min-width: 0;
}
.author-row > div {
  min-width: 0;
}
.avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #0000001a;
  border-radius: 50%;
  background: #f4efe7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-transform: uppercase;
  object-fit: cover;
}
.author-name {
  font-size: 16px;
  font-weight: 500;
  color: #2a2a2f;
}
.author-name span {
  font-weight: 400;
  color: #8b8b91;
}
.byline {
  font-size: 13px;
  color: #9a9aa0;
  margin-top: 2px;
}
.article-body {
  margin-top: 56px;
  overflow-wrap: anywhere;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  font-size: clamp(1.2rem, 1.45vw, 1.62rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: #35353a;
}
.article-body > :first-child {
  margin-top: 0;
}
.article-body p,
.article-body ul,
.article-body ol {
  margin-top: 28px;
}
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: Inter, Arial, sans-serif;
  color: #18181b;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-top: 56px;
}
.article-body h2 {
  font-size: 2.2rem;
}
.article-body h3 {
  font-size: 1.95rem;
}
.article-body h4 {
  font-size: 1.55rem;
  margin-top: 48px;
}
.article-body h5 {
  font-size: 1.25rem;
  margin-top: 40px;
}
.article-body h6 {
  font-size: 1.1rem;
  margin-top: 32px;
}
.article-body a {
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  color: #202022;
  text-decoration: underline;
  text-decoration-color: #0003;
  text-underline-offset: 0.22em;
}
.article-body ul {
  list-style: disc;
  padding-left: 28px;
}
.article-body ol {
  list-style: decimal;
  padding-left: 28px;
}
.article-body li + li {
  margin-top: 12px;
}
.article-body li::marker {
  color: #a2a2a7;
}
.article-body .task-list-item {
  list-style: none;
}
.task-list-item input {
  margin-right: 10px;
}
.article-body blockquote {
  margin: 32px 0 0;
  border-left: 2px solid #0000001a;
  padding-left: 24px;
  font-style: italic;
  color: #4a4a51;
}
.article-body hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid #0000001a;
}
.article-body img {
  height: auto;
  border-radius: 18px;
  background: #f5f2ea;
  margin: 40px 0;
}
.article-body pre {
  margin-top: 32px;
  max-width: 100%;
  overflow: auto;
  border-radius: 18px;
  padding: 20px;
  background: #18181b;
  color: #f8f8f2;
  font-size: 13px;
  line-height: 28px;
  letter-spacing: normal;
}
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #0000000a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.article-body pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
}
.article-body table {
  display: block;
  overflow: auto;
  max-width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  border: 1px solid #0000001a;
  border-radius: 18px;
  background: #fcfaf5;
}
.article-body th {
  font-family: Inter, Arial, sans-serif;
  background: #00000009;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6f74;
}
.article-body td,
.article-body th {
  padding: 12px 20px;
  border-bottom: 1px solid #00000014;
  text-align: left;
}
.index-main {
  padding-top: 40px;
  padding-bottom: 80px;
}
.index-main > .back-link {
  margin-bottom: 32px;
}
.index-grid {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 48px;
}
.index-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  border-right: 1px solid #0000001a;
  padding-right: 40px;
}
.index-rail h1 {
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.08em;
  color: #0f0f10;
}
.index-rail em {
  display: block;
  margin-top: -8px;
  font-size: clamp(2.1rem, 3vw, 3.75rem);
  letter-spacing: -0.06em;
}
.index-rail > p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 28px;
  color: #7a7a7f;
}
.index-rail nav:before {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: #0000001a;
  margin: 32px 0 24px;
}
.index-rail li + li {
  margin-top: 12px;
}
.index-rail a {
  font-size: 16px;
  color: #8a8a8f;
}
.index-rail a.active {
  font-weight: 600;
  color: #1b1b1b;
}
.index-rail a:hover {
  color: #424245;
}
.posts {
  min-width: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 48px;
}
.post-card {
  display: block;
  min-width: 0;
}
.artwork {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1.72/1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  background: #f5f1e8;
}
.artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.post-card:hover .artwork {
  transform: translateY(-4px);
}
.post-card:hover img {
  transform: scale(1.02);
}
.theme-0 {
  background: linear-gradient(180deg, #f6eee6, #efdfce);
}
.theme-1 {
  background: linear-gradient(180deg, #eef4ff, #dce9ff);
}
.theme-2 {
  background: linear-gradient(180deg, #fff4d9, #f7e5b7);
}
.theme-3 {
  background: linear-gradient(180deg, #f7dcc4, #f2cb9c);
}
.artwork-orb {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #dfab78;
  filter: blur(48px);
}
.artwork-circle {
  width: 160px;
  height: 160px;
  position: absolute;
  border: 1px solid #0000001a;
  border-radius: 50%;
}
.artwork-square {
  position: absolute;
  width: 128px;
  height: 128px;
  border: 1px solid #0000001a;
  border-radius: 32px;
  background: #ffffffcc;
}
.artwork svg {
  position: relative;
  width: 64px;
  height: 64px;
}
.card-category {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #9a9aa0;
}
.post-card h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #202022;
  overflow-wrap: anywhere;
}
.card-excerpt {
  margin-top: 12px;
  font-size: 16px;
  line-height: 28px;
  color: #727278;
}
.post-card .author-row {
  margin-top: 20px;
  gap: 12px;
}
.post-card .avatar {
  width: 40px;
  height: 40px;
}
.post-card .author-name {
  font-size: 15px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}
.pagination a:hover {
  text-decoration: underline;
}
.empty-state {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.error-page {
  max-width: 824px;
  padding: 64px 32px 96px;
  margin: auto;
  min-height: 50vh;
}
.error-page h1 {
  font-size: 2.2rem;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.error-page p {
  margin: 24px 0;
}
.site-footer {
  background: #09090b;
  color: #fff;
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.75fr);
  gap: 32px;
}
.footer-about {
  max-width: 340px;
}
.footer-about p {
  font-size: 14px;
  line-height: 28px;
  color: #ffffffad;
  margin-top: 16px;
}
.footer-about .button {
  margin-top: 24px;
}
.product-hunt-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid #ffffff26;
  border-radius: 9999px;
  background: #ffffff0d;
  color: #ffffffd1;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  transition: color 150ms, border-color 150ms, background-color 150ms;
}
.product-hunt-badge strong {
  font-weight: 600;
}
.product-hunt-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.product-hunt-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}
.product-hunt-badge:hover {
  border-color: #ffffff4d;
  background: #ffffff1a;
  color: #fff;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  color: #ffffffad;
}
.footer-grid h2 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff80;
}
.footer-grid ul {
  margin-top: 16px;
  font-size: 14px;
  color: #ffffffd1;
}
.footer-grid li + li {
  margin-top: 14px;
}
.site-footer a:hover {
  color: #fff;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #ffffff1a;
  padding-top: 24px;
  margin-top: 40px;
  font-size: 12px;
  color: #ffffff85;
}
.footer-legal > div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}
@media (max-width: 1023px) {
  .post-main,
  .index-main {
    padding: 40px 24px 80px;
  }
  .post-grid,
  .index-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .post-rail,
  .index-rail {
    position: static;
  }
  .post-rail {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
  }
  .share-rail {
    margin: 0;
  }
  .share-rail p {
    font-size: 10px;
  }
  .share-rail nav {
    margin-top: 8px;
  }
  .index-rail {
    border-right: 0;
    border-bottom: 1px solid #0000001a;
    padding: 0 0 24px;
  }
  .index-rail > p {
    max-width: 360px;
  }
  .index-rail nav:before {
    display: none;
  }
  .index-rail ul {
    display: flex;
    gap: 8px;
    overflow: auto;
    margin-top: 24px;
    padding: 6px;
  }
  .index-rail li + li {
    margin: 0;
  }
  .index-rail li {
    flex-shrink: 0;
  }
  .index-rail a {
    display: block;
    font-size: 13px;
    border: 1px solid #0000001a;
    border-radius: 999px;
    padding: 6px 12px;
  }
  .index-rail a.active {
    color: white;
    background: #1b1b1b;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .footer-about {
    grid-column: 1/-1;
  }
  .card-grid {
    gap: 56px 32px;
  }
}
@media (max-width: 767px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-header,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    padding: 12px 0;
  }
  .logo {
    width: 145px;
    height: 40px;
  }
  .login {
    display: none;
  }
  .post-main,
  .index-main {
    padding: 40px 16px 72px;
  }
  .post-article h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .share-rail nav {
    gap: 14px;
  }
  .article-body {
    font-size: 1.2rem;
  }
  .footer-legal {
    flex-direction: column;
  }
  .author-name,
  .byline {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .post-card:hover .artwork,
  .post-card:hover img {
    transform: none;
  }
}

[hidden] {
  display: none !important;
}
.extension-banner {
  background: #f4edffa6;
  border-bottom: 1px solid #6c0aff1a;
  font-size: 13px;
}
.extension-banner > div {
  min-height: 56px;
  max-width: 1440px;
  margin: auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.extension-banner img {
  border-radius: 50%;
  flex-shrink: 0;
}
.extension-banner a {
  font-weight: 600;
  color: #6c0aff;
  white-space: nowrap;
}
.extension-banner button {
  margin-left: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 24px;
}
@media (max-width: 767px) {
  .extension-banner > div {
    padding: 8px 16px;
    gap: 8px;
    font-size: 11px;
  }
}
