/* =============================================
   LANDING PAGE SECTIONS (lp-* prefix)
   ============================================= */

/* Hero */
.lp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfcfb 0%, #f3f1ec 100%);
  color: #1e2235;
  padding: 120px 24px 90px;
  text-align: center;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Animated sticky notes */
.lp-hero-notes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lp-sticky-note {
  position: absolute;
  width: 138px;
  padding: 12px 14px 14px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 12px 22px rgba(30,34,53,0.14), 0 2px 6px rgba(30,34,53,0.08);
  animation-name: lp-note-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  transform: rotate(var(--rot, -4deg));
}

.lp-sticky-note-type {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 4px;
}

.lp-note-event {
  background: #ffd8b0;
  border: 1px solid #ff9d4d;
  color: #7a3610;
}

.lp-note-command {
  background: #bfe3fb;
  border: 1px solid #5fb3e8;
  color: #0b4a6b;
}

.lp-note-readmodel {
  background: #bdeecb;
  border: 1px solid #5dc98a;
  color: #14532d;
}

@keyframes lp-note-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -4deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot-alt, -1deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-sticky-note {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .lp-sticky-note {
    width: 116px;
    font-size: 0.8rem;
    padding: 10px 12px 12px;
  }
}

@media (max-width: 900px) {
  .lp-hero-notes {
    display: none;
  }
}

.lp-hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ff5d17;
  margin: 0 0 14px;
}

.lp-badge {
  display: inline-block;
  background: rgba(255,93,23,0.1);
  color: #c94500;
  border: 1px solid rgba(255,93,23,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.lp-hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1e2235;
  margin-bottom: 24px;
}

.lp-hero-highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
  background: rgba(255,93,23,0.15);
  border-radius: 0.2em;
}

.lp-hero p {
  font-size: 1.25rem;
  color: rgba(30,34,53,0.68);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lp-hero .lp-hero-trust-line {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c94500;
  margin-top: -28px;
  margin-bottom: 28px;
}

.lp-hero-ctas {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-cta-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lp-cta-option-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
}

.lp-hero .lp-btn-secondary {
  background: #fff;
  color: #1e2235;
  border: 1.5px solid #d8d6d2;
}

.lp-hero .lp-btn-secondary:hover {
  background: #f3f1ec;
  border-color: #c9c7c2;
  transform: translateY(-2px);
}

/* Buttons */
.lp-btn-primary {
  display: inline-block;
  background: #ff5d17;
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lp-btn-primary:hover {
  background: #e54d0d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,93,23,0.35);
}

.lp-btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s, transform 0.2s;
}

.lp-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.lp-btn-outline {
  display: inline-block;
  color: #ff5d17;
  border: 1.5px solid #ff5d17;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lp-btn-outline:hover {
  background: #ff5d17;
  color: #fff;
  transform: translateY(-2px);
}

/* Logo strip */
.lp-logos {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

.lp-logos-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9999a8;
  margin-bottom: 20px;
}

.lp-logos-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.lp-logos-list span {
  font-size: 1rem;
  font-weight: 700;
  color: #b0b0bf;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

/* Benefits */
.lp-benefits {
  background: #f8f7f5;
  padding: 96px 24px;
}

.lp-benefits-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.lp-benefits-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.lp-section-sub {
  font-size: 1.1rem;
  color: #6b6b76;
  margin-bottom: 64px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.lp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  text-align: left;
}

.lp-benefit-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.lp-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: #ff5d17;
}

.lp-benefit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.lp-benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 10px;
}

.lp-benefit-card p {
  font-size: 0.95rem;
  color: #6b6b76;
  line-height: 1.7;
  margin: 0;
}

/* Testimonial */
.lp-testimonial {
  background: linear-gradient(135deg, #1e2235 0%, #2d1f4e 100%);
  padding: 80px 24px;
  text-align: center;
}

.lp-testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lp-testimonial blockquote {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}

.lp-testimonial blockquote p {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.lp-testimonial blockquote cite {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-style: normal;
  font-weight: 500;
}

/* Use cases */
.lp-usecases {
  background: #fff;
  padding: 96px 24px;
}

.lp-usecases-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.lp-usecases-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.lp-usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
  text-align: left;
}

.lp-usecase-card {
  background: #f8f7f5;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.lp-usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: #ff5d17;
}

.lp-usecase-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.lp-usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 12px;
}

.lp-usecase-card > p {
  font-size: 0.93rem;
  color: #6b6b76;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lp-usecase-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.lp-usecase-card ul li {
  font-size: 0.88rem;
  color: #444;
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.5;
}

