﻿@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #071629;
  --muted: #536176;
  --line: #d7deea;
  --paper: #ffffff;
  --soft: #eef3f9;
  --navy: #071629;
  --navy-2: #10233a;
  --orange: #071629;
  --orange-dark: #071629;
  --blue: #2669d9;
  --green: #19975d;
  --violet: #6b49d8;
  --teal: #0d9488;
  --shadow: 0 18px 50px rgba(11, 26, 47, 0.12);
  --radius: 8px;
  --container: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Circe", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.52;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow: hidden;
  background: var(--soft);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  max-height: 78px;
  padding: 12px clamp(18px, 3.2vw, 34px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 233, 241, 0.9);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 clamp(196px, 18vw, 264px);
  width: clamp(196px, 18vw, 264px);
  height: 54px;
  min-width: 0;
  overflow: hidden;
}

.brand__logo {
  display: block;
  width: 100% !important;
  max-width: 264px !important;
  height: auto !important;
  max-height: 48px !important;
  object-fit: contain;
  object-position: left center;
}

.brand__name {
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  color: #0b1324;
}

.brand__caption {
  max-width: 126px;
  color: #8c95a5;
  font-size: 11px;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  width: 100%;
  min-width: 0;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: #1f2937;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.main-nav a:hover {
  color: var(--orange-dark);
  background: rgba(7, 22, 41, 0.06);
}

.main-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.main-nav a.is-active {
  color: #fff;
  background: var(--navy);
}

.main-nav a.is-active:hover {
  background: var(--navy-2);
  color: #fff;
}

.header-actions,
.hero__actions,
.feature-card div,
.ecosystem__copy div,
.jobs-empty__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange-dark);
  box-shadow: 0 12px 24px rgba(7, 22, 41, 0.18);
}

.btn--primary:hover {
  background: var(--orange-dark);
}

.btn--outline {
  color: var(--ink);
  border-color: #b8c3d3;
  background: #fff;
}

.btn--outline-accent {
  color: var(--orange-dark);
  border-color: rgba(7, 22, 41, 0.34);
  background: #fff;
}

.btn--ghost {
  color: var(--ink);
  border-color: transparent;
  background: transparent;
}

.btn--light {
  color: var(--ink);
  background: #fff;
  border-color: #dbe1ec;
}

.btn--dark-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.btn--large {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d7deea;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  min-height: 560px;
  padding: clamp(42px, 6vw, 66px) clamp(20px, 5vw, 42px) 108px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.42) 54%, rgba(255, 255, 255, 0.04) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero__content {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 650;
}

.hero h1 {
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.65vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 720;
}

.hero__text {
  max-width: 540px;
  margin: 24px 0 32px;
  color: #263144;
  font-size: 17px;
  line-height: 1.62;
}

.metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: -72px auto 0;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 18px;
  align-items: center;
  min-height: 92px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric:hover,
.role-card:hover,
.scenario-card:hover,
.catalog-steps article:hover,
.ecosystem__cards article:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(11, 26, 47, 0.14);
}

.metric svg {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  stroke: var(--orange);
  stroke-width: 1.7;
  fill: none;
}

