/* Pricing: isolated extension of the Нейронум storefront. */
.page-pricing { background: var(--card); }
.page-pricing .np-hero { padding: calc(var(--header-h) + 44px) 0 36px; background: var(--paper); }
.page-pricing .np-hero .breadcrumbs { margin-bottom: 42px; }
.np-hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.np-hero-copy h1 { margin: 16px 0 24px; font-size: clamp(34px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.np-hero-copy .lead { max-width: 560px; font-size: 18px; line-height: 1.6; }
.np-hero-copy .text-link { margin-top: 24px; }
.np-hero-copy .text-link .i { transform: rotate(90deg); }
.np-intents { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 8px 24px; }
.np-intents > a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 16px; align-items: center; gap: 16px; padding: 26px 0; }
.np-intents > a + a { border-top: 1px solid var(--line-soft); }
.np-intent-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: var(--radius-s); }
.np-intent-copy b { display: block; font-size: 17px; font-weight: 650; line-height: 1.3; transition: color .2s ease; }
.np-intent-copy small { display: block; margin-top: 5px; max-width: 220px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.np-intent-price { text-align: right; white-space: nowrap; }
.np-intent-price b { display: block; font-size: 20px; letter-spacing: -.02em; }
.np-intent-price small { color: var(--muted); font-size: 12px; }
.np-intent-arrow { width: 16px; height: 16px; color: var(--muted); transform: rotate(90deg); transition: transform .22s var(--ease-out), color .22s ease; }
.np-intents > a:hover .np-intent-copy b, .np-intents > a:hover .np-intent-arrow { color: var(--accent); }
.np-intents > a:hover .np-intent-arrow { transform: rotate(90deg) translateX(3px); }
.np-hero-note { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.np-section-nav { position: sticky; top: var(--header-h); z-index: 25; background: var(--card); border-bottom: 1px solid var(--line-soft); }
.desktop-scroll-active .np-section-nav { top: var(--desktop-scroll-header-h, 72px); }
.np-section-nav .shell { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.np-section-nav a { flex: none; padding: 20px 0 17px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.np-section-nav a:hover, .np-section-nav a[aria-current] { color: var(--accent); border-color: var(--accent); }
.np-section { padding: 96px 0; scroll-margin-top: var(--np-nav-height, 62px); }
.np-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 42px; }
.np-heading h2 { margin-top: 14px; max-width: 720px; text-wrap: balance; }
.np-heading > p { max-width: 405px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.np-creation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.np-creation-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line-soft); border-radius: var(--radius-l); background: var(--paper); }
.np-card-tag { color: var(--muted); font-size: 13px; font-weight: 600; }
.np-creation-card h3 { margin-top: 16px; font-size: 29px; }
.np-card-description { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.np-creation-card .np-card-description { min-height: 72px; }
.np-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.np-price strong { font-family: var(--display); font-size: clamp(32px, 2.8vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.np-price > span { color: var(--muted); font-size: 14px; }
.np-features { display: grid; gap: 14px; margin: 26px 0 32px; list-style: none; }
.np-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.np-features .i { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.np-creation-card .button { margin-top: auto; }
.np-featured { background: var(--night); color: #fff; border-color: var(--night); }
.np-featured .np-card-tag, .np-featured .np-card-description, .np-featured .np-price > span { color: #bcc5d8; }
.np-featured .np-features .i { color: #9ab9ff; }
.np-context-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; max-width: 950px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.np-context-note .i { margin-top: 2px; width: 18px; height: 18px; }
.np-context-note a, .np-availability a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.np-design-section { background: var(--paper); }
.np-design-benefits { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 40px; font-size: 14px; }
.np-design-benefits > span { display: flex; align-items: center; gap: 10px; }
.np-design-benefits .i { color: var(--accent); width: 18px; height: 18px; }
.np-package-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 40px; }
.np-package-form { min-width: 0; }
.np-package-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.np-package-form legend { margin-bottom: 22px; font-family: var(--display); font-size: 22px; font-weight: 550; }
.np-package-columns { display: grid; grid-template-columns: minmax(0, 1fr) 150px 100px; gap: 16px; padding: 0 20px 12px 58px; color: var(--muted); font-size: 12px; }
.np-package-columns > :last-child { text-align: right; }
.np-package-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 150px 100px; align-items: center; gap: 16px; margin-bottom: 8px; min-height: 66px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-s); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.np-package-row:hover { border-color: #b6c9f3; }
.np-package-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.np-package-row:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.np-package-row input { margin: 0; width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.np-package-count { font-weight: 600; font-size: 16px; }
.np-package-price { font-weight: 600; font-size: 17px; white-space: nowrap; }
.np-package-discount { justify-self: end; padding: 4px 9px; background: #e5f5eb; color: #18713b; font-weight: 650; font-size: 13px; border-radius: 6px; }
.np-zero-discount { padding: 0; color: var(--muted); font-size: 12px; background: transparent; font-weight: 400; }
.np-package-footnote { margin-top: 20px; color: var(--muted); font-size: 14px; }
.np-package-summary { position: sticky; top: calc(var(--header-h) + 84px); padding: 32px; background: var(--card); border-radius: var(--radius-l); box-shadow: var(--shadow-card); }
.desktop-scroll-active .np-package-summary { top: calc(var(--desktop-scroll-header-h, 72px) + 84px); }
.np-summary-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.np-package-summary h3 { margin: 24px 0 0; font-size: 25px; line-height: 1.25; max-width: 360px; text-wrap: balance; }
.np-summary-total { margin: 24px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4vw, 54px); line-height: 1.1; letter-spacing: -.035em; }
.np-summary-period { margin-top: 8px; color: var(--muted); font-size: 14px; }
.np-summary-details { display: grid; gap: 15px; margin: 28px 0; font-size: 14px; }
.np-summary-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.np-summary-details dt { color: var(--muted); }
.np-summary-details dd { margin: 0; font-weight: 650; white-space: nowrap; }
.np-summary-details .np-summary-saving { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.np-summary-saving dt, .np-summary-saving dd { color: #18713b; }
.np-availability { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.page-pricing .to-top { display: none; }
.np-summary-bottom { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1.6; }
.np-summary-bottom .i { width: 18px; height: 18px; color: var(--accent); }
.np-subscription-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.np-subscription-intro h2 { margin-top: 14px; }
.np-subscription-intro .lead { margin-top: 24px; font-size: 18px; max-width: 390px; }
.np-small-note { margin-top: 24px; max-width: 380px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.np-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.np-plan { padding: 30px; border-radius: var(--radius-l); background: var(--accent-soft); }
.np-plan + .np-plan { background: var(--paper); }
.np-plan h3 { font-size: 30px; }
.np-plan .np-card-description { min-height: 72px; }
.np-plan .np-price { margin-top: 28px; gap: 8px; }
.np-plan .np-price strong { font-size: 36px; }
.np-plan-details { display: grid; gap: 16px; margin: 26px 0 0; padding-top: 24px; border-top: 1px solid rgba(17,17,17,.13); font-size: 14px; }
.np-plan-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.np-plan-details dt { color: var(--muted); }
.np-plan-details dd { font-weight: 650; margin: 0; white-space: nowrap; }
.np-plan-note { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.np-plan-cta { grid-column: 1 / -1; justify-self: start; }
.np-ai-section { padding-top: 0; }
.np-ai-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; padding: 60px; border-radius: var(--radius-xl); background: var(--night); color: #fff; }
.np-agent-copy .kicker { color: #9ab9ff; }
.np-agent-copy h2 { margin-top: 16px; font-size: clamp(34px, 3.5vw, 50px); text-wrap: balance; }
.np-agent-lead { margin-top: 28px; max-width: 470px; color: #dce2ef; font-size: 18px; line-height: 1.65; }
.np-agent-description { margin-top: 18px; max-width: 470px; color: #bcc5d8; font-size: 15px; line-height: 1.65; }
.np-agent-copy .button { margin-top: 30px; white-space: normal; text-align: center; }
.np-agent-purchase-note { margin-top: 16px; max-width: 460px; color: #bcc5d8; font-size: 13px; line-height: 1.6; }
.np-workspace-title { margin: 4px 0 20px; font-size: 15px; font-weight: 600; color: #dce2ef; }
.np-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.np-provider { min-width: 0; min-height: 126px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-radius: 12px; background: #fff; color: #111; }
.np-provider img { width: 100%; max-width: 124px; height: 32px; object-fit: contain; }
.np-provider img.np-provider-openai { width: 36px; height: 36px; }
.np-provider > span { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.4; }
.np-provider small { display: block; font-size: 11px; font-weight: 400; color: #6d6d69; }
.np-agent-steps { list-style: none; margin: 28px 0 0; display: grid; gap: 24px; }
.np-agent-steps li { display: flex; align-items: flex-start; gap: 16px; }
.np-agent-steps li > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: #a9c3ff; border: 1px solid #3b4a66; border-radius: 8px; font-size: 12px; font-weight: 650; }
.np-agent-steps b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.np-agent-steps p { margin-top: 6px; max-width: 390px; color: #bcc5d8; font-size: 14px; line-height: 1.55; }
.np-mcp-roadmap { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; border-top: 1px solid #364053; padding-top: 30px; }
.np-mcp-roadmap h3 { font-size: 25px; line-height: 1.2; }
.np-mcp-roadmap > p { color: #bcc5d8; font-size: 14px; line-height: 1.7; }
.np-balance-footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; color: #bcc5d8; font-size: 13px; line-height: 1.6; }
.np-balance-footer b { color: #dce2ef; font-weight: 600; }
.np-balance-footer > span { grid-column: 1 / -1; font-size: 12px; }
.np-coming { display: table; margin-bottom: 12px; padding: 5px 10px; color: #d7e3ff; border: 1px solid #53627d; border-radius: 6px; font-size: 12px; }
.page-pricing #faq { padding-top: 0; }
.page-pricing .aiw:not(.is-open):not(:focus-within) .aiw-hints, .page-pricing .aiw:not(.is-open):not(:focus-within) .aiw-field { display: none; }
.np-package-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 36px; border: 0; border-radius: var(--radius-l); color: var(--ink); background: var(--card); box-shadow: var(--shadow-float); }
.np-package-dialog::backdrop { background: rgba(14,16,22,.65); }
.np-dialog-close { display: grid; place-items: center; width: 40px; height: 40px; position: absolute; top: 16px; right: 16px; border: 0; background: var(--paper); border-radius: 10px; }
.np-package-dialog h2 { margin: 26px 0 0; font-size: 32px; padding-right: 20px; }
.np-dialog-price { margin: 20px 0; font-family: var(--display); font-size: 42px; font-weight: 600; letter-spacing: -.03em; }
.np-dialog-message { margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.np-dialog-back { margin-top: 18px; padding: 8px; border: 0; background: transparent; width: 100%; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.np-package-summary .button:disabled { cursor: not-allowed; opacity: .65; transform: none; box-shadow: none; }
@media (max-width: 1180px) {
  .np-hero-layout { gap: 36px; grid-template-columns: 1fr 1fr; }
  .np-intents { padding-inline: 18px; }
  .np-intents > a { grid-template-columns: 36px 1fr auto; gap: 12px; }
  .np-intent-icon { width: 36px; height: 36px; }
  .np-intent-arrow { display: none; }
  .np-intent-copy b { font-size: 15px; }
  .np-intent-price b { font-size: 18px; }
  .np-creation-card { padding: 26px; }
  .np-package-layout { gap: 28px; grid-template-columns: 1.2fr 1fr; }
  .np-package-columns { grid-template-columns: 1fr 100px 76px; gap: 10px; padding-left: 48px; }
  .np-package-row { grid-template-columns: 20px 1fr 100px 76px; gap: 10px; padding-inline: 14px; }
  .np-package-summary { padding: 28px; }
  .np-subscription-layout { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .np-plan { padding: 24px; }
  .np-plan .np-price strong { font-size: 30px; }
  .np-ai-panel { gap: 40px; padding: 42px; }
}
@media (max-width: 900px) {
  .np-hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .np-hero-copy { max-width: 720px; }
  .np-hero-copy h1 { font-size: 54px; }
  .np-intents > a { grid-template-columns: 42px 1fr auto 16px; padding-block: 20px; }
  .np-intent-arrow { display: block; }
  .np-hero-note { margin-top: 28px; }
  .np-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .np-heading > p { max-width: 620px; }
  .np-creation-grid { grid-template-columns: 1fr; }
  .np-creation-card { padding: 32px; }
  .np-creation-card .np-card-description { min-height: 0; max-width: 570px; }
  .np-creation-card .button { align-self: start; width: auto; min-width: 220px; }
  .np-package-layout { grid-template-columns: 1fr; }
  .np-package-summary { position: static; }
  .np-summary-total { font-size: 50px; }
  .np-package-columns { grid-template-columns: 1fr 150px 100px; padding-left: 58px; gap: 16px; }
  .np-package-row { grid-template-columns: 20px 1fr 150px 100px; padding-inline: 20px; gap: 16px; }
  .np-subscription-layout { grid-template-columns: 1fr; gap: 32px; }
  .np-subscription-intro .lead, .np-small-note { max-width: 620px; }
  .np-subscription-intro h2 br { display: none; }
  .np-plan .np-card-description { min-height: 48px; }
  .np-ai-panel { grid-template-columns: 1fr; }
  .np-agent-lead, .np-agent-description, .np-agent-purchase-note { max-width: 620px; }
  .np-provider { min-height: 130px; }
  .np-provider img { max-width: 150px; }
  .np-mcp-roadmap { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .page-pricing .np-hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 26px; }
  .page-pricing .np-hero .breadcrumbs { margin-bottom: 28px; }
  .np-hero-copy h1 { font-size: clamp(36px, 9vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
  .np-hero-copy .lead { font-size: 16px; }
  .np-intents { padding-inline: 16px; border-radius: 20px; }
  .np-intents > a { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding-block: 20px; }
  .np-intent-icon { width: 32px; height: 32px; border-radius: 10px; }
  .np-intent-icon .i { width: 17px; height: 17px; }
  .np-intent-copy b { font-size: 14px; }
  .np-intent-copy small { font-size: 12px; }
  .np-intent-price b { font-size: 16px; }
  .np-intent-arrow { display: none; }
  .np-hero-note { font-size: 13px; line-height: 1.6; }
  .np-section-nav .shell { gap: 24px; }
  .np-section-nav a { padding-block: 16px 13px; font-size: 13px; }
  .np-section { padding-block: 64px; }
  .np-heading { margin-bottom: 30px; }
  .np-heading > p { font-size: 16px; }
  .np-creation-card { padding: 26px; }
  .np-price strong { font-size: 40px; }
  .np-creation-card .button { width: 100%; min-width: 0; }
  .np-desktop-break { display: none; }
  .np-design-benefits { flex-direction: column; gap: 16px; margin-bottom: 32px; font-size: 13px; }
  .np-package-form legend { font-size: 20px; }
  .np-package-columns { grid-template-columns: 1fr 95px 66px; padding-inline: 40px 12px; gap: 8px; font-size: 11px; }
  .np-package-row { grid-template-columns: 18px minmax(0, 1fr) 95px 66px; gap: 8px; padding: 15px 12px; min-height: 64px; }
  .np-package-row input { width: 18px; height: 18px; }
  .np-package-count { font-size: 14px; }
  .np-package-price { font-size: 14px; }
  .np-package-discount { font-size: 12px; padding-inline: 7px; }
  .np-zero-discount { font-size: 10px; padding: 0; }
  .np-package-summary { padding: 26px; }
  .np-package-summary h3 { font-size: 24px; }
  .np-summary-total { font-size: 46px; }
  .np-plan-grid { grid-template-columns: 1fr; }
  .np-plan { padding: 28px; }
  .np-plan .np-card-description { min-height: 0; }
  .np-plan .np-price strong { font-size: 40px; }
  .np-plan-cta { justify-self: stretch; }
  .np-ai-panel { padding: 30px 26px; gap: 28px; border-radius: 24px; }
  .np-ai-panel h2 { font-size: 34px; }
  .np-workspace-title { line-height: 1.5; }
  .np-provider-grid { gap: 8px; }
  .np-provider { min-height: 112px; padding: 16px 8px 12px; gap: 12px; }
  .np-provider > span { font-size: 11px; }
  .np-provider small { font-size: 10px; }
  .np-provider img { height: 24px; }
  .np-provider img.np-provider-openai { width: 30px; height: 30px; }
  .np-agent-lead { font-size: 17px; }
  .np-agent-copy .button { width: 100%; font-size: 14px; padding: 14px 16px; }
  .np-balance-footer { grid-template-columns: 1fr; }
  .np-balance-footer > span { grid-column: 1; }
  .np-package-dialog { padding: 28px; }
}
@media (max-width: 380px) {
  .np-intents > a { grid-template-columns: minmax(0, 1fr) auto; }
  .np-intent-icon { display: none; }
  .np-package-row { grid-template-columns: 18px minmax(0, 1fr) 86px 50px; gap: 6px; }
  .np-package-columns { grid-template-columns: 1fr 86px 50px; gap: 6px; }
  .np-package-count, .np-package-price { font-size: 13px; }
  .np-zero-discount { white-space: normal; text-align: right; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-intent-arrow, .np-intent-copy b, .np-package-row, .np-section-nav a { transition: none; }
}