.lp-usecase-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff5d17;
  font-weight: 700;
}

.lp-usecase-cta {
  display: inline-block;
  color: #ff5d17;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: auto;
}

.lp-usecase-cta:hover {
  opacity: 0.75;
}

/* Trust section */
.lp-trust {
  background: #1e2235;
  padding: 80px 24px;
  text-align: center;
}

.lp-trust-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.lp-trust-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 52px;
  letter-spacing: -0.02em;
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.lp-trust-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: left;
}

.lp-trust-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 14px;
}

.lp-trust-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.lp-trust-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.lp-faq {
  background: #f8f7f5;
  padding: 96px 24px;
}

.lp-faq-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.lp-faq-inner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}

.lp-faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.lp-faq-item summary {
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: #1e2235;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff5d17;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.lp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq-item summary:hover {
  background: #fdf9f7;
}

.lp-faq-item p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: #6b6b76;
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid #f0efed;
}

/* Bottom CTA */
.lp-bottom-cta {
  background: linear-gradient(135deg, #ff5d17 0%, #c94500 100%);
  padding: 96px 24px;
  text-align: center;
}

.lp-bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.lp-bottom-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.2;
}

.lp-bottom-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 44px;
  line-height: 1.65;
}

.lp-bottom-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-bottom-cta .lp-btn-primary {
  background: #fff;
  color: #ff5d17;
}

.lp-bottom-cta .lp-btn-primary:hover {
  background: #fff3ee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.lp-bottom-cta .lp-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.lp-bottom-cta .lp-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.lp-bottom-cta .lp-cta-option-label {
  color: rgba(255,255,255,0.82);
}

.lp-bottom-cta-badge {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-shadow:
    0 0 8px rgba(255,255,255,0.6),
    0 0 20px rgba(255,255,255,0.35),
    0 0 40px rgba(255,200,160,0.25);
}

.lp-hero-community-badge {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #c94500;
}

.lp-hero-catalog-teaser {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lp-hero-catalog-text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(30,34,53,0.6);
  text-align: center;
}

/* Problem statement section */
.lp-problems {
  background: #fff;
  padding: 96px 24px;
}

.lp-problems-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.lp-problems-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

/* Numbered feature list */
.lp-features {
  background: #f8f7f5;
  padding: 96px 24px;
}

.lp-features-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.lp-features-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.lp-features-list {
  display: flex;
  flex-direction: column;
  margin-top: 56px;
  text-align: left;
}

.lp-feature-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #e5e5e5;
}

.lp-feature-row:first-child {
  padding-top: 0;
}

.lp-feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lp-feature-num {
  flex-shrink: 0;
  width: 56px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ff5d17;
}

.lp-feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 8px;
}

.lp-feature-content p {
  font-size: 1rem;
  color: #6b6b76;
  line-height: 1.7;
  margin: 0;
}

/* How it works section */
.lp-howto {
  background: #fff;
  padding: 96px 24px;
}

.lp-howto-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.lp-howto-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.lp-howto-steps {
  text-align: left;
  margin-top: 56px;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .lp-hero {
    padding: 72px 20px 60px;
  }
  .lp-hero h1 {
    font-size: 2.1rem;
  }
  .lp-hero p {
    font-size: 1.05rem;
  }
  .lp-benefits-inner h2,
  .lp-usecases-inner h2,
  .lp-faq-inner h2,
  .lp-bottom-cta h2,
  .lp-problems-inner h2,
  .lp-features-inner h2,
  .lp-howto-inner h2 {
    font-size: 1.75rem;
  }
  .lp-testimonial blockquote p {
    font-size: 1.4rem;
  }
  .lp-benefits { padding: 64px 20px; }
  .lp-usecases { padding: 64px 20px; }
  .lp-faq { padding: 64px 20px; }
  .lp-bottom-cta { padding: 64px 20px; }
  .lp-trust { padding: 60px 20px; }
  .lp-problems { padding: 64px 20px; }
  .lp-features { padding: 64px 20px; }
  .lp-howto { padding: 64px 20px; }
  .lp-usecases-grid { grid-template-columns: 1fr; }
  .lp-trust-grid { grid-template-columns: 1fr; }
  .lp-feature-row { gap: 16px; }
  .lp-feature-num { width: 40px; }
}

/* =============================================
   USE CASE STORIES SECTION (lp-stories-* prefix)
   ============================================= */

.lp-stories {
  background: #fff;
  padding: 100px 24px;
  border-top: 1px solid #e5e5e5;
}

.lp-stories-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.lp-stories-inner > h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.lp-story-card {
  margin-top: 52px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 48px rgba(30,34,53,0.09);
  text-align: left;
}