.metric strong {
  font-size: 30px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.rates {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin-top: 34px;
  padding: 24px clamp(20px, 5vw, 42px);
  color: #fff;
  background: var(--navy);
}

.rates__intro strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.rates__intro span {
  display: block;
  margin-top: 8px;
  color: #9aa7b8;
  font-size: 13px;
}

.rates__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rate-card {
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.rate-card span,
.rate-card small {
  display: block;
  color: #aebbd0;
  font-size: 12px;
}

.rate-card strong {
  display: block;
  margin: 8px 0 6px;
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
}

.up {
  color: #46d28a;
}

.down {
  color: #d8dee8;
}

.section {
  padding: 54px clamp(20px, 5vw, 42px);
}

.section--white {
  background: #fff;
}

.section--muted {
  background: var(--soft);
}

.section__head,
.roles-layout,
.scenario-grid,
.catalog-band,
.feature-strip,
.ecosystem,
.site-footer {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.section__head {
  margin-bottom: 28px;
}

.section__head h2,
.catalog-band h2,
.feature-card h2,
.ecosystem h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section__head p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
}

.roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: stretch;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.role-card,
.logic-note,
.scenario-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.role-card {
  padding: 28px 22px;
}

.role-card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  stroke-width: 1.7;
  fill: none;
}

.role-card--navy svg {
  stroke: var(--orange);
}

.role-card--blue svg {
  stroke: var(--blue);
}

.role-card--green svg {
  stroke: var(--green);
}

.role-card--violet svg {
  stroke: var(--violet);
}

.role-card h3,
.scenario-card h3,
.catalog-steps h3,
.ecosystem__cards h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.role-card p,
.logic-note p,
.scenario-card p,
.catalog-band p,
.feature-card p,
.ecosystem p,
.site-footer span {
  margin: 0;
  color: var(--muted);
}

.logic-note {
  padding: 34px 30px;
}

.logic-note h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.2;
}

.logic-note a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--orange-dark);
  font-weight: 800;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  overflow: hidden;
}

.scenario-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.scenario-card__body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px 18px 20px;
}

.scenario-card .btn {
  width: 100%;
  margin-top: auto;
}

.direction-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.direction-card {
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.direction-card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  stroke-width: 1.7;
  fill: none;
}

.direction-card--navy svg {
  stroke: var(--orange);
}

.direction-card--blue svg {
  stroke: var(--blue);
}

.direction-card--green svg {
  stroke: var(--green);
}

.direction-card--violet svg {
  stroke: var(--violet);
}

.direction-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.direction-card p {
  margin: 0;
  color: var(--muted);
  flex-grow: 1;
}

.direction-card .btn {
  width: 100%;
  margin-top: 20px;
}

.catalog-band {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 34px;
  width: min(var(--container), calc(100% - 40px));
  padding: 56px clamp(24px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 22, 41, 1), rgba(7, 22, 41, 0.95)),
    url("assets/hero-construction.png") center / cover no-repeat;
}

.catalog-band p {
  color: #c9d5e4;
}

.catalog-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.catalog-steps article {
  position: relative;
  min-height: 228px;
  padding: 34px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.catalog-steps span {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 999px;
  background: var(--orange);
  font-weight: 800;
}

.catalog-steps svg,
.ecosystem__cards svg {
  width: 52px;
  height: 52px;
  margin: 34px 0 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

.catalog-steps p {
  font-size: 13px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 0;
}

.feature-card {
  min-height: 370px;
  padding: 34px 28px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--navy);
}

.feature-card--dispute {
  background:
    linear-gradient(rgba(7, 22, 41, 0.45), rgba(7, 22, 41, 0.92)),
    url("assets/scenario-disputes.png") center / cover no-repeat;
}

.feature-card--docs {
  background:
    linear-gradient(rgba(7, 22, 41, 0.42), rgba(7, 22, 41, 0.9)),
    url("assets/scenario-documents.png") center / cover no-repeat;
}

.feature-card--global {
  background:
    linear-gradient(rgba(7, 22, 41, 0.38), rgba(7, 22, 41, 0.91)),
    url("assets/hero-construction.png") center / cover no-repeat;
}

.feature-card h2 {
  max-width: 360px;
}

.feature-card p:not(.eyebrow) {
  max-width: 360px;
  margin: 22px 0 30px;
  color: #e5eef8;
}

.ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
  gap: 38px;
  width: min(var(--container), calc(100% - 40px));
  margin-bottom: 28px;
  padding: 46px 32px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--navy);
}

.ecosystem__copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 28px;
  color: #d5dfeb;
}

