:root {
  color-scheme: light;
  --page-bg: #efe4d7;
  --surface: rgba(255, 251, 246, 0.84);
  --surface-strong: rgba(255, 251, 246, 0.96);
  --ink: #41352e;
  --muted: #6e6258;
  --line: rgba(126, 97, 73, 0.12);
  --accent: #c5612e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

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

.article-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-page {
  min-height: 100vh;
  padding: 14px;
}

.article-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 22px 0 88px;
  display: grid;
  gap: 44px;
}

.article-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(126, 97, 73, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(106, 74, 47, 0.08);
}

.article-logo {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.article-header-category {
  color: #9b755f;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.article-panel {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 32px;
  border: 1px solid rgba(126, 97, 73, 0.1);
  background: var(--surface-strong);
  box-shadow: 0 18px 48px rgba(106, 74, 47, 0.08);
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #8f7d6f;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.article-breadcrumb-link {
  color: inherit;
}

.article-breadcrumb-current {
  color: #9b755f;
}

.article-breadcrumb-separator {
  color: rgba(143, 125, 111, 0.72);
}

.article-kicker {
  margin: 0;
  color: #9b755f;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-kicker.is-centered {
  text-align: center;
  margin-bottom: 2px;
}

.article-title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--muted);
  font-size: 15px;
}

.article-author-link {
  display: inline-flex;
  align-items: flex-end;
  gap: 14px;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

.article-author-link:hover {
  color: #8f4d29;
}

.article-author-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(106, 74, 47, 0.14);
  flex: none;
}

.article-author-text {
  display: inline-flex;
  align-items: flex-end;
  min-height: 64px;
  padding-bottom: 6px;
}

.article-meta time {
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
}

.article-body {
  display: grid;
  gap: 20px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.9;
}

.article-body p {
  margin: 0;
}

.article-video-embed {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 241, 0.86);
}

.article-video-embed-kicker {
  margin: 0;
  color: #9b755f;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-video-embed-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.article-video-embed-summary {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.article-video-embed-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: rgba(65, 53, 46, 0.06);
}

.article-banner-section {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(120, 92, 70, 0.2);
  background: rgba(255, 248, 241, 0.86);
  box-shadow: 0 8px 22px rgba(80, 55, 35, 0.07);
}

.article-banner-frame {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  aspect-ratio: 3.5 / 1;
}

.article-footer-cta {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-legal-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 4px 0 0;
}

.article-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}

.article-legal-link {
  color: #8f4d29;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.article-legal-link:hover {
  color: #b45d31;
}

.article-demo-embed-section {
  width: min(100%, 1080px);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.article-demo-embed-shell {
  position: relative;
  width: min(100%, 1080px);
  padding: 14px;
  border-radius: 34px;
  background: rgba(255, 249, 243, 0.72);
  border: 1px solid rgba(130, 99, 76, 0.1);
  box-shadow: 0 18px 44px rgba(106, 74, 47, 0.08);
}

.article-demo-embed {
  display: block;
  width: 100%;
  height: 552px;
  border: 0;
  border-radius: 26px;
  background: transparent;
}

.article-cta-link {
  color: #8f4d29;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.article-cta-link.is-primary {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.article-cta-link.is-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(197, 97, 46, 0.18);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(249, 237, 226, 0.94));
  color: #8f4d29;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow:
    0 18px 36px rgba(106, 74, 47, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

.article-cta-link.is-secondary:hover {
  transform: translateY(-2px) scale(1.01);
  background: linear-gradient(180deg, rgba(204, 103, 50, 0.96), rgba(182, 84, 36, 0.94));
  color: #fff8f4;
  box-shadow:
    0 22px 42px rgba(106, 74, 47, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.article-cta-link.is-secondary:focus-visible,
.article-logo:focus-visible {
  outline: 2px solid rgba(197, 97, 46, 0.3);
  outline-offset: 3px;
}

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

.article-list-item {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(144, 111, 85, 0.1);
  background: rgba(255, 253, 251, 0.72);
}

.article-list-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.article-empty-state {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.article-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-pagination-link,
.article-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(144, 111, 85, 0.14);
  background: rgba(255, 253, 251, 0.72);
  color: #8f4d29;
  font-size: 15px;
  line-height: 1;
}

.article-pagination-current {
  border-color: rgba(197, 97, 46, 0.22);
  background: rgba(197, 97, 46, 0.1);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-shell {
    gap: 28px;
    padding-bottom: 56px;
  }

  .article-header {
    flex-direction: column;
  }

  .article-body {
    font-size: 18px;
  }

  .article-list-title {
    font-size: 18px;
  }

  .article-demo-embed {
    height: 320px;
  }
}

@media (max-width: 810px) {
  .article-banner-frame {
    aspect-ratio: 3 / 1;
  }
}

@media (max-width: 640px) {
  .article-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .article-pagination {
    flex-wrap: wrap;
  }

  .article-demo-embed-shell {
    padding: 10px;
    border-radius: 24px;
  }

  .article-demo-embed {
    height: 300px;
    border-radius: 18px;
  }
}

@media (max-width: 600px) {
  .article-banner-frame {
    aspect-ratio: 2.4 / 1;
  }
}