
/* Static pricing shares the homepage's paper, ink and cinnabar palette. */
.pricing-page { overflow-x: clip; }
.pricing-page [hidden] { display: none !important; }
.pricing-page button, .pricing-page input { font: inherit; }
.pricing-page :is(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--color-brand); outline-offset: 5px; }
.pricing-skip { position: fixed; top: -80px; left: 24px; z-index: 200; padding: 12px 20px; background: #fff; border: 1px solid var(--color-brand); }
.pricing-skip:focus { top: 10px; }
.pricing-language { width: 36px; height: 36px; border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; font-size: 12px !important; }
.pricing-language:hover { color: var(--color-brand); }
.pricing-main { width: var(--wide-w); margin: 0 auto; }
.pricing-hero { position: relative; isolation: isolate; padding: 124px 0 26px; }
.pricing-hero::before { content: ''; position: absolute; z-index: -1; inset: 64px 0 -6px 45%; background: url('assets/ink-bamboo-v1.png') center / cover no-repeat; opacity: .13; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent, #000 24%, #000 72%, transparent); pointer-events: none; }
.pricing-hero__copy { max-width: 830px; }
.pricing-kicker { margin: 0 0 18px; color: var(--color-brand); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.pricing-hero h1 { font-size: clamp(32px, 3.7vw, 49px); line-height: 1.35; letter-spacing: -.045em; text-wrap: balance; font-weight: 570; }
.pricing-intro { margin-top: 18px; color: var(--text-secondary); font-size: 15px; max-width: 680px; line-height: 1.9; }
.pricing-draft { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--text-muted); font-size: 11px; }
.pricing-draft > span:first-child { width: 5px; height: 5px; background: #89917d; border-radius: 50%; }
.pricing-shell { padding-top: 6px; }
.pricing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-default); }
.membership-tabs { display: inline-flex; gap: 28px; align-self: stretch; }
.membership-tab { position: relative; min-height: 42px; padding: 8px 0; border: 0; background: transparent; font-weight: 600 !important; font-size: 16px !important; color: var(--text-muted); cursor: pointer; }
.membership-tab::after { content: ''; position: absolute; bottom: -15px; left: 0; width: 100%; height: 2px; background: transparent; }
.membership-tab.is-active { color: var(--text-primary); }
.membership-tab.is-active::after { background: var(--color-brand); }
.period-switch { display: flex; padding: 3px; border: 1px solid var(--border-default); border-radius: 6px; background: #f0eee8; }
.period-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 32px; padding: 3px 13px; border: 0; border-radius: 4px; color: var(--text-secondary); background: transparent; font-size: 12px !important; cursor: pointer; }
.period-switch button.is-active { background: #fff; color: var(--text-primary); box-shadow: 0 1px 3px #24262212; }
.period-saving { color: var(--color-brand); font-size: 10px; }
.pricing-caption { color: var(--text-muted); font-size: 12px; margin: 16px 0 22px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan-grid:has(> :only-child),
.credit-grid:has(> :only-child) { grid-template-columns: minmax(min(100%, 280px), 400px); justify-content: center; }
.plan-card { display: flex; flex-direction: column; position: relative; padding: 24px 30px; border: 1px solid var(--border-default); border-radius: 10px; background: #ffffffb8; }
.plan-card--recommended { border-color: #b4272d66; background: #fdfbf7; }
.plan-card--recommended::before { content: ''; position: absolute; top: -1px; left: 30px; width: 32px; height: 2px; background: var(--color-brand); }
.plan-card__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.plan-card h3 { font-size: 19px; font-weight: 600; }
.plan-badge { padding: 3px 8px; border: 1px solid #b4272d25; border-radius: 3px; color: var(--color-brand); background: #b4272d05; font-size: 10px; }
.plan-description { font-size: 12px; color: var(--text-muted); margin: 10px 0 20px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; line-height: 1.3; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.plan-price__currency { font-size: 22px; font-weight: 500; }
.plan-price strong { font-size: clamp(38px, 3.9vw, 52px); font-weight: 560; letter-spacing: -.05em; }
.plan-price__period { margin-left: 4px; color: var(--text-muted); font-size: 12px; letter-spacing: 0; }
.plan-billing { font-size: 11px; color: var(--text-muted); min-height: 24px; margin: 6px 0 19px; }
.plan-actions { display: block; }
.pricing-page .plan-details-link { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 5px 0; border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; cursor: pointer; }
.plan-details-arrow { font-size: 15px; line-height: 1; transition: transform .18s ease; }
.plan-details-link:hover .plan-details-arrow { transform: translateX(3px); }
.plan-details-link:hover { color: var(--color-brand); }
.plan-actions > .btn { width: 100%; border-radius: 5px; height: 40px; font-size: 13px; }
.plan-card--recommended .plan-actions > .btn { background: #2c332d; border-color: #2c332d; }
.plan-card--recommended .plan-actions > .btn:hover { background: #424d43; border-color: #424d43; }
.plan-seats { margin: 22px 0 12px; font-size: 13px; font-weight: 600; }
.plan-features { display: grid; gap: 8px; color: var(--text-secondary); font-size: 12px; }
.plan-features li { position: relative; padding-left: 21px; }
.pricing-page .credit-highlight { color: var(--color-brand); font-weight: 650; }
.plan-features .credit-highlight::before { border-color: currentColor; }
.plan-features li::before { content: ''; position: absolute; top: 7px; left: 2px; width: 9px; height: 5px; border-left: 1px solid #6e7966; border-bottom: 1px solid #6e7966; transform: rotate(-45deg); }
.plan-card__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-default); }
.plan-card > .plan-features { margin-bottom: 20px; }
.plan-resource-note { flex: 1 1 160px; color: var(--text-muted); font-size: 11px; line-height: 1.8; }
.pricing-inclusion { font-size: 11px; color: var(--text-muted); margin-top: 16px; }
.seat-estimator { display: grid; grid-template-columns: 1.1fr 140px 1fr; align-items: center; gap: 24px; padding: 26px 0 16px; margin-top: 12px; }
.seat-estimator__intro h3 { font-size: 17px; margin-bottom: 6px; }
.seat-estimator__intro p { font-size: 12px; color: var(--text-secondary); }
.seat-estimator__input label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.seat-estimator__input input { width: 100%; height: 42px; border: 1px solid var(--border-default); border-radius: 4px; padding: 8px 12px; background: #fff; color: var(--text-primary); }
.seat-estimator__result { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: baseline; padding-left: 24px; border-left: 1px solid var(--border-default); }
.seat-estimator__result p { font-size: 12px; }
.seat-estimator__result strong { font-size: 23px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.seat-estimator__result span { grid-column: 1 / -1; color: var(--text-muted); font-size: 11px; }
.seat-estimator__hint { grid-column: 1 / -1; color: var(--text-muted); font-size: 11px; }
.pricing-private { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 30px; position: relative; isolation: isolate; margin: 42px 0 0; padding: 38px 40px; background: #ecefe9; border: 1px solid #d9ddd4; border-radius: 8px; overflow: hidden; }
.pricing-private::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('assets/ink-pine-v1.png') center 60% / cover no-repeat; opacity: .13; mix-blend-mode: multiply; pointer-events: none; }
.pricing-private .pricing-kicker { color: #58634e; margin-bottom: 12px; }
.pricing-private h2 { font-size: 28px; font-weight: 550; }
.private-copy > p:not(.pricing-kicker) { color: var(--text-secondary); font-size: 13px; margin-top: 10px; max-width: 380px; }
.private-features { display: flex; flex-wrap: wrap; gap: 6px 17px; margin-top: 18px; color: #5a6254; font-size: 11px; }
.private-offer { padding-left: 42px; border-left: 1px solid #9ba69150; }
.private-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.private-price strong { font-size: 39px; font-weight: 550; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.private-price span { font-size: 12px; color: var(--text-secondary); }
.private-offer > p:not(.private-price) { color: var(--text-secondary); font-size: 12px; margin: 2px 0 20px; }
.private-offer .btn { background: #ffffff85; border-color: #b7c1ad; border-radius: 4px; height: 38px; font-size: 12px; }
.pricing-comparison { padding: 88px 0 0; }
.pricing-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
.pricing-section-head h2, .pricing-usage h2, .pricing-faq h2 { font-size: clamp(25px, 2.6vw, 34px); line-height: 1.5; font-weight: 550; letter-spacing: -.035em; text-wrap: balance; white-space: pre-line; }
.pricing-section-head > p { max-width: 260px; color: var(--text-muted); font-size: 12px; }
.comparison-scroll { overflow-x: auto; border-top: 1px solid var(--border-default); }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.comparison-table th, .comparison-table td { padding: 17px 20px; border-bottom: 1px solid #24262212; }
.comparison-table th { font-weight: 550; }
.comparison-table thead th { padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.comparison-table :is(th,td):first-child { width: 46%; padding-left: 0; }
.comparison-table td { color: var(--text-secondary); width: 27%; vertical-align: middle; }
.comparison-group__heading th { padding: 28px 0 14px; background: var(--bg-page); color: var(--text-primary); font-size: 14px; border-bottom-color: var(--border-default); }
.comparison-group__number { display: inline-block; margin-right: 12px; color: var(--color-brand); font-size: 10px; font-weight: 500; letter-spacing: .06em; vertical-align: 1px; }
.comparison-feature { display: inline-flex; align-items: center; gap: 7px; }
.pricing-page .feature-help { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin: -3px 0; padding: 0; border: 0; background: transparent; color: var(--text-muted); font-size: 10px; line-height: 1; cursor: help; }
.feature-help::before { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
.feature-help:hover, .feature-help:focus-visible { color: var(--color-brand); }
.feature-tooltip { position: fixed; z-index: 210; width: max-content; max-width: min(280px, calc(100vw - 32px)); padding: 12px 15px; border: 1px solid var(--border-default); border-radius: 6px; background: #fffefa; color: var(--text-secondary); box-shadow: 0 6px 22px #24262214; font-size: 12px; line-height: 1.8; font-weight: 400; }
.comparison-table .is-recommended { background: #eeebe44d; }
.pricing-usage { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 86px 0; border-bottom: 1px solid var(--border-default); }
.pricing-usage__copy > p:last-child { color: var(--text-secondary); font-size: 13px; max-width: 360px; margin-top: 20px; }
.pricing-usage__list { margin: 0; }
.pricing-usage__list > div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #24262212; }
.pricing-usage__list > div:first-child { padding-top: 4px; }
.pricing-usage__list > div:last-child { border-bottom: 0; }
.pricing-usage__list dt { font-size: 13px; font-weight: 550; }
.pricing-usage__list dd { margin: 0; font-size: 12px; color: var(--text-secondary); }
.sales-qr { margin: 0; width: min(100%, 232px); padding: 16px; border: 1px solid var(--border-default); border-radius: 8px; background: #fff; }
.sales-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.sales-qr figcaption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.pricing-faq { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; padding: 72px 0 92px; }
.pricing-faq > header { grid-column: 2; grid-row: 1; padding-left: 28px; }
.pricing-faq > .faq-list { grid-column: 1; grid-row: 1; }
.faq-list details { padding: 19px 0; border-bottom: 1px solid #24262212; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { display: flex; gap: 20px; justify-content: space-between; align-items: baseline; cursor: pointer; list-style: none; font-size: 14px; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--text-muted); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: 14px; font-size: 13px; line-height: 1.9; color: var(--text-secondary); padding-right: 30px; }
.pricing-foot .foot__inner { width: var(--wide-w); max-width: none; padding-left: 0; padding-right: 0; }
.plan-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 38px; border: 1px solid var(--border-default); border-radius: 12px; background: var(--bg-page); color: var(--text-primary); box-shadow: 0 24px 80px #0002; overflow: auto; }
.sales-dialog { width: min(400px, calc(100vw - 32px)); text-align: center; }
.sales-dialog h2 { padding: 0; margin-top: 4px; font-size: 24px; }
.sales-dialog > p { margin: 12px auto 24px; max-width: 280px; color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.sales-dialog .sales-qr { margin: 0 auto; width: min(100%, 240px); }
.plan-dialog::backdrop { background: #24262260; backdrop-filter: blur(3px); }
.plan-dialog h2 { font-size: 25px; padding-right: 18px; }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: var(--text-secondary); cursor: pointer; }
.dialog-close:hover { background: #2426220d; }
.dialog-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.dialog-price { margin: 16px 0 10px; font-size: 29px; font-weight: 550; letter-spacing: -.03em; }
.plan-dialog [data-dialog-description] { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.plan-dialog .plan-features { gap: 12px; font-size: 13px; }
.dialog-note { margin: 24px 0; border-top: 1px solid var(--border-default); padding-top: 20px; font-size: 12px; color: var(--text-muted); }
.plan-dialog > .btn { width: 100%; }
.private-license-table table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; font-variant-numeric: tabular-nums; }
.private-license-table th, .private-license-table td { padding: 11px 8px; border-bottom: 1px solid var(--border-default); }
.private-license-table th { font-weight: 550; }
.private-license-table th:first-child { padding-left: 0; }
.private-extra-note { margin-top: 14px; color: var(--text-muted); font-size: 11px; line-height: 1.8; }
@media (max-width: 1000px) {
  .pricing-hero h1 { max-width: 700px; }
  .pricing-usage, .pricing-faq { gap: 40px; }
  .seat-estimator { grid-template-columns: 1fr 120px; gap: 16px; }
  .seat-estimator__result { grid-column: 1 / -1; padding-left: 0; border-left: 0; grid-template-columns: auto 1fr; }
  .seat-estimator__result strong { justify-self: end; }
  .private-offer { padding-left: 24px; }
}
@media (max-width: 700px) {
  .pricing-main { width: calc(100% - 40px); }
  .pricing-hero { padding-top: 118px; padding-bottom: 30px; }
  .pricing-hero::before { left: 22%; right: 0; opacity: .08; }
  .pricing-hero h1 { font-size: 34px; max-width: 470px; }
  .pricing-intro { font-size: 13px; }
  .pricing-draft { margin-top: 18px; }
  .pricing-toolbar { align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .membership-tabs { gap: 22px; }
  .membership-tab { font-size: 14px !important; }
  .period-switch button { padding: 4px 10px; }
  .period-saving { display: none; }
  .plan-grid { gap: 14px; }
  .plan-card { padding: 24px 20px; }
  .plan-card h3 { font-size: 17px; }
  .plan-card__head { min-height: 28px; }
  .plan-description { min-height: 40px; margin-bottom: 12px; }
  .plan-badge { font-size: 9px; }
  .plan-price strong { font-size: 37px; }
  .plan-price__currency { font-size: 17px; }
  .plan-price__period { font-size: 11px; }
  .plan-billing { min-height: 40px; }
  .pricing-private { padding: 28px; grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .private-offer { border-left: 0; border-top: 1px solid #9ba69150; padding: 22px 0 0; }
  .private-price strong { font-size: 35px; }
  .pricing-section-head { display: block; }
  .pricing-section-head > p { margin-top: 14px; max-width: none; }
  .pricing-comparison { padding-top: 60px; }
  .comparison-table { min-width: 560px; }
  .comparison-table th, .comparison-table td { padding: 15px; }
  .pricing-usage, .pricing-faq { grid-template-columns: 1fr; gap: 30px; padding: 55px 0; }
  .pricing-faq > header, .pricing-faq > .faq-list { grid-column: auto; grid-row: auto; padding-left: 0; }
  .pricing-usage__list > div { grid-template-columns: 120px 1fr; gap: 14px; }
  .pricing-section-head h2, .pricing-usage h2, .pricing-faq h2 { font-size: 28px; }
  .pricing-foot .foot__inner { width: calc(100% - 40px); }
  .plan-dialog { padding: 30px 24px; }
}
@media (max-width: 480px) {
  .pricing-nav { width: calc(100% - 24px); padding-left: 14px; padding-right: 8px; }
  .pricing-nav .wordmark { font-size: 19px; }
  .pricing-nav .nav__actions { gap: 2px; }
  .pricing-nav .nav__actions > .btn { padding: 0 10px; font-size: 11px; }
  .pricing-language { width: 28px; }
  .pricing-main { width: calc(100% - 32px); }
  .pricing-hero h1 { font-size: 31px; max-width: 340px; }
  .pricing-kicker { margin-bottom: 14px; }
  .membership-tabs { gap: 20px; }
  .period-switch button { padding: 3px 10px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-description, .plan-billing { min-height: 0; }
  .plan-description { margin-bottom: 20px; }
  .plan-card { padding: 25px; min-width: 0; }
  .plan-price strong { font-size: 47px; }
  .plan-card__head { min-height: 0; }
  .seat-estimator { grid-template-columns: 1fr 84px; column-gap: 12px; }
  .seat-estimator__intro h3 { font-size: 15px; }
  .seat-estimator__intro p { font-size: 11px; }
  .seat-estimator__result strong { font-size: 22px; }
  .pricing-private { padding: 28px 25px; }
  .private-features { flex-direction: column; gap: 5px; }
  .pricing-section-head h2, .pricing-usage h2, .pricing-faq h2 { font-size: 25px; }
  .pricing-foot .foot__inner { width: calc(100% - 32px); }
  .plan-dialog { padding: 32px 22px 24px; }
  .plan-dialog h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pricing-page *, .pricing-page *::before, .pricing-page *::after { animation: none !important; transition: none !important; }
}
