:root {
  color-scheme: dark;
  --bg: #0b1120;
  --panel: #111a2e;
  --panel-soft: #16233a;
  --text: #eef4ff;
  --muted: #b8c4d8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #57d6a2;
  --accent-strong: #27b47a;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --urgency-h: 3.4rem;
  --anchor-offset: 8.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(87, 214, 162, 0.18), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(82, 132, 255, 0.16), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

section,
main,
footer,
[id] {
  scroll-margin-top: var(--anchor-offset);
}

.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: var(--urgency-h);
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(90deg, #7a1f1f 0%, #b45309 55%, #92400e 100%);
  color: #fff7ed;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.urgency-bar p {
  margin: 0;
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.urgency-bar strong {
  font-weight: 800;
}

.urgency-bar .button {
  flex-shrink: 0;
  white-space: nowrap;
}

.urgency-bar .urgency-inline {
  color: #fffbeb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.urgency-bar .urgency-inline:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

body.has-urgency .site-header {
  top: var(--urgency-h);
}

body.has-urgency {
  --anchor-offset: 11.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: block;
  overflow: hidden;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: #07111f;
  box-shadow: 0 0 0 1px rgba(87, 214, 162, 0.38);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  font-weight: 700;
  background-image: linear-gradient(
    90deg,
    #ff4d6d 0%,
    #ff9f1c 14%,
    #ffd166 28%,
    #57d6a2 42%,
    #38bdf8 56%,
    #818cf8 70%,
    #e879f9 84%,
    #ff4d6d 100%
  );
  background-size: 500% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nav-rainbow 2.4s linear infinite;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nav a:nth-child(2) {
  animation-delay: -0.25s;
}

.nav a:nth-child(3) {
  animation-delay: -0.5s;
}

.nav a:nth-child(4) {
  animation-delay: -0.75s;
}

.nav a:nth-child(5) {
  animation-delay: -1s;
}

.nav a:nth-child(6) {
  animation-delay: -1.25s;
}

.nav a:nth-child(7) {
  animation-delay: -1.5s;
}

.nav a:nth-child(8) {
  animation-delay: -1.75s;
}

.nav a:nth-child(9) {
  animation-delay: -2s;
}

.nav a:nth-child(10) {
  animation-delay: -2.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  height: 2px;
  border-radius: 999px;
  background-image: linear-gradient(
    90deg,
    #ff4d6d 0%,
    #ff9f1c 14%,
    #ffd166 28%,
    #57d6a2 42%,
    #38bdf8 56%,
    #818cf8 70%,
    #e879f9 84%,
    #ff4d6d 100%
  );
  background-size: 500% 100%;
  animation: nav-rainbow 2.4s linear infinite;
  opacity: 0.85;
}

.nav a:nth-child(2)::after {
  animation-delay: -0.25s;
}

.nav a:nth-child(3)::after {
  animation-delay: -0.5s;
}

.nav a:nth-child(4)::after {
  animation-delay: -0.75s;
}

.nav a:nth-child(5)::after {
  animation-delay: -1s;
}

.nav a:nth-child(6)::after {
  animation-delay: -1.25s;
}

.nav a:nth-child(7)::after {
  animation-delay: -1.5s;
}

.nav a:nth-child(8)::after {
  animation-delay: -1.75s;
}

.nav a:nth-child(9)::after {
  animation-delay: -2s;
}

.nav a:nth-child(10)::after {
  animation-delay: -2.25s;
}

.nav a:hover {
  color: transparent;
  filter: brightness(1.25) saturate(1.2);
  transform: translateY(-1px);
}

.nav a:hover::after {
  opacity: 1;
  height: 3px;
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.55);
}

@keyframes nav-rainbow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 125% 50%;
  }
}

main,
.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 5rem 0;
}

.hero-content {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.loading {
  pointer-events: none;
}

.button.loading::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.55rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #07111f;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button.light {
  border-color: transparent;
  background: #fff;
  color: #101827;
}

.button.danger {
  border-color: rgba(255, 120, 120, 0.45);
  background: rgba(255, 120, 120, 0.12);
  color: #ffd4d4;
}

.hero-card,
.card,
.subhero-card,
.wide-card,
.feature,
.deadline,
.timeline > div,
.request-section,
.order-form,
.law-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.4rem;
}

.hero-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.list-title {
  display: block;
  margin-top: 1.3rem;
  color: var(--text);
}

.metric {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--warning);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 1.7rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

/* Ровно 4 карточки — сетка 2×2, без одинокого блока внизу */
.cards:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.35rem;
  background-color: var(--panel);
}

.card-highlight {
  border-color: rgba(87, 214, 162, 0.42);
  background:
    linear-gradient(135deg, rgba(87, 214, 162, 0.14), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.text-link {
  display: inline-flex;
  margin-top: 0.3rem;
  color: var(--accent);
  font-weight: 900;
}

.text-link:hover {
  color: var(--text);
}

.card p,
.feature p,
.deadline p,
.timeline p,
.request-section p,
.section-head p {
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: 2rem;
  align-items: start;
  padding: clamp(1.4rem, 4vw, 2rem);
  background-color: var(--panel-soft);
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(11, 17, 32, 0.42);
}

.step span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #07111f;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.deadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 4rem 0 1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.24), rgba(87, 214, 162, 0.12)),
    var(--panel);
}

.deadline > div {
  max-width: 46rem;
}

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

.timeline > div {
  padding: 1.2rem;
}

.timeline strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.law-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.law-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.2rem;
  background-color: var(--panel);
}

