:root {
  color-scheme: light;
  --cc-bg: #f5f5f5;
  --cc-bg-secondary: #ffffff;
  --cc-surface: #ffffff;
  --cc-border: rgba(20, 20, 20, 0.08);
  --cc-text: #121212;
  --cc-text-muted: rgba(18, 18, 18, 0.6);
  --cc-accent: #3b5769;
  --cc-accent-strong: #1e2a32;
  --cc-pill-bg: rgba(59, 87, 105, 0.18);
  --cc-pill-soft: rgba(59, 87, 105, 0.12);
  --cc-success: #43b0aa;
  --cc-danger: #d97766;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cc-bg);
  color: var(--cc-text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

.cc-page {
  min-height: 100vh;
  background: var(--cc-bg);
}

.cc-container {
  max-width: 1440px;
  padding: 0 32px;
  margin: 0 auto;
}

.cc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--cc-border);
}

.cc-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cc-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cc-logo__image {
  display: block;
  height: 28px;
  width: auto;
}

.cc-nav__wrap {
  display: flex;
}

.cc-nav__list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-nav__link {
  padding: 8px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--cc-text-muted);
}

.cc-nav__item.is-current .cc-nav__link {
  color: var(--cc-text);
}

.cc-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.cc-header__language {
  position: relative;
  margin-left: 12px;
}

.cc-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.9);
  color: #1e293b;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cc-language-toggle:hover,
.cc-language-toggle:focus {
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.16);
  outline: none;
}

.cc-language-icon {
  font-size: 9px;
  color: #64748b;
}

.cc-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  background: linear-gradient(135deg, #ffffff, #f7faff);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.cc-language-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cc-language-menu a {
  display: block;
  padding: 8px 18px;
  color: #1f2937;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cc-language-menu a:hover,
.cc-language-menu a.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.cc-language-menu li {
  list-style: none;
}

.cc-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  font-weight: 600;
  font-size: 14px;
  background: var(--cc-bg-secondary);
  color: var(--cc-accent-strong);
}

.cc-header__cta--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--cc-accent-strong);
}

.cc-header__cta:not(.cc-header__cta--ghost):hover {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.15);
}

.cc-header__cta--ghost:hover {
  color: var(--cc-accent);
}

.cc-main {
  padding-top: 48px;
}

.cc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cc-pill-bg);
  color: var(--cc-accent-strong);
  font-weight: 600;
}

.cc-pill--soft {
  background: var(--cc-pill-soft);
  color: var(--cc-accent-strong);
}

.cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cc-button--primary {
  background: var(--cc-accent);
  color: #ffffff;
}

.cc-button--ghost {
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: transparent;
  color: var(--cc-accent-strong);
}

.cc-button:hover {
  transform: translateY(-1px);
}

.cc-hero {
  position: relative;
  padding: 60px 0 80px;
  background: var(--cc-bg);
}

.cc-hero__glow {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.cc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.cc-hero__title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 24px 0 18px;
  font-weight: 800;
}

.cc-hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cc-text-muted);
  margin-bottom: 28px;
}

.cc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cc-hero__note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(59, 87, 105, 0.12);
  color: var(--cc-accent-strong);
  font-size: 14px;
}

.cc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cc-success);
}

.cc-terminal {
  background: linear-gradient(135deg, #f8fbff, #eef2f8);
  border-radius: 18px;
  border: 1px solid rgba(163, 178, 201, 0.45);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(20, 35, 60, 0.18);
}

.cc-terminal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(125deg, rgba(225, 232, 243, 0.94), rgba(209, 220, 235, 0.94));
  border-bottom: 1px solid rgba(163, 178, 201, 0.45);
}

.cc-terminal__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.cc-terminal__content {
  margin: 0;
  padding: 22px 26px;
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.65;
  color: #1e293b;
  white-space: pre-wrap;
  background: linear-gradient(150deg, rgba(248, 250, 252, 0.9), rgba(236, 241, 247, 0.92));
}


.cc-section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.cc-section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 16px 0 12px;
}

