.calendly-overlay .calendly-popup-content .calendly-spinner {
  display: none;
}

@font-face {
  font-family: 'Geist';
  src: url('/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #000000;
  --color-paper: #FFFFFF;
  --border-thick: 3px solid var(--color-ink);
  --border-thin: 1px solid var(--color-ink);
  --shadow-hard: 4px 4px 0px 0px var(--color-ink);
  --shadow-hard-sm: 2px 2px 0px 0px var(--color-ink);
  --radius-ui: 6px;
  --font-serif: "Geist Mono", "Courier New", monospace;
  --font-sans: "Geist", "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-paper) url('/checker.png') repeat;
  background-size: 4px 4px;
  -webkit-backface-visibility: hidden;
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-weight: 300;
  position: relative;
  overflow-x: hidden;
}

.system-bar {
  background: var(--color-paper);
  border-bottom: var(--border-thick);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 100;
}

.system-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.menu-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  color: var(--color-ink);
}

.menu-item {
  cursor: default;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.menu-item a {
  color: inherit;
  text-decoration: none;
}

.desktop {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.window {
  background: var(--color-paper);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.window-header {
  border-bottom: var(--border-thick);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: linear-gradient(to bottom, #000 1px, transparent 1px);
  background-size: 100% 3px;
  height: 32px;
}

.window-title {
  background: var(--color-paper);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 14px;
  border: var(--border-thick);
  border-radius: 4px;
}

.window-content {
  padding: 40px;
  flex: 1;
}

h1 {
  font-family: "Geist", "Helvetica Neue", sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.rotating-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.1em;
}

.rotating-text {
  display: inline-block;
  animation: slideIn 0.4s ease-out;
  border-bottom: 3px solid var(--color-ink);
  padding-bottom: 2px;
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}

h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: var(--border-thick);
  padding-bottom: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3 {
  font-family: var(--font-sans);
  margin: 0;
  font-size: 16px;
}

p {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 24px;
}

.btn-row {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  font-size: 14px;
}

.btn:hover {
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 3px var(--color-ink);
}

.btn-secondary {
  background: var(--color-paper);
  color: var(--color-ink);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard-sm);
}

.btn-secondary:hover {
  box-shadow: 1px 1px 0 0 var(--color-ink);
  transform: translate(1px, 1px);
}

.terminal-block {
  margin-top: 40px;
  border: var(--border-thick);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 14px;
}

.terminal-header {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.terminal-body { padding: 20px; }

.chat-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.4s;
}

.chat-row.visible { opacity: 1; }

.avatar {
  width: 24px;
  height: 24px;
  background: var(--color-ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: var(--color-paper);
  filter: grayscale(100%);
  flex-shrink: 0;
}

.avatar.ai {
  background: #fff;
  border: 2px solid #000;
  display: grid;
  place-items: center;
  font-weight: bold;
  filter: none;
}

.message {
  background: #eee;
  padding: 8px 12px;
  border-radius: 4px;
  max-width: 80%;
  border: 1px solid #000;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
}

.message.code {
  font-family: var(--font-mono);
  background: #fff;
  border: 1px dashed #000;
}

.message strong { font-family: var(--font-mono); }

.action-line {
  opacity: 0;
  transition: opacity 0.3s;
}

.action-line.visible { opacity: 1; }

.category-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-thick);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 20px;
  font-weight: bold;
}

.integrations-bar {
  margin-top: 60px;
  padding: 24px;
  border: var(--border-thick);
  background: #f9f9f9;
}

.integrations-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: bold;
}

.integrations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.integrations-list span {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 10px;
  border: var(--border-thin);
  background: var(--color-paper);
}

.problem-section { margin-top: 80px; }

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

.problem-card {
  padding: 20px;
  border: var(--border-thin);
  position: relative;
}

.problem-card h3 { margin-bottom: 8px; }

.problem-card p {
  font-size: 14px;
  margin: 0;
  max-width: none;
}

.pixel-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.problem-number,
.capability-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 8px;
  opacity: 0.4;
}