.law-card small {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.law-card strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.law-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.law-card:hover {
  border-color: rgba(87, 214, 162, 0.55);
  background: rgba(87, 214, 162, 0.08);
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
  gap: 2rem;
  align-items: start;
  min-height: 34rem;
  padding: 5rem 0 3rem;
}

.subhero-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.news-column {
  align-self: stretch;
  max-height: min(42rem, 78vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(11, 17, 32, 0.72);
  scrollbar-gutter: stable;
}

.news-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card + .news-card {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.news-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.news-label {
  margin: 0.85rem 0 0.4rem !important;
  color: var(--text) !important;
  font-weight: 700;
  font-size: 0.88rem !important;
}

.news-list {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.news-list li::marker {
  color: var(--accent);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid rgba(87, 214, 162, 0.36);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(87, 214, 162, 0.08);
  color: var(--muted);
  font-weight: 800;
}

.wide-card {
  padding: clamp(1.3rem, 3vw, 1.8rem);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.note-panel {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.16), rgba(87, 214, 162, 0.08)),
    rgba(11, 17, 32, 0.46);
}

.source-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.request-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin: 4rem 0;
  padding: clamp(1.4rem, 4vw, 2rem);
  background-color: var(--panel-soft);
}

.request-intro {
  max-width: 52rem;
}

.request-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.request-title-row h2 {
  margin-bottom: 1rem;
}

.request-counter {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(87, 214, 162, 0.34);
  border-radius: 1rem;
  background: rgba(87, 214, 162, 0.08);
}

.request-counter span {
  display: grid;
  min-width: 5.4rem;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.request-counter span + span {
  border-left: 1px solid rgba(87, 214, 162, 0.24);
}

.request-counter strong {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.request-section > .details-form {
  grid-column: 1 / -1;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem;
  background-color: rgba(11, 17, 32, 0.5);
}

.order-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--accent);
}

.order-form option {
  background: #101827;
  color: var(--text);
}

.span-2 {
  grid-column: span 2;
}

.span-full {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
}

.consent input {
  width: 1rem;
  margin-top: 0.25rem;
}

.order-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.94rem;
}

.form-section-title {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-hint {
  grid-column: 1 / -1;
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.details-form[hidden] {
  display: none;
}

.prom-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.prom-section-link {
  border: 1px solid rgba(87, 214, 162, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(87, 214, 162, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.prom-section-link:hover,
.prom-section-link--active {
  border-color: rgba(87, 214, 162, 0.55);
  color: var(--text);
  background: rgba(87, 214, 162, 0.12);
}

.prom-section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.9fr);
  gap: 2rem;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.prom-section-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(87, 214, 162, 0.25);
  border-radius: 1.4rem;
  background: #16233a;
  box-shadow: var(--shadow);
  min-height: 12rem;
}

.prom-section-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 12rem;
  object-fit: cover;
}

.prom-fault-card h3 {
  color: var(--text);
}

.prom-parts-section {
  margin-top: 0.5rem;
}

.prom-parts-note {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prom-parts-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.prom-part-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.prom-part-card:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 214, 162, 0.45);
  background: rgba(87, 214, 162, 0.06);
}

.prom-part-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.prom-part-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prom-part-placeholder {
  font-size: 2rem;
  opacity: 0.55;
}

.prom-part-body h3 {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.prom-part-sku {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.prom-part-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.fn-price-grid {
  align-items: stretch;
}

.fn-price-card {
  border-color: rgba(87, 214, 162, 0.4);
}

.price-offer {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(87, 214, 162, 0.12);
  border: 1px solid rgba(87, 214, 162, 0.28);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-footnote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.piot-price-grid .fn-price-card h3 {
  margin-bottom: 0.35rem;
}

.fn-price {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.fn-price-sm {
  font-size: 1.25rem;
}

.form-extra {
  margin: 0.25rem 0 0.5rem;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  background: rgba(16, 24, 39, 0.02);
}

.form-extra summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
  list-style: none;
}

.form-extra summary::-webkit-details-marker {
  display: none;
}

.form-extra summary::after {
  content: ' ▾';
  opacity: 0.55;
}

.form-extra[open] summary::after {
  content: ' ▴';
}

.form-extra-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

@media (min-width: 720px) {
  .form-extra-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-extra-grid .span-full {
    grid-column: 1 / -1;
  }
}

.fn-error-list {
  display: grid;
  gap: 0.85rem;
}

.fn-error-card {
  margin: 0;
}

.fn-error-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.fn-error-code {
  flex: 0 0 auto;
  min-width: 3.1rem;
  padding: 0.28rem 0.45rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(87, 214, 162, 0.4);
  background: rgba(87, 214, 162, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.fn-error-head h3 {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.fn-error-card p {
  margin: 0 0 0.65rem;
}

.fn-error-cta {
  margin-bottom: 0 !important;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.fn-error-cta a {
  font-weight: 700;
}

.prom-parts-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-start;
}

.prom-tip-list {
  margin-top: 1rem;
}

.pill-list a {
  color: inherit;
}

.pill-list a:hover {
  color: var(--text);
}

.card-link {
  display: block;
  color: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 214, 162, 0.45);
  background: rgba(87, 214, 162, 0.06);
}

.prom-hub-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
}

.card-link .text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.footer,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.metrika-informer {
  display: inline-flex;
  line-height: 0;
  opacity: 0.92;
}

.metrika-informer img {
  display: block;
  width: 88px;
  height: 31px;
  border: 0;
}

@media (max-width: 900px) {
  .hero,
  .subhero,
  .feature {
    grid-template-columns: 1fr;
  }

  .prom-section-hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0;
  }

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

  .deadline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: 12rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .request-title-row {
    flex-direction: column;
  }

  .cards,
  .timeline,
  .law-list,
  .order-form {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }

  h1 {
    letter-spacing: -0.06em;
  }
}
