:root {
  --bg: #fafafa;
  --bg-dark: #141414;
  --surface-dark: #212121;
  --surface: #ffffff;
  --text: #161616;
  --text-muted: #5a5a5a;
  --border: #e3e3e3;
  --pink: #ffbbc9;
  --pink-hover: #ffa8ba;
  --gray-btn: #d9d9d9;
  --gray-btn-hover: #cfcfcf;
  --dot: #d0d0d0;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-pill: 9999px;
  --radius-card: 28px;
  --wrap: min(1120px, calc(100% - 2rem));
  --nav-h: 56px;
}

html[lang='fa'] {
  --font: 'Vazirmatn', 'Inter', system-ui, sans-serif;
}

html[lang='ar'] {
  --font: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.dot-canvas {
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Floating nav (n8n-style pill) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 1rem 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--nav-h);
  padding: 0.35rem 0.35rem 0.35rem 1.15rem;
  background: #ececec;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-inline-end: auto;
}

.logo__img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(46vw, 168px);
  object-fit: contain;
  object-position: left center;
}

html[dir='rtl'] .logo__img {
  object-position: right center;
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.nav a:hover {
  opacity: 1;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

/* Language switcher */
.lang-switcher-mount {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-switcher-mount--pill {
  margin-inline-end: 0.25rem;
}

@media (min-width: 900px) {
  .lang-switcher-mount--mobile {
    display: none;
  }
}

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.lang-switcher__trigger:hover {
  background: #fff;
}

.lang-switcher.is-open .lang-switcher__trigger {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-switcher__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(225deg) translateY(-1px);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  z-index: 120;
  display: none;
  min-width: 10.5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.lang-switcher.is-open .lang-switcher__menu {
  display: grid;
  gap: 0.15rem;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  text-align: start;
  cursor: pointer;
}

.lang-switcher__option:hover {
  background: #f3f3f3;
}

.lang-switcher__option.is-active {
  background: #ececec;
  font-weight: 600;
}

.lang-switcher__code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.lang-switcher__option.is-active .lang-switcher__code {
  opacity: 0.85;
}

.lang-switcher__name {
  margin-inline-start: auto;
}

.lang-switcher-mount--mobile {
  width: 100%;
  padding: 0.25rem 0 0.5rem;
}

.lang-switcher-mount--mobile .lang-switcher__trigger {
  width: 100%;
  justify-content: space-between;
  min-height: 2.4rem;
  padding-inline: 0.85rem;
}

.lang-switcher-mount--mobile .lang-switcher__menu {
  inset-inline: 0;
  min-width: 0;
}

html[dir='rtl'] body {
  font-family: var(--font);
}

html[dir='rtl'] .compare,
html[dir='rtl'] .pc-table {
  text-align: right;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: var(--wrap);
  margin: 0.5rem auto 0;
  padding: 1rem 1.25rem;
  background: #ececec;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav,
  .nav-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .nav-actions {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--pink);
  color: #212121;
}

.btn--primary:hover {
  background: var(--pink-hover);
}

.btn--secondary {
  background: var(--gray-btn);
  color: var(--text);
}

.btn--secondary:hover {
  background: var(--gray-btn-hover);
}

.btn--dark {
  background: var(--text);
  color: #fff;
}

.btn--dark:hover {
  background: #333;
}

.btn--lg {
  padding: 14px 22px;
  font-size: 14px;
}

.btn--sm {
  padding: 10px 14px;
  font-size: 12px;
}

/* Hero */
.hero {
  padding: 5rem 0 0;
  text-align: center;
  overflow: hidden;
}

.hero__inner {
  padding-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__title {
  margin: 0 auto 1.25rem;
  max-width: 26ch;
  font-size: clamp(2.25rem, 5.5vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.2em;
  row-gap: 0.1em;
  font-size: 64px;
}

.hero__n8n-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: baseline;
  margin-inline: 0.06em;
  flex-shrink: 0;
}

.hero__n8n-logo-symbol {
  fill: #ff91ac;
}

.hero__n8n-logo-wordmark {
  fill: var(--text);
}

.hero__title-accent {
  display: block;
  margin-top: 0.35rem;
}

.hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

/* n8n-style prototype panel (use-case video block, tabs omitted) */
.hero__showcase {
  padding: 0 1.5rem 2rem;
}

.hero__showcase-inner {
  width: min(880px, calc(100% - 2rem));
}

.prototype-panel {
  background: var(--surface-dark);
  border-radius: 20px;
  padding: 1rem;
}

.prototype-panel__media {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
}

.prototype-panel__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero__showcase {
    padding-bottom: 4rem;
  }

  .prototype-panel {
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .prototype-panel__media {
    aspect-ratio: 16 / 10;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title {
  margin: 0 auto 0.75rem;
  max-width: 29ch;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.feature-card {
  padding: 1.75rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: box-shadow 0.2s;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.feature-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Compare — light panel (n8n homepage theme) */
.section--compare {
  background: var(--bg);
}

.section--compare .section-head {
  margin-bottom: 2rem;
}

.compare-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.table-scroll {
  overflow-x: auto;
  border-radius: calc(var(--radius-card) - 4px);
}

.table-scroll--compare {
  border: 1px solid #ebebeb;
  background: #fff;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.compare--light th,
.compare--light td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare--light thead th {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f3f3f3;
}

.compare--light tbody th {
  font-weight: 500;
  color: var(--text);
  width: 26%;
  background: #fafafa;
}

.compare--light td {
  color: var(--text-muted);
  line-height: 1.5;
}

.compare--light .compare__us {
  color: var(--text) !important;
  background: rgba(255, 188, 202, 0.35);
  font-weight: 500;
}

.compare--light thead th:last-child {
  color: #c45c72;
}

.compare--light tbody tr:last-child th,
.compare--light tbody tr:last-child td {
  border-bottom: none;
}

/* Final CTA + FAQ */
.cta-final {
  padding: 5rem 0 6rem;
  text-align: center;
}

.cta-final__box {
  max-width: 36rem;
  margin-inline: auto;
}

.cta-final__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-final p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.cta-final__link {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.cta-final__link a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-final__faq {
  margin-top: 3.5rem;
  text-align: left;
}

.faq {
  max-width: 36rem;
  margin-inline: auto;
}

.faq__title {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq__item p a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer (n8n-style dark panel, no decorative wave) */
.site-footer {
  padding: 1.5rem 1rem 2.5rem;
}

.site-footer__wrap {
  width: min(1190px, calc(100% - 2rem));
}

.footer-panel {
  background: var(--surface-dark);
  color: #fafafa;
  border-radius: 16px;
  overflow: hidden;
}

.footer-panel__top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3rem 1.5rem 3.5rem;
}

.footer-panel__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0.5rem 0.75rem;
}

.footer-trusted__tagline {
  margin: 1.25rem 0 1rem;
  max-width: 22rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.72);
}

.footer-trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-trusted-logos img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 5rem;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}

.footer-logo {
  display: inline-block;
  max-width: 100%;
}

.footer-logo__img {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(70vw, 200px);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-panel__cols {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  color: #fafafa;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-panel__bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.5rem 1.5rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font);
  font-size: 0.875rem;
}

.footer-legal a {
  color: #fafafa;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-legal a:hover {
  opacity: 0.7;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.875rem;
  color: #fafafa;
}

@media (min-width: 768px) {
  .footer-panel__cols {
    flex-direction: row;
    gap: 1rem;
  }

  .footer-col {
    flex: 1;
  }
}

@media (min-width: 900px) {
  .footer-panel__top {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 3rem 1.5rem 4.5rem;
  }

  .footer-panel__brand {
    flex: 1;
    min-height: 5rem;
    max-width: 22rem;
    padding: 0.625rem 1.5rem;
  }

  .footer-logo__img {
    height: 40px;
  }

  .footer-panel__cols {
    flex: 2;
    gap: 0.75rem;
  }

  .footer-panel__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 3rem 1.5rem;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0;
  }

  .footer-legal li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-legal li:not(:first-child)::before {
    content: '';
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
  }

  .footer-copy {
    justify-content: flex-end;
  }
}

.nav a[aria-current='page'] {
  opacity: 1;
  font-weight: 600;
}

/* Pricing page (n8n.io-style) */
.pricing-theme-n8n {
  --n8n-surface: #efefef;
  --n8n-surface-soft: #f7f7f7;
  --n8n-text: var(--text);
  --n8n-text-muted: var(--text-muted);
  --n8n-border: var(--border);
  --n8n-border-strong: #d4d4d4;
  --n8n-cta: var(--pink);
  --n8n-cta-hover: var(--pink-hover);
  --n8n-pill-active: #2b2b2b;
  --n8n-check: #111111;
}

.pricing-hero-n8n {
  position: relative;
  padding: 2.5rem 0 2rem;
  text-align: center;
  overflow: hidden;
}

.pricing-hero-n8n__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.65;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 20%, transparent 72%);
  pointer-events: none;
}

.pricing-hero-n8n__inner {
  position: relative;
}

.pricing-hero-n8n__title {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.pricing-hero-n8n__lead {
  margin: 0 auto 1.75rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--n8n-text-muted);
}

.billing-toggle-n8n {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--n8n-surface);
  border: 1px solid var(--n8n-border);
}

.billing-toggle-n8n__btn {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--n8n-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.billing-toggle-n8n__btn.is-active {
  background: var(--n8n-pill-active);
  color: #fff;
}

.pricing-plans-n8n {
  padding: 0 0 3rem;
}

.plan-grid-n8n {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .plan-grid-n8n {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .plan-grid-n8n {
    grid-template-columns: repeat(4, 1fr);
  }
}

.n8n-plan__shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--n8n-surface);
  border: 1px solid var(--n8n-border);
  overflow: hidden;
}

.n8n-plan--highlight .n8n-plan__shell {
  border-color: #ea4b71;
  box-shadow: 0 0 0 1px rgba(234, 75, 113, 0.25);
}

.n8n-plan__head {
  padding: 1.35rem 1.25rem 1.15rem;
  background: var(--n8n-surface);
}

.n8n-plan__name {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.n8n-plan__tagline {
  margin: 0 0 1rem;
  min-height: 2.75em;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--n8n-text-muted);
}

.n8n-plan__quota {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--n8n-border);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.n8n-plan__price {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem 0.35rem;
}

.n8n-plan__amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.n8n-plan__amount--text {
  font-size: 1.35rem;
}

.n8n-plan__period {
  font-size: 0.9375rem;
  color: var(--n8n-text-muted);
}

.n8n-plan__billing-hint {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--n8n-text-muted);
}

.n8n-plan__cta {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--n8n-cta);
  color: #212121;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}

.n8n-plan__cta:hover {
  background: var(--n8n-cta-hover);
}

.n8n-plan__cta--dark {
  background: var(--n8n-pill-active);
  color: #fff;
}

.n8n-plan__cta--dark:hover {
  background: #111;
}

.n8n-plan__note {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--n8n-text-muted);
}

.n8n-plan__rule {
  margin: 1rem 0 0.85rem;
  border: none;
  border-top: 1px solid var(--n8n-border-strong);
}

.n8n-plan__host {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--n8n-text-muted);
}

.n8n-plan__body {
  flex: 1;
  padding: 1.15rem 1.25rem 1.35rem;
  background: var(--n8n-surface-soft);
  border-top: 1px solid var(--n8n-border);
}

.n8n-plan__includes-label {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.n8n-plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.45;
}

.n8n-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.n8n-plan__list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1em;
  border-radius: 50%;
  background: var(--n8n-check)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M4.5 8.2 2.3 6l-.8.8 3 3 5.5-5.5-.8-.8z'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.pricing-value-row {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .pricing-value-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-value-card {
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--n8n-border);
  background: var(--n8n-surface-soft);
}

