/* 51 Terminal subpages — shared pricing and vendor-profile language. */

.terminal-subpage {
  --terminal-accent: #c4a46e;
  --terminal-accent-light: #d4b87a;
  --terminal-accent-text: #8b7340;
  --terminal-warm: #f5f3ef;
  background: #ffffff;
  color: #4a4a4a;
}

.terminal-subpage .divider {
  display: none;
}

.terminal-subpage .section-label {
  margin: 0 0 15px;
  color: var(--terminal-accent-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.terminal-subpage-eyebrow,
.terminal-subpage .vendors-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 auto 24px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(196, 164, 110, 0.08);
  color: var(--terminal-accent-light);
  box-shadow: inset 0 0 0 1px rgba(196, 164, 110, 0.22);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.terminal-subpage .btn-brand,
.terminal-subpage .pricing-cta .btn {
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.16) !important;
}

.terminal-subpage .btn-brand:hover,
.terminal-subpage .pricing-cta .btn:hover {
  background: #292929 !important;
  color: #ffffff !important;
}

/* Pricing hero and plans */
.pricing-page .pricing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 112px;
  background: linear-gradient(180deg, #090a0d 0, #090a0d 620px, #ffffff 620px) !important;
}

.pricing-page .pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 620px;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 22%, rgba(196, 164, 110, 0.16), transparent 31%);
  background-size: 72px 72px, 72px 72px, auto;
  pointer-events: none;
}

.pricing-page .pricing-hero-glow {
  display: none;
}

.pricing-page .pricing-hero .container {
  position: relative;
  z-index: 1;
}

.pricing-page .pricing-hero-content {
  max-width: 940px;
  margin: 0 auto 52px;
  padding: 150px 0 0;
  text-align: center;
}

.pricing-page .pricing-hero h1 {
  max-width: 920px;
  margin: 0 auto 22px;
  color: #ffffff;
  font-size: clamp(3.55rem, 6vw, 5rem);
  font-weight: 650;
  line-height: 1.01;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.pricing-page .pricing-hero-desc {
  max-width: 640px;
  margin: 0 auto;
  color: #adafb7;
  font-size: 18px;
  line-height: 1.65;
}

.terminal-subpage .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0;
}

.terminal-subpage .pricing-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
}

.terminal-subpage .pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 650px;
  flex-direction: column;
  padding: 30px;
  border: 0;
  border-radius: 24px;
  background: #f7f7f9;
  color: #111111;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
  transform: none;
}

.terminal-subpage .pricing-card:hover {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.12);
  transform: translateY(-3px);
}

.terminal-subpage .pricing-card--featured {
  background: var(--terminal-warm);
  box-shadow:
    inset 0 2px 0 var(--terminal-accent),
    inset 0 0 0 1px rgba(17, 17, 17, 0.07),
    0 22px 54px rgba(17, 17, 17, 0.08);
}

.terminal-subpage .pricing-card--featured:hover {
  box-shadow:
    inset 0 2px 0 var(--terminal-accent),
    inset 0 0 0 1px rgba(17, 17, 17, 0.1),
    0 26px 62px rgba(17, 17, 17, 0.1);
}

.terminal-subpage .pricing-card-badge-row {
  display: flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.terminal-subpage .pricing-badge,
.terminal-subpage .pricing-badge--terminal {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--terminal-accent);
  color: #ffffff;
  box-shadow: none;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-subpage .pricing-tier-name {
  margin: 0 0 5px;
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.terminal-subpage .pricing-tier-desc {
  color: #7b7c83;
  font-size: 13px;
}

.terminal-subpage .pricing-price-row--hidden,
.terminal-subpage .pricing-price-sub--hidden {
  display: none !important;
}

.terminal-subpage .pricing-divider {
  width: 100%;
  height: 1px;
  margin: 26px 0;
  background: rgba(17, 17, 17, 0.09);
}

.terminal-subpage .pricing-features-heading {
  margin-bottom: 17px;
  color: #85868d;
  font: 700 9px/1.3 'DM Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-subpage .pricing-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terminal-subpage .pricing-feature {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #55565d;
  font-size: 13px;
  line-height: 1.5;
}

.terminal-subpage .pricing-feature-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--terminal-accent-text) !important;
  stroke: currentColor;
}

