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

:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --panel-soft: #151515;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.5);
  --faint: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --accent: #ff0044;
  --frame: min(1344px, calc(100vw - 96px));
  --article: min(860px, 100vw);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Poppins,
    Inter,
    "SF Pro Display",
    "PingFang SC",
    "Hiragino Sans GB",
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0;
}

body.preview-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.academy-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 220ms ease;
}

.academy-bar.is-hidden {
  transform: translateY(-100%);
}

.academy-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.academy-bar a:hover,
.academy-bar a:focus-visible {
  opacity: 0.78;
  outline: none;
}

.academy-bar a::after,
.article-primary-link::after,
.library-link::after,
.back-link::before {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transition: color 180ms ease, transform 180ms ease;
}

.academy-bar a::after,
.article-primary-link::after,
.library-link::after {
  content: "→";
}

.back-link::before {
  content: "←";
}

.academy-bar a:hover::after,
.academy-bar a:focus-visible::after,
.article-primary-link:hover::after,
.article-primary-link:focus-visible::after,
.library-link:hover::after,
.library-link:focus-visible::after {
  transform: translateX(4px);
}

.back-link:hover::before,
.back-link:focus-visible::before {
  transform: translateX(-4px);
}

.academy-close {
  position: absolute;
  right: max(18px, calc((100vw - var(--frame)) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.clone-nav {
  position: fixed;
  inset: 40px 0 auto;
  z-index: 70;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: top 220ms ease, background 220ms ease;
}

.academy-bar.is-hidden + .clone-nav {
  top: 0;
}

body.promo-hidden .clone-nav {
  top: 0;
}

.clone-nav-inner {
  width: var(--frame);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clone-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.clone-links {
  display: flex;
  align-items: center;
  gap: 38px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.clone-links a {
  position: relative;
  transition: opacity 180ms ease;
}

.clone-links a:hover {
  opacity: 0.7;
}

.clone-links a[aria-current="page"]::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #fff;
  content: "";
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 26px;
  border: 0;
  padding: 0;
  background: linear-gradient(#fff, #fff) left top / 32px 2px no-repeat,
    linear-gradient(#fff, #fff) left center / 32px 2px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 32px 2px no-repeat;
  cursor: pointer;
}

.mobile-panel {
  position: fixed;
  inset: 104px 16px auto;
  z-index: 90;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.mobile-panel.is-open {
  display: grid;
  gap: 14px;
}

.mobile-panel a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
}

.logs-page-main {
  padding-top: 120px;
}

.logs-hero {
  width: var(--frame);
  margin: 0 auto;
  padding: 12px 0 57px;
}

.eyebrow {
  display: block;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logs-hero h1,
.article-hero h1 {
  margin: 0;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0;
}

.logs-hero h1 {
  font-size: clamp(64px, 5.05vw, 96px);
  line-height: 1;
}

.logs-hero p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.62;
}

.logs-section {
  border-top: 1px solid var(--line);
}

.logs-section-inner {
  width: var(--frame);
  margin: 0 auto;
  padding: 68px 0 0;
}

.logs-section + .logs-section .logs-section-inner {
  padding-top: 64px;
}

.section-label {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logs-section h2 {
  margin: 0 0 40px;
  color: #fff;
  font-size: clamp(32px, 2.25vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.logs-section p.section-copy {
  max-width: 650px;
  margin: -34px 0 48px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.log-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 553px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel);
  transition: border-color 180ms ease, transform 180ms ease;
}

.log-card:hover,
.log-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.log-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}

.log-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) saturate(0.98);
  transition: transform 700ms ease, filter 220ms ease;
}

.log-card:hover .log-card-media img,
.log-card:focus-visible .log-card-media img {
  transform: scale(1.05);
  filter: brightness(0.96) saturate(1.05);
}

.log-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 32px;
}

.log-date {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.log-card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  min-height: 54px;
  margin-bottom: 13px;
  gap: 18px;
  align-items: start;
}

.log-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.log-card p {
  display: -webkit-box;
  min-height: 68px;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-list {
  display: flex;
  min-height: 56px;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.log-card:hover .card-arrow,
.log-card:focus-visible .card-arrow {
  color: #fff;
  transform: translateX(4px);
}

.article-hero {
  position: relative;
  min-height: 100svh;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.article-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.5;
  transform: scale(1.1);
  transform-origin: top;
}

.article-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 62% 32%, rgba(255, 0, 68, 0.25), transparent 26rem),
    linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.15) 54%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.75) 0%, transparent 26%, transparent 72%, rgba(10, 10, 10, 0.65) 100%);
  content: "";
}

.article-hero.is-linchong .article-hero-image img {
  object-position: center;
  opacity: 0.62;
  transform: scale(1.03);
}

.article-hero.is-linchong {
  min-height: 100svh;
}

.article-hero.is-linchong::after {
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 124, 29, 0.28), transparent 25rem),
    linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.22) 56%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.76) 0%, transparent 28%, transparent 70%, rgba(10, 10, 10, 0.7) 100%);
}