.how-section { margin-top: 80px; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.capability-card {
  padding: 20px;
  border-left: none;
}

.capability-card h3 { margin-bottom: 8px; }

.capability-card p {
  font-size: 14px;
  margin: 0;
  max-width: none;
}

.diff-section { margin-top: 80px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.diff-card {
  padding: 24px;
  border: var(--border-thin);
}

.diff-card h3 { margin-bottom: 8px; }

.diff-card p {
  font-size: 14px;
  margin: 0;
  max-width: none;
}

.faq-section { margin-top: 80px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 24px 0;
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.faq-item p {
  font-size: 15px;
  margin: 0;
  max-width: none;
}

.cta-section {
  margin-top: 80px;
  padding: 40px;
  border: var(--border-thick);
  text-align: center;
  background: var(--color-ink);
  color: var(--color-paper);
}

.cta-section h2 {
  color: var(--color-paper);
  border-bottom-color: var(--color-paper);
  justify-content: center;
}

.cta-section p {
  color: var(--color-paper);
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--color-paper);
  color: var(--color-ink);
}

.cta-section .btn:hover {
  background: transparent;
  color: var(--color-paper);
  box-shadow: inset 0 0 0 3px var(--color-paper);
}

.footer {
  margin-top: 60px;
  border-top: var(--border-thick);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer:has(.footer-grid) {
  flex-direction: column;
  align-items: stretch;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px 0;
  opacity: 0.5;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 6px;
}

.footer-grid ul li a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

.footer-grid ul li a:hover {
  text-decoration: underline;
}

.footer-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.soc2-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--color-ink);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.soc2-badge svg {
  flex-shrink: 0;
  display: block;
}

.soc2-badge span {
  display: block;
  line-height: 12px;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 32px;
}

.comparison-table th {
  text-align: left;
  padding: 12px;
  border-bottom: var(--border-thick);
  font-size: 12px;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 12px;
  border-bottom: var(--border-thin);
  vertical-align: top;
  font-family: var(--font-serif);
  font-size: 14px;
}

.comparison-table td:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #000;
}

.comparison-table tr.highlight {
  background: #f0f0f0;
}

.comparison-table tr.highlight td {
  font-weight: bold;
  font-family: var(--font-mono);
  border-bottom: var(--border-thick);
}

/* Blockquote for Reddit quotes */
blockquote {
  border-left: 4px solid var(--color-ink);
  padding: 12px 20px;
  margin: 16px 0;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
  background: #f9f9f9;
  max-width: none;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  opacity: 0.6;
}

/* TLDR box */
.tldr {
  border: var(--border-thick);
  padding: 24px;
  margin-bottom: 40px;
  background: #f9f9f9;
}

.tldr p {
  margin: 0;
  max-width: none;
  font-size: 16px;
}

.tldr strong {
  font-family: var(--font-mono);
}

/* Alt page sections */
.alt-section {
  margin-top: 60px;
}

.alt-section p {
  max-width: none;
}

.alt-section ul li a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.alt-section ul li a:hover {
  border-bottom-color: var(--color-ink);
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.pain-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
  border: var(--border-thin);
}

.diff-card .pain-list li {
  border: none;
  border-bottom: var(--border-thin);
  padding: 12px 0;
  margin-bottom: 0;
}

.diff-card .pain-list li:last-child {
  border-bottom: none;
}

.pain-list li .pixel-icon {
  display: block;
  margin-bottom: 8px;
}

.pain-list li strong {
  font-family: var(--font-mono);
}

/* Research grid (Keep Researching sections on alt pages) */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Table scroll wrapper */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.breadcrumb a {
  color: inherit;
}

@media (max-width: 1024px) {
  .desktop { margin: 20px auto; padding: 0 12px; }
  .problem-grid, .capability-grid { grid-template-columns: 1fr; }
  .diff-grid, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* --- HAMBURGER MENU --- */
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .menu-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    border-top: var(--border-thin);
    padding-top: 8px;
    margin-top: 8px;
  }
  .menu-links.menu-open { display: flex; }
  .menu-links .menu-item {
    width: 100%;
  }
  .menu-links .menu-item a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
  }
  .menu-links .menu-item:last-child a { border-bottom: none; }
  .system-bar { padding: 10px 16px; }
  .system-menu { flex-wrap: wrap; gap: 0; }
  .menu-brand { font-size: 16px; }

  /* --- TYPOGRAPHY --- */
  h1 { font-size: 32px; letter-spacing: -0.5px; line-height: 1.15; }
  .rotating-wrapper { display: block; height: auto; overflow: visible; }
  .rotating-text { display: inline; }
  h2 { font-size: 16px; }
  p { font-size: 16px; max-width: none; }
  .hero-sub { font-size: 17px; line-height: 1.6; }

  /* --- LAYOUT --- */
  .desktop { margin: 0 auto; padding: 0; }
  .window { border-left: none; border-right: none; box-shadow: none; }
  .window-content { padding: 24px 20px; }

  /* --- BUTTONS --- */
  .btn-row { flex-direction: column; margin-top: 24px; }
  .btn { width: 100%; padding: 0 20px; height: 52px; font-size: 15px; }

  /* --- SECTIONS --- */
  .problem-section, .how-section, .diff-section, .faq-section { margin-top: 56px; }
  .problem-grid, .capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .diff-grid, .faq-grid { grid-template-columns: 1fr; }
  .problem-card, .diff-card { padding: 20px; }
  .capability-card { padding: 20px 0; }
  .pixel-icon { width: 28px; height: 28px; }

  /* --- INTEGRATIONS BAR --- */
  .integrations-bar { margin-top: 40px; margin-left: -20px; margin-right: -20px; border-left: none; border-right: none; padding: 20px; }
  .integrations-list { gap: 8px; }
  .integrations-list span { font-size: 12px; padding: 6px 10px; }

  /* --- TICKET --- */
  .ticket { margin-left: -20px; margin-right: -20px; border-left: none; border-right: none; border-radius: 0; }
  .ticket-title { font-size: 17px; padding: 14px 16px 10px; }
  .ticket-main { padding: 16px; }
  .ticket-entry-body { font-size: 12px; }

  /* --- TERMINAL --- */
  .terminal-block { margin-top: 32px; margin-left: -20px; margin-right: -20px; border-left: none; border-right: none; border-radius: 0; }
  .terminal-body { padding: 12px; }
  .message { max-width: 100%; font-size: 13px; }

  /* --- CTA --- */
  .cta-section { margin-top: 56px; padding: 36px 24px; margin-left: -20px; margin-right: -20px; border-left: none; border-right: none; }
  .cta-section h2 { font-size: 18px; }
  .cta-section p { font-size: 16px; }

  /* --- FOOTER --- */
  .footer { margin-top: 40px; flex-direction: column; gap: 12px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-compare { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* --- FAQ --- */
  .faq-item h3 { font-size: 17px; }
  .faq-item p { font-size: 15px; line-height: 1.6; }

  /* --- COMPARISON TABLE (moved to ALT PAGES section below) --- */

  /* --- ALT PAGES --- */
  .alt-section { margin-top: 40px; }
  .alt-section p { font-size: 16px; line-height: 1.6; }
  .alt-section ul li a { font-size: 15px; padding: 6px 0; display: inline-block; }
  .research-grid { grid-template-columns: 1fr; gap: 24px; }
  .research-grid h3 { font-size: 15px !important; margin-bottom: 10px; }
  .tldr { padding: 16px; margin-bottom: 32px; }
  .tldr p { font-size: 15px; line-height: 1.6; }
  .pain-list li { padding: 14px 12px; font-size: 14px; line-height: 1.6; }
  blockquote { padding: 14px 16px; font-size: 15px; line-height: 1.6; margin: 20px 0; }
  blockquote cite { font-size: 12px; }
  .category-tag { font-size: 11px; padding: 3px 10px; }
  .diff-card .category-tag { margin-bottom: 6px; }
  h1 br { display: none; }

  /* Comparison table: readable on mobile */
  .table-scroll { margin: 0 -20px; padding: 0 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 0; font-size: 13px; }
  .comparison-table th { font-size: 11px; padding: 8px; }
  .comparison-table td { padding: 8px; font-size: 13px; line-height: 1.5; white-space: normal; }
  .comparison-table td:first-child { font-size: 11px; white-space: normal; }

  /* --- BLOG --- */
  .blog-list { grid-template-columns: 1fr; gap: 12px; }
  .blog-list-thumb { height: 160px; }
  .blog-list-body { padding: 16px; }
  .blog-list-item h3 { font-size: 17px; margin: 4px 0; }
  .blog-list-item p { font-size: 14px !important; line-height: 1.5; max-width: none !important; }
  .blog-post h1 { font-size: 24px; margin-bottom: 24px; line-height: 1.25; }
  .blog-body { font-size: 15px; }
  .blog-body h2 { font-size: 19px; margin: 32px 0 12px; }
  .blog-body h3 { font-size: 16px; margin: 24px 0 10px; }
  .blog-body pre { margin-left: -20px; margin-right: -20px; border-left: none; border-right: none; border-radius: 0; font-size: 12px; }
  .blog-body img { box-shadow: none; border-width: 2px; }
  .blog-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .blog-layout { gap: 32px; }
  .blog-layout .blog-post { max-width: none; }
  .blog-sidebar-cta { padding: 20px; }
}

/* Blog */
.blog-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
a.blog-list-item,
a.blog-list-item:visited,
a.blog-list-item:link {
  display: flex;
  flex-direction: column;
  border: var(--border-thin);
  text-decoration: none;
  color: var(--color-ink);
  transition: box-shadow 0.15s ease;
  overflow: hidden;
}
a.blog-list-item:hover { box-shadow: var(--shadow-hard); text-decoration: none; }
.blog-list-thumb {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: var(--border-thin);
}
.blog-list-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex: 1;
}
.blog-list-item h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
  text-decoration: none;
}
.blog-list-item p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #444;
  flex: 1;
  text-decoration: none;
}
.blog-list-date {
  font-size: 13px;
  color: #666;
  font-family: var(--font-mono);
}
.blog-list-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
}

