@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Sora:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --site-bg: #08080f;
  --site-bg-soft: #0d0d1a;
  --site-bg-elevated: #12121f;
  --site-panel: rgba(18, 18, 31, 0.9);
  --site-panel-strong: #171727;
  --site-border: rgba(255, 255, 255, 0.08);
  --site-border-strong: rgba(255, 255, 255, 0.14);
  --site-text: #f8f7fc;
  --site-muted: rgba(255, 255, 255, 0.72);
  --site-dim: rgba(255, 255, 255, 0.45);
  --site-orange: #ff6b35;
  --site-pink: #ec4899;
  --site-purple: #8b5cf6;
  --site-cyan: #22d3ee;
  --site-green: #10b981;
  --site-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  color-scheme: light;
  --site-bg: #f5f5f7;
  --site-bg-soft: #eeeff4;
  --site-bg-elevated: #ffffff;
  --site-panel: rgba(255, 255, 255, 0.88);
  --site-panel-strong: #ffffff;
  --site-border: rgba(13, 13, 26, 0.09);
  --site-border-strong: rgba(13, 13, 26, 0.15);
  --site-text: #0d0d1a;
  --site-muted: rgba(13, 13, 26, 0.72);
  --site-dim: rgba(13, 13, 26, 0.48);
  --site-shadow: 0 24px 72px rgba(13, 13, 26, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
}

body.jotlink-site-shell,
body.jotlink-site-shell * {
  box-sizing: border-box;
}

body.jotlink-site-shell {
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--site-text);
  background:
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.16), transparent 22%),
    radial-gradient(circle at 15% 15%, rgba(255, 107, 53, 0.14), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.1), transparent 24%),
    linear-gradient(180deg, #08080f 0%, #090910 100%);
}

html[data-theme="light"] body.jotlink-site-shell {
  background:
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.08), transparent 24%),
    radial-gradient(circle at 15% 15%, rgba(255, 107, 53, 0.08), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.06), transparent 26%),
    linear-gradient(180deg, #f8f8fb 0%, #f2f3f7 100%);
}

body.jotlink-blank-page {
  background: #08080f;
}

body.jotlink-site-shell img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.jotlink-site-shell a {
  color: inherit;
}

body.jotlink-site-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 15, 0.96);
  border-bottom: 1px solid var(--site-border);
}

html[data-theme="light"] body.jotlink-site-shell .site-header {
  background: rgba(248, 248, 251, 0.94);
}

body.jotlink-site-shell .site-header__inner,
body.jotlink-site-shell .site-footer__inner,
body.jotlink-site-shell .site-main--content {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

body.jotlink-site-shell .site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.jotlink-site-shell .site-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

body.jotlink-site-shell .site-brand img {
  width: auto;
  height: 40px;
  max-width: none;
  filter: brightness(0) invert(1);
}

html[data-theme="light"] body.jotlink-site-shell .site-brand img {
  filter: none;
}

body.jotlink-site-shell .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

body.jotlink-site-shell .site-nav a,
body.jotlink-site-shell .site-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--site-muted);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.jotlink-site-shell .site-nav a:hover,
body.jotlink-site-shell .site-ghost-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--site-text);
  transform: translateY(-1px);
}

body.jotlink-site-shell .site-nav a.is-active {
  background: var(--site-orange);
  color: #fff;
  box-shadow: 0 18px 48px rgba(255, 107, 53, 0.24);
}

body.jotlink-site-shell .site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

body.jotlink-site-shell .site-theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.jotlink-site-shell .site-theme-toggle:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.22);
  color: var(--site-orange);
  transform: translateY(-1px);
}

body.jotlink-site-shell .site-theme-toggle svg {
  width: 17px;
  height: 17px;
  display: block;
}

body.jotlink-site-shell .site-theme-toggle .icon-sun {
  display: none;
}

html[data-theme="light"] body.jotlink-site-shell .site-theme-toggle .icon-sun {
  display: block;
}

html[data-theme="light"] body.jotlink-site-shell .site-theme-toggle .icon-moon {
  display: none;
}