.cc-section-heading p {
  color: var(--cc-text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.cc-feature-grid {
  padding: 80px 0;
}

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

.cc-card {
  padding: 32px;
  background: var(--cc-surface);
  border-radius: 24px;
  border: 1px solid var(--cc-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: none;
}

.cc-card h3 {
  font-size: 22px;
  margin: 0;
}

.cc-card p {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.cc-card__badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cc-pill-bg);
  color: var(--cc-accent-strong);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cc-workflow {
  padding: 80px 0;
}

.cc-workflow__wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.cc-workflow__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cc-terminal-demo {
  width: min(880px, 100%);
  min-height: 420px;
  margin: 0;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.6);
  background: linear-gradient(135deg, #f8fbff, #eef2f8);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 20px;
  line-height: 1.55;
  color: #1e293b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.term-line {
  white-space: pre-wrap;
}

.term-line.term-prompt {
  color: #2563eb;
}

.term-line.term-command {
  color: #b45309;
}

.term-line.term-result {
  color: #0f172a;
}

.term-line.term-info {
  color: #475569;
}

.term-line.term-alert {
  color: #dc2626;
  font-weight: 600;
}

.cc-terminal-frame {
  width: min(1040px, 100%);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(242, 246, 252, 0.95), rgba(228, 236, 246, 0.95));
  border: 1px solid rgba(196, 206, 220, 0.5);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.cc-terminal-frame__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(233, 239, 247, 0.9);
  border-bottom: 1px solid rgba(196, 206, 220, 0.5);
}

.cc-terminal-frame__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow:
    14px 0 0 #cbd5f5,
    28px 0 0 #d4d4d8;
}

.cc-terminal-frame__title {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(45, 55, 72, 0.88);
}

.cc-terminal-frame__body {
  background: linear-gradient(170deg, rgba(242, 247, 254, 0.96), rgba(229, 236, 247, 0.96));
}

.cc-terminal-frame__body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  min-height: 360px;
  object-fit: cover;
}

.cc-terminal-frame--hero {
  margin: 0 auto;
  max-width: 640px;
  box-shadow: 0 24px 48px rgba(59, 87, 105, 0.15), 0 8px 16px rgba(59, 87, 105, 0.08);
  border: 1px solid rgba(163, 178, 201, 0.5);
}

.cc-terminal-frame--hero .cc-terminal-frame__header {
  background: linear-gradient(125deg, rgba(225, 232, 243, 0.98), rgba(209, 220, 235, 0.98));
  border-bottom: 1px solid rgba(163, 178, 201, 0.5);
  padding: 12px 18px;
}

.cc-terminal-frame--hero .cc-terminal-frame__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.cc-terminal-frame--hero .cc-terminal-frame__body {
  background: linear-gradient(170deg, rgba(248, 251, 255, 0.98), rgba(236, 242, 250, 0.98));
  padding: 0;
}

.cc-terminal-frame--hero .cc-terminal-frame__body img {
  border-radius: 0 0 17px 17px;
  max-height: 480px;
  object-fit: contain;
  background: linear-gradient(170deg, rgba(248, 251, 255, 1), rgba(236, 242, 250, 1));
}

.term-line.term-spacer {
  height: 16px;
}

.cc-workflow__media img {
  border-radius: 28px;
  border: 1px solid var(--cc-border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.cc-workflow__diagram {
  margin: 0;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  border: 1px solid var(--cc-border);
  background: var(--cc-bg-secondary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
}

.beta-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.beta-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.beta-modal__overlay {
  position: absolute;
  inset: 0;
}

.beta-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(140deg, #ffffff, #f3f6fb);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(182, 196, 216, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.beta-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.beta-modal__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 32px);
  color: #0f172a;
}

.beta-modal__intro {
  margin: 0 0 24px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.beta-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.beta-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #0f172a;
  font-size: 14px;
}

.beta-form__field span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.beta-form__field input,
.beta-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-form__field input:focus,
.beta-form__field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.beta-form__field textarea {
  resize: vertical;
}

.beta-form__field--full {
  width: 100%;
}

.beta-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

.beta-form__checkbox input {
  margin-top: 4px;
}

.beta-form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.beta-form__feedback {
  margin: 0;
  font-size: 14px;
  min-height: 18px;
}

.beta-form__feedback--success {
  color: #0f766e;
}

.beta-form__feedback--error {
  color: #dc2626;
}

.beta-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .beta-modal__dialog {
    padding: 24px;
  }

  .beta-form__row {
    grid-template-columns: 1fr;
  }

  .beta-form__actions {
    flex-direction: column;
  }

  .beta-form__actions .cc-button {
    width: 100%;
  }
}
.cc-workflow__content h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  margin: 12px 0 20px;
}

.cc-workflow__content ul {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cc-workflow__content li {
  position: relative;
  padding-left: 28px;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.cc-workflow__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cc-accent);
}

.cc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cc-integrations {
  padding: 80px 0;
}

.cc-integrations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cc-integrations__item {
  border-radius: 20px;
  padding: 24px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  min-height: 160px;
}

.cc-integrations__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cc-pill-bg);
  font-weight: 600;
  color: var(--cc-accent-strong);
  margin-bottom: 16px;
}