/* Blog pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: var(--border-thin);
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
.pagination-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-family: var(--font-mono);
  border: var(--border-thin);
  border-radius: var(--radius-ui);
  text-decoration: none;
  color: inherit;
}
.pagination-link:hover {
  background: #f0f0f0;
}
.pagination-current {
  background: #111;
  color: #fff;
  border-color: #111;
}
.pagination-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.blog-post { margin-top: 16px; }
.blog-meta {
  font-size: 13px;
  color: #666;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.blog-post h1 {
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 32px;
}
.blog-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: break-word;
}
.blog-body h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
}
.blog-body h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.blog-body p { font-family: var(--font-sans); font-weight: 400; margin: 0 0 16px; }
.blog-body ul, .blog-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.blog-body li { margin-bottom: 8px; font-family: var(--font-sans); font-weight: 400; }
.blog-body blockquote {
  border-left: 3px solid var(--color-ink);
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  color: #444;
}
.blog-body pre {
  background: #f5f5f5;
  border: var(--border-thin);
  padding: 16px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  max-width: 100%;
}
.blog-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 2px 6px;
  border: 1px solid #e0e0e0;
}
.blog-body pre code {
  background: none;
  padding: 0;
  border: none;
}
.blog-body img {
  max-width: 100%;
  height: auto;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius-ui);
  margin: 24px 0;
}
.blog-body a {
  color: var(--color-ink);
  text-decoration: underline;
}
.blog-body a:hover { text-decoration: none; }
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 24px 0;
  border: var(--border-thick);
  max-width: 100%;
}
.blog-body th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: var(--border-thick);
  font-size: 11px;
  text-transform: uppercase;
  background: #f5f5f5;
}
.blog-body td {
  padding: 10px 12px;
  border-bottom: var(--border-thin);
  vertical-align: top;
  line-height: 1.4;
}
.blog-body td:first-child {
  font-weight: 500;
}
.blog-body tr:last-child td {
  border-bottom: none;
}
.blog-body table a {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Blog layout with sidebar */
.blog-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.blog-layout .blog-post {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}
.blog-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}
.blog-toc {
  margin-bottom: 20px;
}
.blog-toc-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.blog-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-toc li {
  margin-bottom: 6px;
}
.blog-toc a {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-ink);
  opacity: 0.6;
  text-decoration: none;
}
.blog-toc a:hover {
  opacity: 1;
}
.blog-sidebar-cta {
  border: var(--border-thick);
  padding: 24px;
  text-align: center;
}
.blog-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.blog-sidebar-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.blog-sidebar-headline {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.blog-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-size: 13px;
  margin-bottom: 12px;
}
.blog-sidebar-link {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--color-ink);
}
@media (max-width: 900px) {
  .blog-layout {
    flex-direction: column;
  }
  .blog-sidebar {
    width: 100%;
    position: static;
  }
  .blog-toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-list-item {
    padding: 16px;
  }

  .blog-list-item h3 {
    font-size: 17px;
    margin: 4px 0;
  }

  .blog-list-item p {
    font-size: 14px !important;
    line-height: 1.5;
    max-width: none !important;
  }

  .blog-layout {
    gap: 32px;
  }

  .blog-sidebar-cta {
    padding: 20px;
  }
}