.lp-story-card-header {
  background: linear-gradient(135deg, #1e2235 0%, #2d1f4e 100%);
  padding: 36px 44px;
  color: #fff;
}

.lp-story-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,93,23,0.18);
  color: #ff8c55;
  border: 1px solid rgba(255,93,23,0.35);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lp-story-card-header h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lp-story-card-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 24px;
}

.lp-story-time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-story-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.lp-story-card-body {
  background: #f8f7f5;
  padding: 44px;
}

.lp-story-persona {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 36px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lp-story-persona-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-story-persona-text {
  font-size: 0.97rem;
  color: #78350f;
  line-height: 1.75;
  font-style: italic;
  margin: 0;
}

.lp-story-persona-text strong {
  font-style: normal;
  color: #92400e;
}

.lp-story-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}

.lp-story-compare-col {
  border-radius: 12px;
  padding: 24px 26px;
}

.lp-story-compare-col.before {
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.lp-story-compare-col.after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.lp-story-compare-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.lp-story-compare-col.before .lp-story-compare-label {
  color: #dc2626;
}

.lp-story-compare-col.after .lp-story-compare-label {
  color: #16a34a;
}

.lp-story-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-story-compare-list li {
  font-size: 0.9rem;
  color: #374151;
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.lp-story-compare-col.before .lp-story-compare-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

.lp-story-compare-col.after .lp-story-compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.lp-story-steps-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 20px;
}

.lp-story-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.lp-story-step {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.lp-story-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ff5d17, #c94500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 1px;
}

.lp-story-step-title {
  font-weight: 700;
  font-size: 0.97rem;
  color: #1e2235;
  margin-bottom: 4px;
}

.lp-story-step-body {
  font-size: 0.9rem;
  color: #6b6b76;
  line-height: 1.65;
}

.lp-story-step-body code {
  background: #1e2235;
  color: #e2e8f0;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.83rem;
  font-family: 'Fira Mono', 'Courier New', monospace;
}

.lp-story-result {
  background: #1e2235;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 36px;
}

.lp-story-result-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.lp-story-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.lp-story-screen-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
}

.lp-story-screen-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.lp-story-screen-flow {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lp-story-insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.lp-story-insight {
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lp-story-insight.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
}

.lp-story-insight.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
}

.lp-story-insight.danger {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
}

.lp-story-insight-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-story-insight-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 3px;
}

.lp-story-insight-body {
  font-size: 0.87rem;
  color: #6b6b76;
  line-height: 1.6;
}

.lp-story-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 12px;
}

.lp-story-cta-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* CAROUSEL */
.lp-carousel-wrapper {
  position: relative;
  margin-top: 52px;
}

.lp-carousel-track {
  position: relative;
}

.lp-carousel-slide {
  display: none;
}

.lp-carousel-slide.active {
  display: block;
  animation: lp-fade-in 0.4s ease;
}

@keyframes lp-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.lp-carousel-dots {
  display: flex;
  gap: 8px;
}

.lp-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.lp-carousel-dot.active {
  background: #6366f1;
  transform: scale(1.25);
}

.lp-carousel-btn {
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  line-height: 1;
}

.lp-carousel-btn:hover {
  border-color: #6366f1;
  color: #6366f1;
}

/* USE CASE QUICK NAV */
.lp-uc-nav {
  margin: 36px 0 48px;
  padding: 4px 0;
}

.lp-uc-nav-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.lp-uc-nav-label span {
  color: #6366f1;
}

.lp-uc-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-uc-nav-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #fff;
  border: 1.5px solid #e0e0f0;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(30,34,53,0.05);
}

.lp-uc-nav-item:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 18px rgba(99,102,241,0.13);
  transform: translateY(-1px);
}

.lp-uc-nav-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6366f1;
  background: rgba(99,102,241,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  min-width: 110px;
  text-align: center;
}

.lp-uc-nav-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1e2235;
  flex: 1;
}

.lp-uc-nav-meta {
  font-size: 0.8rem;
  color: #6b6b76;
  white-space: nowrap;
}

.lp-uc-nav-arrow {
  color: #6366f1;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.lp-uc-nav-item:hover .lp-uc-nav-arrow {
  transform: translateX(3px);
}

/* end USE CASE QUICK NAV */

.lp-stories-more {
  margin-top: 48px;
  font-size: 0.95rem;
  color: #9ca3af;
}

.lp-stories-more a {
  color: #ff5d17;
  text-decoration: none;
  font-weight: 600;
}