.cc-integrations__item p {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.cc-scenarios {
  padding: 80px 0;
}

.cc-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.cc-scenarios__grid article {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
}

.cc-scenarios__grid h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.cc-scenarios__grid p {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.cc-blog {
  padding: 80px 0 60px;
}

.cc-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cc-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
}

.cc-blog-card__image img {
  border-radius: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.cc-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-blog-card__tags,
.cc-blog-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cc-accent-strong);
  width: fit-content;
}

.cc-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--cc-text-muted);
}

.cc-blog__actions {
  margin-top: 40px;
  text-align: center;
}

.cc-cta-block {
  padding: 90px 0 120px;
}

.cc-cta-block__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.cc-cta-block__inner h2 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.5vw, 40px);
}

.cc-cta-block__inner p {
  margin: 0;
  color: var(--cc-text-muted);
  max-width: 440px;
}

.cc-cta-block__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-footer {
  border-top: 1px solid var(--cc-border);
  background: var(--cc-bg-secondary);
  margin-top: 80px;
}

.cc-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}

.cc-footer__description {
  max-width: 280px;
  color: var(--cc-text-muted);
}

.cc-footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 40px;
}

.cc-footer__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cc-text);
}

.cc-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--cc-text-muted);
  font-size: 14px;
}

.cc-footer__meta {
  border-top: 1px solid var(--cc-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 24px 32px 40px;
  font-size: 13px;
  color: var(--cc-text-muted);
}

.cc-footer__meta-links {
  display: flex;
  gap: 16px;
}

.cc-archive-hero {
  padding: 120px 0 60px;
}

.cc-archive-hero__title {
  font-size: clamp(36px, 5vw, 54px);
  margin: 16px 0 12px;
}

.cc-archive-hero__description {
  max-width: 640px;
  color: var(--cc-text-muted);
  font-size: 18px;
}

.cc-archive {
  padding: 40px 0 80px;
}

.cc-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cc-pagination {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.cc-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--cc-border);
  color: var(--cc-text);
}

.cc-pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.cc-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

.cc-post__header h1 {
  font-size: clamp(42px, 5vw, 60px);
  margin: 20px 0 16px;
}

.cc-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cc-text-muted);
  font-size: 14px;
}

.cc-post__feature {
  margin: 40px 0;
}

.cc-post__feature img {
  width: 100%;
  border-radius: 28px;
}

.cc-post__feature figcaption {
  margin-top: 12px;
  color: var(--cc-text-muted);
  font-size: 13px;
  text-align: center;
}

.cc-post__content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--cc-text);
}

.cc-post__content h2,
.cc-post__content h3,
.cc-post__content h4 {
  color: var(--cc-text);
}

.cc-post__content pre {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid var(--cc-border);
}

.cc-post__content code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.cc-post__footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--cc-border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cc-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--cc-border);
  font-size: 13px;
}

.cc-post__share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--cc-text-muted);
}

.cc-post__author-card {
  margin-top: 48px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--cc-border);
  background: var(--cc-bg-secondary);
  display: flex;
  gap: 24px;
  align-items: center;
}

.cc-post__author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--cc-border);
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cc-text-muted);
  text-align: center;
  padding: 8px;
}

.cc-post__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-post__author-details h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cc-post__author-details p {
  margin: 0 0 16px;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.cc-post__author-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cc-post__sidebar {
  max-width: 360px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.cc-post__cta {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.cc-post__form {
  display: grid;
  gap: 12px;
}

.cc-post__form input {
  border-radius: 999px;
  border: 1px solid var(--cc-border);
  padding: 12px 18px;
  background: var(--cc-bg-secondary);
  color: var(--cc-text);
  font-size: 15px;
}

.cc-post__form button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  background: var(--cc-accent);
  color: #ffffff;
  cursor: pointer;
}

.cc-post__form-success,
.cc-post__form-error {
  display: none;
  font-size: 13px;
}

form[data-members-form="subscribe"].success .cc-post__form-success {
  display: block;
  color: var(--cc-success);
}

form[data-members-form="subscribe"].error .cc-post__form-error {
  display: block;
  color: var(--cc-danger);
}

.cc-related {
  padding: 80px 0;
}

.cc-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cc-related__grid article {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
}

.cc-related__grid h3 {
  margin-top: 0;
}

.cc-related__grid p {
  color: var(--cc-text-muted);
  margin: 0;
}

.cc-page-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 32px 120px;
}

.cc-page-article__header h1 {
  font-size: clamp(42px, 5vw, 56px);
  margin-bottom: 24px;
}

.cc-page-article__content {
  font-size: 18px;
  color: var(--cc-text);
  line-height: 1.75;
}

.cc-page-article__feature {
  margin-bottom: 32px;
}

.cc-author {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cc-author__avatar {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--cc-border);
}

.cc-author__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--cc-text-muted);
}