.article-hero.is-feishu-article {
  min-height: 100svh;
}

.article-hero.is-feishu-article .article-hero-image img {
  opacity: 0.52;
  transform: scale(1.04);
}

.article-hero.is-feishu-article::after {
  background:
    radial-gradient(circle at 66% 34%, rgba(255, 0, 68, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(10, 10, 10, 0.14) 0%, rgba(10, 10, 10, 0.24) 55%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, transparent 34%, transparent 70%, rgba(10, 10, 10, 0.7) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0 64px 64px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-tags .tag {
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
}

.article-date {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 760px;
  font-size: 72px;
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.article-body {
  width: var(--article);
  margin: 0 auto;
  padding: 80px 48px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease;
}

.back-link:hover {
  color: #fff;
}

.article-lead {
  margin: 0 0 64px;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.625;
}

.article-body figure {
  margin: 0 0 48px;
}

.article-body figure img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.article-body figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  font-weight: 700;
}

.article-showcase {
  width: 100%;
  margin: 0 0 64px;
}

.article-video-frame {
  margin: 0 0 26px;
}

.article-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 1800 / 764;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #050505;
  object-fit: cover;
}

.article-still-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-still-grid figure {
  margin: 0;
}

.article-still-grid img {
  width: 100%;
  aspect-ratio: 1800 / 764;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  object-fit: cover;
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.article-still-grid img:hover,
.article-still-grid img:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(1.08);
  outline: none;
  transform: translateY(-1px);
}

.article-cover-frame img {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-cover-frame img,
.article-inline-image img {
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease;
}

.article-cover-frame img:hover,
.article-cover-frame img:focus-visible,
.article-inline-image img:hover,
.article-inline-image img:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  filter: brightness(1.06);
  outline: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 82px 48px 58px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  display: block;
  max-width: min(1280px, calc(100vw - 96px));
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.image-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(760px, calc(100vw - 48px));
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.article-section {
  padding: 0 0 44px;
  margin: 0 0 54px;
  border-bottom: 1px solid var(--line);
}

.article-section h2 {
  margin: 56px 0 20px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-section h2:first-child {
  margin-top: 0;
}

.article-section p,
.article-section li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.625;
}

.article-section p {
  margin: 0 0 24px;
}

.article-body .article-inline-image {
  width: 100%;
  margin: 48px 0;
}

.article-body .article-inline-video {
  width: 100%;
  margin: 48px 0;
}

.article-inline-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #050505;
  object-fit: contain;
}

.article-inline-video figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.article-inline-image img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.article-inline-image figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.article-section ul {
  display: grid;
  gap: 9px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.article-section li::before {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
  content: "- ";
}

.article-table-wrap {
  width: 100%;
  margin: 30px 0 36px;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.article-table th,
.article-table td {
  min-width: 160px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-block {
  box-sizing: border-box;
  width: 100%;
  margin: 30px 0 36px;
  padding: 28px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.76);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "PingFang SC", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  white-space: pre-wrap;
}

.article-source-link {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-source-link:hover,
.article-source-link:focus-visible {
  color: #fff;
  outline: none;
}

.project-action-panel {
  margin: 0 0 72px;
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-action-panel h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.project-action-panel p {
  max-width: 560px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
}

.article-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease;
}

.article-primary-link:hover,
.article-primary-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
  outline: none;
}

.keep-reading {
  padding: 0 0 70px;
  border-bottom: 1px solid var(--line);
}

.keep-reading h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mini-card {
  display: block;
  transition: opacity 180ms ease;
}

.mini-card:hover {
  opacity: 0.82;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
  filter: brightness(0.7);
}

.mini-card div {
  padding: 14px 0 0;
}

.mini-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.mini-card time {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.subscribe-card {
  margin: 56px 0 52px;
  padding: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #111;
  text-align: center;
}

.subscribe-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.subscribe-card p {
  max-width: 440px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  width: min(430px, 100%);
  margin: 0 auto;
  gap: 8px;
}

.subscribe-form input {
  min-width: 0;
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.subscribe-form button,
.library-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.library-link {
  margin: 0 auto 70px;
}

.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: var(--frame);
  margin: 0 auto;
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
}

.site-footer h2 {
  max-width: 560px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.site-footer p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
}

.footer-brand {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 700;
}

.footer-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  :root {
    --frame: min(100%, calc(100vw - 64px));
  }

  .clone-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .logs-page-main {
    padding-top: 104px;
  }

  .logs-hero {
    padding: 28px 0 56px;
  }

  .logs-hero h1 {
    font-size: clamp(68px, 19vw, 84px);
  }

  .log-grid,
  .keep-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .article-hero {
    min-height: 100svh;
    margin-top: 0;
  }

  .article-hero-content {
    padding: 0 48px 48px;
  }

  .article-hero h1 {
    font-size: clamp(56px, 7.3vw, 72px);
  }

  .article-still-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --frame: min(100%, calc(100vw - 64px));
    --article: 100%;
  }

  .academy-bar {
    height: 40px;
    justify-content: center;
    padding: 0 58px 0 24px;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
  }

  .academy-bar span:first-child {
    display: none;
  }

  .academy-bar a {
    overflow: hidden;
    font-size: 0;
    text-decoration: none;
  }

  .academy-bar a::after {
    font-size: 20px;
  }

  .clone-nav {
    height: 64px;
  }

  .clone-brand {
    font-size: 29px;
  }

  .logs-hero {
    padding-top: 28px;
  }

  .eyebrow {
    margin-bottom: 30px;
  }

  .logs-hero p {
    font-size: 20px;
    line-height: 1.5;
  }

  .logs-section-inner {
    padding-top: 44px;
  }

  .logs-section h2 {
    margin-bottom: 46px;
    font-size: 31px;
  }

  .log-card {
    min-height: 0;
  }

  .log-card-body {
    padding: 28px 32px 34px;
  }

  .log-card-title-row,
  .tag-list {
    min-height: 0;
  }

  .site-footer {
    margin-top: 72px;
  }

  .site-footer-inner {
    padding-top: 48px;
  }

  .article-body {
    padding: 64px 32px 0;
  }

  .article-lead {
    font-size: 20px;
  }

  .article-hero-content {
    padding: 0 32px 32px;
  }

  .article-hero h1 {
    font-size: 48px;
  }

  .article-section h2 {
    font-size: 24px;
    line-height: 1.375;
  }

  .article-table {
    table-layout: fixed;
  }

  .article-table th,
  .article-table td {
    min-width: 0;
    padding: 13px 10px;
    overflow-wrap: anywhere;
  }

  .article-table th {
    font-size: 11px;
    letter-spacing: 0;
  }

  .subscribe-card {
    padding: 30px 20px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .image-lightbox {
    padding: 72px 20px 68px;
  }

  .image-lightbox img {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 170px);
    border-radius: 12px;
  }

  .image-lightbox-close {
    top: 18px;
    right: 18px;
  }
}