.lp-stories-more a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lp-stories { padding: 64px 20px; }
  .lp-stories-inner > h2 { font-size: 1.85rem; }
  .lp-story-card-header { padding: 28px 24px; }
  .lp-story-card-header h3 { font-size: 1.5rem; }
  .lp-story-card-body { padding: 28px 24px; }
  .lp-uc-nav-item { flex-wrap: wrap; gap: 6px; }
  .lp-uc-nav-tag { min-width: unset; }
  .lp-uc-nav-meta { width: 100%; }
  .lp-story-compare { grid-template-columns: 1fr; }
  .lp-story-result-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   END LANDING PAGE SECTIONS
   ============================================= */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

:root {
    --primary-color: #ff5d17;
    --primary-hover: #e54d0d;
    --secondary-color: #1e2235;
    --text-color: #1a1a1a;
    --text-muted: #6b6b76;
    --text-light: #d0d1db;
    --light-bg: #f8f7f5;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --nav-width: 280px;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: #f0f0f0;
    font-size: 1rem;
}

/* Top Notification Bar */
.top-notification {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 10px 16px;
}

.top-notification a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.top-notification a:hover {
    color: var(--primary-color);
}

/* Top Header Navigation */
.top-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.header-logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.header-logo a:hover {
    color: var(--primary-color);
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.header-menu li {
    margin: 0;
}

.header-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
    display: block;
}

.header-menu a:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.header-menu a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.header-menu a.highlight {
    background-color: rgba(255, 93, 23, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}

.header-menu a.highlight:hover {
    background-color: rgba(255, 93, 23, 0.2);
    color: var(--primary-color);
}

.header-menu a.highlight.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Expandable "What is this about" nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
    background-color: var(--light-bg);
}

.nav-dropdown-caret {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    max-width: calc(100vw - 32px);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(30, 34, 53, 0.16);
    padding: 22px;
    overflow: hidden;
    z-index: 1100;
}

.nav-dropdown.open .nav-dropdown-panel {
    display: block;
    animation: nav-panel-in 0.18s ease-out;
}

.nav-dropdown-panel-narrow {
    width: 220px;
    padding: 10px;
}

.nav-dropdown-grid-single {
    grid-template-columns: 1fr;
}

@keyframes nav-panel-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nav-dropdown-notes .nav-mini-note {
    width: 92px;
    font-size: 0.65rem;
    padding: 7px 8px 8px;
    box-shadow: 0 8px 16px rgba(30, 34, 53, 0.12), 0 2px 4px rgba(30, 34, 53, 0.08);
    opacity: 0.5;
}

.nav-dropdown-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nav-dropdown-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    background: var(--light-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nav-dropdown-tile:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(30, 34, 53, 0.1);
}

.nav-dropdown-tile-icon {
    font-size: 1.3rem;
}

.nav-dropdown-tile-icon-img {
    width: 22px;
    height: 30px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(30, 34, 53, 0.3);
}

.nav-dropdown-tile-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.nav-dropdown-tile-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .nav-dropdown-notes .nav-mini-note {
        animation: none;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Landing Page Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #3a4580 0%, #1e2235 50%, #2d1f4e 100%);
    color: var(--white) !important;
    padding: 60px 24px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero * {
    color: var(--white) !important;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
}

.hero h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    margin-top: 24px;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 93, 23, 0.3);
}

/* Video Section */
.video-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: inherit;
    font-weight: 700;
}

.newsletter-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 300px;
    padding: 48px;
    overflow: visible;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50.625%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card-shadow-hover);
    background: var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.workshop-link {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    background-color: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.workshop-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Documentation Layout */
.doc-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--nav-width);
    background-color: var(--light-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    padding: 24px 0;
    top: 0;
    left: 0;
}

.sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.sidebar-header h2 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.sidebar-header a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-header a:hover {
    color: var(--primary-color);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 2px;
}

.nav-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-menu a:hover {
    background-color: rgba(255, 93, 23, 0.05);
    color: var(--primary-color);
}

