:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-muted: #eeeeec;
  --text: #000000;
  --text-soft: #505050;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.16);
  --lime: #b8d7c3;
  --dark: #17211c;
  --serif: "Fustat", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --sans: "Schibsted Grotesk", "Inter", "Source Han Sans CN", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

body {
  background: var(--bg);
  font-family: var(--sans);
}

.promo {
  min-height: 40px;
  background: var(--dark);
  color: #fff;
}

.promo-message > span:first-child {
  color: #b8d7c3;
}

.countdown i {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-header {
  top: 0;
  width: min(1200px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  padding: 0 18px;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--sans);
}

.brand-logo {
  width: 116px;
  height: 58px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.primary-pill,
.light-pill,
.upgrade-button,
.matrix-upgrade {
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
}

.primary-pill {
  min-width: 112px;
}

.solution-menu {
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  background: rgba(248, 248, 248, 0.9);
  backdrop-filter: blur(22px);
}

.pricing-hero {
  max-width: 1200px;
  padding-top: 76px;
}

.pricing-hero h1,
.section-heading h2,
.model-heading h2,
.cta-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

.pricing-hero h1 {
  font-size: 48px;
  line-height: 1.25;
}

.billing-row {
  margin-top: 40px;
}

.segmented {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f0f1ee;
}

.segmented button {
  min-height: 40px;
}

.segmented button.active {
  background: var(--dark);
  color: #fff;
  box-shadow: none;
}

.segmented button.active strong {
  color: #b8d7c3;
}

.team-button {
  min-height: 44px;
  border-radius: 6px;
  background: #fff;
}

.plans {
  margin-top: 40px;
  gap: 16px;
}

.plan-wrap {
  padding-top: 36px;
}

.plan-ribbon {
  height: 42px;
  border-radius: 6px 6px 0 0;
  background: #dededb;
  font-family: var(--sans);
}

.plan-ribbon.popular {
  background: #b8d7c3;
}

.plan-card {
  min-height: 990px;
  border-radius: 6px;
  background: #fff;
}

.plan-card.featured {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.plan-card.premium {
  border-color: #b8d7c3;
  background: #fff;
}

.plan-summary {
  padding: 26px 22px 18px;
}

.plan-title-row h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.discount {
  border-radius: 6px;
}

.featured .discount,
.premium .discount,
.mini-heading b,
.unlimited-tag {
  background: #b8d7c3;
  color: var(--dark);
}

.price-line .current-price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
}

.featured .billing-copy,
.featured .saving,
.featured .credit-copy small,
.featured .mini-heading,
.featured .price-line .old-price,
.featured .price-line .period {
  color: rgba(255, 255, 255, 0.58);
}

.upgrade-button {
  min-height: 46px;
  border-color: var(--dark);
}

.featured .upgrade-button {
  background: #fff;
  color: var(--dark);
}

.premium .upgrade-button {
  background: var(--dark);
  color: #fff;
}

.plan-body {
  padding-inline: 22px;
}

.featured .benefits li::before {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.unlimited {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
}

.featured .unlimited {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.faq-section {
  padding-top: 100px;
}

.faq-section .section-heading h2,
.model-heading h2 {
  font-size: 44px;
  line-height: 1.25;
}

.faq-list {
  width: min(820px, calc(100% - 48px));
  margin-top: 42px;
}

.faq-question {
  min-height: 78px;
  font-size: 17px;
}

.more-faq {
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.models-section {
  max-width: 1200px;
  padding-top: 100px;
}

.model-heading p {
  margin-top: 28px;
  color: var(--text-soft);
}

.model-billing {
  margin-top: 40px;
}

.matrix-scroll {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pricing-matrix {
  width: 1168px;
  min-width: 1168px;
}

.pricing-matrix th,
.pricing-matrix td {
  border-color: rgba(0, 0, 0, 0.08);
}

.matrix-category th {
  border-radius: 8px;
  background: #efefed;
  font-family: var(--serif);
  font-weight: 700;
}

.matrix-plan h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.matrix-plan-price strong {
  font-family: var(--serif);
  font-weight: 700;
}

.matrix-upgrade {
  min-height: 32px;
}

.design-cta {
  min-height: 420px;
  background: var(--dark);
  color: #fff;
}

.cta-art {
  top: auto;
  bottom: -30px;
  width: min(1200px, calc(100% - 96px));
  height: 180px;
  display: flex;
  justify-content: center;
  gap: 18px;
  opacity: .08;
  background: transparent;
}

.cta-art span,
.cta-art span:nth-child(n) {
  position: static;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  font-family: var(--serif);
  font-size: 140px;
  font-weight: 500;
  rotate: 0deg;
}

.cta-art span:nth-child(even) {
  background: transparent;
}

.cta-copy {
  padding: 30px 44px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.cta-copy h2 {
  font-size: 44px;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.light-pill {
  background: #fff;
  color: var(--dark);
}

.site-footer {
  max-width: 1200px;
  padding-top: 72px;
}

.footer-brand {
  font-size: inherit;
}

.footer-logo {
  width: 180px;
  height: 90px;
}

.footer-links h3 {
  color: var(--text);
  font-weight: 600;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 500;
}
.footer-links button { margin-bottom: 11px; padding: 0; border: 0; background: transparent; color: var(--text-soft); font-size: 13px; font-weight: 500; cursor: pointer; }
.language-button { display: inline-flex; align-items: center; cursor: default; }

.footer-bottom {
  min-height: 76px;
}

.theme-control,
.language-button {
  background: #fff;
}

.toast {
  border-radius: 8px;
  background: var(--dark);
}

body.dark {
  --bg: #111310;
  --surface: #191c19;
  --surface-muted: #252824;
  --text: #f6f7f3;
  --text-soft: rgba(246, 247, 243, 0.58);
  --line: rgba(246, 247, 243, 0.14);
  --line-strong: rgba(246, 247, 243, 0.2);
}

body.dark .site-header,
body.dark .segmented,
body.dark .matrix-scroll,
body.dark .more-faq,
body.dark .team-button,
body.dark .theme-control,
body.dark .language-button {
  background: rgba(25, 28, 25, 0.82);
}

body.dark .plan-card:not(.featured),
body.dark .matrix-scroll {
  background: var(--surface);
}

@media (max-width: 1050px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .pricing-hero,
  .faq-section,
  .models-section,
  .site-footer {
    width: calc(100% - 48px);
  }
}