.pricing-value-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-value-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--n8n-text-muted);
}

.pricing-value-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ea4b71;
  text-decoration: none;
}

.pricing-value-card__link:hover {
  text-decoration: underline;
}

.pricing-compare-n8n {
  padding: 2rem 0 3.5rem;
}

.pricing-compare-n8n__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pricing-compare-n8n__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pc-table-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.pc-hosting-toggle {
  display: flex;
  width: min(100%, 22rem);
  margin: 0 auto 1.75rem;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #ececec;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pc-hosting-toggle__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pc-hosting-toggle__btn.is-active {
  background: var(--text);
  color: #fafafa;
}

.pc-hosting-toggle__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pc-table-grid {
  display: grid;
  gap: 1rem;
}

.pc-table-panel {
  background: #212121;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 0.35rem;
}

.pc-table-scroll {
  overflow-x: auto;
}

.pc-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pc-table thead th {
  padding: 1rem 0.75rem;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fafafa;
  text-align: center;
  vertical-align: middle;
}

.pc-table thead th:first-child,
.pc-table tbody th {
  width: 38%;
}

.pc-table thead th:first-child {
  padding-left: 1.15rem;
  text-align: left;
}

.pc-table thead th:last-child {
  padding-right: 1.15rem;
}

.pc-table tbody tr {
  border-bottom: 1px solid #474747;
}