.nav-menu a.active {
    background-color: rgba(255, 93, 23, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

/* Nested navigation */
.nav-menu .nav-submenu {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.nav-menu .nav-submenu li {
    margin-bottom: 0;
}

.nav-menu .nav-submenu a {
    padding-left: 40px;
    font-size: 0.9em;
    border-left-width: 2px;
}

.nav-menu .nav-submenu a:hover {
    background-color: rgba(255, 93, 23, 0.03);
}

/* Nested submenus (third level) */
.nav-menu .nav-submenu .nav-submenu a {
    padding-left: 56px;
    font-size: 0.85em;
}

.content-wrapper {
    flex: 1;
}

.doc-layout.has-sidebar .content-wrapper {
    margin-left: var(--nav-width);
}

.doc-content {
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.doc-content h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.doc-content h2 {
    color: var(--secondary-color);
    margin-top: 48px;
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: 700;
}

.doc-content h3 {
    color: var(--secondary-color);
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 600;
}

.doc-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.doc-content ul,
.doc-content ol {
    margin-bottom: 20px;
    margin-left: 24px;
}

.doc-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.doc-content code {
    background-color: var(--light-bg);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.doc-content pre {
    background-color: var(--secondary-color);
    color: #e5e5e5;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
}

.doc-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.doc-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
    margin: 24px 0;
    color: var(--text-muted);
    font-style: italic;
}

.doc-content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.doc-content table th,
.doc-content table td {
    padding: 14px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.doc-content table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--secondary-color);
}

/* Info Boxes */
.info-box {
    background-color: rgba(255, 93, 23, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.success-box {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.error-box {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
}

/* Topic Tiles for Hub Pages */
.topic-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.topic-tile {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
    color: inherit;
}

.topic-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.topic-tile-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.topic-tile h3 {
    color: var(--secondary-color);
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.topic-tile p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.topic-intro {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid var(--primary-color);
}

.topic-intro p {
    margin-bottom: 0;
}

/* Blog Tiles */
.blog-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.blog-tile {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
    color: inherit;
    overflow: hidden;
}

.blog-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.blog-tile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-bg);
}

.blog-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.blog-tile:hover .blog-tile-image img {
    transform: scale(1.05);
}

.blog-tile-content {
    padding: 28px;
}

.blog-tile-content h3 {
    color: var(--secondary-color);
    margin: 0 0 12px 0;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-tile-subtitle {
    color: var(--text-muted);
    margin: 0 0 16px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-tile-meta {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Blog Post Content */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.blog-post-header {
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
}

.blog-post-header h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.blog-post-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-post-featured-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 48px;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.blog-post-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-post-content h2 {
    color: var(--secondary-color);
    margin-top: 48px;
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: 700;
}

.blog-post-content h3 {
    color: var(--secondary-color);
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 600;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    margin-left: 24px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.blog-back-link:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 48px 24px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.footer-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-width: 0;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .header-menu {
        display: none;
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        padding: 16px;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }

    .header-menu.open {
        display: flex;
    }

    .header-menu li {
        margin-bottom: 4px;
    }

    .header-menu a {
        padding: 14px 16px;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .nav-dropdown-panel {
        display: none;
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        box-shadow: none;
        border: none;
        padding: 10px 4px 4px;
        margin-top: 4px;
    }

    .nav-dropdown.open .nav-dropdown-panel {
        animation: none;
    }

    .nav-dropdown-notes {
        display: none;
    }

    .nav-dropdown-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 1000;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content-wrapper {
        margin-left: 0;
    }

    .doc-content {
        padding: 24px 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 60px 20px;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .video-section {
        padding: 40px 16px;
    }

    .video-section h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .video-container {
        border-radius: 12px;
    }

    .blog-tiles {
        grid-template-columns: 1fr;
    }
}

/* Important Privacy Notice */
.privacy {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 24px;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 32px 0 24px 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Course CTA Section */
.course-cta {
    background: var(--secondary-color);
    color: white;
    padding: 48px;
    border-radius: 16px;
    margin: 48px 0 32px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.course-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.course-cta .cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.course-cta .cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 93, 23, 0.4);
}

@media (max-width: 768px) {
    .course-cta {
        padding: 32px 24px;
        margin: 32px 0 24px 0;
    }

    .course-cta h3 {
        font-size: 1.25rem;
    }

    .course-cta p {
        font-size: 1rem;
    }

    .course-cta .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Related Posts Section */
.related-posts {
    margin: 64px 0 32px 0;
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}

.related-posts h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--secondary-color);
    font-weight: 700;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.related-post-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--card-shadow);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-bg);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 24px;
}

.related-post-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.4;
    font-weight: 600;
}

.related-post-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.related-post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .related-posts {
        margin: 48px 0 24px 0;
        padding: 32px 0;
    }

    .related-posts h2 {
        font-size: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-post-image {
        height: 150px;
    }

    .related-post-content {
        padding: 20px;
    }

    .related-post-content h3 {
        font-size: 1.1rem;
    }
}
/* =============================================
   CHEAT SHEET PAGE (cs-* prefix)
   ============================================= */

.cs-page {
  --cs-event-bg: #ffd8b0;
  --cs-event-border: #ff9d4d;
  --cs-event-text: #7a3610;
  --cs-command-bg: #bfe3fb;
  --cs-command-border: #5fb3e8;
  --cs-command-text: #0b4a6b;
  --cs-readmodel-bg: #bdeecb;
  --cs-readmodel-border: #5dc98a;
  --cs-readmodel-text: #14532d;
  --cs-screen-bg: #f4f4f5;
  --cs-screen-border: #c7c9cf;
  --cs-screen-text: #374151;
  --cs-automation-bg: #e5e7eb;
  --cs-automation-border: #9ca3af;
  --cs-automation-text: #1f2937;
  --cs-translation-bg: #fde68a;
  --cs-translation-border: #f0b429;
  --cs-translation-text: #78350f;
}

.cs-section {
  padding: 80px 24px;
  border-top: 1px solid #e5e5e5;
}

.cs-section:nth-of-type(odd) {
  background: #fff;
}

.cs-section:nth-of-type(even) {
  background: #f8f7f5;
}

.cs-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cs-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.cs-section-head h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1e2235;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cs-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5d17;
  margin-bottom: 12px;
}

.cs-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 8px;
}

/* Author feature block */
.cs-author-block {
  display: flex;
  align-items: center;
  gap: 48px;
}

.cs-author-cover {
  flex: 0 0 220px;
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cs-author-text {
  flex: 1;
}

.cs-author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.cs-author-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff5ee;
  border: 1px solid #ffd8bd;
  color: #c2410c;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .cs-author-block {
    flex-direction: column;
    text-align: center;
  }
  .cs-author-stats {
    justify-content: center;
  }
}

/* Quote grid (testimonials) */
.cs-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cs-quote-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #ff5d17;
  border-radius: 10px;
  padding: 24px;
  margin: 0;
}

.cs-quote-card p {
  font-size: 0.98rem;
  color: #2f2f38;
  line-height: 1.7;
  margin: 0 0 14px;
}

.cs-quote-card cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Elements */
.cs-elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.cs-element-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  font: inherit;
}

.cs-element-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.cs-element-swatch {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.cs-element-card[data-el="event"] .cs-element-swatch { background: var(--cs-event-bg); border-color: var(--cs-event-border); }
.cs-element-card[data-el="command"] .cs-element-swatch { background: var(--cs-command-bg); border-color: var(--cs-command-border); }
.cs-element-card[data-el="readmodel"] .cs-element-swatch { background: var(--cs-readmodel-bg); border-color: var(--cs-readmodel-border); }
.cs-element-card[data-el="screen"] .cs-element-swatch { background: var(--cs-screen-bg); border-color: var(--cs-screen-border); }
.cs-element-card[data-el="automation"] .cs-element-swatch { background: var(--cs-automation-bg); border-color: var(--cs-automation-border); }

.cs-element-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 6px;
}

.cs-element-card p.cs-element-short {
  font-size: 0.88rem;
  color: #6b6b76;
  line-height: 1.55;
  margin: 0;
}

.cs-element-more {
  display: none;
  font-size: 0.87rem;
  color: #4b4b55;
  line-height: 1.65;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e5e5e5;
}

.cs-element-card.open .cs-element-more {
  display: block;
}

.cs-element-toggle {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff5d17;
  margin-top: 12px;
  display: inline-block;
}

/* Tabs (patterns) */
.cs-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.cs-tab-btn {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b4b55;
  cursor: pointer;
  transition: all 0.2s;
}

.cs-tab-btn:hover {
  border-color: #ff5d17;
  color: #ff5d17;
}

.cs-tab-btn.active {
  background: linear-gradient(135deg, #ff5d17, #c94500);
  border-color: transparent;
  color: #fff;
}

.cs-tab-panel {
  display: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 36px;
}

.cs-tab-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.cs-tab-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e2235;
  margin-bottom: 6px;
}

.cs-tab-goal {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.cs-tab-panel p {
  font-size: 0.95rem;
  color: #4b4b55;
  line-height: 1.75;
  margin: 0;
}

.cs-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #f8f7f5;
  border-radius: 12px;
  padding: 28px 16px;
}

.cs-diagram-box {
  border-radius: 8px;
  border: 2px solid;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  min-width: 76px;
}

.cs-diagram-box.event { background: var(--cs-event-bg); border-color: var(--cs-event-border); color: var(--cs-event-text); }
.cs-diagram-box.command { background: var(--cs-command-bg); border-color: var(--cs-command-border); color: var(--cs-command-text); }
.cs-diagram-box.readmodel { background: var(--cs-readmodel-bg); border-color: var(--cs-readmodel-border); color: var(--cs-readmodel-text); }
.cs-diagram-box.screen { background: var(--cs-screen-bg); border-color: var(--cs-screen-border); color: var(--cs-screen-text); }
.cs-diagram-box.automation { background: var(--cs-automation-bg); border-color: var(--cs-automation-border); color: var(--cs-automation-text); }
.cs-diagram-box.translation { background: var(--cs-translation-bg); border-color: var(--cs-translation-border); color: var(--cs-translation-text); }

.cs-diagram-arrow {
  color: #9ca3af;
  font-size: 1.2rem;
}

/* Scenario cards */
.cs-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cs-scenario-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
}