body.jotlink-site-shell .site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  color: #fff;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 50px rgba(255, 107, 53, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.jotlink-site-shell .site-cta:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 24px 56px rgba(255, 107, 53, 0.38);
}

body.jotlink-site-shell .site-main--content {
  padding: 28px 0 108px;
}

body.jotlink-site-shell .blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.38);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.jotlink-site-shell .blog-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

body.jotlink-site-shell .blog-hero {
  position: relative;
  overflow: hidden;
  margin: 6px 0 30px;
  padding: 46px;
  border: 1px solid var(--site-border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.18), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(255, 107, 53, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: var(--site-shadow);
}

body.jotlink-site-shell .blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

body.jotlink-site-shell .blog-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

body.jotlink-site-shell .blog-hero__title,
body.jotlink-site-shell .site-article__title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.jotlink-site-shell .blog-hero__title {
  max-width: 720px;
}

body.jotlink-site-shell .blog-hero__copy,
body.jotlink-site-shell .site-article__lede {
  margin: 0;
  max-width: 680px;
  color: var(--site-muted);
  font-size: 1.08rem;
  line-height: 1.82;
}

body.jotlink-site-shell .blog-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.jotlink-site-shell .blog-hero__aside {
  display: grid;
  gap: 14px;
  min-width: 0;
}

body.jotlink-site-shell .blog-stat,
body.jotlink-site-shell .blog-hero__latest,
body.jotlink-site-shell .post-card,
body.jotlink-site-shell .site-article__hero,
body.jotlink-site-shell .article-nav__card,
body.jotlink-site-shell .blog-empty {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow: var(--site-shadow);
}

html[data-theme="light"] body.jotlink-site-shell .blog-stat,
html[data-theme="light"] body.jotlink-site-shell .blog-hero__latest,
html[data-theme="light"] body.jotlink-site-shell .post-card,
html[data-theme="light"] body.jotlink-site-shell .site-article__hero,
html[data-theme="light"] body.jotlink-site-shell .article-nav__card,
html[data-theme="light"] body.jotlink-site-shell .blog-empty {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
}

body.jotlink-site-shell .blog-stat {
  padding: 20px 22px;
}

body.jotlink-site-shell .blog-stat strong,
body.jotlink-site-shell .blog-hero__latest strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.jotlink-site-shell .blog-stat span {
  display: block;
  margin-top: 6px;
  color: var(--site-dim);
  font-size: 0.92rem;
}

body.jotlink-site-shell .blog-hero__latest {
  padding: 22px;
  text-decoration: none;
}

body.jotlink-site-shell .blog-hero__latest::before,
body.jotlink-site-shell .post-card__media::before,
body.jotlink-site-shell .site-article__hero::before,
body.jotlink-site-shell .article-nav__card::before {
  content: "";
  position: absolute;
  inset: auto -18% -30% auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent, var(--site-pink)) 28%, transparent), transparent 72%);
  pointer-events: none;
  opacity: 0.9;
}

body.jotlink-site-shell .blog-hero__latest-label,
body.jotlink-site-shell .article-nav__label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--site-dim);
  font-family: "Sora", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.jotlink-site-shell .blog-hero__latest p {
  margin: 10px 0 16px;
  color: var(--site-muted);
  line-height: 1.7;
}

body.jotlink-site-shell .blog-hero__latest-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

html[data-theme="light"] body.jotlink-site-shell .blog-hero__latest-link {
  color: var(--site-orange);
}

body.jotlink-site-shell .blog-feed {
  margin-top: 20px;
}

body.jotlink-site-shell .blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

body.jotlink-site-shell .post-card {
  grid-column: span 4;
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.jotlink-site-shell .post-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent, var(--site-orange)) 45%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

body.jotlink-site-shell .post-card--featured {
  grid-column: 1 / -1;
}

body.jotlink-site-shell .post-card__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

body.jotlink-site-shell .post-card--featured .post-card__link {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

body.jotlink-site-shell .post-card__media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--card-accent, var(--site-purple)) 18%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  aspect-ratio: 16 / 10;
}

