.page-home {
  position: relative;
  background-color: var(--bg-main);
  overflow-x: clip;
  isolation: isolate;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(30, 43, 79, 0.55) 0, transparent 62%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  opacity: 0.7;
}

.page-home .container {
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

.page-home .home-context,
.page-home .home-snapshot,
.page-home .home-focus,
.page-home .home-tools,
.page-home .home-updates,
.page-home .home-help {
  position: relative;
  z-index: 1;
}

.page-home .section {
  padding: 56px 0;
}

.page-home .section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 0 0 10px;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1.18;
  margin: 0;
  color: var(--color-text);
}

.page-home .section-subtitle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 10px 0 0;
  max-width: 760px;
}

.page-home .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.page-home .tag--green {
  color: var(--color-neon);
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.08);
}

.page-home .tag--warn {
  color: var(--color-orange);
  border: 1px solid rgba(255, 106, 0, 0.35);
  background: rgba(255, 106, 0, 0.08);
}

.page-home .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .button-primary {
  background: var(--color-neon);
  color: var(--bg-deep);
  border: 1px solid var(--color-neon);
}

.page-home .button-primary:hover {
  background: transparent;
  color: var(--color-neon);
}

.page-home .button-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-line);
}

.page-home .button-ghost:hover,
.page-home .button-ghost.is-active {
  border-color: var(--color-neon);
  color: var(--color-neon);
  background: rgba(57, 255, 20, 0.08);
}

.page-home .button-warn {
  background: var(--color-orange);
  color: var(--bg-deep);
  border: 1px solid var(--color-orange);
}

.page-home .button-warn:hover {
  background: transparent;
  color: var(--color-orange);
}

.page-home .text-link {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-data);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .text-link:hover {
  color: var(--color-neon);
  border-color: var(--color-neon);
}

.page-home .home-context {
  border-bottom: 1px solid var(--color-line);
  background: rgba(6, 10, 24, 0.7);
}

.page-home .home-context__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.page-home .breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-dim);
}

.page-home .breadcrumbs a {
  color: var(--color-data);
  text-decoration: none;
}

.page-home .breadcrumbs a:hover {
  color: var(--color-neon);
}

.page-home .breadcrumbs li[aria-current="page"] {
  color: var(--color-text);
}

.page-home .home-context__trust {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--color-dim);
  letter-spacing: 0.02em;
}

.page-home .home-context__trust::before {
  content: "SYNC ";
  font-family: var(--font-mono);
  color: var(--color-neon);
  letter-spacing: 0.1em;
}

.page-home .home-snapshot {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.page-home .home-snapshot__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.55) contrast(1.15);
  z-index: -1;
}

.page-home .home-snapshot__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.page-home .home-snapshot__lead {
  max-width: 720px;
}

.page-home .home-snapshot__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.6vw, 3.3rem);
  line-height: 1.16;
  margin: 0;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.page-home .home-snapshot__desc {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-dim);
  max-width: 640px;
}

.page-home .home-snapshot__tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-snapshot__tags .tag {
  margin-bottom: 0;
}

.page-home .home-snapshot__data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.page-home .home-snapshot__stat {
  position: relative;
  padding: 18px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-home .home-snapshot__stat::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, transparent 74%, rgba(0, 212, 255, 0.5) 74%, rgba(0, 212, 255, 0.5) 80%, transparent 80%);
  pointer-events: none;
}

.page-home .home-snapshot__stat dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dim);
  margin-bottom: 8px;
}

.page-home .home-snapshot__num {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-neon);
  margin: 0;
}

.page-home .home-snapshot__stat--primary .home-snapshot__num {
  color: var(--color-neon);
}

.page-home .home-snapshot__stat--warn .home-snapshot__num {
  color: var(--color-orange);
}

.page-home .home-snapshot__stat--info .home-snapshot__num {
  color: var(--color-data);
}

.page-home .home-snapshot__label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--color-dim);
  margin: 8px 0 0;
}

.page-home .home-focus {
  background: rgba(6, 10, 24, 0.5);
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-focus__inner {
  padding-top: 8px;
}

.page-home .home-focus__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-focus__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-focus__filter .button {
  padding: 8px 14px;
  font-size: 0.76rem;
}

.page-home .home-focus__media {
  margin-top: 24px;
  border: 1px solid var(--color-line);
  background: var(--bg-panel);
}

.page-home .home-focus__media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.92;
}

.page-home .home-focus__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-focus__panel {
  position: relative;
  padding: 22px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--color-line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-focus__panel h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--color-text);
}

.page-home .home-focus__panel p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 0 0 16px;
}

.page-home .home-focus__panel--cards {
  border-left: 3px solid var(--color-neon);
}

.page-home .home-focus__panel--lineup {
  border-left: 3px solid var(--color-orange);
}

.page-home .home-focus__panel--preview {
  border-left: 3px solid var(--color-data);
}

.page-home .home-tools {
  border-bottom: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 27, 61, 0.5) 38%, transparent 100%);
}

.page-home .home-tools__head {
  margin-bottom: 28px;
}

.page-home .home-tools__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-tools__card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  overflow: hidden;
}

.page-home .home-tools__media {
  border-bottom: 1px solid var(--color-line);
  background: var(--bg-deep);
}