.cs-scenario-head {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.cs-scenario-card.state-change .cs-scenario-head { background: linear-gradient(135deg,#3a4580,#1e2235); }
.cs-scenario-card.state-view .cs-scenario-head { background: linear-gradient(135deg,#16a34a,#14532d); }
.cs-scenario-card.error .cs-scenario-head { background: linear-gradient(135deg,#dc2626,#7f1d1d); }

.cs-scenario-body {
  padding: 18px 20px 22px;
}

.cs-scenario-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.cs-scenario-row:last-child { margin-bottom: 0; }

.cs-scenario-kw {
  flex-shrink: 0;
  width: 58px;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  padding-top: 3px;
}

.cs-scenario-chip {
  border-radius: 6px;
  border: 1px solid;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.cs-scenario-example {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e5e5e5;
  font-size: 0.83rem;
  color: #6b6b76;
  font-style: italic;
  line-height: 1.6;
}

/* Anti-patterns accordion */
.cs-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-accordion-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 6px 22px;
}

.cs-accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: #1e2235;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cs-accordion-item summary::-webkit-details-marker { display: none; }

.cs-accordion-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-accordion-nick {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fff5f5;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 100px;
  padding: 3px 10px;
}

.cs-accordion-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #ff5d17;
  flex-shrink: 0;
}

.cs-accordion-item[open] summary::after {
  content: "–";
}

.cs-accordion-body {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: #4b4b55;
  line-height: 1.75;
  overflow: hidden;
}

.cs-accordion-body .cs-diagram {
  margin-top: 14px;
}

/* Flow */
.cs-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cs-flow-node {
  border-radius: 10px;
  border: 2px solid;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s;
  background: #fff;
}

.cs-flow-node:hover, .cs-flow-node.active {
  transform: translateY(-3px);
}

.cs-flow-desc {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 0.92rem;
  color: #4b4b55;
  line-height: 1.7;
  min-height: 30px;
  text-align: center;
}

.cs-flow-desc strong { color: #1e2235; }

/* Workshop steps accordion (reuses lp-story-step look) */
.cs-workshop-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 4px 22px;
  margin-bottom: 12px;
}

.cs-workshop-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-workshop-item summary::-webkit-details-marker { display: none; }

.cs-workshop-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ff5d17, #c94500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.cs-workshop-title {
  font-weight: 700;
  color: #1e2235;
  font-size: 1rem;
  flex: 1;
}

.cs-workshop-goal {
  font-size: 0.76rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}

.cs-workshop-item summary::after {
  content: "→";
  color: #ff5d17;
  font-weight: 700;
  transition: transform 0.2s;
}

.cs-workshop-item[open] summary::after {
  transform: rotate(90deg);
}

.cs-workshop-body {
  padding: 0 0 22px 50px;
  font-size: 0.9rem;
  color: #4b4b55;
  line-height: 1.75;
  overflow: hidden;
}

.cs-workshop-ask {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e2235;
  margin-top: 28px;
  line-height: 1.6;
}

/* Checklist (facilitation + 20 rules) */
.cs-progress-bar-wrap {
  max-width: 420px;
  margin: 0 auto 40px;
}

.cs-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b6b76;
  margin-bottom: 8px;
}

.cs-progress-track {
  background: #e5e5e5;
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
}

.cs-progress-fill {
  background: linear-gradient(135deg, #ff5d17, #c94500);
  height: 100%;
  width: 0%;
  transition: width 0.3s;
  border-radius: 100px;
}

.cs-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.cs-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.cs-check-item:hover {
  border-color: #ff5d17;
}

.cs-check-item input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #ff5d17;
  width: 16px;
  height: 16px;
}

.cs-check-item span {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
}

.cs-check-item.checked {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.cs-check-item.checked span {
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-color: #bbf7d0;
}

.cs-quote-callout {
  text-align: center;
  margin-top: 36px;
  padding: 28px;
  background: linear-gradient(135deg, #1e2235 0%, #2d1f4e 100%);
  border-radius: 14px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.cs-interactive-link-wrap {
  text-align: center;
  margin-top: 28px;
}

.cs-interactive-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff8c55;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
}

.cs-interactive-link:hover {
  text-decoration: underline;
}

/* Notations */
.cs-notation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cs-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f1ec;
}

.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cs-gallery-item:hover img {
  transform: scale(1.05);
}

.cs-notation-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
}

.cs-notation-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 10px;
}

.cs-notation-card p {
  font-size: 0.87rem;
  color: #6b6b76;
  line-height: 1.65;
  margin: 0 0 12px;
}

.cs-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-status-pill {
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: default;
  border: 1px solid;
  position: relative;
}

.cs-status-pill[data-status="created"] { background:#eef2ff; border-color:#c7d2fe; color:#4338ca; }
.cs-status-pill[data-status="done"] { background:#f0fdf4; border-color:#bbf7d0; color:#16a34a; }
.cs-status-pill[data-status="assigned"] { background:#eff6ff; border-color:#bfdbfe; color:#2563eb; }
.cs-status-pill[data-status="inprogress"] { background:#fefce8; border-color:#fde68a; color:#a16207; }
.cs-status-pill[data-status="review"] { background:#f4f4f5; border-color:#d4d4d8; color:#52525b; }
.cs-status-pill[data-status="blocked"] { background:#fff5f5; border-color:#fecaca; color:#dc2626; }
.cs-status-pill[data-status="planned"] { background:#f5f3ff; border-color:#ddd6fe; color:#7c3aed; }
.cs-status-pill[data-status="informational"] { background:#f0f9ff; border-color:#bae6fd; color:#0369a1; }

.cs-status-pill[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e2235;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 10;
}

/* Code blocks with copy */
.cs-code-block {
  background: #1e2235;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cs-code-block code {
  color: #e2e8f0;
  font-family: 'Fira Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  overflow-x: auto;
  white-space: nowrap;
}

.cs-copy-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cs-copy-btn:hover {
  background: rgba(255,255,255,0.2);
}

.cs-copy-btn.copied {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

/* Resources */
.cs-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cs-resource-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cs-resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.cs-resource-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.cs-resource-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e2235;
  margin-bottom: 3px;
}

.cs-resource-card span {
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .cs-section { padding: 56px 20px; }
  .cs-tab-panel.active { grid-template-columns: 1fr; }
  .cs-workshop-goal { display: none; }
  .cs-workshop-body { padding-left: 0; }
  .cs-accordion-body img.cs-fig,
  .cs-workshop-body img.cs-fig,
  .cs-notation-card img.cs-fig {
    float: none !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
  }
}

.cs-fig {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.cs-fig-wrap {
  margin-top: 16px;
}

.cs-fig-caption {
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cs-hero-pdf-hint {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}

.cs-hero-pdf-hint a {
  color: #ff8c55;
  font-weight: 700;
  text-decoration: none;
}

.cs-hero-pdf-hint a:hover {
  text-decoration: underline;
}

/* Static (read-only) rule list */
.cs-static-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.cs-check-item-static {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 16px;
}

.cs-check-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f8f7f5;
  border: 1px solid #e5e5e5;
  color: #ff5d17;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.cs-check-item-static span:last-child {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
}

/* Lightbox for cs-fig images */
img.cs-fig {
  cursor: zoom-in;
}

.cs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,17,24,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 24px;
  cursor: zoom-out;
}

.cs-lightbox.open {
  display: flex;
}

.cs-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

/* Vertical pattern diagrams (match the cheat sheet's actual top-to-bottom layout) */
.cs-diagram-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #f8f7f5;
  border-radius: 12px;
  padding: 26px 20px;
}

.cs-diagram-arrow-v {
  color: #9ca3af;
  font-size: 1.15rem;
  line-height: 1;
  padding: 2px 0;
}

.cs-diagram-gear {
  font-size: 1.7rem;
  margin-bottom: 2px;
}

.cs-diagram-split {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.cs-diagram-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cs-diagram-box.screen-box {
  background: var(--cs-screen-bg);
  border-color: var(--cs-screen-border);
  color: var(--cs-screen-text);
  min-width: 68px;
}

.cs-diagram-box.event-translation {
  background: var(--cs-translation-bg);
  border-color: var(--cs-translation-border);
  color: var(--cs-translation-text);
}

.cs-why {
  font-size: 0.95rem;
  color: #4b4b55;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 18px;
  line-height: 1.65;
}

.cs-why strong {
  font-style: normal;
  color: #ff5d17;
  font-weight: 700;
}