.pc-table tbody tr:last-child {
  border-bottom: none;
}

.pc-table tbody th {
  padding: 0.85rem 0.75rem 0.85rem 1.15rem;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #fafafa;
  text-align: left;
  vertical-align: middle;
}

.pc-table tbody td {
  padding: 0.85rem 0.5rem;
  text-align: center;
  vertical-align: middle;
}

.pc-table tbody td:last-child {
  padding-right: 1rem;
}

.pc-table__cell {
  line-height: 0;
}

.pc-table__icon {
  display: block;
  margin-inline: auto;
}

.pc-table__cell--inc .pc-table__icon {
  color: #ff91ac;
}

.pc-table__cell--not .pc-table__icon {
  color: #ffc8d4;
}

.pc-table__val {
  display: block;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.45;
  color: #e6e6e6;
  word-break: break-word;
}

.pc-table__val--muted {
  color: #8f8f8f;
}

@media (min-width: 768px) {
  .pc-table thead th {
    font-size: 0.75rem;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .pc-table tbody th {
    font-size: 1rem;
    padding-left: 1.35rem;
  }

  .pc-table__val {
    font-size: 0.75rem;
  }
}

.pricing-ai-credits {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--n8n-border);
}

.pricing-ai-credits__lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pc-table--ai-credits {
  min-width: 480px;
}

.pc-table--ai-credits thead th:first-child,
.pc-table--ai-credits tbody th {
  width: 28%;
}

.pricing-faq-n8n {
  padding: 2.5rem 0 1rem;
  background: var(--n8n-surface-soft);
  border-top: 1px solid var(--n8n-border);
}

.pricing-faq-n8n__title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-theme-n8n .faq--n8n {
  max-width: 44rem;
}

.cta-final--n8n {
  padding-top: 3rem;
  background: var(--n8n-surface);
  border-top: 1px solid var(--n8n-border);
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page__inner {
  max-width: 44rem;
}

.legal-page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-page__updated {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}

.legal-prose li + li {
  margin-top: 0.4rem;
}

.legal-prose a {
  color: var(--text);
  text-underline-offset: 0.15em;
}