.cc-link {
  color: var(--cc-accent);
  font-weight: 600;
}

.cc-archive__grid .cc-blog-card:nth-child(odd) {
  background: var(--cc-surface);
}

.cc-blog-card h2,
.cc-blog-card h3 {
  margin: 0;
  font-size: 20px;
}

.kg-width-wide {
  width: min(960px, 100%);
  margin: 48px auto;
}

.kg-width-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-gallery-card {
  margin: 48px auto;
}

.kg-gallery-container {
  display: grid;
  gap: 16px;
}

.kg-gallery-row {
  display: flex;
  gap: 16px;
}

.kg-gallery-image img {
  width: 100%;
}

.kg-embed-card,
.kg-bookmark-card,
.kg-product-card,
.kg-toggle-card {
  margin: 40px auto;
  border-radius: 20px;
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
  overflow: hidden;
}

.kg-font-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.kg-font-serif {
  font-family: "Georgia", "Times New Roman", serif;
}

@media (max-width: 960px) {
  .cc-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cc-header__actions {
    order: 3;
  }

  .cc-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cc-hero__actions {
    justify-content: center;
  }

  .cc-hero__note {
    justify-content: center;
  }

  .cc-workflow__wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cc-workflow__media {
    align-items: stretch;
  }

  .cc-workflow__content ul {
    text-align: left;
  }

  .cc-cta-block__inner {
    flex-direction: column;
    text-align: center;
  }

  .cc-cta-block__actions {
    width: 100%;
  }

  .cc-cta-block__actions .cc-button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .cc-container {
    padding: 0 20px;
  }

  .cc-header__inner {
    padding: 16px 20px;
  }

  .cc-logo__image {
    height: 24px;
  }

  .cc-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .cc-card,
  .cc-scenarios__grid article,
  .cc-integrations__item {
    padding: 24px;
  }

  .cc-blog-card__image img {
    height: 180px;
  }

  .cc-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cc-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cc-post,
  .cc-post__sidebar,
  .cc-page-article {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cc-post__author-card {
    flex-direction: column;
    text-align: center;
  }

  .cc-post__author-links {
    justify-content: center;
  }
}
.cc-blog-grid {
  padding: 60px 0 100px;
}

.cc-blog-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.cc-blog-card--grid {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cc-blog-card--grid:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.cc-blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.cc-blog-card__thumb {
  position: relative;
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.05));
}

.cc-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cc-accent-strong);
  padding: 0 20px;
  text-align: center;
}

.cc-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.cc-blog-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cc-text-muted);
  flex-wrap: wrap;
}

.cc-blog-card__tag {
  font-weight: 600;
}

.cc-blog-card__date {
  font-size: 12px;
}

.cc-blog-card__body h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.cc-blog-card__body p {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.6;
  flex: 1;
}

.cc-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cc-text-muted);
}

.cc-blog-card__footer span:last-child {
  color: var(--cc-accent-strong);
}

.cc-blog-card__link:hover h2 {
  color: var(--cc-accent-strong);
}

/* === Scroll-triggered Animations === */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for child elements */
.scroll-animate--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animate--stagger.is-visible > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.scroll-animate--stagger.is-visible > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.scroll-animate--stagger.is-visible > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.scroll-animate--stagger.is-visible > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.scroll-animate--stagger.is-visible > *:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.scroll-animate--stagger.is-visible > *:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Fade-in only (no transform) */
.scroll-animate--fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.scroll-animate--fade.is-visible {
  opacity: 1;
}

/* === New sections responsive === */
@media (max-width: 960px) {
  .cc-beorn-rag > .cc-container > div,
  .cc-workflow__wrap {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .cc-gwaihir-tools > .cc-container > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .cc-gwaihir-tools > .cc-container > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}