.page-home .home-tools__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .home-tools__content {
  padding: 24px 20px 26px;
}

.page-home .home-tools__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--color-text);
}

.page-home .home-tools__content p {
  font-family: var(--font-body);
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 0 0 18px;
}

.page-home .home-tools__card .button {
  margin-top: 4px;
}

.page-home .home-tools__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-home .home-tools__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-dim);
  line-height: 1.6;
}

.page-home .home-tools__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-data);
  transform: rotate(45deg);
}

.page-home .home-updates {
  background: rgba(6, 10, 24, 0.66);
}

.page-home .home-updates__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin-top: 30px;
}

.page-home .home-updates__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-updates__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 28px;
}

.page-home .home-updates__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 4px;
  border-left: 2px dashed var(--color-line);
}

.page-home .home-updates__node {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--color-neon);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-home .home-updates__item:nth-child(2) .home-updates__node {
  background: var(--color-orange);
}

.page-home .home-updates__item:nth-child(3) .home-updates__node {
  background: var(--color-data);
  color: var(--bg-deep);
}

.page-home .home-updates__content h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text);
  line-height: 1.35;
}

.page-home .home-updates__content p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 0;
}

.page-home .home-updates__aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.page-home .home-updates__metric {
  padding: 18px 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--color-line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .home-updates__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-data);
}

.page-home .home-updates__metric--warn .home-updates__number {
  color: var(--color-orange);
}

.page-home .home-updates__metric p {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--color-dim);
  line-height: 1.5;
}

.page-home .home-updates__note {
  grid-column: 1 / -1;
  padding: 18px 16px;
  background: rgba(57, 255, 20, 0.05);
  border: 1px dashed rgba(57, 255, 20, 0.3);
}

.page-home .home-updates__note p {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 0 0 10px;
}

.page-home .home-help {
  padding: 72px 0;
  background:
    linear-gradient(120deg, rgba(255, 106, 0, 0.12) 0%, transparent 40%),
    rgba(6, 10, 24, 0.8);
}

.page-home .home-help__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  border: 1px solid var(--color-line);
  padding: 28px 22px;
  background: var(--bg-panel);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-home .home-help__content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text);
  line-height: 1.2;
}

.page-home .home-help__content p:not(.section-kicker) {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-dim);
  margin: 0;
  max-width: 560px;
}

.page-home .home-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 640px) {
  .page-home .container {
    padding-inline: 24px;
  }

  .page-home .home-context__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .page-home .home-snapshot__data {
    gap: 16px;
  }

  .page-home .home-snapshot__num {
    font-size: 2.7rem;
  }

  .page-home .home-focus__media img {
    height: 300px;
  }

  .page-home .home-tools__media img {
    height: 240px;
  }

  .page-home .home-updates__layout {
    gap: 44px;
  }

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

  .page-home .home-help__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 36px 32px;
  }
}

@media (min-width: 992px) {
  .page-home .section {
    padding: 76px 0;
  }

  .page-home .home-snapshot {
    padding: 92px 0 88px;
  }

  .page-home .home-snapshot__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
  }

  .page-home .home-snapshot__title {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  }

  .page-home .home-snapshot__data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 18px;
  }

  .page-home .home-snapshot__stat--primary {
    grid-column: 1;
    grid-row: 1;
    transform: translateY(6px);
  }

  .page-home .home-snapshot__stat--warn {
    grid-column: 2;
    grid-row: 1;
    transform: translateY(24px);
    margin-bottom: 24px;
  }

  .page-home .home-snapshot__stat--info {
    grid-column: 1;
    grid-row: 2;
    transform: translateY(-12px);
  }

  .page-home .home-snapshot__stat--warn:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
    transform: translateY(-6px);
  }

  .page-home .home-focus__inner {
    padding-top: 0;
  }

  .page-home .home-focus__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }

  .page-home .home-focus__filter {
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 6px;
  }

  .page-home .home-focus__media img {
    height: 420px;
    object-fit: cover;
    clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
  }

  .page-home .home-focus__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .page-home .home-focus__panel--cards {
    transform: translateY(30px);
  }

  .page-home .home-focus__panel--preview {
    transform: translateY(-6px);
  }

  .page-home .home-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "feature tall"
      "feature compact";
    gap: 24px;
    align-items: start;
  }

  .page-home .home-tools__card--feature {
    grid-area: feature;
  }

  .page-home .home-tools__card--tall {
    grid-area: tall;
  }

  .page-home .home-tools__card--compact {
    grid-area: compact;
  }

  .page-home .home-tools__card--feature .home-tools__media img {
    height: 340px;
  }

  .page-home .home-tools__card--tall .home-tools__media img {
    height: 220px;
  }

  .page-home .home-updates__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-updates__aside {
    position: sticky;
    top: 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-home .home-updates__note {
    grid-column: 1;
  }

  .page-home .home-updates__number {
    font-size: 2.2rem;
  }
}

@media (min-width: 1380px) {
  .page-home .container {
    padding-inline: 32px;
  }

  .page-home .home-snapshot__layout {
    gap: 90px;
  }

  .page-home .home-snapshot__num {
    font-size: 3rem;
  }
}
