/* Shared button shape, including the existing site. */
.btn { border-radius: 10px; }

.new-page, .site-page {
    --new-blue: #083a8a;
    --new-cyan: #17add2;
    --new-muted: #757b84;
    --new-surface: #f3f7fc;
    --new-border: #dce3ed;
    --new-tile: #dbe6f4;
    background: #fff;
    color: #000;
}
.new-page h1, .new-page h2, .new-page h3, .new-page h4, .new-page p { margin: 0; }
.new-page button, .new-page summary { font-family: inherit; }
.new-page :focus-visible { outline: 2px solid var(--new-cyan); outline-offset: 4px; }
.new-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.new-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.new-header { border-bottom: 1px solid var(--new-border); background: #fff; position: relative; z-index: 10; }
.new-header__inner { display: flex; align-items: center; gap: 64px; min-height: 96px; }
.new-logo { flex-shrink: 0; display: block; }
.new-logo img { display: block; width: 231px; height: 48px; }
.new-navigation { display: flex; align-items: center; gap: 48px; flex: 1; }
.new-navigation__primary, .new-navigation__auth { display: flex; align-items: center; gap: 32px; }
.new-navigation__primary { margin-right: auto; }
.new-navigation__auth { gap: 16px; }
.new-nav-link { border: 0; padding: 8px 0; background: none; color: #000; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.new-nav-link:hover, .new-nav-link--active { color: var(--new-blue); }
.new-catalog { position: relative; }
.new-catalog summary { display: flex; align-items: center; gap: 6px; list-style: none; }
.new-catalog summary::-webkit-details-marker { display: none; }
.new-catalog .new-icon { width: 18px; height: 18px; }
.new-catalog[open] summary .new-icon { transform: rotate(180deg); }
.new-catalog__list { position: absolute; top: calc(100% + 12px); right: 0; width: 220px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--new-border); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #083a8a14; }
.new-catalog__list a { display: block; padding: 10px 12px; color: #000; border-radius: 6px; text-decoration: none; }
.new-catalog__list a:hover { background: var(--new-surface); color: var(--new-blue); }
.new-menu-toggle { display: none; }
.new-button { font-size: 15px; line-height: 20px; padding: 16px 20px; }
.new-button--small { font-size: 14px; padding: 10px 18px; }
.new-button--cyan { background: var(--new-cyan); }
.new-button--cyan:hover { background: #1296b7; }
.new-intro { padding-top: 56px; }
.new-hero { position: relative; min-height: 510px; border-radius: 18px 18px 0 0; overflow: hidden; isolation: isolate; }
.new-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: -2; }
.new-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffff5 25%, #ffffffa6 48%, #ffffff00 78%); z-index: -1; }
.new-hero__content { max-width: 760px; padding: 48px 32px 0 48px; }
.new-hero h1 { font-size: 44px; line-height: 1.16; font-weight: 600; letter-spacing: -1px; }
.new-hero h1 span { color: var(--new-blue); }
.new-hero__description { max-width: 650px; margin-top: 22px !important; font-size: 16px; line-height: 1.65; color: #394555; }
.new-roles { display: flex; gap: 16px; margin-top: 28px; }
.new-role { flex: 1; min-width: 0; padding: 20px; border: 1px solid var(--new-border); border-radius: 16px; background: #fff; }
.new-role h2 { font-size: 20px; line-height: 1.3; }
.new-role p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--new-muted); }
.new-role .btn { width: 100%; margin-top: 16px; }
.new-hero__note { position: absolute; right: 48px; bottom: 0; width: 330px; padding: 20px 22px; background: #fff; border-radius: 16px; }
.new-hero__note h2 { color: var(--new-blue); font-size: 16px; line-height: 1.4; }
.new-hero__note p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--new-muted); }
.new-benefits { position: relative; display: flex; padding: 0; margin: 0; list-style: none; border: 1px solid var(--new-border); border-radius: 16px; background: #fff; }
.new-benefits li { flex: 1; display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.new-benefits li + li { border-left: 1px solid var(--new-border); }
.new-icon-tile { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; background: var(--new-surface); color: var(--new-blue); border-radius: 12px; }
.new-benefits h2 { font-size: 15px; line-height: 1.4; }
.new-benefits p { font-size: 13px; color: var(--new-muted); margin-top: 4px; }
.new-workflow { padding: 56px 0; background: var(--new-surface); }
.new-workflow > .section__container > h2 { font-size: 30px; line-height: 1.3; }
.new-workflow__intro { color: var(--new-muted); margin-top: 8px !important; }
.new-workflow__row { margin-top: 30px; row-gap: 16px; }
.new-workflow__col { display: flex; }
.new-step { width: 100%; padding: 24px 20px; background: #fff; border: 1px solid var(--new-border); border-radius: 16px; }
.new-step__header { display: flex; align-items: center; gap: 12px; }
.new-step__number { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--new-blue); background: var(--new-tile); font-size: 18px; font-style: italic; font-weight: 600; }
.new-step h3 { font-size: 18px; line-height: 1.3; }
.new-step__header p { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--new-muted); }
.new-step__diagram { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 20px; min-height: 192px; }
.new-chat { display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.6; }
.new-chat p { padding: 10px 12px; border-radius: 12px; background: var(--new-surface); }
.new-chat .new-chat__answer { background: var(--new-blue); color: #fff; align-self: flex-end; }
.new-flow-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--new-blue); background: var(--new-tile); }
.new-flow-arrow .new-icon { width: 18px; height: 18px; stroke-width: 1.3; }
.new-facts { margin: 0; font-size: 12px; }
.new-facts > div { display: flex; gap: 8px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #edf1f6; }
.new-facts > div:first-child { padding-top: 0; }
.new-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.new-facts dt { color: var(--new-muted); font-size: 11px; }
.new-facts dd { margin: 0; font-weight: 600; }
.new-project { display: flex; align-items: center; gap: 12px; border: 1px solid var(--new-border); border-radius: 12px; padding: 12px; }
.new-project img { width: 64px; height: 60px; object-fit: cover; border-radius: 8px; }
.new-project h4, .new-matches h4 { font-size: 14px; line-height: 1.4; }
.new-project p { font-size: 12px; color: var(--new-muted); }
.new-matches { list-style: none; padding: 0; margin: 0; }
.new-matches li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--new-border); border-radius: 12px; }
.new-matches p { font-size: 10px; text-transform: uppercase; color: #59616b; }
.new-matches li > span { border-radius: 20px; background: #e7f3e5; color: #3c7531; padding: 5px 9px; font-size: 11px; font-weight: 600; }
@media (min-width: 1280px) {
    .new-workflow__col { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (min-width: 1280px) and (max-width: 1699px) {
    .new-header__inner { gap: 36px; }
    .new-navigation { gap: 24px; }
    .new-navigation__primary { gap: 20px; }
    .new-nav-link { font-size: 14px; }
    .new-logo img { width: 200px; height: auto; }
    .new-hero__content { max-width: 700px; padding-left: 32px; }
    .new-hero__note { right: 24px; width: 285px; }
    .new-step { padding: 20px 16px; }
    .new-step__diagram { grid-template-columns: 1fr; gap: 12px; }
    .new-flow-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 1279px) {
    .new-header__inner { min-height: 72px; justify-content: space-between; }
    .new-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 8px; background: transparent; color: #000; cursor: pointer; }
    .new-menu-toggle span { display: block; height: 2px; width: 22px; background: currentColor; }
    .new-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .new-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .new-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .new-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px; background: #fff; border-bottom: 1px solid var(--new-border); box-shadow: 0 16px 24px #083a8a0d; max-height: calc(100dvh - 72px); overflow-y: auto; }
    .new-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
    .new-navigation__primary { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
    .new-navigation__auth { border-top: 1px solid var(--new-border); padding-top: 16px; flex-wrap: wrap; }
    .new-catalog__list { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
    .new-catalog summary { justify-content: space-between; }
    .new-hero__content { max-width: 65%; padding: 32px 24px 24px; }
    .new-hero h1 { font-size: 36px; }
    .new-hero__note { right: 24px; bottom: 24px; width: 28%; }
    .new-roles { flex-direction: column; }
    .new-benefits li { padding: 16px 12px; gap: 10px; }
    .new-benefits h2 { font-size: 14px; }
    .new-step__diagram { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .new-header__inner { min-height: 64px; }
    .new-logo img { width: 32px; height: 38px; }
    .new-intro { padding-top: 32px; }
    .new-hero { background: #e0e7ef; border-radius: 16px; }
    .new-hero__image { position: relative; display: block; height: auto; aspect-ratio: 1.78; object-fit: cover; z-index: 0; }
    .new-hero::before { top: 0; bottom: auto; aspect-ratio: 1.78; background: linear-gradient(0deg, #e0e7ef, #e0e7ef00 35%); z-index: 1; pointer-events: none; }
    .new-hero__content { max-width: none; padding: 24px 20px 0; }
    .new-hero h1 { font-size: 30px; line-height: 1.18; letter-spacing: -.6px; }
    .new-desktop-break { display: none; }
    .new-hero__description { font-size: 15px; line-height: 1.5; margin-top: 18px !important; }
    .new-roles { margin-top: 22px; gap: 16px; }
    .new-role { padding: 22px; border: 0; border-radius: 14px; }
    .new-role h2 { font-size: 18px; }
    .new-role p { font-size: 14px; }
    .new-hero__note { position: static; width: auto; margin: 56px 20px 24px; padding: 20px; border-radius: 14px; }
    .new-hero__note h2 { font-size: 15px; }
    .new-benefits { flex-direction: column; margin-top: 12px; }
    .new-benefits li { padding: 20px; gap: 14px; }
    .new-benefits li + li { border-left: 0; border-top: 1px solid var(--new-border); }
    .new-benefits h2 { font-size: 14px; }
    .new-workflow { padding: 32px 0; }
    .new-workflow > .section__container > h2 { font-size: 25px; }
    .new-workflow__intro { font-size: 15px; }
    .new-workflow__row { margin-top: 28px; }
    .new-step { padding: 24px 20px; }
    .new-step h3 { font-size: 18px; }
    .new-step__diagram { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; min-height: 0; }
    .new-chat { font-size: 13px; }
    .new-flow-arrow { transform: rotate(90deg); justify-self: center; }
    .new-facts { font-size: 13px; padding-bottom: 28px; }
    .new-facts dt { font-size: 12px; }
    .new-facts > div { padding: 16px 0; }
    .new-project h4, .new-matches h4 { font-size: 14px; }
}

/* Shared sections for the three static landing pages. */
.new-page main { flex: 1; }
.new-page a { text-underline-offset: 3px; }
.new-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.new-button--outline { background: #fff; color: var(--new-blue); border: 1px solid var(--new-border); }
.new-button--outline:hover { color: var(--new-blue); background: var(--new-surface); border-color: var(--new-blue); }
.new-button--full { width: 100%; }
.new-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.new-hero .new-actions { margin-top: 28px; }
.new-hero--landing { min-height: 410px; }
.new-hero--landing .new-hero__content { max-width: 880px; padding-bottom: 40px; }
.new-hero--landing h1 { font-size: 42px; }
.new-section { padding: 56px 0; }
.new-section--tinted { background: var(--new-surface); }
.new-section--compact-bottom { padding-bottom: 0; }
.new-section__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.new-section__heading h2 { font-size: 30px; line-height: 1.3; }
.new-section__heading p { color: var(--new-muted); margin-top: 8px; line-height: 1.5; }
.new-section__heading > .btn { flex-shrink: 0; }
.new-timeline { display: flex; list-style: none; margin: 0; padding: 24px; gap: 24px; border-radius: 16px; background: var(--new-surface); }
.new-timeline li { flex: 1; display: flex; gap: 12px; align-items: flex-start; }
.new-timeline li > span { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; background: var(--new-blue); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 600; }
.new-timeline h3 { font-size: 15px; line-height: 1.4; }
.new-timeline p { font-size: 13px; line-height: 1.5; color: var(--new-muted); margin-top: 4px; }
.new-projects, .new-panels { row-gap: 24px; }
.new-third { display: flex; }
.new-project-card { display: block; color: inherit; text-decoration: none; width: 100%; border: 1px solid var(--new-border); border-radius: 16px; overflow: hidden; }
.new-project-card__image img { width: 100%; aspect-ratio: 2.6; height: auto; object-fit: cover; display: block; }
.new-project-card__body { padding: 20px; display: flex; justify-content: space-between; gap: 16px; }
.new-project-card h3 { font-size: 17px; line-height: 1.4; }
.new-project-card p { color: var(--new-muted); font-size: 12px; margin-top: 6px; }
.new-project-card__score { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.new-project-card__score strong { color: #3c7531; font-size: 24px; line-height: 1.2; }
.new-project-card__score span { color: var(--new-muted); font-size: 10px; margin-top: 4px; }
.new-list { display: flex; flex-direction: column; gap: 12px; }
.new-list-card { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--new-border); border-radius: 12px; }
.new-list-card__image { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.new-list-card__body { flex: 1; min-width: 0; }
.new-list-card h3 { font-size: 16px; line-height: 1.4; }
.new-list-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; color: var(--new-muted); font-size: 12px; }
.new-list-card__meta > span:first-child { margin-right: 8px; }
.new-tag { background: var(--new-surface); color: #5e6878; font-size: 11px; padding: 3px 8px; border-radius: 5px; }
.new-list-card__aside { display: flex; flex-direction: column; align-items: flex-end; color: var(--new-muted); font-size: 11px; gap: 3px; flex-shrink: 0; }
.new-list-card > .btn { flex-shrink: 0; }
.new-company-avatar { display: grid; place-items: center; width: 52px; height: 52px; color: #b2bdc8; border: 1px solid var(--new-border); border-radius: 50%; background: var(--new-surface); flex-shrink: 0; }
.new-company-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.new-badge { display: inline-block; border-radius: 20px; padding: 4px 10px; background: #e7f3e5; color: #3c7531; font-size: 11px; line-height: 1.4; font-weight: 600; }
.new-badge--amber { color: #956316; background: #fff3d9; }
.new-badge--blue { color: var(--new-blue); background: var(--new-tile); }
.new-score { color: #3c7531; font-size: 18px; }
.new-faq { border: 1px solid var(--new-border); border-radius: 16px; background: #fff; overflow: hidden; }
.new-faq details + details { border-top: 1px solid var(--new-border); }
.new-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; list-style: none; cursor: pointer; font-weight: 600; }
.new-faq summary::-webkit-details-marker { display: none; }
.new-faq summary > span { flex-shrink: 0; position: relative; width: 14px; height: 14px; }
.new-faq summary > span::before, .new-faq summary > span::after { content: ''; position: absolute; width: 12px; height: 2px; top: 6px; left: 1px; background: var(--new-blue); }
.new-faq summary > span::after { transform: rotate(90deg); }
.new-faq details[open] summary > span::after { transform: none; }
.new-faq details[open] summary { color: var(--new-blue); }
.new-faq summary:hover { background: var(--new-surface); }
.new-faq__answer { padding: 16px 24px 24px; max-width: 1000px; color: #59616b; line-height: 1.65; }
.new-cta-section { padding-bottom: 160px; }
.new-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--new-surface); border-radius: 16px; padding: 40px 48px; }
.new-cta h2 { color: var(--new-blue); font-size: 28px; line-height: 1.3; }
.new-cta p { color: var(--new-muted); font-size: 14px; margin-top: 8px; }
.new-cta .new-actions { flex-shrink: 0; }
.new-footer { border-top: 1px solid var(--new-border); padding: 28px 0; font-size: 13px; }
.new-footer a { color: inherit; text-decoration: none; }
.new-footer a:hover { text-decoration: underline; }
.new-footer__contacts { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.new-footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: var(--new-muted); }
.new-footer__legal a { color: var(--new-blue); }
.new-assistant-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; scroll-margin-top: 24px; }
.new-panel { width: 100%; min-width: 0; padding: 28px; border: 1px solid var(--new-border); border-radius: 16px; background: #fff; }
.new-panel h3, .new-registration h3 { font-size: 20px; line-height: 1.4; }
.new-panel__heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.new-panel__heading p, .new-panel-subtitle { color: var(--new-muted); font-size: 14px; margin-top: 4px !important; }
.new-panel__heading .new-icon-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--new-tile); }
.new-panel__heading .new-icon { width: 22px; height: 22px; }
.new-panel__title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.new-chat--full { font-size: 14px; gap: 12px; }
.new-chat--full p { max-width: 88%; padding: 14px 16px; }
.new-message-placeholder { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 12px 14px; border: 1px solid var(--new-border); border-radius: 10px; font-size: 13px; color: #9ba6b5; }
.new-mic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--new-blue); color: #fff; flex-shrink: 0; }
.new-mic .new-icon { width: 22px; height: 22px; }
.new-messengers { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--new-muted); }
.new-messenger { padding: 6px 12px; border: 1px solid var(--new-border); border-radius: 24px; color: var(--new-blue); font-weight: 600; }
.new-small-note { font-size: 12px; line-height: 1.6; color: var(--new-muted); margin-top: 14px !important; }
.new-small-note a { color: inherit; }
.new-facts--large { font-size: 14px; margin-bottom: 24px; }
.new-facts--large > div { padding: 18px 0; gap: 16px; }
.new-facts--large dt { flex: 0 0 32%; font-size: 13px; }
.new-facts--large dd { flex: 1; min-width: 0; }
.new-question-list { display: flex; flex-direction: column; gap: 10px; }
.new-assistant-input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--new-border); border-radius: 8px; background: #fff; color: #182330; font: inherit; font-size: 13px; }
.new-assistant-input::placeholder { color: #59616b; opacity: 1; }
.new-matches--roomy li { margin-bottom: 10px; padding: 14px 12px; }
.new-matches--roomy h4 { font-size: 15px; }
.new-two-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.new-registration { padding: 0; border: 0; margin: 0; min-width: 0; scroll-margin-top: 24px; }
.new-registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 16px; }
.new-registration-fields label { display: flex; flex-direction: column; gap: 6px; color: var(--new-muted); font-size: 13px; }
.new-registration-fields input { width: 100%; min-width: 0; border: 1px solid var(--new-border); border-radius: 8px; background: #fff; padding: 13px 14px; font: inherit; font-size: 15px; color: #182330; }
.new-registration-fields input::placeholder { color: #9ba6b5; opacity: 1; }
.new-registration-fields input:focus { border-color: var(--new-blue); }
.new-cabinet-links { display: flex; flex-direction: column; gap: 12px; }
.new-cabinet-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--new-border); border-radius: 10px; color: #000; text-decoration: none; }
.new-cabinet-links a:hover { background: var(--new-surface); }
.new-cabinet-links h4 { font-size: 16px; }
.new-cabinet-links p { font-size: 13px; color: var(--new-muted); margin-top: 4px; }
.new-cabinet-links .new-icon { color: var(--new-blue); width: 18px; height: 18px; }
.new-notice { display: flex; gap: 10px; background: #eef7ea; color: #4d7b43; padding: 16px; border-radius: 10px; font-size: 13px; margin-top: 16px !important; }
.new-notice .new-icon { width: 18px; height: 18px; }
.new-object-tree { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.new-object-owner { display: flex; align-items: center; gap: 16px; color: var(--new-blue); background: var(--new-tile); padding: 24px; border-radius: 12px; }
.new-object-owner small { display: block; font-size: 11px; }
.new-object-owner strong { font-size: 15px; }
.new-object-branches { display: flex; flex-direction: column; gap: 24px; }
.new-object-branch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: center; }
.new-object-branch h3 { font-size: 15px; line-height: 1.4; }
.new-object-requests { display: flex; flex-direction: column; gap: 8px; }
.new-object-requests > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--new-border); border-radius: 10px; }
.new-object-requests small { font-size: 10px; color: var(--new-muted); }
.new-object-requests p { font-size: 13px; }
.new-object-requests .new-badge { flex-shrink: 0; }
@media (min-width: 1024px) {
    .new-third { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (min-width: 768px) and (max-width: 1699px) {
    .new-hero--landing .new-hero__content { max-width: 72%; }
    .new-hero--landing h1 { font-size: 36px; }
    .new-hero--landing .new-hero__note { width: 25%; right: 20px; }
    .new-cta { padding: 32px; }
    .new-cta .new-actions { max-width: 45%; }
    .new-project-card__body { padding: 16px; flex-wrap: wrap; }
    .new-project-card__score { margin-left: auto; }
    .new-panel { padding: 22px; }
    .new-panels .new-facts--large > div { flex-direction: column; gap: 6px; }
}
@media (max-width: 1023px) {
    .new-timeline { flex-wrap: wrap; }
    .new-timeline li { flex: 1 1 40%; }
    .new-assistant-grid { grid-template-columns: 1fr; }
    .new-panels .new-facts--large > div { flex-direction: row; }
    .new-object-tree { grid-template-columns: 1fr; gap: 20px; }
    .new-list-card { flex-wrap: wrap; }
    .new-list-card__body { flex-basis: 65%; }
    .new-list-card__aside { margin-left: auto; }
    .new-cta { align-items: flex-start; }
}
@media (max-width: 767px) {
    .new-hero--landing { min-height: 0; }
    .new-hero--landing .new-hero__content { max-width: none; padding: 24px 20px 0; }
    .new-hero--landing h1 { font-size: 30px; }
    .new-hero--landing .new-hero__note { margin-top: 32px; }
    .new-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
    .new-actions .btn { width: 100%; }
    .new-section { padding: 32px 0; }
    .new-section--compact-bottom { padding-bottom: 0; }
    .new-section__heading { flex-direction: column; gap: 18px; margin-bottom: 24px; }
    .new-section__heading h2 { font-size: 25px; }
    .new-section__heading p { font-size: 15px; }
    .new-timeline { flex-direction: column; gap: 20px; padding: 22px; }
    .new-timeline li { flex: auto; }
    .new-project-card__image img { aspect-ratio: 1.9; }
    .new-project-card__body { padding: 16px; flex-wrap: wrap; }
    .new-project-card__body > div:first-child { flex: 1; min-width: 150px; }
    .new-project-card__score { margin-left: auto; }
    .new-project-card h3 { font-size: 16px; }
    .new-list-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .new-list-card__body { flex: auto; width: 100%; }
    .new-list-card__image { width: 84px; height: 60px; }
    .new-list-card h3 { font-size: 15px; }
    .new-list-card__meta { gap: 6px; }
    .new-list-card__meta > span:first-child { width: 100%; }
    .new-list-card__aside { width: 100%; margin: 0; }
    .new-list-card > .btn { width: 100%; }
    .new-company-title { align-items: flex-start; }
    .new-company-avatar { width: 44px; height: 44px; }
    .new-faq summary { padding: 20px 18px; font-size: 14px; }
    .new-faq__answer { padding: 14px 18px 20px; font-size: 14px; }
    .new-cta-section { padding-bottom: 96px; }
    .new-cta { flex-direction: column; gap: 24px; padding: 28px 24px; }
    .new-cta h2 { font-size: 25px; }
    .new-footer { padding: 24px 0; font-size: 11px; }
    .new-footer__contacts { flex-wrap: wrap; gap: 12px 16px; }
    .new-footer__contacts a:last-child { width: 100%; }
    .new-footer__legal { flex-direction: column; gap: 14px; margin-top: 16px; }
    .new-panel { padding: 22px 18px; }
    .new-panel h3, .new-registration h3 { font-size: 18px; }
    .new-panel__heading p { font-size: 13px; }
    .new-chat--full { font-size: 12px; }
    .new-chat--full p { padding: 12px; max-width: 94%; }
    .new-facts--large { padding-bottom: 0; font-size: 13px; }
    .new-facts--large dt { font-size: 12px; }
    .new-facts--large > div { gap: 12px; padding: 16px 0; }
    .new-small-note { font-size: 11px; }
    .new-two-panels { grid-template-columns: 1fr; margin-top: 32px; }
    .new-registration-fields { grid-template-columns: 1fr; }
    .new-registration-fields input { font-size: 16px; }
    .new-object-branch { grid-template-columns: 1fr; gap: 16px; }
    .new-object-owner { padding: 20px; }
    .new-object-requests > div { flex-wrap: wrap; }
    .new-object-requests .new-badge { margin-left: auto; }
}

/* Keep zoom inside the image frame, without moving the card text. */
.new-project-card__image { overflow: hidden; }
.new-project-card__image img { transition: transform .3s ease; }
.new-project-card:hover { color: inherit; }
.new-project-card:focus-visible .new-project-card__image img { transform: scale(1.04); }
@media (hover: hover) {
    .new-project-card:hover .new-project-card__image img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .new-project-card__image img { transition: none; }
    .new-project-card:hover .new-project-card__image img,
    .new-project-card:focus-visible .new-project-card__image img { transform: none; }
}
.new-message-placeholder--editable input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #182330; font: inherit; }
.new-message-placeholder--editable input::placeholder { color: #9ba6b5; opacity: 1; }
.new-page .new-registration-fields input:focus,
.new-page .new-assistant-input:focus { outline: none; box-shadow: none; border-color: var(--new-blue); }
.new-page .new-message-placeholder--editable input:focus { outline: none; box-shadow: none; }
.new-message-placeholder--editable:focus-within { border-color: var(--new-blue); }
/* Existing Django pages use the same palette and components as the new landings.
   Keep the original grid and JS state classes; this layer changes presentation only. */
.site-page { background: var(--new-surface); color: #182330; }
.site-page .page-header__wrapper { background: #fff; border-bottom: 1px solid var(--new-border); }
.site-page .page-header__nav-inner { background-color: #fff; }
.site-page .m-nav__link { border-radius: 8px; }
.site-page .m-nav__link-counter { border-radius: 6px; background: var(--new-surface); color: var(--new-blue); }
.site-page .btn-login__nav { border: 1px solid var(--new-border); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px #083a8a12; }
.site-page .profile-image { border-radius: 10px; overflow: hidden; }
.site-page .section-title { color: #182330; line-height: 1.2; letter-spacing: -.025em; }
.site-page .section--compact { padding-top: 40px; }
.site-page .section--regular { padding-top: 56px; }
.site-page .btn { border-radius: 10px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.site-page .btn--theme_light { background: #e8f0fb; color: var(--new-blue); }
.site-page .btn--theme_light:hover { background: #dbe6f4; }
.site-page .btn--theme_empty { background: transparent; }
.site-page .btn:focus-visible, .site-page .icon-btn:focus-visible,
.site-page .btn-link:focus-visible, .site-page .accordion__btn:focus-visible { outline: 2px solid var(--new-cyan); outline-offset: 3px; }
.site-page .btn--loading { color: transparent; }
.site-page .icon-btn--theme_filled, .site-page .c-card__pseudo-btn { border-radius: 8px; }

/* Search, filters and editable forms. Don't override error/disabled states. */
.site-page .form-input__input, .site-page .form-textarea__input,
.site-page .ss-main { border: 1px solid var(--new-border); border-radius: 10px; background-color: #fff; color: #182330; transition: border-color .2s; }
.site-page .form-input__input::placeholder, .site-page .form-textarea__input::placeholder { color: #87909d; opacity: 1; }
.site-page .form-input__input:focus, .site-page .form-textarea__input:focus,
.site-page .ss-main:focus, .site-page .ss-main:focus-within { outline: none; box-shadow: none; border-color: var(--new-blue); }
.site-page .form-input.invalid .form-input__input,
.site-page .form-textarea.invalid .form-textarea__input,
.site-page .form-select.invalid .ss-main,
.site-page .ss-main.invalid { border-color: #ce4141; }
.site-page .form-input__input:disabled, .site-page .form-textarea__input:disabled,
.site-page .ss-main.ss-disabled { background-color: #eef1f5; color: #87909d; cursor: not-allowed; }
.site-page .ss-content { border-color: var(--new-border); border-radius: 10px; box-shadow: 0 8px 24px #083a8a12; }
.site-page .ss-content .ss-search input { border-radius: 6px; border-color: var(--new-border); }
.site-page .ss-main .ss-values .ss-value { border-radius: 5px; }
.site-page .form-label { color: #334155; }
.site-page .form-auto-label, .site-page .form-input__notice,
.site-page .form-textarea__notice, .site-page .form__agreement { color: var(--new-muted); }
.site-page .form-radio__label::before { border-color: #aab8ca; }
.site-page .form-checkbox__label::before { border-radius: 5px; }
.site-page .form-file__label, .site-page .form-file-multiple__label { border-radius: 10px; }
.site-page .form-file-upload__preview, .site-page .form-file-upload__preview-img { border-radius: 12px; }
.site-page .form-file-multiple__item { border-radius: 8px; }
.site-page .form--align_center, .site-page .form--theme_white,
.site-page .form--profile { padding: 32px; background: #fff; border: 1px solid var(--new-border); border-radius: 20px; }
.site-page .form--grid > .form__instance { padding: 32px; background: #fff; border: 1px solid var(--new-border); border-radius: 20px; }
.site-page .form__section-title { margin-bottom: 28px; }
.site-page .form__line { border-color: var(--new-border); }
.site-page .notice { border-radius: 10px; }
.site-page .f-filter__body { padding: 24px; background: #fff; border: 1px solid var(--new-border); border-radius: 16px; }
.site-page .f-filter__item + .f-filter__item { margin-top: 24px; }
.site-page .filter__message { padding: 32px; border: 1px dashed var(--new-border); border-radius: 16px; background: #fff; }

/* Catalogs, publications, projects and article cards. */
.site-page .c-card, .site-page .article-card, .site-page .review-card__inner { border: 1px solid var(--new-border); border-radius: 16px; background: #fff; box-shadow: none; }
.site-page .c-card { padding: 24px; transition: border-color .2s, box-shadow .2s; }
.site-page .c-card__title, .site-page .article-card__title { color: #182330; }
.site-page .c-card__img-wrap, .site-page .c-card__img, .site-page .photo-card,
.site-page .order-card__logo, .site-page .order-card__img-wrap { border-radius: 12px; overflow: hidden; }
.site-page .article-card { overflow: hidden; }
.site-page .article-card__img { transition: transform .3s; }
.site-page .article-card__info { padding: 24px; }
.site-page .c-card__date, .site-page .article-card__date, .site-page .review-card__date { color: var(--new-muted); }
.site-page .c-badge, .site-page .article-card__badge { border-radius: 6px; }
.site-page .pagination__btn { border: 1px solid var(--new-border); border-radius: 8px; background: #fff; }
.site-page .pagination__item--active .pagination__btn { background: var(--new-blue); border-color: var(--new-blue); color: #fff; }
.site-page .pagination__btn:hover { border-color: var(--new-blue); }
.site-page .tabs-list__list { gap: 24px; }
.site-page .tabs-list__btn { padding-bottom: 12px; }
.site-page .tabs-list__btn--active { color: var(--new-blue); border-color: var(--new-blue); }

/* Detail pages, editorial content and dialogs. */
.site-page .order-card__wrapper { padding: 32px; border: 1px solid var(--new-border); border-radius: 20px; }
.site-page .order-card__header { margin-bottom: 32px; }
.site-page .order-card__title { line-height: 1.25; letter-spacing: -.02em; }
.site-page .accordion__item { padding-bottom: 20px; border-color: var(--new-border); }
.site-page .accordion__item + .accordion__item { padding-top: 20px; }
.site-page .accordion__dropdown { padding-top: 20px; }
.site-page .about .content { padding: 32px; border: 1px solid var(--new-border); border-radius: 20px; background: #fff; }
.site-page .content { overflow-wrap: anywhere; }
.site-page .content img { border-radius: 12px; }
.site-page .content table { display: block; max-width: 100%; overflow-x: auto; }
.site-page .modal__inner { border-radius: 20px; box-shadow: 0 20px 80px #18233026; }
.site-page .iphone-banner { border-radius: 20px; overflow: hidden; }
@media (hover: hover) {
    .site-page a.c-card:hover { border-color: #b8cbe7; box-shadow: 0 8px 24px #083a8a0a; }
    .site-page a.article-card:hover .article-card__img { transform: scale(1.04); }
}
@media (min-width: 1024px) {
    .site-page .page-header__wrapper { padding: 20px 0; }
    .site-page .m-nav, .site-page .m-nav__list { gap: 16px; }
}
@media (max-width: 767px) {
    .site-page .section--compact { padding-top: 24px; }
    .site-page .section--regular { padding-top: 36px; }
    .site-page .form--align_center, .site-page .form--theme_white,
    .site-page .form--profile, .site-page .form--grid > .form__instance,
    .site-page .order-card__wrapper, .site-page .about .content { padding: 20px 16px; border-radius: 14px; }
    .site-page .c-card, .site-page .article-card__info, .site-page .f-filter__body { padding: 18px 16px; }
    .site-page .f-filter__body { margin-top: 12px; }
    .site-page .form-input__input, .site-page .form-textarea__input { font-size: 16px; }
    .site-page .tabs-list__list { gap: 20px; }
    .site-page .modal__inner { border-radius: 14px; }
    .site-page .order-card__header { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-page .c-card, .site-page .article-card__img, .site-page .btn { transition: none; }
    .site-page a.article-card:hover .article-card__img { transform: none; }
}
@media (max-width: 767px) {
    .new-assistant-input, .new-message-placeholder--editable input { font-size: 16px; }
}

.site-page .notification.site-feedback { background: #e8f0fb; }
.site-page .site-feedback .notification__text { color: var(--new-blue); }
.site-page .subscribe__container { max-width: 100%; box-sizing: border-box; }

/* Shared mockup header on landing and application pages. */
.site-page .page-header__wrapper { padding: 0; border: 0; }
.site-page .page__content { padding-top: 96px; }
.new-header :focus-visible { outline: 2px solid var(--new-cyan); outline-offset: 3px; }
.new-account .new-catalog__list a { display: flex; justify-content: space-between; gap: 12px; }
.new-account .new-catalog__list span { color: var(--new-muted); }
@media (max-width: 1279px) {
    .site-page .page__content { padding-top: 72px; }
    .site-page .new-navigation { max-height: calc(100dvh - 72px - var(--hnh, 0px)); }
}
@media (max-width: 767px) {
    .site-page .page__content { padding-top: 64px; }
    .site-page .new-navigation { max-height: calc(100dvh - 64px - var(--hnh, 0px)); }
}

/* One footer component, independent of the page layout. */
.new-footer { background: #fff; color: #182330; }
.new-footer__legal { flex-wrap: wrap; }
.site-page .page__content { padding-bottom: 64px; }
@media (max-width: 767px) {
    .site-page .page__content { padding-bottom: 40px; }
}

/* Publication tabs must wrap on narrow screens and with large counters. */
.site-page .order-list__header--flex { flex-wrap: wrap; gap: 16px 32px; }
.site-page .order-list__header--flex .section-title { min-width: 0; max-width: 100%; }