.ecosystem__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ecosystem__cards article {
  min-height: 250px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.ecosystem__cards p {
  color: #c8d4e3;
  font-size: 14px;
}

.site-footer {
  width: 100%;
  padding: 42px clamp(20px, 5vw, 42px) 26px;
  color: #d8e3f2;
  background: var(--navy);
}

.site-footer__top,
.site-footer__trust,
.site-footer__bottom {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(260px, 1fr);
  gap: clamp(22px, 3vw, 42px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand strong {
  display: block;
  color: #fff;
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
  font-size: 30px;
}

.site-footer__brand p {
  max-width: 440px;
  margin: 14px 0 22px;
  color: #aebbd0;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
}

.site-footer a,
.site-footer nav span {
  color: #aebbd0;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0;
}

.site-footer__trust div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.site-footer svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  stroke: #fff;
  stroke-width: 1.7;
  fill: none;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.site-footer span {
  color: #aebbd0;
  font-size: 14px;
}

.site-footer__bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom a {
  color: #fff;
  font-weight: 700;
}

.flash {
  position: fixed !important;
  top: 92px !important;
  right: clamp(16px, 3vw, 34px) !important;
  left: auto !important;
  z-index: 9999 !important;
  width: min(390px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 18px 45px rgba(11, 26, 47, 0.14);
  animation: toast-in 0.24s ease-out;
}

.flash.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flash--success {
  color: #11623d;
  border-color: rgba(25, 151, 93, 0.24);
  background: #f4f7fb;
}

.flash--danger {
  color: #9a3412;
  border-color: rgba(7, 22, 41, 0.24);
  background: #f4f7fb;
}

.flash--warning {
  color: #7c5b00;
  border-color: rgba(202, 138, 4, 0.28);
  background: #f4f7fb;
}

.auth-page,
.app-page {
  min-height: calc(100vh - 360px);
  padding: 48px clamp(20px, 5vw, 42px) 40px;
  background: var(--soft);
}

.panel-form,
.app-hero,
.dashboard-panel,
.order-card,
.empty-state,
.request-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.panel-form {
  display: grid;
  gap: 18px;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 34px;
}

.panel-form--wide {
  width: min(820px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-form h1,
.panel-form p,
.panel-form__wide {
  grid-column: 1 / -1;
}

.panel-form h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.panel-form p {
  margin: 0;
  color: var(--muted);
}

.panel-form a,
.auth-page a:not(.btn) {
  color: var(--orange-dark);
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  color: #273245;
  font-size: 14px;
  font-weight: 800;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.check-row input {
  flex: 0 0 auto;
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 0;
  appearance: none;
  border: 1.5px solid #cfd6e4;
  border-radius: 4px;
  background: #fff;
  accent-color: var(--orange);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.check-row input:checked {
  border-color: var(--orange);
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.2 5.7 10 11 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.check-row input:focus {
  box-shadow: 0 0 0 4px rgba(7, 22, 41, 0.1);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #cfd6e4;
  border-radius: 6px;
  background: #fff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(7, 22, 41, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #7b8798;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(7, 22, 41, 0.1);
}

.app-hero {
  width: min(var(--container), 100%);
  margin: 0 auto 24px;
  padding: 34px;
}

.app-hero--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.app-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.app-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.list-grid,
.dashboard-grid,
.admin-stats {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.list-grid {
  display: grid;
  gap: 18px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  padding: 28px;
}

.order-card h2,
.dashboard-panel h2,
.empty-state h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.order-card p,
.empty-state p,
.dashboard-panel p {
  color: var(--muted);
}

.order-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.order-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.order-card dd {
  margin: 0;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: #11623d;
  border-radius: 999px;
  background: #f4f7fb;
  font-size: 12px;
  font-weight: 800;
}

.status-pill--closed,
.status-pill--archived {
  color: #6b7280;
  background: #f3f4f6;
}

.status-pill--in_work {
  color: #1d4ed8;
  background: #f4f7fb;
}

.status-pill--draft {
  color: #92400e;
  background: #f4f7fb;
}

.bid-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bid-locked {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #6b7280;
  background: #f3f4f6;
  font-weight: 700;
}

.bid-form div {
  display: grid;
  grid-template-columns: minmax(0, 220px) auto;
  gap: 12px;
}

.empty-state {
  padding: 34px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-grid--below {
  margin-top: 18px;
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--container), 100%);
  margin: 0 auto 18px;
}

.cabinet-summary article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.cabinet-summary strong {
  display: block;
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
}

.cabinet-summary span {
  color: var(--muted);
}

.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-panel {
  padding: 28px;
}

.compact-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.compact-row:first-of-type {
  border-top: 0;
}

.compact-row span {
  color: var(--muted);
  font-size: 14px;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions .btn {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 12px;
}

.dashboard-panel--danger {
  border-color: rgba(7, 22, 41, 0.28);
}

.delete-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.admin-stats article {
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
}

.admin-stats strong {
  display: block;
  font-size: 34px;
}

.admin-stats span {
  color: #c8d4e3;
}

.request-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  width: min(var(--container), calc(100% - 40px));
  margin: 30px auto;
  padding: 34px;
}

.request-section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.request-section p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.request-form__wide {
  grid-column: 1 / -1;
}

.not-found-page {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 54px clamp(20px, 5vw, 42px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
    url("assets/hero-construction.png") center / cover no-repeat;
}

.not-found {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.not-found p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.not-found__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Верхняя навигация: переключение в компактный режим до того, как пункты перестанут помещаться в строку */
@media (max-width: 1400px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    height: auto;
    padding: 12px 10px;
    font-size: 15px;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 1120px) {
  .metrics,
  .role-cards,
  .scenario-grid,
  .direction-cards,
  .site-footer__trust,
  .cabinet-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roles-layout,
  .catalog-band,
  .ecosystem {
    grid-template-columns: 1fr;
  }

  .catalog-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecosystem__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .request-section,
  .order-card,
  .rates,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .rates__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 14px;
  }

  .brand__caption,
  .header-actions {
    display: none;
  }

  .hero {
    min-height: 640px;
    padding-top: 46px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 55%, rgba(255, 255, 255, 0.22) 100%),
      var(--hero-image) 80% 10% / cover no-repeat;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__actions .btn,
  .feature-card .btn,
  .ecosystem .btn {
    width: 100%;
  }

  .metrics,
  .role-cards,
  .scenario-grid,
  .direction-cards,
  .feature-strip,
  .ecosystem__cards,
  .site-footer__trust,
  .cabinet-summary {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 86px;
  }

  .catalog-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem {
    padding: 34px 20px;
  }

  .panel-form--wide,
  .dashboard-grid,
  .admin-stats,
  .request-form,
  .request-section {
    grid-template-columns: 1fr;
  }

  .app-hero--row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-actions {
    justify-content: stretch;
  }

  .dashboard-actions .btn {
    width: 100%;
  }

  .bid-form div {
    grid-template-columns: 1fr;
  }

  .rates__grid {
    grid-template-columns: 1fr;
  }

  .not-found__actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .catalog-steps {
    grid-template-columns: 1fr;
  }

  .rates {
    align-items: flex-start;
  }

  .feature-card {
    padding: 28px 20px;
  }
}

/* Product polish overrides */
.section__head h2,
.logic-note h3,
.scenario-card h3,
.dashboard-panel h2,
.app-hero h1 {
  color: var(--ink);
}

.catalog-band,
.ecosystem {
  width: min(var(--container), calc(100% - 32px));
}

.catalog-band h2,
.catalog-band h3,
.feature-card h2,
.ecosystem h2,
.ecosystem h3 {
  color: #fff;
}

.site-footer__support {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer__support p {
  margin: 0 0 14px;
  color: #aebbd0;
}

.site-footer__support .btn {
  width: 100%;
  margin-top: 18px;
}

.admin-tools {
  display: flex;
  gap: 12px;
  width: min(var(--container), 100%);
  margin: 0 auto 18px;
  flex-wrap: wrap;
}

.order-files,
.public-bids {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.order-files a {
  display: inline-flex;
  width: fit-content;
  color: var(--orange-dark);
  font-weight: 700;
}

.public-bid {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.public-bid--accepted {
  border-color: rgba(25, 151, 93, 0.28);
  background: #f4f7fb;
}

.public-bid span {
  font-weight: 800;
}

.public-bid p {
  margin: 0;
}

.btn--arrow::after {
  content: "в†’";
  margin-left: 10px;
  transition: transform 0.18s ease;
}

.btn--arrow:hover::after {
  transform: translateX(3px);
}

.btn--dark-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--dark-outline:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding-bottom: 118px;
}

.metrics {
  margin-top: -82px;
  margin-bottom: 0;
}

.rates {
  margin-top: -1px;
}

.catalog-band .eyebrow,
.feature-card .eyebrow,
.ecosystem .eyebrow {
  color: var(--orange);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1.5px dashed #cfd6e4;
  border-radius: var(--radius);
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.file-drop:hover {
  border-color: var(--orange);
  background: #f4f7fb;
  box-shadow: 0 10px 24px rgba(7, 22, 41, 0.08);
}

.file-drop span {
  color: var(--ink);
  font-weight: 800;
}

.file-drop em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.file-drop input {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.file-drop[data-files]::after {
  content: attr(data-files);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.file-drop--compact {
  padding: 14px;
}

.order-files--inline {
  padding-top: 0;
  border-top: 0;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.support-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 41, 0.66);
  backdrop-filter: blur(6px);
}

.support-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.support-modal.is-open .support-modal__dialog {
  transform: translateY(0) scale(1);
}

.support-modal__dialog h2 {
  margin: 0;
  font-size: 30px;
}

.support-modal__dialog p {
  margin: 0;
  color: var(--muted);
}

.support-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.field-hint {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.is-submitting {
  cursor: progress;
}

.is-submitting button[type="submit"] {
  pointer-events: none;
  opacity: 0.78;
}

.is-submitting button[type="submit"]::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Final requested polish */
:root {
  --ink: #071629;
  --muted: #566174;
  --line: #cbd5e4;
  --soft: #eef3f8;
  --navy: #071629;
  --navy-2: #102236;
  --orange: #071629;
  --orange-dark: #071629;
  --shadow: 0 18px 48px rgba(7, 22, 41, 0.12);
}

body {
  font-family: "Circe", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

h1,
h2,
h3,
.brand__name,
.metric strong,
.rate-card strong {
  font-family: "Unbounded", "Circe", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.site-header {
  min-height: 78px;
  max-height: 78px;
  padding-block: 12px;
  overflow: visible;
}

.brand {
  flex: 0 0 236px;
  width: 236px;
  height: 54px;
  overflow: hidden;
}

.brand__logo {
  width: 236px !important;
  max-width: 236px !important;
  max-height: 46px !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
}

.main-nav a[href="#catalog"]::after {
  content: "вЊ„";
  display: inline-block;
  margin-left: 6px;
  color: var(--orange-dark);
  transform: translateY(-1px);
}

.btn {
  border-width: 1.5px;
  border-style: solid;
  border-color: #b8c3d3;
}

.btn--primary {
  border-color: #c8510b;
  background: var(--orange);
  color: #fff;
}

.btn--outline,
.btn--light,
.btn--ghost {
  border-color: #b8c3d3;
  background: #fff;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
}

.btn--outline-accent {
  border-color: rgba(7, 22, 41, 0.34);
  background: #fff;
  color: var(--orange-dark);
}

.btn--dark-outline {
  border-color: rgba(255, 255, 255, 0.72);
}

.btn--arrow::after {
  content: "в†’";
}

.hero {
  min-height: 540px;
  padding-top: clamp(38px, 5.2vw, 62px);
  padding-bottom: 106px;
}

.hero h1 {
  max-width: 610px;
  font-size: clamp(34px, 3.45vw, 48px);
  line-height: 1.14;
  font-weight: 700;
}

.section__head h2,
.catalog-band h2,
.feature-card h2,
.ecosystem h2,
.app-hero h1 {
  font-size: clamp(28px, 2.65vw, 40px);
  line-height: 1.16;
}

.ecosystem h2 {
  max-width: 680px;
  font-size: clamp(28px, 2.35vw, 38px);
}

.metrics {
  margin-top: -76px;
}

.rates {
  margin-top: -1px;
  border-top: 0;
}

.workflow-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.workflow-tools article {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(7, 22, 41, 0.08);
}

.workflow-tools h3,
.workflow-tools p {
  margin: 0;
}

.workflow-tools p {
  color: var(--muted);
}

.workflow-tools form {
  display: grid;
  gap: 12px;
}

.site-footer {
  margin-top: 0;
  padding-top: 38px;
  background: var(--navy);
}

@media (min-width: 1121px) {
  .site-footer__top {
    grid-template-columns: minmax(260px, 1.12fr) minmax(160px, 0.75fr) minmax(160px, 0.75fr) minmax(260px, 1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 42px);
  }
}

.site-footer__brand p {
  max-width: 440px;
}

.site-footer__support {
  min-width: 0;
}

.auth-page,
.app-page,
.not-found-page {
  min-height: calc(100vh - 330px);
  padding-bottom: 36px;
}

.support-modal {
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.support-modal__dialog {
  transform: translateY(18px) scale(0.97);
  transition: transform 0.24s ease;
}

.support-modal.is-open .support-modal__dialog {
  transform: translateY(0) scale(1);
}

.support-modal__close {
  font-size: 0;
}

.support-modal__close::before,
.support-modal__close::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.support-modal__close::before {
  transform: rotate(45deg);
}

.support-modal__close::after {
  transform: rotate(-45deg);
}

.panel-form,
.request-form,
.support-modal__dialog,
.workflow-tools article,
.dashboard-panel,
.order-card {
  border-color: var(--line);
}

.scenario-card,
.role-card,
.metric,
.rate-card {
  border-color: var(--line);
}

@media (max-width: 1180px) {
  .site-header {
    max-height: none;
  }

  .brand {
    flex-basis: 220px;
    width: 220px;
  }

  .brand__logo {
    width: 220px !important;
    max-width: 220px !important;
  }

  .workflow-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    max-height: none;
  }

  .brand {
    flex-basis: 188px;
    width: 188px;
  }

  .brand__logo {
    width: 188px !important;
    max-width: 188px !important;
    max-height: 42px !important;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
}

/* Current correction pass */
:root {
  --ink: #071629;
  --muted: rgba(7, 22, 41, 0.68);
  --line: rgba(7, 22, 41, 0.18);
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #071629;
  --navy-2: #102236;
  --orange: #071629;
  --orange-dark: #071629;
  --blue: #071629;
  --green: #071629;
  --violet: #071629;
  --teal: #071629;
}

body,
button,
input,
select,
textarea,
label,
p,
a,
span,
small,
dt,
dd,
li {
  font-family: "Circe", "Segoe UI", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
.panel-form h1,
.app-hero h1 {
  font-family: "Unbounded", "Segoe UI", Arial, sans-serif;
}

.metric strong,
.rate-card strong,
.admin-stats strong,
.cabinet-summary strong {
  font-family: "Circe", "Segoe UI", Arial, Helvetica, sans-serif;
}

.eyebrow,
.main-nav a:hover,
.panel-form a,
.auth-page a:not(.btn),
.order-files a,
.catalog-band .eyebrow,
.feature-card .eyebrow,
.ecosystem .eyebrow {
  color: var(--navy);
}

.btn,
.btn--primary,
.btn--outline,
.btn--outline-accent,
.btn--light,
.btn--ghost {
  border: 1px solid rgba(7, 22, 41, 0.34);
  border-color: rgba(7, 22, 41, 0.34);
}

.btn--primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(7, 22, 41, 0.18);
}

.btn--primary:hover {
  background: #102236;
}

.btn--outline,
.btn--outline-accent,
.btn--light,
.btn--ghost {
  color: var(--navy);
  background: #fff;
}

.btn--dark-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.btn--arrow::after {
  content: none !important;
}

.hero {
  min-height: 590px;
  padding-bottom: 146px;
  background-position: 80% 10%;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 700;
}

.hero__text {
  max-width: 560px;
  font-size: 16px;
}

.metrics {
  margin-top: -80px;
  margin-bottom: 28px;
}

.rates {
  margin-top: 0;
}

.workflow-tools {
  display: none;
}

.catalog-band {
  align-items: stretch;
}

.catalog-band__intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.catalog-steps {
  align-items: stretch;
}

.catalog-steps article,
.ecosystem__cards article {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.catalog-steps h3,
.ecosystem__cards h3 {
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.18;
}

.catalog-steps p,
.ecosystem__cards p {
  margin-top: auto;
}

.ecosystem {
  align-items: stretch;
}

.ecosystem h2 {
  max-width: 620px;
  font-size: clamp(27px, 2.55vw, 40px);
}

.ecosystem__cards {
  align-items: stretch;
}

.site-footer__bottom {
  justify-content: flex-start;
}

.site-footer__support .btn,
.site-footer__brand .btn {
  width: auto;
}

input:focus,
select:focus,
textarea:focus,
.check-row input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(7, 22, 41, 0.1);
}

.check-row input:checked {
  border-color: var(--navy);
  background-color: var(--navy);
}

.file-drop:hover {
  border-color: var(--navy);
  background: rgba(7, 22, 41, 0.03);
}

@media (max-width: 1120px) {
}

/* Final layout stabilization */
.hero {
  min-height: 640px;
  padding-bottom: 205px;
  background-position: 80% 10%;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 720;
}

.hero h1 .hero__line {
  display: inline;
}

@media (min-width: 1121px) {
  .hero h1 .hero__line {
    display: block;
  }
}

.metrics {
  margin-top: -118px;
  margin-bottom: 44px;
}

.rates {
  margin-top: 0;
}

.feature-strip,
.catalog-band,
.ecosystem {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.catalog-band {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.75fr);
  gap: 30px;
  padding: 46px 42px;
  overflow: hidden;
}

.catalog-band__intro h2 {
  max-width: 420px;
  font-size: clamp(24px, 2.15vw, 36px);
  line-height: 1.14;
}

.catalog-band__intro p {
  max-width: 420px;
}

.catalog-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.catalog-steps article {
  min-width: 0;
  min-height: 300px;
  padding: 20px 18px;
  overflow: hidden;
}

.catalog-steps h3 {
  max-width: 100%;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.catalog-steps p {
  font-size: 13px;
  line-height: 1.55;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 370px;
  padding: 28px;
  overflow: hidden;
}

.feature-card .eyebrow {
  color: #fff;
  opacity: 0.78;
  font-size: 13px;
}

.feature-card h2 {
  max-width: 96%;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.feature-card p:not(.eyebrow) {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
}

.feature-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.ecosystem {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 34px;
  padding: 48px 42px;
  overflow: hidden;
}

.ecosystem h2 {
  max-width: 650px;
  font-size: clamp(26px, 2.05vw, 36px);
  line-height: 1.14;
}

.ecosystem__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ecosystem__cards article {
  min-width: 0;
  padding: 24px 22px;
  overflow: hidden;
}

.ecosystem__cards h3 {
  font-size: clamp(17px, 1.12vw, 20px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ecosystem__cards p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.logic-note {
  max-width: 360px;
  padding: 26px;
}

.logic-note .eyebrow {
  color: var(--navy);
  font-size: 12px;
}

.logic-note h3 {
  font-size: clamp(22px, 1.75vw, 28px);
  line-height: 1.16;
}

.logic-note p {
  font-size: 15px;
  line-height: 1.62;
}

.site-footer__brand .btn {
  display: none;
}

.site-footer {
  margin-top: clamp(28px, 4vw, 56px);
}

.module-page {
  padding-bottom: 72px;
}

.auth-page,
.app-page,
.not-found-page {
  min-height: calc(100vh - 520px);
}

.module-hero {
  width: min(100% - 48px, 1440px);
  margin: 36px auto 24px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.module-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
}

.module-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.module-layout {
  display: grid;
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.module-info,
.module-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 22, 41, 0.08);
}

.module-info h2,
.module-panel h2 {
  margin-top: 0;
  font-size: clamp(22px, 2vw, 30px);
}

.module-info p,
.module-info li {
  color: var(--muted);
  line-height: 1.65;
}

.module-info ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.module-panel {
  display: grid;
  gap: 16px;
}

.module-panel .btn {
  width: 100%;
}

.support-modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .catalog-band,
  .ecosystem,
  .feature-strip {
    width: min(100% - 32px, 980px);
  }

  .catalog-band,
  .ecosystem,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .catalog-steps,
  .ecosystem__cards,
  .feature-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 600px;
    padding-bottom: 170px;
  }

  .metrics {
    margin-top: -94px;
  }

  .module-hero,
  .module-layout {
    width: min(100% - 24px, 720px);
  }
}

/* --- Раздел "Работа" (/jobs) --- */

.jobs-hero .hero__actions {
  margin-top: 26px;
}

.jobs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.jobs-tab {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.jobs-tab:hover {
  border-color: var(--blue);
}

.jobs-tab.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.jobs-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 14px 16px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.jobs-filters button[type="submit"] {
  min-height: 46px;
}

.jobs-panel[hidden] {
  display: none;
}

.jobs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 8px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 51, 0.08);
}

.offer-card[hidden] {
  display: none;
}

.offer-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.offer-card__badge {
  padding: 3px 9px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.offer-card__date {
  color: var(--muted);
  font-size: 12px;
}

.offer-card__status {
  padding: 3px 9px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
}

.offer-card__status--available {
  background: rgba(25, 151, 93, 0.12);
  color: var(--green);
}

.offer-card__status--busy {
  background: rgba(181, 114, 15, 0.14);
  color: #b5720f;
}

.offer-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.offer-card__meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.offer-card__pay {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.offer-card__format {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.offer-card__desc {
  flex-grow: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.offer-card .btn {
  width: 100%;
  margin-top: auto;
}

.jobs-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 60px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  text-align: center;
}

.jobs-empty[hidden] {
  display: none;
}

.jobs-empty svg {
  width: 46px;
  height: 46px;
  stroke: var(--muted);
  stroke-width: 1.7;
  fill: none;
}

.jobs-empty h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.jobs-empty p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.jobs-cta {
  padding: 48px clamp(20px, 5vw, 42px);
  background: var(--navy);
  text-align: center;
}

.jobs-cta__inner {
  width: min(640px, 100%);
  margin-inline: auto;
}

.jobs-cta .eyebrow {
  color: #9fb3cc;
}

.jobs-cta h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
}

.jobs-cta p:not(.eyebrow) {
  margin: 0 0 26px;
  color: #c9d5e4;
}

@media (max-width: 1180px) {
  .jobs-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-filters button[type="submit"] {
    grid-column: 1 / -1;
  }

  .jobs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .jobs-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .jobs-tab {
    flex: 0 0 auto;
  }

  .jobs-filters {
    grid-template-columns: 1fr;
  }

  .jobs-cards {
    grid-template-columns: 1fr;
  }
}