/* PSA Ticket UI */
.ticket {
  margin-top: 40px;
  border: var(--border-thick);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 14px;
}

.ticket-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: var(--border-thin);
  background: #fafafa;
}

.ticket-breadcrumb {
  font-size: 12px;
  color: #666;
  font-family: var(--font-mono);
}

.ticket-status-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.badge-new {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-progress {
  background: #fff3e0;
  color: #e65100;
}

.badge-resolved {
  background: #e8f5e9;
  color: #2e7d32;
}

.ticket-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  padding: 16px 20px 12px;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.4s;
}

.ticket-title.visible { opacity: 1; }

.ticket-id {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-right: 8px;
}

.ticket-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  border-top: var(--border-thin);
}

.ticket-main {
  padding: 20px;
  border-right: var(--border-thin);
}

.ticket-description {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.ticket-description.visible { opacity: 1; }

.ticket-description p {
  font-size: 14px;
  margin: 0 0 6px;
  max-width: none;
}

.ticket-reporter {
  font-size: 12px;
  color: #888;
  font-family: var(--font-mono);
}

.ticket-activity-section {
  opacity: 0;
  transition: opacity 0.4s;
}

.ticket-activity-section.visible { opacity: 1; }

.ticket-activity-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #888;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: var(--border-thin);
}