body.jotlink-site-shell .post-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.jotlink-site-shell .post-card__placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  padding: 28px;
}

body.jotlink-site-shell .post-card__placeholder strong {
  max-width: 320px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body.jotlink-site-shell .post-card__placeholder-tag,
body.jotlink-site-shell .post-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: fit-content;
  max-width: 100%;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--site-orange)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--site-orange)) 42%, transparent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.jotlink-site-shell .post-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 26px;
  min-width: 0;
}

body.jotlink-site-shell .post-card__meta,
body.jotlink-site-shell .site-article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.jotlink-site-shell .post-meta-item,
body.jotlink-site-shell .site-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-dim);
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-theme="light"] body.jotlink-site-shell .post-meta-item,
html[data-theme="light"] body.jotlink-site-shell .site-meta-chip {
  background: rgba(13, 13, 26, 0.03);
}

body.jotlink-site-shell .post-card__title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.28rem, 2vw, 1.66rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

body.jotlink-site-shell .post-card--featured .post-card__title {
  font-size: clamp(1.95rem, 3.2vw, 2.9rem);
}

body.jotlink-site-shell .post-card__excerpt {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.8;
}

body.jotlink-site-shell .post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}

body.jotlink-site-shell .post-card__read,
body.jotlink-site-shell .post-card__arrow {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

html[data-theme="light"] body.jotlink-site-shell .post-card__read,
html[data-theme="light"] body.jotlink-site-shell .post-card__arrow {
  color: var(--site-orange);
}

body.jotlink-site-shell .blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}

body.jotlink-site-shell .blog-pagination__item {
  display: inline-flex;
}

body.jotlink-site-shell .blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-muted);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.jotlink-site-shell .blog-pagination .page-numbers.current,
body.jotlink-site-shell .blog-pagination .page-numbers:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  color: #fff;
}

body.jotlink-site-shell .site-article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

body.jotlink-site-shell .site-article__hero {
  padding: 42px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--card-accent, var(--site-pink)) 18%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body.jotlink-site-shell .site-article__cover {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.03);
}

body.jotlink-site-shell .site-article__image {
  width: 100%;
  height: auto;
}

body.jotlink-site-shell .site-article__content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

body.jotlink-site-shell .site-article__content > * {
  margin-top: 0;
  margin-bottom: 0;
}

body.jotlink-site-shell .site-article__content > * + * {
  margin-top: 1.2rem;
}

body.jotlink-site-shell .site-article__content h2,
body.jotlink-site-shell .site-article__content h3,
body.jotlink-site-shell .site-article__content h4 {
  margin-top: 2.4rem;
  color: var(--site-text);
  font-family: "Sora", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

body.jotlink-site-shell .site-article__content h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

body.jotlink-site-shell .site-article__content h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

body.jotlink-site-shell .site-article__content p,
body.jotlink-site-shell .site-article__content li {
  color: var(--site-muted);
}

body.jotlink-site-shell .site-article__content a {
  color: #fff;
  text-decoration-color: color-mix(in srgb, var(--site-orange) 54%, transparent);
  text-underline-offset: 0.18em;
}

html[data-theme="light"] body.jotlink-site-shell .site-article__content a {
  color: #b45309;
}

body.jotlink-site-shell .site-article__content a:hover {
  text-decoration-color: var(--site-pink);
}

body.jotlink-site-shell .site-article__content ul,
body.jotlink-site-shell .site-article__content ol {
  padding-left: 1.35rem;
}

body.jotlink-site-shell .site-article__content blockquote {
  margin: 2rem 0;
  padding: 24px 26px;
  border-left: 3px solid var(--site-orange);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-text);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
}

html[data-theme="light"] body.jotlink-site-shell .site-article__content blockquote {
  background: rgba(13, 13, 26, 0.03);
}

body.jotlink-site-shell .site-article__content code {
  padding: 0.18rem 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.92em;
}

html[data-theme="light"] body.jotlink-site-shell .site-article__content code {
  background: rgba(13, 13, 26, 0.06);
  color: #0d0d1a;
}

body.jotlink-site-shell .site-article__content pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--site-border);
  background: #0c0c14;
}