.terminal-subpage .pricing-cta {
  margin-top: auto;
  padding-top: 28px;
}

.terminal-subpage .pricing-cta .btn {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
}

.pricing-page .hero-trust {
  max-width: 1030px;
  margin: 54px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.pricing-page .trust-label {
  margin-bottom: 22px;
  color: #85868d;
  font: 700 10px/1 'DM Sans', sans-serif;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.pricing-page .trust-logos {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.pricing-page .trust-logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: max-content;
  min-width: 100%;
}

.pricing-page .trust-logo {
  width: auto;
  max-width: 112px;
  max-height: 25px;
  filter: none !important;
  opacity: 0.58;
}

/* Vendor hero */
.vendors-page .vendors-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 92px;
  background:
    radial-gradient(circle at 78% 18%, rgba(196, 164, 110, 0.15), transparent 30%),
    #090a0d !important;
}

.vendors-page .vendors-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.vendors-page .vendors-hero-glow {
  display: none;
}

.vendors-page .vendors-hero .container,
.vendors-page .vendors-hero-content {
  position: relative;
  z-index: 1;
}

.vendors-page .vendors-hero-content {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.vendors-page .vendors-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  color: #ffffff;
  font-size: clamp(3.45rem, 6vw, 4.85rem);
  font-weight: 650;
  line-height: 1.01;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.vendors-page .vendors-hero-desc {
  max-width: 690px;
  margin: 0 auto;
  color: #adafb7;
  font-size: 18px;
  line-height: 1.65;
}

.vendors-page .vendors-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.vendors-page .vendors-hero-actions .btn-brand {
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25) !important;
}

.vendors-page .vendors-hero-sub-text {
  color: #777a83;
  font-size: 12px;
}

.vendors-page .vendors-hero-screenshot {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  border: 0;
  border-radius: 22px;
  background: #111216;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 34px 90px rgba(0, 0, 0, 0.4);
  transform: none;
}

.vendors-page .vendors-hero-screenshot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.vendors-page .vendors-hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* Vendor content */
.vendors-page .vendors-problem,
.vendors-page .vendors-free,
.vendors-page .vendors-tiers,
.terminal-subpage .pricing-faq {
  background: #ffffff;
}

.vendors-page .vendors-problem {
  padding: 112px 0 120px;
}

.vendors-page .vendors-problem-header,
.vendors-page .vendors-free-header,
.vendors-page .vendors-tiers-header {
  max-width: 820px;
  margin: 0 0 46px;
  text-align: left;
}

.vendors-page :is(.vendors-problem-header, .vendors-free-header, .vendors-tiers-header) h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(2.65rem, 4.8vw, 4.1rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.vendors-page .vendors-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vendors-page .vendors-problem-card {
  min-height: 330px;
  padding: 30px;
  border: 0;
  border-radius: 24px;
  background: #f7f7f9;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

.vendors-page .vendors-problem-card:nth-child(2) {
  background: var(--terminal-warm);
}

.vendors-page .vendors-problem-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 72px;
  border-radius: 50%;
  background: rgba(196, 164, 110, 0.1);
  color: var(--terminal-accent-text);
  box-shadow: inset 0 0 0 1px rgba(196, 164, 110, 0.18);
}

.vendors-page .vendors-problem-card h3 {
  margin-bottom: 13px;
  color: #111111;
  font-size: 25px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.vendors-page .vendors-problem-card p {
  color: #62636a;
  font-size: 14px;
  line-height: 1.68;
}

.vendors-page .vendors-free {
  padding: 112px 0;
  background: var(--terminal-warm);
}

.vendors-page .vendors-free-desc,
.vendors-page .vendors-tiers-header > p:last-child {
  max-width: 650px;
  margin-top: 18px;
  color: #5f6067;
  font-size: 16px;
  line-height: 1.7;
}

.vendors-page .vendors-free-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vendors-page .vendors-free-item {
  display: flex;
  min-height: 160px;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

.vendors-page .vendors-free-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--terminal-accent-text);
}

.vendors-page .vendors-free-item-title {
  margin-bottom: 7px;
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.vendors-page .vendors-free-item-desc {
  color: #6c6d73;
  font-size: 13px;
  line-height: 1.55;
}

.vendors-page .vendors-free-cta {
  position: static;
  isolation: auto;
  overflow: visible;
  margin-top: 28px;
  padding: 0 !important;
  background: transparent !important;
  text-align: left;
}

.vendors-page .vendors-free-cta::before,
.vendors-page .vendors-free-cta::after {
  display: none !important;
}

.vendors-page .vendors-tiers {
  padding: 112px 0 120px;
}

.vendors-page .pricing-card {
  min-height: 680px;
}

.vendors-page .vendors-pricing-hero-block {
  display: flex;
  min-height: 88px;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 7px 10px;
  margin-top: 20px;
}

.vendors-page .pricing-price-strikethrough {
  color: #8c8d93;
  font-size: 14px;
  text-decoration: line-through;
}

.vendors-page .vendors-price-free {
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: 46px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.06em;
}

.vendors-page .vendors-founding-subtitle {
  width: 100%;
  color: #77787f;
  font-size: 12px;
}

.vendors-page .vendors-founding-counter {
  display: none;
}

.vendors-page .pricing-price-row {
  display: flex;
  align-items: flex-end;
  margin-top: 26px;
  color: #111111;
}

.vendors-page .pricing-currency {
  margin: 0 4px 9px 0;
  font-size: 18px;
}

.vendors-page .pricing-price-value {
  font-family: 'Sora', sans-serif;
  font-size: 50px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.06em;
}

.vendors-page .pricing-period {
  margin: 0 0 7px 4px;
  color: #77787f;
  font-size: 13px;
}

.vendors-page .pricing-price-sub {
  margin-top: 8px;
  color: #77787f;
  font-size: 12px;
}

/* Shared FAQ */
.terminal-subpage .pricing-faq {
  padding: 104px 0 112px;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.terminal-subpage .pricing-faq-header {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: left;
}

.terminal-subpage .pricing-faq-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(2.45rem, 4.2vw, 3.65rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.terminal-subpage .pricing-faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.terminal-subpage .pricing-faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.terminal-subpage .pricing-faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: 600 16px/1.35 'DM Sans', sans-serif;
  text-align: left;
  cursor: pointer;
}

.terminal-subpage .pricing-faq-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #8d8e94;
  transition: transform 0.25s ease;
}

.terminal-subpage .pricing-faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.terminal-subpage .pricing-faq-item.is-open .pricing-faq-answer {
  max-height: 520px;
  opacity: 1;
}

.terminal-subpage .pricing-faq-item.is-open .pricing-faq-icon {
  transform: rotate(45deg);
}

.terminal-subpage .pricing-faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 25px;
  color: #5f6067;
  font-size: 14px;
  line-height: 1.72;
}

.terminal-subpage .site-final-cta-eyebrow {
  background: rgba(196, 164, 110, 0.08);
  color: var(--terminal-accent-light) !important;
  box-shadow: inset 0 0 0 1px rgba(196, 164, 110, 0.2);
}

/* Dark theme */
html[data-theme='dark'] .terminal-subpage {
  background: #090a0d;
}

html[data-theme='dark'] .pricing-page .pricing-hero {
  background: #090a0d !important;
}

html[data-theme='dark'] .vendors-page .vendors-problem,
html[data-theme='dark'] .vendors-page .vendors-tiers,
html[data-theme='dark'] .terminal-subpage .pricing-faq {
  background: #090a0d;
}

html[data-theme='dark'] .vendors-page .vendors-free {
  background: #101116;
}

html[data-theme='dark'] .terminal-subpage .pricing-card,
html[data-theme='dark'] .vendors-page .vendors-problem-card,
html[data-theme='dark'] .vendors-page .vendors-free-item {
  background: #121318;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .terminal-subpage .pricing-card--featured,
html[data-theme='dark'] .vendors-page .vendors-problem-card:nth-child(2) {
  background: #171711;
}

html[data-theme='dark'] .terminal-subpage :is(.pricing-tier-name, .pricing-faq-header h2, .pricing-faq-btn),
html[data-theme='dark'] .vendors-page :is(.vendors-problem-header, .vendors-free-header, .vendors-tiers-header) h2,
html[data-theme='dark'] .vendors-page :is(.vendors-problem-card h3, .vendors-free-item-title, .vendors-price-free, .pricing-price-row) {
  color: #f1f1f3;
}

html[data-theme='dark'] .terminal-subpage .pricing-feature,
html[data-theme='dark'] .terminal-subpage .pricing-faq-answer p,
html[data-theme='dark'] .vendors-page :is(.vendors-problem-card p, .vendors-free-desc, .vendors-tiers-header > p:last-child) {
  color: #a0a3ab;
}

html[data-theme='dark'] .pricing-page .hero-trust {
  border-top-color: rgba(255, 255, 255, 0.09);
}

@media (max-width: 900px) {
  .terminal-subpage .pricing-grid,
  .terminal-subpage .pricing-grid--two,
  .vendors-page .vendors-problem-grid,
  .vendors-page .vendors-free-grid {
    grid-template-columns: 1fr;
  }

  .terminal-subpage .pricing-card,
  .vendors-page .pricing-card {
    min-height: 0;
  }

  .pricing-page .pricing-grid,
  .vendors-page .pricing-grid--two {
    max-width: 680px;
    margin-inline: auto;
  }

  .pricing-page .trust-logos-track {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .pricing-page .pricing-hero {
    padding-bottom: 82px;
    background: linear-gradient(180deg, #090a0d 0, #090a0d 520px, #ffffff 520px) !important;
  }

  .pricing-page .pricing-hero::before {
    height: 520px;
  }

  .pricing-page .pricing-hero-content {
    margin-bottom: 38px;
    padding-top: 124px;
  }

  .pricing-page .pricing-hero h1,
  .vendors-page .vendors-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
  }

  .pricing-page .pricing-hero-desc,
  .vendors-page .vendors-hero-desc {
    font-size: 16px;
  }

  .terminal-subpage .pricing-card {
    padding: 26px;
    border-radius: 21px;
  }

  .pricing-page .hero-trust {
    margin-top: 42px;
  }

  .vendors-page .vendors-hero {
    padding: 124px 0 70px;
  }

  .vendors-page .vendors-hero-screenshot {
    margin-top: 36px;
    border-radius: 14px;
  }

  .vendors-page .vendors-problem,
  .vendors-page .vendors-free,
  .vendors-page .vendors-tiers,
  .terminal-subpage .pricing-faq {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .vendors-page :is(.vendors-problem-header, .vendors-free-header, .vendors-tiers-header) h2,
  .terminal-subpage .pricing-faq-header h2 {
    font-size: 2.55rem;
  }

  .vendors-page .vendors-problem-card {
    min-height: 290px;
    padding: 26px;
  }

  .vendors-page .vendors-problem-icon {
    margin-bottom: 52px;
  }

  .vendors-page .vendors-free-item {
    min-height: 0;
  }

  .terminal-subpage .pricing-faq-btn {
    padding: 22px 0;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-subpage .pricing-card,
  .terminal-subpage .pricing-faq-answer,
  .terminal-subpage .pricing-faq-icon {
    transition: none;
  }
}