.ticket-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  opacity: 0;
  transition: opacity 0.4s;
}

.ticket-entry.visible { opacity: 1; }

.ticket-entry-icon {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ticket-entry-icon.resolved {
  background: #2e7d32;
  color: #fff;
}

.ticket-entry-body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.ticket-entry-body strong {
  font-weight: 700;
}

.ticket-entry-resolved .ticket-entry-body {
  color: #2e7d32;
}

.ticket-entry-resolved .ticket-entry-body strong {
  color: #2e7d32;
}

.ticket-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 2px;
  background: #f0f0f0;
  color: #666;
  margin-left: 4px;
}

.ticket-note-tag.tag-reply {
  background: #e8f5e9;
  color: #2e7d32;
}

.ticket-ts {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

/* Sidebar */
.ticket-sidebar {
  padding: 16px;
  background: #fafafa;
  opacity: 0;
  transition: opacity 0.4s;
}

.ticket-sidebar.visible { opacity: 1; }

.ticket-detail {
  margin-bottom: 14px;
}

.ticket-detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 3px;
  font-weight: 600;
}

.ticket-detail-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.ticket-priority-high {
  color: #d32f2f;
  font-weight: 700;
}

.badge-approval { background: #fff3e0; color: #e65100; }
.badge-escalated { background: #fce4ec; color: #c62828; }

/* Ticket approval/question entry styles */
.ticket-entry-approval .ticket-entry-icon { background: #e65100; }
.ticket-entry-approval .ticket-entry-body { color: #e65100; }
.ticket-entry-approval .ticket-entry-body strong { color: #e65100; }
.ticket-entry-question .ticket-entry-icon { background: #1565c0; }
.ticket-entry-question .ticket-entry-body { color: #1565c0; }
.ticket-entry-question .ticket-entry-body strong { color: #1565c0; }

@media (max-width: 768px) {
  .ticket-layout {
    grid-template-columns: 1fr;
  }
  .ticket-main {
    border-right: none;
    border-bottom: var(--border-thin);
  }
  .ticket-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
    padding: 12px 16px;
  }
  .ticket-detail { margin-bottom: 4px; }
}

/* Small phones */
@media (max-width: 400px) {
  h1 { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .ticket-sidebar { grid-template-columns: 1fr 1fr; }
  .integrations-list span { font-size: 11px; padding: 5px 8px; }
  .cta-section { padding: 28px 16px; }
  .pain-list li { padding: 10px; font-size: 13px; }
  .tldr { padding: 12px; }
  .tldr p { font-size: 14px; }
  .diff-card p { font-size: 13px; }
}

/* AI SEO: Last updated date on pages */
.page-updated {
  font-size: 12px;
  color: #888;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

/* AI SEO: Author bio on blog posts */
.author-bio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  margin-top: 48px;
  border: var(--border-thin);
  border-radius: var(--radius-ui);
  background: #fafafa;
}
.author-bio-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.author-bio-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.author-bio-name a {
  text-decoration: none;
}
.author-bio-name a:hover {
  text-decoration: underline;
}
.author-bio-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