html[data-theme="light"] body.jotlink-site-shell .site-article__content pre {
  background: #f2f3f7;
}

body.jotlink-site-shell .site-article__content pre code {
  padding: 0;
  background: transparent;
}

body.jotlink-site-shell .site-article__content figure {
  margin: 2rem 0;
}

body.jotlink-site-shell .site-article__content figcaption {
  margin-top: 0.9rem;
  color: var(--site-dim);
  font-size: 0.92rem;
  text-align: center;
}

body.jotlink-site-shell .site-article__content table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--site-border);
}

body.jotlink-site-shell .site-article__content th,
body.jotlink-site-shell .site-article__content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--site-border);
  text-align: left;
}

body.jotlink-site-shell .site-article__content th {
  color: var(--site-text);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.jotlink-site-shell .article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.jotlink-site-shell .article-nav__card {
  padding: 24px;
  text-decoration: none;
}

body.jotlink-site-shell .article-nav__card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.16rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

body.jotlink-site-shell .blog-empty {
  padding: 38px;
  text-align: center;
}

body.jotlink-site-shell .blog-empty h2 {
  margin: 16px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

body.jotlink-site-shell .blog-empty p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--site-muted);
  line-height: 1.8;
}

body.jotlink-site-shell .site-footer {
  border-top: 1px solid var(--site-border);
  background: rgba(8, 8, 15, 0.98);
}

html[data-theme="light"] body.jotlink-site-shell .site-footer {
  background: rgba(242, 243, 247, 0.98);
}

body.jotlink-site-shell .site-footer__inner {
  padding: 36px 0 30px;
}

body.jotlink-site-shell .site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

body.jotlink-site-shell .site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

body.jotlink-site-shell .site-brand--footer img {
  height: 42px;
}

body.jotlink-site-shell .site-footer__brand p {
  margin: 0;
  max-width: 420px;
  color: var(--site-muted);
  line-height: 1.8;
}

body.jotlink-site-shell .site-cta--footer {
  width: fit-content;
}

body.jotlink-site-shell .site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.jotlink-site-shell .site-footer__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.jotlink-site-shell .site-footer__group span {
  color: var(--site-dim);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.jotlink-site-shell .site-footer__group a {
  color: var(--site-muted);
  text-decoration: none;
  font-size: 0.98rem;
}

body.jotlink-site-shell .site-footer__group a:hover {
  color: #fff;
}

html[data-theme="light"] body.jotlink-site-shell .site-footer__group a:hover {
  color: #0d0d1a;
}

body.jotlink-site-shell .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--site-border);
  color: var(--site-dim);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  body.jotlink-site-shell .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.jotlink-site-shell .post-card,
  body.jotlink-site-shell .post-card--featured {
    grid-column: auto;
  }

  body.jotlink-site-shell .post-card--featured .post-card__link {
    grid-template-columns: 1fr;
  }

  body.jotlink-site-shell .blog-hero__grid,
  body.jotlink-site-shell .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.jotlink-site-shell .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  body.jotlink-site-shell .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  body.jotlink-site-shell .site-header__actions {
    width: 100%;
    justify-content: center;
  }

  body.jotlink-site-shell .blog-hero,
  body.jotlink-site-shell .site-article__hero {
    padding: 30px 24px;
    border-radius: 26px;
  }

  body.jotlink-site-shell .blog-grid,
  body.jotlink-site-shell .article-nav,
  body.jotlink-site-shell .site-footer__links {
    grid-template-columns: 1fr;
  }

  body.jotlink-site-shell .site-main--content,
  body.jotlink-site-shell .site-header__inner,
  body.jotlink-site-shell .site-footer__inner {
    width: min(1240px, calc(100vw - 28px));
  }
}

@media (max-width: 640px) {
  body.jotlink-site-shell .site-ghost-link {
    display: none;
  }

  body.jotlink-site-shell .blog-hero__title,
  body.jotlink-site-shell .site-article__title {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  body.jotlink-site-shell .post-card__body {
    padding: 20px;
  }

  body.jotlink-site-shell .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
